CN104836896A - Method and device for carrying out error correction prompt to telephone number - Google Patents

Method and device for carrying out error correction prompt to telephone number Download PDF

Info

Publication number
CN104836896A
CN104836896A CN201510149734.0A CN201510149734A CN104836896A CN 104836896 A CN104836896 A CN 104836896A CN 201510149734 A CN201510149734 A CN 201510149734A CN 104836896 A CN104836896 A CN 104836896A
Authority
CN
China
Prior art keywords
telephone number
condition code
belonging kinds
user
length
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.)
Granted
Application number
CN201510149734.0A
Other languages
Chinese (zh)
Other versions
CN104836896B (en
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510149734.0A priority Critical patent/CN104836896B/en
Publication of CN104836896A publication Critical patent/CN104836896A/en
Application granted granted Critical
Publication of CN104836896B publication Critical patent/CN104836896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and device for carrying out error correction prompt to a telephone number. The method comprises that a telephone number to be stored or to be called input by a user and the actual length value of the telephone number input by the user are obtained, one or more attributive categories of the telephone number are determined according to the actual length value of the telephone number, for each attributive category in the one or more attributive categories, a feature code is extracted from the telephone number according to the attributive category, the extracted feature code is compared with the feature code of the attributive category, if the feature code being extracted according to each attributive category does not accord with the feature code of the attributive category, error correction prompt is carried to the telephone number. According to the invention, by means of the feature codes of the attributive categories, digital verification is carried out to the feature code of the telephone number input by the user, error correction prompt is carried out to the telephone number which is to be stored or to be called by the user and does not pass the digital verification of the feature code, and wrong storage or dialing caused by negligence or unconsciousness of the user are avoided.

Description

Telephone number is carried out to method and the device of error correcting prompt
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of method and the device that telephone number are carried out to error correcting prompt.
Background technology
The development that smart mobile phone has driven mobile phone to apply, after traditional cell phone address book develops into smart mobile phone application, enhance the convenience of cell phone address book retrieval, backup, editor greatly, intelligent address list can the information such as real-time identification number attribution, operator, and these information carries out number error correction for user when memory mobile phone number (or telephone number) and identification provides condition.
But user or may be not intended to cause the telephone number error storing or dial due to carelessness, prior art is only at dialing phase, by the phone number of input and address list, telephone number in message registration or note record contrasts, Record Comparison result, and the deviation range (if deviation range is 0-3) of comparing result is set, when Entering Number with the digital deflection of number storing within 0-3, the number storing that what default user may be searched is in mobile phone, the number storing of hit is provided as a reference at number incoming page, but its number still not storing user or dial itself carries out error correction.
Summary of the invention
In view of the above problems, propose the present invention in case provide a kind of overcome the problems referred to above or solve the problem at least in part the method for error correcting prompt and corresponding device telephone number being carried out to error correcting prompt are carried out to telephone number.
According to an aspect of the present invention, provide a kind of method of telephone number being carried out to error correcting prompt, it comprises:
Obtain the actual (tube) length angle value of the telephone number to be stored or to be dialed of user's input and the telephone number of user's input;
According to one or more belonging kinds of the actual (tube) length angle value determination telephone number of telephone number;
For each belonging kinds of one or more belonging kinds, from telephone number, extract condition code according to belonging kinds, the condition code of extraction and the condition code of this belonging kinds are compared;
If the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, then error correcting prompt is carried out to telephone number.
Alternatively, before one or more belonging kinds of the actual (tube) length angle value determination telephone number according to telephone number, method also comprises:
The length estimating telephone number obtains estimating length value, judges actual (tube) length angle value that user inputs telephone number and whether estimate length value consistent, if actual (tube) length angle value is with to estimate length value inconsistent, then carries out error correcting prompt to telephone number;
One or more belonging kinds according to the actual (tube) length angle value determination telephone number of telephone number are further: if actual (tube) length angle value is with to estimate length value consistent, then according to one or more belonging kinds of the actual (tube) length angle value determination telephone number of telephone number.
Alternatively, the length estimating telephone number obtains estimating length value and is further: according to information of home location and/or operator's checking number of telephone number, the length estimating telephone number obtains estimating length value.
Alternatively, method also comprises: based on a large amount of telephone number sample, sets up the category feature storehouse of telephone number in advance;
Category feature stores classification information in storehouse in units of category data structures, and each category data structures at least comprises following information: category feature ID and/or item name, class number length value, condition code and condition code positional information.
Alternatively, what each category data structures also comprised in following information is one or more: feature name, modification time, entry time and extended field.
Alternatively, one or more belonging kinds according to the actual (tube) length angle value determination telephone number of telephone number are further: compared by the class number length value of all categories data structure in actual (tube) length angle value and category feature storehouse, obtain one or more category data structures that comparison is consistent, the category feature ID of one or more category data structures and/or item name indicate one or more belonging kinds of telephone number;
For each belonging kinds of one or more belonging kinds, from telephone number, condition code is extracted according to belonging kinds, the condition code of extraction and the condition code of this belonging kinds are compared and is further: for each belonging kinds of one or more belonging kinds, obtain the condition code positional information of category data structures corresponding to belonging kinds, according to condition code positional information, extract condition code from the relevant position of telephone number, the condition code of extraction and the condition code of this belonging kinds are compared.
Alternatively, condition code is the network identification mark of telephone number.
Alternatively, before the actual (tube) length angle value of telephone number obtaining user's input, method also comprises: the number storing of telephone number and user and universal number are mated;
The actual (tube) length angle value of telephone number obtaining user's input is further: if the number storing of telephone number and user and universal number all do not mate, then obtain the actual (tube) length angle value of the telephone number that user inputs.
Alternatively, number storing comprises: the telephone number recorded in the address list of user, note record and/or message registration;
Universal number comprises: merchant telephone number, mechanism's telephone number and/or WorkPhone number.
According to a further aspect in the invention, provide a kind of device telephone number being carried out to error correcting prompt, it comprises:
Acquisition module, is suitable for the actual (tube) length angle value obtaining the telephone number to be stored or to be dialed of user's input and the telephone number of user's input;
Classifying module, is suitable for one or more belonging kinds of the actual (tube) length angle value determination telephone number according to telephone number;
Comparing module, is suitable for each belonging kinds for one or more belonging kinds, extracts condition code according to belonging kinds from telephone number, the condition code of extraction and the condition code of this belonging kinds is compared;
Reminding module, is suitable for, when the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, carrying out error correcting prompt to telephone number.
Alternatively, device also comprises:
Estimate module, the length being suitable for estimating telephone number obtains estimating length value;
Judge module, is suitable for judging actual (tube) length angle value that user inputs telephone number and whether estimate length value consistent;
Reminding module is further adapted for: when actual (tube) length angle value with estimate length value inconsistent, error correcting prompt is carried out to telephone number;
Classifying module is further adapted for: when actual (tube) length angle value is consistent with estimating length value, according to one or more belonging kinds of the actual (tube) length angle value determination telephone number of telephone number.
Alternatively, estimate module and be further adapted for: according to information of home location and/or operator's checking number of telephone number, the length estimating telephone number obtains estimating length value.
Alternatively, device also comprises: category feature storehouse;
Category feature stores classification information in storehouse in units of category data structures, and each category data structures at least comprises following information: category feature ID and/or item name, class number length value, condition code and condition code positional information.
Alternatively, what each category data structures also comprised in following information is one or more: feature name, modification time, entry time and extended field.
Alternatively, classifying module is further adapted for: compared by the class number length value of all categories data structure in actual (tube) length angle value and category feature storehouse, obtain one or more category data structures that comparison is consistent, the category feature ID of one or more category data structures and/or item name indicate one or more belonging kinds of telephone number;
Comparing module is further adapted for: for each belonging kinds of one or more belonging kinds, obtain the condition code positional information of category data structures corresponding to belonging kinds, according to condition code positional information, extract condition code from the relevant position of telephone number, the condition code of extraction and the condition code of this belonging kinds are compared.
Alternatively, condition code is the network identification mark of telephone number.
Alternatively, device also comprises: matching module, is suitable for the number storing of telephone number and user and universal number to mate;
Acquisition module is further adapted for: under the number storing and all unmatched situation of universal number of telephone number and user, obtains the actual (tube) length angle value of the telephone number of user's input.
Alternatively, number storing comprises: the telephone number recorded in the address list of user, note record and/or message registration;
Universal number comprises: merchant telephone number, mechanism's telephone number and/or WorkPhone number.
According to scheme provided by the invention, by determining the belonging kinds of telephone number, the condition code of belonging kinds is utilized to carry out the digital verification of condition code to the telephone number that user inputs, to not carrying out error correcting prompt by the telephone number that the user of the digital verification of condition code is to be stored or to be dialed, compensate for user because of carelessness or be not intended to the storage that causes or dial mistake, and strengthen cell phone address book at the intelligent mechanism storing link.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the flow chart of the method for according to an embodiment of the invention telephone number being carried out to error correcting prompt;
Fig. 2 shows the flow chart of the method for in accordance with another embodiment of the present invention telephone number being carried out to error correcting prompt;
Fig. 3 shows the structured flowchart of the device according to an embodiment of the invention telephone number being carried out to error correcting prompt;
Fig. 4 shows the structured flowchart of the device according to an embodiment of the invention telephone number being carried out to error correcting prompt.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the flow chart of the method for according to an embodiment of the invention telephone number being carried out to error correcting prompt.As shown in Figure 1, the method comprises the following steps:
Step S100, obtains the actual (tube) length angle value of the telephone number to be stored or to be dialed of user's input and the telephone number of user's input.
Step S101, according to one or more belonging kinds of the actual (tube) length angle value determination telephone number of telephone number.
The belonging kinds of telephone number comprises: Mobile Directory Number, fixed telephone number, service number.Generally, the figure place of Mobile Directory Number, fixed telephone number is 11, and the figure place of service number is 3 or 5, therefore, when the belonging kinds of the length value determination telephone number according to telephone number, a telephone number may belong to and one or more classification.
Step S102, for each belonging kinds of one or more belonging kinds, extracts condition code according to belonging kinds from telephone number, the condition code of extraction and the condition code of this belonging kinds is compared.
Alternatively, condition code is the network identification mark of telephone number, each belonging kinds has corresponding condition code, from the telephone number that user inputs, the condition code of this telephone number is extracted according to belonging kinds, by the condition code of extraction and the condition code of this belonging kinds are compared, judge whether the condition code extracted hits the condition code of this belonging kinds, to determine that whether telephone number is correct, thus determine whether to need to carry out error correcting prompt to telephone number.
Step S103, if the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, then carries out error correcting prompt to telephone number.
When the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, illustrate that the telephone number that user inputs is wrong, error correcting prompt can be carried out to telephone number, make user according to error correcting prompt, telephone number can be revised.
According to the method that the above embodiment of the present invention provides, by determining the belonging kinds of telephone number, the condition code of belonging kinds is utilized to carry out the digital verification of condition code to the telephone number that user inputs, to not carrying out error correcting prompt by the telephone number that the user of the digital verification of condition code is to be stored or to be dialed, compensate for user because of carelessness or be not intended to the storage that causes or dial mistake, and strengthen cell phone address book at the intelligent mechanism storing link.
Fig. 2 shows the flow chart of the method for in accordance with another embodiment of the present invention telephone number being carried out to error correcting prompt.As shown in Figure 2, the method comprises the following steps:
Step S200, based on a large amount of telephone number sample, sets up the category feature storehouse of telephone number in advance.
After a large amount of telephone number sample is analyzed, telephone number can be divided into different classifications, to be divided into Mobile Directory Number, fixed telephone number, service number three class, set up the category feature storehouse of telephone number according to these three kinds of classification.
Particularly, category feature stores classification information in storehouse in units of category data structures, and each category data structures at least comprises following information: category feature ID and/or item name, class number length value, condition code and condition code positional information.Wherein, class number length value represents the figure place of the telephone number in this classification, and such as, the telephone number of Mobile Directory Number class is 11, as 13659856842; The telephone number of fixed telephone number class is 8 or 7, as 65895695; The telephone number of service number class is 3 or 5, as 114,95533 etc.Condition code represents the Virtual network operator belonging to telephone number, and particularly, condition code is the network identification mark of telephone number, and such as 134 is the network No. of China Mobile's digital mobile telephone network, and 133 is the network No. of China Linked Network Communication Group Co., Ltd.Condition code positional information shows which position of telephone number or which position are condition code, and for 13659856842, the condition code positional information of this telephone number is the front three of this number, namely 136.
Alternatively, what each category data structures also comprised in following information is one or more: feature name, modification time, entry time and extended field.
Step S201, obtains the telephone number to be stored or to be dialed of user's input.
Step S202, judge that whether telephone number mates with the number storing of user and universal number, if the number storing of telephone number and user and universal number all do not mate, then perform step S203, if the number storing of telephone number and user or universal number mate, then method terminates.
Usually, number storing comprises: the telephone number recorded in the address list of user, note record and/or message registration.Universal number comprises: merchant telephone number, mechanism's telephone number and/or WorkPhone number.
The number storing of user and universal number are correct number, in order to the error correction reduced the telephone number to be stored or to be dialed of user's input carries out detects, reduce workload, first the number storing of user and universal number is utilized to filter the telephone number that user inputs, mate by the number storing of telephone number and user and universal number, if the number storing of telephone number and user or universal number mate, then show that this telephone number is correct number, without the need to carrying out error correction detection to this telephone number; If the number storing of telephone number and user and universal number all do not mate, show that needs carry out further error correction detection to this phone.
Step S203, obtains the actual (tube) length angle value of the telephone number of user's input.
The situation that number length is not enough or exceed may be there is in the telephone number neglected due to user or be not intended to cause user manually to input, but user does not recognize that the telephone number that it inputs exists mistake, the actual (tube) length angle value of the telephone number that user therefore can be utilized to input judges whether the telephone number of user's input exists mistake.Under the number storing and all unmatched situation of universal number of telephone number and user, obtain the actual (tube) length angle value of the telephone number of user's input.
Step S204, the length estimating telephone number obtains estimating length value.
Particularly, according to information of home location and/or operator's checking number of telephone number, the length estimating telephone number obtains estimating length value.For the Mobile Directory Number of 11, the front 3 bit representation operator identifying codes of Mobile Directory Number, 4-7 bit representation information of home location, after the telephone number getting user's input, first 3 that extract the telephone number of user's input, if judge, front 3 item codes are the network No. of China Mobile's digital mobile telephone network, then the length estimating telephone number is 11.
Step S205, judges actual (tube) length angle value that user inputs telephone number and whether estimate length value consistent, if actual (tube) length angle value is with to estimate length value inconsistent, then performs step S209; If actual (tube) length angle value is with to estimate length value consistent, then perform step S206.
The actual (tube) length angle value that the user obtained in the telephone number length value estimated in this step and step S203 inputs telephone number is compared, if actual (tube) length angle value is with to estimate length value inconsistent, then can carry out error correcting prompt, point out this telephone number error to user; If actual (tube) length angle value with to estimate length value consistent, then need to input telephone number to user and carries out further error correction detection.Solve in prior art when the number length of telephone number is not enough or exceed, intelligent address list only verifies its ownership place and operator, and carries out telephone number figure place not to the defect of prompting.
Step S206, compares the class number length value of all categories data structure in actual (tube) length angle value and category feature storehouse, obtains one or more category data structures that comparison is consistent.
Wherein, the category feature ID of one or more category data structures and/or one or more belonging kinds of item name sign telephone number.When the actual (tube) length angle value that user inputs telephone number is consistent with estimating length value, the actual (tube) length angle value and the class number length value that user are inputted telephone number are compared, and obtain and user inputs the category data structures of the consistent telephone number of the actual (tube) length angle value of telephone number.According to the category feature ID of category data structures and/or one or more belonging kinds of item name determination telephone number.
Step S207, for each belonging kinds of one or more belonging kinds, obtains the condition code positional information of category data structures corresponding to belonging kinds, according to condition code positional information, extracts condition code from the relevant position of telephone number.
Step S208, judges whether the condition code extracted hits the condition code of this belonging kinds, if the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, then performs step S209; If the condition code extracted according to each belonging kinds hits the condition code of this belonging kinds, then method terminates.
For each belonging kinds, corresponding condition code positional information is obtained from the category feature storehouse set up in advance, this condition code positional information indicates the condition code position of telephone number in each belonging kinds, according to condition code positional information, the condition code of this telephone number is extracted from the relevant position of the telephone number of user's input, the condition code of this belonging kinds stored in the condition code of extraction and category feature storehouse is compared, if the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, then show the telephone number error that user inputs, if the condition code extracted according to each belonging kinds hits the condition code of this belonging kinds, then show that the telephone number that user inputs is correct.
Step S209, carries out error correcting prompt to telephone number.
When the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, illustrate that the telephone number that user inputs is wrong, error correcting prompt can be carried out to telephone number, make user according to error correcting prompt, telephone number can be revised.
Be described further below by the concrete scheme of example to the present embodiment:
In step s 200, based on a large amount of telephone number sample, set up the category feature storehouse of telephone number in advance, table 1 is telephone number category feature storehouse signal table, illustrated therein is the information that a category data structures comprises.
Table 1 telephone number category feature storehouse
Field name Type Constraint Remarks
Group_id Int(11) Index Category feature ID
CA_name Varchar(255) Item name
CA_num Int(15) Class number length value
Char_name Varchar(255) Feature name
Char_num Int(15) Condition code
Loca_num Int(15) Condition code positional information
Mod_time timestamp Modification time
Reg_time Datetime Entry time
Ext Tinyint(4) Extended field
In step s 201, obtain the telephone number to be dialed of user's input, obtaining user's telephone number to be dialed is: 14059483725.
In step S202, by telephone number: 14059483725 mate with the number storing of user and universal number, telephone number detected: 14059483725 all do not mate with the number storing of user and universal number.
In step S203, obtain the actual (tube) length angle value of the telephone number of user's input, the actual (tube) length angle value obtaining this telephone number is 11.
In step S204, the length value of estimating that the length estimating telephone number obtains telephone number is 11, by judging to obtain actual (tube) length angle value that user inputs telephone number and to estimate length value consistent.
In step S206, the class number length value of all categories data structure in actual (tube) length angle value and category feature storehouse is compared, obtain a category data structures, the belonging kinds according to category feature ID and/or item name determination telephone number is Mobile Directory Number.
In step S207, obtain the condition code positional information of category data structures corresponding to Mobile Directory Number, first 3 of telephone number, extract telephone number: before 14059483725,3 item codes are as the condition code that is 140 of telephone number, condition code by extracting: 140 compare with the condition code of this belonging kinds, wherein, the condition code of Mobile Directory Number can be: 131,132,133,134,135,136 etc., obtains the condition code of telephone number and the condition code of miss Mobile Directory Number by comparison.
In step S208, to telephone number: 14059483725 carry out error correcting prompt, this telephone number error of prompting user.
According to the method that the above embodiment of the present invention provides, by the number storing of telephone number and user and universal number being mated, the error correction that can reduce the telephone number to be stored or to be dialed of user's input carries out detects, and reduces workload; The length estimating telephone number obtains estimating length value, judge actual (tube) length angle value that user inputs telephone number and whether estimate length value consistent, numerical digit checking is carried out to telephone number, solves user because of carelessness or be not intended to cause telephone number to exist number length is not enough or exceed defect; By determining the belonging kinds of telephone number, the condition code of belonging kinds is utilized to carry out the digital verification of condition code to the telephone number that user inputs, to not carrying out error correcting prompt by the telephone number that the user of the digital verification of condition code is to be stored or to be dialed, compensate for user because of carelessness or be not intended to the storage that causes or dial mistake, and strengthen cell phone address book at the intelligent mechanism storing link.
Fig. 3 shows the structured flowchart of the device according to an embodiment of the invention telephone number being carried out to error correcting prompt.As shown in Figure 3, this device comprises: acquisition module 300, classifying module 301, comparing module 302, reminding module 303.
Acquisition module 300, is suitable for the actual (tube) length angle value obtaining the telephone number to be stored or to be dialed of user's input and the telephone number of user's input.
Classifying module 301, is suitable for one or more belonging kinds of the actual (tube) length angle value determination telephone number according to telephone number.
Comparing module 302, is suitable for each belonging kinds for one or more belonging kinds, extracts condition code according to belonging kinds from telephone number, the condition code of extraction and the condition code of this belonging kinds is compared.
Reminding module 303, is suitable for, when the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, carrying out error correcting prompt to telephone number.
According to the device that the above embodiment of the present invention provides, by determining the belonging kinds of telephone number, the condition code of belonging kinds is utilized to carry out the digital verification of condition code to the telephone number that user inputs, to not carrying out error correcting prompt by the telephone number that the user of the digital verification of condition code is to be stored or to be dialed, compensate for user because of carelessness or be not intended to the storage that causes or dial mistake, and strengthen cell phone address book at the intelligent mechanism storing link.
Fig. 4 shows the structured flowchart of the device in accordance with another embodiment of the present invention telephone number being carried out to error correcting prompt.As shown in Figure 4, this device comprises: category feature storehouse 400, acquisition module 401, matching module 402, estimate module 403, judge module 404, classifying module 405, comparing module 406, reminding module 407.
In units of category data structures, store classification information in category feature storehouse 400, each category data structures at least comprises following information: category feature ID and/or item name, class number length value, condition code and condition code positional information.Wherein, condition code is the network identification mark of telephone number.Alternatively, what each category data structures also comprised in following information is one or more: feature name, modification time, entry time and extended field.
Acquisition module 401, is suitable for the telephone number to be stored or to be dialed obtaining user's input.
Matching module 402, is suitable for the number storing of telephone number and user and universal number to mate.Number storing comprises: the telephone number recorded in the address list of user, note record and/or message registration;
Universal number comprises: merchant telephone number, mechanism's telephone number and/or WorkPhone number.
The number storing of user and universal number are correct number, in order to the error correction reduced the telephone number to be stored or to be dialed of user's input carries out detects, reduce workload, first the number storing of user and universal number is utilized to filter the telephone number that user inputs, mate by the number storing of telephone number and user and universal number, if the number storing of telephone number and user or universal number mate, then show that this telephone number is correct number, without the need to carrying out error correction detection to this telephone number; If the number storing of telephone number and user and universal number all do not mate, show that needs carry out further error correction detection to this phone.
Acquisition module 401 is further adapted for: under the number storing and all unmatched situation of universal number of telephone number and user, obtains the actual (tube) length angle value of the telephone number of user's input.
The situation that number length is not enough or exceed may be there is in the telephone number neglected due to user or be not intended to cause user manually to input, but user does not recognize that the telephone number that it inputs exists mistake, the actual (tube) length angle value of the telephone number that user therefore can be utilized to input judges whether the telephone number of user's input exists mistake.Under the number storing and all unmatched situation of universal number of telephone number and user, obtain the actual (tube) length angle value of the telephone number of user's input.
Estimate module 403, the length being suitable for estimating telephone number obtains estimating length value.
Alternatively, estimate module 403 and be further adapted for: according to information of home location and/or operator's checking number of telephone number, the length estimating telephone number obtains estimating length value.
Judge module 404, is suitable for judging actual (tube) length angle value that user inputs telephone number and whether estimate length value consistent.
Reminding module 407 is suitable for: when actual (tube) length angle value with estimate length value inconsistent, error correcting prompt is carried out to telephone number;
Classifying module 405 is suitable for: when actual (tube) length angle value is consistent with estimating length value, according to one or more belonging kinds of the actual (tube) length angle value determination telephone number of telephone number.
Classifying module 405 is further adapted for: compared by the class number length value of all categories data structure in actual (tube) length angle value and category feature storehouse, obtain one or more category data structures that comparison is consistent, the category feature ID of one or more category data structures and/or item name indicate one or more belonging kinds of telephone number;
Comparing module 406 is suitable for: for each belonging kinds of one or more belonging kinds, obtain the condition code positional information of category data structures corresponding to belonging kinds, according to condition code positional information, extract condition code from the relevant position of telephone number, the condition code of extraction and the condition code of this belonging kinds are compared.
For each belonging kinds, corresponding condition code positional information is obtained from the category feature storehouse set up in advance, this condition code positional information indicates the condition code position of telephone number in each belonging kinds, according to condition code positional information, the condition code of this telephone number is extracted from the relevant position of the telephone number of user's input, the condition code of this belonging kinds stored in the condition code of extraction and category feature storehouse is compared, if the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, then show the telephone number error that user inputs, if the condition code extracted according to each belonging kinds hits the condition code of this belonging kinds, then show that the telephone number that user inputs is correct.
Reminding module 407, is suitable for, when the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, carrying out error correcting prompt to telephone number.
When the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, illustrate that the telephone number that user inputs is wrong, error correcting prompt can be carried out to telephone number, make user according to error correcting prompt, telephone number can be revised.
According to the device that the above embodiment of the present invention provides, by the number storing of telephone number and user and universal number being mated, the error correction that can reduce the telephone number to be stored or to be dialed of user's input carries out detects, and reduces workload; The length estimating telephone number obtains estimating length value, judge actual (tube) length angle value that user inputs telephone number and whether estimate length value consistent, numerical digit checking is carried out to telephone number, solves user because of carelessness or be not intended to cause telephone number to exist number length is not enough or exceed defect; By determining the belonging kinds of telephone number, the condition code of belonging kinds is utilized to carry out the digital verification of condition code to the telephone number that user inputs, to not carrying out error correcting prompt by the telephone number that the user of the digital verification of condition code is to be stored or to be dialed, compensate for user because of carelessness or be not intended to the storage that causes or dial mistake, and strengthen cell phone address book at the intelligent mechanism storing link.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of telephone number being carried out to the some or all parts in the equipment of error correcting prompt that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (10)

1. telephone number is carried out to a method for error correcting prompt, it comprises:
Obtain the actual (tube) length angle value of the telephone number to be stored or to be dialed of user's input and the described telephone number of user's input;
One or more belonging kinds of described telephone number are determined according to the actual (tube) length angle value of described telephone number;
For each belonging kinds of described one or more belonging kinds, from described telephone number, extract condition code according to belonging kinds, the condition code of extraction and the condition code of this belonging kinds are compared;
If the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, then error correcting prompt is carried out to described telephone number.
2. method according to claim 1, wherein, before the described actual (tube) length angle value according to described telephone number determines one or more belonging kinds of described telephone number, described method also comprises:
The length estimating described telephone number obtains estimating length value, judge actual (tube) length angle value that user inputs described telephone number and whether described to estimate length value consistent, if described actual (tube) length angle value and described to estimate length value inconsistent, then error correcting prompt is carried out to described telephone number;
The described actual (tube) length angle value according to described telephone number determines that one or more belonging kinds of described telephone number are further: if described actual (tube) length angle value is with described to estimate length value consistent, then determine one or more belonging kinds of described telephone number according to the actual (tube) length angle value of described telephone number.
3. the method according to any one of claim 1-2, wherein, the described length estimating described telephone number obtains estimating length value: according to information of home location and/or operator's checking number of described telephone number, the length estimating described telephone number obtains estimating length value.
4. the method according to any one of claim 1-3, wherein, described method also comprises: based on a large amount of telephone number sample, sets up the category feature storehouse of telephone number in advance;
In units of category data structures, store classification information in described category feature storehouse, each category data structures at least comprises following information: category feature ID and/or item name, class number length value, condition code and condition code positional information.
5. the method according to any one of claim 1-4, wherein, it is one or more that each category data structures described also comprises in following information: feature name, modification time, entry time and extended field.
6. the method according to any one of claim 1-5, wherein:
The described actual (tube) length angle value according to described telephone number determines that one or more belonging kinds of described telephone number are further: compared by the class number length value of all categories data structure in described actual (tube) length angle value and described category feature storehouse, obtain one or more category data structures that comparison is consistent, the category feature ID of described one or more category data structures and/or item name indicate one or more belonging kinds of described telephone number;
Described each belonging kinds for described one or more belonging kinds, from described telephone number, condition code is extracted according to belonging kinds, the condition code of extraction and the condition code of this belonging kinds are compared and is further: for each belonging kinds of described one or more belonging kinds, obtain the condition code positional information of category data structures corresponding to described belonging kinds, according to described condition code positional information, extract condition code from the relevant position of described telephone number, the condition code of extraction and the condition code of this belonging kinds are compared.
7. the method according to any one of claim 1-6, described condition code is the network identification mark of telephone number.
8. the method according to any one of claim 1-7, wherein, before the actual (tube) length angle value of the described telephone number of described acquisition user input, described method also comprises: the number storing of described telephone number and user and universal number are mated;
The actual (tube) length angle value of described telephone number of described acquisition user input is further: if the number storing of described telephone number and user and universal number all do not mate, then obtain the actual (tube) length angle value of the described telephone number that user inputs.
9. the method according to any one of claim 1-8, wherein, described number storing comprises: the telephone number recorded in the address list of user, note record and/or message registration;
Described universal number comprises: merchant telephone number, mechanism's telephone number and/or WorkPhone number.
10. telephone number is carried out to a device for error correcting prompt, it comprises:
Acquisition module, is suitable for the actual (tube) length angle value obtaining the telephone number to be stored or to be dialed of user's input and the described telephone number of user's input;
Classifying module, is suitable for the one or more belonging kinds determining described telephone number according to the actual (tube) length angle value of described telephone number;
Comparing module, is suitable for, for each belonging kinds of described one or more belonging kinds, extracting condition code according to belonging kinds from described telephone number, the condition code of extraction and the condition code of this belonging kinds is compared;
Reminding module, is suitable for, when the condition code extracted according to each belonging kinds does not hit the condition code of this belonging kinds, carrying out error correcting prompt to described telephone number.
CN201510149734.0A 2015-03-31 2015-03-31 Telephone number is carried out method and the device of error correcting prompt Active CN104836896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510149734.0A CN104836896B (en) 2015-03-31 2015-03-31 Telephone number is carried out method and the device of error correcting prompt

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510149734.0A CN104836896B (en) 2015-03-31 2015-03-31 Telephone number is carried out method and the device of error correcting prompt

Publications (2)

Publication Number Publication Date
CN104836896A true CN104836896A (en) 2015-08-12
CN104836896B CN104836896B (en) 2016-06-29

Family

ID=53814521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510149734.0A Active CN104836896B (en) 2015-03-31 2015-03-31 Telephone number is carried out method and the device of error correcting prompt

Country Status (1)

Country Link
CN (1) CN104836896B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902056A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Method and device for storing phone number, and mobile communication terminal
CN105260440A (en) * 2015-09-30 2016-01-20 北京奇虎科技有限公司 Phone number identification method and apparatus
CN105847508A (en) * 2016-03-16 2016-08-10 北京羽乐创新科技有限公司 Storage method, recognition method and device of telephone numbers
CN106921776A (en) * 2015-12-24 2017-07-04 北京四维图新科技股份有限公司 The optimization method and device of telephone number in a kind of point of interest POI data
CN107666533A (en) * 2016-07-29 2018-02-06 北京搜狗科技发展有限公司 A kind of number error correction method and device
CN108494979A (en) * 2018-03-28 2018-09-04 广东佳米科技有限公司 A kind of network-based speech communication and system
CN109712616A (en) * 2018-11-29 2019-05-03 平安科技(深圳)有限公司 Telephone number error correction method, device and computer equipment based on data processing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0346442A (en) * 1989-07-13 1991-02-27 Nec Corp Number correction and redialing system for telephone set
CN101600181A (en) * 2009-06-25 2009-12-09 宇龙计算机通信科技(深圳)有限公司 A kind of input error correction method, system and mobile communication terminal of telephone number

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0346442A (en) * 1989-07-13 1991-02-27 Nec Corp Number correction and redialing system for telephone set
CN101600181A (en) * 2009-06-25 2009-12-09 宇龙计算机通信科技(深圳)有限公司 A kind of input error correction method, system and mobile communication terminal of telephone number

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902056A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Method and device for storing phone number, and mobile communication terminal
CN104902056B (en) * 2015-05-28 2018-01-19 广东欧珀移动通信有限公司 A kind of method, apparatus and mobile communication terminal for storing telephone number
CN105260440A (en) * 2015-09-30 2016-01-20 北京奇虎科技有限公司 Phone number identification method and apparatus
CN105260440B (en) * 2015-09-30 2019-03-26 北京奇虎科技有限公司 Identify the method and device of telephone number
CN106921776A (en) * 2015-12-24 2017-07-04 北京四维图新科技股份有限公司 The optimization method and device of telephone number in a kind of point of interest POI data
CN106921776B (en) * 2015-12-24 2020-03-17 北京四维图新科技股份有限公司 Method and device for optimizing telephone number in POI (Point of interest) data
CN105847508A (en) * 2016-03-16 2016-08-10 北京羽乐创新科技有限公司 Storage method, recognition method and device of telephone numbers
CN105847508B (en) * 2016-03-16 2018-09-18 北京羽乐创新科技有限公司 A kind of storage method of telephone number, recognition methods and device
CN107666533A (en) * 2016-07-29 2018-02-06 北京搜狗科技发展有限公司 A kind of number error correction method and device
CN108494979A (en) * 2018-03-28 2018-09-04 广东佳米科技有限公司 A kind of network-based speech communication and system
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

Also Published As

Publication number Publication date
CN104836896B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN104836896B (en) Telephone number is carried out method and the device of error correcting prompt
CN105893084B (en) Version upgrading method and terminal device
CN102279749B (en) Method and equipment for merging codes
CN109814524B (en) Vehicle diagnosis method, device and system
CN104270521A (en) Method for processing incoming call number and mobile terminal
CN105117431A (en) Dynamic configuration method and system for external imported data
CN111062013B (en) Account filtering method and device, electronic equipment and machine-readable storage medium
CN102750629B (en) Schedule association method and device
CN105511727A (en) Message processing method and device
CA2503757A1 (en) Method and apparatus for validation and error resolution of configuration data in a private branch exchange switch
CN110389941B (en) Database checking method, device, equipment and storage medium
CN108460271B (en) Terminal identification method and device
CN103164514A (en) Detection device and detection method for data reference relationship
CN105095391A (en) Device and method for identifying organization name by word segmentation program
CN105095464A (en) Method and device for detecting retrieval system
CN107733774B (en) Account number association method and device
CN105117499A (en) File display method and device based on cloud disk
CN107368513B (en) Method and device for updating client database
CN102831172B (en) Method and device for processing data in enterprise patent databank
CN111046388A (en) Method for identifying third-party SDK in application, intelligent terminal and storage medium
CN102083093A (en) Method and device for extracting test data
CN110489416B (en) Information storage method based on data processing and related equipment
CN110334333B (en) Information modification method and related device
CN105553767A (en) Website backdoor file detection method and device
CN115294586A (en) Invoice identification method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220714

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.