Number identification method and device

By constructing a number relationship diagram and calculating the shortest path length and fluctuation value, the problem of inaccurate number identification in the existing technology is solved, more efficient abnormal number identification is achieved, and the quality of user communication is protected.

CN118764558APending Publication Date: 2024-10-11CHINA MOBILE GROUP SHANDONG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410935730.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively identify and filter inappropriate phone number usage behaviors, resulting in chaotic communication and reduced service quality. How to improve the accuracy and efficiency of number identification and reduce the probability of misjudgment of normal users.

Method used

By constructing a number relationship diagram, calculating the shortest path length between the calling number and the called number, recording the number of calls and fluctuation values ​​exceeding the threshold, and comparing them to determine the anomaly detection results, improving the accuracy of number identification.

Benefits of technology

It improves the accuracy of number identification, reduces the probability of misjudgment of normal users, effectively identifies and filters abnormal numbers, and protects users' call rights.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764558A_ABST
    Figure CN118764558A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a number identification method and device, and the method comprises the steps: firstly constructing a number relation graph based on a calling number and called numbers in a preset time period, and calculating the shortest path length of the calling number and each called number in the number relation graph, recording the number of calls with the shortest path length exceeding a preset threshold value, comparing the number of calls with a preset counting threshold value, calculating a fluctuation value based on the average path length of the current time period and the average path length calculated according to the shortest path length, and comparing the fluctuation value with a preset fluctuation threshold value; and finally, determining an abnormal detection result of the calling number according to a comparison result of the call times and a comparison result of the fluctuation value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of communication technology, and in particular to a number identification method and device. Background Art

[0002] With the continuous development of communication technology, the popularity of communication networks and the increasing frequency of telephone use, the management and use of telephone numbers are facing new challenges. On the one hand, the widespread use of telephone numbers facilitates people's communication. On the other hand, the problem of telephone number abuse has become increasingly prominent, interfering with the normal communication order of users and reducing the quality of communication services. How to identify and filter these inappropriate communication behaviors through technical means, protect the user's call rights and interests, and on this basis improve the accuracy and efficiency of telephone number recognition, and reduce the probability of misjudgment of normal users' communications, has become an important research direction in the current field of communication technology. Summary of the invention

[0003] The purpose of one embodiment of this specification is to provide a number recognition method and device to solve the problem of how to improve the accuracy of number recognition.

[0004] To solve the above technical problems, an embodiment of this specification is implemented as follows:

[0005] In a first aspect, an embodiment of the present specification provides a number identification method, including:

[0006] Building a number relationship graph based on the calling number and the called numbers within a preset time period, and calculating the shortest path lengths between the calling number and each called number in the number relationship graph;

[0007] Recording the number of calls in which the shortest path length exceeds a preset threshold, and comparing the number of calls with a preset counting threshold;

[0008] Calculating a fluctuation value based on an average path length of a current period and an average path length calculated according to the shortest path length, and comparing the fluctuation value with a preset fluctuation threshold;

[0009] The abnormality detection result of the calling number is determined according to the comparison result of the call times and the comparison result of the fluctuation value.

[0010] In a second aspect, another embodiment of the present specification provides a number identification device, including:

[0011] A length calculation module is configured to construct a number relationship diagram based on the calling number and the called numbers within a preset time period, and calculate the shortest path length between the calling number and each called number in the number relationship diagram;

[0012] A number recording module is configured to record the number of calls in which the shortest path length exceeds a preset threshold, and compare the number of calls with a preset counting threshold;

[0013] a fluctuation value calculation module, configured to calculate a fluctuation value based on an average path length in a current period and an average path length calculated according to the shortest path length, and compare the fluctuation value with a preset fluctuation threshold;

[0014] The detection module is configured to determine an abnormal detection result of the calling number according to a comparison result of the call times and a comparison result of the fluctuation value.

[0015] In a third aspect, another embodiment of the present specification provides a number identification device, comprising: a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, wherein the computer executable instructions, when executed by the processor, implement the steps of the number identification method as described in the first aspect above.

[0016] In a fourth aspect, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the number identification method described in the first aspect above are implemented.

