Abnormal transaction data detection method and device, computer equipment, readable storage medium and program product

By acquiring request parameter information from transaction data, extracting length and parameter dimension features, and combining multiple detection models and weight fusion techniques, the problem of low efficiency and reliance on manual methods in traditional transaction anomaly data detection is solved, achieving highly efficient and automated anomaly data detection.

CN118569989APending Publication Date: 2024-08-30CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410731691.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Traditional methods of detecting abnormal transaction data rely on manual screening, which is inefficient and its accuracy depends on the professional skills of the staff, resulting in long transaction data verification times.

Method used

By acquiring the request parameter information of the transaction detection request, extracting length information features and parameter dimension information features, the system can automatically detect whether the transaction data is abnormal, and improve the detection accuracy by using multiple detection models and weight fusion technology.

Benefits of technology

It has enabled automated detection of abnormal transaction data, improving detection efficiency and accuracy while reducing the time spent on manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569989A
    Figure CN118569989A
Patent Text Reader

Abstract

The invention relates to a transaction abnormal data detection method and device, computer equipment, a computer readable storage medium and a computer program product, and is applied to the technical field of big data, and the method comprises the steps: responding to a transaction detection request for a transaction data system, and obtaining request parameter information corresponding to the transaction detection request; length information features are extracted from length information in the request parameter information, and parameter dimension information features are extracted from parameter dimension information in the request parameter information; and detecting whether transaction data corresponding to the request parameter information is transaction abnormal data or not according to the length information feature and the parameter dimension information feature. By adopting the method, automatic detection of the transaction data can be realized, and the transaction abnormal data detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium and computer program product for detecting abnormal transaction data. Background Art

[0002] With the development of science and technology, big data technology has become more and more mature, and people's demand for online transactions has increased day by day. At the same time, there are more and more transaction channels and transaction volumes providing transaction services. In this case, it is easy for transaction data to be abnormal. If the abnormal transaction data is not handled in time, it may cause the transaction process to fail to operate normally. Therefore, a way to verify the transaction data is needed.

[0003] In traditional technology, staff usually screen out abnormal transaction data from transaction data. However, the accuracy of abnormal transaction data detection in this way is more dependent on the professional ability level of the staff, and the staff's processing energy is limited. It is easy for the abnormal transaction data detection to take a long time, resulting in low transaction data verification efficiency. Summary of the invention

[0004] Based on this, it is necessary to provide a transaction abnormality data detection method, device, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of transaction abnormality data detection in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for detecting abnormal transaction data, comprising:

[0006] In response to a transaction detection request for the transaction data system, obtaining request parameter information corresponding to the transaction detection request;

[0007] Extracting a length information feature from the length information in the request parameter information, and extracting a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0008] According to the length information feature and the parameter dimension information feature, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0009] In one of the embodiments, the length information feature includes the total length of the information, and the parameter dimension information feature includes the number of parameter dimensions; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the length information feature and the parameter dimension information feature includes: obtaining historical request parameter information corresponding to the transaction detection request; generating a total information length condition and a parameter dimension number condition based on the historical request parameter information; if the total length of the information does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension number conditions, determining that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0010] In one of the embodiments, the length information feature includes the length information of each request parameter information, and the parameter dimension information feature includes parameter dimension type information; the method further includes: if the total length of the information satisfies the information length condition, and the number of parameter dimensions satisfies the parameter dimension number condition, then when there is any request parameter information whose length information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0011] In one of the embodiments, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the length information characteristics and the parameter dimension information characteristics includes: obtaining the transaction request type corresponding to the request parameter information; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the transaction request type and the length information characteristics to obtain a first detection result, and detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the transaction request type and the parameter dimension information characteristics to obtain a second detection result; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the first detection result and the second detection result.

[0012] In one of the embodiments, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the first detection result and the second detection result includes: obtaining a first weight corresponding to the first detection result, and obtaining a second weight corresponding to the second detection result; fusing the first detection result and the second detection result based on the first weight and the second weight to obtain a fused detection result; and detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the fused detection result.

[0013] In one embodiment, obtaining the first weight corresponding to the first detection result and obtaining the second weight corresponding to the second detection result include: obtaining the transaction detection complexity of the transaction request type; generating the first weight and the second weight according to the transaction detection complexity, wherein the higher the transaction detection complexity, the larger the generated second weight, and the lower the transaction detection complexity, the larger the generated first weight.

[0014] In a second aspect, the present application also provides a transaction abnormal data detection device, comprising:

[0015] an acquisition module, configured to respond to a transaction detection request for the transaction data system and acquire request parameter information corresponding to the transaction detection request;

[0016] an extraction module, configured to extract a length information feature from the length information in the request parameter information, and to extract a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0017] The detection module is used to detect whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the length information characteristics and the parameter dimension information characteristics.

[0018] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0019] In response to a transaction detection request for the transaction data system, obtaining request parameter information corresponding to the transaction detection request;

