Data analysis method, device, electronic device and storage medium

By obtaining and calculating the associated behavior data of the target object, the behavior and relationship correlation between people are determined, which solves the problem in the existing technology that it is difficult to accurately judge the closeness of the relationship between people, and realizes the construction of accurate personnel relationship network. and problem solving.

CN114036203BActive Publication Date: 2024-09-24ZHEJIANG DAHUA TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111202156.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2024-09-24
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

It is difficult to accurately judge the closeness of the relationship between people with existing technology, which affects the solution of problems such as finding lost children or lost elderly people.

Method used

By obtaining the relevant behavioral data of the target object, calculating the behavioral correlation and relationship correlation, and determining the total correlation based on the weight, an accurate personnel relationship network can be established.

Benefits of technology

It achieves accurate judgment on the closeness of the relationship between people, improves the accuracy of the personnel relationship network, and can more effectively solve problems such as finding lost persons.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114036203B
    Figure CN114036203B
Patent Text Reader

Abstract

The present application provides a data analysis method, device, electronic device and storage medium, which are related to the field of cloud computing cardinality, and obtain the associated behavior data of the first target object and the second target object within a set time period; determine the behavior association degree between the first target object and the second target object based on the associated behavior data; obtain the relationship association degree between the first target object and the second target object; determine the total association degree between the first target object and the second target object according to the behavior association degree and the relationship association degree and their corresponding weights. The total association degree of the first target object and the second target object is considered together by the behavior association degree and the relationship association degree, and the total association degree is accurately obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud computing technology, and in particular to a data analysis method, device, electronic device and storage medium. Background Art

[0002] With the development of network information technology and Internet of Things technology, various information collection equipment in cities are constantly improving, and more and more places in cities can obtain people's data information. It is imperative to mine useful value from large amounts of data.

[0003] In many real-life scenarios, if the closeness of relationships between different people can be obtained, it can help solve many problems. For example, by establishing the closeness of relationships between people, it can help find lost children or lost elderly people. Therefore, how to determine the closeness of relationships between people based on big data is an urgent problem to be solved. Summary of the invention

[0004] In order to solve the above-mentioned problems in the prior art, an embodiment of the present application provides a data analysis method, which can accurately determine the total correlation between the first target object and the second target object.

[0005] In a first aspect, an embodiment of the present application provides a data analysis method, the method comprising:

[0006] Acquire the associated behavior data of the first target object and the second target object within a set time period;

[0007] Based on the associated behavior data, determining a behavior association degree between the first target object and the second target object;

[0008] Obtaining a relationship correlation between the first target object and the second target object;

[0009] The total correlation between the first target object and the second target object is determined according to the behavior correlation and the relationship correlation and their corresponding weights.

[0010] In a possible implementation manner, before obtaining the associated behavior data of the first target object and the second target object within a set time period, the method further includes:

[0011] determining the first target object;

[0012] The second target object is determined from the social relationship list of the first target object; or the second target object is determined from the behavior data of the first target object within the set time period.

[0013] In a possible implementation, the acquiring of the associated behavior data of the first target object and the second target object within a set time period includes:

[0014] From the behavior data of the first target object or the second target object, the behavior data including the first target object and the second target object is extracted as the associated behavior data of the first target object and the second target object.

[0015] In a possible implementation, determining the behavior association degree between the first target object and the second target object based on the associated behavior data includes:

[0016] Based on the association behavior data, determining various types of association behaviors occurring between the first target object and the second target object;

[0017] For each type of association behavior, perform the following operations:

[0018] Determine the number of days on which the associated behavior of the type occurs in the associated behavior data; the number of days on which the associated behavior of the type occurs is the number of days on which the associated behavior occurs from the first occurrence to the last occurrence;

[0019] Determining the number of occurrences of the associated behavior of the type in the associated behavior data;

[0020] The behavior association degree is determined based on the occurrence days and the occurrence times of the associated behavior of the type.

[0021] In a possible implementation, determining the behavior correlation based on the number of days and number of occurrences of the type of associated behavior includes:

[0022] Based on the associated behavior data, respectively determine the time difference between the current date and the date on which each associated behavior of the type occurs, to obtain a plurality of time differences;

[0023] Based on the associated behavior data, respectively determine the time difference between the current date and the date on which the associated behavior occurs, and obtain a plurality of different time differences in days;

[0024] Determining the days on which the decay occurs based on a preset day decay constant corresponding to the type of associated behavior, the multiple day time differences, and the days on which the type of associated behavior occurs;

[0025] Determining the number of occurrences of the decay based on a preset number decay constant corresponding to the type of associated behavior, the multiple number time differences, and the number of occurrences of the type of associated behavior;

[0026] The behavior correlation is determined based on the decline occurrence days and the decline occurrence times.

[0027] In a possible implementation, determining the decay occurrence day based on a preset day decay constant corresponding to the associated behavior of the type, the multiple day time differences, and the occurrence day of the associated behavior of the type includes:

[0028] For each of the multiple day time differences, respectively perform the following operations: using the day decay constant as a base and the day time difference as an exponent, determine a day decay amount corresponding to the day time difference;

