System verification method and device, equipment, storage medium and program product

By obtaining the target message data in the production environment and using the system verification model for verification, the problem of difficulty and high cost of system verification is solved, the consistency of the system is verified without building a test environment, and the complexity and cost are reduced. cost.

CN118779192APending Publication Date: 2024-10-15PICC LIFE INSURANCE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410903167.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

System verification is difficult and costly. Existing technologies require a test environment to be built to avoid interference with the production environment, resulting in increased complexity and cost.

Method used

By obtaining the target message data and response results in the production environment, using the pre-trained system verification model for processing, and comparing the target response results with the predicted results to determine the consistency of the system, there is no need to build a test environment.

Benefits of technology

It reduces the difficulty and cost of system verification, directly uses production environment data for verification, avoids interference with the production environment, and does not require the establishment of a test environment for the old system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779192A_ABST
    Figure CN118779192A_ABST
Patent Text Reader

Abstract

The invention provides a system verification method and device, equipment, a storage medium and a program product, and relates to the technical field of computers. The method comprises the steps of obtaining target message data of a first system in a production environment and a target response result of the first system for executing a service function for the target message data, and processing the target message data through a system verification model to obtain a model prediction result, and comparing the target response result with the prediction result to determine whether the first system passes the verification or not. Through the mode, the data of the first system in the production environment can be directly utilized, a test environment corresponding to the first system does not need to be built, interference on the production environment of the first system is avoided, the prediction result corresponding to the target message data is obtained through the system verification model, a test environment corresponding to the second system does not need to be built, and the test efficiency is improved. Therefore, the consistency of the first system and the second system can be verified under the condition that a test environment is not established, and the difficulty and cost of system verification are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a system verification method, device, equipment, storage medium and program product. Background Art

[0002] With the development of computer technology, the functions and logic of information systems are becoming more and more complex, and system verification is becoming more and more important. System verification refers to the process of ensuring that all parts of the system remain consistent in logic and function during system updates and maintenance.

[0003] System verification can usually determine the consistency verification results of the system based on the performance of the system before and after the update for the same input data. Therefore, system verification requires inputting the data used for verification into the system for operation. However, the data used for verification is generally irrelevant to the normal business operation of the system. Running this data will interfere with the production environment of the system. In order to avoid interfering with the normal operation of the system, a test environment must be built in the same way as the production environment of the system. This method is difficult and costly. Summary of the invention

[0004] The present application provides a system verification method, device, equipment, storage medium and program product to solve the technical problem that system verification is difficult and costly.

[0005] In a first aspect, the present application provides a system verification method, comprising:

[0006] Acquire target message data and a target response result in a production environment of the first system, where the target response result is generated by the first system processing the target message data;

[0007] Processing the target message data by a pre-trained system verification model to obtain a prediction result output by the system verification model, wherein the system verification model is trained based on historical message data and historical response results, and the historical response results are generated by processing the historical message data by a second system;

[0008] The target response result is compared with the prediction result to determine whether the first system passes the verification.

[0009] In a possible implementation, the system verification model is obtained by:

[0010] Respectively extracting discrete data and non-discrete data from the historical response results;

[0011] Constructing a first feature vector and a second feature vector respectively according to the historical message data;

[0012] Training a classification model with the first feature vector as input and the discrete data as output;

[0013] Training a regression model with the second feature vector as input and the non-discrete data as output;

[0014] The system verification model is generated according to the trained classification model and the trained regression model.

[0015] In a possible implementation manner, before respectively constructing the first feature vector and the second feature vector according to the historical message data, the method further includes:

[0016] The historical message data is subjected to data preprocessing, wherein the data preprocessing includes one or more of data desensitization, data cleaning and data dimensionality reduction.

[0017] In a possible implementation, comparing the target response result with the prediction result to determine whether the first system passes the verification includes:

[0018] Extracting a first feature from the target response result and extracting a second feature from the prediction result;

[0019] comparing whether the first feature is consistent with the second feature;

[0020] If the first feature is consistent with the second feature, determining that the first system has passed the verification;

