A data processing method and device
By constructing a communication relationship diagram and calculating the minimum communication path value, gang members in the public security industry are sorted, which solves the problem of important members being ignored in the existing technology and achieves a more accurate judgment of the importance of members.
Patent Information
- Application Number
- CN202010667422.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-13
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-07-13
AI Technical Summary
When existing technology is used to sort group/gang members in the public security industry, it is difficult to accurately identify leaders and higher-status members, resulting in important roles being ignored.
By constructing a communication relationship graph, the minimum communication path value between each node and other nodes is calculated, and group members are sorted according to these values, and the importance of members is more accurately determined by using communication event data.
It improves the accuracy of identifying important members of the gang, reduces the funneling of leaders and core members, and enhances the accuracy of the police's judgment of the group/gang structure.
Smart Images

Figure CN111949835B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a data processing method and device. Background Art
[0002] It has become common for the public security industry to use communication relationships to discover the core members of a group / gang. In the existing technology, the public security industry obtains the communication event data of known groups / gangs (such as phone calls, text messages, and network communications) and directly sorts the members of the group / gang based on the number and frequency of communications between people. Summary of the invention
[0003] The technology to be solved by the present application is to provide a data processing method and device, which can more accurately use the data of communication events to sort the members in a group.
[0004] In order to solve the above technical problems, the present application provides a data processing method, comprising:
[0005] According to the data of communication events between members of a predetermined group within a predetermined time length, a communication relationship graph corresponding to the predetermined group is obtained; wherein the communication relationship graph is a graph generated according to the communication events between members of the group, and the members of the group correspond to the nodes in the communication relationship graph one by one; if there is a line between two nodes with communication events, a node in the communication relationship graph has a communication event with at least one other node;
[0006] Determine the minimum communication path value between each node and other nodes according to the communication relationship diagram;
[0007] Sorting the members of the predetermined group according to the minimum communication path value between each node and other nodes;
[0008] The communication event includes one or more of the following: telephone communication, SMS communication, and network communication;
[0009] The minimum communication path value from the node to other nodes is the minimum number of links from the node to nodes other than the node in the relationship graph.
[0010] In an exemplary embodiment, determining the minimum communication path value between each node and each other node according to the communication relationship graph includes:
[0011] For each node in the communication relationship graph, the minimum communication path value from the node to other nodes is determined respectively.
[0012] In an exemplary embodiment, the sorting of members in the predetermined group according to the minimum communication path value between each node and other nodes includes:
[0013] For each node in the communication relationship graph, calculating a minimum communication path cumulative value corresponding to the node, wherein the minimum communication path cumulative value is the sum of all minimum communication path values corresponding to the node;
[0014] The members of the predetermined group are sorted according to the minimum communication path cumulative value corresponding to each node.
[0015] In an exemplary embodiment, the sorting of members in the predetermined group according to the minimum communication path cumulative value corresponding to each node includes:
[0016] Sort the accumulated minimum communication paths corresponding to all nodes in ascending order;
[0017] The ranking of the members in the predetermined group is obtained according to the ranking results of the minimum communication path cumulative values corresponding to all nodes.
[0018] In an exemplary embodiment, after the members in the predetermined group are sorted according to the minimum communication path cumulative value corresponding to each node, the method further includes: obtaining information of the first N members based on the sorting of the members in the predetermined group;
[0019] Wherein, N is a positive integer.
[0020] In an exemplary embodiment, before obtaining the communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time period, the method further includes:
[0021] Filtering the acquired data of communication events within a predetermined time period to obtain data of communication events between members of the predetermined group;
[0022] The data of the communication event includes the identification of the member as the initiator and the identification of the member as the responder.
[0023] In an exemplary embodiment, data on communication events between members of the predetermined group within a predetermined time length are periodically acquired at predetermined time intervals.
[0024] In an exemplary embodiment, before obtaining the communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time period, the method further includes:
[0025] The data of communication events between members of the predetermined group within a predetermined time length obtained this time are compared with the data of communication events between members of the predetermined group within a predetermined time length obtained last time. When there is inconsistency, the operation of obtaining a communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time length is performed.
[0026] The present application also provides a data processing device, comprising: a memory and a processor;
[0027] The memory is used to store a program for data processing;
[0028] The processor is used to read the program for data processing and execute any of the aforementioned methods.
[0029] The present application also provides a computer storage medium, wherein the storage medium stores a computer program, wherein the computer program is configured to execute any of the aforementioned methods when running.
[0030] The present application provides a data processing method and device, the method comprising: obtaining a communication relationship graph corresponding to the predetermined group according to data of communication events between members of a predetermined group within a predetermined time length; wherein the communication relationship graph is a graph generated according to the communication events between members of the group, and the members of the group correspond one-to-one to the nodes in the communication relationship graph; there is a connection between two nodes with communication events, and a node in the communication relationship graph has a communication event with at least one other node; according to the communication relationship graph, determining the minimum communication path value between each node and each other node; sorting the members of the predetermined group according to the minimum communication path value between each node and each other node; wherein the communication event includes one or more of the following: telephone communication, SMS communication, network communication; the minimum communication path value from the node to other nodes is the minimum number of connections from the node to nodes other than the node in the relationship graph. The above technical scheme can more accurately sort the members of the group using the data of communication events. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0032] Figure 1 is a flow chart of a data processing method according to Embodiment 1 of the present application;
[0033] Figure 2 is a schematic diagram of a data processing device according to Embodiment 1 of the present application;
[0034] FIG. 3 is a schematic diagram of the communication relationship diagram of Example 1. DETAILED DESCRIPTION
[0035] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.
[0036] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.
[0037] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application. Example
[0038] Currently, the police usually use the communication event data of known groups / gangs to determine the number and frequency of communication between internal members and sort the group members. Points are scored according to certain rules, such as 10 points for phone calls, 5 points for text messages, and 1 point for Internet communications. Finally, the accumulated points of each member are sorted in descending order.
[0039] However, the inventor of the present application discovered that the above-mentioned ranking method has the following problem: after the public security ranks the members, it can derive the importance of the members in the group based on the ranking. According to the existing method, members with higher scores are usually those with higher activity in the entire group / gang according to the number of communications and the frequency, and are generally also members with high importance. However, the leaders of the group / gang and members with higher status in the organizational structure generally only have a single-line contact, issue instructions to the subordinates, and then issue the instructions to other members. At the same time, the frequency of the leaders / members with higher status in contact with other members will not be too much. If the members are ranked according to the existing method, the scores of the leaders / members with higher status are often relatively low, and such members will be ignored, making the ranking of members not accurate enough, thereby affecting the public security's judgment on the important roles in the entire group / gang.
[0040] like Figure 1 As shown, this embodiment provides a data processing method, including:
[0041] Step S101: obtaining a communication relationship graph corresponding to a predetermined group according to data of communication events between members of a predetermined group within a predetermined time period; wherein the communication relationship graph is a graph generated according to communication events between members of the group, and members of the group correspond to nodes in the communication relationship graph one by one; if there is a line between two nodes having communication events, a node in the communication relationship graph has a communication event with at least one other node;
[0042] Step S102: Determine the minimum communication path value between each node and other nodes according to the communication relationship diagram;
[0043] Step S103, sorting the members of the predetermined group according to the minimum communication path value between each node and other nodes;
[0044] The communication event includes one or more of the following: telephone communication, SMS communication, and network communication;
[0045] The minimum communication path value from the node to other nodes is the minimum number of links from the node to nodes other than the node in the relationship graph.
[0046] In this embodiment, the predetermined group may be a pre-specified group, such as a labor union, a theft gang, etc. The members of the predetermined group may be pre-specified or determined according to group characteristics.
[0047] In this embodiment, the data of the communication event is data within a predetermined time length. For example, the time length can be set to 2 days, and the data of the communication event within the last 2 days is obtained, and then the data between the members of the predetermined group is determined from the data within the last 2 days.
[0048] It should be noted that the data of communication events collected can be based on a certain time length, such as data within the last 3 days, so that the time starting point of the data collected each time is different; the time starting point of each collection can also be set to be the same, and collection starts from this time point each time, for example, the first collection is one week's data starting from the starting point, and the second collection is 3 weeks of data starting from the starting point, etc.
[0049] For a member of a predetermined group, if the member belongs to the group but has not generated any communication events with any other members within the predetermined time length, that is, in the data of communication events acquired within the predetermined time length, there is no data of communication events between the member and any other member of the group, then the member is not included in the generated communication relationship graph, and the member does not participate in the subsequent sorting. Suppose that the theft gang includes members A, B, C, D, E, F, and G, wherein in the data of communication events acquired this time, there is no data of any communication events between member A and members B, C, D, E, F, and G, therefore, the node corresponding to member A is not included in the communication relationship graph generated this time, and member A is not listed in the sorting of the members of the theft gang.
[0050] In this embodiment, the communication event may include one or more of the following scenarios: calling each other; sending short messages between members, which may include short messages sent through China Telecom, China Unicom, China Mobile, etc., and may also include text short messages and voice short messages sent through various APPs (such as WeChat, Taobao, etc.); video / voice calls between members through the network. It should be noted that the above is only an example, and in other embodiments, the communication event may also include any other way to establish contact between members.
[0051] In the above technical solution, a communication relationship diagram is obtained based on the data of communication events between members in the group, and then the members in the predetermined group are sorted according to the minimum communication path value between each node and other nodes, so that the data of communication events can be used to more accurately sort the members in the group.
[0052] In an exemplary embodiment, determining the minimum communication path value between each node and each other node according to the communication relationship graph includes:
[0053] For each node in the communication relationship graph, the minimum communication path value from the node to other nodes is determined respectively.
[0054] In this embodiment, the communication relationship graph may be non-directional. When determining the minimum communication path value from a node to other nodes, a depth-first or breadth-first search algorithm may be adopted, or the Dijkstra algorithm may be adopted.
[0055] The above algorithm can solve the single-source shortest path. Starting from the starting node, all the depth traversal paths or breadth-first paths are visited. If there are multiple paths to the end node, the one with the shortest path weight is taken as the minimum path. In this embodiment, the minimum communication path value between two nodes is the number of connections contained in the minimum communication path between the two nodes.
[0056] In an exemplary embodiment, the sorting of members in the predetermined group according to the minimum communication path value between each node and other nodes includes:
[0057] For each node in the communication relationship graph, calculating a minimum communication path cumulative value corresponding to the node, wherein the minimum communication path cumulative value is the sum of all minimum communication path values corresponding to the node;
[0058] The members of the predetermined group are sorted according to the minimum communication path cumulative value corresponding to each node.
[0059] In an exemplary embodiment, the sorting of members in the predetermined group according to the minimum communication path cumulative value corresponding to each node includes:
[0060] Sort the accumulated minimum communication paths corresponding to all nodes in ascending order;
[0061] The ranking of the members in the predetermined group is obtained according to the ranking results of the minimum communication path cumulative values corresponding to all nodes.
[0062] In this embodiment, the nodes in the communication relationship graph are sorted in ascending order according to the minimum communication path cumulative value, and each node corresponds to a member, so that the ranking of the members can be obtained.
[0063] In an exemplary embodiment, after the members in the predetermined group are sorted according to the minimum communication path cumulative value corresponding to each node, the method further includes: obtaining information of the first N members based on the sorting of the members in the predetermined group;
[0064] Wherein, N is a positive integer.
[0065] In this embodiment, the importance of the members in the group can be determined based on the ranking results of the members. The minimum communication path cumulative value is negatively correlated with the importance of the member corresponding to the minimum communication path cumulative value in the group, that is, the smaller the minimum communication path cumulative value corresponding to the node, the more important the member corresponding to the node in the group. According to the ranking of the members in the group, the member ranked first can be regarded as the head of the team (that is, the most important person in the group), or the first N members in the ranking can be regarded as the backbone / core members of the group. It should be noted that the head, core members and backbone are examples, and in other embodiments, other terms can also be used to identify the importance of members.
[0066] In an exemplary embodiment, before obtaining the communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time period, the method further includes:
[0067] Filtering the acquired data of communication events within a predetermined time period to obtain data of communication events between members of the predetermined group;
[0068] The data of the communication event includes the identification of the member as the initiator and the identification of the member as the responder.
[0069] In this embodiment, the identification of the member of the initiator may include a telephone number, an account number, an IP address, etc., and the identification of the member of the responder may include a telephone number, an account number, an IP address, etc.
[0070] In an exemplary embodiment, data on communication events between members of the predetermined group within a predetermined time length are periodically acquired at predetermined time intervals.
[0071] In this embodiment, a time interval may be preset, for example, once a month, to obtain data on communication events between group members within 2 weeks.
[0072] In an exemplary embodiment, before obtaining the communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time period, the method further includes:
[0073] The data of communication events between members of the predetermined group within a predetermined time length obtained this time are compared with the data of communication events between members of the predetermined group within a predetermined time length obtained last time. When there is inconsistency, the operation of obtaining a communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time length is performed.
[0074] In this embodiment, the communication relationship diagram corresponding to the predetermined group may be obtained for the first time or updated. Assuming that after the predetermined group obtains the corresponding communication relationship diagram for the first time, when the data of communication events are obtained again, it can be compared with the data of communication events between members of the predetermined group within a predetermined time length obtained for the first time. When there is inconsistency, the operation of obtaining the communication relationship diagram corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time length is performed, and the communication relationship diagram obtained for the first time is replaced with the newly obtained communication relationship diagram; when there is consistency, there is no need to perform the operation of obtaining the communication relationship diagram, that is, the communication relationship diagram is not updated. When the data of communication events are obtained again in the future, the operation is performed in the same way.
[0075] like Figure 2 As shown, this embodiment also provides a data processing device, including: a memory 10 and a processor 11;
[0076] The memory 10 is used to store programs for data processing;
[0077] The processor 11 is used to read the program for data processing and perform the following operations:
[0078] According to the data of communication events between members of a predetermined group within a predetermined time length, a communication relationship graph corresponding to the predetermined group is obtained; wherein the communication relationship graph is a graph generated according to the communication events between members of the group, and the members of the group correspond to the nodes in the communication relationship graph one by one; if there is a line between two nodes with communication events, a node in the communication relationship graph has a communication event with at least one other node;
[0079] Determine the minimum communication path value between each node and other nodes according to the communication relationship diagram;
[0080] Sorting the members of the predetermined group according to the minimum communication path value between each node and other nodes;
[0081] The communication event includes one or more of the following: telephone communication, SMS communication, and network communication;
[0082] The minimum communication path value from the node to other nodes is the minimum number of links from the node to nodes other than the node in the relationship graph.
[0083] In the above technical solution, a communication relationship diagram is obtained based on the data of communication events between members in the group, and then the members in the predetermined group are sorted according to the minimum communication path value between each node and other nodes, so that the data of communication events can be used to more accurately sort the members in the group.
[0084] In an exemplary embodiment, determining the minimum communication path value between each node and each other node according to the communication relationship graph includes:
[0085] For each node in the communication relationship graph, the minimum communication path value from the node to other nodes is determined respectively.
[0086] In an exemplary embodiment, the sorting of members in the predetermined group according to the minimum communication path value between each node and other nodes includes:
[0087] For each node in the communication relationship graph, calculating a minimum communication path cumulative value corresponding to the node, wherein the minimum communication path cumulative value is the sum of all minimum communication path values corresponding to the node;
[0088] The members of the predetermined group are sorted according to the minimum communication path cumulative value corresponding to each node.
[0089] In an exemplary embodiment, the sorting of members in the predetermined group according to the minimum communication path cumulative value corresponding to each node includes:
[0090] Sort the accumulated minimum communication paths corresponding to all nodes in ascending order;
[0091] The ranking of the members in the predetermined group is obtained according to the ranking results of the minimum communication path cumulative values corresponding to all nodes.
[0092] In an exemplary embodiment, the processor 11 is used to read the program for data processing and further perform the following operations:
[0093] After the members of the predetermined group are sorted according to the accumulated value of the minimum communication path corresponding to each node, information of the first N members is obtained based on the sorting of the members of the predetermined group; wherein N is a positive integer.
[0094] In an exemplary embodiment, the processor 11 is used to read the program for data processing and further perform the following operations:
[0095] Before obtaining the communication relationship diagram corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time length, the data of communication events between members of the predetermined group are screened from the acquired data of communication events within a predetermined time length;
[0096] The data of the communication event includes the identification of the member as the initiator and the identification of the member as the responder.
[0097] In an exemplary embodiment, data on communication events between members of the predetermined group within a predetermined time length are periodically acquired at predetermined time intervals.
[0098] In an exemplary embodiment, the processor 11 is used to read the program for data processing and further perform the following operations:
[0099] Before obtaining the communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time length, the data of communication events between members of the predetermined group within a predetermined time length obtained this time are compared with the data of communication events between members of the predetermined group within a predetermined time length obtained last time. When there is inconsistency, the operation of obtaining the communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time length is performed.
[0100] This embodiment further provides a computer storage medium, in which a computer program is stored. The computer program is configured to execute any of the aforementioned methods when it is run.
[0101] Example 1
[0102] The data processing method of the present application is further illustrated below by using specific examples, including:
[0103] 1. Draw the corresponding communication relationship diagram of the group based on the data of the communication events;
[0104] Assume that the members of group 1 include: Zhang San, Li Si, Wang Wu, Zhao Liu, Liu Moumou, Chen Moumou, and Sun Moumou. Some sample data of the communication events obtained are shown in Table 1:
[0105] Caller / Sender Called / received party Call time / Send time Zhang San Li Si 2019-08-01 09:20:12 Zhang San Wang Wu 2019-08-05 16:20:12 Li Si Liu 2019-07-05 10:09:12 Wang Wu Chen 2019-07-15 22:10:12
[0106] Table 1
[0107] According to the data of each communication event, the communication relationship between the two members is established, and finally the communication relationship diagram corresponding to the group is obtained. Assume that Figure 3 As shown, members correspond one to one with nodes in the communication relationship diagram, members can communicate directly or indirectly with each other, and when two members are directly connected, there is a connection between the two nodes corresponding to the two members.
[0108] In this example, it is assumed that member Zhang San corresponds to node A, member Li Si corresponds to node B, member Wang Wu corresponds to node C, member Zhao Liu corresponds to node D, member Liu corresponds to node E, member Chen corresponds to node F, and member Sun corresponds to node G.
[0109] Assume that there is data of communication events between member Zhang San and member Li Si, then there is a line between node A and node B in the communication relationship graph. There is no data of communication events between member Zhang San and member Chen, but there is data of communication events between member Zhang San and member Wang Wu, and there is data of communication events between member Wang Wu and member Chen, that is, member Zhang San can contact member Chen through member Wang Wu, so member Zhang San and member Chen are indirectly connected. In the communication relationship graph, there is no direct line between node A and node F, there is a line between node A and node C, there is a line between node C and node F, and node A can be indirectly connected to node F through node C.
[0110] 2. Calculate the minimum communication path value between each node and each other node:
[0111] First, based on the communication relationship diagram obtained above in this example (such as Figure 3 As shown in the figure), the minimum communication path value between each node and each other node is obtained in turn;
[0112] In this example, the minimum communication path value from a node to other nodes is the minimum number of connections from the node to other nodes in the communication relationship graph except the node. Taking node A as an example, for node A, other nodes include B, C, D, E, F, and G, and the minimum communication path value from A to B, C, D, E, F, and G needs to be obtained respectively.
[0113] There are two situations for the communication path from A to B:
[0114] AB, the communication path is 1; ACFGEB, the communication path is 5;
[0115] Then the minimum communication path value from A to B is the minimum value between 1 and 5, that is, the minimum communication path value between A and B is 1;
[0116] There are two communication paths from A to C:
[0117] AC, the communication path is 1; ABEGFC, the communication path is 5;
[0118] Then the shortest communication path value from A to C is 1.
[0119] In the same way, the minimum communication path value from A to D, E, F, and G is obtained, as shown in Table 2:
[0120] A B C D E F G Minimum communication path value 1 1 1 2 2 3
[0121] Table 2
[0122] In the same way, the minimum communication path values from node B to A, C, D, E, F, and G are obtained in turn, as shown in Table 3:
[0123] B A C D E F G Minimum communication path value 1 2 2 1 3 2
[0124] Table 3
[0125] In the same way, the minimum communication path values from node C to A, B, D, E, F, and G are obtained in turn, as shown in Table 4:
[0126] C A B D E F G Minimum communication path value 1 2 2 3 1 2
[0127] Table 4
[0128] In the same way, the minimum communication path values from node D to A, B, C, E, F, and G are obtained in turn, as shown in Table 5:
[0129] D A B C E F G Minimum communication path value 1 2 2 3 3 4
[0130] Table 5
[0131] In the same way, the minimum communication path values from node E to A, B, C, D, F, and G are obtained in turn, as shown in Table 6:
[0132] E A B C D F G Minimum communication path value 2 1 3 3 2 1
[0133] Table 6
[0134] In the same way, the minimum communication path values from node F to A, B, C, D, E, and G are obtained in turn, as shown in Table 7:
[0135] F A B C D E G Minimum communication path value 2 3 1 3 2 1
[0136] Table 7
[0137] In the same way, the minimum communication path values from node G to A, B, C, D, E, and F are obtained in turn, as shown in Table 8:
[0138] G A B C D E F Minimum communication path value 3 2 2 4 1 1
[0139] Table 8
[0140] It should be noted that when the minimum communication path value from node A to node B is determined, the corresponding minimum communication path value from node B to node A is also determined, that is, the minimum communication path value from node B to node A does not need to be calculated. The same is true for any other pair of nodes.
[0141] 2. Calculate the cumulative value of the minimum communication path corresponding to each node;
[0142] The cumulative value of the minimum communication path corresponding to a node is the sum of all the minimum communication path values corresponding to the node.
[0143] The cumulative value of A's minimum communication path is 1+1+1+2+2+3=10;
[0144] The cumulative value of B's minimum communication path is 1+2+2+1+3+2=11;
[0145] The cumulative value of C's minimum communication path is 1+2+2+3+1+2=11;
[0146] The cumulative value of D's minimum communication path is 1+2+2+3+3+4=15;
[0147] The cumulative value of the minimum communication path of E is 2+1+3+3+2+1=12;
[0148] The cumulative value of the minimum communication path of F is 2+3+1+3+2+1=12;
[0149] The cumulative value of G's minimum communication path is 3+2+2+4+1+1=13.
[0150] 3. Sort the members of the group.
[0151] The accumulated minimum communication paths corresponding to each node are sorted in positive order (i.e., from small to large). According to the sorting of the accumulated minimum communication paths corresponding to the nodes, the sorting of the members corresponding to the nodes can be obtained, as shown in Table 9:
[0152] Serial number node Minimum communication path cumulative value member 1 A 10 Zhang San 2 B 11 Li Si 3 C 11 Wang Wu 4 E 12 Liu 5 F 12 Chen 6 G 13 Sun 7 D 15 Zhao Liu
[0153] Table 9
[0154] In this example, it can be concluded that the ranking of members in group 1 is: Zhang San, Li Si, Wang Wu, Liu, Chen, Sun, Zhao Liu. Based on this ranking, it can be determined that the importance of members in group 1 is from high to low: Zhang San, Li Si, Wang Wu, Liu, Chen, Sun, Zhao Liu. In this ranking, the more important the member is in group 1, that is, Zhang San is the most important in group 1, and Zhang San is most likely to be the leader of the group. The top 3 members in the ranking can also be regarded as the core members of group 1 to further obtain the information of the core members.
[0155] In other examples, the minimum communication path cumulative value can be divided into multiple groups according to the numerical range, and each group corresponds to an importance level. For example, the importance level of the member corresponding to the minimum communication path cumulative value [9, 11] is set to level one, the importance level of the member corresponding to [12, 14] is set to level two, and the importance level of the member corresponding to [15, 16] is set to level three. The importance level corresponding to level one is higher than the importance level corresponding to level two, and the importance level corresponding to level three is higher than the importance level corresponding to level three.
[0156] In the above technical solution, the communication relationship diagram corresponding to the group is obtained based on the data of the communication events of the predetermined group, and the ranking of members that is more in line with the actual situation can be obtained through the minimum communication path value of each node. In addition, the ranking of members obtained according to the above technical solution can more accurately help the public security analyze the roles and importance of members in the group / gang that has been concerned, effectively reducing the possibility of missing key members of the group / gang, or even the group leader.
[0157] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media generally contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and include any information delivery media.
Claims
1. A data processing method, comprising: According to the data of communication events between members of a predetermined group within a predetermined time length, a communication relationship graph corresponding to the predetermined group is obtained; wherein the communication relationship graph is a graph generated according to the communication events between members of the group, and the members of the group correspond to the nodes in the communication relationship graph one by one; if there is a line between two nodes with communication events, a node in the communication relationship graph has a communication event with at least one other node; Determine the minimum communication path value between each node and other nodes according to the communication relationship diagram; Sorting the members of the predetermined group according to the minimum communication path value between each node and other nodes; The communication event includes one or more of the following: telephone communication, SMS communication, and network communication; The minimum communication path value from the node to other nodes is the minimum number of links from the node to nodes other than the node in the relationship graph; The sorting of the members in the predetermined group according to the minimum communication path value between each node and other nodes includes: For each node in the communication relationship graph, calculating a minimum communication path cumulative value corresponding to the node, wherein the minimum communication path cumulative value is the sum of all minimum communication path values corresponding to the node; Sorting the members of the predetermined group according to the minimum communication path cumulative value corresponding to each node; Determining the minimum communication path value between each node and other nodes according to the communication relationship graph includes: For each node in the communication relationship graph, respectively determine the minimum communication path value from the node to other nodes; The step of sorting the members of the predetermined group according to the minimum communication path cumulative value corresponding to each node includes: Sort the accumulated minimum communication paths corresponding to all nodes in ascending order; The ranking of the members in the predetermined group is obtained according to the ranking results of the minimum communication path cumulative values corresponding to all nodes.
2. The method according to claim 1, characterized in that After the members in the predetermined group are sorted according to the accumulated value of the minimum communication path corresponding to each node, the method further includes: obtaining information of the first N members based on the sorting of the members in the predetermined group; Wherein, N is a positive integer.
3. The method according to claim 1, characterized in that Before obtaining the communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time period, the method further includes: Filtering the acquired data of communication events within a predetermined time period to obtain data of communication events between members of the predetermined group; The data of the communication event includes the identification of the member as the initiator and the identification of the member as the responder.
4. The method according to claim 1, characterized in that The data of communication events between members of the predetermined group within a predetermined time length are periodically acquired according to predetermined time intervals.
5. The method according to claim 4, characterized in that Before obtaining the communication relationship diagram corresponding to the predetermined group according to the data of communication events between members of the predetermined group within a predetermined time period, the method further includes: The data of communication events between members of the predetermined group within a predetermined time length obtained this time are compared with the data of communication events between members of the predetermined group within a predetermined time length obtained last time. When there is inconsistency, the operation of obtaining a communication relationship graph corresponding to the predetermined group based on the data of communication events between members of the predetermined group within a predetermined time length is performed.
6. A data processing device, comprising: A memory and a processor; characterized in that: The memory is used to store a program for data processing; The processor is used to read the program for data processing and execute the method according to any one of claims 1 to 5.
7. A computer storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 5 when executed.