[0029] The decay amounts of multiple days corresponding to the time differences of multiple days are summed up to obtain the decay days of the associated behavior.

[0030] In a possible implementation, determining the decay occurrence number based on a preset decay constant corresponding to the associated behavior of the type, the multiple time differences, and the occurrence number of the associated behavior of the type includes:

[0031] For each of the multiple time differences, respectively perform the following operations: using the time decay constant as a base and the time difference as an exponent to determine a time decay amount corresponding to the time difference;

[0032] The decay quantities corresponding to each time difference are summed to obtain the decay occurrence times.

[0033] In a possible implementation, determining the behavior association based on the number of times the decline occurs and the number of days the decline occurs includes:

[0034]

[0035] Indicates occurrence of r i When the type of associated behavior is i Indicates the type of associated behavior; p1 indicates the first target object; p2 indicates the second target object; CNT indicates the number of times the decay occurs; DAY indicates the number of days the decay occurs; a indicates a constant.

[0036] In a possible implementation manner, obtaining the relationship correlation between the first target object and the second target object includes:

[0037] The relationship association degree is determined according to the social attribute relationship between the first target object and the second target object; the social attribute relationship is obtained from a social relationship list of the first target object or the second target object.

[0038] In a possible implementation, the behavior association degree includes at least one type of behavior association degree; and determining the total association degree between the first target object and the second target object according to the behavior association degree and the relationship association degree and their corresponding weights includes:

[0039] The sum of the associations is divided by the sum of the weights to obtain the total association; the sum of the associations is the sum of each type of behavior association multiplied by the corresponding weight and the relationship association multiplied by the corresponding weight; the sum of the weights is the sum of the weight corresponding to each type of behavior association and the weight corresponding to the relationship association.

[0040] In a second aspect, an embodiment of the present application provides a data analysis device, the device comprising:

[0041] A first acquisition unit, used to acquire associated behavior data of a first target object and a second target object within a set time period;

[0042] A first determining unit, configured to determine a degree of behavioral association between the first target object and the second target object based on the associated behavior data;

[0043] A second acquisition unit, configured to acquire a relationship correlation between the first target object and the second target object;

[0044] The second determining unit is used to determine the total correlation between the first target object and the second target object according to the behavior correlation and the relationship correlation and their corresponding weights.

[0045] In a possible implementation, the device further includes:

[0046] The first acquisition unit is used to determine the first target object; determine the second target object from the social relationship list of the first target object; or determine the second target object from the behavior data of the first target object within the set time period.

[0047] In a possible implementation manner, the first acquiring unit is further configured to:

[0048] From the behavior data of the first target object or the second target object, the behavior data including the first target object and the second target object is extracted as the associated behavior data of the first target object and the second target object.

[0049] In a possible implementation manner, the first determining unit is further configured to:

[0050] Based on the association behavior data, determining various types of association behaviors occurring between the first target object and the second target object;

[0051] For each type of association behavior, perform the following operations:

[0052] Determine the number of days on which the associated behavior of the type occurs in the associated behavior data; the number of days on which the associated behavior of the type occurs is the number of days on which the associated behavior occurs from the first occurrence to the last occurrence;

[0053] Determining the number of occurrences of the associated behavior of the type in the associated behavior data;

[0054] The behavior association degree is determined based on the occurrence days and the occurrence times of the associated behavior of the type.

[0055] In a possible implementation manner, the first determining unit is further configured to:

[0056] Based on the associated behavior data, respectively determine the time difference between the current date and the date on which each associated behavior of the type occurs, to obtain a plurality of time differences;

[0057] Based on the associated behavior data, respectively determine the time difference between the current date and the date on which the associated behavior occurs, and obtain a plurality of different time differences in days;

[0058] Determining the days on which the decay occurs based on a preset day decay constant corresponding to the type of associated behavior, the multiple day time differences, and the days on which the type of associated behavior occurs;

[0059] Determining the number of occurrences of the decay based on a preset number decay constant corresponding to the type of associated behavior, the multiple number time differences, and the number of occurrences of the type of associated behavior;

[0060] The behavior correlation is determined based on the decline occurrence days and the decline occurrence times.

[0061] In a possible implementation manner, the first determining unit is further configured to:

[0062] For each of the multiple day time differences, respectively perform the following operations: using the day decay constant as a base and the day time difference as an exponent, determine a day decay amount corresponding to the day time difference;

[0063] The decay amounts of multiple days corresponding to the time differences of multiple days are summed up to obtain the decay days of the associated behavior.

[0064] In a possible implementation manner, the first determining unit is further configured to:

[0065] For each of the multiple time differences, respectively perform the following operations: using the time decay constant as a base and the time difference as an exponent to determine a time decay amount corresponding to the time difference;

[0066] The decay quantities corresponding to each time difference are summed to obtain the decay occurrence times.

[0067] In a possible implementation manner, the first determining unit is further configured to:

[0068] Determining the degree of association of the behaviors includes:

[0069]

[0070] Indicates occurrence of r i When the type of associated behavior is i Indicates the type of associated behavior; p1 indicates the first target object; p2 indicates the second target object; CNT indicates the number of times the decay occurs; DAY indicates the number of days the decay occurs; a indicates a constant.