[0021] If the first feature is inconsistent with the second feature, it is determined that the first system has failed verification.

[0022] In a possible implementation, comparing the target response result with the prediction result to determine whether the first system passes the verification includes:

[0023] Extracting a first feature from the target response result and extracting a second feature from the prediction result;

[0024] comparing whether the first feature is consistent with the second feature;

[0025] If the first feature is consistent with the second feature, determining whether the first system passes verification according to the verification rule corresponding to the first feature or the second feature;

[0026] If the first feature is inconsistent with the second feature, it is determined that the first system has failed verification.

[0027] In a possible implementation, the verification rule includes a target storage location, and determining whether the first system passes verification according to the verification rule corresponding to the first feature or the second feature includes:

[0028] Extracting first target data corresponding to the target response result and second target data corresponding to the prediction result from a database respectively according to the target storage location;

[0029] If the first target data and the second target data meet a preset condition, determining that the first system passes the verification;

[0030] If the first target data and the second target data do not satisfy a preset condition, it is determined that the first system has failed verification.

[0031] In a second aspect, the present application provides a system verification device, comprising:

[0032] An acquisition module, used to acquire target message data and a target response result in a production environment of the first system, wherein the target response result is generated by the first system processing the target message data;

[0033] A model processing module, used to process the target message data through a pre-trained system verification model to obtain a prediction result output by the system verification model, wherein the system verification model is trained based on historical message data and historical response results, and the historical response results are generated by processing the historical message data by a second system;

[0034] A comparison and verification module is used to compare the target response result with the prediction result to determine whether the first system passes the verification.

[0035] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0036] The memory stores computer-executable instructions;

[0037] The processor executes the computer-executable instructions stored in the memory to implement the system verification method as described in any one of the first aspects.

[0038] In a fourth aspect, the present application provides a computer-readable storage medium, comprising: the computer-readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the system verification method as described in any one of the first aspects.

[0039] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the system verification method as described in any one of the first aspects.

[0040] The system verification method, device, equipment, storage medium and program product provided by the present application include obtaining the target message data of the first system in the production environment and the target response result of the first system executing the business function for the target message data, and processing the target message data through the system verification model to obtain the model prediction result, and then determining whether the first system has passed the verification by comparing the target response result with the prediction result. In this way, the data of the first system in the production environment can be directly used, without the need to build a test environment corresponding to the first system and without causing interference to the production environment of the first system. The system verification model is obtained by training based on the historical message data and the corresponding response results of the second system. The prediction result of the corresponding target message data is obtained through the model, so there is no need to build a test environment corresponding to the second system, so that the consistency of the first system and the second system can be verified without building a test environment, reducing the difficulty and cost of system verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0042] Figure 1 It is a schematic diagram of an application scenario of a system verification method provided in an embodiment of the present application;

[0043] Figure 2 It is a flowchart of a system verification method provided in an embodiment of the present application;

[0044] Figure 3 It is a flowchart of a method for obtaining a system verification model provided in an embodiment of the present application;

[0045] Figure 4 It is a flow chart of a method for comparing a target response result with a prediction result provided in an embodiment of the present application;

[0046] Figure 5 It is a flowchart of a method for comparing a target response result with a prediction result provided by another embodiment of the present application;

[0047] Figure 6 It is a schematic diagram of a process of performing verification according to verification rules provided in an embodiment of the present application;

[0048] Figure 7 It is a structural diagram of a system verification device provided in an embodiment of the present application;

[0049] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0050] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0052] The terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, product or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, product or device. In the absence of further restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For example, if the words first, second, etc. are used to indicate names, they do not indicate any particular order.

[0053] With the development of computer technology, information systems are widely used in all walks of life. Technological progress, business adjustments, functional improvements and other factors may cause system changes, such as system maintenance, system updates, and even deactivating old systems and activating new systems.

[0054] For most business systems, the changed system (hereinafter referred to as the "new system") needs to be consistent with the system before the change (hereinafter referred to as the "old system") in terms of function and logic. For example, in the insurance industry, business systems often need to be updated. If the business rules of the insurance company remain unchanged, the business processing logic of the new system and the old system for insurance information should remain unchanged. Specifically, the new system and the old system should produce the same insurance results for the same insurance information.