[0020] Extracting a length information feature from the length information in the request parameter information, and extracting a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0021] According to the length information feature and the parameter dimension information feature, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0022] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0023] In response to a transaction detection request for the transaction data system, obtaining request parameter information corresponding to the transaction detection request;

[0024] Extracting a length information feature from the length information in the request parameter information, and extracting a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0025] According to the length information feature and the parameter dimension information feature, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0026] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0027] In response to a transaction detection request for the transaction data system, obtaining request parameter information corresponding to the transaction detection request;

[0028] Extracting a length information feature from the length information in the request parameter information, and extracting a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0029] According to the length information feature and the parameter dimension information feature, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0030] The above-mentioned transaction abnormality data detection method, device, computer equipment, computer-readable storage medium and computer program product obtain request parameter information corresponding to the transaction detection request by responding to the transaction detection request for the transaction data system; extract length information features from the length information in the request parameter information, and extract parameter dimension information features from the parameter dimension information in the request parameter information; detect whether the transaction data corresponding to the request parameter information is transaction abnormality data based on the length information features and the parameter dimension information features, and use the length information features and parameter dimension information features in the request parameter information of the transaction data as the basis for detecting whether the transaction data is transaction abnormality data, thereby realizing automatic detection of transaction data and improving the efficiency of transaction abnormality data detection. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0032] Figure 1 A diagram of an application environment of a method for detecting abnormal transaction data in an embodiment;

[0033] Figure 2 A flowchart of a method for detecting abnormal transaction data in one embodiment;

[0034] Figure 3A flowchart of a step of detecting whether transaction data corresponding to request parameter information is abnormal transaction data according to length information features and parameter dimension information features in an embodiment;

[0035] Figure 4 A flowchart of a step of detecting whether transaction data corresponding to request parameter information is abnormal transaction data according to length information features and parameter dimension information features in another embodiment;

[0036] Figure 5 It is a structural block diagram of a device for detecting abnormal transaction data in one embodiment;