[0071] In a possible implementation manner, the second acquiring unit is further configured to:

[0072] The relationship association degree is determined according to the social attribute relationship between the first target object and the second target object; the social attribute relationship is obtained from a social relationship list of the first target object or the second target object.

[0073] In a possible implementation manner, the second determining unit is further configured to:

[0074] The sum of the associations is divided by the sum of the weights to obtain the total association; the sum of the associations is the sum of each type of behavior association multiplied by the corresponding weight and the relationship association multiplied by the corresponding weight; the sum of the weights is the sum of the weight corresponding to each type of behavior association and the weight corresponding to the relationship association.

[0075] In a third aspect, an embodiment of the application provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the computer program is executed by the processor, the steps of any one of the data analysis methods in the first aspect are implemented.

[0076] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the data analysis methods in the first aspect are implemented.

[0077] The present application provides a data analysis method, which obtains the association behavior data of the first target object and the second target object within a set time period; determines the behavior association degree between the first target object and the second target object based on the association behavior data; obtains the relationship association degree between the first target object and the second target object; and determines the total association degree between the first target object and the second target object according to the behavior association degree and the relationship association degree and their corresponding weights. The total association degree of the first target object and the second target object is considered together by the behavior association degree and the relationship association degree, and the total association degree is accurately obtained. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0079] Figure 1 A flowchart of a data analysis method provided in an embodiment of the present application;

[0080] Figure 2 A comparison chart of occurrence days and recession occurrence days provided in an embodiment of the present application;

[0081] Figure 3 A schematic diagram of another data analysis method provided in an embodiment of the present application;

[0082] Figure 4 A schematic diagram of the structure of a data analysis device provided in an embodiment of the present application;

[0083] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0084] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0085] It should be noted that the terms "including" and "having" and their variations involved in the documents of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0086] In order to more accurately determine the correlation between people, an accurate personnel relationship network is established through accurate correlation. The embodiment of the present application provides a data analysis method, device, electronic device and storage medium, which obtains the correlation behavior data of the first target object and the second target object within a set time period; based on the correlation behavior data, determines the behavior correlation between the first target object and the second target object; obtains the relationship correlation between the first target object and the second target object; according to the behavior correlation and the relationship correlation and their corresponding weights, determines the total correlation between the first target object and the second target object. The total correlation of the first target object and the second target object is considered together through the behavior correlation and the relationship correlation, and the total correlation is accurately obtained, and an accurate personnel relationship network is established with the obtained accurate total correlation.

[0087] The data sharing method in this application is applied to the server. Figure 1 The flowchart of a data analysis method provided by an embodiment of the present application is shown, which is applied to a server. Figure 1 As shown, the data analysis method provided in the embodiment of the present application includes the following steps:

[0088] Step S101: Acquire the associated behavior data of the first target object and the second target object within a set time period.

[0089] The server can obtain the associated behavior data of the first target object and the second target object through the data collection device. The data collection device here can be a roadside camera device, social data on a mobile phone, etc., or data in the public security internal database.

[0090] The associated behavior data refers to the data of associated behaviors between the first target object and the second target object. The associated behaviors may include the following types of behaviors, such as: traveling together, on the same train, on the same flight, in the same car, in the same hotel, in the same Internet cafe, committing the same crime, etc.

[0091] Colleagues refer to two related people being captured multiple times within a few seconds of each other by the same device within a certain period of time.

[0092] The same train, the same flight, the same car means that two related persons take the same train, plane, or car at the same time.

[0093] Same hotel means two related persons staying in the same hotel within a certain time difference.

[0094] The same Internet cafe means that two related people use the Internet in the same Internet cafe within a certain time difference.

[0095] Joint crime refers to two related persons participating in a criminal incident together.

[0096] In a possible embodiment, the first target object is first determined, and the second target object is determined from the behavior data of the first target object within a set time period. After the second target object is determined, the behavior data of the second target object is obtained through the server, and the behavior data of the second target object is compared with the behavior data of the first target object to extract the behavior data containing both the first target object and the second target object, so that the associated behavior data between the second target object and the first target object can be obtained.

[0097] Behavioral data may specifically include: personnel trajectory data, accommodation, Internet access information, rental information, train ticket purchases, bus ticket purchases, airline ticket purchases, etc., or information collected from various criminal cases.

[0098] A specific method for searching for the associated behavior data between the second target object and the first target object is as follows: from the behavior data of the first target object, it can be seen that the second target object and the first target object appear multiple times and are captured by the same device within a few seconds before and after. This is the associated behavior data of the same type between the second target object and the first target object.

[0099] In another possible embodiment, the first target object is first determined, and the second target object is determined from the social relationship list of the first target object. After the second target object is determined, the behavior data of the second target object is obtained through the server, and the behavior data of the second target object is compared with the behavior data of the first target object to extract the behavior data that contains both the first target object and the second target object, so that the associated behavior data between the second target object and the first target object can be obtained.

[0100] The social relationship list of the first target object may include spouse, children, parents, grandparents, brothers and sisters, landlord, guardian, etc.

[0101] The way to obtain the social relationship list is to find the family relationship of the personnel by collecting various registration data within the public security. Or extract the relationship between the first target object and other people from the household registration, rental registration, etc. Through comprehensive query, a social relationship list can be established. Then, a second target object can be arbitrarily determined from the social relationship list.