[0055] System verification, also known as system replay verification, is to verify the consistency between the new system and the old system. System verification can determine the consistency by comparing the output results generated by the new system and the old system for the same input data. In order to avoid the input data interfering with the production environment of the system operation, it is usually necessary to build a test environment that imitates the production environment of the system. However, building a test environment is a big problem. It not only requires restoring many interfaces in the system production environment, but also requires restoring a large amount of production data in the production environment. Especially for service industries such as the insurance industry, the production environment of the business system often involves a large number of external interfaces and a huge amount of production data. Building a test environment that is the same as the production environment requires extremely high costs and technical support. Therefore, system verification is difficult and costly.

[0056] After research, the inventor found that the reason for the above problem is that the system verification needs to ensure that the data input into the new system and the old system during the verification process are the same and cannot interfere with the production environment of the new system and the old system, so the production environment can only be restored by building a test environment. The inventor therefore thought that the normal business data in the production environment of the new system can be directly used. These business data originally need to be run in the production environment of the new system, so there will be no interference with the production environment of the new system. In addition, there is a large amount of historical business data in the production environment of the old system. The system verification model used to simulate the business logic of the old system can be trained based on these historical business data, and then the normal business data in the new system is input into the trained system verification model to obtain the output result of the model. The output result can be regarded as the result of running these normal business data in the production environment of the old system, so the consistency of the new system and the old system can be verified by comparing the model output result with the result of running these normal business data in the new system. In this way, the new system only needs to run normal business data, and the old system no longer needs to run business data, but simulates the old system by training the model, so it will not interfere with the production environment. In this way, there is no need to build a test environment by imitating the production environment of the new system, nor is there any need to build a test environment by imitating the production environment of the old system, thereby eliminating the difficulty of building a test environment and reducing the cost of system verification.

[0057] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0058] Figure 1 A schematic diagram of an application scenario provided by this application. Figure 1As shown, the terminal 102 communicates with the server 101 through the network. The data storage system can store the data that the server 101 needs to process. The data storage system can be integrated on the server 101, or it can be placed on the cloud or other network servers. 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-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 101 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0059] The application scenarios involved above are only some examples. Those skilled in the art may expand the application to specific business scenarios, and the embodiments of the present application do not impose any specific limitations on this.

[0060] Combine the following Figure 1 For application scenarios, refer to Figures 2 to 6 The system verification method according to the exemplary embodiment of the present application is described. The system verification method can be applied to Figure 1 The server 101 or the terminal 102 in the embodiment of the present invention. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principle of the present application, and the implementation of the present application is not limited in this respect. On the contrary, the implementation of the present application can be applied to any applicable scenario.

[0061] Figure 2 FIG. 1 is a flow chart of a system verification method provided in an embodiment of the present application. Figure 2 As shown, the system verification method includes:

[0062] Step S201, obtaining target message data and target response results in the production environment of the first system.

[0063] The target response result is generated by processing the target message data by the first system. The first system may be a new system, for example, a business system that is updated and upgraded for an existing business system.

[0064] Specifically, after the first system is put into operation, the message data related to the business operation and the response results generated by the first system for the message data can be collected from the production environment of the first system. For example, an insurance company will reconstruct the insurance interface of the business system. When the reconstructed new system is put into operation, the insurance message can be obtained from the production environment of the new system, and the insurance results generated by the new system for the insurance message can be queried.

[0065] Step S202, processing the target message data through the pre-trained system verification model to obtain the prediction result output by the system verification model.

[0066] The system verification model is trained based on historical message data and historical response results, and the historical response results are generated by processing the historical message data by the second system. The second system may be an old system, for example, a business system before being updated or upgraded.

[0067] Specifically, the target message data obtained from the production environment of the new system can be input into the pre-trained system verification model, and the prediction results output by the system verification model can be obtained. For example, the insurance message obtained from the production environment of the insurance company's new system can be input into the system verification model, so that the system verification model outputs the predicted insurance results based on the insurance message.