[0017] In a fifth aspect, another embodiment of the present specification provides a computer program product, wherein the computer program product includes a number recognition program, and the number recognition program is executed by a processor to implement the steps of the number recognition method as described in the first aspect above.

[0018] The number identification method provided in this embodiment first constructs a number relationship diagram based on the calling number and the called number within a preset time period, calculates the shortest path length between the calling number and each called number in the number relationship diagram, then records the number of calls whose shortest path length exceeds a preset threshold, and compares the number of calls with a preset counting threshold, and calculates a fluctuation value based on the average path length of the current time period and the average path length obtained by calculating the shortest path length, and compares the fluctuation value with a preset fluctuation threshold, and finally determines the abnormal detection result of the calling number based on the comparison result of the number of calls and the comparison result of the fluctuation value, and performs number identification by the above method, thereby improving the number identification accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 A processing flow chart of a number identification method provided for one or more embodiments of this specification;

[0021] Figure 2 A schematic diagram of constructing a number relationship diagram provided in one or more embodiments of this specification;

[0022] Figure 3 A schematic diagram of updating a number relationship diagram provided in one or more embodiments of this specification;

[0023] Figure 4 A processing flow chart of a number identification method applied to a fraudulent number detection scenario provided by one or more embodiments of this specification;

[0024] Figure 5 A schematic diagram of a number identification device provided for one or more embodiments of this specification;

[0025] Figure 6 A schematic diagram of the structure of a number identification device provided in one or more embodiments of this specification. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0027] This specification provides a number identification method embodiment:

[0028] Reference Figure 1 , which shows a processing flow chart of a number identification method provided by this embodiment, referring to Figure 4 , which shows a processing flow chart of a number identification method provided in this embodiment for use in a scenario of identifying a swiping number.

[0029] Reference Figure 1The number identification method provided in this embodiment specifically includes the following steps S102 to S108.

[0030] Step S102: construct a number relationship graph based on the calling number and the called numbers within a preset time period, and calculate the shortest path length between the calling number and each called number in the number relationship graph.

[0031] The number identification method provided in this embodiment, in order to improve the accuracy of identifying abnormal numbers, obtains the call records of the calling number within a preset time period, and constructs a number relationship graph with numbers as nodes and call interaction relationships as edges. In this graph, each node represents a number, and the edge between the nodes indicates that there is a direct call interaction between the two related numbers. By analyzing the number relationship graph, the shortest path length from the calling number to each called number is calculated, that is, how many indirect calls the calling number needs to go through to establish a connection with a specific called number. In this way, a basis is provided for subsequent abnormal detection of the calling number.

[0032] In the specific execution process, before constructing the number relationship graph, it is necessary to obtain the call records of the calling number within a preset time period, extract the calling number and the called number that establishes a call interaction with the calling number from the call records, and detect whether one of the calling number or the called number belongs to a public number. In an optional implementation provided by this embodiment, a number relationship graph is constructed based on the calling number and the called number within the preset time period, and before the shortest path length step between the calling number and each called number in the number relationship graph is calculated, the step includes:

[0033] Obtaining a called number currently establishing a call interaction with the calling number, and detecting whether the calling number or the called number establishing the call interaction belongs to a preset public number set;

[0034] If not, execute the step of constructing a number relationship graph based on the calling number and the called number in the preset time period, and calculating the shortest path length between the calling number and each called number in the number relationship graph.

[0035] The public number set described in this embodiment includes a series of numbers that do not participate in the act of brushing orders, such as public service numbers, service numbers of various banking institutions, and customer service numbers.

[0036] Specifically, by detecting real-time call records, first obtain the calling number and called number of the ongoing call, extract the relevant information of the calling number and called number, and then detect whether these numbers are in the preset public number set. If neither the calling number nor the called number belongs to the public number set, the subsequent number relationship graph construction and the shortest path length calculation will be executed; if either the calling number or the called number belongs to the public number set, the number will not be further analyzed, that is, when the number relationship graph is subsequently constructed, the relevant call interaction relationship of the number will be eliminated to reduce the probability of misjudgment and improve the efficiency and accuracy of number recognition.

