Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of by identifying that voice content preserves method and the terminal of unknown incoming call number automatically, the unknown incoming call number that can automatically preserve.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of by identifying that voice content preserves the method for unknown incoming call number automatically, the method comprises: read unknown incoming call number dialog context; Judge in dialog context, whether to there is the content with preset industry Keywords matching; If there is the content with preset industry Keywords matching in dialog context, then judge the occurrence number with the content of preset industry Keywords matching, if the number of times occurred with the content of preset industry Keywords matching in dialog context is more than or equal to preset times, then think in dialog context with the content matching of preset industry Keywords matching, otherwise not mate; If with the content matching of preset industry Keywords matching in dialog context, then preserve unknown incoming call number.
Wherein, comprise in dialog context with after the step of the content matching of preset industry Keywords matching:
Judge the incoming-call frequency of unknown incoming call number;
If the incoming-call frequency of unknown incoming call number is more than or equal to the first predetermined frequency, then preserves the unknown and carry out number, otherwise do not preserve.
Wherein, if cannot judge whether there is the content with preset industry Keywords matching in dialog context, then air time and the incoming-call frequency of unknown incoming call number is judged;
If the air time of unknown incoming call number is less than the preset air time, and unknown incoming call number incoming-call frequency is more than or equal to the second predetermined frequency, then preserve unknown incoming call number to blacklist.
Wherein, the naming method of preserving unknown incoming call number is: industry type+numbering, and wherein industry type is the industry type that preset industry keyword is corresponding, numbers the one or combination that comprise in numeral, letter.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of terminal of automatically being preserved unknown incoming call number by identification voice content, this terminal comprises: read module, the first judge module, the second judge module, memory module,
Read module, for reading unknown incoming call number dialog context;
First judge module, for judging whether there is the content with preset industry Keywords matching in dialog context;
Second judge module, when judged result for the first judge module is the content existed in dialog context with preset industry Keywords matching, judge the occurrence number with the content of preset industry Keywords matching, if the number of times occurred with the content of preset industry Keywords matching in dialog context is more than or equal to preset times, then think in dialog context with the content matching of preset industry Keywords matching, otherwise not mate;
Memory module, if preserve the unknown when being content matching with preset industry Keywords matching in dialog context for the second judge module judged result to carry out number.
Wherein, first judge module is also for when judging whether there is the content with preset industry Keywords matching in dialog context, judge air time and the incoming-call frequency of unknown incoming call number, if the air time of unknown incoming call number is less than the preset air time, and unknown incoming call number incoming-call frequency is more than or equal to the second predetermined frequency, then control store module preserves unknown incoming call number to blacklist.
Wherein, terminal also comprises the 3rd judge module, and the 3rd judge module is used for the judged result of the second judge module when being the content matching with preset industry Keywords matching in dialog context, judges the incoming-call frequency of unknown incoming call number;
If the incoming-call frequency of unknown incoming call number is more than or equal to the first predetermined frequency, then control store module preserves unknown incoming call number, otherwise does not preserve.
Wherein, the naming method that memory module preserves unknown incoming call number is: industry type+numbering, and wherein industry type is the industry type that preset industry keyword is corresponding, numbers the one or combination that comprise in numeral, letter.
The invention has the beneficial effects as follows: cellphone subscriber often can receive the incoming call of many unknown incoming call numbers; namely in user mobile phone without the incoming call of the number of keeping records; these unknown incoming call numbers belong to different industries, such as express delivery industry, fast service restaurant industry, insurance industry etc.In communication process, the keyword that different industries has respective industry different occurs.Such as express delivery industry there will be express delivery, send the keywords such as part in communication process; And fast service restaurant industry there will be the keywords such as take-away, food delivery.The phenomenon that the keyword that the present invention utilizes different industries to have respective industry different in communication process occurs, judges whether there is the content with preset industry Keywords matching in dialog context.If there is the content with preset industry Keywords matching in dialog context, then judge the occurrence number with the content of preset industry Keywords matching, if the number of times occurred with the content of preset industry Keywords matching in dialog context is more than or equal to preset times, then think in dialog context with the content matching of preset industry Keywords matching, then preserve this unknown and carry out number.The present invention is by judging that whether there is the mode of preserving unknown incoming call number with the content of preset industry Keywords matching in dialog context helps user to preserve with predetermined naming method useful unknown incoming call number, user's subsequent contact, follow-up can be facilitated, help user to differentiate type and the significance level of caller ID simultaneously.
Embodiment
Below in conjunction with drawings and embodiments, the present invention is described in detail.
Refer to Fig. 1, Tu1Shi China Internet Network Information Center 2006-2012 China's net purchase number of users and permeability research report schematic diagram, the research report schematic diagram of 2006-2012 China's net purchase number of users and permeability is studied from the China Internet Network Information Center, from 2006 to 2012, Chinese net purchase number of users increased year by year, and use the ratio of shopping at network and permeability to increase year by year from 2007, arrive 42.9% to permeability in 2012, wherein permeability refers to the ratio of net purchase number and population base.Increasing people likes in shopping online, and along with the increase of net purchase number, people and contacting of courier also get more and more thereupon.Same, with the quickening pace of modern life, increasing the weight of of task, take-away industry is also emerging industry in recent years.In the age that present scientific and technological prosperity and various advertisement fly everywhere, ordinary consumer deliberately can not remove the phone remembeing certain dining room, express company, usually the phone of food delivery person, courier can not also initiatively be preserved, when needs with regard to internet searching or look for poster paper, this must rely on network-in-dialing or find poster paper, and requester network or searching poster paper compare loses time, and also can receive a lot of other industry, harassing call in life simultaneously.
Refer to Fig. 2 and Fig. 3, Fig. 2 is that the present invention passes through to identify that voice content preserves the schematic flow sheet of method first execution mode of unknown incoming call number automatically, Fig. 3 is that the present invention passes through to identify that the keyword that voice content preserves method first execution mode of unknown incoming call number automatically judges schematic diagram, and the method comprises the following steps:
S101: read unknown incoming call number dialog context.
When user receives unknown incoming call number telephone, simultaneously or different time automatically open and read dialog context function, read dialog context in whole communication process, wherein dialog context can be unknown incoming call number call person dialog context, also can be the dialog context of those who answer, can also be those who answer and group hitter's dialog context, in the present embodiment, read those who answer and group hitter's dialog context in whole communication process.
S102: judge whether there is the content with preset industry Keywords matching in described dialog context.
Whether judge in described dialog context containing the content with preset industry Keywords matching, wherein said preset industry keyword can be the preset or User Defined that dispatches from the factory, if judged result is containing the content with preset industry Keywords matching in dialog context.Different industries there will be a lot of keyword embodying professional in communication process, and as shown in Table 1, table one is the Partial key word signal table that industry appears embodying in part industry in communication process.Such as judge in dialog context containing the express delivery/parcel embodying express delivery industry.If judged result is there is not the content with preset industry Keywords matching in dialog context, then returns step S101 and again read; If judged result is there is the content with preset industry Keywords matching in dialog context, then enter step S102.
Show the Partial key word signal table that industry appears embodying in a part of industry in communication process
S103: if there is the content with preset industry Keywords matching in described dialog context, then judge occurrence number that the is described and content of preset industry Keywords matching, if the number of times occurred with the content of described preset industry Keywords matching in described dialog context is more than or equal to preset times, then think in described dialog context with the content matching of preset industry Keywords matching, otherwise not mate.
In order to avoid user to occur in conversing with certain industry, the industry keyword of other industry causes misjudgment simultaneously, guarantee that mobile terminal judges the correctness with the content of preset industry keyword match in dialog context, preset or the User Defined of can also dispatching from the factory judges the number of times occurred with the content of preset industry Keywords matching in dialog context, such as preset times is set to 2, as shown in Figure 3, other numerals can be set in concrete enforcement, the content with preset industry Keywords matching in dialog context is judged according to step S102, judge the occurrence number with the content of preset industry Keywords matching in dialog context, if occur more than 2 times or 2 times with the content of preset industry Keywords matching in dialog context, then think in dialog context with the content matching of preset industry Keywords matching, if enter step S104 with the content matching of preset industry Keywords matching in dialog context, be less than preset times if there is number of times, such as 1 time, then think in dialog context and return the crucial word mismatch with preset industry step S101 and re-execute.
S104: if in described dialog context with the content matching of preset industry Keywords matching, then preserve described unknown incoming call number.
If the judged result of step S103 is the content matching with preset industry Keywords matching in dialog context, then preserves described unknown incoming call number, otherwise do not preserve.Preserve this unknown incoming call number naming method for " industry type+numbering ", such as: express delivery 1, express delivery A, take-away 1, wherein industry type is the industry type that preset industry keyword is corresponding, is numbered the one in numeral, letter or combination, and letter also comprises capital and small letter difference.In concrete enforcement, user self-definedly can also arrange automatically or automatically not preserve unknown incoming call number, when such as user arranges and automatically do not preserve, after end of conversation, eject dialog box, allow user select voluntarily to preserve or do not preserve, support that user changes preservation title simultaneously.
The phenomenon that the present invention utilizes different industries to have the different keyword of respective industry to occur in communication process judges dialog context, such as when conversing with courier, can repeatedly there is the industry keywords such as express delivery, deliver goods, parcel, can repeatedly there is the industry keywords such as take-away, food delivery, there will be law court, subpoena with during swindle personnel, talking, transfer accounts when conversing with food delivery person.Judge the content matched with preset industry keyword in dialog context, if judged result is contain the content matched with preset industry keyword in dialog context, then preserve described unknown incoming call number with predetermined naming method.The present invention can by judging that the mode of the content matched with preset industry keyword in dialog context helps user to preserve with predetermined naming method unknown incoming call number.Realize automatically naming preservation, the time and efforts of initiatively preserving unknown incoming call number saving user can also facilitate user's subsequent contact, follow-up, helps user to differentiate type and the significance level of caller ID simultaneously.
Refer to Fig. 4, Fig. 4 is that the present invention passes through to identify that the keyword that voice content preserves method second execution mode of unknown incoming call number automatically judges schematic diagram, and the method comprises the steps:
S201: read unknown incoming call number dialog context.
S202: judge whether there is the content with preset industry Keywords matching in described dialog context.
S203: judge the content occurrence number with preset industry Keywords matching in described dialog context, if the number of times occurred with the content of described preset industry Keywords matching in described dialog context is more than or equal to preset times, then think in described dialog context with the content matching of preset industry Keywords matching, otherwise not mate.
Step S201 to S203 is identical with step S101 to S103 in the first execution mode, repeats no more herein.If judged result is the content matching with preset industry Keywords matching in dialog context, enter step S204.
S204: judge described unknown incoming call number incoming-call frequency.
For avoiding the accidental phone of user's storing excess, accidental phone refers to that the misplay number that do not need to store or contact number of times little user of the other side not thinks the telephone number needing to store, and can also judge the incoming-call frequency of unknown incoming call number when content matching with preset industry Keywords matching in dialog context.Certainly also can not arrange judgement incoming-call frequency in concrete enforcement, factory preset and User Defined are supported in arranging of incoming-call frequency.Enter step S205.
S205: if the incoming-call frequency of described unknown incoming call number is more than or equal to the first predetermined frequency, then preserves described the unknown and carry out number, otherwise do not preserve.
Judge in conversing except setting up single that dialog context occurs that the preset industry keyword occurrence number of coupling is as except basis for estimation, the incoming-call frequency of unknown incoming call number can also be judged, this incoming-call frequency is defined as the first predetermined frequency, if the judged result of step S204 is the incoming-call frequency of same unknown incoming call number be greater than or equal to the first predetermined frequency, first predetermined frequency support is dispatched from the factory preset and User Defined, such as the first predetermined frequency is predisposed to 3 times, the frequency of other number of times can also be set in concrete enforcement, within such as one month, send a telegram here twice, within two weeks, incoming call two is inferior.If the incoming-call frequency of same unknown incoming call number is more than or equal to 3 times, then according to the preset industry keyword that step S203 judges, carry out automatically naming storage with predetermined naming method, naming method is: industry type+numbering, industry type is the industry type that preset industry keyword is corresponding, be numbered numeral, one in letter or combination, letter also comprises capital and small letter difference, industry type also can support factory preset and User Defined, user can according to own situation by number sorted for the unknown incoming call of the different keyword of coupling, such as be divided into express delivery, take out, sell, every type can preset one or more keyword.
The phenomenon of associative key repeatedly can be there is in the present invention in dissimilar communication process according to general user, such as and courier, when food delivery person converses, can repeatedly there is express delivery/deliver goods, the keywords such as take-away, by judging dialog context, if containing the content with preset industry Keywords matching in dialog context, then determine described unknown incoming call number industry type according to the content of coupling, then the frequency of same unknown incoming call number is judged, if same unknown incoming call number voice frequency exceedes predeterminated frequency, then according to the unknown incoming call number industry type determined, automatically name with predetermined naming method and preserve this unknown incoming call number, facilitate user's subsequent contact, follow-up, simplify user operation.The present invention simultaneously can, according to automatically identifying that in dialog context, keyword is to unknown incoming call number, help user to preserve.
Refer to Fig. 5, the present invention is by identifying that voice content preserves the schematic flow sheet of method the 3rd execution mode of unknown incoming call number automatically, and the method comprises the steps:
S301: read unknown incoming call number dialog context.
S302: judge whether there is the content with preset industry Keywords matching in described dialog context.
S303: judge the content occurrence number with preset industry Keywords matching in described dialog context, if the number of times occurred with the content of described preset industry Keywords matching in described dialog context is more than or equal to preset times, then think in described dialog context with the content matching of preset industry Keywords matching, otherwise not mate.
S304: judge described unknown incoming call number incoming-call frequency.
S305: if the incoming-call frequency of described unknown incoming call number is more than or equal to the first predetermined frequency, then preserves described the unknown with predetermined naming method and carry out number, otherwise do not preserve.
Step S301 to S305 is identical with step S201, S205 in the second execution mode, repeats no more herein.
S306: if cannot judge whether there is the content with preset industry Keywords matching in described dialog context, then judge air time and the incoming-call frequency of described unknown incoming call number; If the air time of described unknown incoming call number is less than the preset air time, and described unknown incoming call number incoming-call frequency is more than or equal to the second predetermined frequency, then preserve described unknown incoming call number to blacklist with predetermined naming method.
In daily call, we equally inevitably receive some harassing calls, and usual user generally can be hung up in former seconds of connecting phone, and the air time of this kind of unknown incoming call number is shorter, such as 3 seconds, 5 seconds, 6 seconds etc., and this may there will not be keyword in several seconds.When cannot judge whether there is the content with preset industry Keywords matching in described dialog context in step S302 mobile terminal, judge unknown incoming call number air time and incoming-call frequency, contrast with preset air time and the first predetermined frequency, the such as preset air time is 5 seconds, second predetermined frequency is 2 times, preset or the User Defined of can dispatching from the factory in concrete enforcement arranges air time and the second predetermined frequency, if judge that user receives the unknown incoming call number air time within the preset air time, and same unknown incoming call number voice frequency is more than the second predetermined frequency, then preserve this unknown incoming call number with predetermined naming method, do not have and preset Keywords matching content in communication process, then factory preset or User Defined life, the industry type of this type of unknown incoming call number, such as be set to harassing and wrecking, shielding etc., this unknown incoming call number is preserved to blacklist again according to aforementioned naming method, such as called after harassing and wrecking a.The unknown incoming call number preserved can also be pressed hierarchical classification in concrete enforcement to preserve, such as the telephone number that user oneself manually preserves is set to the first level, the telephone number of the industry that express delivery, take-away etc. are important saves as the second level, the telephone number of the industries such as harassing and wrecking, swindle saves as third layer level etc., and factory preset and User Defined are supported in arranging of level.Be in different scene for user, arrange different incoming call handling, just jingle bell when such as only having the first level incoming call during meeting, third layer level phone is set to blacklist etc., supports factory preset and User Defined.
Refer to Fig. 6, the present invention is by identifying that voice content preserves the schematic flow sheet of method the 4th execution mode of unknown incoming call number automatically.
S401: read unknown incoming call number dialog context.
S402: judge whether there is the content with preset industry Keywords matching in described dialog context.
S403: judge described unknown incoming call number incoming-call frequency.
S404: if described unknown incoming call number incoming-call frequency is more than or equal to the first predetermined frequency, then carry out name according to the described unknown incoming call type of number with predetermined naming method and preserve, otherwise do not preserve.
In step S401 to S405 and the first execution mode, step is similar, repeats no more herein.
Refer to Fig. 7, the present invention is by identifying that voice content preserves the schematic flow sheet of method the 5th execution mode of unknown incoming call number automatically.
S501: read unknown incoming call number dialog context.
S502: judge whether there is the content with preset industry Keywords matching in described dialog context.
S503: judge described unknown incoming call number incoming-call frequency.
Judge whether to exist in dialog context also to comprise judging to converse with the content of preset industry Keywords matching and whether recorded.
S504: if described unknown incoming call number incoming-call frequency is more than or equal to the first predetermined frequency, then carry out name according to the described unknown incoming call type of number with predetermined naming method and preserve, otherwise do not preserve.
S505: judge described unknown incoming call number air time and the second predetermined frequency.
S506: if the air time of described unknown incoming call number is less than the preset air time, and described unknown incoming call number incoming-call frequency is more than or equal to the second predetermined frequency, then preserve described unknown incoming call number to blacklist.
S507: if the air time of described unknown incoming call number is less than the preset air time, and described unknown incoming call number incoming-call frequency is less than the second predetermined frequency, then know caller ID described in ignoring.
In step S501 to S507 and the 3rd execution mode, step is similar, repeats no more herein.
Refer to Fig. 8, Fig. 8 is that the present invention passes through to identify that voice content preserves the structural representation of terminal one execution mode of unknown incoming call number automatically, and this terminal comprises: read module 801, first judge module 802, second judge module 803, the memory module 804 that are sequentially connected.
Read module 801 is for reading unknown incoming call number dialog context.
First judge module 802 is for judging whether there is the content with preset industry Keywords matching in described dialog context.
When second judge module 803 is the content existed in described dialog context with preset industry Keywords matching for the judged result of described first judge module 802, judge occurrence number that the is described and content of preset industry Keywords matching, if the number of times occurred with the content of described preset industry Keywords matching in described dialog context is more than or equal to preset times, then think in described dialog context with the content matching of preset industry Keywords matching, otherwise not mate.
If when memory module 804 is the content matching with preset industry Keywords matching in described dialog context for described second judge module 803 judged result, preserve described the unknown and carry out number, naming method is: industry type+numbering, wherein industry type is the industry type that preset industry keyword is corresponding, and described numbering comprises one in numeral, letter or combination.
Refer to Fig. 9, the present invention is by identifying that voice content preserves the structural representation of another execution mode of terminal of unknown incoming call number automatically, and this terminal comprises: read module 901, first judge module 902, second judge module 903, the 3rd judge module 904, the memory module 905 that are sequentially connected.
Read module 901 is for reading unknown incoming call number dialog context.
First judge module 902 is for judging whether there is the content with preset industry Keywords matching in described dialog context.
When second judge module 903 is the content existed in described dialog context with preset industry Keywords matching for the judged result of described first judge module 902, judge occurrence number that the is described and content of preset industry Keywords matching, if the number of times occurred with the content of described preset industry Keywords matching in described dialog context is more than or equal to preset times, then think in described dialog context with the content matching of preset industry Keywords matching, otherwise not mate.
When 3rd judge module 904 is for being the content matching with preset industry Keywords matching in described dialog context in the judged result of the second judge module 903, judge the incoming-call frequency of described unknown incoming call number; If the incoming-call frequency of unknown incoming call number is more than or equal to the first predetermined frequency, then control store module 905 preserves described unknown incoming call number, otherwise does not preserve.
If preserve described the unknown when memory module 905 is more than or equal to the first predetermined frequency for the incoming-call frequency that described 3rd judge module 904 judged result is unknown incoming call number to carry out number, naming method is: industry type+numbering, wherein industry type is the industry type that preset industry keyword is corresponding, and described numbering comprises one in numeral, letter or combination.
Refer to Figure 10, the present invention is by identifying that voice content preserves the structural representation of the another execution mode of terminal of unknown incoming call number automatically, and this terminal comprises: read module 910, first judge module 920, second judge module 930, the memory module 940 that are sequentially connected.
Read module 910 is for reading unknown incoming call number dialog context.
First judge module 920 is for judging whether there is the content with preset industry Keywords matching in described dialog context.
When second judge module 930 is for judging whether there is the content with preset industry Keywords matching in described dialog context at described first judge module 920, judge air time and the incoming-call frequency of described unknown incoming call number, if the air time of described unknown incoming call number is less than the preset air time, and described unknown incoming call number incoming-call frequency is more than or equal to the second predetermined frequency, then control store module 930 preserves described unknown incoming call number with predetermined naming method.
When 3rd judge module 940 is for being the content matching with preset industry Keywords matching in described dialog context in the judged result of the second judge module 930, judge the incoming-call frequency of described unknown incoming call number; If the incoming-call frequency of unknown incoming call number is more than or equal to the first predetermined frequency, then control store module 905 preserves described unknown incoming call number, otherwise does not preserve.
First judge module 920 is also for when judging whether there is the content with preset industry Keywords matching in dialog context, judge air time and the incoming-call frequency of unknown incoming call number, if the air time of unknown incoming call number is less than the preset air time, and unknown incoming call number incoming-call frequency is more than or equal to the second predetermined frequency, then control store module 940 preserves unknown incoming call number to blacklist.
Memory module 940 is for preserving unknown incoming call number with predetermined naming method, and naming method is: industry type+numbering, and wherein industry type is the industry type that preset industry keyword is corresponding, and described numbering comprises one in numeral, letter or combination.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technology industry, be all in like manner included in scope of patent protection of the present invention.