[0102] After determining the second target object, the specific method for searching for the associated behavior data between the second target object and the first target object can be: checking the behavior data of the first target object and the behavior data of the second target, and finding that two people are surfing the Internet in the same Internet cafe during the same time period, or are surfing the Internet in the same Internet cafe within a certain time difference, which is the associated behavior data of the same Internet cafe type between the second target object and the first target object.

[0103] Step S102: Determine the behavior correlation between the first target object and the second target object based on the correlation behavior data.

[0104] In a possible implementation, various types of associated behaviors occurring between the first target object and the second target object are determined based on the associated behavior data. The process of processing a type of associated behavior is as follows: determining the number of days of occurrence of a certain type of associated behavior in the associated behavior data, where the number of days of occurrence is the number of days from the first occurrence to the last occurrence of this type of associated behavior. After determining the number of days of occurrence of the associated behavior, determine the number of occurrences of this type of associated behavior in the associated behavior data. The behavior correlation is determined by the number of days of occurrence and the number of occurrences.

[0105] For example, if the associated behavior between the first target object and the second target object is a peer-to-peer type, there are 5 peer-to-peer behaviors within 10 days from September 1 to September 10, and these five peer-to-peer behaviors occur once on September 2, twice on September 3, once on September 4, and once on September 8. Then, it can be determined from such data that the number of days of occurrence is 4 and the number of occurrences is 5.

[0106] Here, the number of times the first target object and the second target object engage in peer behavior can be recorded as n, and the number of days the first target object and the second target object engage in peer behavior can be recorded as m. The behavior correlation is determined by the number of occurrences and the number of days.

[0107] The formula for determining behavioral relevance is as follows:

[0108]

[0109] r i Indicates the type of association behavior; p1 indicates the first target object; p2 indicates the second target object; a indicates a constant, Indicates occurrence of r i When a type of associated behavior is generated, the behavioral association between the first target object and the second target object is based on the number of occurrences and the number of days of occurrence, and a is a constant.

[0110] In another possible implementation, based on the associated behavior data, the time difference between the current date and the date on which the associated behavior occurs is determined to obtain a plurality of different time differences in days, and the number of days on which the associated behavior of the type is determined based on the day decay constant corresponding to the pre-set type of associated behavior, the plurality of time differences in days, and the number of days on which the associated behavior of the type occurs. Based on the associated behavior data, the time difference between the current date and the date on which each associated behavior of a certain type occurs is determined to obtain a plurality of time differences in number, and the number of times the decay occurs is determined based on the pre-set number decay constant corresponding to the type of associated behavior, the plurality of time differences in number, and the number of times the associated behavior of the type occurs.

[0111] Considering that after the association behavior occurs between the first target object and the second target object, the association degree becomes weaker as the number of days after the association behavior increases, which means that the association degree decays as the number of days after the behavior increases. Therefore, in the process of calculating the association degree, the decay factor is taken into account from the day after the behavior occurs to the day when the association degree is to be calculated, so that the behavior association degree can be more accurate when considering the factors affected by the number of days.

[0112] For example, if the associated behavior between the first target object and the second target object is a peer-to-peer type, there are 5 peer-to-peer behaviors within 10 days from September 1 to September 10, and these five peer-to-peer behaviors occur once on September 2, twice on September 3, once on September 4, and once on September 8. Then, it can be determined from such data that the number of days of occurrence is 4 and the number of occurrences is 5.

[0113] If the current date is September 20, the way to calculate the time difference in days is to determine the time difference between the current date and the date when the associated behavior occurs. If the number of days is 4, the time difference in days is 4, the time difference in days on the first day is 18 days, the time difference in days on the second day is 17 days, the time difference in days on the third day is 16 days, and the time difference in days on the fourth day is 12 days.

[0114] After the calculation is completed, the days of recession are calculated using the days recession formula. The days recession formula is as follows:

[0115]

[0116] r i Indicates the type of associated behavior; p1 indicates the first target object; p2 indicates the second target object; Indicates that r i When the type of association behavior is set, the number of days that the decay between the first target object and the second target object occurs; g d represents the decay constant of the number of days when type i of association behavior occurs; T jrepresents the time difference in days; j represents the occurrence of the associated behavior on the jth day; m represents the number of days it occurs. j The value range of is [0, +∞).

[0117] The day decay constant corresponding to the associated behavior under the same industry type can be set to 0.5, and the number of days of decay obtained by calculation is:

[0118] DAY=0.5 18 +0.5 17 +0.5 16 +0.5 12

[0119] In the process of associated behavior, there may be multiple days of time difference when calculating the degree of association, so calculation is performed for each day of time difference, and the days of decay calculated using the day of time difference are accumulated and summed to obtain the days of decay of the associated behavior.

[0120] If a peer-type association behavior occurs on September 2 and only occurs once, and the association degree is calculated on September 20, the day decay calculated using the time difference of the first day is 0.5. 18 , because it only occurs for one day, the number of days for the recession to occur is also 0.5 18 , the result is 0.000003.