[0037] During the specific execution process, after determining that both the calling number and the called number are non-public numbers, in order to further identify the calling number and the called number, a number relationship graph is constructed with the calling number and the called number as nodes. In an optional implementation manner provided by this embodiment, a number relationship graph is constructed based on the calling number and the called number within a preset time period, including:

[0038] Acquire the calling number and the called number with direct call interaction and the called number with indirect call interaction within the preset time period;

[0039] Taking the calling number and the called number as graph nodes, an edge connection is established between the graph nodes of the two numbers having call interaction, and the number relationship graph is obtained.

[0040] In this embodiment, the calling number obtained within the preset time period and the called number with direct call interaction and the called number with indirect call interaction include: the calling number within the preset time period, and / or the called number with direct call interaction with the calling number, and / or the called number with direct call interaction with the number when the called number is used as the calling number. At this time, there is an indirect call interaction between the called number and the calling number.

[0041] The number relationship graph described in this embodiment is a graph data model, in which nodes represent telephone numbers (calling number and called number), and edges represent call interaction relationships between numbers, wherein numbers with direct call interactions are connected by direct edges, and numbers with indirect call interactions are connected by multiple edges.

[0042] Specifically, first obtain the call records within a certain period of time. For each call record, check whether there is a direct call interaction between the calling number and the called number. If so, add an edge between the calling number and the called number in the number relationship graph; if there is no direct call interaction between the calling number and the called number, find out the calling number and the called number that can be indirectly connected through other numbers by analyzing the call records. At this time, the calling number and the called number are connected through a series of intermediate nodes (representing other numbers) in the number relationship graph. In this way, not only the direct call interaction relationship between the numbers is considered, but also the indirect connection between the numbers is considered, thereby improving the accuracy of recognition.

[0043] For example, Figure 2 As shown, calling number A has direct call records with called numbers B, C, D, E, and F within a preset time period, but no direct call record with called number G. However, an indirect connection (ABG) can be established with number G through number B. Therefore, when constructing the number relationship graph, there are direct edge connections between A and B, C, D, E, and F, and an edge connection is established between A and G through the ABG path.

[0044] In a specific execution process, the calling number and the called number within a preset time period are obtained, and a number relationship graph is constructed according to the calling number and the called number. Then, the shortest path length between the calling number and each called number is calculated based on the number relationship graph. In an optional implementation manner provided by this embodiment, the shortest path length between the calling number and each called number in the number relationship graph is calculated, including:

[0045] Determine each path from the calling number to the called number, and calculate the number of edges included in each path as the path length of each path;

[0046] The path lengths of the paths are compared, and the minimum value of the path length is selected as the shortest path length between the calling number and the called number.

[0047] The shortest path length in this embodiment refers to the minimum value of the path lengths of the paths that need to be traversed from a starting node (here referring to the calling number) to another target node (here referring to the called number) in the number relationship diagram.

[0048] Specifically, by obtaining the calling number and the called number within a preset time period, and constructing a number relationship graph according to the calling number and the called number, the paths from the calling number to the called number are determined based on the number relationship graph, and the minimum value of the path length of each path is determined as the shortest path length between the calling number and the called number. It should be noted that whenever a new call interaction is generated, the shortest path length corresponding to this call interaction needs to be calculated and stored, and the storage content is as follows

[0049] As shown in Table 1:

[0050]

[0051]

[0052] Table 1

[0053] For example, Figure 2 As shown, the calling number A has direct call interaction with the called numbers B, C, D, E, and F within the preset time period, so the shortest path length between the calling number A and the called numbers B, C, D, E, and F is 1, while the calling number A has no direct call interaction with the called number J, but can establish an indirect connection (ABGHJ or AFHJ) with the number J through numbers B, G, H or numbers F, H. Therefore, correspondingly, the path length between the calling number A and the called number J is 4 or 3. By comparing the corresponding path lengths of the two paths (4>3), it is determined that the shortest path length between the calling number A and the called number J is 3.

[0054] Step S104, recording the number of calls in which the shortest path length exceeds a preset threshold, and comparing the number of calls with a preset technical threshold.