[0068] In some possible implementations, historical business data processed by the second system can be collected from the production environment of the second system. The historical business data may include historical messages input into the second system and historical response results generated by the second system based on the historical messages. Based on the historical messages and historical response results, a system verification model for simulating the business processing logic of the second system can be trained through algorithms such as machine learning. For example, before the update, the business system of an insurance company has processed a large number of insurance messages and generated corresponding insurance results. The insurance messages can be used as output and the insurance results corresponding to the insurance messages can be used as input for model training.

[0069] In some possible implementations, in the process of training the system verification model through historical message data and historical response results, the historical message data and historical response results can be processed by feature extraction and feature vector construction, and the processed data can be used to train the system verification model. It can be understood that when the target message data is processed by the system verification model, the target message data can be pre-processed accordingly with reference to the training process of the model and then input into the system verification model to obtain the prediction result corresponding to the target message data.

[0070] Step S203, comparing the target response result with the prediction result to determine whether the first system passes the verification.

[0071] Specifically, the prediction result output by the system verification model can be regarded as the response result generated by the normal processing of the target message data by the second system, and the consistency verification result of the first system can be determined by comparing whether the target response result is consistent with the prediction result output by the model.

[0072] For instance, in one example, the target message data obtained from the production environment of the new system is an insurance message, and the message content is [number of insured persons = 1, gender = male, age = 30, product number = 123, occupation = worker, health = standard body]. The new system classifies the insurance message and obtains the classification result as [new contract class for individual insurance, short-term insurance, and health insurance]. If the prediction result output by the system verification model based on the insurance message is also [new contract class for individual insurance, short-term insurance, and health insurance], then the new system can be considered to have passed the verification.

[0073] In the above embodiment, the target message data of the first system in the production environment and the target response result of the first system executing the business function for the target message data are obtained, and the target message data is processed by the system verification model to obtain the model prediction result, and then the target response result is compared with the prediction result to determine whether the first system has passed the verification. In this way, the data of the first system in the production environment can be directly used, without the need to build a test environment corresponding to the first system and without causing interference to the production environment of the first system. The system verification model is trained based on the historical message data and the corresponding response results of the second system, and the prediction result of the corresponding target message data is obtained through the model, so there is no need to build a test environment corresponding to the second system, so that the consistency of the first system and the second system can be verified without building a test environment, reducing the difficulty and cost of system verification.

[0074] In one embodiment, Figure 3 As shown, the system verification model can be obtained by:

[0075] Step S301, extracting discrete data and non-discrete data from historical response results respectively.

[0076] Among them, discrete data may include non-numeric data such as text features, and non-discrete data may include numeric data.

[0077] Specifically, historical business data can be collected in advance from the generation environment of the second system, and feature data related to the response result of the second system can be extracted from the historical business data, and then the feature data can be divided into discrete data and non-discrete data. For example, for the old system of an insurance company, the historical insurance messages processed by the old system and the insurance results corresponding to the historical insurance messages can be obtained, and the feature data in the insurance results can be divided into discrete and non-discrete types. Discrete feature data can include insurance types and insurance product names, etc., and non-discrete data can include insurance amounts and premiums, etc.

[0078] Step S302: construct a first feature vector and a second feature vector respectively according to the historical message data.

[0079] Specifically, features can be extracted from historical message data according to the business logic for generating insurance results to construct a first feature vector corresponding to discrete data and a second feature vector corresponding to non-discrete data. For example, the premium in non-discrete data is usually generated based on features such as the insured person's information and health status in the insurance message. For insurance result a generated by insurance message A, if insurance result a includes non-discrete data such as premium, then fields such as the insured person's information and health status can be extracted from the insurance message to construct a second feature vector corresponding to the non-discrete data.

[0080] In some possible implementations, before respectively constructing the first feature vector and the second feature vector according to the historical message data, the method may further include: performing data preprocessing on the historical message data, wherein the data preprocessing includes one or more of data desensitization, data cleaning, and data dimensionality reduction.

