CN105162931B - The sorting technique and device of a kind of communicating number - Google Patents

The sorting technique and device of a kind of communicating number Download PDF

Info

Publication number
CN105162931B
CN105162931B CN201510458100.3A CN201510458100A CN105162931B CN 105162931 B CN105162931 B CN 105162931B CN 201510458100 A CN201510458100 A CN 201510458100A CN 105162931 B CN105162931 B CN 105162931B
Authority
CN
China
Prior art keywords
mark word
word
mark
classification
probability
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.)
Active
Application number
CN201510458100.3A
Other languages
Chinese (zh)
Other versions
CN105162931A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510458100.3A priority Critical patent/CN105162931B/en
Publication of CN105162931A publication Critical patent/CN105162931A/en
Application granted granted Critical
Publication of CN105162931B publication Critical patent/CN105162931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure is directed to the sorting technique and device of a kind of communicating number, this method includes:Obtain the number that the corresponding each mark word of destination number and each mark word are labeled;Each mark word is obtained out respectively appears alone in conditional probability in each classification mark word;The number and conditional probability being labeled according to each mark word, calculate each mark word probability of happening in each classification marks word respectively;The target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked into word.The probability of happening of some mark word in classification marks word represents that destination number belongs to the possibility of category mark word, the possibility that the bigger explanation category mark word of the probability of happening of the mark word in classification marks word belongs to the target mark word of destination number is bigger, so the corresponding classification mark word of the maximum probability of happening belongs to the target mark word of destination number.Therefore, the scheme that the disclosure provides accurately can classify destination number.

Description