[0055] After the number relationship graph is constructed based on the calling number and the called number within the preset time period, and the shortest path length between the calling number and each called number in the number relationship graph is calculated, in this step, the number of calls whose shortest path length exceeds the preset threshold is recorded, and the number of calls is compared with the preset technical threshold. The preset threshold refers to a reference value set when identifying abnormal numbers, which is used to determine whether the shortest path length is abnormal.

[0056] Specifically, after obtaining the call records of the calling number within a preset time period, first construct a number relationship diagram to determine the shortest path length from the calling number to each called number. When the shortest path length exceeds the preset threshold, the counter is triggered, that is, the value of the counter increases by 1. The value of the counter is checked regularly (for example, the counter value is checked with the current day as the time node), and the value of the counter is compared with the preset counting threshold. If the value of the counter exceeds the counting threshold, the calling number is marked as an abnormal number, and a subsequent detection process is performed. By comparing the number of calls whose shortest path length exceeds the preset threshold with the preset counting threshold, not only the frequency of the calls is taken into account, but also the nature of the calls, that is, the shortest path length, thereby reducing the probability of misjudgment of the number.

[0057] For example, assuming that the preset threshold is 3 and the preset counting threshold is 5, within one hour, the call records between the calling number A and the called numbers B, C, D, E, and F are as shown in the following Table 2:

[0058] Caller ID Called number Shortest path length A B 2 A C 4 A D 4 A E 3 A F 5

[0059] Table 2

[0060] According to the above Table 2, the shortest path lengths of the call interactions between the calling number A and the called numbers B and E do not exceed the preset threshold value 3, and the shortest path lengths of the call interactions between the calling number A and the called numbers C, D, and F all exceed the preset threshold value 3, that is, the number of calls with the shortest path length exceeding the preset threshold value is 3, but the number of calls does not exceed the preset counting threshold value 5 (3<5). Therefore, within the preset time period, the calling number A will not be marked as an abnormal number; however, if the number of calls with the shortest path length exceeding the preset threshold value reaches or exceeds the preset counting threshold value 5, the calling number A will be marked as an abnormal number, and further abnormality detection will be performed on the calling number A.

[0061] Step S106, calculating a fluctuation value based on the average path length of the current period and the average path length calculated according to the shortest path length, and comparing the fluctuation value with a preset fluctuation threshold.

[0062] After recording the number of calls whose shortest path length exceeds a preset threshold and comparing the number of calls with the preset counting threshold, in this step, a fluctuation value is calculated based on the average path length of the current time period and the average path length obtained by calculating the shortest path length, and the fluctuation value is compared with the preset fluctuation threshold.

[0063] Specifically, first obtain all call records of the calling number in the historical time period, build a number relationship diagram and calculate the shortest path length between the calling number and the called number, and then take the average of these shortest path lengths to obtain the average path length in the historical time period; correspondingly, for the current time period, also obtain all call records of the calling number in the current time period (such as the day), build a number relationship diagram and calculate the shortest path length between the calling number and the called number, and then take the average of these shortest path lengths to obtain the average path length of the current time period, and calculate the fluctuation value based on the above two average path lengths. If the calculated fluctuation value exceeds the preset fluctuation threshold, it is considered that the calling number may be abnormal.

[0064] In a specific execution process, the fluctuation value is calculated based on the average path length of the current period and the average path length calculated according to the shortest path length. In an optional implementation manner provided by this embodiment, the calculation method of the fluctuation value includes:

[0065] Calculating the difference between the average path length of the current time period and the average path length calculated according to the shortest path length;

[0066] A ratio of the difference value to the average path length calculated according to the shortest path length is calculated as the fluctuation value.

[0067] The average path length of the current time period in this embodiment refers to the average value of the shortest path lengths between the calling number and all called numbers on that day; the average path length calculated based on the shortest path length refers to the average value of the shortest path lengths between the calling number and all called numbers in the historical time period (such as the historical N days before the current day); the fluctuation value refers to an indicator for measuring the degree of change between the average path length of call interactions of the calling number in the current time period and the average path length of call interactions in the historical time period, and is one of the important bases for judging whether there is any abnormality in the number (such as fake order behavior).