[0037] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0039] It should be noted that the information (including but not limited to request parameter information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the acquisition, transmission, storage, use and processing of relevant data are in compliance with the relevant provisions of national laws and regulations. For content pushed to users (for example, abnormal transaction data, etc.), users can refuse or conveniently refuse content push, etc. In the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.

[0040] The transaction abnormal data detection method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the transaction data system 104 through the network. The data storage system can store the data that the transaction data system 104 needs to process. The data storage system can be integrated on the transaction data system 104, or it can be placed on the cloud or other network servers. The transaction data system 104 responds to the transaction detection request for the transaction data system, obtains the request parameter information corresponding to the transaction detection request; extracts the length information feature from the length information in the request parameter information, and extracts the parameter dimension information feature from the parameter dimension information in the request parameter information; the transaction data system 104 detects whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the length information feature and the parameter dimension information feature. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The transaction data system 104 may be an independent physical server, a server cluster or a distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services.

[0041] In an exemplary embodiment, Figure 2 As shown, a method for detecting abnormal transaction data is provided. Figure 1 The transaction data system 104 in FIG. 1 is used as an example to illustrate the process, which includes the following steps 202 to 206. Among them:

[0042] Step 202: In response to a transaction detection request for a transaction data system, obtain request parameter information corresponding to the transaction detection request.

[0043] Among them, the transaction detection request in step 202 is a request for detecting transaction abnormality data on the transaction data in the transaction data system generated on demand. The transaction detection request can be issued by the user or generated when a preset condition is met. The preset condition can be every preset time interval, which can be 5 minutes, 10 minutes or any other time interval; the preset condition can also be that the total amount of transaction data that has not been detected in the accumulated transaction data system is greater than a preset total amount threshold, which can be 100 or 1000 or other total amounts of data. The request parameter information is used to characterize the data attribute information of the transaction data in the transaction data system, and the request parameter information includes but is not limited to parameter dimension information and information length information.

[0044] Exemplarily, step 202 includes: in response to a transaction detection request issued by a user, or in response to a transaction detection request generated by satisfying preset conditions, querying the transaction data system for undetected transaction data, and obtaining request parameter information of the undetected transaction data as request parameter information corresponding to the transaction detection request.

[0045] Furthermore, obtaining request parameter information of undetected transaction data includes: obtaining parameter dimension information and information length information of the undetected transaction data.

[0046] Optionally, as an embodiment, before step 202, the method further includes: generating a transaction detection request for the transaction data system at a preset time interval.

[0047] As another embodiment, before step 202, the method further includes: accumulating the total amount of undetected transaction data in the transaction data system, and if the total amount of data is greater than a preset total amount threshold, generating a transaction detection request for the transaction data system.

[0048] Step 204: extracting length information features from the length information in the request parameter information, and extracting parameter dimension information features from the parameter dimension information in the request parameter information.

[0049] Exemplarily, step 204 includes: obtaining a feature extractor, the feature extractor includes a length feature extractor and a dimension feature extractor, extracting length information features from length information in the request parameter information through the length feature extractor, and extracting parameter dimension information features from parameter dimension information in the request parameter information through the dimension feature extractor.

[0050] Step 206: Detect whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the length information characteristics and the parameter dimension information characteristics.

[0051] Exemplarily, step 206 includes: obtaining a transaction request type corresponding to the transaction detection request; and detecting whether transaction data corresponding to the request parameter information is abnormal transaction data based on the transaction request type, length information characteristics, and parameter dimension information characteristics.

[0052] As an embodiment, based on the transaction request type, length information characteristics and parameter dimension information characteristics, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data includes: generating a verification condition based on the transaction request type, and detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the verification condition, length information characteristics and parameter dimension information characteristics.

[0053] As another embodiment, based on the transaction request type, length information characteristics and parameter dimension information characteristics, detecting whether the transaction data corresponding to the request parameter information is transaction abnormality data includes: obtaining a transaction abnormality detection model corresponding to the transaction request type, and detecting whether the transaction data corresponding to the request parameter information is transaction abnormality data based on the transaction abnormality detection model, length information characteristics and parameter dimension information characteristics.

[0054] In the above-mentioned transaction abnormality data detection method, by responding to the transaction detection request for the transaction data system, the request parameter information corresponding to the transaction detection request is obtained; the length information feature is extracted from the length information in the request parameter information, and the parameter dimension information feature is extracted from the parameter dimension information in the request parameter information; according to the length information feature and the parameter dimension information feature, it is detected whether the transaction data corresponding to the request parameter information is transaction abnormality data, and the length information feature and the parameter dimension information feature in the request parameter information of the transaction data are used as the basis for detecting whether the transaction data is transaction abnormality data, thereby realizing the automatic detection of transaction data and improving the efficiency of transaction abnormality data detection.

[0055] In an exemplary embodiment, Figure 3 As shown, the length information feature includes the total length of the information, and the parameter dimension information feature includes the number of parameter dimensions; according to the length information feature and the parameter dimension information feature, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data includes steps 302 to 306. Among them:

[0056] Step 302: Obtain historical request parameter information corresponding to the transaction detection request.

[0057] Exemplarily, step 302 includes: obtaining a transaction request type corresponding to a transaction detection request, and pulling historical normal transaction data from a transaction data system, wherein the historical normal transaction data is historical data detected as normal transaction data, screening target transaction data having a transaction request type that is the same as the transaction request type corresponding to the transaction detection request from the historical normal transaction data, and determining the request parameter information of the target transaction data as the historical request parameter information corresponding to the transaction detection request.

[0058] Step 304: Generate a total information length condition and a parameter dimension quantity condition based on the historical request parameter information.

[0059] Among them, the total information length condition in step 304 can be within the total information length range or equal to the total information length value; the parameter dimension quantity condition can be within the parameter dimension quantity range or equal to the parameter dimension quantity value.

[0060] Exemplarily, generating a total information length condition based on historical request parameter information includes: accumulating an average value of total length information in historical request parameter information to obtain an average historical parameter length value, and generating a total information length condition based on the average historical parameter length value.

[0061] As an embodiment, a total information length condition is generated according to an average value of historical parameter lengths, including: obtaining a first preset range value, constructing a total information length range according to the sum and difference between the average value of historical parameter lengths and the first preset range value, and determining the total information length condition within the total information length range.

[0062] As another embodiment, generating a total information length condition according to an average value of historical parameter lengths includes: determining the average value of historical parameter lengths as a total information length value, and determining a value equal to the total information length as a total information length condition.

[0063] Exemplarily, generating a parameter dimension quantity condition based on historical request parameter information includes: accumulating an average value of the parameter dimension quantities in the historical request parameter information to obtain a historical dimension quantity average value, and generating a parameter dimension quantity condition based on the historical dimension quantity average value.

[0064] As an embodiment, a parameter dimension quantity condition is generated according to a historical dimension quantity average value, including: obtaining a second preset range value, constructing a parameter dimension quantity range according to the sum and difference between the historical dimension quantity average value and the second preset range value, and determining the parameter dimension quantity condition within the parameter dimension quantity range.

[0065] As another embodiment, generating a parameter dimension quantity condition according to a historical dimension quantity average value includes: determining the historical dimension quantity average value as the parameter dimension quantity value, and determining a value equal to the parameter dimension quantity value as the parameter dimension quantity condition.

[0066] In this way, diversified settings of parameter dimension quantity conditions and total information length conditions are achieved, ensuring the accuracy of transaction anomaly detection based on parameter dimension quantity conditions and total information length conditions.

[0067] Step 306: If the total information length does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension number conditions, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0068] Exemplarily, step 306 includes: if the total length of the information does not meet the total information length condition, or if the number of parameter dimensions does not meet the parameter dimension number condition, or if the total length of the information does not meet the total information length condition and the number of parameter dimensions does not meet the parameter dimension number condition, then determining that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0069] It is understandable that when only the total information length and the number of parameter dimensions are used as the basis for determining whether the transaction data corresponding to the request parameter information is transaction abnormality data, there may be a special case where the total information length of a certain transaction abnormality data can meet the total information length condition, and the number of parameter dimensions can meet the parameter dimension number condition. In this case, the above-mentioned solution cannot detect this special case, resulting in poor accuracy in transaction abnormality data detection.