The sorting technique and device of a kind of communicating number
Technical field
The present invention relates to field of communication technology, more specifically, being related to the sorting technique and device of communicating number.
Background technology
At present, classify to strange telephone number, most common sorting technique is the mark number of statistics mark word Method.First, the mark word for the strange telephone number that different users submits is collected;Then, strange telephone number is counted to be marked All mark words in note;Finally, the most mark word of labeled number is selected in all mark words, and will be labeled time Mark word of the most mark word of number as strange telephone number.
When the mobile phone of user receives the call request of the strange telephone number, mobile phone can show the strange phone number The most mark word of the labeled number of code, so that user can choose whether to answer electricity according to the mark word of the strange telephone number Words, so as to help user to intercept some phones for being not intended to answer, for example, sale call, fraudulent call and intermediary's phone etc..
But since when user and strange telephone number are conversed, user is not probably catching other side Come to a conclusion privately in the case of one's purpose in coming.For example, it is assumed that user has heard the incoming call requests of strange telephone number when feeling blue, User is likely in the case where not making other side's one's purpose in coming clear, which is marked as harassing call, but real On border, which belongs to intermediary's phone, and is not belonging to harassing call.
Therefore, it is not necessarily accurate using classification of the above-mentioned sorting technique to strange telephone number, often there is strange phone The problem of mark word shown in the actual conditions and mobile phone of number is inconsistent.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of sorting technique and device of communicating number, can It is more accurate to classify to unknown phone number.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of sorting technique of communicating number, including:
Obtain the number that the corresponding each mark word of destination number and each mark word are labeled;
Each mark word is obtained out respectively appears alone in conditional probability in each classification mark word;
The number being labeled according to each mark word and the conditional probability, calculate each mark word and exist respectively The probability of happening in each classification mark word;
The target that the maximum corresponding classification mark word of the probability of happening is determined as the destination number is marked into word.
Optionally, the method further includes:
Record determines the from date of the target mark word of the destination number;
Judge whether current date is equal to the sum of the from date and preset number of days;
When the current date is equal to the sum of the from date and the preset number of days, the acquisition target number is triggered The step of number that the corresponding each mark word of code and each mark word are labeled;
When the current date is not equal to the sum of the from date and the preset number of days, it is current to trigger the judgement The step of whether date is equal to the sum of the from date and preset number of days.
Optionally, the method further includes:
When receiving the request of the corresponding mark word of the acquisition destination number of client transmission, determine with it is described The corresponding target mark word of destination number;
The target mark word is sent to the client.
Optionally, the method further includes:
Judge whether the number that each mark word is labeled meets preset condition;
When the number that each mark word is labeled meets preset condition, triggering is described obtain out respectively it is described each Mark word appears alone in the step of conditional probability in each classification mark word;
When the number that each mark word is labeled does not meet the preset condition, the destination number is determined as White list number.
Optionally, the method further includes:
When target mark word is presets mark word, carrier server corresponding with the destination number is determined;
The destination number and the corresponding target mark word of the destination number are sent to the carrier server.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of sorter of communicating number, including:
First acquisition module, for obtaining the corresponding each mark word of destination number and each mark word is labeled Number;
Second acquisition module, appears alone in each classification mark word for obtaining out each mark word respectively Conditional probability;
Computing module, for the number being labeled according to each mark word and the conditional probability, calculates described every A mark word marks the probability of happening in word in each classification respectively;
First determining module, for the maximum corresponding classification mark word of the probability of happening to be determined as the target number The target mark word of code.
Optionally, described device further includes:
Logging modle, the from date of the target mark word of the destination number is determined for recording;
First judgment module, for judging whether current date is equal to the sum of the from date and preset number of days;
First trigger module, for when the current date is equal to the sum of the from date and the preset number of days, Trigger first acquisition module;
Second trigger module, for being not equal to the sum of the from date and the preset number of days in the current date When, trigger first judgment module.
Optionally, described device further includes:
Second determining module, for receiving asking for the corresponding mark word of the acquisition destination number of client transmission When asking, the target mark word corresponding with the destination number is determined;
First sending module, word is marked for sending the target to the client.
Optionally, described device further includes:
Second judgment module, for judging whether the number that each mark word is labeled meets preset condition;
3rd trigger module, when the number for being labeled in each mark word meets preset condition, described in triggering Second acquisition module;
3rd determining module, will when the number for being labeled in each mark word does not meet the preset condition The destination number is determined as white list number.
Optionally, described device further includes:
4th determining module, for when target mark word is presets mark word, determining and the destination number pair The carrier server answered;
First sending module, for sending the destination number and destination number correspondence to the carrier server The target mark word.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of sorter of communicating number, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain the number that the corresponding each mark word of destination number and each mark word are labeled;
It is general to obtain out the condition that each mark word is appeared alone in each classification mark word respectively in the database Rate;
The number being labeled according to each mark word and the conditional probability, calculate each mark word and exist respectively The probability of happening in each classification mark word;
The target that the maximum corresponding classification mark word of the probability of happening is determined as the destination number is marked into word.
The technical scheme provided by this disclosed embodiment can include the following benefits:Getting each mark word quilt After the number and conditional probability of mark, the number and conditional probability that can be labeled according to each mark word calculate each mark Word respectively each classification mark word in the probability of happening.The probability of happening of some mark word in classification marks word represents target Number belongs to the possibility of category mark word, the bigger explanation category mark of the probability of happening of the mark word in classification marks word The possibility that word belongs to the target mark word of destination number is bigger, so the corresponding classification mark word category of the maximum probability of happening Word is marked in the target of destination number.Therefore, the scheme that the disclosure provides accurately can classify unknown phone number.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of the sorting technique of communicating number according to an exemplary embodiment.
Fig. 2 is the flow chart of the sorting technique of another communicating number according to an exemplary embodiment.
Fig. 3 is the flow chart of the sorting technique of another communicating number according to an exemplary embodiment.
Fig. 4 is the flow chart of the sorting technique of another communicating number according to an exemplary embodiment.
Fig. 5 is the flow chart of the sorting technique of another communicating number according to an exemplary embodiment.
Fig. 6 is a kind of schematic diagram of the sorter of communicating number according to an exemplary embodiment.
Fig. 7 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.
Fig. 8 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.
Fig. 9 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.
Figure 10 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.
Figure 11 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.
Figure 12 is a kind of block diagram of the sorter of communicating number according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the sorting technique of communicating number according to an exemplary embodiment, such as Fig. 1 institutes Show, the sorting technique of the communicating number shown in Fig. 1, can be used in server.The classification side for the communicating number that the disclosure provides It is more accurate that method can classify unknown phone number.This method comprises the following steps.
In step s 11, the number that the corresponding each mark word of destination number and each mark word are labeled is obtained.
Wherein, the method that the disclosure provides can be applied in server, and server can be laptop or desk-top Apparatus such as computer.Destination number can be polytype number, for example, destination number can be telephone number, destination number It can also be the account of application software.Certainly, it is not limited to which this, destination number can also be other kinds of number.
The species of mark word has very much, can be pre-set by staff, for example, the species of mark word can include Express delivery mark word, intermediary mark word, harassing and wrecking mark word, swindle mark word, distribution mark word, food delivery mark word and financing mark word Deng.The number that mark word is labeled refers to the number that a mark word is marked, for example, when it is express delivery to mark word, mark The number that word is labeled refers to that express delivery marks word by the number of user annotation.
The corresponding each mark word of destination number can be 1, or multiple.For example, it is assumed that the species of mark word Only three kinds, including express delivery mark word, intermediary's mark word and swindle mark word, then the corresponding each mark word of destination number has It can be solely express delivery mark word, intermediary's mark word or swindle mark word, it is also possible to mark word for express delivery, intermediary marks word and swindleness Deceive at least two in mark word.The number that each mark word is labeled can be 1 time, or repeatedly, for example, it is assumed that mark The species of note word only has three kinds, including express delivery mark word, intermediary's mark word and swindle mark word, and destination number is corresponding each Mark word is only express delivery mark word, then it can be 1 time that express delivery, which marks word by the number of user annotation, or repeatedly.
There is several application scenarios for the disclosure.The first application scenarios is to send and check the number to server in staff Telephone number in code storehouse classify it is specified when, server can obtain the corresponding each mark of telephone number in number storehouse The number that word and each mark word are labeled, and handled, destination number is a telephone number in number storehouse;Second Kind application scenarios are that, when the mobile terminal of user receives the communication request of destination number, mobile terminal can be sent out to server Send the request for the mark word for inquiring about the destination number, server is in the destination number of inquiring about for receiving that mobile terminal send When marking the request of word, server can obtain the corresponding each mark word of destination number in number storehouse and each mark word is marked The number of note, and handled;The third application scenarios is that server regularly obtains number according to instruction set in advance The number that the corresponding each mark word of telephone number and each mark word in storehouse are labeled, and handled, destination number is only It is a telephone number in number storehouse.
For example, it is assumed that the species that word is marked in the number storehouse of server includes express delivery mark word, intermediary's mark word, harassing and wrecking Mark word, swindle mark word, promote mark word, food delivery mark word and financing mark word this seven major class.Destination number 15900000000 correspond to two mark words, the two mark words are that distribution mark word and swindle mark word, wherein, distribution mark Word is crossed 10 times by different user's marks, and swindle mark word is crossed 15 times by different user's marks.Connect in the smart mobile phone of user When receiving the call request of destination number 15900000000, smart mobile phone can send to server and inquire about the destination number The request of 15900000000 mark word, server is in the inquiry destination number for receiving that smart mobile phone send During the request of 15900000000 mark word, server can obtain the corresponding each mark word of destination number in number storehouse and The number that each mark word is labeled, finally, server get the corresponding mark word of destination number 15900000000 to promote Word and swindle mark word are marked, it is 10 times to promote the number that mark word is labeled, and the number that swindle mark word is labeled is 15 times, These information can use after server is got in subsequent step.
In step s 12, each mark word is obtained out respectively appears alone in conditional probability in each classification mark word.
Wherein, classification mark word is finally confirmed as the class of a certain mark word for telephone number in the number storehouse of server Not.For example, it is assumed that one sharing 100 telephone numbers in the number storehouse of server, in this 100 telephone numbers, there are 50 phones The determined classification mark word of number is express delivery classification, and it is intermediary's classification to have the determined classification mark word of 30 telephone numbers, It is swindle classification to have the determined classification mark word of 20 telephone numbers.
In addition, the conditional probability that each mark word is appeared alone in some classification mark word refers to each mark Word ratio occupied in some classification marks word.Each mark word appears alone in the condition in each classification mark word Probability refers to each mark word ratio occupied in each classification marks word.
For example, it is assumed that one sharing 100 telephone numbers in the number storehouse of server, in this 100 telephone numbers, there is 50 A determined classification mark word of telephone number is express delivery classification, and it is intermediary to have the determined classification mark word of 30 telephone numbers Classification, it is swindle classification to have the determined classification mark word of 20 telephone numbers.
Assuming that it is in 50 telephone numbers of express delivery classification, to be marked as the number of express delivery mark word in classification mark word 500 times, the number for being marked as intermediary's mark word is 400 times, and the number for being marked as swindle mark word is 100 times, then fast It is 500/ (500+400+100)=0.5 to pass mark word and appear alone in the conditional probability of express delivery classification, and intermediary marks word and individually goes out The conditional probability of present express delivery classification is 400/ (500+400+100)=0.4, and swindle mark word appears alone in express delivery classification Conditional probability is 100/ (500+400+100)=0.1.
Assuming that it is in 30 telephone numbers of intermediary's classification, to be marked as the number of express delivery mark word in classification mark word 200 times, the number for being marked as intermediary's mark word is 600 times, and the number for being marked as swindle mark word is 200 times, then fast It is 0.2 to pass mark word and appear alone in the conditional probability of intermediary's classification, and intermediary's mark word appears alone in the condition of intermediary's classification Probability is 0.6, and the conditional probability that swindle mark word appears alone in intermediary's classification is 0.2.
Assuming that in 20 telephone numbers of the classification mark word for swindle classification, the number for being marked as express delivery mark word is 100 times, the number for being marked as intermediary's mark word is 200 times, and the number for being marked as swindle mark word is 700 times, then swindleness It is 0.1 to deceive mark word and appear alone in the conditional probability of swindle classification, and swindle mark word appears alone in the condition of intermediary's classification Probability is 0.2, and the conditional probability that swindle mark word appears alone in intermediary's classification is 0.7.
In step s 13, the number and conditional probability being labeled according to each mark word, calculate each mark word and exist respectively The probability of happening in each classification mark word.
Wherein, each mark word refers to the corresponding each mark word of destination number.The corresponding each mark of destination number The probability of happening of the word in some classification marks word refers to that the corresponding each mark word of destination number appears in such at the same time Possibility that Biao Zhu be in word.The probability of happening of the corresponding each mark word of destination number in each classification marks word refers to It is that the corresponding each mark word of destination number appears in the possibility in each classification mark word at the same time.
For example, it is assumed that destination number is 159, the corresponding two marks word of destination number is respectively express delivery mark word with Be situated between mark word, and the number that express delivery mark word is labeled is 2 times, and the number that intermediary's mark word is labeled is 1 time;Assuming that express delivery marks The conditional probability that word is appeared alone in express delivery classification is 0.8, and the condition that intermediary's mark word is appeared alone in express delivery classification is general Rate is 0.2, and the conditional probability that express delivery mark word is appeared alone in intermediary's classification is 0.4, during intermediary's mark word appears alone in Conditional probability in Jie's classification is 0.6.
Therefore, it is=0.8 that express delivery mark word marks the probability of happening of the word in express delivery classification with intermediary2×0.21=0.64 × 0.2=0.128.That is, in express delivery classification, while 2 express deliveries of appearance mark word and 1 intermediary mark the general of word Rate is 0.128.It is=0.4 that express delivery, which marks word and marks the probability of happening of the word in intermediary's classification with intermediary,2×0.61=0.16 × 0.6=0.096.That is, in intermediary's classification, while the probability for 2 express deliveries mark word and 1 intermediary's mark word occur is 0.096。
In the example of the above-mentioned calculating probability of happening it is known that in express delivery classification, while there is 2 express deliveries mark word Probability with 1 intermediary's mark word is 0.128;In intermediary's classification, while there is 2 express deliveries mark word and 1 intermediary's mark The probability of word is 0.096, so relative to intermediary's classification, destination number 159 belongs to the possibility bigger of express delivery classification.
It should be noted that purpose of the time number limiting that mark word is labeled within 2 times is to simplify computing. In actual data, the number that mark word is labeled usually is significantly larger than 2 times, and the number that mark word is labeled may be tens times Or hundreds of times, even more high.
In step S14, the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked Word.
Wherein, after the probability of happening in calculating each mark word and marking word in each classification respectively, server also needs A maximum probability of happening is selected in these probabilities of happening, and the maximum corresponding classification mark word of the probability of happening is true It is set to the target mark word of destination number.
For example, it is assumed that destination number is 159, the corresponding two marks word of destination number is respectively express delivery mark word with Be situated between mark word, marks the probability of happening of the word in express delivery classification moreover, server has calculated express delivery mark word and intermediary and is 0.128, it is=0.096 that express delivery mark word marks the probability of happening of the word in intermediary's classification with intermediary.At this time, by comparing, take Business device judges that express delivery mark word marks probability of happening bigger of the word in express delivery classification with intermediary, so server can be by express delivery Classification is determined as the target mark word of destination number 159.
In addition, in step S14, following three sub-steps can also be included:Step 1: each classification mark is obtained respectively Prior probability of the word in number storehouse;Step 2: calculating, classification marks the probability of happening of word and classification marks word in number storehouse Prior probability product obtain classification mark word destination probability;Step 3: the corresponding classification mark of destination probability by maximum Note word is determined as the target mark word of destination number.Wherein, prior probability of the classification mark word in number storehouse refers to classification Word ratio occupied in number storehouse is marked, classification, which marks prior probability of the word in number storehouse, can also be used as definite target One of factor of target mark word of number.
For example, it is assumed that destination number is 159, the corresponding two marks word of destination number is respectively express delivery mark word with Be situated between mark word, it is assumed that the ratio being marked as in number storehouse occupied by the telephone number of express delivery classification is 4/10, is marked as Ratio occupied by the telephone number of intermediary's classification is 6/10.Server has calculated express delivery mark word and intermediary's mark word exists The probability of happening in express delivery classification is 0.128, the probability of happening of express delivery mark word and intermediary mark word in intermediary's classification for= 0.096.At this time, server can obtain the prior probability of express delivery classification and intermediary's classification in number storehouse, be respectively 4/10 and 6/ 10;Then, the product that server can calculate prior probability of the probability of happening of express delivery classification with express delivery classification in number storehouse is 0.128 × 4/10=0.0512, and it is determined as first object probability, the probability of happening and the intermediary's classification of intermediary's classification by 0.0512 The product of prior probability in number storehouse is 0.096 × 6/10=0.0576, and is determined as the second destination probability by 0.0576; Finally, server can be by the corresponding class of destination probability maximum in 0.0512 and second destination probability 0.0576 of first object probability Not Biao Zhu word be determined as destination number be 159 target mark word, due to the second destination probability 0.0576 be more than first object it is general Rate 0.0512, so 0.0576 corresponding intermediary's classification of the second destination probability can be determined as destination number as 159 by server Target marks word.
In the embodiment shown in fig. 1, after each number for being labeled of mark word and conditional probability is got, Ke Yigen The number and conditional probability being labeled according to each mark word calculate each mark word thing in each classification marks word respectively Part probability.The probability of happening of some mark word in classification marks word represents that destination number belongs to the possibility of category mark word Property, the target that the bigger explanation category mark word of the probability of happening of the mark word in classification marks word belongs to destination number marks word Possibility it is bigger, so the corresponding classification mark word of the maximum probability of happening belongs to the target mark word of destination number.Cause This, the scheme that the disclosure provides accurately can classify unknown phone number.
Fig. 2 is the flow chart of the sorting technique of another communicating number according to an exemplary embodiment, such as Fig. 2 institutes Show, the sorting technique of the communicating number shown in Fig. 2, can be used in server.Fig. 2 is an optional implementation based on Fig. 1 Example, in the embodiment shown in Figure 2, the part identical with the embodiment shown in Fig. 1 may refer to the embodiment intermediary shown in Fig. 1 Continue and explain.Method shown in Fig. 2 comprises the following steps.
In the step s 21, the number that the corresponding each mark word of destination number and each mark word are labeled is obtained.
In step S22, each mark word is obtained out respectively and appears alone in conditional probability in each classification mark word.
In step S23, the number and conditional probability that are labeled according to each mark word, calculate each mark word and exist respectively The probability of happening in each classification mark word.
In step s 24, the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked Word.
In step s 25, record determines the from date of the target mark word of destination number.
Wherein, the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked in server After word, server needs to record the from date of the target for determining destination number mark word, in order to which server can With after a predetermined time period, the target that destination number is redefined further according to newest data marks word.
For example, the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked in server The date of word is on January 1st, 2015, then server will be using on January 1st, 2015 as from date.
In step S26, judge whether current date is equal to the sum of from date and preset number of days.It is equal in current date When the sum of from date and preset number of days, step S21 is triggered;It is not equal to the sum of from date and preset number of days in current date When, trigger step S26.
Wherein, preset number of days is pre-set that staff can set preset number of days according to actual conditions Numerical value.For example, staff has found according to actual conditions, the mesh of destination number was redefined according to newest data every 10 days Mark mark word is optimal, then preset number of days will be set as 10 days by staff.
After server record determines the from date of target mark word of destination number, current date will be monitored Whether it is equal to the sum of from date and preset number of days, when current date is equal to the sum of from date and preset number of days, illustrates Through to when needing to redefine the target mark word of destination number according to newest data, then step will be triggered S21, to redefine the target of destination number mark word;When current date is not equal to the sum of from date and preset number of days, When illustrating not redefine also the target mark word of destination number according to newest data to needs, then step will be triggered Rapid S26, to continue to monitor whether current date is equal to the sum of from date and preset number of days.
Fig. 3 is the flow chart of the sorting technique of another communicating number according to an exemplary embodiment, such as Fig. 3 institutes Show, the sorting technique of the communicating number shown in Fig. 3, can be used in server.Fig. 3 is an optional implementation based on Fig. 1 Example, in the embodiment shown in fig. 3, the part identical with the embodiment shown in Fig. 1 may refer to the embodiment intermediary shown in Fig. 1 Continue and explain.Method shown in Fig. 3 comprises the following steps.
In step S31, the number that the corresponding each mark word of destination number and each mark word are labeled is obtained.
In step s 32, each mark word is obtained out respectively appears alone in conditional probability in each classification mark word.
In step S33, the number and conditional probability that are labeled according to each mark word, calculate each mark word and exist respectively The probability of happening in each classification mark word.
In step S34, the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked Word.
In step s 35, when receiving the request for obtaining the corresponding mark word of destination number of client transmission, determine Go out target mark word corresponding with destination number.
Wherein, the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked in server After word, server can monitor whether to receive the corresponding mark word of acquisition destination number of client transmission.Connect in server Receive client transmission acquisition destination number it is corresponding mark word when, server will determine mesh corresponding with destination number Mark mark word.
In step S36, target mark word is sent to client.
Wherein, after server determines target mark word corresponding with destination number, server will be to client Send target mark word.
For example, it is assumed that destination number is 159, the corresponding two marks word of destination number is respectively express delivery mark word with Be situated between mark word, and server, which has calculated express delivery mark word and intermediary and marks the probability of happening of the word in express delivery classification, is 0.128, it is=0.096 that express delivery mark word marks the probability of happening of the word in intermediary's classification with intermediary.Due to express delivery mark word with The probability of happening of intermediary's mark word in express delivery classification is larger, so express delivery classification is determined as destination number 159 by server Target marks word.At this time, server can monitor whether to receive the corresponding mark word of acquisition destination number of client transmission. When receiving the request for obtaining the corresponding mark word of destination number 159 of client transmission, server will determine and target 159 corresponding target of number mark word is express delivery classification, and target mark word is sent to client for express delivery classification.
Fig. 4 is the flow chart of the sorting technique of another communicating number according to an exemplary embodiment, such as Fig. 4 institutes Show, the sorting technique of the communicating number shown in Fig. 4, can be used in server.Fig. 4 is an optional implementation based on Fig. 1 Example, in the embodiment shown in fig. 4, the part identical with the embodiment shown in Fig. 1 may refer to the embodiment intermediary shown in Fig. 1 Continue and explain.Method shown in Fig. 4 comprises the following steps.
In step S41, the number that the corresponding each mark word of destination number and each mark word are labeled is obtained.
In step S42, judge whether the number that each mark word is labeled meets preset condition.In each mark word quilt When the number of mark meets preset condition, step S43 is triggered.Preset condition is not met in the number that each mark word is labeled When, trigger step S46.
Wherein, preset condition is condition set in advance, the number being labeled for limiting each mark word, preset condition It can be set according to specific need of staff.For example, preset condition can be that the number that each mark word is labeled is equal More than 10 times.
After the number that server obtains that the corresponding each mark word of destination number and each mark word are labeled, service Device judges whether the number that each mark word is labeled meets preset condition.Meet in the number that each mark word is labeled default During condition, illustrate that the number that each mark word is labeled meets the requirement that the corresponding target of definite destination number marks word, then Step S43 is performed, to continue to determine the corresponding target mark word of destination number;Do not met in the number that each mark word is labeled During preset condition, illustrate that the number that each mark word is labeled does not meet wanting for the corresponding target mark word of definite destination number Ask, then server just will not continue to classify to destination number, then perform step S46, destination number is determined as white Name single numbers, white list number refer to the number of no any mark word.
For example, it is assumed that preset condition is all higher than 10 times for the number that each mark word is labeled, destination number 159, and Server has got the number that 159 corresponding two mark words of destination number and the two mark words are labeled, the two Mark word is respectively express delivery mark word and intermediary's mark word, and the number that express delivery mark word is labeled is 20 times, intermediary's mark word quilt The number of mark 22 times.At this time, server can judge whether the number that each mark word is labeled is more than 10 times, can by judgement To learn, the number that each mark word is labeled is all higher than 10 times, so server may proceed to determine that destination number 159 corresponds to Target mark word.
And for example, it is assumed that preset condition is all higher than 10 times for the number that each mark word is labeled, destination number 159, and Server has got the number that 159 corresponding two mark words of destination number and the two mark words are labeled, the two Mark word is respectively express delivery mark word and intermediary's mark word, and the number that express delivery mark word is labeled is 8 times, and intermediary's mark word is marked The number of note 9 times.At this time, server can judge whether each number for being labeled of mark word is more than 10 times, can be with by judgement Learn, the number that each mark word is labeled is respectively less than 10 times, so server can stop determining 159 corresponding mesh of destination number Mark mark word, and destination number is determined as white list number.
In step S43, each mark word is obtained out respectively and appears alone in conditional probability in each classification mark word.
In step S44, the number and conditional probability that are labeled according to each mark word, calculate each mark word and exist respectively The probability of happening in each classification mark word.
In step S45, the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked Word.
In step S46, destination number is determined as white list number.
Fig. 5 is the flow chart of the sorting technique of another communicating number according to an exemplary embodiment, such as Fig. 5 institutes Show, the sorting technique of the communicating number shown in Fig. 5, can be used in server.Fig. 5 is an optional implementation based on Fig. 1 Example, in the embodiment shown in fig. 5, the part identical with the embodiment shown in Fig. 1 may refer to the embodiment intermediary shown in Fig. 1 Continue and explain.Method shown in Fig. 5 comprises the following steps.
In step s 51, the number that the corresponding each mark word of destination number and each mark word are labeled is obtained.
In step S52, each mark word is obtained out respectively and appears alone in conditional probability in each classification mark word.
In step S53, the number and conditional probability that are labeled according to each mark word, calculate each mark word and exist respectively The probability of happening in each classification mark word.
In step S54, the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number is marked Word.
In step S55, when target mark word is presets mark word, carrier service corresponding with destination number is determined Device.
Wherein, it is pre-set mark word to preset mark word, for example, can be set as cheating by default mark word in advance Mark word is deceived, default mark word can also be set as that multiple level marketing marks word in advance.
Server by the maximum corresponding classification mark word of the probability of happening be determined as the target mark word of destination number with Afterwards, server can detect whether target mark word is default mark word.Detect target mark word for default mark in server During word, then server will determine carrier server corresponding with destination number, and by destination number and destination number pair The target mark word answered is sent to the carrier server.The purpose for the arrangement is that mark word for swindle mark word or multiple level marketing Deng mark word, there is certain harmfulness to society, in order to avoid more people are connected to this kind of phone, server can be by this kind of phone Number and mark word are sent to carrier server.When carrier server receives this kind of telephone number and mark word, fortune Battalion's business's server can monitor the dialog context of this kind of telephone number, to assist the police to solve a case.
In step S56, send destination number to carrier server and the corresponding target of destination number marks word.
Fig. 6 is a kind of schematic diagram of the sorter of communicating number according to an exemplary embodiment.The disclosure carries It is more accurate that the sorter of the communicating number of confession can classify unknown phone number.With reference to Fig. 6, which includes the first acquisition module 11st, the second acquisition module 12,13 and first determining module 14 of computing module.Wherein:
First acquisition module 11, time being labeled for obtaining the corresponding each mark word of destination number and each mark word Number.
Second acquisition module 12, bar in each classification mark word is appeared alone in for obtaining out each mark word respectively Part probability.
Computing module 13, for the number and conditional probability being labeled according to each mark word, calculates each mark word point The probability of happening not in each classification marks word.
First determining module 14, for the maximum corresponding classification mark word of the probability of happening to be determined as to the mesh of destination number Mark mark word.
Fig. 7 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.The disclosure It is more accurate that the sorter of the communicating number of offer can classify unknown phone number.With reference to Fig. 7, which includes first and obtains mould Block 21, the second acquisition module 22, computing module 23, the first determining module 24, logging modle 25, the first judgment module 26, first 27 and second trigger module 28 of trigger module.Wherein:
First acquisition module 21, time being labeled for obtaining the corresponding each mark word of destination number and each mark word Number.
Second acquisition module 22, bar in each classification mark word is appeared alone in for obtaining out each mark word respectively Part probability.
Computing module 23, for the number and conditional probability being labeled according to each mark word, calculates each mark word point The probability of happening not in each classification marks word.
First determining module 24, for the maximum corresponding classification mark word of the probability of happening to be determined as to the mesh of destination number Mark mark word.
Logging modle 25, the from date of the target mark word of destination number is determined for recording.
First judgment module 26, for judging whether current date is equal to the sum of from date and preset number of days.
First trigger module 27, for when current date is equal to the sum of from date and preset number of days, triggering first to obtain Modulus block 21.
Second trigger module 28, for when current date is not equal to the sum of from date and preset number of days, triggering first Judgment module 26.
Fig. 8 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.The disclosure It is more accurate that the sorter of the communicating number of offer can classify unknown phone number.With reference to Fig. 8, which includes first and obtains mould Block 31, the second acquisition module 32, computing module 33, the first determining module 34, the second determining module 35 and the first sending module 36. Wherein:
First acquisition module 31, time being labeled for obtaining the corresponding each mark word of destination number and each mark word Number.
Second acquisition module 32, bar in each classification mark word is appeared alone in for obtaining out each mark word respectively Part probability.
Computing module 33, for the number and conditional probability being labeled according to each mark word, calculates each mark word point The probability of happening not in each classification marks word.
First determining module 34, for the maximum corresponding classification mark word of the probability of happening to be determined as to the mesh of destination number Mark mark word.
Second determining module 35, for receiving the request for obtaining the corresponding mark word of destination number of client transmission When, determine target mark word corresponding with destination number.
First sending module 36, for sending target mark word to client.
Fig. 9 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.The disclosure It is more accurate that the sorter of the communicating number of offer can classify unknown phone number.With reference to Fig. 9, which includes first and obtains mould Block 41, the second judgment module 42, the 3rd trigger module 43, the 3rd determining module 44, the second acquisition module 45,46 and of computing module First determining module 47.Wherein:
First acquisition module 41, time being labeled for obtaining the corresponding each mark word of destination number and each mark word Number.
Second judgment module 42, for judging whether the number that each mark word is labeled meets preset condition.
3rd trigger module 43, when the number for being labeled in each mark word meets preset condition, triggering second obtains Modulus block 45.
3rd determining module 44, when the number for being labeled in each mark word does not meet preset condition, by target number Code is determined as white list number.
Second acquisition module 45, bar in each classification mark word is appeared alone in for obtaining out each mark word respectively Part probability.
Computing module 46, for the number and conditional probability being labeled according to each mark word, calculates each mark word point The probability of happening not in each classification marks word.
First determining module 47, for the maximum corresponding classification mark word of the probability of happening to be determined as to the mesh of destination number Mark mark word.
Figure 10 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.The disclosure It is more accurate that the sorter of the communicating number of offer can classify unknown phone number.With reference to Figure 10, which includes first and obtains Module 51, the second acquisition module 52, computing module 53, the first determining module 54, the 4th determining module 55 and the first sending module 56.Wherein:
First acquisition module 51, time being labeled for obtaining the corresponding each mark word of destination number and each mark word Number.
Second acquisition module 52, bar in each classification mark word is appeared alone in for obtaining out each mark word respectively Part probability.
Computing module 53, for the number and conditional probability being labeled according to each mark word, calculates each mark word point The probability of happening not in each classification marks word.
First determining module 54, for the maximum corresponding classification mark word of the probability of happening to be determined as to the mesh of destination number Mark mark word.
4th determining module 55, for when target mark word is presets mark word, determining fortune corresponding with destination number Seek business's server.
First sending module 56, for sending destination number and the corresponding target mark of destination number to carrier server Word.
Figure 11 is the schematic diagram of the sorter of another communicating number according to an exemplary embodiment.The disclosure It is more accurate that the sorter of the communicating number of offer can classify unknown phone number.With reference to Figure 11, which includes processor 61 With the memory 62 for storing 61 executable instruction of processor.Wherein:
Processor 61 is configured as:Obtain time that the corresponding each mark word of destination number and each mark word are labeled Number, obtains out each mark word and appears alone in conditional probability in each classification mark word, according to every respectively in the database The number and conditional probability that a mark word is labeled, it is general to calculate event of each mark word respectively in each classification marks word Rate, word is marked by the target that the maximum corresponding classification mark word of the probability of happening is determined as destination number.
Figure 12 is a kind of block diagram of the sorter 1900 of communicating number according to an exemplary embodiment.For example, Device 1900 may be provided as a server.With reference to Figure 12, device 1900 includes processing component 1922, it further comprises one A or multiple processors, and as the memory resource representated by memory 1932, can be by processing component 1922 for storing The instruction of execution, such as application program.The application program stored in memory 1932 can include one or more every One module for corresponding to one group of instruction.In addition, processing component 1922 is configured as execute instruction, should to perform the above method Method includes:The number that the corresponding each mark word of destination number and each mark word are labeled is obtained, is distinguished in the database Obtain out each mark word and appear alone in conditional probability in each classification mark word, time being labeled according to each mark word Number and conditional probability, calculate each mark word probability of happening in each classification marks word respectively, by the maximum probability of happening Corresponding classification mark word is determined as the target mark word of destination number.
Device 1900 can also include a power supply module 1926 and be configured as the power management of executive device 1900, one Wired or wireless network interface 1950 is configured as device 1900 being connected to network, and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
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.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and including the undocumented common knowledge 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 may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim.

