CN107666533A - A kind of number error correction method and device - Google Patents

A kind of number error correction method and device Download PDF

Info

Publication number
CN107666533A
CN107666533A CN201610619599.6A CN201610619599A CN107666533A CN 107666533 A CN107666533 A CN 107666533A CN 201610619599 A CN201610619599 A CN 201610619599A CN 107666533 A CN107666533 A CN 107666533A
Authority
CN
China
Prior art keywords
number series
series
error correction
undetermined
acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610619599.6A
Other languages
Chinese (zh)
Inventor
崔欣
张扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201610619599.6A priority Critical patent/CN107666533A/en
Publication of CN107666533A publication Critical patent/CN107666533A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • H04M1/2748Methods of retrieving data by matching character strings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27463Predictive input, predictive dialling by comparing the dialled sequence with the content of a telephone directory

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of number error correction method and device, detect the number series obtained, and when meeting error correction condition, calculate the acquisition number series and number storehouse in similarity between number series, the error correction number series of the number series for the acquisition can be determined from the higher number series undetermined of similarity, so as to the error correcting prompt according to error correction number series displaying for the number series of the acquisition, the error correction to the number series of acquisition is realized, and the user of prompting mobile terminal may obtain the number series of mistake by way of error correcting prompt.Improve Consumer's Experience.

Description