[0068] For example, the average path length of the current call on the current day is m, and the average path length of the calls in the past N days is n (n is the ratio of the sum of the average path lengths of the calls in the previous N days to the number of days N), then the fluctuation value f is calculated using the following formula:

[0069] f=(mn)*100% / n

[0070] Step S108, determining the abnormality detection result of the calling number according to the comparison result of the call times and the comparison result of the fluctuation value.

[0071] After obtaining the number of calls and the fluctuation value, and comparing the number of calls with the preset counting threshold and the fluctuation value with the preset fluctuation threshold, in this step, the abnormal detection result of the calling number is determined according to the comparison result of the number of calls and the comparison result of the fluctuation value. The abnormal detection result refers to the judgment of whether the calling number has abnormalities, such as fake order behavior, by analyzing the calling behavior of the calling number.

[0072] In the specific implementation process, in order to improve the accuracy of number recognition and reduce the misjudgment of normal numbers, in an optional implementation mode provided by this embodiment, the abnormal detection result of the calling number is determined according to the comparison result of the number of calls and the comparison result of the fluctuation value, including:

[0073] If the number of calls exceeds the preset counting threshold and the fluctuation value exceeds the preset fluctuation threshold, the calling number is determined to be an abnormal number, the abnormal number is included in the database and the database is updated;

[0074] If the number of calls does not exceed the preset counting threshold, or the fluctuation value does not exceed the preset fluctuation threshold, it is determined that the calling number is a normal number.

[0075] Specifically, the call records of the calling number within a preset time period are obtained, and a number relationship graph between the calling number and the called number within the preset time period is constructed, and the shortest path length between the calling number and each called number is calculated based on the number relationship graph. Whenever the shortest path length between the calling number and the called number exceeds a preset threshold, the number of calls is recorded once; at the same time, the fluctuation value is calculated based on the average path length of the current time period and the average path length in the historical time period. When the number of calls exceeds the preset counting threshold and the fluctuation value exceeds the preset fluctuation threshold, the calling number is marked as an abnormal number and included in the abnormal number database; when the number of calls does not exceed the preset counting threshold, or the fluctuation value does not exceed the preset fluctuation threshold, the calling number is determined to be a normal number.

[0076] Further, after determining that the calling number is a normal number by comparing the number of calls with the fluctuation value, in an optional implementation manner provided by this embodiment, if the calling number is a normal number, the method further includes:

[0077] Detecting whether there is an indirect call interaction between the calling number and the called number within a preset time period;

[0078] If so, an edge connection is established between the calling number and the called number in the number relationship graph, and the shortest path length between the calling number and the called number is updated.

[0079] Specifically, a number relationship graph is constructed based on the calling number and the called number in a preset time period. If a new direct call interaction is established between the calling number and a called number with a history of indirect call interaction in the number relationship graph within the current time period, an edge connection is established between the calling number and the called number in the number relationship graph, and the shortest path length between the calling number and the called number is updated.

[0080] For example, Figure 3 As shown, within the preset time period, the calling number A and the called numbers B, C, D, E, and F all had direct call interactions, but the calling number A did not have a direct call interaction with the called number J, but established an indirect connection (ABGHJ or AFHJ) with the called number J through the numbers B, G, and H or the numbers F and H. At this time, the shortest path length between the calling number A and the called number J is 3. Assuming that one day the calling number A initiates a direct call interaction with the called number J, an edge connection is established between the calling number A and the called number J in the number relationship graph, and the shortest path length between the calling number A and the called number J is updated, that is, the shortest path length between the calling number A and the called number J is updated from 3 to 1.

[0081] The following combination Figure 4, taking the application of the number recognition method provided by this embodiment in the scene of detecting fake order numbers as an example, the number recognition method provided by this embodiment is further explained. Figure 4 The number identification method applied to the scene of number brushing detection specifically includes steps S402 to S430.

[0082] Step S402, establish a call, obtain the calling number and the called number that establishes a call interaction with the calling number.