[0081] In some possible implementations, if data preprocessing includes multiple data operations, any data operation can be performed on the results of other data operations. For example, data preprocessing can include two data operations, data desensitization and data cleaning. When performing data preprocessing on historical message data, the original historical message data can be desensitized first, and then the desensitized data can be cleaned.

[0082] Step S303: training a classification model with the first feature vector as input and discrete data as output.

[0083] Specifically, the discrete data in the historical response results can be labeled according to the correspondence between the historical message data and the historical response results, and the model training can be performed using the first eigenvector as a data set based on algorithms such as random forest, so that the classification model obtained after training can output the corresponding discrete data.

[0084] Step S304: training a regression model with the second feature vector as input and the non-discrete data as output.

[0085] Specifically, the non-discrete data in the historical response results can be labeled according to the correspondence between the historical message data and the historical response results, and the second eigenvector can be used as a data set for model training based on algorithms such as linear regression, so that the regression model obtained after training can output the corresponding non-discrete data.

[0086] Step S305: Generate a system verification model based on the trained classification model and the trained regression model.

[0087] Specifically, a combination can be performed based on a trained classification model and a trained regression model, and a neural network for feature extraction can be added during the combination process, so that the combined system verification model can process the input message data and input the processed data into the classification model or regression model according to model requirements.

[0088] In one embodiment, Figure 4 As shown, comparing the target response result with the prediction result to determine whether the first system passes the verification may include:

[0089] Step S401, extracting the first feature in the target response result and extracting the second feature in the prediction result.

[0090] Step S402, comparing the first feature and the second feature to see if they are consistent.

[0091] Step S403: If the first feature is consistent with the second feature, it is determined that the first system has passed the verification.

[0092] Step S404: if the first feature is inconsistent with the second feature, it is determined that the first system has failed verification.

[0093] Specifically, features corresponding to the same business logic can be extracted from the target response results and the prediction results for comparison. If the comparison results are consistent, the consistency verification between the first system and the second system passes; if the comparison results are inconsistent, the verification fails.

[0094] For example, the business system of an insurance company will classify insurance messages, and the classification results of the new system and the old system for the same insurance message can be used as comparison features. An exemplary comparison method may include: extracting the classification result generated by the new system for insurance message A from the target response result as the first feature, extracting the classification result output by the system verification model for insurance message A from the prediction result as the second feature, and then comparing the two classification results to determine whether the consistency verification between the new system and the old system has passed.

[0095] In one embodiment, Figure 5 As shown, comparing the target response result with the prediction result to determine whether the first system passes the verification may include:

[0096] Step S501, extracting the first feature in the target response result and extracting the second feature in the prediction result.

[0097] Step S502: compare the first feature and the second feature to see if they are consistent.

[0098] Step S503: If the first feature is consistent with the second feature, determine whether the first system passes the verification according to the verification rule corresponding to the first feature or the second feature.

[0099] Step S504: if the first feature is inconsistent with the second feature, it is determined that the first system has failed verification.

[0100] Specifically, if the business logic of the system is relatively complex and a large number of branch logics need to be verified based on the response results, the verification rules can be pre-set according to the characteristics of the target response results. After the target response results are obtained, the verification rules required for verification can be determined according to the characteristics therein, and then the system verification can be performed in combination with the target response results, prediction results and verification rules.

[0101] For example, the insurance company's business system will classify insurance messages, and the classification results of the new system and the old system for the same insurance message can be used as the first comparison feature. If the features of the first comparison are inconsistent, it is directly considered that the verification fails. If the features of the first comparison are consistent, the verification rules for further verification are determined based on the type of the feature and the preset mapping relationship. An exemplary verification process may include: if the first system's response result for insurance message A is classified as the first type of insurance, and the system verification model's prediction result for insurance message A is also classified as the first type of insurance, then the features in the response result and the prediction result can be continued to be compared according to the verification rules for the first type of insurance, such as comparing whether the features such as premiums are consistent.

[0102] In one embodiment, the validation rules include a target storage location, such as Figure 6 As shown, determining whether the first system passes the verification according to the verification rule corresponding to the first feature or the second feature includes:

[0103] Step S601, extracting first target data corresponding to a target response result and second target data corresponding to a prediction result from a database according to a target storage location.

[0104] Step S602: If the first target data and the second target data meet a preset condition, it is determined that the first system passes the verification.

[0105] Step S603: if the first target data and the second target data do not satisfy the preset condition, it is determined that the first system has not passed the verification.

[0106] Specifically, according to the storage location of each feature of the response result in the production environment of the first system, the storage location of the corresponding feature in the prediction result output by the system verification model can be set, so that there is a mapping relationship between the storage location of the target response result and the feature used for comparison in the prediction result, so that the consistency verification result of the system can be directly determined according to whether the data at the target storage location meets the preset conditions. For example, the first system stores the response result generated according to the target message data in data table B in the database, and the prediction result generated by the system verification model according to the target message data can also be stored in data table B in the database. The verification result is obtained by querying the corresponding data in data table B and judging whether the data meets the preset conditions.

[0107] In the above embodiment, for some systems with more complex branch logic, by configuring the storage location of the comparison features and other possible verification rules, the process of comparing the target response results with the predicted results can be automatically compared through scripts, etc., without the need for manual analysis of the verification relationship between different data features in the response results, thereby improving the system verification efficiency.

[0108] Figure 7 This is a schematic diagram of the structure of a system verification device provided in an embodiment of the present application. Figure 7 As shown, the system verification device 700 may include:

[0109] The acquisition module 701 is used to acquire target message data and target response results in the production environment of the first system. The target response results are generated by the first system processing the target message data.

[0110] The model processing module 702 is used to process the target message data through the pre-trained system verification model to obtain the prediction result output by the system verification model. The system verification model is trained based on historical message data and historical response results. The historical response results are generated by processing the historical message data by the second system.

[0111] The comparison and verification module 703 is used to compare the target response result with the prediction result to determine whether the first system passes the verification.

[0112] In one embodiment, the system verification device 700 may include:

[0113] The data extraction unit can be used to extract discrete data and non-discrete data from the historical response results respectively.

[0114] The vector construction unit can be used to construct a first feature vector and a second feature vector according to historical message data.

[0115] The classification training unit can be used to train a classification model that takes the first feature vector as input and takes discrete data as output.

[0116] The regression training unit can be used to train a regression model that takes the second eigenvector as input and takes non-discrete data as output.

[0117] The model generation unit can be used to generate a system verification model according to the trained classification model and the trained regression model.

[0118] In one embodiment, the system verification device 700 may include:

[0119] The data preprocessing unit can be used to perform data preprocessing on historical message data. The data preprocessing includes one or more of data desensitization, data cleaning and data dimensionality reduction.

[0120] In one embodiment, the comparison and verification module 703 may include:

[0121] The feature extraction unit can be used to extract the first feature in the target response result and the second feature in the prediction result.

[0122] The feature comparison unit can be used to compare whether the first feature is consistent with the second feature.

[0123] The first verification unit may be used to determine that the first system has passed the verification when the first feature is consistent with the second feature, and may be used to determine that the first system has not passed the verification when the first feature is inconsistent with the second feature.

[0124] In one embodiment, the comparison and verification module 703 may further include:

[0125] The second verification unit may be configured to determine whether the first system passes verification according to a verification rule corresponding to the first feature or the second feature when the first feature is consistent with the second feature.

[0126] In one embodiment, the second verification unit may include:

[0127] The target extraction unit can be used to extract the first target data corresponding to the target response result and the second target data corresponding to the prediction result from the database according to the target storage location.

[0128] The third verification unit can be used to determine that the first system has passed the verification when the first target data and the second target data meet the preset conditions, and is also used to determine that the first system has not passed the verification when the first target data and the second target data do not meet the preset conditions.

[0129] The system verification device provided in this embodiment is used to execute the technical solution in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0130] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0131] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0132] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 80 includes:

[0133] Processor 81, memory 82, and communication interface 83;

[0134] The memory 82 is used to store executable instructions of the processor 81; the executable instructions may be computer-executable instructions;

[0135] The processor 81 is configured to execute the technical solution in any of the aforementioned method embodiments by executing the executable instructions.

