A data processing method and related equipment
By introducing multiple verification processors and a dynamic adjustment mechanism into the data management platform, the problem of low data verification efficiency in the data management platform is solved, and efficient data verification and management between databases is achieved, ensuring data consistency and integrity.
Patent Information
- Application Number
- CN202010846234.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-20
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2040-08-20
AI Technical Summary
In existing technologies, data management platforms struggle to efficiently verify and manage large volumes and diverse types of order and transaction data, making it difficult to guarantee data consistency and integrity.
By introducing multiple verification processors into the data management platform, selecting pre-selected verification processors, generating data verification status information, instructing the processors to verify order data and transaction data, and dynamically adjusting the processor identifier and data recovery mechanism in case of failure, efficient data verification between databases can be achieved.
It enables efficient management of data across different databases, ensuring data consistency and integrity, and improving the reliability and efficiency of data processing.
Smart Images

Figure CN114077598B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a data processing method and related equipment. Background Art
[0002] With rapid economic development, people's living standards are constantly improving, and their savings are constantly growing. In this context, people are choosing to use their savings for financial management, leading to the emergence of various financial management platforms. Regardless of the financial management platform, data management is a crucial process. Data is diverse in categories and large in volume, so how to more efficiently manage data has become a hot topic today. Summary of the Invention
[0003] The embodiments of the present application provide a data processing method and related equipment, and the data management platform realizes efficient management of data by verifying data between different databases.
[0004] On the one hand, the present application discloses a data processing method applied to a data management platform, wherein the data management platform is used to manage data in a data management system, wherein the data management system is provided with multiple verification processors, including:
[0005] In response to a detected data verification trigger event, determining order data to be verified from a first database for storing order data, and determining transaction data to be verified from a second database for storing transaction data;
[0006] selecting a first preselected check handler from the plurality of check handlers and determining a machine identification of the first preselected check handler;
[0007] generating data verification status information, wherein the data verification status information records the identifier of the order data to be verified, the identifier of the transaction data to be verified, and the machine identifier of the first pre-selected verification processing machine;
[0008] The generated data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified.
[0009] On the other hand, an embodiment of the present application discloses a data processing device for managing data in a data management system, wherein the data management system is provided with multiple verification processors, and the device includes:
[0010] a determination module for determining, in response to a detected data verification trigger event, order data to be verified from a first database for storing order data, and transaction data to be verified from a second database for storing transaction data;
[0011] a selection module configured to select a first preselected verification processor from the plurality of verification processors and determine a machine identification of the first preselected verification processor;
[0012] a processing module, configured to generate data verification status information, wherein the data verification status information records an identifier of the order data to be verified, an identifier of the transaction data to be verified, and a machine identifier of the first pre-selected verification processing machine;
[0013] The generated data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified.
[0014] In one possible implementation, the data verification status information also records the verification time period of the order data to be verified and the transaction data to be verified; the data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified during the verification time period.
[0015] In a possible implementation, the processing module is further configured to:
[0016] Detect an operation status monitoring event of the first pre-selected verification processor corresponding to the machine identification of the first pre-selected verification processor; if the operation status monitoring event indicates that the first pre-selected verification processor corresponding to the machine identification of the first pre-selected verification processor has failed, update the data verification status information.
[0017] In a possible implementation, the processing module is specifically configured to:
[0018] reselecting a first preselected check handler from the plurality of check handlers and determining an updated machine identification of the first preselected check handler;
[0019] The data verification status information is updated according to the machine identification of the updated first pre-selected verification processor, so that the updated first pre-selected verification processor can verify the order data corresponding to the identification of the order data to be verified and the transaction data corresponding to the identification of the transaction data to be verified according to the updated data verification status information.
[0020] In a possible implementation, the processing module is further configured to:
[0021] During a preset period of time, the integrity of the order data in the first database and the transaction data in the second database are respectively detected; if the first database is in a data loss state, data recovery processing is performed on the first database based on the second database; if the second database is in a data loss state, data recovery processing is performed on the second database based on the first database.
[0022] In a possible implementation, the first database includes first-type order data and second-type order data; the processing module is further configured to:
[0023] In response to a detected data verification trigger event, the first type of order data and the second type of order data are obtained from the first database; a second pre-selected verification processor is selected from the multiple verification processors, and the machine identification of the second pre-selected verification processor is determined; the identification of the first type of order data, the identification of the second type of order data, and the machine identification of the second pre-selected verification processor are recorded in the data verification status information.
[0024] In one possible implementation, the data management platform records the first resource platform identifier and the second resource platform identifier, and the data management platform records the correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T; and the processing module is further configured to:
[0025] At the first time node T, a first application document is sent to the platform corresponding to the first resource platform identifier; after receiving confirmation of the first application document from the platform corresponding to the first resource platform identifier at the second time node T+b, a second application document is generated and sent to the platform corresponding to the second resource platform identifier; at a third time node T+c, the second application document is processed, where c=b+1.
[0026] In one possible implementation, the data management platform records the first resource platform identifier and the second resource platform identifier, and the data management platform records the correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T; and the processing module is further configured to:
[0027] At the first time node T, the first application document is sent to the platform corresponding to the first resource platform identifier; at the second time node T+b, confirmation of the first application document is received from the platform corresponding to the first resource platform identifier; at the third time node T+c-2, the second application document is generated; at the fourth time node T+c-1, the second application document is sent to the platform corresponding to the second resource platform identifier; at the fifth time node T+c, the second application document is processed, where c>b+1.
[0028] In one possible implementation, the data management platform is associated with multiple credit platforms; the processing module is further used to: in response to a detected withdrawal request initiated by a user, trigger a target credit platform among the multiple credit platforms to process the withdrawal request according to priority; if the target credit platform fails in the process of processing the withdrawal request, allocate a credit platform other than the target credit platform to the withdrawal request among the multiple credit platforms according to the priority.
[0029] On the other hand, an embodiment of the present application further provides a data processing device, which includes a memory and a processor: the memory is used to store a computer program; the processor runs the computer program to implement the above-mentioned data processing method.
[0030] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to perform the above-mentioned data processing method.
[0031] In another aspect, embodiments of the present application provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned data processing method.
[0032] In an embodiment of the present application, the data management platform determines the order data to be verified from a first database for storing order data and the transaction data to be verified from a second database for storing transaction data in response to a detected data verification trigger event, selects a first pre-selected verification processor from a plurality of verification processors, and determines the machine identification of the first pre-selected verification processor, and generates data verification status information. The data verification status information records the identification of the order data to be verified, the identification of the transaction data to be verified, and the machine identification of the first pre-selected verification processor. The generated data verification status information is used to instruct the first pre-selected verification processor to process the order data corresponding to the identification of the order data to be verified and the transaction data corresponding to the identification of the transaction data to be verified. Through the above embodiment, the data management platform realizes efficient management of data by verifying data between different databases. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0034] Figure 1 A schematic diagram of the architecture of a data management system provided in an embodiment of the present application;
[0035] Figure 2a A flowchart of a data processing method provided in an embodiment of the present application;
[0036] Figure 2b A schematic diagram of a bidirectional data verification process in a first database and a second database provided in an embodiment of the present application;
[0037] Figure 2c A schematic diagram of a state of a pre-selection verification processor performing data verification provided in an embodiment of the present application;
[0038] Figure 3 A flowchart of a data management platform data processing method provided in an embodiment of the present application;
[0039] Figure 4 A flowchart of another data management platform data processing method provided in an embodiment of the present application;
[0040] Figure 5 A schematic diagram of the flow of financial funds provided in an embodiment of the present application;
[0041] Figure 6A schematic diagram of another financial management fund flow provided in an embodiment of the present application;
[0042] Figure 7 A schematic diagram of a multi-credit platform working mechanism provided in an embodiment of the present application;
[0043] Figure 8 A schematic diagram of a data management device provided in an embodiment of the present application;
[0044] Figure 9 A schematic diagram of a data management device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0046] The data processing method provided in the embodiments of this application also involves the following concepts:
[0047] Cloud technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.
[0048] Cloud technology is a general term for network technologies, information technologies, integration technologies, management platform technologies, and application technologies based on the cloud computing business model. It can form a resource pool that can be used flexibly and conveniently on demand. Cloud computing technology will become a crucial support. Backend services for technical network systems, such as video websites, image websites, and more portals, require extensive computing and storage resources. With the rapid development and application of the internet industry, every item will likely have its own unique identifier, requiring transmission to backend systems for logical processing. Different levels of data will be processed separately, and data from various industries will require a strong system backend, which can only be achieved through cloud computing.
[0049] Cloud storage is a new concept that has been extended and developed from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of different types of storage devices (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide external data storage and business access functions.
[0050] Currently, storage systems utilize a storage method that creates logical volumes. When creating a logical volume, physical storage space is allocated to each logical volume. This physical storage space may consist of disks on a specific storage device or several storage devices. When a client stores data on a logical volume, it stores the data on a file system. The file system divides the data into multiple parts, each of which is an object. Objects contain not only data but also additional information such as data identifiers (IDs, IDentities). The file system writes each object to the physical storage space of the logical volume and records the storage location information for each object. Therefore, when a client requests access to data, the file system can provide access based on the storage location information for each object.
[0051] The storage system allocates physical storage space to logical volumes by pre-dividing the physical storage space into stripes based on the estimated capacity of the objects to be stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the Redundant Array of Independent Disks (RAID) groupings. A logical volume can be understood as a stripe, thereby allocating physical storage space to the logical volume.
[0052] A database, in short, can be thought of as a digital filing cabinet—a place where electronic files are stored, allowing users to add, query, update, and delete data. A database is a collection of data stored in a specific way, shared by multiple users, with minimal redundancy, and independent of applications.
[0053] A database management system (DBMS) is a computer software system designed for managing databases, typically providing basic functions such as storage, retrieval, security, and backup. DBMSs can be categorized by the database model they support, such as relational or XML (Extensible Markup Language); by the type of computer they support, such as server clusters or mobile phones; by the query language used, such as SQL (Structured Query Language) or XQuery; by performance priorities, such as maximum scale or maximum speed; or by other classification methods. Regardless of the classification method used, some DBMSs can cross categories, for example, supporting multiple query languages simultaneously.
[0054] See Figure 1 , is a schematic diagram of the architecture of a data management system according to an embodiment of the present application, such as Figure 1 As shown, the data management system includes a data management platform 101, an order system 102, and a trading system 103. The order system 102 stores a first database, and the trading system 103 stores a second database. The data management platform 101 is primarily used to verify the data in the first database of the order system 102 and the second database of the trading system 103. The data management platform 101 can also provide a visual interface so that users can view the data information in the first database of the order system 102 and the second database of the trading system 103. The first database is used to store order data, which may include first-type order data and second-type order data. The second database is used to store transaction data, which may include first-type transaction data and second-type transaction data. The data management platform 101, order system 102, and trading system 103 can be three independent devices. In other embodiments, the data management platform 101 can be a separate device and not included in the data management system.
[0055] The order system 102 and the transaction system 103 can process the order data and the transaction data respectively. Figure 1 As shown, when the order system 102 receives a transaction application, the order system 102 can add the application information in the transaction application to the first database and then store them separately, wherein the first type of order data and the second type of order data are stored separately. At the same time, the order system 102 can send a CMQ message to the CMQ (Cloud Message Queue) proxy service to read the order information of the order system 102 in sequence. The transaction system 103 can also subscribe to the CMQ message from the CMQ proxy service and add the transaction data in the second database of the transaction system 103 in sequence according to the read subscription information. In this process, the order system 102 will perform a backup batch run on the order data in the first database. This process is to perform a regular check on the order data to see if there is any data missing. If there is data missing, a supplementary order operation can be performed on the order data from the transaction application in a timely manner, and then the complete order data can be sent to the CMQ proxy service.
[0056] In one possible implementation, the data management platform 101 determines the order data to be verified from the order system 102 and the transaction data to be verified from the transaction system 103 in response to a detected data verification trigger event. After determining the data, the data management platform 101 may select a first pre-selected verification processor from a plurality of verification processors, determine the machine identifier of the first pre-selected verification processor, and generate data verification status information. The data verification status information may record the identifier of the order data to be verified, the identifier of the transaction data to be verified, and the machine identifier of the first pre-selected verification processor. The data verification status information generated here is mainly used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified. The verification here specifically verifies the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified, or verifies the order data corresponding to the identifier of the transaction data to be verified and the order data corresponding to the identifier of the order data to be verified, or it may be a two-way verification performed simultaneously.
[0057] Through the above embodiments, the data management platform can achieve efficient data management by verifying data between different databases.
[0058] See Figure 2a , Figure 2a A flowchart of a data processing method provided in an embodiment of the present application may include the following steps:
[0059] S201. In response to a detected data verification trigger event, the data management platform determines order data to be verified from a first database for storing order data, and determines transaction data to be verified from a second database for storing transaction data.
[0060] In one possible implementation, the data management platform detects whether there is a data verification trigger event. If a data verification trigger event is detected, the data management platform responds to the data verification trigger event, determines the order data to be verified from the first database, and determines the transaction data to be verified from the second database.
[0061] Among them, the data verification trigger event can specifically be the data management platform detecting a user's request for data verification, or it can be a data verification request automatically triggered by the data management platform (such as the data management platform is provided with a timer to periodically initiate a data verification request), or it can be a data verification request from any database in the first database (corresponding to the order system 102) or the second database (corresponding to the transaction system 103). The first database is mainly used to store order data, and the number of order data is multiple. At the same time, the order data can be divided into the first type of order data and the second type of order data. In other implementations, it can also include the third type of order data, etc. The second database is mainly used to store transaction data, and the number of transaction data is also multiple. The transaction data can also be divided into the first type of transaction data and the second type of transaction data. In other implementations, it can also include the third type of transaction data, etc.
[0062] Among them, the order data corresponding to the first database is shown in Table 1, which may include the type of specific fund product corresponding to the order data (fund product A and fund product B), the order type (transfer in or transfer out), the amount corresponding to the specific fund product (such as 1000 in the table), the time when the order data was generated, and the corresponding user ID. Among them, user 1 and user 2 can be the same user or different users. Among them, Table 1 can show that the same user transfers out from fund product A to buy fund product B; it can also be transferred from fund product A to buy different fund products B and fund product C; it can also be that the user simply redeems fund product A. In this case, the user mainly wants to redeem the fund product and withdraw cash to a bank card.
[0063] Table 1
[0064] Fund Products Order Type Amount Order transaction time User ID A Transfer out 1000 2020-07-01 10:00:00 User 1 B Transfer-in 1000 2020-07-01 10:00:00 User 2
[0065] Among them, the transaction data in the second database is shown in Table 2, which may include the specific fund product type corresponding to the transaction data (fund product A and fund product B), the transaction type (subtraction or addition), the amount corresponding to different fund products, the time when the transaction data was generated, the corresponding data before the transaction (shares before change), the corresponding data after the transaction (shares after change), and the corresponding user ID. Similarly, user 1 and user 2 can be the same user or different users.
[0066] Table 2
[0067]
[0068] S202: The data management platform selects a first pre-selected verification processor from a plurality of verification processors, and determines a machine identifier of the first pre-selected verification processor.
[0069] Among them, a plurality of verification processors are provided in the data system, and these verification processors can be virtual devices on any device in the first database, the second database or the data management platform, or can be physical devices independent of the first database, the second database and the data management platform. When the data management platform detects a data verification trigger event, a first pre-selected verification processor can be selected from the plurality of verification processors. The selection criteria of the first pre-selected verification processor can be determined according to the load situation, and the first two with the lowest load can be selected, so that two first pre-selected verification processors will be determined. When the first pre-selected verification processor is determined, the machine identification of the first pre-selected verification processor will be obtained so that the data management platform can quickly locate the corresponding first pre-selected verification processor according to the machine identification of the first pre-selected verification processor.
[0070] There are multiple first pre-selected verification processors, but the actual data verification process is performed by a target pre-selected verification processor among the multiple first pre-selected verification processors. A competitive selection mechanism can be used to determine which of the multiple first pre-selected verification processors will perform the data verification. The competitive selection mechanism can be based on the order in which the multiple first pre-selected verification processors apply for processing, or it can be based on the memory resources of the multiple first pre-selected verification processors, where the first pre-selected verification processor with the most remaining memory resources is selected as the target pre-selected verification processor.
[0071] S203. The data management platform generates data verification status information, which records the identifier of the order data to be verified, the identifier of the transaction data to be verified, and the machine identifier of the first pre-selected verification processor. The generated data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified.
[0072] In one possible implementation, the data management platform generates data verification status information based on a data verification trigger event and the determined order data and transaction data. The data verification status information may record the identifier of the order data to be verified, the identifier of the transaction data to be verified, and the machine identifier of the first pre-selected verification processor. In other embodiments, the data verification status information may also include the verification type (i.e., whether verification is performed on different types of order data in the first database, or verification between transaction data in the first database and transaction data in the second database). The generated data verification status information is mainly used to instruct the target pre-selected verification processor of the first pre-selected verification processor to process the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified. There may be multiple first pre-selected verification processors here. When the first pre-selected verification processor processes the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified, the target pre-selected verification processor among the multiple first pre-selected verification processors performs the processing.
[0073] Since the order data in the first database and the transaction data in the second database include multiple types of specific data, if the data verification status information generated by the data management platform obtains and records all of the specific data, data loss or garbled data is likely to occur. Therefore, the data verification status information can record the identifiers of the order data and transaction data to solve this problem. When verifying the data, the data management platform then obtains the specific data information in the order data and transaction data based on the corresponding identifiers, and triggers the first pre-selected verification processor for verification based on the machine identifier of the first pre-selected verification processor.
[0074] Among them, the data verification status information can be exemplified as shown in Table 3. Table 3 records the identifier of the order data in the first database, the identifier of the transaction data in the second database, and the machine identifier of the first pre-selected verification processor, and also records the start time and end time of the verification data. Table 3 also records the verification status. The table shows the status that has not yet been verified, so it is a state to be assigned. Correspondingly, it can also include the initial state, verification state, and verification completion state. For example, there are two machine identifiers corresponding to the first pre-selected verification processor in Table 3, but in the actual processing process, the first pre-selected verification processor corresponding to one of the machine identifiers is selected for processing, such as the machine identifiers M1 and M2 of the first pre-selected verification processor. However, in the actual processing process, the first pre-selected verification processor corresponding to M1 may be selected to perform data processing.
[0075] Table 3
[0076]
[0077] Furthermore, the verification involved in this application is the verification between the order data in the first database and the transaction data in the second database, as well as the verification between the first type of order data and the second type of order data in the first database, such as Figure 2b As shown, this is a two-way verification of order data and transaction data, primarily to ensure data consistency. In practice, this two-way verification method can be applied to financial products, primarily verifying data between the order system and the transaction system to ensure that the financial platform can manage data in real time. Figure 2b The first type of transaction data and the second type of transaction data in the second database do not need to be bidirectionally verified. If verification is required, the verification process is the same as the verification process for data between the first database and the second database.
[0078] In one possible implementation, the first database may also include first-type order data and second-type order data. When the data management platform responds to a detected data verification trigger event, it retrieves the first-type order data and second-type order data from the first database, selects a second preselected verification processor from a plurality of verification processors, and determines the machine identifier of the second preselected verification processor. The identifier of the first-type order data, the identifier of the second-type order data, and the machine identifier of the second preselected verification processor are then recorded in the data verification status information, and steps similar to step S203 are performed. This method is a specific explanation of verifying the first-type order data and the second-type order data in the first database.
[0079] In one possible implementation, the data verification status information may also record the verification time period for the order data to be verified and the transaction data to be verified. The data verification status information is then used to instruct the first pre-selected verification processor to perform verification processing on the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified during the verification time period. For example, if the verification time period is set to 2020-07-01 10:00:00 to 2020-07-01 10:10:00, then the data verification status information is correspondingly used to instruct the first pre-selected verification processor to perform verification processing on the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified from 2020-07-01 10:00:00 to 2020-07-01 10:10:00. The interval of the time period is not limited and can be constrained based on the amount of data and processing efficiency. It can be a granularity of 10 minutes, 20 minutes, or the like.
[0080] In one possible implementation, the data management platform periodically or irregularly detects an operational status monitoring event for a first pre-selected verification processor performing data verification. The first pre-selected verification processor refers to the processor currently performing data verification. If the operational status monitoring event indicates that the first pre-selected verification processor corresponding to the machine identifier of the first pre-selected verification processor has experienced a failure, the data verification status information is updated. The failure may be an error when the first pre-selected verification processor extracts data, or garbled characters may be generated by the first pre-selected verification processor itself. In this case, the data management platform updates the data verification status information, reselects the first pre-selected verification processor for the verification task, determines the updated machine identifier of the first pre-selected verification processor, and updates the data verification status information based on the updated machine identifier of the first pre-selected verification processor. This allows the updated first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified based on the updated data verification status information.
[0081] Furthermore, in the process of the first pre-selected verification processor processing the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified, the state of the first pre-selected verification processor may be as follows: Figure 2c As shown, the verification process includes a waiting state, an initial state, a verification state, and a verification completion state. Among them, the waiting state corresponds to the data verification state information, indicating that it has not been determined which first pre-verification processor will process the data. The initial state is that according to the competitive job mechanism, it has been determined which specific first pre-verification processor among multiple first pre-verification processors will process the data. The verification state indicates that the first pre-verification processor is already verifying the data, and the verification completion state indicates that the first pre-verification processor has completed the verification of the data. It should be noted that the verification state will return to the waiting state, which corresponds to the situation where the first pre-selected verification processor corresponding to the machine identifier of the first pre-selected verification processor indicated by the above-mentioned operation status monitoring event fails. It will not be described in detail here.
[0082] In one possible implementation, the data management platform can test the integrity of the order data in the first database and the transaction data in the second database within a preset period, primarily to detect whether there is data loss. If data is lost in either of the first and second databases, the data management platform can use the data in the other database to recover the lost data. If the first database is in a data loss state, the lost data in the first database is recovered based on the data in the second database. If the second database is in a data loss state, the lost data in the second database is recovered based on the data in the first database. Specifically, in a financial management system, if the financial management platform discovers that order data is damaged or lost, the financial management platform can recover the order data based on the asset data.
[0083] In one possible implementation, the data management platform responds to a withdrawal request initiated by a detected user, and triggers a target credit platform among multiple credit platforms according to priority to process the withdrawal request. If the target credit platform fails in the process of processing the withdrawal request, then a credit platform other than the target credit platform is assigned to the withdrawal request according to priority among the multiple credit platforms. Among them, the priority can be divided according to the credibility of the credit platform, or according to the degree of association between the credit platform and the data management platform. Generally speaking, the data management platform has an initial default target credit platform. If a failure occurs in the process of processing the withdrawal request, it will mainly cause the user to be unable to redeem the account quickly. Therefore, the data management platform can be associated with multiple credit platforms. When the default target credit platform or the target credit platform with the highest priority fails, the credit platform with a priority of 2 will be selected according to the priority sorting to process the user's withdrawal request. In this way, it is ensured that the redemption function can be realized for the user in a timely manner.
[0084] In an embodiment of the present application, a data management platform determines, in response to a detected data verification trigger event, order data to be verified from a first database for storing order data, and transaction data to be verified from a second database for storing transaction data, selects a first preselected verification processor from a plurality of verification processors, and determines the machine identifier of the first preselected verification processor, and generates data verification status information. The data verification status information records the identifier of the order data to be verified, the identifier of the transaction data to be verified, and the machine identifier of the first preselected verification processor. The generated data verification status information is used to instruct the first preselected verification processor to perform verification processing on the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified. Through the above embodiment, the data management platform realizes efficient management of data by verifying data between different databases.
[0085] See Figure 3, Figure 3 A flow chart of a data processing method for a data management platform provided in an embodiment of the present application, wherein the data management platform is used to initiate application requests for resources of a platform corresponding to a first resource platform identifier and a platform corresponding to a second resource platform identifier, etc. The platform corresponding to the first resource platform identifier is used to process a first virtual resource (such as an equity fund product), and the platform corresponding to the second resource platform identifier is used to process a second virtual resource (such as a money fund product).
[0086] The data management platform records the first resource platform identifier and the second resource platform identifier. The data management platform also records the correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T. The method may be performed before the data verification trigger event is detected by the data management platform, during the data verification process of the data management platform, or after the data verification process of the data management platform. The method may include the following steps:
[0087] S301: The data management platform sends a first application document to the platform corresponding to the first resource platform identifier at a first time node T.
[0088] Among them, the first time node T can be understood as any working day. If it is for financial products, T can refer to the fund trading day. The fund trading day is the opening trading day of the stock exchange (except for the day when the manager announces the suspension of trading). Investors can submit applications during trading hours ("trading hours" refers to the period between 9:30 and 15:00 on the opening day, the same below), and the application is valid on the same day. The entrustment system after 15:00 and before 9:30 on the next trading day will accept it in a pre-acceptance status, and it will be converted to acceptance at the start of the next trading day. For example, if the data management platform sends the first application document to the platform corresponding to the first resource platform identifier after 15:00 of the first time node T, it will be converted to acceptance at the start of the next trading day. Among them, the platform corresponding to the first resource platform identifier can be an equity fund platform, and the corresponding wealth management product can be an equity fund (equity funds refer to fund products issued by fund companies that are mainly used to invest in equity assets such as stocks and stock funds. When a user applies to redeem the equity fund shares held by him on the wealth management platform, the fund company will confirm the specific redemption amount to the user on the redemption confirmation date, and pay the redemption amount to the wealth management platform on the redemption payment date, and then the wealth management platform pays the user).
[0089] The first application document refers to the data management platform's handling of the first virtual resource (e.g., a fund product) included in the platform corresponding to the first resource platform identifier. In the field of wealth management products, the first application document may be a request to redeem an equity fund product initiated on an equity fund platform, resulting in the first application document generated thereby. This application document may include transaction data stored in the first database and transaction data in the second database.
[0090] S302: The platform corresponding to the first resource platform identifier processes the first application document at the first time node T.
[0091] After receiving the first file, the platform corresponding to the first resource platform identifier processes the first application document at a first time point T, specifically by examining the first application document and confirming the type of application. For example, in the field of wealth management products, an equity fund platform may confirm an application for redemption of an equity fund product and examine the specific units and amounts of the equity fund product being redeemed.
[0092] S303: The data management platform receives a confirmation file of the first application file sent by the platform corresponding to the first resource platform identifier at the second time node T+b, and processes the confirmation file of the first application file.
[0093] The second time point T+b refers to the time when the confirmation document for the first application is received. The second time point T+b is determined based on the first time point T and must not be earlier than the first time point T. In other words, b is greater than or equal to 0. In the field of wealth management products, the second time point T+b is generally before 15:00 of T+b. In this case, b is not 0.
[0094] At the second time point T+b, the data management platform receives the confirmation document of the first application document from the platform corresponding to the first resource platform identifier and processes the confirmation document of the first application document. In other words, the data management platform receives the processing result of the first application document from the platform corresponding to the first resource platform identifier, which may be either approved or rejected. After receiving the result, if the application is rejected, the user can reapply; if the application is approved, the data management platform can proceed to the next step.
[0095] S304. The data management platform generates a second application document at the second time node T+b.
[0096] In a possible implementation, after receiving and processing the confirmation document of the first application document sent by the platform corresponding to the first resource platform identifier, the data management platform will issue a new application document at the second time node T+b. This application document is the application document corresponding to the platform corresponding to the second resource platform identifier. For example, the platform corresponding to the second resource platform identifier is other fund platforms, and the corresponding second virtual resource can be fund currency. Figure 3 In the illustrated method, the second application document is generated before 3:00 PM on the second time point T+b. This allows the platform to purchase other financial products (such as money market funds) for users before 3:00 PM on the redemption date of equity fund products (T+b) and submit the user's subscription application to other financial institutions for processing on T+c-1T (T+b).
[0097] S305: The data management platform sends a second application document to the platform corresponding to the second resource platform identifier at the second time node T+b.
[0098] exist Figure 3 In the method shown, the time when the data management platform sends the second application document to the platform corresponding to the second resource platform identifier is after 15:00 of the second time node T+b.
[0099] S306. The platform corresponding to the second resource platform identifier processes the second application document at the second time node T+b.
[0100] After receiving the second application document at the second time point T+b, the platform corresponding to the second resource platform identifier processes the second application document. In the field of wealth management products, processing the second application document can be the confirmation of the user's application to purchase a wealth management product through the wealth management platform to other wealth management institutions, including determining the specific application type and the product shares applied for. Therefore, the corresponding other wealth management institutions need to record the application document and perform other operations. Correspondingly, the time for processing the second application document is also after 3:00 PM on the second time point T+b.
[0101] S307. The data management platform receives the verification document of the first application document sent by the platform corresponding to the first resource platform identifier at the third time node T+c, and processes the verification document of the first application document.
[0102] The third time point T+c refers to the time when the verification document of the first application document is received. The third time point T+c is later than the second time point T+b. Figure 3 In the method shown, c=b+1.
[0103] In one possible implementation, the data management platform receives a verification document for the first application document sent by the platform corresponding to the first resource platform identifier at the third time point T+c, and processes the verification document for the first application document. The verification document for the first application document may be a verification document for the assets involved in the first application document. In the field of wealth management products, the verification document may be the specific redemption amount for the redemption application returned by the equity fund platform and received by the wealth management platform.
[0104] S308. The data management platform receives the verification document of the second application document sent by the platform corresponding to the second resource platform identifier at the third time node T+c, and processes the verification document of the second application document.
[0105] In one possible implementation, at the third time point T+c, the data management platform also receives a verification document for the second application document from the platform corresponding to the second resource platform identifier. This verification document is specific to the second application document. The verification document for the second application document is also processed to determine the data corresponding to the second application document. In the field of wealth management products, this involves determining the assets spent on purchasing other wealth management products.
[0106] The above embodiments can be illustrated using an example. For example, in a scenario where a wealth management platform redeems an equity product from an equity fund platform and purchases a new wealth management product from another wealth management platform, as shown in Table 1, funds are transferred out of fund product A and then into fund product B. Assuming that the redemption application date to the equity fund platform is Tuesday (T), and the redemption application confirmation date is Wednesday (T+b, i.e., b=1), the wealth management platform will send the redemption application document to the equity fund platform on Tuesday. Upon receiving the redemption application document, the equity fund platform will verify and process it, and send the generated confirmation document of the processed redemption application document to the wealth management platform before 3:00 PM on Wednesday. After receiving the confirmation document, the wealth management platform will generate an application document to purchase the wealth management product from the other wealth management platform. After 3:00 PM on Wednesday, the application document will be sent to the other wealth management platform. The other wealth management platform will verify and record the application document. After receiving the verification document of the redemption application document sent by the equity fund platform on Thursday, the wealth management platform will confirm it, mainly to confirm whether the redemption amount is correct. At the same time, the platform also receives verification documents from other wealth management platforms regarding purchase applications, primarily to confirm whether the amounts of other wealth management products purchased are correct. In this case, since the redemption period for equity fund products is T+C, meaning Thursday, the platform, upon receiving the verification documents and confirming the amounts, will use the redemption proceeds from the equity fund platform to pay for the products purchased from the other platforms.
[0107] The functions of the data management platform may also include the description of the data management platform in the aforementioned embodiments.
[0108] In an embodiment of the present application, the data management platform sends a first application document to the platform corresponding to the first resource platform identifier at a first time node T, and after receiving confirmation of the first application document from the platform corresponding to the first resource platform identifier at a second time node T+b, generates a second application document, sends the second application document to the platform corresponding to the second resource platform identifier, and processes the second application document at a third time node T+c. Through the above embodiment, for the processing of equity products when the third time node T+c = the second time node T+b+1, the wealth management platform can buy other wealth management products (such as money market funds) for the user before 15:00 on T+c-1 for the equity products, and report the user's subscription application to other wealth management institutions for processing on T+c-1 (i.e., T+b day).
[0109] See Figure 4 , Figure 4 A flow chart of a data processing method for another data management platform provided in an embodiment of the present application. Similarly, the data management platform is used to initiate application requests to resources of the platform corresponding to the first resource platform identifier and the platform corresponding to the second resource platform identifier, etc. The platform corresponding to the first resource platform identifier is used to process the first virtual resource (such as an equity fund product), and the platform corresponding to the second resource platform identifier is used to process the second virtual resource (such as a money fund product).
[0110] The data management platform records the first resource platform identifier and the second resource platform identifier. The data management platform also records the correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T. The functions of the data management platform include the description of the data management platform in the aforementioned embodiments, and also include descriptions of the following steps. The method may include the following steps:
[0111] S401: The data management platform sends a first application document to the platform corresponding to the first resource platform identifier at a first time node T.
[0112] S402: The platform corresponding to the first resource platform identifier processes the first application document at the first time node T.
[0113] S403: The data management platform receives a confirmation file of the first application file sent by the platform corresponding to the first resource platform identifier at the second time node T+b, and processes the confirmation file of the first application file.
[0114] Among them, steps S401 to S403 are the same as steps S301 to S303, and will not be elaborated here one by one.
[0115] S404. The data management platform generates a second application document at a third time node T+b-2.
[0116] Specifically, in Figure 4 In the illustrated method, the data management platform generates the second application document after 15:00 on the third time point T+b-2. Similarly, this allows users to quickly redeem their funds to their bank cards using the T+0 quick redemption function for the product corresponding to the platform identified by the second resource platform identifier, allowing them to redeem their funds 2 days earlier than usual.
[0117] S405. The data management platform sends the second application document to the platform corresponding to the second resource platform identifier at the fourth time node T+b-1.
[0118] Since the system accepts orders placed after 3:00 PM and before 9:30 AM on the next trading day as pre-acceptance, and then transitions to acceptance at the start of the next trading day, the data management platform generates the second application document after 3:00 PM on the third time point T+b-2 and sends it to the platform corresponding to the second resource platform identifier at the fourth time point T+b-1.
[0119] S406. The platform corresponding to the second resource platform identifier processes the second application document at a fourth time point T+b-1.
[0120] After receiving the second application document at the fourth time point T+b-1, the platform corresponding to the second resource platform identifier performs corresponding processing on the application document, including recording the data of the corresponding application document in the second application document.
[0121] S407. The data management platform receives the verification document of the first application document sent by the platform corresponding to the first resource platform identifier at the fifth time node T+c, and processes the verification document of the first application document.
[0122] The fifth time point T+c specifically refers to the time when the verification document of the first application document is received. The fifth time point T+c is later than the second time point T+b. Figure 4 In the method shown, c>b+1.
[0123] In one possible implementation, at the fifth time point T+c, the data management platform receives a verification document for the first application document from the platform corresponding to the first resource platform identifier and processes the verification document for the first application document. Specifically, similar to step S307, in the field of wealth management products, this verification document may be the specific redemption amount for the redemption application returned by the equity fund platform and received by the wealth management platform.
[0124] S408. The data management platform receives the verification document of the second application document sent by the platform corresponding to the second resource platform identifier at the fifth time node T+c, and processes the verification document of the second application document.
[0125] In one possible implementation, at the fifth time point T+c, the data management platform also receives a verification document for the second application document from the platform corresponding to the second resource platform identifier. This verification document is specific to the second application document. The verification document for the second application document is also processed to determine the data corresponding to the second application document. In the field of wealth management products, this involves determining the assets spent on purchasing other wealth management products.
[0126] The above embodiments can be illustrated using an example. For example, in a scenario where a wealth management platform redeems an equity fund product from an equity fund platform and then purchases a new wealth management product from another wealth management platform, as shown in Table 1, funds are transferred out of fund product A and then into fund product B. Assuming that the redemption application date to the equity fund platform is Monday (T), the redemption application confirmation date is Tuesday (T+b, i.e., b=1), and the redemption payment date is Friday (T+c, where c>b+1), the wealth management platform will send the redemption application document to the equity fund platform on Monday. Upon receiving the redemption application document, the equity fund platform will verify and process it, and send a confirmation document of the processed redemption application document to the wealth management platform before 3:00 PM on Tuesday. After receiving the confirmation document, the wealth management platform will generate an application document for purchasing the wealth management product of the other wealth management platform after 3:00 PM on Wednesday, and send the application document for purchasing the wealth management product of the other wealth management platform after 3:00 PM on Thursday to the other wealth management platform. The other wealth management platform will verify and record the application document. After receiving the verification document of the redemption application from the equity fund platform on Friday, the wealth management platform will confirm it, primarily to confirm the correct redemption amount. Simultaneously, it will also receive verification documents of purchase application documents from other wealth management platforms, primarily to confirm whether the amounts of other wealth management products purchased are incorrect. In this application, since the redemption time for equity fund products is T+c, which is Friday, the wealth management platform will use the redemption funds received from the equity fund platform to pay for the wealth management products purchased from other wealth management platforms after receiving the verification documents of the purchase application documents from other wealth management platforms and confirming the amounts.
[0127] It is worth noting that for financial products, it is possible that the redemption application initiated by the user is submitted on a non-working day. In this case, the processing flow and profit calculation will need to wait until the working day to be processed and calculated accordingly.
[0128] In an embodiment of the present application, the data management platform sends a first application document to the platform corresponding to the first resource platform identifier at a first time node T, receives a confirmation document of the first application document from the platform corresponding to the first resource platform identifier at a second time node T+b, generates a second application document at a third time node T+c-2, sends the second application document to the platform corresponding to the second resource platform identifier at a fourth time node T+c-1, and processes the second application document at a fifth time node T+c. Through this embodiment, the financial platform can buy other financial products (such as money market funds) for users after 15:00 on the redemption settlement date (fifth time node) -2 of the equity product, so that users can choose to quickly redeem from the money market fund to the bank card earlier, thereby maximizing the user experience.
[0129] See Figure 5 , Figure 5 This is a schematic diagram of the flow of financial funds provided in the embodiment of the present application. This diagram is an exemplary description of how the corresponding credit banks and funds flow during the redemption and repurchase of financial products on the financial platform. Figure 5 As shown, on the T+c day, the wealth management platform first verifies the redemption settlement amount with the redemption settlement verification document provided by the equity fund company (upper party), and after the verification is passed, it processes the redemption payment redeemed by the equity fund company (upper party); then it verifies its subscription payment with the subscription settlement verification document provided by other institutions (downstream parties), and after successful verification, it pays the subscription payment to other institutions (downstream parties).
[0130] Combine Figure 4 In the embodiment, after the financial management platform buys other financial products for users at 15:00 on T+c-2T, such as money market funds, users can use the T+0 quick redemption function of money market funds to quickly redeem to bank cards at any time, so that users can redeem to their accounts 2T earlier than usual. At this time, the flow of financial management funds is as follows: Figure 6 As shown, it is a schematic diagram of another financial management fund flow provided in an embodiment of the present application. Figure 6 The multiple credit banks associated with the wealth management platform shown in the figure can be specifically as follows Figure 7As shown, the credit platforms in different places correspond to different front-end machines, such as the front-end machines including Shanghai front-end machine, Shenzhen front-end machine, Beijing front-end machine, etc., and the front-end machines are all associated with the financial management platform. Various fund companies use the front-end machine interface to contact various credit banks (SPD Bank, Everbright Bank, etc.) for credit requests and receive feedback on the requests. In a possible embodiment, the data management platform responds to the withdrawal request initiated by the detected user, and triggers the target credit platform among the multiple credit platforms according to the priority to process the withdrawal request. If the target credit platform fails in the process of processing the withdrawal request, the withdrawal request is allocated to a credit platform other than the target credit platform among the multiple credit platforms according to the priority. Among them, the priority can be divided according to the credibility of the credit platform, and can also be divided according to the correlation between the credit platform and the data management platform. Generally speaking, the data management platform has a default target credit platform. Failures during the withdrawal process can prevent users from quickly redeeming their funds. Therefore, the data management platform links multiple credit platforms to the wealth management platform. When the default target credit platform, or the highest-priority target credit platform, fails, the credit platform with priority 2 will be selected based on the priority ranking to process the user's withdrawal request. This ensures timely redemption for users.
[0131] See Figure 8 , Figure 8 This is a schematic diagram of a data processing device provided in an embodiment of the present application. The data processing device corresponds to the data management platform described above. The data processing device includes a determination module 801, a selection module 802, and a processing module 803, wherein:
[0132] a determination module 801 for determining, in response to a detected data verification trigger event, order data to be verified from a first database for storing order data, and transaction data to be verified from a second database for storing transaction data;
[0133] A selection module 802 is configured to select a first preselected verification processor from the plurality of verification processors and determine a machine identifier of the first preselected verification processor;
[0134] Processing module 803, configured to generate data verification status information, wherein the data verification status information records the identifier of the order data to be verified, the identifier of the transaction data to be verified, and the machine identifier of the first pre-selected verification processing machine;
[0135] The generated data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified.
[0136] In one possible implementation, the data verification status information also records the verification time period of the order data to be verified and the transaction data to be verified; the data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified during the verification time period.
[0137] In a possible implementation, the processing module 803 is further configured to:
[0138] Detect an operation status monitoring event of the first pre-selected verification processor corresponding to the machine identification of the first pre-selected verification processor; if the operation status monitoring event indicates that the first pre-selected verification processor corresponding to the machine identification of the first pre-selected verification processor has failed, update the data verification status information.
[0139] In a possible implementation, when the processing module 803 updates the data verification status information, it is specifically configured to:
[0140] Reselect a first preselected verification processor from the multiple verification processors and determine the machine identification of the updated first preselected verification processor; update the data verification status information according to the updated machine identification of the first preselected verification processor, so that the updated first preselected verification processor can verify the order data corresponding to the identification of the order data to be verified and the transaction data corresponding to the identification of the transaction data to be verified according to the updated data verification status information.
[0141] In a possible implementation, the processing module 803 is further configured to:
[0142] During a preset period of time, the integrity of the order data in the first database and the transaction data in the second database are respectively detected; if the first database is in a data loss state, data recovery processing is performed on the first database based on the second database; if the second database is in a data loss state, data recovery processing is performed on the second database based on the first database.
[0143] In a possible implementation, the first database includes first-type order data and second-type order data; the processing module 803 is further configured to:
[0144] In response to a detected data verification trigger event, the first type of order data and the second type of order data are obtained from the first database; a second pre-selected verification processor is selected from the multiple verification processors, and the machine identification of the second pre-selected verification processor is determined; the identification of the first type of order data, the identification of the second type of order data, and the machine identification of the second pre-selected verification processor are recorded in the data verification status information.
[0145] In one possible implementation, the data management platform records the first resource platform identifier and the second resource platform identifier, and further records the correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T; the processing module 803 is further configured to:
[0146] At the first time node T, a first application document is sent to the platform corresponding to the first resource platform identifier; after receiving confirmation of the first application document from the platform corresponding to the first resource platform identifier at the second time node T+b, a second application document is generated and sent to the platform corresponding to the second resource platform identifier; at a third time node T+c, the second application document is processed, where c=b+1.
[0147] In one possible implementation, the data management platform records the first resource platform identifier and the second resource platform identifier, and further records the correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T; the processing module 803 is further configured to:
[0148] Sending a first application document to the platform corresponding to the first resource platform identifier at the first time point T; receiving confirmation of the first application document from the platform corresponding to the first resource platform identifier at a second time point T+b; and generating a second application document at a third time point T+c-2;
[0149] At a fourth time node T+c-1, the second application document is sent to the platform corresponding to the second resource platform identifier; at a fifth time node T+c, the second application document is processed, where c>b+1.
[0150] In one possible implementation, the data management platform is associated with multiple credit platforms; the processing module 803 is further used to: in response to a detected withdrawal request initiated by a user, trigger a target credit platform among the multiple credit platforms to process the withdrawal request according to priority; if the target credit platform fails in the process of processing the withdrawal request, then allocate a credit platform other than the target credit platform to the withdrawal request among the multiple credit platforms according to the priority.
[0151] See Figure 9 , Figure 9 A structural schematic diagram of a data processing device 9 provided in an embodiment of the present application is shown, wherein the data processing device 90 includes at least a processor 901 and a memory 902. The processor 901 and the memory 902 may be connected via a bus or other means. The memory 902 may include a computer-readable storage medium, the memory 902 is used to store a computer program, the computer program includes computer instructions, and the processor 901 is used to execute the computer instructions stored in the memory 902. The processor 901 (or CPU (Central Processing Unit)) is the computing core and control core of the data processing device 90, which is suitable for implementing one or more computer instructions, and is specifically suitable for loading and executing one or more computer instructions to implement the corresponding method flow or corresponding function.
[0152] The embodiment of the present application also provides a computer-readable storage medium (Memory), which is a memory device in the data processing device 90 for storing programs and data. It can be understood that the memory 902 here can include both the built-in storage medium in the data processing device 90 and, of course, the extended storage medium supported by the data processing device 90. The computer-readable storage medium provides a storage space that stores the operating system of the data processing device 90. In addition, one or more computer instructions suitable for being loaded and executed by the processor 901 are also stored in the storage space. These computer instructions can be one or more computer programs (including program codes). It should be noted that the memory 902 here can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory; optionally, it can also be at least one computer-readable storage medium located away from the aforementioned processor 901.
[0153] In one implementation, the data processing device 90 may be Figure 1 The data management platform 101 in the data management system shown in FIG. 1 ; the memory 902 stores a first computer instruction; the processor 901 loads and executes the first computer instruction stored in the memory 902 to implement Figure 2a Corresponding steps in the method embodiment shown; in a specific implementation, the first computer instruction in the memory 902 is loaded by the processor 901 and executes the following steps:
[0154] In response to a detected data verification trigger event, order data to be verified is determined from a first database for storing order data, and transaction data to be verified is determined from a second database for storing transaction data; a first preselected verification processor is selected from the multiple verification processors, and the machine identification of the first preselected verification processor is determined; data verification status information is generated, and the data verification status information records the identification of the order data to be verified, the identification of the transaction data to be verified, and the machine identification of the first preselected verification processor; wherein the generated data verification status information is used to instruct the first preselected verification processor to verify the order data corresponding to the identification of the order data to be verified and the transaction data corresponding to the identification of the transaction data to be verified.
[0155] In one possible implementation, the data verification status information also records the verification time period of the order data to be verified and the transaction data to be verified; the data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified during the verification time period.
[0156] In one possible implementation, the processor 901 is further used to: detect an operation status monitoring event of the first pre-selected verification processor corresponding to the machine identifier of the first pre-selected verification processor; if the operation status monitoring event indicates that the first pre-selected verification processor corresponding to the machine identifier of the first pre-selected verification processor has a fault, then update the data verification status information.
[0157] In one possible implementation, when the processor 901 updates the data verification status information, it is specifically used to: reselect a first pre-selected verification processor from the multiple verification processors, and determine the machine identification of the updated first pre-selected verification processor; update the data verification status information according to the machine identification of the updated first pre-selected verification processor, so that the updated first pre-selected verification processor can verify the order data corresponding to the identification of the order data to be verified and the transaction data corresponding to the identification of the transaction data to be verified according to the updated data verification status information.
[0158] In one possible implementation, the processor 901 is further used to: within a preset period of time, respectively detect the integrity of the order data in the first database and the transaction data in the second database; if the first database is in a data loss state, perform data recovery processing on the first database based on the second database; if the second database is in a data loss state, perform data recovery processing on the second database based on the first database.
[0159] In a possible implementation, the first database includes first-type order data and second-type order data; the processor 901 is further configured to:
[0160] In response to a detected data verification trigger event, the first type of order data and the second type of order data are obtained from the first database; a second pre-selected verification processor is selected from the multiple verification processors, and the machine identification of the second pre-selected verification processor is determined; the identification of the first type of order data, the identification of the second type of order data, and the machine identification of the second pre-selected verification processor are recorded in the data verification status information.
[0161] In one possible implementation, the data management platform records the first resource platform identifier and the second resource platform identifier, and the data management platform further records a correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T; the processor 901 is further configured to:
[0162] At the first time node T, a first application document is sent to the platform corresponding to the first resource platform identifier; after receiving confirmation of the first application document from the platform corresponding to the first resource platform identifier at the second time node T+b, a second application document is generated and sent to the platform corresponding to the second resource platform identifier; at a third time node T+c, the second application document is processed, where c=b+1.
[0163] In one possible implementation, the data management platform records the first resource platform identifier and the second resource platform identifier, and the data management platform further records a correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T; the processor 901 is further configured to:
[0164] At the first time node T, the first application document is sent to the platform corresponding to the first resource platform identifier; at the second time node T+b, confirmation of the first application document is received from the platform corresponding to the first resource platform identifier; at the third time node T+c-2, the second application document is generated; at the fourth time node T+c-1, the second application document is sent to the platform corresponding to the second resource platform identifier; at the fifth time node T+c, the second application document is processed, where c>b+1.
[0165] In one possible implementation, the data management platform is associated with multiple credit platforms; the processor 901 is further used to: in response to a detected withdrawal request initiated by a user, trigger a target credit platform among the multiple credit platforms to process the withdrawal request according to priority; if the target credit platform fails in the process of processing the withdrawal request, then allocate a credit platform other than the target credit platform to the withdrawal request among the multiple credit platforms according to the priority.
[0166] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the data processing methods provided in the various optional embodiments described above.
[0167] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0168] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules described above is merely a logical functional division. In actual implementation, other division methods may be used. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not implemented.
[0169] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A data processing method, applied to a data management platform, characterized in that: The data management platform is used to manage data in the data management system. The data management system is provided with multiple verification processors, and the verification processors are used to perform data verification. The data management platform records the first resource platform identifier and the second resource platform identifier. The data management platform records the correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T. The method includes: In response to a detected data verification trigger event, determining order data to be verified from a first database for storing order data, and determining transaction data to be verified from a second database for storing transaction data; selecting a first preselected check handler from the plurality of check handlers based on load information of the plurality of check handlers, and determining a machine identifier of the first preselected check handler; Generating data verification status information, the data verification status information recording an identifier of the order data to be verified, an identifier of the transaction data to be verified, and a machine identifier of the first pre-selected verification processor; wherein the generated data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified; if data attributes of some data items in the order data and the transaction data are different, the verification includes verifying the data items in the order data and the transaction data that have different data attributes; Sending a first application document to the platform corresponding to the first resource platform identifier at the first time point T; and receiving confirmation of the first application document from the platform corresponding to the first resource platform identifier at a second time point T+b; Generate a second application document, send the second application document to the platform corresponding to the second resource platform identifier, and process the second application document at a third time node T+c, where c=b+1; or generate a second application document at a third time node T+c-2, send the second application document to the platform corresponding to the second resource platform identifier at a fourth time node T+c-1, and process the second application document at a fifth time node T+c, where c>b+1.
2. The method according to claim 1, characterized in that The data verification status information also records the verification time period of the order data to be verified and the transaction data to be verified; The data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified during the verification time period.
3. The method according to claim 1, characterized in that The method further comprises: detecting an operation status monitoring event of the first pre-selected verification processor corresponding to the machine identifier of the first pre-selected verification processor; If the operation status monitoring event indicates that the first pre-selected verification processor corresponding to the machine identifier of the first pre-selected verification processor fails, the data verification status information is updated.
4. The method according to claim 3, characterized in that The updating of the data verification status information includes: reselecting a first preselected check handler from the plurality of check handlers and determining an updated machine identification of the first preselected check handler; The data verification status information is updated according to the machine identification of the updated first pre-selected verification processor, so that the updated first pre-selected verification processor can verify the order data corresponding to the identification of the order data to be verified and the transaction data corresponding to the identification of the transaction data to be verified according to the updated data verification status information.
5. The method according to claim 1, wherein The method further comprises: Within a preset period, respectively detecting the integrity of the order data in the first database and the transaction data in the second database; If the first database is in a data loss state, performing data recovery processing on the first database according to the second database; If the second database is in a data loss state, data recovery processing is performed on the second database based on the first database.
6. The method according to claim 1, characterized in that The first database includes order data of a first type and order data of a second type, and the method further includes: In response to a detected data verification trigger event, obtaining the first type of order data and the second type of order data from the first database; selecting a second preselected check handler from the plurality of check handlers and determining a machine identification of the second preselected check handler; The identifier of the first type of order data, the identifier of the second type of order data, and the machine identifier of the second pre-selected verification processing machine are recorded in the data verification status information.
7. The method according to claim 1, characterized in that The data management platform is associated with multiple credit platforms, and the method further includes: In response to a detected withdrawal request initiated by a user, triggering a target credit granting platform among the multiple credit granting platforms to process the withdrawal request according to a priority; If the target credit platform fails in the process of processing the withdrawal request, a credit platform other than the target credit platform is allocated to the withdrawal request according to the priority among the multiple credit platforms.
8. A data processing device, characterized in that: The data processing device is used to manage data in the data management system. The data management system is provided with multiple verification processors, and the verification processors are used to perform data verification. The data processing device records the first resource platform identifier and the second resource platform identifier. The data processing device records the correspondence between the first resource platform identifier, the first virtual resource identifier, and the first time node T. The device includes: a determination module for determining, in response to a detected data verification trigger event, order data to be verified from a first database for storing order data, and transaction data to be verified from a second database for storing transaction data; a selection module configured to select a first preselected check processor from the plurality of check processors based on load information of the plurality of check processors, and determine a machine identifier of the first preselected check processor; a processing module configured to generate data verification status information, wherein the data verification status information records an identifier of the order data to be verified, an identifier of the transaction data to be verified, and a machine identifier of the first pre-selected verification processor; wherein the generated data verification status information is used to instruct the first pre-selected verification processor to verify the order data corresponding to the identifier of the order data to be verified and the transaction data corresponding to the identifier of the transaction data to be verified; and wherein the data attributes of some data items in the order data and the transaction data are different, the verification includes verifying the data items in the order data and the transaction data that have different data attributes; The processing module is also used to: send a first application document to the platform corresponding to the first resource platform identifier at the first time node T; receive confirmation of the first application document from the platform corresponding to the first resource platform identifier at the second time node T+b; generate a second application document, and send the second application document to the platform corresponding to the second resource platform identifier, and process the second application document at a third time node T+c, where c=b+1; or generate a second application document at a third time node T+c-2, send the second application document to the platform corresponding to the second resource platform identifier at a fourth time node T+c-1, and process the second application document at a fifth time node T+c, where c>b+1.
9. A data processing device, characterized in that: The data processing device comprises: memory for storing computer programs; A processor, configured to run the computer program; and implement the data processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 7 is implemented.
11. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device implements the data processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for monitoring data consistency between plurality of databases
CN101625686A
Method, device and computer readable storage medium for checking transaction data
CN109377369A
Data checking method and apparatus, computer device, and storage medium
CN109543942A
Method for virtual asset transaction and related device
CN110585698A