[0083] Step S404, detect whether the calling number or the called number that establishes a call interaction with the calling number belongs to a preset public number set. If so, execute steps S424 to S426; if not, execute steps S406 to S430.

[0084] Step S406: construct a number relationship graph based on the calling number and the called numbers within a preset time period.

[0085] Step S408: determining each path from the calling number to the called number based on the number relationship diagram.

[0086] Step S410, calculating the shortest path length between the calling number and each called number in the number relationship graph.

[0087] Step S412, detecting whether the shortest path length exceeds a preset threshold, if not, executing steps S424 to S426; if yes, executing steps S414 to S430.

[0088] Step S414, recording the number of calls whose shortest path length exceeds a preset threshold.

[0089] Step S416, detect whether the number of calls exceeds a preset counting threshold, if not, execute steps S424 to S426; if yes, execute steps S418 to S430.

[0090] Step S418, calculating the fluctuation value based on the average path length of the current period and the average path length calculated according to the shortest path length.

[0091] Step S420, detect whether the fluctuation value exceeds a preset fluctuation threshold, if not, execute steps S424 to S426; if yes, execute steps S422 to S430.

[0092] Step S422, detect whether the number of calls exceeds the preset counting threshold and the fluctuation value exceeds the preset fluctuation threshold at the same time. If not, execute steps S424 to S426; if so, execute steps S428 to S430.

[0093] Step S424, determining that the calling number is a normal number, and detecting whether there is an indirect call interaction between the calling number and the called number within a preset time period.

[0094] Step S426: If so, establish an edge connection between the calling number and the called number in the number relationship graph, and update the shortest path length between the calling number and the called number.

[0095] Step S428, determine that the calling number is a swiping number.

[0096] Step S430, the calling number is included in the order-swiping number database and the order-swiping number database is updated.

[0097] The number identification method provided in this embodiment first constructs a number relationship diagram based on the calling number and the called number within a preset time period, calculates the shortest path length between the calling number and each called number in the number relationship diagram, then records the number of calls whose shortest path length exceeds a preset threshold, and compares the number of calls with a preset counting threshold, and calculates a fluctuation value based on the average path length of the current time period and the average path length obtained by calculating the shortest path length, and compares the fluctuation value with a preset fluctuation threshold, and finally determines the abnormal detection result of the calling number based on the comparison result of the number of calls and the comparison result of the fluctuation value, and performs number identification by the above method, thereby improving the number identification accuracy.

[0098] Figure 5 A schematic diagram of a number recognition device provided by an embodiment of the present invention is shown in FIG. Figure 5 Said device comprises:

[0099] The length calculation module 502 is configured to construct a number relationship graph based on the calling number and the called numbers within a preset time period, and calculate the shortest path length between the calling number and each called number in the number relationship graph;

[0100] The number recording module 504 is configured to record the number of calls in which the shortest path length exceeds a preset threshold, and compare the number of calls with a preset counting threshold;

[0101] The fluctuation value calculation module 506 is configured to calculate the fluctuation value based on the average path length of the current period and the average path length calculated according to the shortest path length, and compare the fluctuation value with a preset fluctuation threshold;

[0102] The detection module 508 is configured to determine an abnormality detection result of the calling number according to a comparison result of the call times and a comparison result of the fluctuation value.

[0103] The number recognition device provided in this embodiment first runs the length calculation module 502 to construct a number relationship diagram based on the calling number and the called number within a preset time period, and calculates the shortest path length between the calling number and each called number in the number relationship diagram, and then runs the number recording module 504 to record the number of calls in which the shortest path length exceeds a preset threshold, and compares the number of calls with a preset counting threshold, and runs the fluctuation value calculation module 506 to calculate the fluctuation value based on the average path length of the current time period and the average path length calculated according to the shortest path length, and compares the fluctuation value with a preset fluctuation threshold, and finally runs the detection module 508 to determine the abnormal detection result of the calling number according to the comparison result of the number of calls and the comparison result of the fluctuation value, and performs number recognition by the above method, thereby improving the number recognition accuracy.

[0104] The number identification device provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.