A kind of number error correction method and device
Technical field
The present invention relates to data processing field, more particularly to a kind of number error correction method and device.
Background technology
User using mobile terminal when, often may require that processing obtain number series, such as be manually entered telephone number, Receive telephone number, QQ number code that other people send etc..
These obtain number series be possible to mistake occur, such as manually into mobile terminal input when there is number input Mistake, or other people telephone numbers sent are not the situation of correct number.Get mistake number series can bring it is bad Consumer's Experience, such as input the called end that telephone number causes exhalation to mistake by mistake, the QQ number code of mistake causes plus wrong good friend etc..
How the problem of error correction is a urgent need to resolve effectively to be carried out to the number series of acquisition.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of number error correction method and device, realize to obtaining Number series error correction, and by way of error correcting prompt the user of prompting mobile terminal may obtain mistake number String.
The embodiment of the invention discloses following technical scheme:
In a first aspect, the embodiments of the invention provide a kind of number error correction method, methods described includes:
Detect the number series obtained;
If meeting error correction condition, calculate the acquisition number series and number storehouse in similarity between number series;
Error correction number series is determined from number series undetermined, the number series undetermined is similar to the number series of the acquisition Number series of the degree more than or equal to the first preset value;
Error correcting prompt according to error correction number series displaying for the number series of the acquisition.
Optionally, the number series of the acquisition includes input number series, and the input number series is to be inputted to mobile terminal The number series that is formed of number;If described meet error correction condition, the number series of the acquisition and number series in number storehouse are calculated Between similarity, including:
During the number of input is obtained, if input state meets error correction condition, calculate the input number series with Similarity in number storehouse between number series.
Optionally, the error correcting prompt according to error correction number series displaying for the number series of the acquisition, including:
Error correction number series of the displaying for the number series of the acquisition.
Optionally, it is described to determine error correction number series from number series undetermined, including:
May according to the error correction that the number series undetermined is calculated using data of the number series undetermined in the terminal Property;
The number series that error correction possibility in the number series undetermined is more than or equal to the second preset value is defined as described entangle Wrong number sequence.
Optionally, it is described to calculate the number series undetermined according to the use data of the number series undetermined in the terminal Error correction possibility, including:
Probability is inputed by mistake according to number, the number series undetermined is calculated and inputs possibility by mistake relative to the number series of the acquisition Property, it is the layout decision according to the similarity degree of number and/or the key mapping of carrying number input function that the number, which inputs probability by mistake,;
According to the possibility of inputing by mistake of the number series undetermined, and the number series undetermined in the mobile terminal The error correction possibility of the number series undetermined is calculated using data.
Optionally, the possibility of inputing by mistake according to the number series undetermined, and the number series undetermined described The error correction possibility that the number series undetermined is calculated using data in mobile terminal, including:
The error correction possibility of the number series undetermined is calculated by error correcting model, the error correcting model is to pass through historical data Training obtains, and what the error correcting model included corresponding to the number series undetermined respectively inputs possibility, the number series undetermined by mistake The weighted value using data in the mobile terminal.
Optionally, the number n of number exceedes predetermined number and institute in number series of the error correction condition including the acquisition The preceding n number of the number series and number series in the number storehouse of stating acquisition mismatches.
Optionally, the directory number set in the number storehouse including the mobile terminal, the mobile terminal are made a return journey Electric set of numbers, the combination for recommending one or more of set of numbers.
Optionally, the address list for recommending set of numbers to include N degree human connections, and/or the conventional clothes in binding time place Business class number bag.
Second aspect, the embodiments of the invention provide a kind of number error correction device, described device includes detection unit, calculated Unit, determining unit and display unit:
The detection unit, for detecting the number series obtained;If meeting error correction condition, the computing unit is triggered,
The computing unit, for calculate the acquisition number series and number storehouse in similarity between number series;
The determining unit, for determining error correction number series from number series undetermined, the number series undetermined for institute The number series similarity for stating acquisition is more than or equal to the number series of the first preset value;
The display unit, for being carried according to error correction number series displaying for the error correction of the number series of the acquisition Show.
Optionally, the number series of the acquisition includes input number series, and the input number series is to be inputted to mobile terminal The number series that is formed of number;
The detection unit is additionally operable to the input number series that detection obtains;During the number of input is obtained, if defeated Enter state and meet error correction condition, trigger the computing unit,
The computing unit is additionally operable to calculate the similarity in the input number series and number storehouse between number series.
Optionally, the display unit is additionally operable to error correction number series of the displaying for the number series of the acquisition.
Optionally, the determining unit is additionally operable to be calculated according to the use data of the number series undetermined in the terminal The error correction possibility of the number series undetermined;Error correction possibility in the number series undetermined is more than or equal to the second preset value Number series is defined as the error correction number series.
Optionally, the determining unit is additionally operable to input probability by mistake according to number, calculates the number series undetermined relative to institute The possibility of inputing by mistake of the number series of acquisition is stated, it is the similarity degree and/or carrying number according to number that the number, which inputs probability by mistake, The layout of the key mapping of input function determines;According to the possibility of inputing by mistake of the number series undetermined, and the number series undetermined The error correction possibility that the number series undetermined is calculated using data in the mobile terminal.
Optionally, the determining unit is additionally operable to calculate the error correction possibility of the number series undetermined by error correcting model, To train to obtain by historical data, the error correcting model includes corresponding to the number series undetermined respectively the error correcting model Input possibility, the weighted value using data in the mobile terminal of the number series undetermined by mistake.
Optionally, the number n of number exceedes predetermined number and institute in number series of the error correction condition including the acquisition The preceding n number of the number series and number series in the number storehouse of stating acquisition mismatches.
Optionally, the directory number set in the number storehouse including the mobile terminal, the mobile terminal are made a return journey Electric set of numbers, the combination for recommending one or more of set of numbers.
Optionally, the address list for recommending set of numbers to include N degree human connections, and/or the conventional clothes in binding time place Business class number bag.
The third aspect, the embodiments of the invention provide a kind of device for number error correction, include memory, Yi Jiyi Individual or more than one program, one of them or more than one program storage are configured to by one in memory Either more than one computing device is one or more than one program bag contains the instruction for being used for being operated below:
Detect the number series obtained;If meeting error correction condition, the number series of the acquisition and number series in number storehouse are calculated Between similarity;
Error correction number series is determined from number series undetermined, the number series undetermined is similar to the number series of the acquisition Number series of the degree more than or equal to the first preset value;
Error correcting prompt according to error correction number series displaying for the number series of the acquisition.
The number series that detection obtains it can be seen from above-mentioned technical proposal, and when meeting error correction condition, calculate the acquisition Number series and number storehouse in similarity between number series, can determine to be directed to from the higher number series undetermined of similarity The error correction number series of the number series of the acquisition, so as to according to error correction number series displaying entangling for the number series of the acquisition Mistake prompting, it is achieved thereby that the error correction of the number series to acquisition, and by way of error correcting prompt prompting mobile terminal use Person may obtain the number series of mistake.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of number error correction method provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for determining error correction number series method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure drawing of device of number error correction device provided in an embodiment of the present invention;
Fig. 4 is a kind of block diagram of device for number error correction provided in an embodiment of the present invention;
Fig. 5 is the structural representation of server in the embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is explicitly described, it is clear that described embodiment be the present invention Part of the embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of creative work is made, belongs to the scope of protection of the invention.
User using mobile terminal when, often may require that processing obtain number series, such as be manually entered telephone number, Receive telephone number, QQ number code that other people send etc..If mistake occurs in the number series obtained, bad user's body can be brought Test, therefore need to realize error correction to the number series for being likely to occur mistake, to reduce the possibility that user uses wrong number series.
The number series of acquisition for mobile terminal can include the number series that other equipment is sent to the mobile terminal, such as by short Number series that letter is sent, the number series sent by social software etc..This kind of number series can include the user number of social software Sequence, such as QQ number, communication number string, such as cell-phone number, home Tel etc. can also be included.Other equipment is sent out to the mobile terminal When sending this kind of number series, it is possible to which because input reason or other reasonses cause number series mistake occur, such as user a is to user B mobile phone have sent a short message, and short message content is that user c cell-phone number is xxx, may due to user a input error, or The cell-phone number of user c known to person user a inherently mistake, then when user b reads this short message, it is possible to will Breathed out by the cell-phone number in short message, it is desirable to user c arrive in calling, but due to the cell-phone number of user a offers be it is wrong, User b callings are caused to arrive other users.
The number series of acquisition for mobile terminal can also include the number series that the number of user's input is formed, such as cell-phone number Code.Some users custom sequentially inputs the number for needing to call in a manner of by inputting number on mobile terminals, here institute The number stated can be understood as communication number, such as phone number, base number etc., it is understood that be the user of social software Number series etc..Mobile terminal described here can be the equipment that mobile phone, PAD etc. can realize number calling function.
When implementing call business by way of inputting number, it is possible to the situation of number inputting errors occurs, i.e., The number of input and the number for being actually needed exhalation are not consistent.Such as a user inputs one and thinks number remembered Code, it is desirable to user corresponding to this number (such as friend, household, courier) is called, as a result because terminal keyboard is too small, key mapping At a distance of relatively near or too fast etc. reason of input, cause to input in number procedures there occurs input error, it is strange so as to call People.In another example a user has write by hand or the paper of the number of printing to be dialled according to one, it is desirable to calls this number pair The user answered, but number person's handwriting is hasty and careless or writing is unclear, some of numerals are difficult to recognize, cause the number finally entered Not actually this number, so as to initiate the calling of mistake according to the number of input error.Number inputting errors can be led Cause to call the user for wanting to call originally, and the calling of mistake may bring bad Consumer's Experience.
It can be seen that how the problem of error correction is a urgent need to resolve effectively to be carried out to the number series of acquisition.
Therefore, the embodiments of the invention provide a kind of number error correction method and device, the number series of acquisition is detected, and is being expired During sufficient error correction condition, calculate the acquisition number series and number storehouse in similarity between number series, can be higher from similarity Number series undetermined in determine for the acquisition number series error correction number series, so as to according to the error correction number series exhibition Show the error correcting prompt of the number series for the acquisition, it is achieved thereby that the error correction of the number series to acquisition, and pass through error correcting prompt Mode prompting mobile terminal user may obtain mistake number series.
Further, in order to solve the problems, such as the input error in the input number procedures into mobile terminal, obtaining During being orientated mobile terminal input number, monitor whether input state meets error correction condition in real time, and meeting error correction Calculate the similarity in input number series and number storehouse between number series during condition, in the number series undetermined higher from similarity really The error correction number series for the input number series is made, and the error correction number series is shown.It is achieved thereby that to defeated Enter the error correction possibility of number series, serve the work of the prompting and error correction instruction to number inputting errors in input number procedures With.
Fig. 1 is a kind of method flow diagram of number error correction method provided in an embodiment of the present invention, and methods described includes:
S101:Detect the number series obtained.
For example, the technical scheme of embodiment corresponding to Fig. 1 can be realized by mobile terminal, can also be moved by being deployed in Application program, APP, code in dynamic terminal etc. are realized.
The main body of the number series of acquisition can be mobile terminal or other equipment.If specifically mobile terminal obtains The number series taken, the number series of the acquisition can be user's input number that directly input number is formed on mobile terminals The number series that string or other equipment are sent to the mobile terminal.
Action of the input number series to inputting number is related, is made up of the sets of numbers continuously inputted, here continuous Input can be understood as not occurring the operation or exhalation operation for cancelling number series during inputting number.
As number is persistently transfused to, input number series will accordingly change according to the number of input.A such as user Key in " 1 ", " 3 ", " 4 ", " 2 ", " 6 " on mobile terminals successively, then the input number series of this when can be " 13426 ", If this user continues to input " 4 ", " 6 ", the input number series of this when can be " 1342646 ", if this user is again " 6 " recently entered are deleted, then the input number series of this when can be " 134264 ", if this user is further continued for inputting " 8 ", then the input number series of this when can be " 1342648 ".
With the change of input number series, can also be adjusted accordingly for the correction process of the input number series.It is such as defeated When to enter number series be " 13426 ", the processing of Similarity Measure and follow-up determination error correction number series is for should " 13426 " Carry out, with continuing to obtain the number inputted to mobile terminal, input number series changes into " 134264 ", then Similarity Measure And the processing of follow-up determination error correction number series will be directed to and be somebody's turn to do " 134264 " progress.
S102:If meeting error correction condition, calculate the acquisition number series and number storehouse in similarity between number series.
For example, error correction condition for example can include obtain number series in number number n exceed predetermined number and The preceding n number of the number series of the acquisition and number series in number storehouse mismatches.Wherein, whether the number series of acquisition can be with number Number series matches it is to be understood that individual number of the preceding n of the number series (including n number) obtained and number series in number storehouse in storehouse Code is matched, it is considered that the number series obtained matches with number series in number storehouse if matching result is identical, if With result to be different then it is considered that the number series obtained mismatches with number series in number storehouse.Such as the number series of acquisition is " 1342646 ", then the number series of the acquisition matched with preceding 7 numbers of number series in number storehouse, it is assumed that number has in storehouse One number series is " 13426461235 ", then first 7 of this number series are identical with the number series of the acquisition, it is believed that The number series of the acquisition can match with this number series.
If the number series obtained includes input number series, that is, the number that the number inputted to mobile terminal is formed String, then it can judge whether to meet error correction condition according to the input state of input number.
Input state described here can include the number of input number, input number series and number series in number storehouse The state parameter related to input such as matching degree.During continuing to input number to mobile terminal, with input number Number change, when the matching degree of number series changes in input number series and number storehouse, it is possible to can touch Send out error correction condition.
The present invention does not limit the storage location and content in number storehouse, and the number storehouse can include being stored in mobile terminal sheet The set of numbers on ground, the set of numbers of storage beyond the clouds can also be included.Optionally, the number storehouse includes the communication of mobile terminal Record the combination of one or more of set of numbers, the incoming/sending call number set of mobile terminal, recommendation set of numbers.Wherein, push away Recommend set of numbers can include the human connection of N degree (N be more than or 1 positive integer) address list, and/or binding time place is normal With service class number code bag, for example, can be resident position (can be family and company) according to mobile terminal and to the mobile terminal The correlation number set of push, such as near family various service number set (express delivery, property, maintenance service) or The address list determined according to the relationship among persons of user, address list, the good friend (two of such as user good friend as used in user good friend Spend human connection) or three degree of human connections etc. used in address list etc..Number series in number storehouse can include complete communication number String, such as the cell-phone number of 11,8 home Tel etc., user number sequence of social software etc. can also be included.
Next explanation calculates the mode of the similarity between number series in the number series obtained and number storehouse, and the present invention is simultaneously Do not limit and how to calculate similarity between two number series, such as that the mode for calculating editing distance can be used to calculate is similar Degree.It should be noted that in the present invention, the number series of acquisition be likely to be one group of number series for not yet inputting completion (such as Input the situation of number series), therefore when carrying out Similarity Measure, calculating be the number series (including n number) that obtains and number The similarity of the preceding n number of number series in code storehouse, that is to say, that can not consider number series in number storehouse when calculating similarity In number in addition to preceding n number.Exemplified by calculating editing distance to realize the scene for calculating similarity, if number obtained Sequence is " 1342646 ", and a number series a is " 13526461234 " in number storehouse, is calculated similar between the two number series When spending, what is actually calculated is number series " 1342646 " and the number series a " 13526461234 " obtained preceding 7 numbers Similarity between " 1352646 ", thus obtained editing distance can be 1.
S103:Error correction number series is determined from number series undetermined, the number series undetermined is the number with the acquisition Similarity of going here and there is more than or equal to the number series of the first preset value.
For example, first preset value can be a higher Measurement of Similarity, so as to be sieved from number storehouse Select with the more similar number of number series obtained as number series undetermined.The number of the number series undetermined can be one or It is multiple, that is, can have at least one number series as number series undetermined.
The present invention does not limit the mode that error correction number series is determined from number series undetermined, such as can be by number undetermined Similarity highest one or more is used as error correction number series in string, can also be further according to number series undetermined in mobile terminal Use data determine error correction number series.Because error correction number series is to determine to obtain from number series undetermined, therefore error correction number The number of string is less than or equal to the number of number series undetermined.Such as the number series undetermined of the number series " 1342646 " for acquisition It is respectively " 13526461234 ", " 13246465678 ", the error correction number determined can be " 13526461234 " for two.
S104:Error correcting prompt according to error correction number series displaying for the number series of the acquisition.
By the error correction number series determined, error correcting prompt can be shown to user in suitable position on mobile terminals, To play a part of prompting the user with the number series that may obtain mistake.How the mode of error correcting prompt and unlimited is shown It is fixed, can be the number series accessory position in the acquisition by prompting the forms such as icon, word to show error correcting prompt, can also be Mode of the status information of number error as displaying error correcting prompt is shown at the status bar of mobile terminal display window, can also Be directly will likely the mode that is illustrated near the number series of the acquisition of error correction number series show error correcting prompt.
If not directly showing error correcting prompt in a manner of error correction number series, if user triggers error correcting prompt, one can be entered Step displaying error correction number series, and/or provide remark information.Remark information can include believing with the identity associated by error correction number series Breath is such as name, address, call-information, short message content, other relevant informations are such as temporal information, positional information.
If showing error correcting prompt especially by the mode of displaying error correction number series, acquisition can be shown on mobile terminals Top, lower section or the side of number series, so as to intuitively be prompted to the user of mobile terminal, acquired number series It may malfunction, due to correctly the user should be showed near the number series of acquisition by number series (error correction number series), also It can be compared for user, select number series to provide facility.
From above-described embodiment as can be seen that detecting the number series obtained, and when meeting error correction condition, calculate the acquisition Similarity in number series and number storehouse between number series, it can be determined from the higher number series undetermined of similarity for being somebody's turn to do The error correction number series of the number series of acquisition, so as to the error correction according to error correction number series displaying for the number series of the acquisition Prompting, it is achieved thereby that the error correction of the number series to acquisition, and by way of error correcting prompt prompting mobile terminal user The number series of mistake may be obtained.
Next, on the basis of embodiment corresponding to Fig. 1, one kind provided in an embodiment of the present invention will be illustrated from undetermined number The mode of error correction number series is determined in sequence.
Fig. 2 is a kind of method flow diagram for determining error correction number series method provided in an embodiment of the present invention.
S201:The number series undetermined is calculated using data in the mobile terminal according to the number series undetermined Error correction possibility.
For example, the use data of a number series in the terminal can be used for reflecting this number series in the shifting Service condition in dynamic terminal.For example, the use data of a number series in the terminal can exist including this number series In the mobile terminal electrographic recording of making a return journey (specifically can include incoming calls record, the frequency of sending a telegram here, go electrographic recording, go electric frequency etc.), One or more combination in the duration of call, short message record (can specifically include dealing number of short etc.).
When determining error correction number series from number series undetermined, if number series undetermined has in the terminal uses number According to, then can be using the number series undetermined using data as judge whether can be as the basis for estimation of error correction number series. The mode of judgement can calculate the error correction possibility of number series undetermined, and in general, a number series undetermined is in mobile terminal It is middle abundanter, more comprehensive using data, then reflect this number series undetermined in the mobile terminal using frequency to a certain extent Rate is that comparison is high, then the error correction possibility of this number series undetermined is higher, more possibly as error correction number series.
S202:The number series that error correction possibility in the number series undetermined is more than or equal to the second preset value is defined as institute State error correction number series.
For example, second preset value can be a higher error correction possibility standard, so as to from undetermined number The number series that possibility is higher, should actually be inputted relative to input number series is filtered out in sequence.
In order to improve the precision for calculating error correction possibility, for S201, it can also further consider that number inputs probability by mistake.
Number, which is inputed by mistake, is possible to related to number similarity.Because the similarity between number is not quite similar, such as from distinguishing Seen in knowledge degree, number " 3 " and " 8 " are more similar, and number " 3 " and other numbers such as similarity such as " 4 ", " 5 ", " 6 " are just Than relatively low.Easily there is identification mistake in the higher number of similarity, so as to wrong input occur, such as when inputting " 3 ", by It is close with " 3 " in " 8 ", it is possible to which that " 8 " are regarded as " 3 " by mistake, so as to have input " 8 " for mistake.It can be seen that number similarity is got over Height, it is higher that number inputs probability by mistake.
Number is inputed by mistake it is also possible to the layout of the key mapping to carrying number input function is related.Such as the input keyboard of mobile phone The arrangement of (or dummy keyboard) is usually nine grids form, from carrying inputs the function of " 1 " to " 9 " successively left to bottom right. When inputting " 1 ", adjacent with the key mapping of carrying input " 1 " function is the key mapping and carrying input " 4 " work(of carrying input " 2 " function The key mapping of energy, then during input " 1 " be possible to that adjacent key mapping closer to the distance can be triggered to, so as to mistake input " 2 " or " 4 ". It can be seen that on arranging key locations, the nearer key mapping of distance, it is higher that number inputs probability by mistake.
Number is inputed by mistake it is also possible to related with the layout of number similarity and the key mapping for carrying number input function.Also The situation that number may be caused to input by mistake to other is related, no longer repeats one by one here.It is probably the mobile terminal that number, which is inputed by mistake, The user that user inputs the other equipment that number series was inputed or sent to the mobile terminal to the number occurred during number by mistake is defeated Enter the number occurred during number to input by mistake.
Probability is inputed by mistake with reference to number obtained above, can calculate number of the number series undetermined relative to the acquisition String inputs possibility by mistake.In general, relative to the number series of acquisition, it is higher that the number of a number series undetermined inputs probability by mistake, This number series undetermined to input possibility by mistake bigger.
Next, can according to the possibility of inputing by mistake of the number series undetermined, and the number series undetermined described The error correction possibility that the number series undetermined is calculated using data in mobile terminal.
In order to improve computational efficiency, can by the possibility of inputing by mistake of number series undetermined, and number series undetermined in movement Use data in terminal bring error correcting model into, and the error correction possibility of number series undetermined is calculated by the error correcting model.The error correction Have in model beforehand through historical data train it is obtaining, correspond to number series undetermined respectively input possibility, number undetermined by mistake The weighted value using data in the terminal of string.
For example, the formula of the calculating error correction possibility used in error correcting model can be:
Score=w1*wf+w2*f1+w3*f2+w4*f3+w5*f4+w6*f5+w7*f6;
Wherein, score is the error correction possibility of number series undetermined.F1 to f6 is number series undetermined making in the terminal With data, such as f1 can be the nearest incoming call number of number series undetermined;F2 can remove electric number recently for number series undetermined; F3 can be the missed electric number of number series undetermined;F4 can be the average call duration of number series undetermined;F5 can be undetermined The number recommendation scores of number series;F6 can be the transmitting-receiving short message number under number series undetermined.Wf can be for inputting number String, number series combination number undetermined input probability calculation by mistake and obtain being to input possibility by mistake.W1 to w7 is respectively wf, f1 to f6 weight Value, w1+w2+w3+w4+w5+w6+w7 can be equal to 1.
After the error correction possibility of number series undetermined is calculated, error correction possibility in number series undetermined can be more than or be waited It is defined as error correction number series in the number series of the second preset value, and the error correction number series that can be determined carries out error correction displaying.Should Weighted value in error correcting model can be adjusted by training.
Fig. 3 is a kind of structure drawing of device of number error correction device provided in an embodiment of the present invention, and described device includes detection Unit 301, computing unit 302, determining unit 303 and display unit 304:
Detection unit 301, for detecting the number series obtained;If meeting error correction condition, computing unit 302 is triggered,
Computing unit 302, for calculate the acquisition number series and number storehouse in similarity between number series;
Determining unit 303, for determining error correction number series from number series undetermined, the number series undetermined be with it is described The number series similarity of acquisition is more than or equal to the number series of the first preset value;
Display unit 304, for the error correcting prompt according to error correction number series displaying for the number series of the acquisition.
Optionally, the number series of the acquisition includes input number series, and the input number series is to be inputted to mobile terminal The number series that is formed of number;
Detection unit 301 is additionally operable to the input number series that detection obtains;During the number of input is obtained, if input State meets error correction condition, triggers computing unit 302,
Computing unit 302 is additionally operable to calculate the similarity in the input number series and number storehouse between number series.
Optionally, display unit 304 is additionally operable to error correction number series of the displaying for the number series of the acquisition.
Optionally, determining unit 303 is additionally operable to be calculated according to the use data of the number series undetermined in the terminal The error correction possibility of the number series undetermined;Error correction possibility in the number series undetermined is more than or equal to the second preset value Number series is defined as the error correction number series.
Optionally, determining unit 303 is additionally operable to input probability by mistake according to number, calculates the number series undetermined relative to described The number series of acquisition inputs possibility by mistake, and it is defeated for the similarity degree according to number and/or carrying number that the number inputs probability by mistake The layout for entering the key mapping of function determines;According to the possibility of inputing by mistake of the number series undetermined, and the number series undetermined The error correction possibility that the number series undetermined is calculated using data in the mobile terminal.
Optionally, determining unit 303 is additionally operable to calculate the error correction possibility of the number series undetermined, institute by error correcting model Error correcting model is stated to train to obtain by historical data, the error correcting model includes corresponding to the defeated of the number series undetermined respectively The weighted value using data in the mobile terminal of wrong possibility, the number series undetermined.
Optionally, the number n of number exceedes predetermined number and institute in number series of the error correction condition including the acquisition The preceding n number of the number series and number series in the number storehouse of stating acquisition mismatches.
Optionally, the directory number set in the number storehouse including the mobile terminal, the mobile terminal are made a return journey Electric set of numbers, the combination for recommending one or more of set of numbers.
Optionally, the address list for recommending set of numbers to include N degree human connections, and/or the conventional clothes in binding time place Business class number bag.
As can be seen that the number series that detection obtains, and when meeting error correction condition, calculate the number series and number of the acquisition Similarity in storehouse between number series, the number series for the acquisition can be determined from the higher number series undetermined of similarity Error correction number series, so as to the error correcting prompt according to error correction number series displaying for the number series of the acquisition, so as to real The error correction to the number series of acquisition is showed, and the user of prompting mobile terminal may obtain mistake by way of error correcting prompt Number series by mistake.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of device 400 for number error correction according to an exemplary embodiment.For example, dress It can be mobile phone to put 400, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Reference picture 4, device 400 can include following one or more assemblies:Processing component 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Treatment element 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate Interaction between media component 403 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in equipment 400.These data are shown Example includes the instruction of any application program or method for being operated on device 400, contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When equipment 400 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 404 or via communication set Part 416 is sent.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor cluster 414 can detect opening/closed mode of equipment 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device Position change, the existence or non-existence that user contacts with device 400, the orientation of device 400 or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of device 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device performs so that mobile terminal is able to carry out a kind of method of search result displaying, and methods described includes:
Detect the number series obtained;
If meeting error correction condition, calculate the acquisition number series and number storehouse in similarity between number series;
Error correction number series is determined from number series undetermined, the number series undetermined is similar to the number series of the acquisition Number series of the degree more than or equal to the first preset value;
Error correcting prompt according to error correction number series displaying for the number series of the acquisition.
Fig. 5 is the structural representation of server in the embodiment of the present invention.The server 500 can because configuration or performance it is different and Produce bigger difference, can include one or more central processing units (central processing units, CPU) 522 (for example, one or more processors) and memory 532, one or more storage application programs 542 or The storage medium 530 (such as one or more mass memory units) of data 544.Wherein, memory 532 and storage medium 530 can be of short duration storage or persistently storage.One or more modules can be included by being stored in the program of storage medium 530 (diagram does not mark), each module can include operating the series of instructions in server.Further, central processing unit 522 be could be arranged to communicate with storage medium 530, and the series of instructions behaviour in storage medium 530 is performed on server 500 Make.
Server 500 can also include one or more power supplys 526, one or more wired or wireless networks Interface 550, one or more input/output interfaces 558, one or more keyboards 556, and/or, one or one Above operating system 541, such as Windows ServerTM, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM etc..
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.It is contemplated that cover the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (14)

1. a kind of number error correction method, it is characterised in that methods described includes:
Detect the number series obtained;
If meeting error correction condition, calculate the acquisition number series and number storehouse in similarity between number series;
Error correction number series is determined from number series undetermined, the number series undetermined is big with the number series similarity of the acquisition In or equal to the first preset value number series;
Error correcting prompt according to error correction number series displaying for the number series of the acquisition.
2. according to the method for claim 1, it is characterised in that the number series of the acquisition includes input number series, described The number series that the number for inputting number series to input to mobile terminal is formed;If described meet error correction condition, obtained described in calculating Similarity in the number series taken and number storehouse between number series, including:
During the number of input is obtained, if input state meets error correction condition, the input number series and number are calculated Similarity in storehouse between number series.
3. according to the method for claim 1, it is characterised in that described to be obtained according to error correction number series displaying for described The error correcting prompt of the number series taken, including:
Error correction number series of the displaying for the number series of the acquisition.
4. according to the method for claim 1, it is characterised in that it is described that error correction number series is determined from number series undetermined, Including:
According to the error correction possibility that the number series undetermined is calculated using data of the number series undetermined in the terminal;
The number series that error correction possibility in the number series undetermined is more than or equal to the second preset value is defined as the error correction number Sequence.
5. according to the method for claim 4, it is characterised in that it is described according to the number series undetermined in the terminal The error correction possibility of the number series undetermined is calculated using data, including:
Probability is inputed by mistake according to number, calculates the number series undetermined relative to the possibility of inputing by mistake of the number series of the acquisition, institute It is the layout decision according to the similarity degree of number and/or the key mapping of carrying number input function to state number and input probability by mistake;
According to the possibility of inputing by mistake of the number series undetermined, and the use in the mobile terminal of the number series undetermined Data calculate the error correction possibility of the number series undetermined.
6. according to the method for claim 5, it is characterised in that it is described that possibility is inputed by mistake according to the number series undetermined, And the error correction possibility that the number series undetermined is calculated using data in the mobile terminal of the number series undetermined, Including:
The error correction possibility of the number series undetermined is calculated by error correcting model, the error correcting model is to be trained by historical data Obtain, the error correcting model include corresponding to respectively the number series undetermined input by mistake possibility, the number series undetermined The weighted value using data in the mobile terminal.
7. according to the method described in claim 1 to 6 any one, it is characterised in that the error correction condition includes the acquisition Number series in the number n of number exceed the preceding n of predetermined number and the number series of the acquisition and number series in the number storehouse Individual number mismatches.
8. according to the method described in claim 1 to 6 any one, it is characterised in that the number storehouse includes described mobile whole The directory number set at end, the incoming/sending call number set of the mobile terminal, recommend one or more of set of numbers Combination.
9. according to the method for claim 8, it is characterised in that the address list for recommending set of numbers to include N degree human connections, And/or the conventional service class number code bag in binding time place.
10. a kind of number error correction device, it is characterised in that described device includes detection unit, computing unit, determining unit and exhibition Show unit:
The detection unit, for detecting the number series obtained;If meeting error correction condition, the computing unit is triggered,
The computing unit, for calculate the acquisition number series and number storehouse in similarity between number series;
The determining unit, for determining error correction number series from number series undetermined, the number series undetermined is to be obtained with described The number series similarity taken is more than or equal to the number series of the first preset value;
The display unit, for the error correcting prompt according to error correction number series displaying for the number series of the acquisition.
11. device according to claim 10, it is characterised in that the number series of the acquisition includes input number series, institute The number series that the number for stating input number series to input to mobile terminal is formed;
The detection unit is additionally operable to the input number series that detection obtains;During the number of input is obtained, if input shape State meets error correction condition, triggers the computing unit,
The computing unit is additionally operable to calculate the similarity in the input number series and number storehouse between number series.
12. device according to claim 10, it is characterised in that the display unit is additionally operable to displaying and is directed to the acquisition Number series error correction number series.
13. device according to claim 10, it is characterised in that the determining unit is additionally operable to according to the number undetermined The error correction possibility that the number series undetermined is calculated using data of string in the terminal;By error correction in the number series undetermined The number series that possibility is more than or equal to the second preset value is defined as the error correction number series.
A kind of 14. device for number error correction, it is characterised in that include memory, and one or more than one Program, one of them or more than one program storage are configured to by one or more than one processing in memory Device performs one or more than one program bag and contains the instruction for being used for being operated below:
Detect the number series obtained;
If meeting error correction condition, calculate the acquisition number series and number storehouse in similarity between number series;
Error correction number series is determined from number series undetermined, the number series undetermined is big with the number series similarity of the acquisition In or equal to the first preset value number series;
Error correcting prompt according to error correction number series displaying for the number series of the acquisition.
CN201610619599.6A 2016-07-29 2016-07-29 A kind of number error correction method and device Pending CN107666533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610619599.6A CN107666533A (en) 2016-07-29 2016-07-29 A kind of number error correction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610619599.6A CN107666533A (en) 2016-07-29 2016-07-29 A kind of number error correction method and device

Publications (1)

Publication Number Publication Date
CN107666533A true CN107666533A (en) 2018-02-06

Family

ID=61121886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610619599.6A Pending CN107666533A (en) 2016-07-29 2016-07-29 A kind of number error correction method and device

Country Status (1)

Country Link
CN (1) CN107666533A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109712616A (en) * 2018-11-29 2019-05-03 平安科技(深圳)有限公司 Telephone number error correction method, device and computer equipment based on data processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600181A (en) * 2009-06-25 2009-12-09 宇龙计算机通信科技(深圳)有限公司 A kind of input error correction method, system and mobile communication terminal of telephone number
US20140226805A1 (en) * 2013-02-11 2014-08-14 Research In Motion Limited Autocorrect for phone numbers
CN104836896A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Method and device for carrying out error correction prompt to telephone number

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600181A (en) * 2009-06-25 2009-12-09 宇龙计算机通信科技(深圳)有限公司 A kind of input error correction method, system and mobile communication terminal of telephone number
US20140226805A1 (en) * 2013-02-11 2014-08-14 Research In Motion Limited Autocorrect for phone numbers
CN104836896A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Method and device for carrying out error correction prompt to telephone number

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109712616A (en) * 2018-11-29 2019-05-03 平安科技(深圳)有限公司 Telephone number error correction method, device and computer equipment based on data processing
CN109712616B (en) * 2018-11-29 2023-11-14 平安科技(深圳)有限公司 Telephone number error correction method and device based on data processing and computer equipment

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
CN104536684B (en) interface display method and device
CN104836924B (en) Number mark method and device
CN105204808B (en) Projective techniques, device and the terminal device of picture
CN106528709A (en) Social information recommendation method and apparatus
CN108803980A (en) Operation recognition methods, device, equipment and the readable storage medium storing program for executing of equipment
CN104282064B (en) Gate inhibition's answer method and device
CN103944804A (en) Contact recommending method and device
CN105515952B (en) Method of sending message in multimedia and device
CN106775224A (en) Remark information method to set up and device
CN109951379A (en) Message treatment method and device
CN106791092A (en) The searching method and device of contact person
CN107193393A (en) Input method switching method and device
CN106096009A (en) Method for generating message and device
CN105902138B (en) Electric cooker cleans information cuing method and device
CN106993265A (en) Communication means, terminal, wearable device based on wearable device
CN105100193A (en) Cloud business card recommendation method and device
CN106650569B (en) Fingerprint input method and device
CN107493366A (en) Address list information update method, device and storage medium
CN107171938A (en) The method and apparatus of the social good friend of shielding
CN106325621B (en) Mobile terminal and touch-responsive method
CN106453774A (en) Method and apparatus for displaying contact information
CN107656616A (en) Input interface displaying method, device, electronic equipment
CN107666533A (en) A kind of number error correction method and device
CN106921545A (en) The sharing method of appliance information, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180206

RJ01 Rejection of invention patent application after publication