[0121] If the number of days after the associated behavior occurs is not introduced to affect the behavior correlation, a peer-type associated behavior occurs on September 2, and only occurs once, then the number of days on September 20 when calculating the behavior correlation is 1. Figure 2 A schematic diagram comparing the number of days for a peer relationship to occur 18 days ago and the number of days for a decline to occur is shown.

[0122] Therefore, if the peer-type associated behavior occurs on the first day and does not occur in the following 18 days, the number of days of decay may be only equivalent to 0.000003. It can be seen that in this case, the behavioral correlation between the first target object and the second target object is extremely small. It may be that they met by chance and thus formed a peer relationship. Therefore, the influence of the number of days after the associated behavior occurs on the behavioral correlation is introduced. By this means, a very accurate behavioral correlation can be obtained.

[0123] If the current date is September 20, the method for calculating the time difference in the number of times is to determine the time difference between the current date and the date of each associated behavior. The time difference in the number of times the first associated behavior occurs is 18 days, the time difference in the number of times the second associated behavior occurs is 17 days, the time difference in the number of times the third associated behavior occurs is 17 days, the time difference in the number of times the fourth associated behavior occurs is 16 days, and the time difference in the number of times the fifth associated behavior occurs is 12 days.

[0124] After the calculation is completed, the number of times the recession occurs is calculated using the day recession formula. The number recession formula is as follows:

[0125]

[0126] r i Indicates the type of associated behavior; p1 indicates the first target object; p2 indicates the second target object; Indicates that r i The number of decays between the first target object and the second target object when the type of association behavior is c represents the decay constant of the number of times type i of associated behavior occurs; T k represents the time difference between the times; k represents the kth occurrence of the associated behavior; n represents the number of occurrences. k The value range of is [0, +∞).

[0127] The decay constant of the number of associated behaviors under the same type can be set to 0.8, and the number of decay occurrences obtained by calculation is:

[0128] CNT=0.8 18 +0.8 17 +0.8 17 +0.8 16 +0.8 12

[0129] In the process of associated behavior, there may be multiple times-time differences when calculating the degree of association, so calculation is performed for each times-time difference, and the times-time decay amounts calculated using the times-time differences are accumulated and summed to obtain the times of decay of the associated behavior.

[0130] in, It will gradually decay from 1 and eventually approach 0. That is to say, when the time interval between a certain behavior and the current time is 0, the number of occurrences and the number of days of occurrence are 1. As the time interval increases, the number of occurrences and the number of days of occurrence of the behavior will gradually decay.

[0131] After determining the number of recessions and the number of days the recession occurred, the behavioral correlation can be determined. The formula for determining the behavioral correlation is as follows:

[0132]

[0133] Indicates occurrence of r i When the type of associated behavior is iIndicates the type of associated behavior; p1 indicates the first target object; p2 indicates the second target object; CNT indicates the number of times the decay occurs; DAY indicates the number of days the decay occurs; a indicates a constant.

[0134] It can be seen from the above formula that the greater the number of recessions and the number of days the recession occurs, the greater the behavioral correlation and the closer the correlation.

[0135] In the case of considering the number of recession days, the number of recession occurrences and the number of recession days are determined, and the behavior correlation is determined by the number of recession occurrences and the number of recession days, so that the behavior correlation can be more accurate.

[0136] After the behavior association degree is calculated in step S102, step S103 is performed.

[0137] Step S103: Obtain the relationship between the first target object and the second target object.

[0138] In a possible implementation, the relationship correlation is determined according to the social attribute relationship between the first target object and the second target object.

[0139] Exemplarily, the first target object is obtained, and the second target object is determined from the social relationship list of the first target object. The social relationship list of the first target object may include spouse, children, parents, grandparents, siblings, landlord, guardian, etc. The second target object may be the brother of the first target object, and the social attribute relationship between the first target object and the second target object is determined. Knowing that the second target object may be the brother of the first target object, it can be directly searched according to the preset relationship association corresponding to the social attribute relationship.

[0140] Therefore, if the second target object may be a brother of the first target object, the relationship type is recorded as p, and the relationship association degree can be h = 0.6. The relationship association degree is static, and its value is a constant between [0, 1].

[0141] Step S104: determining the total correlation between the first target object and the second target object according to the behavior correlation and the relationship correlation and their corresponding weights.

[0142] In a possible embodiment, the sum of the association degrees is the sum of the corresponding weight multiplied by the behavior association degree of each type and the corresponding weight multiplied by the relationship association degree, and the sum of the weight corresponding to the behavior association degree of each type and the weight corresponding to the relationship association degree is the sum of the weights. The total association degree can be obtained by dividing the sum of the association degrees by the sum of the weights.

[0143] The behavior association degree includes the behavior association degree of at least one type of associated behavior between the first target object and the second target object.

[0144] Different types of associated behaviors have different "importances" to the total association degree, that is, different types of associated behaviors correspond to different weights. For example, if the weight of living together is larger than that of going to the same Internet cafe when calculating the total association degree, the weight value corresponding to the behavioral association degree of living together can be set to 0.9, and the weight value corresponding to the behavioral association degree of going to the same Internet cafe can be set to 0.7. The weights of the relationship associations determined by different types of relationships are also different. The brother relationship can be set to 0.5, and the father-son relationship can account for 0.9. After determining the relationship association degree and the behavioral association degree, as well as the weight values ​​corresponding to the relationship association degree and the weight values ​​corresponding to the behavioral association degree, the total association degree can be determined.