[0070] Optionally, in order to overcome the defect of poor accuracy in detecting abnormal transaction data caused by the above-mentioned special circumstances, the length information feature includes the length information of each request parameter information, and the parameter dimension information feature includes the parameter dimension type information; the method also includes: if the total length of the information satisfies the information length condition, and the number of parameter dimensions satisfies the parameter dimension number condition, then when there is any request parameter information whose length information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0071] Exemplarily, when the length information of any request parameter information does not satisfy the single message length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information, the transaction data corresponding to the request parameter information is determined to be abnormal transaction data, including: when the length information of any request parameter information does not satisfy the single message length condition generated by the corresponding historical request parameter information, or, when the parameter dimension type information does not satisfy the parameter dimension type condition generated by the historical request parameter information, or, when the length information of any request parameter information does not satisfy the single message length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy the parameter dimension type condition generated by the historical request parameter information, the transaction data corresponding to the request parameter information is determined to be abnormal transaction data.

[0072] In this way, two-level detection of transaction data can be achieved (the first-level detection uses the total length of the information and the number of parameter dimensions as the basis for detecting abnormal transaction data, and the second-level detection uses the length information of any request parameter information and the parameter dimension type information as the basis for detecting abnormal transaction data), and the detection granularity is from shallow to deep. If abnormal transaction data is detected during the first-level detection process, there is no need to perform a second-level detection on the request parameter information. Therefore, unnecessary data verification time can be saved to a certain extent, and the efficiency of abnormal transaction data detection is improved. If abnormal transaction data is not detected during the first-level detection process, the request parameter information is subjected to a second-level detection, thereby improving the accuracy of abnormal transaction data detection.

[0073] In this embodiment, historical request parameter information corresponding to the transaction detection request is obtained; a total information length condition and a parameter dimension quantity condition are generated according to the historical request parameter information; if the total information length does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension quantity conditions, then the transaction data corresponding to the request parameter information is determined to be abnormal transaction data, and the satisfaction relationship between the total information length condition and the total information length, as well as the satisfaction relationship between the parameter dimension quantity condition and the parameter dimension quantity, this relatively simple judgment logic is used as the process of detecting the transaction data corresponding to the request parameter information, thereby improving the efficiency of detecting abnormal transaction data.

[0074] In an exemplary embodiment, Figure 4 As shown, according to the length information characteristics and the parameter dimension information characteristics, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data includes steps 402 to 406. Among them:

[0075] Step 402: Obtain the transaction request type corresponding to the request parameter information.

[0076] Exemplarily, step 402 includes: identifying a transaction request type of transaction data corresponding to the request parameter information, and obtaining the transaction request type corresponding to the request parameter information.

[0077] As an embodiment, step 402 includes: obtaining a preset transaction request type library, wherein the preset transaction request type library includes a correspondence between preset transaction request types and preset request parameter information; and querying the preset transaction request type library according to the request parameter information to obtain the transaction request type corresponding to the request parameter information.

[0078] Step 404: Based on the transaction request type and length information characteristics, detect whether the transaction data corresponding to the request parameter information is abnormal transaction data to obtain a first detection result; and based on the transaction request type and parameter dimension information characteristics, detect whether the transaction data corresponding to the request parameter information is abnormal transaction data to obtain a second detection result.

[0079] The length information features in step 404 include but are not limited to the total length of the information and the length information of each request parameter information, and the parameter dimension information features include but are not limited to the number of parameter dimensions and parameter dimension type information.

[0080] Exemplarily, based on the transaction request type and length information characteristics, whether the transaction data corresponding to the request parameter information is abnormal transaction data is detected to obtain a first detection result, including: obtaining a first transaction detection model, the first transaction detection model is obtained by iterative training of multiple first training samples, a first training sample is composed of first input feature data and a real label corresponding to the first input feature data, the first input feature data includes a training transaction request type corresponding to the first training request parameter information and a length information characteristic of the first training request parameter information, the real label corresponding to the first input feature data is a first real detection result for detecting whether the transaction data corresponding to the first training request parameter information is abnormal transaction data, and through the first transaction detection model, the transaction request type and the length information characteristics, whether the transaction data corresponding to the request parameter information is abnormal transaction data is detected to obtain a first detection result.