Claims (11)

  1. A kind of 1. sorting technique of communicating number, it is characterised in that including:
    Obtain the number that the corresponding each mark word of destination number and each mark word are labeled;
    Each mark word is obtained out respectively appears alone in conditional probability in each classification mark word, the conditional probability For each mark word ratio occupied in word is marked in each classification;
    The number being labeled according to each mark word and the conditional probability, calculate each mark word respectively described The probability of happening in each classification mark word, the probability of happening for the corresponding each mark word of the destination number at the same time Appear in the possibility in each classification mark word;
    The target that the maximum corresponding classification mark word of the probability of happening is determined as the destination number is marked into word.
  2. 2. the sorting technique of communicating number according to claim 1, it is characterised in that the method further includes:
    Record determines the from date of the target mark word of the destination number;
    Judge whether current date is equal to the sum of the from date and preset number of days;
    When the current date is equal to the sum of the from date and the preset number of days, the acquisition destination number pair is triggered The step of number that each mark word and each mark word answered are labeled;
    When the current date is not equal to the sum of the from date and the preset number of days, the judgement current date is triggered The step of whether being equal to the sum of the from date and preset number of days.
  3. 3. the sorting technique of communicating number according to claim 1, it is characterised in that the method further includes:
    When receiving the request of the corresponding mark word of the acquisition destination number of client transmission, determine and the target The corresponding target mark word of number;
    The target mark word is sent to the client.
  4. 4. the sorting technique of communicating number according to claim 1, it is characterised in that the method further includes:
    Judge whether the number that each mark word is labeled meets preset condition;
    When the number that each mark word is labeled meets preset condition, triggering is described to obtain out each mark respectively Word appears alone in the step of conditional probability in each classification mark word;
    When the number that each mark word is labeled does not meet the preset condition, the destination number is determined as white name Single numbers.
  5. 5. the sorting technique of communicating number according to claim 1, it is characterised in that the method further includes:
    When target mark word is presets mark word, carrier server corresponding with the destination number is determined;
    The destination number and the corresponding target mark word of the destination number are sent to the carrier server.
  6. A kind of 6. sorter of communicating number, it is characterised in that including:
    First acquisition module, time being labeled for obtaining the corresponding each mark word of destination number and each mark word Number;
    Second acquisition module, condition in each classification mark word is appeared alone in for obtaining out each mark word respectively Probability, the conditional probability mark ratio occupied in word for each mark word in each classification;
    Computing module, for the number being labeled according to each mark word and the conditional probability, calculates each mark The probability of happening of the word respectively in each classification mark word is noted, the probability of happening is corresponding described for the destination number Each mark word appears in the possibility in each classification mark word at the same time;
    First determining module, for the maximum corresponding classification mark word of the probability of happening to be determined as the destination number Target marks word.
  7. 7. the sorter of communicating number according to claim 6, it is characterised in that described device further includes:
    Logging modle, the from date of the target mark word of the destination number is determined for recording;
    First judgment module, for judging whether current date is equal to the sum of the from date and preset number of days;
    First trigger module, for when the current date is equal to the sum of the from date and the preset number of days, triggering First acquisition module;
    Second trigger module, for when the current date is not equal to the sum of the from date and the preset number of days, touching Send out the first judgment module described.
  8. 8. the sorter of communicating number according to claim 6, it is characterised in that described device further includes:
    Second determining module, for the request in the corresponding mark word of the acquisition destination number for receiving client transmission When, determine the target mark word corresponding with the destination number;
    First sending module, word is marked for sending the target to the client.
  9. 9. the sorter of communicating number according to claim 6, it is characterised in that described device further includes:
    Second judgment module, for judging whether the number that each mark word is labeled meets preset condition;
    3rd trigger module, when the number for being labeled in each mark word meets preset condition, triggering described second Acquisition module;
    3rd determining module, when the number for being labeled in each mark word does not meet the preset condition, by described in Destination number is determined as white list number.
  10. 10. the sorter of communicating number according to claim 6, it is characterised in that described device further includes:
    4th determining module, for when target mark word is presets mark word, determining corresponding with the destination number Carrier server;
    First sending module, for sending the destination number and the corresponding institute of the destination number to the carrier server State target mark word.
  11. A kind of 11. sorter of communicating number, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Obtain the number that the corresponding each mark word of destination number and each mark word are labeled;
    Obtain out each mark word respectively in the database and appear alone in conditional probability in each classification mark word, institute State conditional probability and mark ratio occupied in word in each classification for each mark word;
    The number being labeled according to each mark word and the conditional probability, calculate each mark word respectively described The probability of happening in each classification mark word, the probability of happening for the corresponding each mark word of the destination number at the same time Appear in the possibility in each classification mark word;
    The target that the maximum corresponding classification mark word of the probability of happening is determined as the destination number is marked into word.