[0145] The calculation formula for determining the total correlation is as follows:

[0146]

[0147] w i Represents r i The weight value corresponding to the associated behavior degree under the type; w p Indicates the weight value corresponding to the relationship association degree under type p; Represents r i The behavior correlation under type; h represents the relationship correlation under type p; b = i + p; w b It represents the sum of the weight value corresponding to each type of association behavior degree and the weight value corresponding to each type of relationship association degree; Represents the total correlation.

[0148] The data analysis method provided in the embodiments of the present application specifically provides a possible and detailed embodiment. Figure 3 A flowchart of another data analysis method is shown.

[0149] Step S301: determine the first target object.

[0150] Step S302: Determine the second target object from the social relationship list of the first target object; or determine the second target object from the behavior data of the first target object within a set time period.

[0151] Step S303: extracting the behavior data including the first target object and the second target object from the behavior data of the first target object or the second target object as the associated behavior data of the first target object and the second target object.

[0152] Step S304: Based on the association behavior data, various types of association behaviors occurring between the first target object and the second target object are determined.

[0153] Step S305: for various types of associated behaviors, determine the occurrence days and occurrence times of various types of associated behaviors in the associated behavior data.

[0154] Step S306: Determine the days of decline occurrence based on the associated behavior data corresponding to the preset type of associated behavior and the days of occurrence of the associated behavior of the corresponding type.

[0155] Step S307: Determine the number of decay occurrences based on the associated behavior data corresponding to the preset type of associated behavior and the number of occurrences of the corresponding type of associated behavior.

[0156] Step S308: Determine the behavior correlation based on the number of days when the decline occurs and the number of times the decline occurs.

[0157] Step S309: Determine the relationship correlation degree according to the social attribute relationship between the first target object and the second target object.

[0158] The social attribute relationship is obtained from the social relationship list of the first target object or the second target object.

[0159] Step S310: Divide the sum of the association degrees by the sum of the weights to obtain the total association degree.

[0160] The sum of the associations is the sum of each type of behavior association multiplied by the corresponding weight and the relationship association multiplied by the corresponding weight, and the sum of the weights is the sum of the weight corresponding to each type of behavior association and the weight corresponding to the relationship association.

[0161] When the correlation behavior occurs, the correlation degree is calculated based on the difference in days between the date when the correlation behavior occurs and the day when the correlation behavior occurs. The correlation degree shows a declining trend as the difference in days increases. Therefore, in this case, the calculated behavior correlation degree is more accurate. At the same time, the relationship correlation degree is also taken into account. The social relationship between the first target object and the second target object is also an important factor affecting the total correlation degree between the two people. Therefore, the total correlation degree determined by the more accurate behavior correlation degree and the relationship correlation degree can obtain an accurate total correlation degree. By calculating the total correlation degree between the first target object and multiple people in this way, a personnel relationship network can be accurately constructed, and a detailed and accurate relationship network can be used to find missing persons.

[0162] The embodiment of the present application also provides a data analysis device. Figure 4 A schematic diagram of the structure of a data analysis device provided in an embodiment of the present application; Figure 4 As shown, the data analysis device comprises:

[0163] The first acquisition unit 401 is used to acquire the associated behavior data of the first target object and the second target object within a set time period;

[0164] A first determining unit 402 is used to determine the behavior correlation between the first target object and the second target object based on the correlation behavior data;

[0165] The second acquisition unit 403 is used to acquire the relationship between the first target object and the second target object;

[0166] The second determining unit 404 is used to determine the total correlation between the first target object and the second target object according to the behavior correlation and the relationship correlation and their corresponding weights.

[0167] In a possible implementation manner, the first acquiring unit 401 is further configured to:

[0168] Determine a first target object; determine a second target object from a social relationship list of the first target object; or determine the second target object from behavior data of the first target object within a set time period.

[0169] In a possible implementation manner, the first acquiring unit 401 is further configured to:

[0170] From the behavior data of the first target object or the second target object, the behavior data including the first target object and the second target object is extracted as the associated behavior data of the first target object and the second target object.

[0171] In a possible implementation manner, the first determining unit 402 is further configured to:

[0172] Based on the association behavior data, determining various types of association behaviors occurring between the first target object and the second target object;

[0173] For each type of association behavior, perform the following operations:

[0174] Determine the number of days that the associated behavior of the type occurs in the associated behavior data; the number of days that the associated behavior of the type occurs is the number of days from the first occurrence to the last occurrence;

[0175] Determine the number of occurrences of the type of associated behavior in the associated behavior data;

[0176] Determine the behavior relevance based on the days and number of occurrences of the associated behavior of the type.

[0177] In a possible implementation manner, the first determining unit 402 is further configured to:

[0178] Based on the associated behavior data, determine the time difference between the current date and the date of each associated behavior of the same type, and obtain multiple time differences;

[0179] Based on the associated behavior data, the time difference between the current date and the date on which the associated behavior occurs is determined to obtain multiple time differences of different days;