[0081] Exemplarily, according to the transaction request type and parameter dimension information characteristics, whether the transaction data corresponding to the request parameter information is abnormal transaction data is detected to obtain a second detection result, including: obtaining a second transaction detection model, the second transaction detection model is obtained by iterative training of multiple second training samples, a second training sample is composed of second input feature data and a real label corresponding to the second input feature data, the second input feature data includes a training transaction request type corresponding to the second training request parameter information and parameter dimension information characteristics of the second training request parameter information, the real label corresponding to the second input feature data is a second real detection result for detecting whether the transaction data corresponding to the second training request parameter information is abnormal transaction data, and through the second transaction detection model, the transaction request type and parameter dimension information characteristics, whether the transaction data corresponding to the request parameter information is abnormal transaction data is detected to obtain a second detection result.

[0082] Optionally, the first detection result and the second detection result may be detection labels, which include labels for abnormal transaction data and labels for not abnormal transaction data, or may be detection probabilities, which are specifically the probability that the transaction data corresponding to the request parameter information is (not) abnormal transaction data.

[0083] Step 406: Detect whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the first detection result and the second detection result.

[0084] As an embodiment, based on the first detection result and the second detection result, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data includes: obtaining a first weight corresponding to the first detection result, and obtaining a second weight corresponding to the second detection result; based on the first weight and the second weight, fusing the first detection result and the second detection result to obtain a fused detection result; based on the fused detection result, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0085] As an embodiment, the first detection result and the second detection result are fused according to the first weight and the second weight to obtain a fused detection result, including: when the first detection result and the second detection result are detection labels, if the first weight is greater than or equal to the second weight, the first detection result is determined as the fused detection result; if the first weight is less than the second weight, the second detection result is determined as the fused detection result.

[0086] As another embodiment, the first detection result and the second detection result are fused according to the first weight and the second weight to obtain a fused detection result, including: when the first detection result and the second detection result are detection probabilities, the first weight and the first detection result are weighted to obtain a first weighted detection result, the second weight and the second detection result are weighted to obtain a second weighted detection result, and the first weighted detection result and the second weighted detection result are fused to obtain a fused detection result.

[0087] Further, the first weight and the first detection result are weighted to obtain a first weighted detection result, including: weighted summing the first weight and the first detection result to obtain the first weighted detection result, or weighted producting the first weight and the first detection result to obtain the first weighted detection result.

[0088] Further, the second weight and the second detection result are weighted to obtain a second weighted detection result, including: weighted summing the second weight and the second detection result to obtain the second weighted detection result, or weighted producting the second weight and the second detection result to obtain the second weighted detection result.

[0089] Furthermore, the first weighted detection result and the second weighted detection result are fused to obtain a fused detection result, including: summing the first weighted detection result and the second weighted detection result to obtain a fused detection result.

[0090] It is understandable that under different transaction request types, the performance of abnormal transaction data is different, which makes the weight of length information features and parameter dimension information features for abnormal transaction data detection different. Therefore, if the first weight and the second weight are not set reasonably, the accuracy of abnormal transaction data detection may be poor.

[0091] In order to overcome the above-mentioned technical defect of poor accuracy in detecting abnormal transaction data due to unreasonable setting of the first weight and the second weight, as an embodiment, obtaining the first weight corresponding to the first detection result, and obtaining the second weight corresponding to the second detection result, include: obtaining the transaction detection complexity of the transaction request type; generating the first weight and the second weight according to the transaction detection complexity, wherein the higher the transaction detection complexity, the larger the generated second weight, and the lower the transaction detection complexity, the larger the generated first weight.

[0092] Furthermore, obtaining the transaction detection complexity of the transaction request type includes: obtaining the information content complexity and the number of parameter dimensions of the request parameter information corresponding to the transaction request type, and generating the transaction detection complexity of the transaction request type according to the information content complexity and the number of parameter dimensions, wherein the higher the information content complexity, the higher the generated transaction detection complexity, and the larger the number of parameter dimensions, the higher the generated transaction detection complexity.

[0093] In this way, for transaction request types with higher transaction detection complexity, the weight of parameter dimension information features is set higher, ensuring that the detection of parameter dimension information features accounts for a higher proportion of transaction abnormal data detection; for transaction request types with lower transaction detection complexity, the weight of parameter dimension information features is set lower, ensuring that the detection of parameter dimension information features accounts for a lower proportion of transaction abnormal data detection, thereby improving the accuracy of transaction abnormal data detection.

[0094] In this embodiment, by obtaining the transaction request type corresponding to the request parameter information; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data according to the transaction request type and length information characteristics, obtaining a first detection result; and, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data according to the transaction request type and parameter dimension information characteristics, obtaining a second detection result; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data according to the first detection result and the second detection result, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the two dimensions of length information characteristics and parameter dimension information characteristics, respectively, thereby using the two detection results obtained by detection as a basis for detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data, thereby improving the detection accuracy of abnormal transaction data.

