Cheating account identification method, device, electronic device and storage medium
By obtaining and analyzing account behavior sequence and interval information within the time window, and calculating information entropy to identify cheating accounts, the problem of identification lag in existing technologies is solved, fast and accurate identification of cheating accounts is achieved, and the normality of user accounts is ensured. use.
Patent Information
- Application Number
- CN202111631182.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-12-28
AI Technical Summary
The existing technology has a lag in identifying cheating accounts and cannot identify cheating accounts in a timely manner, resulting in loss of profits for normal users or merchants.
By obtaining the behavior sequence information and behavior interval information of the account to be identified within the time window, the behavior normalized information entropy and interval normalized information entropy are calculated, and compared with the statistical results of other accounts. If the preset conditions are met, the decision will be made. Cheating account.
Quickly identify cheating accounts, shorten the discovery time, improve identification efficiency, avoid accidental injuries caused by static resource pollution, and ensure that the account can be used normally after the user retrieves it.
Smart Images

Figure CN114418595B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a cheating account identification method, device, electronic device and storage medium. Background Art
[0002] With the development of Internet technology, more and more network applications have emerged. Cheating often occurs in these network applications. For example, some cheating accounts obtain activity rewards through crowdsourcing real-person cheating or machine-automated cheating, or other merchants interfere with current merchants through crowdsourcing cheating or automated cheating, etc., which causes losses to the interests of normal users or merchants. Therefore, it is necessary to identify cheating accounts.
[0003] In the prior art, after a period of time, a blacklist of cheating accounts can be collected, and cheating accounts can be identified through the blacklist, or based on behavioral rule strategies. However, the blacklist method requires manual discovery of cheating accounts, and the behavioral rule strategy method is also based on setting corresponding behavioral rule strategies after manual discovery of cheating accounts. Both methods have a certain lag and cannot identify cheating accounts in a timely manner. Summary of the invention
[0004] The embodiments of the present invention provide a cheating account identification method, device, electronic device and storage medium to shorten the discovery time of cheating accounts and improve identification efficiency.
[0005] In a first aspect, an embodiment of the present invention provides a cheating account identification method, comprising:
[0006] Obtain the first behavior sequence information and the first behavior interval sequence information of the account to be identified within the time window;
[0007] Acquire, within the time window, second behavior sequence information and second behavior interval sequence information of other accounts other than the account to be identified;
[0008] Determine, according to the first behavior sequence information, the normalized information entropy of the first behavior of the account to be identified, and determine, according to the first behavior interval sequence information, the normalized information entropy of the first behavior of the account to be identified;
[0009] Determine the normalized information entropy of the second behavior of each of the other accounts according to the second behavior sequence information of the other accounts, and determine the normalized information entropy of the second behavior interval of each of the other accounts according to the second behavior interval sequence information of the other accounts;
[0010] The normalized information entropy of the second behavior of the other accounts is counted to obtain a behavior statistical result, and the normalized information entropy of the interval of the second behavior of the other accounts is counted to obtain a behavior interval statistical result;
[0011] If the normalized information entropy and the behavior statistical result of the first behavior meet a first preset condition and the normalized information entropy and the behavior interval statistical result meet a second preset condition, it is determined that the account to be identified is a cheating account.
[0012] In a second aspect, an embodiment of the present invention provides a cheating account identification device, comprising:
[0013] A first sequence acquisition module, used to acquire first behavior sequence information and first behavior interval sequence information of the account to be identified within a time window;
[0014] A second sequence acquisition module, used to acquire second behavior sequence information and second behavior interval sequence information of other accounts other than the account to be identified within the time window;
[0015] A first information entropy determination module, configured to determine the first behavior normalized information entropy of the account to be identified according to the first behavior sequence information, and determine the first behavior interval normalized information entropy of the account to be identified according to the first behavior interval sequence information;
[0016] A second information entropy determination module, configured to determine the normalized information entropy of the second behavior of each of the other accounts according to the second behavior sequence information of the other accounts, and determine the normalized information entropy of the second behavior interval of each of the other accounts according to the second behavior interval sequence information of the other accounts;
[0017] An information entropy statistics module is used to count the normalized information entropy of the second behavior of the other accounts to obtain a behavior statistics result, and to count the normalized information entropy of the interval of the second behavior of the other accounts to obtain a behavior interval statistics result;
[0018] The cheating account determination module is used to determine that the account to be identified is a cheating account if the normalized information entropy and the behavior statistical result of the first behavior meet a first preset condition and the normalized information entropy and the behavior interval statistical result meet a second preset condition.
[0019] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the cheating account identification method described in the first aspect are implemented.
[0020] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the cheating account identification method as described in the first aspect are implemented.
[0021] The cheating account identification method, device, electronic device and storage medium provided by the embodiments of the present invention obtain the first behavior sequence information and the first behavior interval sequence information of the account to be identified within the time window, determine the first behavior normalized information entropy of the first behavior sequence information, and determine the first behavior interval normalized information entropy of the first behavior interval sequence information, perform statistics on the second behavior normalized information entropy of the second behavior sequence information of other accounts to obtain behavior statistical results, and perform statistics on the second behavior interval normalized information entropy of the second behavior interval sequence information of other accounts to obtain behavior interval statistical results. If the first behavior normalized information entropy and the behavior statistical results meet the first preset condition and the first behavior interval normalized information entropy and the behavior interval statistical results meet the second preset condition, the account to be identified is determined to be a cheating account. Since the cheating account is identified based on the dynamic behavior data of the account to be identified and the dynamic behavior data of other accounts, the cheating account can be quickly discovered, the discovery time of the cheating account is shortened, and the identification efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flow chart of a cheating account identification method provided by an embodiment of the present invention;
[0023] Figure 2 It is a structural diagram of a cheating account identification device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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.
[0025] Figure 1 is a flow chart of a cheating account identification method provided by an embodiment of the present invention. Figure 1 As shown, the cheating account identification method includes:
[0026] Step 101, obtaining first behavior sequence information and first behavior interval sequence information of the account to be identified within a time window.
[0027] The time window is a pre-set time period, which can be set according to needs, and can be a few consecutive days or a certain time period of a day, for example, from 9 am to 12 pm. By setting different time windows, it can be ensured that the identification method of the cheating account is always effective, and there is no need to frequently modify it during the process of identifying the cheating account.
[0028] When it is necessary to identify whether an account to be identified is a cheating account, the behavior sequence information of the account to be identified within the time window can be obtained, the behavior sequence information can be determined as the first behavior sequence information, and the time interval between each two adjacent behavior data in the first behavior sequence information can be obtained to obtain the first behavior interval sequence information. Among them, each behavior data in the first behavior sequence information is sorted according to the time when it occurred, and the order of the time intervals in the first behavior interval sequence information is the same as the order of the behavior data in the first behavior sequence information.
[0029] Step 102, within the time window, obtaining second behavior sequence information and second behavior interval sequence information of other accounts except the account to be identified.
[0030] Obtain the behavior sequence information of other accounts except the account to be identified within the time window, determine the behavior sequence information of other accounts within the time window as the second behavior sequence information, obtain the second behavior sequence information of each other account, and obtain the time interval between each two adjacent behavior data in the second behavior sequence information of each other account, and obtain the second behavior interval sequence information of each other account. Among them, each behavior data in the second behavior sequence information is sorted according to the time of occurrence, and the order of the time intervals in the second behavior interval sequence information is the same as the order of the behavior data in the second behavior sequence information.
[0031] In one embodiment of the present invention, within the time window, second behavior sequence information and second behavior interval sequence information of other accounts other than the account to be identified are obtained, including: within the time window, determining other accounts whose behavior sequence lengths are greater than a length threshold, and obtaining the second behavior sequence information and second behavior interval sequence information of the other accounts.
[0032] In the time window, each other account corresponds to a second behavior sequence information, and other accounts can be screened based on the behavior sequence length of the second behavior sequence information to screen out other accounts whose behavior sequence length is greater than the length threshold, and the second behavior sequence information of the screened other accounts is obtained in the time window, and based on the obtained second behavior sequence information, the time interval between each two adjacent behavior data is obtained to obtain the second behavior interval sequence information corresponding to the second behavior sequence information. Among them, the behavior sequence length is the number of behavior data. The length threshold can be set according to demand, for example, it can be 10.
[0033] By obtaining the second behavior sequence information whose behavior sequence length is greater than the length threshold, the situation where the behavior sequence information cannot be collected can be avoided, and the problem of inaccurate cheating account identification caused by a short behavior sequence can be avoided, thereby improving the accuracy of cheating account identification.
[0034] Step 103: Determine the normalized information entropy of the first behavior of the account to be identified based on the first behavior sequence information, and determine the normalized information entropy of the first behavior interval of the account to be identified based on the first behavior interval sequence information.
[0035] Among them, the amount of information measures the information brought by a specific event, and information entropy is the expectation of the amount of information that may be generated before the information amount result comes out.
[0036] The information entropy of the first line as the sequence information is counted and normalized to obtain the normalized information entropy of the first line of the account to be identified. The information entropy of the interval sequence information of the first line is counted and normalized to obtain the interval normalized information entropy of the first line of the account to be identified. By normalizing the information entropy, it is convenient to compare the normalized information entropy of the account to be identified with the statistical results of other accounts.
[0037] In one embodiment of the present invention, the normalized information entropy of the first behavior of the account to be identified is determined according to the first behavior sequence information, and the normalized information entropy of the first behavior interval of the account to be identified is determined according to the first behavior interval sequence information, including: determining the frequency of occurrence of the same type of behavior data according to the first behavior sequence information, and determining the amount of information of the same type of behavior data according to the frequency of occurrence of the same type of behavior data; determining the normalized information entropy of the first behavior of the account to be identified according to the frequency of occurrence and the amount of information of the same type of behavior data; determining the frequency of occurrence of the same type of behavior interval according to the first behavior interval sequence information, and determining the amount of information of the same type of behavior interval according to the frequency of occurrence of the same type of behavior interval; determining the normalized information entropy of the first behavior interval of the account to be identified according to the frequency of occurrence and the amount of information of the same type of behavior interval.
[0038] The behavior data in the first behavior sequence information is counted to determine the frequency of occurrence of the same type of behavior data, and the information volume of the same type of behavior data is calculated according to the following information volume calculation formula based on the frequency of occurrence of the same type of behavior data:
[0039] I 1x =-log b (P 1x )
[0040] Among them, I 1x represents the amount of information of the same type of behavior data under the account to be identified, P 1x It represents the frequency of occurrence of the same type of behavior data under the account to be identified, and b is a constant.
[0041] For example, on a job search application, the behavior sequence of account A is job click, job click, job browse, job call, resume submission, and job click. Under account A, the frequencies of job click, job browse, job call, and resume submission are 1 / 2, 1 / 6, 1 / 6, and 1 / 6 respectively, and the information volume is -log b (1 / 2), the amount of information for job browsing, job phone calls, and resume submission is -log b (1 / 6).
[0042] According to the frequency and amount of information of the same type of behavior data, the behavior normalized information entropy of the account to be identified is calculated according to the following normalized information entropy calculation formula, and the first behavior is obtained as the normalized information entropy:
[0043]
[0044] Among them, H 1a represents the normalized information entropy of the first behavior, L is the length of the behavior sequence of the first behavior sequence information, X is the total number of types of behavior data in the first behavior sequence information, and I 1x is the amount of information about the same type of behavior data of the account to be identified, P 1x It is the frequency of occurrence of the same type of behavior data of the account to be identified.
[0045] The behavior intervals in the first behavior interval sequence information are counted to determine the occurrence frequency of the same type of behavior intervals, and the information amount of the same type of behavior intervals is calculated according to the following information amount calculation formula based on the occurrence frequency of the same type of behavior intervals:
[0046] I 1y =-log b (P 1y )
[0047] Among them, I 1yrepresents the amount of information about the same type of behavior intervals under the account to be identified, P 1y It represents the frequency of occurrence of the same type of behavior data under the account to be identified, and b is a constant.
[0048] For example, on a job search application, the behavior sequence of account A is job click, job click, job browse, job call, resume submission, job click. The time intervals between each two adjacent behavior data are 1 second, 1 second, 31 seconds, 125 seconds, and 21 seconds. The frequency of occurrence of the behavior intervals of account A is 1 second 2 / 5, 31 seconds 1 / 5, 125 seconds 1 / 5, and 21 seconds 1 / 5. The information volume is: The information volume of 1 second is -log b (2 / 5), the information volume of 31 seconds, 125 seconds, and 21 seconds is -log b (1 / 5).
[0049] According to the occurrence frequency and information volume of the same type of behavior intervals, the normalized information entropy of the behavior interval of the account to be identified is calculated according to the following normalized information entropy calculation formula to obtain the first normalized information entropy of the behavior interval:
[0050]
[0051] Among them, H 2a represents the normalized information entropy of the first behavior interval, L is the behavior sequence length of the first behavior sequence information, Y is the total number of types of behavior intervals in the first behavior interval sequence information, and I 1y is the amount of information about the same type of behavior intervals of the account to be identified, P 1y It is the frequency of occurrence of the same type of behavior intervals of the account to be identified.
[0052] By determining the amount of information of the same type of behavior data of the account to be identified, and then determining the normalized information entropy of the first behavior based on the amount of information, and determining the amount of information of the interval of the same type of behavior of the account to be identified, and then determining the normalized information entropy of the first behavior interval based on the amount of information of the behavior interval, more accurate normalized information entropy of the first behavior and normalized information entropy of the first behavior interval can be obtained, thereby improving the accuracy of cheating account identification.
[0053] Step 104, determining the normalized information entropy of the second behavior of each of the other accounts based on the second behavior sequence information of the other accounts, and determining the normalized information entropy of the second behavior interval of each of the other accounts based on the second behavior interval sequence information of the other accounts.
[0054] The information entropy of the second line of each other account as sequence information is counted and normalized to obtain the normalized information entropy of the second line of each other account, and the information entropy of the interval sequence information of the second line of each other account is counted and normalized to obtain the interval normalized information entropy of the second line of each other account. By normalizing the information entropy, it is convenient to compare the statistical results of the normalized information entropy of the account to be identified with the normalized information entropy of other accounts.
[0055] In one embodiment of the present invention, the normalized information entropy of the second behavior of each of the other accounts is determined based on the second behavior sequence information of the other accounts, and the normalized information entropy of the second behavior interval of each of the other accounts is determined based on the second behavior interval sequence information of the other accounts, including: for each of the other accounts, the frequency of occurrence of the same type of behavior data is determined based on the second behavior sequence information of the other accounts, and the amount of information of the same type of behavior data is determined based on the frequency of occurrence of the same type of behavior data; the normalized information entropy of the second behavior of each of the other accounts is determined based on the frequency of occurrence and the amount of information of the same type of behavior data of each of the other accounts; for each of the other accounts, the frequency of occurrence of the same type of behavior interval is determined based on the second behavior interval sequence information of the other accounts, and the amount of information of the same type of behavior interval is determined based on the frequency of occurrence of the same type of behavior interval; the normalized information entropy of the second behavior interval of each of the other accounts is determined based on the frequency of occurrence and the amount of information of the same type of behavior interval.
[0056] For each other account, the behavior data in the second behavior sequence information is counted to determine the frequency of occurrence of the same type of behavior data, and the information volume of the same type of behavior data is calculated according to the following information volume calculation formula based on the frequency of occurrence of the same type of behavior data:
[0057] I 2x =-log b (P 2x )
[0058] Among them, I 2x represents the amount of information of the same type of behavior data under each other account, P 2x represents the frequency of occurrence of the same type of behavior data under each other account, and b is a constant. The formula for calculating the amount of information of the same type of behavior data under each other account is the same as the formula for calculating the amount of information of the same type of behavior data under the account to be identified.
[0059] According to the occurrence frequency and information volume of the same type of behavior data under each other account, the behavior normalized information entropy of each other account is calculated according to the following normalized information entropy calculation formula, and the normalized information entropy of the second behavior is obtained:
[0060]
[0061] Among them, H 1j The second line of the jth other account is the normalized information entropy, L j is the length of the behavior sequence of the second behavior sequence information of the jth other account, X j is the total number of types of behavior data in the second behavior sequence information, I 2x is the information volume of the same type of behavior data of the jth other account, P 2x is the frequency of occurrence of the same type of behavior data of the jth other account.
[0062] For each other account, the behavior intervals in the second behavior interval sequence information are counted to determine the frequency of occurrence of the same type of behavior intervals, and the information volume of the same type of behavior intervals is calculated according to the following information volume calculation formula based on the frequency of occurrence of the same type of behavior intervals:
[0063] I 2y =-log b (P 2y )
[0064] Among them, I 2y represents the amount of information about the same type of behavior intervals under each other account, P 2y represents the frequency of occurrence of the same type of behavior data under each other account, and b is a constant. The formula for calculating the amount of information of the same type of behavior interval under each other account is the same as the formula for calculating the amount of information of the same type of behavior interval under the account to be identified.
[0065] According to the occurrence frequency and information volume of the same type of behavior intervals under each other account, the normalized information entropy of the behavior interval under each other account is calculated according to the following normalized information entropy calculation formula to obtain the second normalized information entropy of the behavior interval:
[0066]
[0067] Among them, H 2j represents the normalized information entropy of the second behavior of the jth other account, L j is the length of the behavior sequence of the second behavior sequence information of the jth other account, Y j is the total number of types of behavior intervals in the second behavior interval sequence information of the jth other account, I 1y is the information amount of the same type of behavior interval of the jth other account, P 2y is the frequency of occurrence of the same type of behavior interval of the jth other account.
[0068] By determining the amount of information of the same type of behavior data of other accounts, and then determining the normalized information entropy of the second behavior based on the information amount, and determining the amount of information of the same type of behavior intervals of other accounts, and then determining the normalized information entropy of the second behavior interval based on the information amount of the behavior interval, we can obtain more accurate normalized information entropy of the second behavior and normalized information entropy of the second behavior interval, thereby improving the accuracy of cheating account identification.
[0069] Step 105, statistics are performed on the normalized information entropy of the second behavior of the other accounts to obtain behavior statistics results, and statistics are performed on the normalized information entropy of the intervals of the second behavior of the other accounts to obtain behavior interval statistics results.
[0070] The second behaviors of other accounts are counted according to the preset statistical method to obtain the behavior statistical results, and the second behaviors of other accounts are counted according to the interval normalized information entropy to obtain the behavior interval statistical results. The preset statistical method may be, for example, the mean, variance, standard deviation, etc.
[0071] In one embodiment of the present invention, statistics are performed on the normalized information entropy of the second behavior of the other accounts to obtain behavior statistics results, and statistics are performed on the normalized information entropy of the second behavior intervals of the other accounts to obtain behavior interval statistics results, including: statistics are performed on the mean and standard deviation of the normalized information entropy of the second behavior of the other accounts to obtain behavior statistics results; statistics are performed on the mean and standard deviation of the normalized information entropy of the second behavior intervals of the other accounts to obtain behavior interval statistics results.
[0072] The mean and standard deviation of the normalized information entropy of the second behavior of all other accounts are counted, and the mean and standard deviation of the normalized information entropy of the second behavior are used as the behavioral statistical results. The mean and standard deviation of the normalized information entropy of the interval of the second behavior of all other accounts are counted, and the mean and standard deviation of the normalized information entropy of the interval of the second behavior are used as the behavioral interval statistical results.
[0073] The second line is the mean of the normalized information entropy as follows:
[0074]
[0075] The second line is the standard deviation of the normalized information entropy expressed as follows:
[0076]
[0077] The second line is the mean of the interval normalized information entropy expressed as follows:
[0078]
[0079] The second line is the standard deviation of the interval normalized information entropy expressed as follows:
[0080]
[0081] In the above formula, Indicates that the second line is the mean of the normalized information entropy, σ 1 The second line represents the standard deviation of the normalized information entropy, represents the mean of the normalized information entropy of the second line, σ 2 represents the standard deviation of the normalized information entropy of the second line, M represents the total number of other accounts, and H 1j The second line of the jth other account is the normalized information entropy, H 2j The second behavior of the jth other account is the interval normalized information entropy.
[0082] By determining the mean and standard deviation of the normalized information entropy of the second behavior of other accounts, the behavioral data distribution of normal accounts can be obtained. By determining the mean and standard deviation of the normalized information entropy of the second behavior intervals of other accounts, the behavioral interval distribution of normal accounts can be obtained, thereby providing a basis for identifying cheating accounts and improving the accuracy of cheating account identification.
[0083] Step 106: If the normalized information entropy and the behavior statistical result of the first behavior meet a first preset condition and the normalized information entropy and the behavior interval statistical result of the first behavior meet a second preset condition, it is determined that the account to be identified is a cheating account.
[0084] The normalized information entropy of the first behavior and the behavior statistical result are compared, and the normalized information entropy of the first behavior interval and the behavior interval statistical result are compared. If the normalized information entropy of the first behavior and the behavior statistical result meet the first preset condition and the normalized information entropy of the first behavior interval and the behavior interval statistical result meet the second preset condition, then it is determined that the account to be identified is a cheating account, otherwise it cannot be determined that the account to be identified is a cheating account.
[0085] Among them, the first preset condition is that the normalized information entropy of the first behavior is smaller than the difference between the mean and standard deviation of the normalized information entropy of the second behavior; the second preset condition is that the interval normalized information entropy of the first behavior is smaller than the difference between the mean and standard deviation of the interval normalized information entropy of the second behavior.
[0086] The normalized information entropy of the first behavior is less than the difference between the mean and standard deviation of the normalized information entropy of the second behavior, indicating that the normalized information entropy of the first behavior is outside the behavior data distribution of normal accounts, and the interval normalized information entropy of the first behavior is less than the difference between the mean and standard deviation of the interval normalized information entropy of the second behavior, indicating that the interval normalized information entropy of the first behavior is outside the behavior interval distribution of normal accounts. When the normalized information entropy of the first behavior is less than the difference between the mean and standard deviation of the normalized information entropy of the second behavior, and the interval normalized information entropy of the first behavior is less than the difference between the mean and standard deviation of the interval normalized information entropy of the second behavior, it can be determined that the account to be identified is a cheating account.
[0087] The cheating account identification method provided in the present embodiment obtains the first behavior sequence information and the first behavior interval sequence information of the account to be identified within the time window, determines the first behavior normalized information entropy of the first behavior sequence information, and determines the first behavior interval normalized information entropy of the first behavior interval sequence information, performs statistics on the second behavior normalized information entropy of the second behavior sequence information of other accounts to obtain the behavior statistical result, and performs statistics on the second behavior interval normalized information entropy of the second behavior interval sequence information of other accounts to obtain the behavior interval statistical result, if the first behavior normalized information entropy and the behavior statistical result meet the first preset condition and the first behavior interval normalized information entropy and the behavior interval statistical result meet the second preset condition, then it is determined that the account to be identified is a cheating account, Since cheating accounts are identified based on the dynamic behavior data of the account to be identified and the dynamic behavior data of other accounts, cheating accounts can be quickly discovered, the discovery time of cheating accounts is shortened, and the identification efficiency is improved. In addition, using dynamic behavior data as the basis for identification can avoid accidental damage caused by the contamination of static resources (such as device identification). Because if an account is stolen and then cheated, it will be added to the blacklist, and the user cannot use the account normally after retrieving it. This problem can be solved by the embodiment of the present invention, that is, after the user retrieves the account that was once identified as cheating, it can be re-identified based on the current behavior sequence information and behavior interval sequence information of the account within the time window during use, and it will no longer be determined as a cheating account.
[0088] Figure 2 is a schematic diagram of the structure of a cheating account identification device provided by an embodiment of the present invention, such as Figure 2 As shown, the cheating account identification device includes:
[0089] The first sequence acquisition module 201 is used to acquire the first behavior sequence information and the first behavior interval sequence information of the account to be identified within the time window;
[0090] The second sequence acquisition module 202 is used to acquire, within the time window, second behavior sequence information and second behavior interval sequence information of other accounts other than the account to be identified;
[0091] A first information entropy determination module 203 is used to determine the first behavior normalized information entropy of the account to be identified according to the first behavior sequence information, and determine the first behavior interval normalized information entropy of the account to be identified according to the first behavior interval sequence information;
[0092] The second information entropy determination module 204 is used to determine the second behavior normalized information entropy of each of the other accounts according to the second behavior sequence information of the other accounts, and determine the second behavior interval normalized information entropy of each of the other accounts according to the second behavior interval sequence information of the other accounts;
[0093] The information entropy statistics module 205 is used to count the normalized information entropy of the second behavior of the other accounts to obtain the behavior statistics result, and to count the normalized information entropy of the interval of the second behavior of the other accounts to obtain the behavior interval statistics result;
[0094] The cheating account determination module 206 is used to determine that the account to be identified is a cheating account if the first behavior normalized information entropy and the behavior statistical result meet a first preset condition and the first behavior interval normalized information entropy and the behavior interval statistical result meet a second preset condition.
[0095] Optionally, the second sequence acquisition module is specifically used to:
[0096] In the time window, other accounts whose behavior sequence lengths are greater than a length threshold are determined, and second behavior sequence information and second behavior interval sequence information of the other accounts are obtained.
[0097] Optionally, the first information entropy determination module includes:
[0098] a first behavior information amount determining unit, configured to determine the occurrence frequency of the same type of behavior data according to the first behavior sequence information, and determine the information amount of the same type of behavior data according to the occurrence frequency of the same type of behavior data;
[0099] A first behavior information entropy determination unit, configured to determine the normalized information entropy of the first behavior of the account to be identified according to the occurrence frequency and information volume of the same type of behavior data;
[0100] a first interval information amount determining unit, configured to determine the occurrence frequency of the same type of behavior intervals according to the first behavior interval sequence information, and determine the information amount of the same type of behavior intervals according to the occurrence frequency of the same type of behavior intervals;
[0101] The first interval information entropy determination unit is used to determine the normalized information entropy of the first behavior interval of the account to be identified according to the occurrence frequency and information volume of the same type of behavior intervals.
[0102] Optionally, the second information entropy determination module includes:
[0103] A second behavior information amount determining unit, configured to determine, for each of the other accounts, the frequency of occurrence of the same type of behavior data according to the second behavior sequence information of the other accounts, and determine the information amount of the same type of behavior data according to the frequency of occurrence of the same type of behavior data;
[0104] A second behavior information entropy determination unit, configured to determine the normalized information entropy of the second behavior of each of the other accounts according to the occurrence frequency and information volume of the same type of behavior data of each of the other accounts;
[0105] a second interval information amount determining unit, configured to determine, for each of the other accounts, the frequency of occurrence of the same type of behavior intervals according to the second behavior interval sequence information of the other accounts, and determine the information amount of the same type of behavior intervals according to the frequency of occurrence of the same type of behavior intervals;
[0106] The second interval information entropy determination unit is used to determine the normalized information entropy of the second behavior interval of each of the other accounts according to the occurrence frequency and information amount of the same type of behavior interval of each of the other accounts.
[0107] Optionally, the information entropy statistics module includes:
[0108] A behavior statistics unit, used to count the mean and standard deviation of the normalized information entropy of the second behavior of the other accounts to obtain a behavior statistics result;
[0109] The behavior interval statistical unit is used to count the mean and standard deviation of the second behavior interval normalized information entropy of the other accounts to obtain the behavior interval statistical results.
[0110] Optionally, the first preset condition is that the normalized information entropy of the first behavior is less than the difference between the mean and the standard deviation of the normalized information entropy of the second behavior;
[0111] The second preset condition is that the normalized information entropy of the first behavior interval is smaller than the difference between the mean and the standard deviation of the normalized information entropy of the second behavior interval.
[0112] The cheating account identification device provided in the present embodiment obtains the first behavior sequence information and the first behavior interval sequence information of the account to be identified within the time window, determines the first behavior normalized information entropy of the first behavior sequence information, and determines the first behavior interval normalized information entropy of the first behavior interval sequence information, performs statistics on the second behavior normalized information entropy of the second behavior sequence information of other accounts to obtain the behavior statistical result, and performs statistics on the second behavior interval normalized information entropy of the second behavior interval sequence information of other accounts to obtain the behavior interval statistical result, if the first behavior normalized information entropy and the behavior statistical result meet the first preset condition and the first behavior interval normalized information entropy and the behavior interval statistical result meet the second preset condition, then it is determined that the account to be identified is a cheating account, Since cheating accounts are identified based on the dynamic behavior data of the account to be identified and the dynamic behavior data of other accounts, cheating accounts can be quickly discovered, the discovery time of cheating accounts is shortened, and the identification efficiency is improved. In addition, using dynamic behavior data as the basis for identification can avoid accidental damage caused by the contamination of static resources (such as device identification). Because if an account is stolen and then cheated, it will be added to the blacklist, and the user cannot use the account normally after retrieving it. This problem can be solved by the embodiment of the present invention, that is, after the user retrieves the account that was once identified as cheating, it can be re-identified based on the current behavior sequence information and behavior interval sequence information of the account within the time window during use, and it will no longer be determined as a cheating account.
[0113] Preferably, an embodiment of the present invention further provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, each process of the above-mentioned cheating account identification method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0114] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned cheating account identification method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0115] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0117] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0118] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0120] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0121] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0122] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0123] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or 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: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0124] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A cheating account identification method, characterized in that: include: Obtain the first behavior sequence information and the first behavior interval sequence information of the account to be identified within the time window; Acquire, within the time window, second behavior sequence information and second behavior interval sequence information of other accounts other than the account to be identified; Determine, according to the first behavior sequence information, the normalized information entropy of the first behavior of the account to be identified, and determine, according to the first behavior interval sequence information, the normalized information entropy of the first behavior of the account to be identified; Determine the normalized information entropy of the second behavior of each of the other accounts according to the second behavior sequence information of the other accounts, and determine the normalized information entropy of the second behavior interval of each of the other accounts according to the second behavior interval sequence information of the other accounts; The normalized information entropy of the second behavior of the other accounts is counted to obtain a behavior statistical result, and the normalized information entropy of the interval of the second behavior of the other accounts is counted to obtain a behavior interval statistical result; If the normalized information entropy and the behavior statistical result of the first behavior meet a first preset condition and the normalized information entropy and the behavior interval statistical result of the first behavior meet a second preset condition, then determining that the account to be identified is a cheating account; The second behaviors of the other accounts are counted as normalized information entropy to obtain behavior statistics results, and the second behaviors of the other accounts are counted as interval normalized information entropy to obtain behavior interval statistics results, including: Counting the mean and standard deviation of the normalized information entropy of the second behavior of the other accounts to obtain the behavior statistics result; Counting the mean and standard deviation of the normalized information entropy of the second behavior interval of the other accounts to obtain the behavior interval statistical results; The first preset condition is that the normalized information entropy of the first behavior is less than the difference between the mean and the standard deviation of the normalized information entropy of the second behavior; The second preset condition is that the normalized information entropy of the first behavior interval is smaller than the difference between the mean and the standard deviation of the normalized information entropy of the second behavior interval.
2. The method according to claim 1, characterized in that Acquiring second behavior sequence information and second behavior interval sequence information of other accounts other than the account to be identified within the time window includes: In the time window, other accounts whose behavior sequence lengths are greater than a length threshold are determined, and second behavior sequence information and second behavior interval sequence information of the other accounts are obtained.
3. The method according to claim 1, characterized in that Determining the first behavior normalized information entropy of the account to be identified according to the first behavior sequence information, and determining the first behavior interval normalized information entropy of the account to be identified according to the first behavior interval sequence information, including: Determine the occurrence frequency of the same type of behavior data according to the first behavior sequence information, and determine the information volume of the same type of behavior data according to the occurrence frequency of the same type of behavior data; Determine the normalized information entropy of the first behavior of the account to be identified according to the occurrence frequency and information volume of the same type of behavior data; Determine the occurrence frequency of the same type of behavior intervals according to the first behavior interval sequence information, and determine the information amount of the same type of behavior intervals according to the occurrence frequency of the same type of behavior intervals; The normalized information entropy of the first behavior interval of the account to be identified is determined according to the occurrence frequency and information volume of the same type of behavior intervals.
4. The method according to claim 1, characterized in that: Determining the normalized information entropy of the second behavior of each of the other accounts according to the second behavior sequence information of the other accounts, and determining the normalized information entropy of the second behavior interval of each of the other accounts according to the second behavior interval sequence information of the other accounts, including: For each of the other accounts, determine the frequency of occurrence of the same type of behavior data according to the second behavior sequence information of the other accounts, and determine the amount of information of the same type of behavior data according to the frequency of occurrence of the same type of behavior data; Determine the normalized information entropy of the second behavior of each of the other accounts according to the occurrence frequency and information amount of the same type of behavior data of each of the other accounts; For each of the other accounts, determine the occurrence frequency of the same type of behavior intervals according to the second behavior interval sequence information of the other accounts, and determine the information amount of the same type of behavior intervals according to the occurrence frequency of the same type of behavior intervals; According to the occurrence frequency and information amount of the same type of behavior interval of each of the other accounts, the normalized information entropy of the second behavior interval of each of the other accounts is determined.
5. A cheating account identification device, characterized in that: include: A first sequence acquisition module, used to acquire first behavior sequence information and first behavior interval sequence information of the account to be identified within a time window; A second sequence acquisition module, used to acquire second behavior sequence information and second behavior interval sequence information of other accounts other than the account to be identified within the time window; A first information entropy determination module, configured to determine the first behavior normalized information entropy of the account to be identified according to the first behavior sequence information, and determine the first behavior interval normalized information entropy of the account to be identified according to the first behavior interval sequence information; A second information entropy determination module, configured to determine the normalized information entropy of the second behavior of each of the other accounts according to the second behavior sequence information of the other accounts, and determine the normalized information entropy of the second behavior interval of each of the other accounts according to the second behavior interval sequence information of the other accounts; An information entropy statistics module is used to count the normalized information entropy of the second behavior of the other accounts to obtain a behavior statistics result, and to count the normalized information entropy of the interval of the second behavior of the other accounts to obtain a behavior interval statistics result; A cheating account determination module, configured to determine that the account to be identified is a cheating account if the normalized information entropy and the behavior statistical result of the first behavior meet a first preset condition and the normalized information entropy and the behavior interval statistical result of the first behavior meet a second preset condition; Wherein, the information entropy statistics module includes: A behavior statistics unit, used to count the mean and standard deviation of the normalized information entropy of the second behavior of the other accounts to obtain a behavior statistics result; A behavior interval statistical unit, used to count the mean and standard deviation of the second behavior interval normalized information entropy of the other accounts to obtain a behavior interval statistical result; The first preset condition is that the normalized information entropy of the first behavior is less than the difference between the mean and the standard deviation of the normalized information entropy of the second behavior; The second preset condition is that the normalized information entropy of the first behavior interval is smaller than the difference between the mean and the standard deviation of the normalized information entropy of the second behavior interval.
6. The device according to claim 5, characterized in that The second sequence acquisition module is specifically used for: In the time window, other accounts whose behavior sequence lengths are greater than a length threshold are determined, and second behavior sequence information and second behavior interval sequence information of the other accounts are obtained.
7. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the cheating account identification method according to any one of claims 1 to 4.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the cheating account identification method according to any one of claims 1 to 4 are implemented.