[0180] Determine the days of decay occurrence based on a preset day decay constant corresponding to the associated behavior of the type, a plurality of day time differences, and the days of occurrence of the associated behavior of the type;

[0181] Determine the number of decay occurrences based on a predetermined number decay constant corresponding to the associated behavior of the type, a plurality of number time differences, and the number of occurrences of the associated behavior of the type;

[0182] Based on the number of days the recession occurred and the number of recessions, the behavioral relevance was determined.

[0183] In a possible implementation manner, the first determining unit 402 is further configured to:

[0184] For each of the multiple day time differences, respectively perform the following operations: using the day decay constant as a base and the day time difference as an exponent to determine a day decay amount corresponding to the day time difference;

[0185] The decay amounts of multiple days corresponding to the time differences of multiple days are summed up to obtain the decay days of the associated behavior.

[0186] In a possible implementation manner, the first determining unit 402 is further configured to:

[0187] For each of the multiple frequency time differences, respectively perform the following operations: using the frequency decay constant as the base and the frequency time difference as the exponent to determine the frequency decay amount corresponding to the frequency time difference;

[0188] The decay quantities corresponding to each time difference are summed to obtain the number of decay occurrences.

[0189] In a possible implementation manner, the first determining unit 402 is further configured to:

[0190] Determine behavioral relevance, including:

[0191]

[0192] Indicates occurrence of r i When the type of associated behavior is iIndicates the type of associated behavior; p1 indicates the first target object; p2 indicates the second target object; CNT indicates the number of times the decay occurs; DAY indicates the number of days the decay occurs; a indicates a constant.

[0193] In a possible implementation, the second obtaining unit 403 is further configured to:

[0194] The relationship association degree is determined according to the social attribute relationship between the first target object and the second target object; the social attribute relationship is obtained from the social relationship list of the first target object or the second target object.

[0195] In a possible implementation manner, the second determining unit 404 is further configured to:

[0196] Divide the sum of the associations by the sum of the weights to get the total association; the sum of the associations is the sum of each type of behavior association multiplied by the corresponding weight and the relationship association multiplied by the corresponding weight; the sum of the weights is the sum of the weight corresponding to each type of behavior association and the weight corresponding to the relationship association.

[0197] The embodiment of the present application also provides an electronic device, which includes at least a memory and a processor for storing data, wherein, for the processor for data processing, when executing the processing, a microprocessor, a CPU, a GPU (Graphics Processing Unit), a DSP or an FPGA can be used. For the memory, the memory stores an operation instruction, which can be a computer executable code, and each step in the process of the data analysis method of the embodiment of the present application is implemented by the operation instruction.

[0198] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 500 includes a memory 501, a processor 502, a data acquisition module 503 and a bus 504. The memory 501, the processor 502 and the data acquisition module 503 are all connected via the bus 504, and the bus 504 is used to transmit data between the memory 501, the processor 502 and the data acquisition module 503.

[0199] Among them, the memory 501 can be used to store software programs and modules, and the processor 502 executes various functional applications and data processing of the electronic device 500 by running the software programs and modules stored in the memory 501, such as the data analysis method provided in the embodiment of the present application. The memory 501 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application application, etc.; the data storage area may store data created according to the use of the electronic device 500, etc. In addition, the memory 501 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0200] The processor 502 is the control center of the electronic device 500, and uses the bus 504 and various interfaces and lines to connect various parts of the entire electronic device 500, and executes various functions and processes data of the electronic device 500 by running or executing software programs and / or modules stored in the memory 501, and calling data stored in the memory 501. Optionally, the processor 502 may include one or more processing units, such as a CPU, a GPU (Graphics Processing Unit), a digital processing unit, etc.

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

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

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

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

[0205] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A data analysis method, characterized in that: The method comprises: Acquire the associated behavior data of the first target object and the second target object within a set time period; Based on the associated behavior data, determining a behavior association degree between the first target object and the second target object; Obtaining a relationship correlation between the first target object and the second target object; Determining a total correlation between the first target object and the second target object according to the behavior correlation and the relationship correlation and their corresponding weights; Wherein, determining the behavior correlation between the first target object and the second target object based on the correlation behavior data includes: Based on the association behavior data, determining various types of association behaviors occurring between the first target object and the second target object; For any type of association behavior, perform the following operations: Determine the number of days on which the associated behavior of the type occurs in the associated behavior data; the number of days on which the associated behavior of the type occurs is the number of days on which the associated behavior occurs from the first occurrence to the last occurrence; Determining the number of occurrences of the associated behavior of the type in the associated behavior data; Based on the associated behavior data, respectively determine the time difference between the current date and the date on which each associated behavior of the type occurs, to obtain a plurality of time differences; Based on the associated behavior data, respectively determine the time difference between the current date and the date on which the associated behavior of the type occurs, and obtain a plurality of different time differences in days; Determine the days of decay occurrence based on a preset day decay constant corresponding to the associated behavior of the type, a plurality of day time differences and the days of occurrence of the associated behavior of the type; Determining the number of decay occurrences based on a preset number decay constant corresponding to the type of associated behavior, the multiple number time differences, and the number of occurrences of the type of associated behavior; The behavior correlation is determined based on the decline occurrence days and the decline occurrence times.