[0105] Furthermore, an embodiment of the present specification also provides a number identification device, Figure 6 A schematic diagram of a number identification device provided in one embodiment of this specification is shown in FIG. Figure 6 As shown, the device includes: a memory 601, a processor 602, a bus 603 and a communication interface 604. The memory 601, the processor 602 and the communication interface 604 communicate through the bus 603, and the communication interface 604 may include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker, etc.

[0106] Figure 6 In the embodiment, the memory 601 stores computer executable instructions that can be run on the processor 602. When the computer executable instructions are executed by the processor 602, the following process is implemented:

[0107] Building a number relationship graph based on the calling number and the called numbers within a preset time period, and calculating the shortest path lengths between the calling number and each called number in the number relationship graph;

[0108] Recording the number of calls in which the shortest path length exceeds a preset threshold, and comparing the number of calls with a preset counting threshold;

[0109] Calculating a fluctuation value based on an average path length of a current period and an average path length calculated according to the shortest path length, and comparing the fluctuation value with a preset fluctuation threshold;

[0110] The abnormality detection result of the calling number is determined according to the comparison result of the call times and the comparison result of the fluctuation value.

[0111] The number identification device provided in this embodiment, through the cooperation of the memory 601, the processor 602, the bus 603 and the communication interface 604, first builds a number relationship diagram based on the calling number and the called number within a preset time period, calculates the shortest path length between the calling number and each called number in the number relationship diagram, and then records the number of calls whose shortest path length exceeds the preset threshold, and compares the number of calls with the preset counting threshold, and calculates the fluctuation value based on the average path length of the current time period and the average path length obtained by calculating the shortest path length, and compares the fluctuation value with the preset fluctuation threshold, and finally determines the abnormal detection result of the calling number based on the comparison result of the number of calls and the comparison result of the fluctuation value. The number identification device provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same function and effect, which will not be repeated here.

[0112] Furthermore, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented:

[0113] Building a number relationship graph based on the calling number and the called numbers within a preset time period, and calculating the shortest path lengths between the calling number and each called number in the number relationship graph;

[0114] Recording the number of calls in which the shortest path length exceeds a preset threshold, and comparing the number of calls with a preset counting threshold;

[0115] Calculating a fluctuation value based on an average path length of a current period and an average path length calculated according to the shortest path length, and comparing the fluctuation value with a preset fluctuation threshold;

[0116] The abnormality detection result of the calling number is determined according to the comparison result of the call times and the comparison result of the fluctuation value.

[0117] The computer-readable storage medium provided in this embodiment first constructs a number relationship diagram based on the calling number and the called number within a preset time period, calculates the shortest path length between the calling number and each called number in the number relationship diagram, then records the number of calls whose shortest path length exceeds a preset threshold, and compares the number of calls with a preset counting threshold, and calculates a fluctuation value based on the average path length of the current time period and the average path length obtained by calculating the shortest path length, and compares the fluctuation value with a preset fluctuation threshold, and finally determines the abnormal detection result of the calling number based on the comparison result of the number of calls and the comparison result of the fluctuation value.

[0118] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0119] The computer-readable storage medium provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.

[0120] Furthermore, another embodiment of the present specification also provides a computer program product, which implements the following process when executed by a processor:

[0121] Recording the number of calls in which the shortest path length exceeds a preset threshold, and comparing the number of calls with a preset counting threshold;

[0122] Calculating a fluctuation value based on an average path length of a current period and an average path length calculated according to the shortest path length, and comparing the fluctuation value with a preset fluctuation threshold;

[0123] The abnormality detection result of the calling number is determined according to the comparison result of the call times and the comparison result of the fluctuation value.

[0124] The computer program product provided in this embodiment first constructs a number relationship diagram based on the calling number and the called number within a preset time period, calculates the shortest path length between the calling number and each called number in the number relationship diagram, then records the number of calls whose shortest path length exceeds a preset threshold, and compares the number of calls with a preset counting threshold, and calculates a fluctuation value based on the average path length of the current time period and the average path length obtained by calculating the shortest path length, and compares the fluctuation value with a preset fluctuation threshold, and finally determines the abnormality detection result of the calling number based on the comparison result of the number of calls and the comparison result of the fluctuation value.