[0136] Optionally, the memory 82 can be independent or integrated with the processor 81.

[0137] Optionally, when the memory 82 is a device independent of the processor 81, the electronic device 80 may further include:

[0138] The bus 84 , the memory 82 and the communication interface 83 are connected to the processor 81 via the bus 84 and communicate with each other. The communication interface 83 is used to communicate with other devices.

[0139] Optionally, the communication interface 83 may be implemented by a transceiver. The communication interface is used to implement communication between the database access device and other devices (such as a client, a read-write library, and a read-only library). The memory may include a random access memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.

[0140] The bus 84 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0141] The above-mentioned processor can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0142] The electronic device is used to execute the technical solution in any of the aforementioned method embodiments, and its implementation principle and technical effect are similar and will not be repeated here.

[0143] An embodiment of the present application also provides a readable storage medium, which may be a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the technical solution provided by any of the aforementioned method embodiments is implemented.

[0144] An embodiment of the present application also provides a computer program product, including a computer program, which is used to implement the technical solution provided by any of the aforementioned method embodiments when executed by a processor.

[0145] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0146] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not 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 specification.

[0147] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0148] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A system verification method, characterized in that: include: Acquire target message data and a target response result in a production environment of the first system, where the target response result is generated by the first system processing the target message data; Processing the target message data by a pre-trained system verification model to obtain a prediction result output by the system verification model, wherein the system verification model is trained based on historical message data and historical response results, and the historical response results are generated by processing the historical message data by a second system; The target response result is compared with the prediction result to determine whether the first system passes the verification.

2. The system verification method according to claim 1, characterized in that: The system verification model is obtained by: Respectively extracting discrete data and non-discrete data from the historical response results; Constructing a first feature vector and a second feature vector respectively according to the historical message data; Training a classification model with the first feature vector as input and the discrete data as output; Training a regression model with the second feature vector as input and the non-discrete data as output; The system verification model is generated according to the trained classification model and the trained regression model.

3. The system verification method according to claim 2, characterized in that: Before respectively constructing the first feature vector and the second feature vector according to the historical message data, the method further includes: The historical message data is subjected to data preprocessing, wherein the data preprocessing includes one or more of data desensitization, data cleaning and data dimensionality reduction.

4. The system verification method according to any one of claims 1 to 3, characterized in that: The comparing the target response result with the prediction result to determine whether the first system passes the verification includes: Extracting a first feature from the target response result and extracting a second feature from the prediction result; comparing whether the first feature is consistent with the second feature; If the first feature is consistent with the second feature, determining that the first system has passed the verification; If the first feature is inconsistent with the second feature, it is determined that the first system has failed verification.

5. The system verification method according to any one of claims 1 to 3, characterized in that: The comparing the target response result with the prediction result to determine whether the first system passes the verification includes: Extracting a first feature from the target response result and extracting a second feature from the prediction result; comparing whether the first feature is consistent with the second feature; If the first feature is consistent with the second feature, determining whether the first system passes verification according to the verification rule corresponding to the first feature or the second feature; If the first feature is inconsistent with the second feature, it is determined that the first system has failed verification.

6. The system verification method according to claim 5, characterized in that: The verification rule includes a target storage location, and determining whether the first system passes verification according to the verification rule corresponding to the first feature or the second feature includes: Extracting first target data corresponding to the target response result and second target data corresponding to the prediction result from a database respectively according to the target storage location; If the first target data and the second target data meet a preset condition, determining that the first system passes the verification; If the first target data and the second target data do not satisfy a preset condition, it is determined that the first system has failed verification.

7. A system verification device, characterized in that: include: An acquisition module, used to acquire target message data and a target response result in a production environment of the first system, wherein the target response result is generated by the first system processing the target message data; A model processing module, used to process the target message data through a pre-trained system verification model to obtain a prediction result output by the system verification model, wherein the system verification model is trained based on historical message data and historical response results, and the historical response results are generated by processing the historical message data by a second system; A comparison and verification module is used to compare the target response result with the prediction result to determine whether the first system passes the verification.

8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.