CN201510458100.3A 2015-07-30 2015-07-30 The sorting technique and device of a kind of communicating number Active CN105162931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510458100.3A CN105162931B (en) 2015-07-30 2015-07-30 The sorting technique and device of a kind of communicating number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510458100.3A CN105162931B (en) 2015-07-30 2015-07-30 The sorting technique and device of a kind of communicating number

Publications (2)

Publication Number Publication Date
CN105162931A CN105162931A (en) 2015-12-16
CN105162931B true CN105162931B (en) 2018-04-24

Family

ID=54803681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510458100.3A Active CN105162931B (en) 2015-07-30 2015-07-30 The sorting technique and device of a kind of communicating number

Country Status (1)

Country Link
CN (1) CN105162931B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873908B (en) * 2017-12-04 2020-11-20 ***通信集团湖北有限公司 Junk call identification recognition method and device, computer equipment and storage medium
CN109348038B (en) * 2018-12-24 2022-02-22 努比亚技术有限公司 Incoming call processing method, mobile terminal and computer storage medium
CN111405107B (en) * 2020-03-26 2021-08-06 中移雄安信息通信科技有限公司 Call control method, device, equipment and storage medium
CN112968705B (en) * 2021-02-03 2022-05-31 杭州数梦工场科技有限公司 Number classification method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601782A (en) * 2015-01-09 2015-05-06 深圳市宝尔爱迪科技有限公司 Method and system for preventing crank calls
CN104683537A (en) * 2015-01-28 2015-06-03 北京羽乐创新科技有限公司 Number marking method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2881663B1 (en) * 2005-02-08 2007-03-16 Solystic Sa METHOD FOR PROCESSING POSTAL SHIPMENTS WITH OCR ATTRIBUTE OCCURENCE DETECTION

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601782A (en) * 2015-01-09 2015-05-06 深圳市宝尔爱迪科技有限公司 Method and system for preventing crank calls
CN104683537A (en) * 2015-01-28 2015-06-03 北京羽乐创新科技有限公司 Number marking method and device