[0095] As a detailed embodiment, in response to a transaction detection request for a transaction data system, request parameter information corresponding to the transaction detection request is obtained; length information features are extracted from the length information in the request parameter information, and parameter dimension information features are extracted from the parameter dimension information in the request parameter information; historical request parameter information corresponding to the transaction detection request is obtained; a total information length condition and a parameter dimension quantity condition are generated based on the historical request parameter information; if the total information length does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension quantity conditions, then the transaction data corresponding to the request parameter information is determined to be transaction abnormality data; if the total information length satisfies the information length condition, and the number of parameter dimensions satisfies the parameter dimension quantity condition, then when the length information of any request parameter information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information, then the transaction data corresponding to the request parameter information is determined to be transaction abnormality data.

[0096] Further, the transaction request type corresponding to the request parameter information is obtained; based on the transaction request type and length information characteristics, whether the transaction data corresponding to the request parameter information is abnormal transaction data is detected to obtain a first detection result, and, based on the transaction request type and parameter dimension information characteristics, whether the transaction data corresponding to the request parameter information is abnormal transaction data is detected to obtain a second detection result; the transaction detection complexity of the transaction request type is obtained; based on the transaction detection complexity, a first weight and a second weight are generated, wherein the higher the transaction detection complexity, the larger the generated second weight, and the lower the transaction detection complexity, the larger the generated first weight; based on the first weight and the second weight, the first detection result and the second detection result are merged to obtain a merged detection result; based on the merged detection result, whether the transaction data corresponding to the request parameter information is abnormal transaction data is detected.

[0097] In this way, in response to a transaction detection request for a transaction data system, request parameter information corresponding to the transaction detection request is obtained; length information features are extracted from the length information in the request parameter information, and parameter dimension information features are extracted from the parameter dimension information in the request parameter information; based on the length information features and the parameter dimension information features, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data, and the length information features and the parameter dimension information features in the request parameter information of the transaction data are used as a basis for detecting whether the transaction data is abnormal transaction data, thereby realizing automatic detection of transaction data and improving the efficiency of detecting abnormal transaction data.

[0098] Furthermore, the satisfaction relationship between the total information length condition and the total information length, as well as the satisfaction relationship between the parameter dimension quantity condition and the parameter dimension quantity, is used as a relatively simple judgment logic as a process for detecting transaction data corresponding to the request parameter information, thereby improving the efficiency of detecting abnormal transaction data.

[0099] Furthermore, the transaction data corresponding to the request parameter information is detected as abnormal transaction data based on the length information feature and the parameter dimension information feature. The two detection results are used as a basis for detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data, thereby improving the accuracy of detecting abnormal transaction data.

[0100] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0101] Based on the same inventive concept, the embodiment of the present application also provides a transaction abnormality data detection device for implementing the transaction abnormality data detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more transaction abnormality data detection device embodiments provided below can refer to the limitations of the transaction abnormality data detection method above, and will not be repeated here.

[0102] In an exemplary embodiment, Figure 5 As shown, a transaction abnormality data detection device 500 is provided, comprising: an acquisition module 502, a detection module 504 and a selection module 506, wherein:

[0103] An acquisition module 502, configured to respond to a transaction detection request for a transaction data system and acquire request parameter information corresponding to the transaction detection request;

[0104] An extraction module 504 is used to extract a length information feature from the length information in the request parameter information, and to extract a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0105] The detection module 506 is used to detect whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the length information characteristics and the parameter dimension information characteristics.

[0106] In one of the embodiments, the length information feature includes the total length of the information, and the parameter dimension information feature includes the number of parameter dimensions; the detection module 506 is also used to obtain historical request parameter information corresponding to the transaction detection request; based on the historical request parameter information, a total information length condition and a parameter dimension number condition are generated; if the total information length does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension number conditions, then it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0107] In one embodiment, the length information feature includes the length information of each request parameter information, and the parameter dimension information feature includes the parameter dimension type information; the detection module 506 is also used to determine that the transaction data corresponding to the request parameter information is abnormal transaction data if the total length of the information satisfies the information length condition and the number of parameter dimensions satisfies the parameter dimension number condition, then when there is any request parameter information whose length information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information.

[0108] In one of the embodiments, the detection module 506 is also used to obtain the transaction request type corresponding to the request parameter information; based on the transaction request type and length information characteristics, detect whether the transaction data corresponding to the request parameter information is abnormal transaction data to obtain a first detection result; and, based on the transaction request type and parameter dimension information characteristics, detect whether the transaction data corresponding to the request parameter information is abnormal transaction data to obtain a second detection result; based on the first detection result and the second detection result, detect whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0109] In one embodiment, the detection module 506 is also used to obtain a first weight corresponding to the first detection result, and to obtain a second weight corresponding to the second detection result; based on the first weight and the second weight, the first detection result and the second detection result are fused to obtain a fused detection result; based on the fused detection result, whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0110] In one embodiment, the detection module 506 is also used to obtain the transaction detection complexity of the transaction request type; based on the transaction detection complexity, a first weight and a second weight are generated, wherein the higher the transaction detection complexity, the larger the second weight generated, and the lower the transaction detection complexity, the larger the first weight generated.

