Account registration risk detection method, device, equipment and storage medium
By detecting the input characteristics and device information of the account, combined with the weights and audio similarities of multiple location fields, the accuracy of account registration risk detection is improved, and the problem of low accuracy of account registration risk detection in the existing technology is solved.
Patent Information
- Application Number
- CN202210604639.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-05-30
AI Technical Summary
Existing account registration risk detection methods have low accuracy, and fraudsters bypass detection by modifying location information.
By obtaining the input feature information and device information of the account, detect whether the feature information is aggregated information based on the preset list, and compare the feature information and device information to generate the first risk value; extract the location information of multiple preset location fields, and based on the location The weight of the field processes the registered position and generates a second risk value; the risk value is merged, and if it exceeds the threshold, the registered audio features are used to generate audio similarity for anomaly detection.
It improves the accuracy of account registration risk detection, makes it more difficult for fraudsters to tamper with registration location, and avoids detection failures caused by modifying geographical location through specific technical means.
Smart Images

Figure CN114925352B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an account registration risk detection method, device, equipment and storage medium. Background Art
[0002] With the development of artificial intelligence, more and more users are gradually accustomed to various online activities. At present, most online services require users to register accounts to ensure that users can use the functions of the platform normally. However, malicious accounts also arise, causing great damage to Internet services.
[0003] In current malicious account identification schemes, whether an account is abnormal is usually judged based on the single location information where the user submitted the registration information. However, since fraudsters can easily modify this location information through specific technical means, the accuracy of account registration risk detection is low. Summary of the invention
[0004] In view of the above, it is necessary to provide an account registration risk detection method, device, equipment and storage medium that can improve the accuracy of account registration risk detection.
[0005] On the one hand, the present invention provides an account registration risk detection method, the account registration risk detection method comprising:
[0006] When a registration risk detection request is received, the input feature information of the account to be tested is obtained according to the registration risk detection request, and the device information of the terminal device where the account to be tested is registered is obtained, wherein the device information refers to the information of the terminal device on a preset feature field, and the input feature information includes the first feature information and the second feature information of the account to be tested on the preset feature field;
[0007] Detecting whether the first feature information is aggregation information based on a preset list, and obtaining a detection result;
[0008] comparing the second characteristic information with the device information to obtain a comparison result;
[0009] generating a first risk value of the account to be tested according to the detection result and the comparison result;
[0010] Extracting the position information of the account to be tested on a plurality of preset position fields;
[0011] Processing the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested;
[0012] generating a second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations;
[0013] Combining the first risk value and the second risk value to obtain a target risk value;
[0014] If the target risk value is greater than the preset risk value, generating audio similarity according to the registered audio of the account to be tested and the preset audio features;
[0015] If the audio similarity is greater than a preset similarity threshold, the account to be tested is determined as an abnormal registered account.
[0016] According to a preferred embodiment of the present invention, the step of obtaining input feature information of the account to be tested according to the registration risk detection request includes:
[0017] Parsing the message header of the registration risk detection request to obtain the address information carried by the message header;
[0018] Extracting information corresponding to a preset tag from the address information as a target address, and determining a device corresponding to the target address as the terminal device;
[0019] Detecting the generation time of the registration risk detection request;
[0020] Acquiring a log corresponding to the generation time from the terminal device based on the account to be tested as a registration log of the account to be tested;
[0021] Information indicating user input is extracted from the registration log as the input feature information.
[0022] According to a preferred embodiment of the present invention, the detecting whether the first feature information is aggregation information based on a preset list and obtaining a detection result includes:
[0023] Counting the number of characters in each stored information in the preset list;
[0024] Extracting consecutive characters from the first feature information as information to be tested based on the number of characters;
[0025] Detecting whether the information to be tested is consistent with any stored information;
[0026] If the information to be tested is consistent with any of the stored information, the first characteristic information is determined as aggregation information as the detection result.
[0027] According to a preferred embodiment of the present invention, the step of processing the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested includes:
[0028] Detecting the tampering difficulty of the plurality of preset position fields;
[0029] Normalizing the plurality of tampering difficulties to obtain a plurality of field weights corresponding to the plurality of preset position fields;
[0030] Classify the same location information to obtain at least one classification information;
[0031] Calculating the information score corresponding to each categorized information according to the preset position field corresponding to each categorized information and the field weight;
[0032] The classified information with the largest information score is determined as the registered position.
[0033] According to a preferred embodiment of the present invention, generating the second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations includes:
[0034] Measuring the distance between the registered position and each preset position;
[0035] Determine the preset position with the smallest position distance as the target position, and determine the smallest position distance as the target distance;
[0036] Detecting the risk level of the target location;
[0037] The second risk value is generated based on the risk degree and the target distance. The calculation formula of the second risk value is:
[0038]
[0039] Wherein, m refers to the second risk value, n refers to the risk degree, and s refers to the target distance.
[0040] According to a preferred embodiment of the present invention, generating audio similarity according to the registered audio of the account to be tested and the preset audio features includes:
[0041] Obtain the registration audio of the account to be tested;
[0042] Extracting speech features from the enrollment audio;
[0043] Mapping the speech feature based on a preset feature vector table to obtain a vector to be tested, and mapping the preset audio feature based on the preset feature vector table to obtain a reference vector;
[0044] The cosine value of the vector to be tested and the reference vector is calculated to obtain the audio similarity.
[0045] According to a preferred embodiment of the present invention, if the audio similarity is less than or equal to the preset similarity threshold, the method further includes:
[0046] Converting the audio similarity into a third risk value;
[0047] Calculating the sum of the first risk value, the second risk value and the third risk value to obtain a calculated risk value;
[0048] Comparing the calculated risk value with the configured risk value, the configured risk value being greater than the preset risk value;
[0049] If the calculated risk value is greater than or equal to the configured risk value, the account to be tested is determined to be an abnormal registered account; or
[0050] If the calculated risk value is less than the configured risk value, the account to be tested is determined to be a normal registered account.
[0051] On the other hand, the present invention further provides an account registration risk detection device, the account registration risk detection device comprising:
[0052] an acquisition unit, configured to, when receiving a registration risk detection request, acquire input feature information of the account to be tested according to the registration risk detection request, and acquire device information of a terminal device where the account to be tested is registered, wherein the device information refers to information of the terminal device on a preset feature field, and the input feature information includes first feature information and second feature information of the account to be tested on the preset feature field;
[0053] A detection unit, configured to detect whether the first feature information is aggregation information based on a preset list, and obtain a detection result;
[0054] A comparing unit, configured to compare the second feature information with the device information to obtain a comparison result;
[0055] A generating unit, configured to generate a first risk value of the account to be tested according to the detection result and the comparison result;
[0056] An extraction unit, used to extract the position information of the account to be tested on a plurality of preset position fields;
[0057] A processing unit, configured to process the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested;
[0058] The generating unit is further configured to generate a second risk value of the account to be tested according to the distance between the registered location and a plurality of preset locations;
[0059] a merging unit, configured to merge the first risk value and the second risk value to obtain a target risk value;
[0060] The generating unit is further configured to generate an audio similarity according to the registered audio of the account to be tested and a preset audio feature if the target risk value is greater than a preset risk value;
[0061] A determination unit is used to determine the account to be tested as an abnormal registered account if the audio similarity is greater than a preset similarity threshold.
[0062] On the other hand, the present invention further provides an electronic device, comprising:
[0063] a memory storing computer readable instructions; and
[0064] A processor executes computer-readable instructions stored in the memory to implement the account registration risk detection method.
[0065] On the other hand, the present invention further proposes a computer-readable storage medium, in which computer-readable instructions are stored. The computer-readable instructions are executed by a processor in an electronic device to implement the account registration risk detection method.
[0066] It can be seen from the above technical scheme that the present invention performs cluster detection on the first characteristic information through the preset list, and compares the second characteristic information with the device information. Since the first risk value is obtained after cluster detection and consistency detection on the input characteristic information, the first risk value of the account to be tested can be accurately generated, and then the registration position of the account to be tested is located based on the multiple preset position fields, which increases the difficulty for fraudsters to tamper with the registration position, and then the second risk value of the account to be tested can be accurately generated according to the distance between the registration position and the preset position. Furthermore, when the target risk value is greater than the preset risk value, the account to be tested is detected in combination with the registration audio, which can avoid fraudsters modifying the geographical location through specific technical means, resulting in the inability to accurately perform registration risk detection on the account to be tested. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 It is a flow chart of a preferred embodiment of the account registration risk detection method of the present invention.
[0068] Figure 2 It is a functional module diagram of a preferred embodiment of the account registration risk detection device of the present invention.
[0069] Figure 3 It is a structural schematic diagram of an electronic device of a preferred embodiment of the account registration risk detection method of the present invention. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0071] like Figure 1 FIG. 1 is a flowchart of a preferred embodiment of the account registration risk detection method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0072] The account registration risk detection method can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0073] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0074] The account registration risk detection method is applied to one or more electronic devices, which are devices that can automatically perform numerical calculations and / or information processing according to pre-set or stored computer-readable instructions, and whose hardware includes but is not limited to microprocessors, application specific integrated circuits (ASIC), programmable gate arrays (FPGA), digital signal processors (DSP), embedded devices, etc.
[0075] The electronic device may be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.
[0076] The electronic device may include a network device and / or a user device. The network device includes, but is not limited to, a single network electronic device, an electronic device group consisting of multiple network electronic devices, or a cloud consisting of a large number of hosts or network electronic devices based on cloud computing.
[0077] The network where the electronic device is located includes, but is not limited to: the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.
[0078] S10, when a registration risk detection request is received, the input feature information of the account to be tested is obtained according to the registration risk detection request, and the device information of the terminal device on which the account to be tested is registered is obtained, the device information refers to the information of the terminal device on a preset feature field, and the input feature information includes first feature information and second feature information of the account to be tested on the preset feature field.
[0079] In at least one embodiment of the present invention, the registration risk detection request refers to a request triggered and generated when the account to be tested is registered. The account to be tested refers to an account that needs to be tested for registration risk.
[0080] The terminal device refers to a terminal that generates the registration risk detection request.
[0081] The preset characteristic field may refer to a field related to the terminal device, such as a mobile phone number.
[0082] In at least one embodiment of the present invention, the electronic device obtaining input feature information of the account to be tested according to the registration risk detection request includes:
[0083] Parsing the message header of the registration risk detection request to obtain the address information carried by the message header;
[0084] Extracting information corresponding to a preset tag from the address information as a target address, and determining a device corresponding to the target address as the terminal device;
[0085] Detecting the generation time of the registration risk detection request;
[0086] Acquiring a log corresponding to the generation time from the terminal device based on the account to be tested as a registration log of the account to be tested;
[0087] Information indicating user input is extracted from the registration log as the input feature information.
[0088] The message header includes the address information and a label indicating the address information.
[0089] The preset tag is used to indicate the address for generating the registration risk detection request.
[0090] Through the message header and the preset tag, the terminal device can be quickly and accurately determined, and then the registration log can be accurately extracted from the terminal device according to the account to be tested and the generation time, so that the input feature information can be accurately extracted.
[0091] S11, based on a preset list, detecting whether the first characteristic information is aggregation information, and obtaining a detection result.
[0092] In at least one embodiment of the present invention, a plurality of blacklist information is stored in the preset list.
[0093] The detection result includes whether the first characteristic information is aggregation information and whether the first characteristic information is not aggregation information.
[0094] In at least one embodiment of the present invention, the electronic device detects whether the first feature information is aggregation information based on a preset list, and obtaining the detection result includes:
[0095] Counting the number of characters in each stored information in the preset list;
[0096] Extracting consecutive characters from the first feature information as information to be tested based on the number of characters;
[0097] Detecting whether the information to be tested is consistent with any stored information;
[0098] If the information to be tested is consistent with any of the stored information, the first characteristic information is determined as aggregation information as the detection result.
[0099] Among them, the preset list stores the first 3 digits of the mobile phone number, the first 7 digits of the mobile phone number, the first 5 characters of the Bluetooth MAC, etc.
[0100] The information to be tested can be accurately extracted by the number of characters, and the detection result can be accurately determined by comparing the information to be tested with the stored information. In addition, since there is no need to compare the entire first feature information, the generation efficiency of the detection result is improved.
[0101] S12: Compare the second feature information with the device information to obtain a comparison result.
[0102] In at least one embodiment of the present invention, the electronic device compares each character in the second feature information with each character in the device information in turn; if any character in the second feature information is different from the character at the corresponding position in the device information, the comparison result is determined as the second feature information is different from the device information; or, if all characters in the second feature information are the same as all characters in the device information, the comparison result is determined as the second feature information is the same as the device information.
[0103] S13, generating a first risk value of the account to be tested according to the detection result and the comparison result.
[0104] In at least one embodiment of the present invention, the first risk value refers to the risk faced by the account to be tested in the dimension corresponding to the input feature information.
[0105] In at least one embodiment of the present invention, the electronic device generates the first risk value of the account to be tested according to the detection result and the comparison result, including:
[0106] Obtaining a first quantized value of the detection result, and obtaining a second quantized value of the comparison result;
[0107] The sum of the first quantified value and the second quantified value is calculated to obtain the first risk value.
[0108] S14, extracting the position information of the account to be tested in a plurality of preset position fields.
[0109] In at least one embodiment of the present invention, the plurality of preset location fields include a preset location field “base station”, a preset location field “IP address”, a preset location field “latitude and longitude” and a preset location field “time zone”.
[0110] The location information may be extracted from the terminal device.
[0111] S15, processing the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested.
[0112] In at least one embodiment of the present invention, the field weight refers to the weight ratio corresponding to the multiple preset position fields.
[0113] The registration location refers to the geographical location information corresponding to the account to be tested when it is registered on the terminal device.
[0114] In at least one embodiment of the present invention, the electronic device processes the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested, comprising:
[0115] Detecting the tampering difficulty of the plurality of preset position fields;
[0116] Normalizing the plurality of tampering difficulties to obtain a plurality of field weights corresponding to the plurality of preset position fields;
[0117] Classify the same location information to obtain at least one classification information;
[0118] Calculating the information score corresponding to each categorized information according to the preset position field corresponding to each categorized information and the field weight;
[0119] The classified information with the largest information score is determined as the registered position.
[0120] For example, the location information corresponding to the preset location field "base station" is: A address, the location information corresponding to the preset location field "IP address" is: B address, the location information corresponding to the preset location field "longitude and latitude" is: the B address, and the location information corresponding to the preset location field "time zone" is: the A address. After classification processing, the classification information obtained includes: the A address and the B address. If the field weight corresponding to the preset location field "base station" is 0.5, the field weight corresponding to the preset location field "IP address" is 0.15, the field weight corresponding to the preset location field "longitude and latitude" is 0.24, and the field weight corresponding to the preset location field "time zone" is 0.11, after calculation, the information score of the A address is 0.5+0.11=0.61, and the information score of the B address is 0.15+0.24=0.39. Therefore, the registered location is: the A address.
[0121] By measuring the difficulty of tampering with the multiple preset location fields, multiple field weights can be accurately generated, and then the registration location can be determined by the field weights and the location information, which can prevent fraudsters from modifying the location information on multiple preset location fields at the same time, resulting in the inability to accurately determine the registration location.
[0122] S16, generating a second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations.
[0123] In at least one embodiment of the present invention, the plurality of preset locations refers to blacklist location information.
[0124] The second risk value refers to the risk level faced by the account to be tested in the plurality of preset position fields.
[0125] In at least one embodiment of the present invention, the electronic device generates the second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations, including:
[0126] Measuring the distance between the registered position and each preset position;
[0127] Determine the preset position with the smallest position distance as the target position, and determine the smallest position distance as the target distance;
[0128] Detecting the risk level of the target location;
[0129] The second risk value is generated based on the risk degree and the target distance. The calculation formula of the second risk value is:
[0130]
[0131] Wherein, m refers to the second risk value, n refers to the risk degree, and s refers to the target distance.
[0132] The position distance refers to the straight-line distance between the registered position and each preset position.
[0133] The second risk value can be accurately determined by combining the risk level of the target position and the target distance.
[0134] S17: Combining the first risk value and the second risk value to obtain a target risk value.
[0135] In at least one embodiment of the present invention, the target risk value refers to the sum of the first risk value and the second risk value.
[0136] It should be emphasized that in order to further ensure the privacy and security of the above target risk value, the above target risk value can also be stored in a node of a blockchain.
[0137] S18: If the target risk value is greater than the preset risk value, generating audio similarity according to the registered audio of the account to be tested and the preset audio features.
[0138] In at least one embodiment of the present invention, the preset risk value can be set according to actual needs.
[0139] The registration audio refers to the audio that the user is required to input when registering the account to be tested.
[0140] The preset audio feature refers to the timbre information corresponding to the blacklist user.
[0141] The audio similarity refers to the similarity between the registered audio and the preset audio feature.
[0142] In at least one embodiment of the present invention, the electronic device generates the audio similarity according to the registered audio of the account to be tested and the preset audio feature, including:
[0143] Obtain the registration audio of the account to be tested;
[0144] Extracting speech features from the enrollment audio;
[0145] Mapping the speech feature based on a preset feature vector table to obtain a vector to be tested, and mapping the preset audio feature based on the preset feature vector table to obtain a reference vector;
[0146] The cosine value of the vector to be tested and the reference vector is calculated to obtain the audio similarity.
[0147] The voice feature may refer to the timbre information of the registration audio, etc.
[0148] The preset feature vector table stores a mapping relationship between timbre information and vector values.
[0149] By mapping the speech features and the preset audio features through the same preset feature vector table, it is possible to avoid inaccurate audio similarity caused by mapping the speech features and the preset audio features from different dimensions.
[0150] In at least one embodiment of the present invention, if the target risk value is less than or equal to the preset risk value, the account to be tested is determined to be a normal registered account.
[0151] S19: If the audio similarity is greater than a preset similarity threshold, the account to be tested is determined as an abnormal registered account.
[0152] In at least one embodiment of the present invention, the preset similarity threshold can be set according to actual needs.
[0153] In at least one embodiment of the present invention, if the audio similarity is less than or equal to the preset similarity threshold, the method further includes:
[0154] Converting the audio similarity into a third risk value;
[0155] Calculating the sum of the first risk value, the second risk value and the third risk value to obtain a calculated risk value;
[0156] Comparing the calculated risk value with the configured risk value, the configured risk value being greater than the preset risk value;
[0157] If the calculated risk value is greater than or equal to the configured risk value, the account to be tested is determined to be an abnormal registered account; or
[0158] If the calculated risk value is less than the configured risk value, the account to be tested is determined to be a normal registered account.
[0159] Through the above implementation, the registration risk detection result of the account to be tested can be accurately determined when the audio similarity is less than or equal to the preset similarity threshold.
[0160] It can be seen from the above technical scheme that the present invention performs cluster detection on the first characteristic information through the preset list, and compares the second characteristic information with the device information. Since the first risk value is obtained after cluster detection and consistency detection on the input characteristic information, the first risk value of the account to be tested can be accurately generated, and then the registration position of the account to be tested is located based on the multiple preset position fields, which increases the difficulty for fraudsters to tamper with the registration position, and then the second risk value of the account to be tested can be accurately generated according to the distance between the registration position and the preset position. Furthermore, when the target risk value is greater than the preset risk value, the account to be tested is detected in combination with the registration audio, which can avoid fraudsters modifying the geographical location through specific technical means, resulting in the inability to accurately perform registration risk detection on the account to be tested.
[0161] like Figure 2 , which is a functional module diagram of a preferred embodiment of the account registration risk detection device of the present invention. The account registration risk detection device 11 includes an acquisition unit 110, a detection unit 111, a comparison unit 112, a generation unit 113, an extraction unit 114, a processing unit 115, a merging unit 116, a determination unit 117, a conversion unit 118 and a calculation unit 119. The module / unit referred to in the present invention refers to a series of computer-readable instruction segments that can be acquired by the processor 13 and can complete fixed functions, which are stored in the memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.
[0162] When a registration risk detection request is received, the acquisition unit 110 obtains the input feature information of the account to be tested according to the registration risk detection request, and obtains the device information of the terminal device where the account to be tested is registered, wherein the device information refers to the information of the terminal device on the preset feature field, and the input feature information includes the first feature information and the second feature information of the account to be tested on the preset feature field.
[0163] In at least one embodiment of the present invention, the registration risk detection request refers to a request triggered and generated when the account to be tested is registered. The account to be tested refers to an account that needs to be tested for registration risk.
[0164] The terminal device refers to a terminal that generates the registration risk detection request.
[0165] The preset characteristic field may refer to a field related to the terminal device, such as a mobile phone number.
[0166] In at least one embodiment of the present invention, the acquiring unit 110 acquires input feature information of the account to be tested according to the registration risk detection request, including:
[0167] Parsing the message header of the registration risk detection request to obtain the address information carried by the message header;
[0168] Extracting information corresponding to a preset tag from the address information as a target address, and determining a device corresponding to the target address as the terminal device;
[0169] Detecting the generation time of the registration risk detection request;
[0170] Acquiring a log corresponding to the generation time from the terminal device based on the account to be tested as a registration log of the account to be tested;
[0171] Information indicating user input is extracted from the registration log as the input feature information.
[0172] The message header includes the address information and a label indicating the address information.
[0173] The preset tag is used to indicate the address for generating the registration risk detection request.
[0174] Through the message header and the preset tag, the terminal device can be quickly and accurately determined, and then the registration log can be accurately extracted from the terminal device according to the account to be tested and the generation time, so that the input feature information can be accurately extracted.
[0175] The detection unit 111 detects whether the first feature information is aggregation information based on a preset list to obtain a detection result.
[0176] In at least one embodiment of the present invention, a plurality of blacklist information is stored in the preset list.
[0177] The detection result includes whether the first characteristic information is aggregation information and whether the first characteristic information is not aggregation information.
[0178] In at least one embodiment of the present invention, the detection unit 111 detects whether the first feature information is aggregation information based on a preset list, and the detection result obtained includes:
[0179] Counting the number of characters in each stored information in the preset list;
[0180] Extracting consecutive characters from the first feature information as information to be tested based on the number of characters;
[0181] Detecting whether the information to be tested is consistent with any stored information;
[0182] If the information to be tested is consistent with any of the stored information, the first characteristic information is determined as aggregation information as the detection result.
[0183] Among them, the preset list stores the first 3 digits of the mobile phone number, the first 7 digits of the mobile phone number, the first 5 characters of the Bluetooth MAC, etc.
[0184] The information to be tested can be accurately extracted by the number of characters, and the detection result can be accurately determined by comparing the information to be tested with the stored information. In addition, since there is no need to compare the entire first feature information, the generation efficiency of the detection result is improved.
[0185] The comparison unit 112 compares the second feature information with the device information to obtain a comparison result.
[0186] In at least one embodiment of the present invention, the comparison unit 112 compares each character in the second feature information with each character in the device information in turn; if any character in the second feature information is different from the character at the corresponding position in the device information, the comparison result is determined as the second feature information is different from the device information; or, if all characters in the second feature information are the same as all characters in the device information, the comparison result is determined as the second feature information is the same as the device information.
[0187] The generating unit 113 generates a first risk value of the account to be tested according to the detection result and the comparison result.
[0188] In at least one embodiment of the present invention, the first risk value refers to the risk faced by the account to be tested in the dimension corresponding to the input feature information.
[0189] In at least one embodiment of the present invention, the generating unit 113 generates the first risk value of the account to be tested according to the detection result and the comparison result, including:
[0190] Obtaining a first quantized value of the detection result, and obtaining a second quantized value of the comparison result;
[0191] The sum of the first quantified value and the second quantified value is calculated to obtain the first risk value.
[0192] The extracting unit 114 extracts the location information of the account to be tested in a plurality of preset location fields.
[0193] In at least one embodiment of the present invention, the plurality of preset location fields include a preset location field “base station”, a preset location field “IP address”, a preset location field “latitude and longitude” and a preset location field “time zone”.
[0194] The location information may be extracted from the terminal device.
[0195] The processing unit 115 processes the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested.
[0196] In at least one embodiment of the present invention, the field weight refers to the weight ratio corresponding to the multiple preset position fields.
[0197] The registration location refers to the geographical location information corresponding to the account to be tested when it is registered on the terminal device.
[0198] In at least one embodiment of the present invention, the processing unit 115 processes the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested, including:
[0199] Detecting the tampering difficulty of the plurality of preset position fields;
[0200] Normalizing the plurality of tampering difficulties to obtain a plurality of field weights corresponding to the plurality of preset position fields;
[0201] Classify the same location information to obtain at least one classification information;
[0202] Calculating the information score corresponding to each categorized information according to the preset position field corresponding to each categorized information and the field weight;
[0203] The classified information with the largest information score is determined as the registered position.
[0204] For example, the location information corresponding to the preset location field "base station" is: A address, the location information corresponding to the preset location field "IP address" is: B address, the location information corresponding to the preset location field "longitude and latitude" is: the B address, and the location information corresponding to the preset location field "time zone" is: the A address. After classification processing, the classification information obtained includes: the A address and the B address. If the field weight corresponding to the preset location field "base station" is 0.5, the field weight corresponding to the preset location field "IP address" is 0.15, the field weight corresponding to the preset location field "longitude and latitude" is 0.24, and the field weight corresponding to the preset location field "time zone" is 0.11, after calculation, the information score of the A address is 0.5+0.11=0.61, and the information score of the B address is 0.15+0.24=0.39. Therefore, the registered location is: the A address.
[0205] By measuring the difficulty of tampering with the multiple preset location fields, multiple field weights can be accurately generated, and then the registration location can be determined by the field weights and the location information, which can prevent fraudsters from modifying the location information on multiple preset location fields at the same time, resulting in the inability to accurately determine the registration location.
[0206] The generating unit 113 generates a second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations.
[0207] In at least one embodiment of the present invention, the plurality of preset locations refers to blacklist location information.
[0208] The second risk value refers to the risk level faced by the account to be tested in the plurality of preset position fields.
[0209] In at least one embodiment of the present invention, the generating unit 113 generates the second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations, including:
[0210] Measuring the distance between the registered position and each preset position;
[0211] Determine the preset position with the smallest position distance as the target position, and determine the smallest position distance as the target distance;
[0212] Detecting the risk level of the target location;
[0213] The second risk value is generated based on the risk degree and the target distance. The calculation formula of the second risk value is:
[0214]
[0215] Wherein, m refers to the second risk value, n refers to the risk degree, and s refers to the target distance.
[0216] The position distance refers to the straight-line distance between the registered position and each preset position.
[0217] The second risk value can be accurately determined by combining the risk level of the target position and the target distance.
[0218] The merging unit 116 merges the first risk value and the second risk value to obtain a target risk value.
[0219] In at least one embodiment of the present invention, the target risk value refers to the sum of the first risk value and the second risk value.
[0220] It should be emphasized that in order to further ensure the privacy and security of the above target risk value, the above target risk value can also be stored in a node of a blockchain.
[0221] If the target risk value is greater than the preset risk value, the generating unit 113 generates the audio similarity according to the registered audio of the account to be tested and the preset audio feature.
[0222] In at least one embodiment of the present invention, the preset risk value can be set according to actual needs.
[0223] The registration audio refers to the audio that the user is required to input when registering the account to be tested.
[0224] The preset audio feature refers to the timbre information corresponding to the blacklist user.
[0225] The audio similarity refers to the similarity between the registered audio and the preset audio feature.
[0226] In at least one embodiment of the present invention, the generating unit 113 generates the audio similarity according to the registered audio of the account to be tested and the preset audio feature, including:
[0227] Obtain the registration audio of the account to be tested;
[0228] Extracting speech features from the enrollment audio;
[0229] Mapping the speech feature based on a preset feature vector table to obtain a vector to be tested, and mapping the preset audio feature based on the preset feature vector table to obtain a reference vector;
[0230] The cosine value of the vector to be tested and the reference vector is calculated to obtain the audio similarity.
[0231] The voice feature may refer to the timbre information of the registration audio, etc.
[0232] The preset feature vector table stores a mapping relationship between timbre information and vector values.
[0233] By mapping the speech features and the preset audio features through the same preset feature vector table, it is possible to avoid inaccurate audio similarity caused by mapping the speech features and the preset audio features from different dimensions.
[0234] In at least one embodiment of the present invention, if the target risk value is less than or equal to the preset risk value, the account to be tested is determined to be a normal registered account.
[0235] If the audio similarity is greater than a preset similarity threshold, the determination unit 117 determines the account to be tested as an abnormal registered account.
[0236] In at least one embodiment of the present invention, the preset similarity threshold can be set according to actual needs.
[0237] In at least one embodiment of the present invention, if the audio similarity is less than or equal to the preset similarity threshold, the conversion unit 118 converts the audio similarity into a third risk value;
[0238] The calculation unit 119 calculates the sum of the first risk value, the second risk value and the third risk value to obtain a calculated risk value;
[0239] The comparison unit 112 compares the calculated risk value with the configured risk value, and the configured risk value is greater than the preset risk value;
[0240] If the calculated risk value is greater than or equal to the configured risk value, the determining unit 117 determines the account to be tested as an abnormal registered account; or
[0241] If the calculated risk value is less than the configured risk value, the determining unit 117 determines the account to be tested as a normal registered account.
[0242] Through the above implementation, the registration risk detection result of the account to be tested can be accurately determined when the audio similarity is less than or equal to the preset similarity threshold.
[0243] It can be seen from the above technical scheme that the present invention performs cluster detection on the first characteristic information through the preset list, and compares the second characteristic information with the device information. Since the first risk value is obtained after cluster detection and consistency detection on the input characteristic information, the first risk value of the account to be tested can be accurately generated, and then the registration position of the account to be tested is located based on the multiple preset position fields, which increases the difficulty for fraudsters to tamper with the registration position, and then the second risk value of the account to be tested can be accurately generated according to the distance between the registration position and the preset position. Furthermore, when the target risk value is greater than the preset risk value, the account to be tested is detected in combination with the registration audio, which can avoid fraudsters modifying the geographical location through specific technical means, resulting in the inability to accurately perform registration risk detection on the account to be tested.
[0244] like Figure 3 , which is a schematic diagram of the structure of an electronic device of a preferred embodiment of the account registration risk detection method of the present invention.
[0245] In one embodiment of the present invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and computer-readable instructions stored in the memory 12 and executable on the processor 13, such as an account registration risk detection program.
[0246] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 1 and does not constitute a limitation on the electronic device 1. The electronic device 1 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the electronic device 1 may also include input and output devices, network access devices, buses, etc.
[0247] The processor 13 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 13 is the computing core and control center of the electronic device 1, and uses various interfaces and lines to connect various parts of the entire electronic device 1, and executes the operating system of the electronic device 1 and various installed applications, program codes, etc.
[0248] Exemplarily, the computer-readable instructions may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer-readable instructions in the electronic device 1. For example, the computer-readable instructions may be divided into an acquisition unit 110, a detection unit 111, a comparison unit 112, a generation unit 113, an extraction unit 114, a processing unit 115, a merging unit 116, a determination unit 117, a conversion unit 118, and a calculation unit 119.
[0249] The memory 12 can be used to store the computer-readable instructions and / or modules, and the processor 13 implements various functions of the electronic device 1 by running or executing the computer-readable instructions and / or modules stored in the memory 12, and calling the data stored in the memory 12. The memory 12 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device, etc. The memory 12 can include non-volatile and volatile memories, such as: a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other storage devices.
[0250] The memory 12 may be an external memory and / or an internal memory of the electronic device 1. Furthermore, the memory 12 may be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.
[0251] If the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware to complete it through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the above-mentioned various method embodiments can be implemented.
[0252] The computer-readable instructions include computer-readable instruction codes, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM).
[0253] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0254] Combination Figure 1 The memory 12 in the electronic device 1 stores computer-readable instructions to implement an account registration risk detection method, and the processor 13 can execute the computer-readable instructions to implement:
[0255] When a registration risk detection request is received, the input feature information of the account to be tested is obtained according to the registration risk detection request, and the device information of the terminal device where the account to be tested is registered is obtained, wherein the device information refers to the information of the terminal device on a preset feature field, and the input feature information includes the first feature information and the second feature information of the account to be tested on the preset feature field;
[0256] Detecting whether the first feature information is aggregation information based on a preset list, and obtaining a detection result;
[0257] comparing the second characteristic information with the device information to obtain a comparison result;
[0258] generating a first risk value of the account to be tested according to the detection result and the comparison result;
[0259] Extracting the position information of the account to be tested in a plurality of preset position fields;
[0260] Processing the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested;
[0261] generating a second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations;
[0262] Combining the first risk value and the second risk value to obtain a target risk value;
[0263] If the target risk value is greater than the preset risk value, generating audio similarity according to the registered audio of the account to be tested and the preset audio features;
[0264] If the audio similarity is greater than a preset similarity threshold, the account to be tested is determined as an abnormal registered account.
[0265] Specifically, the specific implementation method of the processor 13 for the above-mentioned computer readable instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0266] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0267] The computer-readable storage medium stores computer-readable instructions, wherein the computer-readable instructions are used to implement the following steps when executed by the processor 13:
[0268] When a registration risk detection request is received, the input feature information of the account to be tested is obtained according to the registration risk detection request, and the device information of the terminal device where the account to be tested is registered is obtained, wherein the device information refers to the information of the terminal device on a preset feature field, and the input feature information includes the first feature information and the second feature information of the account to be tested on the preset feature field;
[0269] Detecting whether the first feature information is aggregation information based on a preset list, and obtaining a detection result;
[0270] comparing the second characteristic information with the device information to obtain a comparison result;
[0271] generating a first risk value of the account to be tested according to the detection result and the comparison result;
[0272] Extracting the position information of the account to be tested in a plurality of preset position fields;
[0273] Processing the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested;
[0274] generating a second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations;
[0275] Combining the first risk value and the second risk value to obtain a target risk value;
[0276] If the target risk value is greater than the preset risk value, generating audio similarity according to the registered audio of the account to be tested and the preset audio features;
[0277] If the audio similarity is greater than a preset similarity threshold, the account to be tested is determined as an abnormal registered account.
[0278] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0279] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0280] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0281] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices mentioned can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0282] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for detecting risk in account registration, characterized in that: The account registration risk detection method includes: When a registration risk detection request is received, the input feature information of the account to be tested is obtained according to the registration risk detection request, and the device information of the terminal device where the account to be tested is registered is obtained, wherein the device information refers to the information of the terminal device on a preset feature field, and the input feature information includes the first feature information and the second feature information of the account to be tested on the preset feature field; Detecting whether the first feature information is aggregation information based on a preset list, and obtaining a detection result; comparing the second characteristic information with the device information to obtain a comparison result; generating a first risk value of the account to be tested according to the detection result and the comparison result; Extracting the position information of the account to be tested on a plurality of preset position fields; Processing the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested; generating a second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations; Combining the first risk value and the second risk value to obtain a target risk value; If the target risk value is greater than the preset risk value, generating audio similarity according to the registered audio of the account to be tested and the preset audio features; If the audio similarity is greater than a preset similarity threshold, the account to be tested is determined as an abnormal registered account.
2. The account registration risk detection method according to claim 1, characterized in that: The step of obtaining input feature information of the account to be tested according to the registration risk detection request includes: Parsing the message header of the registration risk detection request to obtain the address information carried by the message header; Extracting information corresponding to a preset tag from the address information as a target address, and determining a device corresponding to the target address as the terminal device; Detecting the generation time of the registration risk detection request; Acquiring a log corresponding to the generation time from the terminal device based on the account to be tested as a registration log of the account to be tested; Information indicating user input is extracted from the registration log as the input feature information.
3. The account registration risk detection method according to claim 1, characterized in that: The detecting, based on the preset list, whether the first feature information is aggregation information, and obtaining the detection result comprises: Counting the number of characters in each stored information in the preset list; Extracting consecutive characters from the first feature information as information to be tested based on the number of characters; Detecting whether the information to be tested is consistent with any stored information; If the information to be tested is consistent with any of the stored information, the first characteristic information is determined as aggregation information as the detection result.
4. The account registration risk detection method according to claim 1, characterized in that: The step of processing the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested comprises: Detecting the tampering difficulty of the plurality of preset position fields; Normalizing the plurality of tampering difficulties to obtain a plurality of field weights corresponding to the plurality of preset position fields; Classify the same location information to obtain at least one classification information; Calculating the information score corresponding to each categorized information according to the preset position field corresponding to each categorized information and the field weight; The classified information with the largest information score is determined as the registered position.
5. The account registration risk detection method according to claim 1, characterized in that: Generating the second risk value of the account to be tested according to the distance between the registration location and a plurality of preset locations includes: Measuring the distance between the registered position and each preset position; Determine the preset position with the smallest position distance as the target position, and determine the smallest position distance as the target distance; Detecting the risk level of the target location; The second risk value is generated based on the risk degree and the target distance. The calculation formula of the second risk value is: Wherein, m refers to the second risk value, n refers to the risk degree, and s refers to the target distance.
6. The account registration risk detection method according to claim 1, characterized in that: Generating audio similarity according to the registered audio of the account to be tested and the preset audio features includes: Obtain the registration audio of the account to be tested; Extracting speech features from the enrollment audio; Mapping the speech feature based on a preset feature vector table to obtain a vector to be tested, and mapping the preset audio feature based on the preset feature vector table to obtain a reference vector; The cosine value of the vector to be tested and the reference vector is calculated to obtain the audio similarity.
7. The account registration risk detection method according to claim 1, characterized in that: If the audio similarity is less than or equal to the preset similarity threshold, the method further includes: Converting the audio similarity into a third risk value; Calculating the sum of the first risk value, the second risk value and the third risk value to obtain a calculated risk value; Comparing the calculated risk value with the configured risk value, the configured risk value being greater than the preset risk value; If the calculated risk value is greater than or equal to the configured risk value, the account to be tested is determined to be an abnormal registered account; or If the calculated risk value is less than the configured risk value, the account to be tested is determined to be a normal registered account.
8. An account registration risk detection device, characterized in that: The account registration risk detection device comprises: an acquisition unit, configured to, when receiving a registration risk detection request, acquire input feature information of the account to be tested according to the registration risk detection request, and acquire device information of a terminal device where the account to be tested is registered, wherein the device information refers to information of the terminal device on a preset feature field, and the input feature information includes first feature information and second feature information of the account to be tested on the preset feature field; A detection unit, configured to detect whether the first feature information is aggregation information based on a preset list, and obtain a detection result; A comparing unit, configured to compare the second feature information with the device information to obtain a comparison result; A generating unit, configured to generate a first risk value of the account to be tested according to the detection result and the comparison result; An extraction unit, used to extract the position information of the account to be tested on a plurality of preset position fields; A processing unit, configured to process the plurality of location information according to the field weights of the plurality of preset location fields to obtain the registration location of the account to be tested; The generating unit is further configured to generate a second risk value of the account to be tested according to the distance between the registered location and a plurality of preset locations; a merging unit, configured to merge the first risk value and the second risk value to obtain a target risk value; The generating unit is further configured to generate an audio similarity according to the registered audio of the account to be tested and a preset audio feature if the target risk value is greater than a preset risk value; A determination unit is used to determine the account to be tested as an abnormal registered account if the audio similarity is greater than a preset similarity threshold.
9. An electronic device, characterized in that: The electronic device comprises: a memory storing computer-readable instructions; and A processor executes computer-readable instructions stored in the memory to implement the account registration risk detection method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by a processor in an electronic device to implement the account registration risk detection method as described in any one of claims 1 to 7.