2. The method according to claim 1, characterized in that Before obtaining the associated behavior data of the first target object and the second target object within the set time period, the method further includes: determining the first target object; The second target object is determined from the social relationship list of the first target object; or the second target object is determined from the behavior data of the first target object within the set time period.

3. The method according to claim 1 or 2, characterized in that: The obtaining of the associated behavior data of the first target object and the second target object within a set time period includes: From the behavior data of the first target object or the second target object, the behavior data including the first target object and the second target object is extracted as the associated behavior data of the first target object and the second target object.

4. The method according to claim 1, characterized in that The determining the decay occurrence days based on the preset day decay constant corresponding to the associated behavior of the type, the multiple day time differences and the occurrence days of the associated behavior of the type includes: For each of the multiple day time differences, respectively perform the following operations: using the day decay constant as a base and the day time difference as an exponent, determine a day decay amount corresponding to the day time difference; The decay amounts of multiple days corresponding to the time differences of multiple days are summed up to obtain the decay days of the associated behavior.

5. The method according to claim 1, characterized in that The determining the number of occurrences of the decay based on a preset number decay constant corresponding to the type of associated behavior, the multiple number time differences and the number of occurrences of the type of associated behavior includes: For each of the multiple time differences, respectively perform the following operations: using the time decay constant as a base and the time difference as an exponent to determine a time decay amount corresponding to the time difference; The decay quantities corresponding to each time difference are summed to obtain the decay occurrence times.

6. The method according to claim 1, characterized in that The determining of the behavior association degree based on the number of times the decline occurs and the number of days the decline occurs includes: Indicates occurrence of r i When the type of associated behavior is i Indicates the type of associated behavior; p1 indicates the first target object; p2 indicates the second target object; CNT indicates the number of times the decay occurs; DAY indicates the number of days the decay occurs; a indicates a constant.

7. The method according to claim 1, characterized in that The obtaining the relationship between the first target object and the second target object includes: The relationship association degree is determined according to the social attribute relationship between the first target object and the second target object; the social attribute relationship is obtained from a social relationship list of the first target object or the second target object.

8. The method according to claim 1, characterized in that The behavior association degree includes at least one type of behavior association degree; The determining the total correlation between the first target object and the second target object according to the behavior correlation and the relationship correlation and their corresponding weights includes: Dividing the sum of the association degrees by the sum of the weights to obtain the total association degree; The sum of the association degrees is the sum of the association degree of each type of behavior multiplied by the corresponding weight and the association degree of the relationship multiplied by the corresponding weight; The sum of the weights is the sum of the weight corresponding to each type of behavior association and the weight corresponding to the relationship association.

9. A data analysis device, characterized in that: The device comprises: A first acquisition unit, used to acquire associated behavior data of a first target object and a second target object within a set time period; The first determination unit is used to determine various types of associated behaviors occurring between the first target object and the second target object based on the associated behavior data; for any type of associated behavior among the various types of associated behaviors, respectively perform the following operations: determine the number of days of occurrence of the associated behavior of the type in the associated behavior data; the number of days of occurrence is the number of days of occurrence of the associated behavior of the type from the first occurrence to the last occurrence of the associated behavior of the type; determine the number of occurrences of the associated behavior of the type in the associated behavior data; based on the associated behavior data, respectively determine the time difference between the current date and the date of each occurrence of the associated behavior of the type, and obtain multiple number of time differences; based on the associated behavior data, respectively determine the time difference between the current date and the date of occurrence of the associated behavior of the type, and obtain multiple different number of day time differences; based on the preset number of day decay constants corresponding to the associated behavior of the type, multiple number of day time differences and the number of days of occurrence of the associated behavior of the type, determine the number of decay days; based on the preset number of decay constants corresponding to the associated behavior of the type, multiple number of time differences and the number of occurrences of the associated behavior of the type, determine the number of decay occurrences; based on the number of decay days and the number of decay occurrences, determine the behavior association degree; A second acquisition unit, configured to acquire a relationship correlation between the first target object and the second target object; The second determining unit is used to determine the total correlation between the first target object and the second target object according to the behavior correlation and the relationship correlation and their corresponding weights.

10. The device according to claim 9, characterized in that The first acquisition unit is further used to determine the first target object; determine the second target object from the social relationship list of the first target object; or determine the second target object from the behavior data of the first target object within the set time period.

11. The device according to claim 9, characterized in that The first acquisition unit is further configured to extract the behavior data containing the first target object and the second target object from the behavior data of the first target object or the second target object as the associated behavior data of the first target object and the second target object.

12. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the computer program is executed by the processor, the method according to any one of claims 1 to 8 is implemented.

13. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Method and system based on public security data to acquire multi-dimensional personnel relation intimacy

    CN106844673A

  • Social relation analysis method and device, computer equipment and readable storage medium

    CN110737702A

  • Personnel relationship determination method and device, electronic equipment and storage medium

    CN111324772A

  • Personnel intimacy analysis method, terminal and storage medium

    CN111652304A

  • User behavior characteristic analysis method, recommendation method and corresponding devices

    CN112035749A