[0111] Each module in the above-mentioned transaction abnormal data detection device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0112] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store object information and service information. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for detecting abnormal transaction data is implemented.

[0113] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0114] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0115] In response to a transaction detection request for a transaction data system, obtaining request parameter information corresponding to the transaction detection request;

[0116] Extracting a length information feature from the length information in the request parameter information, and extracting a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0117] According to the length information characteristics and parameter dimension information characteristics, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0118] In one embodiment, when the processor executes the computer program, it also implements the following steps: obtaining historical request parameter information corresponding to the transaction detection request; generating a total information length condition and a parameter dimension quantity condition based on the historical request parameter information; if the total information length does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension quantity conditions, then determining that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0119] In one embodiment, the processor further implements the following steps when executing the computer program: if the total length of the information satisfies the information length condition, and the number of parameter dimensions satisfies the parameter dimension number condition, then when the length information of any request parameter information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0120] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the transaction request type corresponding to the request parameter information; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the transaction request type and length information characteristics to obtain a first detection result; and, based on the transaction request type and parameter dimension information characteristics, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data to obtain a second detection result; based on the first detection result and the second detection result, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0121] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a first weight corresponding to the first detection result, and obtaining a second weight corresponding to the second detection result; based on the first weight and the second weight, fusing the first detection result and the second detection result to obtain a fused detection result; based on the fused detection result, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0122] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the transaction detection complexity of the transaction request type; generating a first weight and a second weight according to the transaction detection complexity, wherein the higher the transaction detection complexity, the larger the second weight generated, and the lower the transaction detection complexity, the larger the first weight generated.

[0123] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0124] In response to a transaction detection request for a transaction data system, obtaining request parameter information corresponding to the transaction detection request;

[0125] Extracting a length information feature from the length information in the request parameter information, and extracting a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0126] According to the length information characteristics and parameter dimension information characteristics, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0127] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining historical request parameter information corresponding to the transaction detection request; generating a total information length condition and a parameter dimension quantity condition based on the historical request parameter information; if the total information length does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension quantity conditions, then determining that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0128] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the total length of the information satisfies the information length condition, and the number of parameter dimensions satisfies the parameter dimension number condition, then when there is any request parameter information whose length information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0129] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a transaction request type corresponding to the request parameter information; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the transaction request type and length information characteristics to obtain a first detection result; and, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the transaction request type and parameter dimension information characteristics to obtain a second detection result; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the first detection result and the second detection result.

[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a first weight corresponding to the first detection result, and obtaining a second weight corresponding to the second detection result; based on the first weight and the second weight, fusing the first detection result and the second detection result to obtain a fused detection result; based on the fused detection result, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0131] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the transaction detection complexity of the transaction request type; generating a first weight and a second weight according to the transaction detection complexity, wherein the higher the transaction detection complexity, the larger the second weight generated, and the lower the transaction detection complexity, the larger the first weight generated.

[0132] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0133] In response to a transaction detection request for a transaction data system, obtaining request parameter information corresponding to the transaction detection request;

[0134] Extracting a length information feature from the length information in the request parameter information, and extracting a parameter dimension information feature from the parameter dimension information in the request parameter information;

[0135] According to the length information characteristics and parameter dimension information characteristics, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0136] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining historical request parameter information corresponding to the transaction detection request; generating a total information length condition and a parameter dimension quantity condition based on the historical request parameter information; if the total information length does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension quantity conditions, then determining that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0137] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the total length of the information satisfies the information length condition, and the number of parameter dimensions satisfies the parameter dimension number condition, then when there is any request parameter information whose length information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

[0138] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a transaction request type corresponding to the request parameter information; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the transaction request type and length information characteristics to obtain a first detection result; and, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the transaction request type and parameter dimension information characteristics to obtain a second detection result; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the first detection result and the second detection result.

[0139] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a first weight corresponding to the first detection result, and obtaining a second weight corresponding to the second detection result; based on the first weight and the second weight, fusing the first detection result and the second detection result to obtain a fused detection result; based on the fused detection result, detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data.

[0140] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the transaction detection complexity of the transaction request type; generating a first weight and a second weight according to the transaction detection complexity, wherein the higher the transaction detection complexity, the larger the second weight generated, and the lower the transaction detection complexity, the larger the first weight generated.

[0141] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0142] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0143] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for detecting abnormal transaction data, characterized in that: Applied to a transaction data system, the method comprises: In response to a transaction detection request for the transaction data system, obtaining request parameter information corresponding to the transaction detection request; Extracting a length information feature from the length information in the request parameter information, and extracting a parameter dimension information feature from the parameter dimension information in the request parameter information; According to the length information feature and the parameter dimension information feature, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

2. The method according to claim 1, characterized in that The length information feature includes the total length of the information, and the parameter dimension information feature includes the number of parameter dimensions; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data according to the length information feature and the parameter dimension information feature includes: Obtaining historical request parameter information corresponding to the transaction detection request; Generate a total information length condition and a parameter dimension quantity condition according to the historical request parameter information; If the total length of the information does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension number conditions, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

3. The method according to claim 2, characterized in that The length information feature includes the length information of each request parameter information, and the parameter dimension information feature includes parameter dimension type information; the method further includes: If the total length of the information satisfies the information length condition, and the number of parameter dimensions satisfies the parameter dimension number condition, then when the length information of any of the request parameter information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

4. The method according to claim 1, characterized in that The detecting, according to the length information feature and the parameter dimension information feature, whether the transaction data corresponding to the request parameter information is abnormal transaction data includes: Obtaining the transaction request type corresponding to the request parameter information; detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data according to the transaction request type and the length information characteristics, and obtaining a first detection result; and detecting whether the transaction data corresponding to the request parameter information is abnormal transaction data according to the transaction request type and the parameter dimension information characteristics, and obtaining a second detection result; According to the first detection result and the second detection result, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

5. The method according to claim 4, characterized in that The detecting, according to the first detection result and the second detection result, whether the transaction data corresponding to the request parameter information is abnormal transaction data includes: Obtaining a first weight corresponding to the first detection result, and obtaining a second weight corresponding to the second detection result; fusing the first detection result and the second detection result according to the first weight and the second weight to obtain a fused detection result; According to the fusion detection result, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

6. The method according to claim 5, characterized in that The obtaining of a first weight corresponding to the first detection result and the obtaining of a second weight corresponding to the second detection result include: Obtaining the transaction detection complexity of the transaction request type; The first weight and the second weight are generated according to the transaction detection complexity, wherein the higher the transaction detection complexity is, the larger the second weight is, and the lower the transaction detection complexity is, the larger the first weight is.

7. A device for detecting abnormal transaction data, characterized in that: The device comprises: an acquisition module, configured to respond to a transaction detection request for the transaction data system and acquire request parameter information corresponding to the transaction detection request; an extraction module, configured to extract a length information feature from the length information in the request parameter information, and to extract a parameter dimension information feature from the parameter dimension information in the request parameter information; The detection module is used to detect whether the transaction data corresponding to the request parameter information is abnormal transaction data based on the length information characteristics and the parameter dimension information characteristics.

8. The device according to claim 7, characterized in that The length information feature includes the total length of the information, and the parameter dimension information feature includes the number of parameter dimensions; the detection module is also used to obtain historical request parameter information corresponding to the transaction detection request; based on the historical request parameter information, a total information length condition and a parameter dimension number condition are generated; if the total length of the information does not satisfy the total information length condition, and the number of parameter dimensions does not satisfy at least one of the parameter dimension number conditions, it is determined that the transaction data corresponding to the request parameter information is abnormal transaction data.

9. The device according to claim 8, characterized in that The length information feature includes the length information of each request parameter information, and the parameter dimension information feature includes parameter dimension type information; the detection module is also used to determine that the transaction data corresponding to the request parameter information is abnormal transaction data if the total length of the information satisfies the information length condition and the number of parameter dimensions satisfies the parameter dimension number condition, then when there is any request parameter information whose length information does not satisfy the single information length condition generated by the corresponding historical request parameter information, and the parameter dimension type information does not satisfy at least one of the parameter dimension type conditions generated by the historical request parameter information.

10. The device according to claim 7, characterized in that The detection module is also used to obtain the transaction request type corresponding to the request parameter information; based on the transaction request type and the length information characteristics, detect whether the transaction data corresponding to the request parameter information is abnormal transaction data to obtain a first detection result; and, based on the transaction request type and the parameter dimension information characteristics, detect whether the transaction data corresponding to the request parameter information is abnormal transaction data to obtain a second detection result; based on the first detection result and the second detection result, detect whether the transaction data corresponding to the request parameter information is abnormal transaction data.

11. The device according to claim 10, characterized in that The detection module is further used to obtain a first weight corresponding to the first detection result, and to obtain a second weight corresponding to the second detection result; and to fuse the first detection result and the second detection result according to the first weight and the second weight to obtain a fused detection result; According to the fusion detection result, it is detected whether the transaction data corresponding to the request parameter information is abnormal transaction data.

12. The device according to claim 11, characterized in that The detection module is also used to obtain the transaction detection complexity of the transaction request type; and generate the first weight and the second weight according to the transaction detection complexity, wherein the higher the transaction detection complexity, the larger the second weight generated, and the lower the transaction detection complexity, the larger the first weight generated.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.