[0125] The computer program product provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.

[0126] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0127] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0128] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0130] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0131] Memory may include non-permanent storage in a computer-readable storage medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable storage medium.

[0132] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0133] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0134] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0135] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A number identification method, characterized in that: The method comprises: Building a number relationship graph based on the calling number and the called numbers within a preset time period, and calculating the shortest path lengths between the calling number and each called number in the number relationship graph; Recording the number of calls in which the shortest path length exceeds a preset threshold, and comparing the number of calls with a preset counting threshold; Calculating a fluctuation value based on an average path length of a current period and an average path length calculated according to the shortest path length, and comparing the fluctuation value with a preset fluctuation threshold; The abnormality detection result of the calling number is determined according to the comparison result of the call times and the comparison result of the fluctuation value.

2. The number identification method according to claim 1, wherein before constructing a number relationship graph based on the calling number and the called numbers within a preset time period, and calculating the shortest path lengths between the calling number and each called number in the number relationship graph, the method comprises: Obtaining a called number currently establishing a call interaction with the calling number, and detecting whether the calling number or the called number establishing the call interaction belongs to a preset public number set; If not, execute the step of constructing a number relationship graph based on the calling number and the called number in the preset time period, and calculating the shortest path length between the calling number and each called number in the number relationship graph.

3. The number identification method according to claim 1, wherein the step of constructing a number relationship diagram based on the calling number and the called number in a preset time period comprises: Acquire the calling number and the called number with direct call interaction and the called number with indirect call interaction within the preset time period; Taking the calling number and the called number as graph nodes, an edge connection is established between the graph nodes of the two numbers having call interaction, and the number relationship graph is obtained.

4. The number identification method according to claim 3, wherein the calculating the shortest path length between the calling number and each called number in the number relationship diagram comprises: Determine each path from the calling number to the called number, and calculate the number of edges included in each path as the path length of each path; The path lengths of the paths are compared, and the minimum value of the path length is selected as the shortest path length between the calling number and the called number.

5. The number recognition method according to claim 1, wherein determining the abnormality detection result of the calling number according to the comparison result of the call times and the comparison result of the fluctuation value comprises: If the number of calls exceeds the preset counting threshold and the fluctuation value exceeds the preset fluctuation threshold, the calling number is determined to be an abnormal number, the abnormal number is included in the database and the database is updated; If the number of calls does not exceed the preset counting threshold, or the fluctuation value does not exceed the preset fluctuation threshold, it is determined that the calling number is a normal number.

6. The number identification method according to claim 5, if the calling number is a normal number, further comprising: Detecting whether there is an indirect call interaction between the calling number and the called number within a preset time period; If so, an edge connection is established between the calling number and the called number in the number relationship graph, and the shortest path length between the calling number and the called number is updated.

7. A number recognition device, characterized in that: The device comprises: A length calculation module is configured to construct a number relationship diagram based on the calling number and the called numbers within a preset time period, and calculate the shortest path length between the calling number and each called number in the number relationship diagram; A number recording module is configured to record the number of calls in which the shortest path length exceeds a preset threshold, and compare the number of calls with a preset counting threshold; a fluctuation value calculation module, configured to calculate a fluctuation value based on an average path length in a current period and an average path length calculated according to the shortest path length, and compare the fluctuation value with a preset fluctuation threshold; The detection module is configured to determine an abnormal detection result of the calling number according to a comparison result of the call times and a comparison result of the fluctuation value.

8. A number identification device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer executable instructions, and when the computer executable instructions are executed on the processor, the steps of the method described in any one of claims 1 to 6 can be implemented.

9. A computer-readable storage medium having computer-executable instructions stored therein, characterized in that: When the computer executable instructions are executed by a processor, the steps of the method described in any one of claims 1 to 6 can be implemented.

10. A computer program product, characterized in that The computer program product comprises a number recognition program, and when the number recognition program is executed by a processor, the steps of the method described in any one of claims 1 to 6 can be implemented.