Log information updating method and device for data resource migration, computer equipment, readable storage medium and program product
Through automated data resource migration log information update method and blockchain technology, the problem of low efficiency of data resource migration log information update in the existing technology is solved, and efficient log information update and accuracy guarantee is achieved.
Patent Information
- Application Number
- CN202411521042.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2024-12-27
AI Technical Summary
In the prior art, the update efficiency of log information for data resource migration is low, especially when the business processing is complex or the processing volume is large, due to the limitation of manual processing capabilities, the update of the migration log information takes a long time and is inefficient.
By responding to the data resource migration request of the business system, obtain and verify the migration information. If it is passed, send migration instructions for system interaction, obtain process data during the interaction process, update log information, and combine blockchain technology to ensure the accuracy of updates. and immutability.
It realizes automatic checksum system interaction control of data resource migration log information, improves update efficiency, and ensures the accuracy and immutability of log information through blockchain.
Smart Images

Figure CN119201900A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for updating log information of data resource migration. Background Art
[0002] With the development of big data, the business functions provided to users are becoming more and more diversified. In order to realize complex and diverse business functions, data migration is usually carried out between multiple business systems. In order to ensure that the business functions are traceable, it is necessary to update the log of data resource migration after the data migration interaction. Therefore, a log information update method for data resource migration is urgently needed.
[0003] At present, staff usually record the changes of data resource migration information in multiple business systems one by one. However, when the business processing process is complex or the business processing volume is large, due to the limited processing capacity of human beings, it is easy for staff to take a long time to update the log information of data resource migration, resulting in low efficiency of updating the log information of data resource migration. Summary of the invention
[0004] Based on this, it is necessary to provide a log information updating method, apparatus, computer device, computer-readable storage medium and computer program product for data resource migration that can improve the log information updating efficiency of data resource migration in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for updating log information of data resource migration, comprising:
[0006] In response to a data resource migration request of the first business system, acquiring data resource migration information and data migration identification information of the first business system;
[0007] Performing information verification on the data resource migration information according to the verification rule determined by the data migration identification information;
[0008] If the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system;
[0009] If it is detected that the data migration interaction ends, obtaining first data migration process data of the first business system during the current data migration interaction and second data migration process data of the second business system during the current data migration interaction;
[0010] The log information of the data resource migration is updated according to the first data migration process data, the second data migration process data and the data resource migration information.
[0011] In one of the embodiments, the verification rules determined according to the data migration identification information perform information verification on the data resource migration information, including: querying a first target rule that matches the data migration identification information from a verification rule library, wherein the verification rule library includes multiple general rules and multiple customized rules; if there is target migration identification information in the data migration identification information that does not match the multiple general rules, generating data resource migration characteristics based on the data resource migration information and the target migration identification information, and querying a second target rule that matches the data resource migration characteristics from the multiple customized rules and the multiple general rules; and performing information verification on the data resource migration information according to the first target rule and the second target rule, respectively.
[0012] In one of the embodiments, the method also includes: if the information verification fails, obtaining the processed data of the first business system and the historical log information corresponding to the first business system, and based on the historical log information corresponding to the first business system, backtracking the processed data and data migration logic of the first business system; and backtracking the data migration logic of the second business system.
[0013] In one embodiment, updating the log information of data resource migration according to the first data migration process data, the second data migration process data and the data resource migration information includes: generating first processing log information of the data resource migration information in the first business system according to the first data migration process data; generating second processing log information of the data resource migration information in the second business system according to the second data migration process data; updating the log information of data resource migration in the first business system according to the first processing log information, and updating the log information of data resource migration in the second business system according to the second processing log information.
[0014] In one embodiment, after updating the log information of data resource migration in the first business system according to the first processing log information, and updating the log information of data resource migration in the second business system according to the second processing log information, the method further includes: generating a delay time period according to the business scenario corresponding to the data resource migration request; if a business withdrawal request under the business scenario is not received within the delay time period, storing the updated log information of data resource migration in the first business system and the updated log information of data resource migration in the second business system to the blockchain; if a business withdrawal request under the business scenario is received within the delay time period, updating the log information of data resource migration in the first business system and the log information of data resource migration in the second business system according to the business withdrawal request.
[0015] In one of the embodiments, generating a delay time period according to the business scenario corresponding to the data resource migration request includes: evaluating the business backtracking probability of the data resource migration request according to the business scenario corresponding to the data resource migration request to obtain a business backtracking evaluation result; obtaining a first historical backtracking number of the first business system, and obtaining a second historical backtracking number of the second business system; evaluating the probability of business processing anomalies in the first business system and the second business system according to the first historical backtracking number and the second historical backtracking number to obtain a business system anomaly evaluation result; generating a delay time period according to the business backtracking evaluation result and the business system anomaly evaluation result.
[0016] In one of the embodiments, the business backtracking probability of the data resource migration request is evaluated according to the business scenario corresponding to the data resource migration request to obtain a business backtracking evaluation result, including: identifying the business processing type of the data resource migration request according to the business scenario corresponding to the data resource migration request; evaluating the data resource migration scale corresponding to the business scenario according to the data resource migration information to obtain a business scale evaluation result; evaluating the business backtracking probability of the data resource migration request according to the business processing type and the business scale evaluation result to obtain a business backtracking evaluation result.
[0017] In a second aspect, the present application also provides a log information updating device for data resource migration, including:
[0018] A response module, configured to respond to a data resource migration request of the first business system and obtain data resource migration information and data migration identification information of the first business system;
[0019] A verification module, configured to perform information verification on the data resource migration information according to a verification rule determined by the data migration identification information;
[0020] A sending module, configured to send a data migration instruction to the second business system if the information verification passes, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system;
[0021] an acquisition module, configured to acquire, if it is detected that the data migration interaction is ended, first data migration process data of the first business system during the current data migration interaction, and second data migration process data of the second business system during the current data migration interaction;
[0022] An updating module is used to update the log information of the data resource migration according to the first data migration process data, the second data migration process data and the data resource migration information.
[0023] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0024] In response to a data resource migration request of the first business system, acquiring data resource migration information and data migration identification information of the first business system;
[0025] Performing information verification on the data resource migration information according to the verification rule determined by the data migration identification information;
[0026] If the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system;
[0027] If it is detected that the data migration interaction ends, obtaining first data migration process data of the first business system during the current data migration interaction and second data migration process data of the second business system during the current data migration interaction;
[0028] The log information of the data resource migration is updated according to the first data migration process data, the second data migration process data and the data resource migration information.
[0029] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0030] In response to a data resource migration request of the first business system, acquiring data resource migration information and data migration identification information of the first business system;
[0031] Performing information verification on the data resource migration information according to the verification rule determined by the data migration identification information;
[0032] If the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system;
[0033] If it is detected that the data migration interaction ends, obtaining first data migration process data of the first business system during the current data migration interaction and second data migration process data of the second business system during the current data migration interaction;
[0034] The log information of the data resource migration is updated according to the first data migration process data, the second data migration process data and the data resource migration information.
[0035] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0036] In response to a data resource migration request of the first business system, acquiring data resource migration information and data migration identification information of the first business system;
[0037] Performing information verification on the data resource migration information according to the verification rule determined by the data migration identification information;
[0038] If the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system;
[0039] If it is detected that the data migration interaction ends, obtaining first data migration process data of the first business system during the current data migration interaction and second data migration process data of the second business system during the current data migration interaction;
[0040] The log information of the data resource migration is updated according to the first data migration process data, the second data migration process data and the data resource migration information.
[0041] The above-mentioned data resource migration log information update method, device, computer equipment, computer-readable storage medium and computer program product obtain the data resource migration information and data migration identification information of the first business system by responding to the data resource migration request of the first business system; perform information verification on the data resource migration information according to the verification rule determined by the data migration identification information; if the information verification passes, send a data migration instruction to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system; if it is detected that the data migration interaction ends, obtain the first data migration process data of the first business system during this data migration interaction, and the second data migration process data of the second business system during this data migration interaction; update the data resource migration log information according to the first data migration process data, the second data migration process data and the data resource migration information, and realize the verification of the data resource migration information and the automatic control of the system data migration interaction through the data acquisition, data verification and instruction indication of the business system, and can realize the business data migration interaction and log update while ensuring the accuracy of the data resource migration information, so as to improve the log information update efficiency of the data resource migration. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 An application environment diagram of a log information updating method for data resource migration in one embodiment;
[0044] Figure 2 A schematic diagram of a flow chart of a method for updating log information of data resource migration in one embodiment;
[0045] Figure 3 It is a flowchart of a step of performing information verification on data resource migration information according to a verification rule determined by data migration identification information in an embodiment;
[0046] Figure 4 A flowchart of log information processing steps for migration of updated business resources in one embodiment;
[0047] Figure 5 It is a structural block diagram of a log information updating device for data resource migration in one embodiment;
[0048] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] It should be noted that the user information (including but not limited to historical evaluation text information, preset evaluation text, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the acquisition, transmission, storage, use and processing of relevant data are in compliance with the relevant provisions of national laws and regulations. For content pushed to users (for example, service evaluation texts, etc.), users can refuse or conveniently refuse content push, etc. In the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0051] The log information updating method for data resource migration provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. In response to the data resource migration request of the first business system, the server 104 obtains the data resource migration information and data migration identification information of the first business system; according to the verification rules determined by the data migration identification information, the data resource migration information is verified; if the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to interact with the first business system for data migration; if the data migration interaction is detected to be over, the first data migration process data of the first business system during this data migration interaction, and the second data migration process data of the second business system during this data migration interaction are obtained; the server 104 updates the log information of the data resource migration according to the first data migration process data, the second data migration process data and the data resource migration information. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.
[0052] In an exemplary embodiment, Figure 2 As shown, a log information updating method for data resource migration is provided, and the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate, including the following steps 202 to 210. Among them:
[0053] Step 202: In response to a data resource migration request of the first business system, data resource migration information and data migration identification information of the first business system are obtained.
[0054] The content of the data resource migration request in step 202 matches the business scenario, and the business scenario includes but is not limited to payment scenarios, deposit scenarios, loan scenarios, and withdrawal scenarios, etc., which are not limited here. The data resource migration request responds to a business request initiated by a user through a counter, ATM (Automated Teller Machine) or terminal. The business request corresponds to a business scenario and is generated according to the business request. The first business system is used to implement business processing on the user side. The data resource migration information includes at least one of data resource migration user information, data resource scale information to be migrated in, data resource scale information to be migrated out, existing data resource scale information, and data resource migration time information. The data migration identification information is used to identify the data resource migration information.
[0055] Exemplarily, step 202 includes: in response to a data resource migration request of the first business system, querying data resource migration information and data migration identification information from business data in the first business system according to a business scenario corresponding to the data resource migration request.
[0056] As an embodiment, according to the business scenario corresponding to the data resource migration request, data resource migration information and data migration identification information are queried from the business data in the first business system, including: when the business scenario corresponding to the data resource migration request is a payment scenario or a deposit scenario, data resource migration user information, scale information of data resources to be migrated, scale information of existing data resources and data resource migration time are queried from the business data of the first business system, and the data resource migration information and data migration identification information are determined according to the data resource migration user information, scale information of data resources to be migrated, scale information of existing data resources and data resource migration time. Specifically, the information content corresponding to the data resource migration user information, scale information of data resources to be migrated, scale information of existing data resources and data resource migration time, respectively, is determined as the data resource migration information; and the labels corresponding to the data resource migration user information, scale information of data resources to be migrated, scale information of existing data resources and data resource migration time, respectively, are determined as the data migration identification information.
[0057] Furthermore, data resource migration user information, data resource scale information to be migrated, existing data resource scale information and data resource migration time are queried from the business data of the first business system, including: parsing the business message of the first business system to obtain multiple business primary keys of the first business system and business data corresponding to the multiple business primary keys; screening a target primary key that matches the data resource migration user information, data resource scale information to be migrated, existing data resource scale information and data resource migration time from the multiple business primary keys of the first business system; and determining the business data corresponding to the target primary key of the first business system as the data resource migration user information, data resource scale information to be migrated, existing data resource scale information and data resource migration time.
[0058] As another embodiment, according to the business scenario corresponding to the data resource migration request, data resource migration information and data migration identification information are queried from the business data in the first business system, including: when the business scenario corresponding to the data resource migration request is a withdrawal scenario or a loan scenario, data resource migration user information, scale information of data resources to be migrated, scale information of existing data resources and data resource migration time are queried from the business data of the first business system, and the data resource migration information and data migration identification information are determined according to the data resource migration user information, scale information of data resources to be migrated, scale information of existing data resources and data resource migration time. Specifically, the information content corresponding to the data resource migration user information, scale information of data resources to be migrated, scale information of existing data resources and data resource migration time, respectively, is determined as the data resource migration information; and the labels corresponding to the data resource migration user information, scale information of data resources to be migrated, scale information of existing data resources and data resource migration time, respectively, are determined as the data migration identification information.
[0059] In this way, for different business scenarios, data resource migration information with different contents is extracted, thereby ensuring that subsequent business data migration interaction can be realized in each business scenario.
[0060] Step 204: perform information verification on the data resource migration information according to the verification rule determined by the data migration identification information.
[0061] Exemplarily, step 204 includes: verifying the field information of the data resource migration information according to the field verification condition contained in the verification rule determined by the data migration identification information, wherein the field information includes at least one of field content, field length and field format.
[0062] As an embodiment, the field content of the data resource migration information is verified according to the field verification conditions contained in the verification rules determined by the data migration identification information, including: the field verification conditions include at least one of the field length verification conditions, the field content verification conditions and the field format verification conditions. If the field verification conditions contained in the verification rules determined by the data migration identification information include the field length verification conditions, the field length of the data resource migration information is verified according to the field length verification conditions; if the field verification conditions contained in the verification rules determined by the data migration identification information include the field content verification conditions, the field content of the data resource migration information is verified according to the field content verification conditions; if the field verification conditions contained in the verification rules determined by the data migration identification information include the field format verification conditions, the field format of the data resource migration information is verified according to the field format verification conditions.
[0063] In this way, targeted verification can be performed on the field content, field length and field format in the data resource migration information to ensure that the data resource migration information that passes the information verification is accurate.
[0064] Step 206: If the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system.
[0065] Exemplarily, step 206 includes: if the information verification passes, generating a data migration instruction according to the business scenario corresponding to the data resource migration request, and sending the data migration instruction to the second business system.
[0066] It is understandable that different business scenarios have different processes for business system data migration interaction. Therefore, data migration instructions are generated according to the business scenarios corresponding to the data resource migration requests, so that the data migration instructions can also indicate the business scenarios, so that the data migration interaction process between the first business system and the second business system matches the business scenarios, thereby ensuring the accuracy of the data migration interaction between the first business system and the second business system.
[0067] Optionally, the method also includes: if the field length check passes, the field content check passes and the field format check passes, then it is determined that the information check passes; if the field length check fails, the field content check fails, and / or the field format check fails, then it is determined that the information check fails.
[0068] In this way, subsequent data migration interaction is performed only when the field content, field length and field format of the data resource migration information are verified and passed, thereby ensuring the accuracy of the data migration interaction.
[0069] Optionally, the method also includes: if the information verification fails, obtaining the processed data of the first business system and the historical log information corresponding to the first business system, and backtracking the processed data and data migration logic of the first business system according to the historical log information corresponding to the first business system; and backtracking the data migration logic of the second business system.
[0070] In this way, when the data resource migration information verification fails, that is, when the current business cannot be carried out, the first business system and the second business system can be restored in time to avoid the existence of redundant business data in the first business system and the second business system, as well as incorrect logical processing, thereby ensuring that the subsequent business data migration interaction can be carried out normally.
[0071] It is understandable that when the data migration interaction process is more complicated, there may be multiple rounds of data resource migration information acquisition, verification and interactive data migration. When the verification of the early data resource migration information fails, the second business system may not have performed the data migration process, but has already constructed and processed the data migration logic. In this case, only the data migration logic of the second business system needs to be backtracked.
[0072] Furthermore, after backtracking the processed data and data migration logic of the first business system according to the historical log information corresponding to the first business system, the method also includes: identifying the verification round corresponding to the information verification, if the verification round meets the preset round conditions, obtaining the processed data of the second business system and the historical log information corresponding to the second business system, and backtracking the processed data and data migration logic of the second business system according to the historical log information corresponding to the second business system; if the verification round does not meet the preset round conditions, backtracking the data migration logic of the second business system, wherein the preset round conditions match the business scenario, and the preset round conditions can be a round range.
[0073] In this way, considering that the second business system is a post-response system, when the verification round does not meet the preset round conditions, that is, the second business system has not yet participated in the data migration interaction and is only performing data migration logic construction and processing, the data migration logic is directly backtracked; when the verification round meets the preset round conditions, that is, the second business system participates in the data migration interaction, both the data migration logic and the processed data are backtracked, thereby ensuring that the second business data can perform data interaction normally, which simplifies the backtracking process to a certain extent.
[0074] Step 208 : if it is detected that the data migration interaction is ended, first data migration process data of the first business system during this data migration interaction and second data migration process data of the second business system during this data migration interaction are obtained.
[0075] Exemplarily, obtaining first data migration process data of the first business system during the current data migration interaction includes: querying the first data migration process data generated during the current data migration interaction from business data of the first business system.
[0076] Exemplarily, obtaining the second data migration process data of the second business system during the current data migration interaction includes: querying the second data migration process data generated during the current data migration interaction from the business data of the second business system.
[0077] Step 210: Update the log information of the data resource migration according to the first data migration process data, the second data migration process data and the data resource migration information.
[0078] Exemplarily, step 210 includes: generating first processing log information of data resource migration information in the first business system based on first data migration process data; generating second processing log information of data resource migration information in the second business system based on second data migration process data; updating the log information of data resource migration in the first business system based on the first processing log information, and updating the log information of data resource migration in the second business system based on the second processing log information.
[0079] Furthermore, based on the first data migration process data, first processing log information of the data resource migration information in the first business system is generated, including: identifying from the first data migration process data the first processing process data after data processing of the data resource migration information by the first business system in multiple rounds of business processing corresponding to the data resource migration request, and based on the first processing process data, generating first processing log information of the data resource migration information in the first business system.
[0080] Optionally, the specific implementation method of generating the second processing log information of the data resource migration information in the second business system according to the second data migration process data may refer to the specific implementation content of generating the first processing log information of the data resource migration information in the first business system according to the first data migration process data, which will not be repeated here.
[0081] In this way, the log information of the first business system and the second business system are updated respectively, so as to ensure data isolation between the first business system and the second business system, and the timely update of the log information can ensure the visual record of the business processing.
[0082] In the above-mentioned log information updating method for data resource migration, by responding to the data resource migration request of the first business system, the data resource migration information and data migration identification information of the first business system are obtained; according to the verification rule determined by the data migration identification information, the data resource migration information is verified; if the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system; if it is detected that the data migration interaction ends, the first data migration process data of the first business system during this data migration interaction and the second data migration process data of the second business system during this data migration interaction are obtained; according to the first data migration process data, the second data migration process data and the data resource migration information, the log information of the data resource migration is updated, and the verification of the data resource migration information and the automatic control of the system data migration interaction are realized by acquiring data, verifying data and indicating instructions of the business system, and the business data migration interaction and log update can be realized while ensuring the accuracy of the data resource migration information, so that the log information update efficiency of the data resource migration is improved.
[0083] It is understandable that when the business processing process is more complicated or the business processing volume is large, the data resource migration information usually has more content. Therefore, there may be a situation where the data migration identification information cannot determine all the verification rules that match the data resource migration information. If the above steps are executed, it is easy to cause some data resource migration information to fail to obtain information verification due to incomplete verification rules, resulting in low accuracy of data resource migration information verification. Therefore, there is an urgent need for a method to optimize the verification of data resource migration information.
[0084] In an exemplary embodiment, Figure 3 As shown, according to the verification rule determined by the data migration identification information, the method of performing information verification on the data resource migration information includes steps 302 to 306. Among them:
[0085] Step 302: Search a verification rule base for a first target rule that matches the data migration identification information, wherein the verification rule base includes a plurality of general rules and a plurality of customized rules.
[0086] The general rules in step 302 are verification rules commonly used in various business scenarios, and the customized rules are verification rules additionally customized by users in various business scenarios.
[0087] Exemplarily, step 302 includes: for each data migration identification information, obtaining the rule contents of multiple general rules and multiple customized rules in the verification rule library; determining the matching degree between the rule contents of the multiple general rules and the multiple customized rules and the data migration identification information respectively; and based on the matching degree between the rule contents of the multiple general rules and the multiple customized rules and the data migration identification information respectively, screening the first target rule that matches the data migration identification information from the verification rule library.
[0088] Furthermore, determining the degree of matching between the rule contents of the multiple general rules and the multiple customized rules and the data migration identification information respectively includes: obtaining the information similarity between the rule contents of the multiple general rules and the multiple customized rules and the data migration identification information respectively, and generating the degree of matching between the rule contents of the multiple general rules and the multiple customized rules and the data migration identification information respectively according to the information similarity between the rule contents of the multiple general rules and the multiple customized rules and the data migration identification information respectively, wherein the higher the information similarity, the higher the degree of matching.
[0089] As an embodiment, based on the matching degrees between the rule contents of multiple general rules and multiple customized rules and the data migration identification information, a first target rule matching the data migration identification information is screened from a verification rule library, including: screening a first target rule whose corresponding matching degree is higher than a preset matching degree threshold from multiple general rules and multiple customized rules in the verification rule library, or screening a first target rule whose corresponding matching degree is higher than a preset matching degree threshold and is the highest from multiple general rules and multiple customized rules in the verification rule library.
[0090] In this way, it can be ensured that the content of the first target rule matches the information content of the data migration identification information, thereby ensuring that the first target rule matches the data resource migration information corresponding to the data migration identification information, thereby improving the verification accuracy of the data resource migration information.
[0091] Step 304, if there is target migration identification information in the data migration identification information that does not match multiple general rules, generate data resource migration characteristics based on the data resource migration information and the target migration identification information, and query a second target rule that matches the data resource migration characteristics from multiple customized rules and multiple general rules.
[0092] Exemplarily, step 304 includes: if there is target migration identification information in the data migration identification information that does not match multiple general rules, then the target resource migration information corresponding to the target migration identification information in the data resource migration information is extracted; the data resource migration characteristics are extracted from the target resource migration information; and a second target rule that matches the data resource migration characteristics is searched from multiple customized rules and multiple general rules.
[0093] As an embodiment, extracting data resource migration features from target resource migration information includes: mapping the target resource migration information into data resource migration features by a text feature extractor.
[0094] Optionally, the specific implementation method of querying the second target rule that matches the data resource migration characteristics from multiple customized rules and multiple general rules can refer to the specific implementation content of the above-mentioned step of querying the first target rule that matches the data migration identification information from the verification rule library, which will not be repeated here.
[0095] Optionally, the method also includes: if there is no corresponding first target rule with a matching degree higher than a preset matching degree threshold among the multiple general rules and multiple customized rules in the verification rule base, then determining that there is target migration identification information in the data migration identification information that does not match the multiple general rules.
[0096] Step 306: perform information verification on the data resource migration information according to the first target rule and the second target rule.
[0097] Exemplarily, step 306 includes: performing information verification on field information of the data resource migration information according to field verification conditions included in the first target rule and the second target rule.
[0098] Optionally, the specific implementation methods of performing information verification on the field information of the data resource migration information according to the field verification conditions contained in the first target rule and the second target rule can refer to the field verification conditions contained in the verification rules determined according to the data migration identification information, and the specific implementation content of verifying the field information of the data resource migration information will not be elaborated here.
[0099] In this embodiment, a first target rule matching the data migration identification information is queried from a verification rule library, wherein the verification rule library includes a plurality of general rules and a plurality of customized rules; if there is target migration identification information in the data migration identification information that does not match the plurality of general rules, a data resource migration feature is generated according to the data resource migration information and the target migration identification information, and a second target rule matching the data resource migration feature is queried from the plurality of customized rules and the plurality of general rules; information verification is performed on the data resource migration information according to the first target rule and the second target rule respectively, and when there is target migration identification information in the data migration identification information that does not match the plurality of general rules, that is, when the determined verification rules are incomplete, the target migration identification information and the data resource migration information are used together as a matching basis to match the second target rule, thereby ensuring that all verification rules matching the data resource migration information can be obtained, ensuring that all data resource migration information can be verified, and improving the accuracy of data resource migration information verification.
[0100] It is understandable that after the business is completed, since the data between the first business system and the second business system are isolated from each other, in order to ensure that the updated log information during the business processing can be accurately recorded, certain constraints are usually set in the log recording libraries of the first business system and the second business system, such as non-tampering, etc. However, although this method can achieve log update constraints to a certain extent, there are still people with high management authority who can still tamper with it, and the data between the first business system and the second business system are isolated from each other, and there is still a situation where the accuracy of the updated log information cannot be guaranteed. Therefore, there is an urgent need for a way to accurately process the log information.
[0101] In an exemplary embodiment, Figure 4 As shown, after updating the log information of data resource migration in the first business system according to the first processing log information, and updating the log information of data resource migration in the second business system according to the second processing log information, the method further includes steps 402 to 406. Among them:
[0102] Step 402: Generate a delay time period according to the business scenario corresponding to the data resource migration request.
[0103] Among them, the delay time period in step 402 can be the interval time period between detecting the end of the data migration interaction and storing the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system in the blockchain; it can also be the interval time period between detecting the data resource migration request and storing the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system in the blockchain, and it can also be the interval time period between any time point and storing the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system in the blockchain. There is no limitation here, but for the convenience of calculation here, the delay time period is usually set to the interval time period between detecting the end of the data migration interaction and storing the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system in the blockchain.
[0104] Exemplarily, step 402 includes: evaluating the probability of withdrawing the business request corresponding to the data resource migration request according to the business scenario corresponding to the data resource migration request to obtain a withdrawal probability evaluation result; and generating a delay time period according to the withdrawal probability evaluation result.
[0105] It is understandable that, considering that the user initiates a business request, that is, after initiating a data resource migration request, there may be various reasons that require the withdrawal of the business request. The solution to the above-mentioned inability to guarantee the accuracy of the updated log information is to store the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system in the blockchain to ensure the accuracy of the updated log information. However, the blockchain technology has the characteristic of being tamper-proof, that is, once the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system are stored in the blockchain, even if the business request needs to be withdrawn, the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system that have been uploaded to the blockchain cannot be deleted or changed. Therefore, there is still a problem that the accuracy of the updated log information cannot be guaranteed.
[0106] In this way, a delay time period is generated based on the evaluated probability of withdrawing the business request corresponding to the data resource migration request, and the delay time period is used to set the time period for delaying the updated log information from being uploaded to the chain. Therefore, before delaying the updated log information from being uploaded to the chain, a delay time period matching the probability of withdrawing the business request is reserved, thereby ensuring the accuracy of the data uploaded to the chain after setting the delay time period, that is, improving the accuracy of the updated log information.
[0107] As an embodiment, step 402 includes: evaluating the business backtracking probability of the data resource migration request according to the business scenario corresponding to the data resource migration request, and obtaining a business backtracking evaluation result; obtaining a first historical backtracking number of the first business system, and obtaining a second historical backtracking number of the second business system; evaluating the probability of business processing anomalies in the first business system and the second business system according to the first historical backtracking number and the second historical backtracking number, and obtaining a business system anomaly evaluation result; generating a delay time period according to the business backtracking evaluation result and the business system anomaly evaluation result.
[0108] It is understandable that, in addition to the possibility of the user withdrawing the service request, the first service system or the second service system may also have information errors or system failures that require the withdrawal of the service request.
[0109] In this way, the possibility of the user withdrawing the service request and the possibility of the system itself causing the withdrawal of the service request are taken into consideration, so that the generated delay time period is more accurate.
[0110] As an embodiment, according to the business scenario corresponding to the data resource migration request, the business backtracing probability of the data resource migration request is evaluated to obtain a business backtracing evaluation result, including: identifying the business processing type of the data resource migration request according to the business scenario corresponding to the data resource migration request; evaluating the data resource migration scale corresponding to the business scenario according to the data resource migration information to obtain a business scale evaluation result; evaluating the business backtracing probability of the data resource migration request according to the business processing type and the business scale evaluation result to obtain a business backtracing evaluation result.
[0111] Furthermore, based on the data resource migration information, the data resource migration scale corresponding to the business scenario is evaluated to obtain a business scale evaluation result, including: based on the business scenario, screening target evaluation resource information from the data resource migration information, and based on the target evaluation resource information, evaluating the data resource migration scale corresponding to the business scenario to obtain a business scale evaluation result.
[0112] Specifically, when the business scenario corresponding to the data resource migration request is a payment scenario or a deposit scenario, the scale information of the data resources to be migrated out and the scale information of the existing data resources are determined as the target evaluation resource information; when the business scenario corresponding to the data resource migration request is a withdrawal scenario or a loan scenario, the scale information of the data resources to be migrated in and the scale information of the existing data resources are determined as the target evaluation resource information.
[0113] Among them, the larger the sum of the two scale information in the target evaluation resource information, the larger the business resource migration scale represented by the business scale evaluation result obtained by evaluation; or, the larger the ratio between one information in the target evaluation resource information (the scale information of data resources to be migrated out or the scale information of data resources to be migrated in) and the existing data resource scale information, the larger the business resource migration scale represented by the business scale evaluation result obtained by evaluation.
[0114] Among them, the greater the business risk represented by the business processing type, the greater the business backtracking probability represented by the business backtracking assessment result; the larger the business resource migration scale represented by the business scale assessment result, the greater the business backtracking probability represented by the business backtracking assessment result.
[0115] The (first or second) historical backtracking number is the number of times the (first or second) business system performs backtracking processing during the historical data resource migration process.
[0116] As an embodiment, obtaining the first historical backtracking number of the first business system includes: accumulating the historical data backtracking number of the first business system, and accumulating the historical logic backtracking number of the first business system, summing the historical data backtracking number and the historical logic backtracking number of the first business system to obtain the first historical backtracking number of the first business system.
[0117] Optionally, the specific implementation method of obtaining the second historical backtracking number of the second business system may refer to the specific implementation content of obtaining the first historical backtracking number of the first business system mentioned above, which will not be described in detail here.
[0118] Among them, the greater the first historical backtracking number, the greater the probability that the first business system represented by the business system abnormality assessment result has business processing abnormalities; the greater the second historical backtracking number, the greater the probability that the second business system represented by the business system abnormality assessment result has business processing abnormalities; and the greater the sum of the first historical backtracking number and the second historical backtracking number, the greater the probability of business processing abnormalities represented by the business system abnormality assessment result.
[0119] Among them, the greater the business backtracking probability represented by the business backtracking evaluation result, the longer the delay time period is set; the greater the probability of business processing anomaly represented by the business system anomaly evaluation result, the longer the delay time period is set.
[0120] Step 404: If no business withdrawal request is received in the business scenario within the delay period, the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system are stored in the blockchain.
[0121] Exemplarily, step 404 includes: if no business withdrawal request is received in the business scenario within the delay time period, calling each node in the blockchain to store the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system.
[0122] Step 406: If a service withdrawal request is received in the business scenario within the delay period, the log information of the data resource migration in the first business system is updated according to the service withdrawal request, and the log information of the data resource migration in the second business system is updated.
[0123] Exemplarily, step 406 includes: if a business withdrawal request is received in a business scenario within the delay time period, then according to the business withdrawal request, the log information of the data resource migration in the first business system is backtracked, and the log information of the data resource migration in the second business system is backtracked.
[0124] In this embodiment, a delay time period is generated according to the business scenario corresponding to the data resource migration request; if a business withdrawal request under the business scenario is not received within the delay time period, the first processing log information and the second processing log information are stored in the blockchain; if a business withdrawal request under the business scenario is received within the delay time period, the log information of the data resource migration in the first business system is updated according to the business withdrawal request, and the log information of the data resource migration in the second business system is updated, and the update of the log information of the data resource migration of the business system is combined with the blockchain technology to ensure the accuracy of the log information of the data resource migration of the updated business system, and before the log information of the data resource migration of the updated business system is uploaded to the chain, a delay time period is reserved, so that when the business withdrawal request is detected within the delay time period, the log information of the data resource migration in the business system is updated, and when the business withdrawal request is not detected within the delay time, the log information of the data resource migration of the updated business system is uploaded to the chain, so that the accuracy of the log information of the data resource migration of the updated business system is improved.
[0125] As a detailed embodiment, in response to a data resource migration request of a first business system, data resource migration information and data migration identification information of the first business system are obtained; a first target rule matching the data migration identification information is queried from a verification rule library, wherein the verification rule library includes multiple general rules and multiple customized rules; if there is target migration identification information that does not match the multiple general rules in the data migration identification information, a data resource migration feature is generated according to the data resource migration information and the target migration identification information, and a second target rule matching the data resource migration feature is queried from the multiple customized rules and the multiple general rules; information verification is performed on the data resource migration information according to the first target rule and the second target rule respectively; if the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system; if the information verification fails, the processed data of the first business system and the historical log information corresponding to the first business system are obtained, and according to the historical log information corresponding to the first business system, the processed data and the data migration logic of the first business system are back-traced; the data migration logic of the second business system is back-traced.
[0126] Furthermore, if it is detected that the data migration interaction ends, the first data migration process data of the first business system during this data migration interaction and the second data migration process data of the second business system during this data migration interaction are obtained; based on the first data migration process data, first processing log information of the data resource migration information in the first business system is generated; based on the second data migration process data, second processing log information of the data resource migration information in the second business system is generated; based on the first processing log information, the log information of the data resource migration in the first business system is updated, and, based on the second processing log information, the log information of the data resource migration in the second business system is updated; based on the business scenario corresponding to the data resource migration request, the business processing type of the data resource migration request is identified; based on the data resource migration information, the data resource migration scale corresponding to the business scenario is evaluated to obtain a business scale evaluation result; based on the business processing type and the business scale evaluation result , evaluate the business backtracking probability of the data resource migration request to obtain a business backtracking evaluation result; obtain a first historical backtracking number of the first business system, and obtain a second historical backtracking number of the second business system; evaluate the probability of business processing anomalies in the first business system and the second business system according to the first historical backtracking number and the second historical backtracking number, and obtain a business system anomaly evaluation result; generate a delay time period according to the business backtracking evaluation result and the business system anomaly evaluation result; if a business withdrawal request under the business scenario is not received within the delay time period, the updated log information of the data resource migration in the first business system and the updated log information of the data resource migration in the second business system are stored in the blockchain; if a business withdrawal request under the business scenario is received within the delay time period, the log information of the data resource migration in the first business system is updated according to the business withdrawal request, and the log information of the data resource migration in the second business system is updated.
[0127] In this way, by responding to the data resource migration request of the first business system, the data resource migration information and data migration identification information of the first business system are obtained; according to the verification rules determined by the data migration identification information, the data resource migration information is verified; if the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system; if it is detected that the data migration interaction ends, the first data migration process data of the first business system during this data migration interaction and the second data migration process data of the second business system during this data migration interaction are obtained; according to the first data migration process data, the second data migration process data and the data resource migration information, the log information of the data resource migration is updated, and the verification of the data resource migration information and the automatic control of the system data migration interaction are realized through the data acquisition, data verification and instruction indication of the business system, and the business data migration interaction and log update can be realized while ensuring the accuracy of the data resource migration information, thereby improving the log information update efficiency of the data resource migration.
[0128] Furthermore, in the case where there is target migration identification information in the data migration identification information that does not match multiple general rules, that is, when the determined verification rules are incomplete, the target migration identification information and the data resource migration information are used together as matching basis to match the second target rule, thereby ensuring that all verification rules matching the data resource migration information can be obtained, ensuring that all data resource migration information can be verified, and improving the accuracy of data resource migration information verification; combining the log information update of the data resource migration of the business system with blockchain technology to ensure the accuracy of the log information of the data resource migration of the updated business system, and before the log information of the data resource migration of the updated business system is uploaded to the chain, a delay time period is reserved, so that when a business withdrawal request is detected within the delay time period, the log information of the data resource migration in the business system can be updated, and when no business withdrawal request is detected within the delay time, the log information of the data resource migration of the updated business system is uploaded to the chain, thereby improving the accuracy of the log information of the data resource migration of the updated business system.
[0129] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0130] Based on the same inventive concept, the embodiment of the present application also provides a log information update device for data resource migration for implementing the log information update method for data resource migration involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more log information update devices for data resource migration provided below can refer to the limitations of the log information update method for data resource migration above, and will not be repeated here.
[0131] In an exemplary embodiment, Figure 5 As shown, a log information updating device 500 for data resource migration is provided, comprising: a response module 502, a verification module 504, a sending module 506, an acquisition module 508 and an update module 510, wherein:
[0132] A response module 502 is used to respond to a data resource migration request of the first business system and obtain data resource migration information and data migration identification information of the first business system;
[0133] A verification module 504, configured to verify the data resource migration information according to a verification rule determined by the data migration identification information;
[0134] A sending module 506 is used to send a data migration instruction to the second business system if the information verification passes, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system;
[0135] The acquisition module 508 is configured to acquire the first data migration process data of the first business system during the current data migration interaction and the second data migration process data of the second business system during the current data migration interaction if it is detected that the data migration interaction is ended;
[0136] The updating module 510 is used to update the log information of the data resource migration according to the first data migration process data, the second data migration process data and the data resource migration information.
[0137] In one of the embodiments, the verification module 504 is also used to query a first target rule that matches the data migration identification information from a verification rule base, wherein the verification rule base includes multiple general rules and multiple customized rules; if there is target migration identification information in the data migration identification information that does not match the multiple general rules, then a data resource migration feature is generated based on the data resource migration information and the target migration identification information, and a second target rule that matches the data resource migration feature is queried from the multiple customized rules and the multiple general rules; and the data resource migration information is verified according to the first target rule and the second target rule, respectively.
[0138] In one of the embodiments, the device also includes: a backtracking module, which is used to obtain the processed data of the first business system and the historical log information corresponding to the first business system if the information verification fails, and to backtrack the processed data and data migration logic of the first business system according to the historical log information corresponding to the first business system; and to backtrack the data migration logic of the second business system.
[0139] In one of the embodiments, the update module is also used to generate first processing log information of data resource migration information in the first business system based on the first data migration process data; generate second processing log information of data resource migration information in the second business system based on the second data migration process data; update the log information of data resource migration in the first business system based on the first processing log information; and update the log information of data resource migration in the second business system based on the second processing log information.
[0140] In one of the embodiments, after updating the log information of data resource migration in the first business system according to the first processing log information, and updating the log information of data resource migration in the second business system according to the second processing log information, the update module is also used to generate a delay time period according to the business scenario corresponding to the data resource migration request; if no business withdrawal request under the business scenario is received within the delay time period, the updated log information of data resource migration in the first business system and the updated log information of data resource migration in the second business system are stored in the blockchain; if a business withdrawal request under the business scenario is received within the delay time period, the log information of data resource migration in the first business system is updated according to the business withdrawal request, and the log information of data resource migration in the second business system is updated.
[0141] In one of the embodiments, the update module is also used to evaluate the business backtracking probability of the data resource migration request according to the business scenario corresponding to the data resource migration request, and obtain a business backtracking evaluation result; obtain a first historical backtracking number of the first business system, and obtain a second historical backtracking number of the second business system; based on the first historical backtracking number and the second historical backtracking number, evaluate the probability of business processing anomalies in the first business system and the second business system to obtain a business system anomaly evaluation result; generate a delay time period based on the business backtracking evaluation result and the business system anomaly evaluation result.
[0142] In one of the embodiments, the update module is also used to identify the business processing type of the data resource migration request based on the business scenario corresponding to the data resource migration request; evaluate the data resource migration scale corresponding to the business scenario based on the data resource migration information to obtain a business scale evaluation result; and evaluate the business backtracking probability of the data resource migration request based on the business processing type and the business scale evaluation result to obtain a business backtracking evaluation result.
[0143] Each module in the log information update device for data resource migration can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0144] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store object information and service information. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a log information update method for data resource migration is implemented.
[0145] Those skilled in the art will understand that Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0146] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0147] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0148] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0149] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0150] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0151] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for updating log information of data resource migration, characterized in that: The method comprises: In response to a data resource migration request of the first business system, acquiring data resource migration information and data migration identification information of the first business system; Performing information verification on the data resource migration information according to the verification rule determined by the data migration identification information; If the information verification passes, a data migration instruction is sent to the second business system, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system; If it is detected that the data migration interaction ends, obtaining first data migration process data of the first business system during the current data migration interaction and second data migration process data of the second business system during the current data migration interaction; The log information of the data resource migration is updated according to the first data migration process data, the second data migration process data and the data resource migration information.
2. The method according to claim 1, characterized in that The verifying the data resource migration information according to the verification rule determined according to the data migration identification information includes: Querying a first target rule matching the data migration identification information from a verification rule base, wherein the verification rule base includes a plurality of general rules and a plurality of customized rules; If there is target migration identification information in the data migration identification information that does not match the multiple general rules, a data resource migration feature is generated according to the data resource migration information and the target migration identification information, and a second target rule matching the data resource migration feature is searched from the multiple customized rules and the multiple general rules; According to the first target rule and the second target rule, the data resource migration information is respectively verified.
3. The method according to claim 1, characterized in that The method further comprises: If the information verification fails, the processed data of the first business system and the historical log information corresponding to the first business system are obtained, and the processed data and data migration logic of the first business system are backtracked according to the historical log information corresponding to the first business system; The data migration logic of the second business system is backtracked.
4. The method according to claim 1, characterized in that The updating of the log information of the data resource migration according to the first data migration process data, the second data migration process data and the data resource migration information includes: generating first processing log information of the data resource migration information in the first business system according to the first data migration process data; generating second processing log information of the data resource migration information in the second business system according to the second data migration process data; The log information of data resource migration in the first business system is updated according to the first processing log information, and the log information of data resource migration in the second business system is updated according to the second processing log information.
5. The method according to claim 4, characterized in that After updating the log information of data resource migration in the first business system according to the first processing log information, and updating the log information of data resource migration in the second business system according to the second processing log information, the method further includes: Generate a delay time period according to the business scenario corresponding to the data resource migration request; If no service withdrawal request is received in the service scenario within the delay period, the updated log information of the data resource migration in the first service system and the updated log information of the data resource migration in the second service system are stored in the blockchain; If a service withdrawal request is received in the service scenario within the delay period, the log information of data resource migration in the first service system is updated according to the service withdrawal request, and the log information of data resource migration in the second service system is updated.
6. The method according to claim 5, characterized in that The generating a delay time period according to the business scenario corresponding to the data resource migration request includes: According to the business scenario corresponding to the data resource migration request, a business backtracking probability of the data resource migration request is evaluated to obtain a business backtracking evaluation result; Obtaining a first historical backtracking number of the first business system, and obtaining a second historical backtracking number of the second business system; According to the first historical backtracking number and the second historical backtracking number, the probability of business processing anomalies occurring in the first business system and the second business system is evaluated to obtain a business system anomaly evaluation result; A delay time period is generated according to the business backtracking evaluation result and the business system abnormality evaluation result.
7. The method according to claim 6, characterized in that The evaluating, according to the business scenario corresponding to the data resource migration request, the business backtracking probability of the data resource migration request to obtain a business backtracking evaluation result includes: Identifying a business processing type of the data resource migration request according to a business scenario corresponding to the data resource migration request; According to the data resource migration information, the data resource migration scale corresponding to the business scenario is evaluated to obtain a business scale evaluation result; According to the business processing type and the business scale assessment result, the business backtracking probability of the data resource migration request is assessed to obtain a business backtracking assessment result.
8. A log information updating device for data resource migration, characterized in that: The device comprises: A response module, configured to respond to a data resource migration request of the first business system and obtain data resource migration information and data migration identification information of the first business system; A verification module, configured to perform information verification on the data resource migration information according to a verification rule determined by the data migration identification information; A sending module, configured to send a data migration instruction to the second business system if the information verification passes, wherein the data migration instruction is used to instruct the second business system to perform data migration interaction with the first business system; an acquisition module, configured to acquire, if it is detected that the data migration interaction is ended, first data migration process data of the first business system during the current data migration interaction, and second data migration process data of the second business system during the current data migration interaction; An updating module is used to update the log information of the data resource migration according to the first data migration process data, the second data migration process data and the data resource migration information.
9. The device according to claim 8, characterized in that The verification module is also used to query a first target rule that matches the data migration identification information from a verification rule base, wherein the verification rule base includes multiple general rules and multiple customized rules; if there is target migration identification information in the data migration identification information that does not match the multiple general rules, then generate data resource migration characteristics based on the data resource migration information and the target migration identification information, and query a second target rule that matches the data resource migration characteristics from the multiple customized rules and the multiple general rules; according to the first target rule and the second target rule, respectively perform information verification on the data resource migration information.
10. The device according to claim 8, characterized in that The device also includes: a backtracking module, which is used to obtain the processed data of the first business system and the historical log information corresponding to the first business system if the information verification fails, and to backtrack the processed data and data migration logic of the first business system according to the historical log information corresponding to the first business system; and to backtrack the data migration logic of the second business system.
11. The device according to claim 8, characterized in that The update module is also used to generate first processing log information of the data resource migration information in the first business system based on the first data migration process data; generate second processing log information of the data resource migration information in the second business system based on the second data migration process data; update the log information of the data resource migration in the first business system based on the first processing log information; and update the log information of the data resource migration in the second business system based on the second processing log information.
12. The device according to claim 11, characterized in that After updating the log information of data resource migration in the first business system according to the first processing log information, and updating the log information of data resource migration in the second business system according to the second processing log information, the updating module is further used to generate a delay time period according to the business scenario corresponding to the data resource migration request; if no business withdrawal request under the business scenario is received within the delay time period, the updated log information of data resource migration in the first business system and the updated log information of data resource migration in the second business system are stored in the blockchain; If a service withdrawal request is received in the service scenario within the delay period, the log information of data resource migration in the first service system is updated according to the service withdrawal request, and the log information of data resource migration in the second service system is updated.
13. The device according to claim 12, characterized in that The update module is also used to evaluate the business backtracking probability of the data resource migration request according to the business scenario corresponding to the data resource migration request, and obtain a business backtracking evaluation result; obtain a first historical backtracking number of the first business system, and obtain a second historical backtracking number of the second business system; based on the first historical backtracking number and the second historical backtracking number, evaluate the probability of business processing anomalies in the first business system and the second business system to obtain a business system anomaly evaluation result; generate a delay time period based on the business backtracking evaluation result and the business system anomaly evaluation result.
14. The device according to claim 13, characterized in that The updating module is further used to identify the business processing type of the data resource migration request according to the business scenario corresponding to the data resource migration request; According to the data resource migration information, the data resource migration scale corresponding to the business scenario is evaluated to obtain a business scale evaluation result; according to the business processing type and the business scale evaluation result, the business backtracking probability of the data resource migration request is evaluated to obtain a business backtracking evaluation result.
15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Data migration method and data migration system
CN106776876A
Data migration auditing track realized by block chain
CN114297174A
Data processing method and device, electronic equipment and computer readable storage medium
CN114385580A
Data processing method and device, equipment and storage medium
CN115934737A
Data migration method, device and equipment and computer readable storage medium
CN115982122A