Also Published As

Publication number Publication date
CN105162931A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN109284313B (en) Federal modeling method, device and readable storage medium based on semi-supervised learning
CN112417439B (en) Account detection method, device, server and storage medium
CN109684047B (en) Event processing method, device, equipment and computer storage medium
CN111125512B (en) Service recommendation processing method, device and system
US10970641B1 (en) Heuristic context prediction engine
CN110428127B (en) Automatic analysis method, user equipment, storage medium and device
US10922206B2 (en) Systems and methods for determining performance metrics of remote relational databases
CN106113054B (en) Service processing method based on robot
CN105162931B (en) The sorting technique and device of a kind of communicating number
CN110490651B (en) Information pushing method, device, equipment and computer readable storage medium
CN111931189B (en) API interface reuse risk detection method, device and API service system
CN109657107B (en) Terminal matching method and device based on third-party application
US20160036718A1 (en) Network service analytics
CN110515793B (en) System performance monitoring method, device, equipment and storage medium
CN109543891B (en) Method and apparatus for establishing capacity prediction model, and computer-readable storage medium
CN109194689B (en) Abnormal behavior recognition method, device, server and storage medium
CN112801670B (en) Risk assessment method and device for payment operation
CN107862425B (en) Wind control data acquisition method, device and system and readable storage medium
WO2019179030A1 (en) Product purchasing prediction method, server and storage medium
CN109145590A (en) A kind of function hook detection method, detection device and computer-readable medium
CN111815169A (en) Business approval parameter configuration method and device
US20230046813A1 (en) Selecting communication schemes based on machine learning model predictions
CN111224865B (en) User identification method based on payment session, electronic device and storage medium
CN113763057A (en) User identity portrait data processing method and device
US11786156B2 (en) Method and apparatus for use in detecting malingering by a first subject in tests of physical and/or mental function of the first subject

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant