Abnormal data detection method, device thereof and electronic equipment
By automatically comparing the configuration information of the trading environment and identifying data differences, the system solves the problems of omissions and time consumption caused by manual comparison, and achieves fast and accurate abnormal data detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 中国邮政储蓄银行股份有限公司
- Filing Date
- 2022-12-29
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, manual comparison of data from different environments is prone to omissions or errors, and is time-consuming and labor-intensive, making it difficult to quickly detect data anomalies.
By obtaining the configuration information of the target transaction under abnormal conditions and comparing it with the configuration information under preset successful conditions, abnormal data is identified. By comparing data types and sequence numbers, data differences are automatically identified and error messages are generated.
It enables rapid and accurate location and identification of data discrepancies under abnormal transaction environments, avoiding omissions and time-consuming manual inspections, and improving inspection efficiency.
Smart Images

Figure CN116204797B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing, and more specifically, to an abnormal data detection method, apparatus, and electronic device. Background Technology
[0002] Because of environmental information, a transaction might process normally in one environment but fail in the other. In this case, it is necessary to manually check the environment parameters of the environment where the transaction failed and the environment where the transaction was successful, whether the service versions of the two environments are the same, whether the SDK versions used in the transaction process are consistent, and whether the startup parameter configurations of the two environments are consistent, etc.
[0003] When comparing data from two environments, manual comparison alone can easily lead to omissions or errors. Moreover, the data volume for the configuration center and the version information of service components is large, making the comparison very time-consuming and labor-intensive. Summary of the Invention
[0004] The main objective of this invention is to provide an abnormal data detection method, apparatus, and electronic device to solve the problem of how to quickly detect data anomalies in different environments in the prior art.
[0005] To achieve the above objectives, according to one aspect of the present invention, an abnormal data detection method is provided, comprising: acquiring first configuration information of a target transaction, wherein the transaction state of the target transaction in a first environment is an abnormal state, and the first configuration information includes at least the configuration information of the target transaction in the first environment; comparing the first configuration information with preset configuration information to obtain comparison result information, wherein the transaction state of the target transaction in a second environment is a successful state, and the preset configuration information is the configuration information of the target transaction in the second environment; and determining abnormal data in the first configuration information based on the comparison result information.
[0006] Optionally, the above detection method further includes: obtaining historical successful transactions with the same transaction type as the target transaction; determining the transaction environment corresponding to the historical successful transactions to obtain a second environment; and obtaining the configuration information of the historical successful transactions in the second environment as preset configuration information.
[0007] Optionally, comparing the first configuration information with the preset configuration information to obtain comparison result information includes: determining at least one data type corresponding to at least one target configuration data in the first configuration information; obtaining at least one preset configuration data corresponding to the at least one data type from the preset configuration information; determining the correspondence between at least one target configuration data and at least one preset configuration data according to the at least one data type; comparing each target configuration data with the corresponding preset configuration data to obtain comparison result information, wherein the comparison result information is used to indicate whether the target configuration data is the same as or different from the corresponding preset configuration data.
[0008] Optionally, at least one data type includes at least one of the following: version information data of independent server components, configuration information data of the configuration center, startup parameter data, and cached configuration parameter data.
[0009] Optionally, when there are multiple data types, abnormal data in the first configuration information is determined based on the comparison result information, including: determining at least one abnormal data based on the comparison result information and multiple target configuration data corresponding to multiple data types, wherein at least one abnormal data is at least one target configuration data that is different from the corresponding preset configuration data among the multiple target configuration data.
[0010] Optionally, the above detection method further includes: establishing a mapping relationship between the data type of abnormal data and the target of the first environment; generating error information corresponding to the first environment based on the target mapping relationship, wherein the error information is used to indicate the data type that triggered the abnormal transaction in the first environment.
[0011] Optionally, when multiple sets of first configuration information are obtained, comparing the first configuration information with preset configuration information to obtain comparison result information includes: generating a preset data sequence corresponding to multiple preset configuration data in the preset configuration information according to a preset sorting of multiple data types, wherein the preset data sequence includes the data types of multiple preset configuration data and their corresponding sequence numbers; generating a first data sequence corresponding to multiple first configuration data in each set of first configuration information according to a preset sorting of multiple data types, wherein the first data sequence includes the data types of multiple first configuration data and their corresponding sequence numbers; and comparing the first configuration data with the same sequence number with the preset configuration data to obtain comparison result information.
[0012] According to another aspect of the present invention, an abnormal data detection device is also provided, comprising: an acquisition module, configured to acquire first configuration information of a target transaction, wherein the transaction status of the target transaction in a first environment is an abnormal state, and the first configuration information includes at least the configuration information of the target transaction in the first environment; a comparison module, configured to compare the first configuration information with preset configuration information to obtain comparison result information, wherein the transaction status of the target transaction in a second environment is a successful state, and the preset configuration information is the configuration information of the target transaction in the second environment; and a determination module, configured to determine abnormal data in the first configuration information based on the comparison result information.
[0013] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, wherein when the computer program is executed by a processor, it implements the abnormal data detection step in the above-described detection method.
[0014] According to another aspect of the present invention, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the abnormal data detection step in the above-described detection method.
[0015] The present invention first obtains the configuration information of the target transaction in the first environment, i.e., the transaction state is abnormal, thereby obtaining the first configuration information; then, it obtains the configuration information of the target transaction in the second environment, i.e., the transaction state is successful, thereby obtaining the preset configuration information; the first configuration information is compared with the preset configuration information to obtain the comparison result information; finally, based on the comparison result information, the abnormal data in the first configuration information is determined, thereby identifying the data differences in the first environment, i.e., the transaction state is abnormal, and achieving the purpose of quickly locating abnormal data. Attached Figure Description
[0016] The accompanying drawings, which form part of this specification, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:
[0017] Figure 1 This is a flowchart illustrating an abnormal data detection method according to Embodiment 1 of the present invention;
[0018] Figure 2 This is a schematic diagram comparing configuration information in two environments in the abnormal data detection method according to Embodiment 1 of the present invention;
[0019] Figure 3 This is a block diagram of an abnormal data detection device according to Embodiment 2 of the present invention;
[0020] Figure 4 This is a device block diagram of a terminal according to an embodiment of the present invention. Detailed Implementation
[0021] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0022] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of the invention described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0024] Example 1
[0025] According to an embodiment of the present invention, an abnormal data detection method is provided. Figure 1 This is a flowchart of the abnormal data detection method according to Embodiment 1 of the present invention, as follows: Figure 1 As shown, the method includes the following steps:
[0026] Step S102: Obtain the first configuration information of the target transaction, wherein the transaction status of the target transaction in the first environment is an abnormal state, and the first configuration information includes at least the configuration information of the target transaction in the first environment.
[0027] Step S104: Compare the first configuration information with the preset configuration information to obtain comparison result information, wherein the transaction status of the target transaction in the second environment is a successful status, and the preset configuration information is the configuration information of the target transaction in the second environment.
[0028] Step S106: Based on the comparison result information, determine the abnormal data in the first configuration information.
[0029] Through the above steps, the configuration information of the target transaction in the first environment, i.e., the transaction status is abnormal, is first obtained, thus obtaining the first configuration information; then, the configuration information of the target transaction in the second environment, i.e. the transaction status is successful, is obtained, thus obtaining the preset configuration information; the first configuration information and the preset configuration information are compared, thus obtaining the comparison result information; finally, based on the comparison result information, the abnormal data in the first configuration information is determined, thereby identifying the data differences in the first environment, i.e., the transaction status is abnormal, and achieving the purpose of quickly locating abnormal data.
[0030] Specifically, in this embodiment, the target transaction can be a transaction currently being conducted in a certain environment. Due to differences in configuration information under different environments, the same transaction may produce different results and exhibit different transaction states in different environments. If a transaction succeeds in one environment, the transaction state is "successful"; if a transaction fails in another environment, the transaction state is "abnormal". When a transaction fails, it can be determined manually whether there is an anomaly in the configuration information of the transaction environment.
[0031] In step S102 above, the first configuration information of the target transaction is obtained, wherein the transaction status of the target transaction in the first environment is an abnormal state, and the first configuration information includes at least the configuration information of the target transaction in the first environment.
[0032] Specifically, if the target transaction is in an abnormal state (i.e., the transaction has failed) in the first environment, it is necessary to obtain the configuration information in the first environment to obtain the first configuration information, thereby achieving the purpose of investigating the first configuration information.
[0033] In step S104 above, the first configuration information is compared with the preset configuration information to obtain comparison result information, wherein the transaction status of the target transaction in the second environment is a successful state, and the preset configuration information is the configuration information of the target transaction in the second environment.
[0034] In some optional implementations, obtaining the preset configuration information includes: obtaining historical successful transactions with the same transaction type as the target transaction; determining the transaction environment corresponding to the historical successful transactions to obtain a second environment; and obtaining the configuration information of the historical successful transactions in the second environment as the preset configuration information.
[0035] Through the above steps, the configuration information of the transaction environment corresponding to the successful state of the target transaction can be obtained. This configuration information can then be used as the reference information for the first configuration information to achieve the purpose of comparison. Specifically, the transaction type that is the same as the target transaction can be a transaction that occurred before the target transaction and has the same process as the target transaction, i.e., a historical successful transaction. The environment corresponding to this historical successful transaction is the second environment, and the configuration information corresponding to the second environment is the preset configuration information.
[0036] In some optional implementations, the comparison of the first configuration information with the preset configuration information to obtain comparison result information includes: determining at least one data type corresponding to at least one target configuration data in the first configuration information; obtaining at least one preset configuration data corresponding to the at least one data type from the preset configuration information; determining the correspondence between at least one target configuration data and at least one preset configuration data according to the at least one data type; and comparing each target configuration data with the corresponding preset configuration data to obtain comparison result information, wherein the comparison result information is used to indicate whether the target configuration data is the same as or different from the corresponding preset configuration data.
[0037] Specifically, the configuration information for different environments contains multiple data types. First, one or more data types are retrieved from the first configuration information to obtain the target configuration data. Then, one or more data types are retrieved from the preset configuration information to obtain the preset configuration data. Furthermore, by comparing whether the same data types in the target configuration data and the preset configuration data are the same, it can be determined whether the comparison results of the target configuration data and the preset configuration data are the same or different, thereby further determining whether the data in the first configuration information is abnormal.
[0038] In some alternative implementations, at least one data type includes at least one of the following: version information data of the standalone server component, configuration information data of the configuration center, startup parameter data, and cached configuration parameter data.
[0039] Specifically, the data types in this embodiment are not limited to the data types mentioned above; that is, this embodiment does not limit the data types mentioned above.
[0040] In some optional implementations, when multiple sets of first configuration information are obtained, comparing the first configuration information with preset configuration information to obtain comparison result information includes: generating a preset data sequence corresponding to multiple preset configuration data in the preset configuration information according to a preset sorting of multiple data types, wherein the preset data sequence includes the data types of multiple preset configuration data and their corresponding sequence numbers; generating a first data sequence corresponding to multiple first configuration data in each set of first configuration information according to a preset sorting of multiple data types, wherein the preset data sequence includes the data types of multiple first configuration data and their corresponding sequence numbers; and comparing the first configuration data with the same sequence number with the preset configuration data to obtain comparison result information.
[0041] Through the above steps, multiple data types in the first configuration information can be accurately compared with multiple corresponding data types in the preset configuration information by using the data type and its corresponding sequence number, i.e., the preset data sequence, to obtain accurate comparison result information.
[0042] Specifically, firstly, multiple data types are sorted according to a preset sorting. Then, the multiple data types in the preset configuration data are sorted according to the preset sorting, and their corresponding serial numbers are marked, thus obtaining a preset data sequence. Similarly, the multiple data types in the first configuration data are sorted according to the preset sorting, and their corresponding serial numbers are marked, thus obtaining a first data sequence. Finally, the data types with the same serial number in the first configuration data and the preset configuration data are compared respectively, thus obtaining accurate comparison result information.
[0043] In step S106 above, abnormal data in the first configuration information is determined based on the comparison result information.
[0044] In some optional implementations, when there are multiple data types, determining abnormal data in the first configuration information based on the comparison result information includes: determining at least one abnormal data based on the comparison result information and multiple target configuration data corresponding to multiple data types, wherein the at least one abnormal data is at least one target configuration data that is different from the corresponding preset configuration data among the multiple target configuration data.
[0045] Specifically, when the comparison results are different, that is, the target configuration data is different from the preset configuration data, the target configuration data corresponding to this data type is determined. This target configuration data is the abnormal data, and there can be one or more abnormal data.
[0046] In some optional implementations, determining the abnormal data in the first configuration information based on the comparison result information further includes: establishing a target mapping relationship between the data type of the abnormal data and the first environment; generating error information corresponding to the first environment based on the target mapping relationship, wherein the error information is used to indicate the data type that triggered the abnormal transaction in the first environment.
[0047] Specifically, abnormal data refers to target configuration data, i.e., configuration data in the first environment that differs from the preset configuration data. This abnormal data can establish a one-to-one correspondence with the data types in the first environment, thereby establishing a target mapping relationship and generating corresponding error messages. This enables the reporting of errors for abnormal data types in the first environment, achieving the purpose of automatic detection of abnormal data and avoiding the shortcomings of manual detection, such as omissions or errors, as well as time and effort consumption.
[0048] The abnormal data detection method in this embodiment will be further explained below with specific examples.
[0049] Obtain version information data of independent service components under environment A, relevant transaction configuration information data of the configuration center, service startup parameter data, and application runtime cache information data.
[0050] Obtain version information data of independent service components under environment B, relevant transaction configuration information data of the configuration center, service startup parameter data, and application runtime cache information data.
[0051] like Figure 2 As shown, the version information data of independent service components, the relevant transaction configuration information data of the configuration center, the service startup parameter data, and the application runtime cache information data (i.e., cache configuration parameter data) under environment A are compared with the version information data of independent service components, the relevant transaction configuration information data of the configuration center, the service startup parameter data, and the application runtime cache information data (i.e., cache configuration parameter data) under environment B, and the differences are marked.
[0052] Specifically, if a transaction is successful in environment A and fails in environment B, the configuration information in environment B is marked, indicating the differences from the configuration information in environment A; conversely, if a transaction is successful in environment B and fails in environment A, the configuration information in environment A is marked, indicating the differences from the configuration information in environment B. Therefore, through these steps, the data differences between successful and abnormal transaction states can be identified, achieving the goal of quickly locating abnormal data.
[0053] Example 2
[0054] According to an embodiment of the present invention, an abnormal data detection device is also provided. Figure 3 This is a structural block diagram of the abnormal data detection device according to Embodiment 2 of the present invention, as shown below. Figure 3 As shown, the device includes: an acquisition module 202, a comparison module 204, and a determination module 206. The device will be described in detail below.
[0055] The acquisition module 202 is used to acquire the first configuration information of the target transaction, wherein the transaction status of the target transaction in the first environment is an abnormal state, and the first configuration information includes at least the configuration information of the target transaction in the first environment.
[0056] The evaluation module 204 is used to compare the first configuration information with the preset configuration information to obtain comparison result information, wherein the transaction status of the target transaction in the second environment is a successful status, and the preset configuration information is the configuration information of the target transaction in the second environment.
[0057] The determination module 206 determines the abnormal data in the first configuration information based on the comparison result information.
[0058] Through the above modules, firstly, the acquisition module 202 acquires the configuration information of the target transaction in the first environment (i.e., the transaction state is abnormal), thus obtaining the first configuration information; then, the acquisition module 202 acquires the configuration information of the target transaction in the second environment (i.e., the transaction state is successful), thus obtaining the preset configuration information. Next, the evaluation module 204 compares the first configuration information with the preset configuration information, thus obtaining comparison result information. Finally, the determination module 206 determines the abnormal data in the first configuration information based on the comparison result information, thereby identifying data differences in the first environment (i.e., the transaction state is abnormal), achieving the goal of quickly locating abnormal data.
[0059] It should be noted that the above-mentioned acquisition module 202, evaluation module 204, and determination module 206 correspond to steps S102 to S106 in Embodiment 1. The multiple modules and the corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in Embodiment 1.
[0060] Example 3
[0061] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, which, when executed by a processor of a terminal, enables the terminal to perform any of the above-described abnormal data detection methods. Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0062] Optionally, in this embodiment, the computer-readable storage medium described above can be used to store the program code executed by the abnormal data detection method provided in Embodiment 1 above.
[0063] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.
[0064] In the several embodiments provided by this invention, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0065] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0066] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0067] If the integrated unit is implemented as 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 technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0068] Example 4
[0069] Embodiments of the present invention can provide an electronic device, which can be a terminal or a server. In this embodiment, the security early warning system, as a terminal, can be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the terminal can also be a mobile terminal or other terminal device.
[0070] Optionally, in this embodiment, the terminal may be located in at least one of a plurality of network devices in a computer network.
[0071] Optionally, Figure 4 This is a structural block diagram of a terminal according to an exemplary embodiment. For example... Figure 4 As shown, the terminal may include: one or more (only one is shown in the figure) processors 31 and a memory 32 for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the above-mentioned abnormal data detection method.
[0072] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the abnormal data detection method and apparatus in this embodiment of the invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby realizing the aforementioned abnormal data detection method. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to a computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0073] The aforementioned terminal can also communicate with the radio frequency module, audio module, and display screen via peripheral interfaces. Those skilled in the art will understand that... Figure 4 The structure shown is for illustrative purposes only. For example, the terminal mentioned above can also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a mobile internet device (MID), a PAD, and other terminal devices. Figure 4 This does not limit the structure of the aforementioned electronic device. For example, it may also include devices that are more... Figure 4 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 4 The different configurations shown.
[0074] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0075] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. An abnormal data detection method, characterized in that, include: Obtain first configuration information of the target transaction, wherein the transaction status of the target transaction in the first environment is an abnormal state, and the first configuration information includes at least the configuration information of the target transaction in the first environment; The first configuration information is compared with the preset configuration information to obtain comparison result information, wherein the transaction status of the target transaction in the second environment is a successful state, and the preset configuration information is the configuration information of the target transaction in the second environment; Based on the comparison results, abnormal data in the first configuration information is determined; It also includes: obtaining historical successful transactions with the same transaction type as the target transaction; determining the transaction environment corresponding to the historical successful transactions to obtain the second environment; obtaining the configuration information of the historical successful transactions in the second environment as the preset configuration information; The step of comparing the first configuration information with the preset configuration information to obtain comparison result information includes: determining at least one data type corresponding to at least one target configuration data in the first configuration information; obtaining at least one preset configuration data corresponding to the at least one data type from the preset configuration information; determining the correspondence between the at least one target configuration data and the at least one preset configuration data according to the at least one data type; comparing each target configuration data with the corresponding preset configuration data to obtain the comparison result information, wherein the comparison result information is used to indicate whether the target configuration data is the same as or different from the corresponding preset configuration data; The at least one data type includes at least one of the following: version information data of independent server components, configuration information data of the configuration center, startup parameter data, and cached configuration parameter data; When there are multiple data types, determining abnormal data in the first configuration information based on the comparison result information includes: determining at least one abnormal data based on the comparison result information and multiple target configuration data corresponding to the multiple data types, wherein the at least one abnormal data is at least one target configuration data that is different from the corresponding preset configuration data among the multiple target configuration data. It also includes: establishing a target mapping relationship between the data type of the abnormal data and the first environment; generating error information corresponding to the first environment based on the target mapping relationship, wherein the error information is used to indicate the data type that triggers the abnormal transaction in the first environment.
2. An abnormal data detection device, characterized in that, include: The acquisition module is used to acquire first configuration information of the target transaction, wherein the transaction status of the target transaction in the first environment is an abnormal state, and the first configuration information includes at least the configuration information of the target transaction in the first environment. The comparison module is used to compare the first configuration information with the preset configuration information to obtain comparison result information, wherein the transaction status of the target transaction in the second environment is a successful status, and the preset configuration information is the configuration information of the target transaction in the second environment; The determination module determines the abnormal data in the first configuration information based on the comparison result information; The device is further configured to: acquire historical successful transactions with the same transaction type as the target transaction; determine the transaction environment corresponding to the historical successful transactions to obtain the second environment; acquire the configuration information of the historical successful transactions in the second environment as the preset configuration information; The comparison module is further configured to: determine at least one data type corresponding to at least one target configuration data in the first configuration information; obtain at least one preset configuration data corresponding to the at least one data type from the preset configuration information; determine the correspondence between the at least one target configuration data and the at least one preset configuration data according to the at least one data type; compare each target configuration data with the corresponding preset configuration data to obtain the comparison result information, wherein the comparison result information is used to indicate whether the target configuration data is the same as or different from the corresponding preset configuration data; The at least one data type includes at least one of the following: version information data of independent server components, configuration information data of the configuration center, startup parameter data, and cached configuration parameter data; The determining module is further configured to: determine at least one abnormal data based on the comparison result information and multiple target configuration data corresponding to multiple data types, wherein the at least one abnormal data is at least one target configuration data that is different from the corresponding preset configuration data among the multiple target configuration data; The device is further configured to: establish a target mapping relationship between the data type of the abnormal data and the first environment; generate error information corresponding to the first environment based on the target mapping relationship, wherein the error information is used to indicate the data type that triggers the abnormal transaction in the first environment.
3. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of abnormal data detection as described in claim 1.
4. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the abnormal data detection steps of claim 1.