Family member relationship identification method and device, electronic equipment and storage medium
By sorting and path analysis of user bill data, and combining voice and terminal correlation to identify family member relationships, the problem of identifying family member relationships in user groups in the existing technology is solved, and the effect of family business promotion and customer retention is improved.
Patent Information
- Application Number
- CN202410590996.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-10-18
AI Technical Summary
Existing technology is difficult to effectively identify family member relationships between user groups, leading to challenges in family business promotion, customer retention and retention.
By sorting the user's holiday call sheet data and analyzing path information, similar path data is identified, and by combining voice, terminal and business relationships, a family member relationship score is constructed, and then family member relationships are identified.
Effectively identify family member relationships, improve the precise promotion of family business and customer retention capabilities, and solve the shortcomings of user group association relationship identification in traditional information mining.
Smart Images

Figure CN118796901A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for identifying family member relationships. Background Art
[0002] With the rapid development of mobile communication technology, mobile Internet has basically covered all aspects of people's daily life, and mobile Internet access has become a basic need. Mobile terminals closely connect individuals with the mobile Internet, and thus generate a huge amount of communication data. How to make good use of this huge amount of communication data, explore customers' communication behavior, consumer psychology, target audiences, and combine big data technology to build mathematical models, screen target customers and serve the refined operation of the market has become a research direction for many technicians.
[0003] At present, traditional information mining generally only creates user portraits based on individual behavior characteristics, and then builds labeled user groups based on user interests, consumption, behavior and other attribute characteristics, but lacks sufficient analysis of the associations between user groups. The user groups built based on this cannot effectively identify the relationship between customers, especially the relationship between family members, which brings great challenges to the promotion of family business, customer retention and customer maintenance.
[0004] Therefore, how to effectively identify family member relationships among user groups becomes a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present invention provides a method, device, electronic device and storage medium for identifying family member relationships, which are used to solve the technical problem in the prior art that family member relationships between user groups cannot be effectively identified.
[0006] The present invention provides a method for identifying family member relationships, comprising:
[0007] Sort the call record data of the users to be identified during holidays in a preset time period in chronological order to obtain a call record sequence of each user to be identified;
[0008] Determining daily path information of each user to be identified based on the call record sequence of each user to be identified;
[0009] Associating the path information of each of the to-be-identified users to determine similar path data, wherein the similar path data includes a path similarity relationship between any two to-be-identified users;
[0010] Based on the similar path data, family member relationships are identified.
[0011] According to a family member relationship identification method provided by the present invention, the call record data of the users to be identified during holidays in a preset time period are sorted in chronological order to obtain the call record sequence of each user to be identified, including:
[0012] For any user to be identified, after sorting the call list data of any day in chronological order, calculate the first base station distance of each call list, the first base station distance is the distance between the base station corresponding to the call list and the first base station, the first base station is the base station corresponding to the first call list of the day;
[0013] Reorder the call records in the second time period based on the largest base station distance in the first time period and the largest base station distance in the second time period, where the first time period and the second time period are any two consecutive time periods on the day;
[0014] After re-sorting the call records of each time period, a daily call record sequence is obtained;
[0015] After obtaining the daily call record sequence of the user to be identified on each day, the call record sequence of the user to be identified is obtained by combining.
[0016] According to a family member relationship identification method provided by the present invention, the daily path information of each user to be identified is determined based on the call list sequence of each user to be identified, including:
[0017] For any user to be identified, based on the daily call record sequence of the user to be identified and a preset threshold, identify the starting point, high point, extreme point and regression point of the day, wherein the starting point is the starting point of the path of the day, the high point is a destination point in the path of the day, the extreme point is the farthest point in the path of the day, and the regression point is the end point of the path of the day;
[0018] Based on the starting point, the high point, the extreme point and the regression point, the path information of the user to be identified on that day is determined.
[0019] According to a family member relationship identification method provided by the present invention, the path information of each user to be identified is associated to determine similar path data, including:
[0020] The path information is divided into grids according to the latitude and longitude of the starting point;
[0021] Based on the preset window size, similarity calculation is performed on the path information corresponding to the grid in the window to determine the path similarity within the window;
[0022] The window is slid with a preset step length, and the step of performing similarity calculation on the path information corresponding to the grids in the window based on the preset window size to determine the path similarity in the window is returned, until all grids are calculated, and the similar path data is obtained.
[0023] According to a method for identifying family member relationships provided by the present invention, identifying family member relationships based on the similar path data includes:
[0024] For any two users to be identified, determining a first relationship score based on a path similarity relationship between the two users to be identified;
[0025] Determine a relationship index of the two users to be identified based on the first relationship score, the second relationship score, the third relationship score and the fourth relationship score, wherein the second relationship score represents a voice association relationship between the two users to be identified, the third relationship score represents a terminal association relationship between the two users to be identified, and the fourth relationship score represents a sticky service association relationship between the two users to be identified;
[0026] Sort the relationship indexes of all users to be identified and construct a two-phase cross matrix;
[0027] Based on the biphasic cross-matrix, family member relationships are determined.
[0028] According to a method for identifying family member relationships provided by the present invention, the second relationship score is determined based on the following steps:
[0029] Based on the voice call record information of the two users to be identified, determine the number of daytime call days, daytime call traffic, number of nighttime call days and nighttime call traffic of the two users to be identified;
[0030] Based on the number of daytime call days, the daytime call traffic, the number of nighttime call days and the nighttime call traffic, a second relationship score between the two to-be-identified users is determined.
[0031] According to a family member relationship identification method provided by the present invention, the third relationship score is determined based on the following steps:
[0032] If a terminal IMEI number is used by one of the two to-be-identified users for several months and then continues to be used by the other to-be-identified user, it is determined that there is a terminal transfer relationship between the two to-be-identified users;
[0033] If a terminal IMEI number is used by one of the two users to be identified in the current month and is continued to be used by the other user to be identified in the next month, it is determined that there is a terminal conversion relationship between the two users to be identified;
[0034] If a certain terminal IMEI number is used by the two to-be-identified users in the same month, it is determined that the two to-be-identified users have a mixed terminal use relationship;
[0035] A third relationship score of the two to-be-identified users is determined based on the terminal transfer relationship, the terminal conversion relationship and the terminal mixed-use relationship.
[0036] According to a method for identifying family member relationships provided by the present invention, the fourth relationship score is determined based on the following steps:
[0037] If the telephone numbers of the two users to be identified are different telephone numbers opened with the same ID number, it is determined that the two users to be identified have the same ID number;
[0038] If, among the telephone numbers of the two users to be identified, one telephone number is a primary number and the other telephone number is a secondary number associated with it, or one telephone number is a secondary number and the other telephone number is another secondary number associated with it, it is determined that the two users to be identified have a secondary card relationship;
[0039] If the telephone numbers of the two users to be identified belong to the primary number and the secondary number in the family V network, or belong to the secondary number and the secondary number in the family V network, it is determined that the two users to be identified have a family V network relationship;
[0040] If the telephone numbers of the two users to be identified are the primary number and the secondary number for a payment plan, it is determined that the two users to be identified have a payment plan relationship;
[0041] Based on the same-certificate relationship, the secondary card relationship, the family V-network relationship and the payment plan relationship, a fourth relationship score of the two users to be identified is determined.
[0042] The present invention also provides a device for identifying family member relationships, comprising:
[0043] The call list sorting module is used to sort the call list data of the users to be identified during holidays in a preset period in chronological order to obtain a call list sequence of each user to be identified;
[0044] A path determination module, used to: determine the daily path information of each user to be identified based on the call record sequence of each user to be identified;
[0045] A path association module is used to: associate the path information of each of the users to be identified to determine similar path data, wherein the similar path data includes a path similarity relationship between any two users to be identified;
[0046] The family identification module is used to identify the relationship between family members based on the similar path data.
[0047] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-described methods for identifying family member relationships is implemented.
[0048] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for identifying family member relationships.
[0049] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for identifying family member relationships.
[0050] The method, device, electronic device and storage medium for identifying family member relationships provided by the present invention sort the call list data of the users to be identified during holidays in a preset time period in chronological order to obtain the call list sequence of each user to be identified; determine the daily path information of each user to be identified based on the call list sequence of each user to be identified; associate the path information of each user to be identified to determine similar path data, wherein the similar path data includes the path similarity relationship between any two users to be identified; and identify family member relationships based on the similar path data. Since it is common for family members to travel together on weekends and holidays, the path trajectory of the user is identified based on the user's call list data, and similar path data is identified therefrom, thereby effectively identifying the family member relationship. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 It is a flow chart of the method for identifying family member relationships provided by the present invention;
[0053] Figure 2 is a schematic diagram of the rasterization process provided by the present invention;
[0054] Figure 3 It is a structural schematic diagram of the family member relationship identification model provided by the present invention;
[0055] Figure 4 It is a structural schematic diagram of a device for identifying family member relationships provided by the present invention;
[0056] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] Figure 1 Schematic diagram of the process of identifying the family member relationship provided by the present invention. Figure 1 The embodiment of the present invention provides a method for identifying family member relationships, which may include:
[0059] S110, sorting the call record data of the users to be identified during holidays in a preset period in chronological order to obtain a call record sequence of each user to be identified;
[0060] S120, determining daily path information of each user to be identified based on the call record sequence of each user to be identified;
[0061] S130, associating the path information of each of the to-be-identified users to determine similar path data, wherein the similar path data includes a path similarity relationship between any two to-be-identified users;
[0062] S140: Identify family member relationships based on the similar path data.
[0063] It should be noted that the execution subject of the family member relationship identification method provided in the embodiment of the present invention may be a server, a computer device, such as an ultra-mobile personal computer (UMPC), a netbook, etc.
[0064] In S110, the call list data includes all traffic call list data of weekends and festivals within the preset time period. Taking the preset time period as the past 30 days as an example, all traffic call list data of weekends and festivals within the past 30 days are obtained. The acquired call list data may specifically include but is not limited to number, communication date, communication time period, base station id, base station name (name), base station longitude and latitude, daily call list sorting number rn, user belonging cell id, user belonging cell name, cell longitude and latitude, etc. Optionally, the call list data is exported to generate the traffic basic table xxtest.xx_ls_gprs_wd.
[0065] In S120, based on the call record data, the base station used when generating the call record reflects the user's location information. Therefore, the user's movement trajectory, that is, the user's path information, can be determined based on the sorted call record sequence.
[0066] Here, if the paths between two users to be identified are similar, that is, the two users to be identified may be traveling together, based on which, the relationship between family members can be effectively identified.
[0067] The family member relationship identification method provided by the embodiment of the present invention sorts the call list data of the user to be identified during holidays in a preset time period in chronological order to obtain the call list sequence of each user to be identified; based on the call list sequence of each user to be identified, the daily path information of each user to be identified is determined; the path information of each user to be identified is associated to determine similar path data, and the similar path data includes the path similarity relationship between any two users to be identified; based on the similar path data, the family member relationship is identified. Since it is common for family members to travel together on weekends and holidays, the path trajectory of the user is identified based on the user's call list data, and the similar path data is identified therefrom, so that the family member relationship can be effectively identified.
[0068] In an optional embodiment, the call record data of the users to be identified during holidays in a preset period are sorted in chronological order to obtain a call record sequence of each user to be identified, including:
[0069] For any user to be identified, after sorting the call list data of any day in chronological order, calculate the first base station distance of each call list, the first base station distance is the distance between the base station corresponding to the call list and the first base station, the first base station is the base station corresponding to the first call list of the day;
[0070] Reorder the call records in the second time period based on the largest base station distance in the first time period and the largest base station distance in the second time period, where the first time period and the second time period are any two consecutive time periods on the day;
[0071] After re-sorting the call records of each time period, a daily call record sequence is obtained;
[0072] After obtaining the daily call record sequence of the user to be identified on each day, the call record sequence of the user to be identified is obtained by combining.
[0073] Specifically, for daily call records sorted in time series, the base station distance between the current call record and the first call record in the same day is the first base station distance StepH. Since the operator's call records are only segmented to the hourly level and multiple call records below the hour are not sorted, it is necessary to restore the order of the call records. Since the signaling trajectory of the user changes smoothly, either increasing or decreasing, the following steps can be used for reordering:
[0074] 1. P1 and P2 are two consecutive time periods. Calculate max(StepH) in P1 time period and max(StepH) in P2 time period, and record them as StepMax1 and StepMax2 respectively;
[0075] 2. If StepMax1 < StepMax2, then P2 is increase, otherwise P2 is decrease;
[0076] 3. Calculate the sequence identifier as increase or decrease for each time period, and reorder multiple records within the time period. If increase, sort them in ascending order of StepH, otherwise sort them in descending order of StepH.
[0077] Optionally, calculate the step vector VectorS=(Step, StepH, StepT) for daily call records. Among them, Step is the base station distance between the current call record and the previous call record after sorting in time series, StepH is the first base station distance, and StepT is the last base station distance, that is, the base station distance between the current call record and the last call record after sorting in time series. After reordering, recalculate the Step value of each call record. In addition, it should be understood that although this embodiment is based on the first base station distance for reordering, it can also be based on the last base station distance for reordering, with the same principle.
[0078] The family member relationship recognition method provided by the embodiment of the present invention reorders call records based on the principle of smooth change of the user's signaling trajectory, so that the call records are strictly sorted in time series, providing a basis for subsequent determination of the user's path information.
[0079] In an alternative embodiment, determining the daily path information of each to-be-identified user based on the call record sequences of each to-be-identified user includes:
[0080] For any to-be-identified user, based on the daily call record sequence of the to-be-identified user and a preset threshold, identify the starting point, high point, extreme point, and return point of the current day. The starting point is the starting point of the path of the current day, the high point is a destination point in the path of the current day, the extreme point is the farthest point in the path of the current day, and the return point is the end point of the path of the current day;
[0081] Determine the path information of the user to be identified on the current day based on the starting point, the high point, the extreme point, and the regression point.
[0082] Specifically, for daily call records, the step size information reflects the change in the user's location. Usually, this step size information has a process of "hovering around 0, suddenly increasing, continuously changing, and returning to hover around 0". Identify the types of punctuation spots: start (starting point), high (high point), top (extreme point), end (regression point) for subsequent path extraction:
[0083] 1. row1, row2, and row3 are three consecutive records. Initialize the start threshold TH1 = 500, the high threshold TH2 = 1000, and the top threshold TH3 = 3000. Calculate StepMaxD as the maximum value of StepH for the user on the current day;
[0084] 2. If StepH2 ≤ TH1, nvl(StepH1, 0) ≤ TH1, and StepH3 > TH1, then spot2 = start. That is, at the beginning stage of the path, when the step size value from the first row (distance to the first base station) continuously increases and the call record corresponding to the first breakthrough of the threshold TH1 is regarded as the starting point. Here, StepH1 is the StepH of row1, StepH2 is the StepH of row2, StepH3 is the StepH of row3, and nvl() is used to convert null values to 0;
[0085] If StepH2 = StepMaxD and StepH2 ≥ TH3, then spot2 = top. That is, the base station location corresponding to the call record with the distance to the first base station greater than the preset threshold is the only extreme value;
[0086] If StepH2 > TH2, StepH1 < StepH2, and StepH3 < StepH2, then spot2 = high. That is, the base station location corresponding to the call record where the distance to the first base station is first large and then small and breaks through the threshold TH2 is the high point, and the high point may not be unique;
[0087] If StepT2 ≤ TH1 and StepT1 > TH1, then spot2 = end. That is, at the end stage of the path, when the step size from the end of the row continuously decreases and the call record corresponding to the first return within the threshold TH1 is regarded as the end point. Here, StepT1 is the StepT of row1 and StepT2 is the StepT of row2;
[0088] 3. Extract the valid path, and the paths are not nested:
[0089] 1) rowT is the record of the top point, top searches forward for the adjacent start, and top searches backward for the adjacent end;
[0090] 2) If rowS is the record with the starting point before rowT, and there is no other starting point between rowS and rowT, and there is no other end point between rowS and rowT, then the starting point is found successfully;
[0091] 3) If rowE is the record with the end point after rowT, and there is no other end point between rowE and rowT, and there is no other start point between rowE and rowT, then the end point is found successfully;
[0092] 4) rowS-rowT-rowE are connected to form an identified path, which contains 0 or n high points;
[0093] 5) Eliminate interference data, and eliminate data with a certain customer's daily path number ≥ threshold TH4 (eliminating path data of users such as couriers and deliverymen). Preferably, TH4=3.
[0094] The method for identifying family member relationships provided in an embodiment of the present invention identifies the starting point, high point, extreme point and regression point based on call record data, thereby identifying the user's path information, reducing the high-dimensional base station signaling trajectory data into path information, and reducing the amount of data calculation, so as to facilitate subsequent family member relationship identification based on the path information.
[0095] In an optional embodiment, associating the path information of each of the to-be-identified users to determine similar path data includes:
[0096] The path information is divided into grids according to the latitude and longitude of the starting point;
[0097] Based on the preset window size, similarity calculation is performed on the path information corresponding to the grid in the window to determine the path similarity within the window;
[0098] The window is slid with a preset step length, and the step of performing similarity calculation on the path information corresponding to the grids in the window based on the preset window size to determine the path similarity in the window is returned, until all grids are calculated, and the similar path data is obtained.
[0099] Specifically, the path area is calculated first. The path information is projected onto a plane. The horizontal axis is the time from start to end (in hours), and the comprehensive axis is StepH and its value is positive. Then the area of the calculated graph is approximately equal to the cumulative sum of StepH.
[0100] Generate the path information table xxtest.xx_ls_gprs_trace, the field information may include but is not limited to: number, communication date, start communication period, top communication period, end communication period, start longitude and latitude, top longitude and latitude, end longitude and latitude, path duration, path area, path span (Step H of the farthest distance top);
[0101] Associate path information and rasterize. The purpose of associating path information is to find records with similar paths, not identical paths. This similarity operation has a large computational overhead at the database level, and the amount of data in the table is huge. In the embodiment of the present invention, rasterization is used to reduce the amount of computation:
[0102] Figure 2 is a schematic diagram of the rasterization process provided by the present invention, such as Figure 2 As shown, the entire data is divided into a number of grids according to the start longitude and latitude. In this embodiment, 400 (20*20) grids are used as an example for explanation;
[0103] Set the window size, taking 25 (5*5) as an example, and perform similarity calculation on only one window at a time: determine whether the start communication period, top communication period, and end communication period are similar (i.e., whether the start communication period, top communication period, and end communication period are approximately equal), determine whether the path duration is similar (i.e., whether the interval duration from start to end is similar), determine whether the path span is similar (i.e., whether the farthest distance is similar), determine whether the path area is similar, and determine whether the start longitude and latitude are similar (i.e., whether the start longitude and latitude are approximately equal);
[0104] Starting from the upper left corner, the first window is (1-5,1-5), and the data in the first window is calculated; slide the window horizontally to the right, sliding 4 grids each time, the second window is (5-9,1-5), and calculate again; slide the window horizontally in sequence until it reaches the rightmost end, then slide down 4 grids, and then slide from left to right in sequence; repeat the above process until all grids are processed.
[0105] The family member relationship identification method provided by the embodiment of the present invention, through rasterization processing, only calculates similar paths within one window each time, which greatly reduces the data processing cost and is operational in actual use.
[0106] Based on any of the above embodiments, identifying family member relationships based on the similar path data includes:
[0107] For any two users to be identified, determining a first relationship score based on a path similarity relationship between the two users to be identified;
[0108] Determine a relationship index of the two users to be identified based on the first relationship score, the second relationship score, the third relationship score and the fourth relationship score, wherein the second relationship score represents a voice association relationship between the two users to be identified, the third relationship score represents a terminal association relationship between the two users to be identified, and the fourth relationship score represents a sticky service association relationship between the two users to be identified;
[0109] Sort the relationship indexes of all users to be identified and construct a two-phase cross matrix;
[0110] Based on the biphasic cross-matrix, family member relationships are determined.
[0111] Here, if the start communication period, top communication period, and end communication period of two users to be identified are similar, the path duration is similar, the path span is similar, the path area is similar, and the start longitude and latitude are similar, then it is determined that there is spatiotemporal association management between the two users to be identified, and the first relationship score is recorded as 1.
[0112] In the embodiment of the present invention, the relationship index is calculated based on the following formula:
[0113] f(Score)=K1J1R1+K2J2R2+K3J3R3+……;
[0114] Among them, f(Score) is the relationship index, which is calculated comprehensively from various types of associations and serves as a quantitative basis for evaluating the relationship between family members. K is the weight index, J is the adjustment coefficient, and R is the relationship score.
[0115]
[0116] If the number of a certain type of R relations is too large (for example, there are many terminal association relations, which are not necessarily family relations, but may be selling mobile phones), reverse adjustment is performed through parameter J. TH is the threshold. If the number of R relations is greater than the threshold, reverse adjustment is performed.
[0117] After determining the relationship index between any two users, the family relationship index of all users is sorted to construct a bidirectional cross matrix. Each row and column in the matrix represents a user, and each element is the relationship index between the two users in the row and column. Therefore, the family relationship can be arbitrarily extracted according to the window size.
[0118] In an optional embodiment, the second relationship score is determined based on the following steps:
[0119] Based on the voice call bill information of the two users to be identified, determine the number of daytime call days, daytime call traffic, number of nighttime call days, and nighttime call traffic of the two users to be identified;
[0120] Based on the number of daytime call days, the daytime call traffic, the number of nighttime call days, and the nighttime call traffic, determine the second relationship score of the two users to be identified.
[0121] In the long run, family members are more inclined to have voice contacts during the day and less at night. From the perspective of base station signaling call bills, the coincidence degree of the base station positions of family members during their idle time is relatively high, especially for the first and last call bills. Generally speaking, family members generally have a stable long - time call ratio and are prone to short - time call behaviors during the evening rush hour.
[0122] Therefore, in the embodiments of the present invention, sort out the voice call bills in the recent period, such as the voice call bills in the recent 30 days. The field information may include the number of user A, the number of user B, communication date, communication period, caller or callee, daytime or nighttime, whether it is idle time, whether it is the evening rush hour, A base station id, B base station id, call duration, whether it is a long - time call bill, whether it is a short - time call bill, etc., and generate the voice basic table xxtest.xx_ls_voc;
[0123] Associate the information of the customer's permanent residence community and the base station location information, and supplement the fields: A permanent residence community code, A permanent residence community longitude and latitude, B permanent residence community code, B permanent residence community longitude and latitude, A all base station longitudes and latitudes, B all base station longitudes and latitudes, AB permanent residence community distance, AB all call bill base station distance, and generate the voice extended table xxtest.xx_ls_voc_append;
[0124] Screen the records with "AB permanent residence community distance < distance", summarize and generate the voice summary table xxtest.xx_ls_voc_hz. The fields include: A number, B number, proportion of days with daytime calls greater than 3KM, proportion of days with daytime calls greater than 2KM, proportion of days with daytime calls greater than 1KM, proportion of times with daytime calls greater than 3KM, proportion of times with daytime calls greater than 2KM, proportion of times with daytime calls greater than 1KM, proportion of days with nighttime calls less than 500M, proportion of times with nighttime calls less than 500M, number of daytime call days, number of nighttime call days, proportion of long - time calls except during the evening rush hour, proportion of short - time calls during the evening rush hour; it should be understood that the threshold here can be adaptively set according to the actual situation;
[0125] If the number of daytime call days > k * the number of nighttime call days, the proportion of days with nighttime calls less than 500M < r1 and the proportion of times with nighttime calls less than 500M < r2, then determine that there is a voice association relationship between AB, and the second relationship score is recorded as 1;
[0126] If the proportion of long calls during the off-get off work peak is greater than r1 and the proportion of short calls during the off-get off work peak is greater than r2, it is determined that there is a voice association relationship between AB, and the second relationship score is recorded as 1;
[0127] If both of the above two conditions are not met, it is determined that there is no voice association relationship between AB, and the second relationship score is recorded as 0.
[0128] The method for identifying family member relationships provided in an embodiment of the present invention utilizes the characteristics that family members are more inclined to have voice contact during the day and less likely to have voice contact at night, that family members generally have a stable proportion of long calls, and that they are prone to short calls during the rush hour after work, to determine the voice association relationship between users, thereby providing a basis for identifying family member relationships.
[0129] In an optional embodiment, the third relationship score is determined based on the following steps:
[0130] If a terminal IMEI number is used by one of the two to-be-identified users for several months and then continues to be used by the other to-be-identified user, it is determined that there is a terminal transfer relationship between the two to-be-identified users;
[0131] If a terminal IMEI number is used by one of the two users to be identified in the current month and is continued to be used by the other user to be identified in the next month, it is determined that there is a terminal conversion relationship between the two users to be identified;
[0132] If a certain terminal IMEI number is used by the two to-be-identified users in the same month, it is determined that the two to-be-identified users have a mixed terminal use relationship;
[0133] A third relationship score of the two to-be-identified users is determined based on the terminal transfer relationship, the terminal conversion relationship and the terminal mixed-use relationship.
[0134] Since family members may use different terminals, identifying the terminal usage is helpful to identify the family relationship. Specifically:
[0135] Terminal transfer relationship: if a terminal IMEI is used by customer A for a number of months ≥ threshold TH5 (preferably, 3), and then is continued to be used by customer B, it is determined that there is a terminal transfer relationship between AB, and the third relationship score is recorded as 1;
[0136] Terminal conversion relationship: after removing the data with terminal transfer relationship, in the remaining data, if a terminal IMEI is used by customer A in the current month and by customer B in the next month, it is determined that there is a terminal conversion relationship between AB, and the third relationship score is recorded as 1;
[0137] Terminal mixed use relationship: after eliminating the data with terminal transfer relationship and terminal conversion relationship, in the remaining data, if a terminal IMEI is used by different users in the same month, it is determined that there is a terminal mixed use relationship between these users, and the third relationship score is recorded as 1;
[0138] If the terminal transfer relationship, terminal conversion relationship, and terminal mixed use relationship do not exist, the third relationship score is recorded as 0.
[0139] In an optional embodiment, the fourth relationship score is determined based on the following steps:
[0140] If the telephone numbers of the two users to be identified are different telephone numbers opened with the same ID number, it is determined that the two users to be identified have the same ID number;
[0141] If, among the telephone numbers of the two users to be identified, one telephone number is a primary number and the other telephone number is a secondary number associated with it, or one telephone number is a secondary number and the other telephone number is another secondary number associated with it, it is determined that the two users to be identified have a secondary card relationship;
[0142] If the telephone numbers of the two users to be identified belong to the primary number and the secondary number in the family V network, or belong to the secondary number and the secondary number in the family V network, it is determined that the two users to be identified have a family V network relationship;
[0143] If the telephone numbers of the two users to be identified are the primary number and the secondary number for a payment plan, it is determined that the two users to be identified have a payment plan relationship;
[0144] Based on the same-certificate relationship, the secondary card relationship, the family V-network relationship and the payment plan relationship, a fourth relationship score of the two users to be identified is determined.
[0145] Specifically, there is a same-ID relationship between different numbers opened with the same ID number, and the fourth relationship score is recorded as 1; there is a secondary card association between the primary number and the secondary number, and between the secondary numbers when applying for a secondary card, and the fourth relationship score is recorded as 1; there is a family V-network association between the primary number and the secondary number, and between the secondary numbers when applying for a family V-network, and the fourth relationship score is recorded as 1; there is a payment plan association between the primary number and the secondary number when applying for a payment plan, and the fourth relationship score is recorded as 1; if none of the above services exist, the fourth relationship score is recorded as 0.
[0146] Figure 3 is a schematic diagram of the structure of the family member relationship identification model provided by the present invention, such as Figure 3As shown, the present invention identifies voice association relationships, spatiotemporal association relationships, terminal association relationships, and sticky business association relationships, quantifies the various types of association relationships identified previously, generates a family relationship index by weighted summation, sorts the family relationship indexes of all customers, constructs a two-way cross matrix, and can arbitrarily extract family member relationships according to the window size.
[0147] To sum up, the family member relationship identification method provided by the present invention identifies family member relationships from four levels: voice association relationship, space-time association relationship, terminal association relationship, and sticky business association relationship, providing a complete set of solutions for family member relationship identification, with strong integrity and operability; in the space-time association relationship identification, through the steps of call step length calculation, call order reordering, path punctuation, path extraction, path association, rasterization processing and other steps, the high-dimensional base station signaling trajectory data is reduced to path information, thereby solving the industry-recognized computing performance problem.
[0148] The following is a description of a family member relationship identification device provided by an embodiment of the present invention. The family member relationship identification device described below and the family member relationship identification method described above can be referenced to each other.
[0149] Figure 4 FIG. 1 is a schematic diagram of the structure of the device for identifying family member relationships provided by the present invention. Figure 4 As shown, the family member relationship identification device includes:
[0150] The call record sorting module 410 is used to sort the call record data of the users to be identified during holidays in a preset period in chronological order to obtain a call record sequence of each user to be identified;
[0151] The path determination module 420 is used to determine the daily path information of each user to be identified based on the call record sequence of each user to be identified;
[0152] The path association module 430 is used to: associate the path information of each of the to-be-identified users to determine similar path data, wherein the similar path data includes a path similarity relationship between any two to-be-identified users;
[0153] The family identification module 440 is used to identify the relationship between family members based on the similar path data.
[0154] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call a computer program in the memory 530 to execute the steps of the XXXX method, for example including:
[0155] Sort the call record data of the users to be identified during holidays in a preset time period in chronological order to obtain a call record sequence of each user to be identified;
[0156] Determining daily path information of each user to be identified based on the call record sequence of each user to be identified;
[0157] Associating the path information of each of the to-be-identified users to determine similar path data, wherein the similar path data includes a path similarity relationship between any two to-be-identified users;
[0158] Based on the similar path data, family member relationships are identified.
[0159] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0160] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the family member relationship identification method provided by the above methods, the method includes:
[0161] Sort the call record data of the users to be identified during holidays in a preset time period in chronological order to obtain a call record sequence of each user to be identified;
[0162] Determining daily path information of each user to be identified based on the call record sequence of each user to be identified;
[0163] Associating the path information of each of the to-be-identified users to determine similar path data, wherein the similar path data includes a path similarity relationship between any two to-be-identified users;
[0164] Based on the similar path data, family member relationships are identified.
[0165] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the family member relationship identification method provided by the above methods, the method comprising:
[0166] Sort the call record data of the users to be identified during holidays in a preset time period in chronological order to obtain a call record sequence of each user to be identified;
[0167] Determining daily path information of each user to be identified based on the call record sequence of each user to be identified;
[0168] Associating the path information of each of the to-be-identified users to determine similar path data, wherein the similar path data includes a path similarity relationship between any two to-be-identified users;
[0169] Based on the similar path data, family member relationships are identified.
[0170] The non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
[0171] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0172] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0173] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for identifying family member relationships, characterized in that: include: Sort the call record data of the users to be identified during holidays in a preset time period in chronological order to obtain a call record sequence of each user to be identified; Determining daily path information of each user to be identified based on the call record sequence of each user to be identified; Associating the path information of each of the to-be-identified users to determine similar path data, wherein the similar path data includes a path similarity relationship between any two to-be-identified users; Based on the similar path data, family member relationships are identified.
2. The method for identifying family member relationships according to claim 1, characterized in that: The process of sorting the call record data of the users to be identified during holidays in a preset time period in chronological order to obtain a call record sequence of each user to be identified includes: For any user to be identified, after sorting the call list data of any day in chronological order, calculate the first base station distance of each call list, the first base station distance is the distance between the base station corresponding to the call list and the first base station, the first base station is the base station corresponding to the first call list of the day; Reorder the call records in the second time period based on the largest base station distance in the first time period and the largest base station distance in the second time period, where the first time period and the second time period are any two consecutive time periods on the day; After re-sorting the call records of each time period, a daily call record sequence is obtained; After obtaining the daily call record sequence of the user to be identified on each day, the call record sequence of the user to be identified is obtained by combining.
3. The method for identifying family member relationships according to claim 2, characterized in that: The determining of daily path information of each user to be identified based on the call list sequence of each user to be identified includes: For any user to be identified, based on the daily call record sequence of the user to be identified and a preset threshold, identify the starting point, high point, extreme point and regression point of the day, wherein the starting point is the starting point of the path of the day, the high point is a destination point in the path of the day, the extreme point is the farthest point in the path of the day, and the regression point is the end point of the path of the day; Based on the starting point, the high point, the extreme point and the regression point, the path information of the user to be identified on that day is determined.
4. The method for identifying family member relationships according to claim 3, characterized in that: The associating the path information of each of the to-be-identified users to determine similar path data includes: The path information is divided into grids according to the latitude and longitude of the starting point; Based on the preset window size, similarity calculation is performed on the path information corresponding to the grid in the window to determine the path similarity within the window; The window is slid with a preset step length, and the step of performing similarity calculation on the path information corresponding to the grids in the window based on the preset window size to determine the path similarity in the window is returned, until all grids are calculated, and the similar path data is obtained.
5. The method for identifying family member relationships according to any one of claims 1 to 4, characterized in that: The identifying family member relationships based on the similar path data includes: For any two users to be identified, determining a first relationship score based on a path similarity relationship between the two users to be identified; Determine a relationship index between the two users to be identified based on the first relationship score, the second relationship score, the third relationship score, and the fourth relationship score, wherein the second relationship score represents a voice association relationship between the two users to be identified, the third relationship score represents a terminal association relationship between the two users to be identified, and the fourth relationship score represents a sticky service association relationship between the two users to be identified; Sort the relationship indexes of all users to be identified and construct a two-phase cross matrix; Based on the biphasic cross-matrix, family member relationships are determined.
6. The method for identifying family member relationships according to claim 5, characterized in that: The second relationship score is determined based on the following steps: Based on the voice call record information of the two users to be identified, determine the number of daytime call days, daytime call traffic, number of nighttime call days and nighttime call traffic of the two users to be identified; Based on the number of daytime call days, the daytime call traffic, the number of nighttime call days and the nighttime call traffic, a second relationship score between the two to-be-identified users is determined.
7. The method for identifying family member relationships according to claim 5, characterized in that: The third relationship score is determined based on the following steps: If a terminal IMEI number is used by one of the two to-be-identified users for several months and then continues to be used by the other to-be-identified user, it is determined that there is a terminal transfer relationship between the two to-be-identified users; If a terminal IMEI number is used by one of the two users to be identified in the current month and is continued to be used by the other user to be identified in the next month, it is determined that there is a terminal conversion relationship between the two users to be identified; If a certain terminal IMEI number is used by the two to-be-identified users in the same month, it is determined that the two to-be-identified users have a mixed terminal use relationship; A third relationship score of the two to-be-identified users is determined based on the terminal transfer relationship, the terminal conversion relationship and the terminal mixed-use relationship.
8. The method for identifying family member relationships according to claim 5, characterized in that: The fourth relationship score is determined based on the following steps: If the telephone numbers of the two users to be identified are different telephone numbers opened with the same ID number, it is determined that the two users to be identified have the same ID number; If, among the telephone numbers of the two users to be identified, one telephone number is a primary number and the other telephone number is a secondary number associated with it, or one telephone number is a secondary number and the other telephone number is another secondary number associated with it, it is determined that the two users to be identified have a secondary card relationship; If the telephone numbers of the two users to be identified belong to the primary number and the secondary number in the family V network, or belong to the secondary number and the secondary number in the family V network, it is determined that the two users to be identified have a family V network relationship; If the telephone numbers of the two users to be identified are the primary number and the secondary number for a payment plan, it is determined that the two users to be identified have a payment plan relationship; Based on the same-certificate relationship, the secondary card relationship, the family V-network relationship and the payment plan relationship, a fourth relationship score of the two users to be identified is determined.
9. A device for identifying family member relationships, characterized in that: include: The call list sorting module is used to sort the call list data of the users to be identified during holidays in a preset period in chronological order to obtain a call list sequence of each user to be identified; A path determination module, used to: determine the daily path information of each user to be identified based on the call record sequence of each user to be identified; A path association module is used to: associate the path information of each of the users to be identified to determine similar path data, wherein the similar path data includes a path similarity relationship between any two users to be identified; The family identification module is used to identify the relationship between family members based on the similar path data.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the family member relationship identification method as described in any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for identifying family member relationships as described in any one of claims 1 to 8 is implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for identifying family member relationships as described in any one of claims 1 to 8 is implemented.
