WO2020258666A1 - 一种分布式系统及数据处理方法 - Google Patents

一种分布式系统及数据处理方法 Download PDF

Info

Publication number
WO2020258666A1
WO2020258666A1 PCT/CN2019/118182 CN2019118182W WO2020258666A1 WO 2020258666 A1 WO2020258666 A1 WO 2020258666A1 CN 2019118182 W CN2019118182 W CN 2019118182W WO 2020258666 A1 WO2020258666 A1 WO 2020258666A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
instruction
file
type
account
Prior art date
Application number
PCT/CN2019/118182
Other languages
English (en)
French (fr)
Inventor
刘建波
张兵
Original Assignee
深圳前海微众银行股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳前海微众银行股份有限公司 filed Critical 深圳前海微众银行股份有限公司
Publication of WO2020258666A1 publication Critical patent/WO2020258666A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Definitions

  • the present invention relates to the field of computer technology in Fintech, and in particular to a distributed system and data processing method.
  • the existing bank deposit core systems are all based on the expensive software of IOE (IBM, Oracle, and EMC).
  • IBM is the server provider
  • Oracle is the database software provider
  • EMC is the storage device provider.
  • the single-node model of hardware, account data, transaction flow, etc. are all centrally stored in a database node.
  • the application layer can be scaled horizontally, because the database has only one node, the performance and capacity are limited, and the database software and hardware can only be upgraded when the amount of data is increasing. In the long run, it will not be able to meet the requirements of user volume and transaction volume growth.
  • This application provides a distributed system and a data processing method to solve the problem of limited capacity of database nodes in the deposit core system and an upper limit for capacity expansion.
  • the embodiment of the present invention provides a distributed system including N nodes, wherein each node contains a database, and the database structure and parameters between any two nodes are the same, N ⁇ 2;
  • the identification information related to the first instruction further includes second identification information
  • the first instruction is processed, and a second instruction is generated according to the first instruction, and the second identification information is located in a second type of node In the database;
  • the second instruction is sent to the second-type node, so that the second-type node can process the second instruction.
  • the first type of node is a first object node; the first object node is used to:
  • the first instruction is a message type instruction
  • the first object node is specifically used for:
  • a second message is generated according to the sub-process and sent to the second-type node.
  • the second type of node is a second object node; the first type of node is specifically used for:
  • the first type of node is a second object node
  • the second type of node is a first object node
  • the first instruction is a first file download instruction
  • the second object node is specifically used for:
  • L first object nodes involved in the total file split the total file to obtain L file fragments, where one file fragment corresponds to one first object node;
  • each second file download instruction corresponds to a first object node
  • the first object node is used for:
  • the first object node is further configured to: upload the processed file fragments to the file transmission module, and send a file fragment download message to the second object node;
  • the second object node is also used to: download the processed file fragments from the file transmission module according to the file fragment download message; merge the L processed file fragments and upload them to the file transmission Module; Send a file processing complete message to the peripheral system.
  • the first type of node is also used for:
  • identification information is generated, and the relationship between the identification information and the first-type node is recorded in a database.
  • the first type of node is also used for:
  • a data processing method for a distributed system including:
  • the node of the first type receives the first instruction, and the node of the first type is any node among the N nodes, including a database, and the database structure and parameters are the same between any two of the N nodes;
  • the first-type node parses the first instruction to determine the identification information related to the first instruction
  • the identification information related to the first instruction further includes second identification information
  • the first-type node processes the first instruction, and generates a second instruction according to the first instruction, and the second identification
  • the information is located in the database of the second type of node
  • the first-type node sends the second instruction to the second-type node, so that the second-type node can process the second instruction.
  • the node of the first type is a first object node; the receiving of the first instruction by the node of the first type includes:
  • the first object node receives the first instruction sent by the message middleware, where the first instruction includes first identification information, and the first identification information is located in the first object node.
  • the first instruction is a message type instruction
  • the first type of node parsing the first instruction to determine the identification information involved in the first instruction includes:
  • the first target node parses the first message, and determines M sub-processes of the first message
  • the first object node sequentially determines identification information corresponding to the M sub-processes
  • the first-type node processes the first instruction and generates a second instruction according to the first instruction, including:
  • the first object node For the sub-processes whose corresponding identification information is located in the database of the first object node, the first object node processes the sub-processes;
  • the first object node For the sub-processes whose corresponding identification information is located in the database of the second-type node, the first object node generates a second message according to the sub-process and sends it to the second-type node.
  • the second-type node is a second object node; the first-type node sending the second instruction to the second-type node includes:
  • the node of the first type sends the second instruction to the second target node within a predetermined time period.
  • the first type of node is a second object node
  • the second type of node is a first object node
  • the first instruction is a first file download instruction
  • the first type of node receiving the first instruction includes:
  • the second target node receives the first file download instruction sent by the peripheral system
  • the first type of node parsing the first instruction to determine the identification information involved in the first instruction includes:
  • the second object node downloads the total file from the file transmission module according to the first file download instruction
  • the second object node divides the total file according to the L first object nodes involved in the total file to obtain L file fragments, where one file fragment corresponds to one first object node;
  • the second object node uploads the L files to the file transmission module
  • the first-type node processes the first instruction and generates a second instruction according to the first instruction, including:
  • the second object node generates L second file download instructions, where each second file download instruction corresponds to a first object node;
  • the sending, by the first-type node, the second instruction to the second-type node includes:
  • the second object node For any one of the L second file download instructions, the second object node sends the second file download instruction to the corresponding first object node, so that the first object The node downloads the file fragments from the file transmission module according to the second file download instruction, and processes the file fragments.
  • the method further includes:
  • the second target node receives the file fragment download message sent by the first target node
  • the second object node downloads the processed file fragments from the file transmission module according to the file fragment download message
  • the second object node merges the L processed file fragments and uploads them to the file transmission module
  • the second target node sends a file processing complete message to the peripheral system.
  • the method before the first-type node receives the first instruction, the method further includes:
  • the first-type node receives an account opening instruction
  • the first type node generates identification information according to the account opening instruction, and records the relationship between the identification information and the first type node in a database.
  • it further includes:
  • the first-type node collects operation data that has not been uploaded in the first-type node according to a set time interval
  • the node of the first type uploads the unuploaded operation data to the file transmission module, so that the unuploaded operation data is downloaded and saved in the general database.
  • the embodiment of the present invention also provides an electronic device, including:
  • At least one processor and,
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method described above.
  • the embodiment of the present invention also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium storing computer instructions, and the computer instructions are used to make the computer execute the method described above.
  • the distributed system of the embodiment of the present invention includes N nodes, and each node includes a database, and the database structure and parameters between any two nodes are the same. Each of the N nodes has the same function.
  • any node is regarded as the first type of node.
  • the first type of node is used to: receive the first instruction; parse the first instruction to determine the identification information related to the first instruction; when the identification information related to the first instruction includes the second identification information, process the first instruction and perform processing according to The first instruction generates a second instruction, and the second identification information is located in the database of the second-type node; the second instruction is sent to the second-type node, so that the second-type node can process the second instruction.
  • the database in the existing node can be directly used to clone a new database, and then the new database Join the new node, increase the number of nodes, so as to achieve the purpose of expansion.
  • the first type of node may process the first instruction, and send instructions to other nodes according to the identification information involved in the first instruction, so as to realize the instruction processing across nodes.
  • Figure 1 is a schematic structural diagram of a possible system architecture provided by an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a distributed system structure provided by an embodiment of the present invention.
  • FIG. 3 is a flowchart of a data processing method of a distributed system provided by an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a deposit core system provided by a specific embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a data processing device of a distributed system according to an embodiment of the present invention.
  • Fig. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • a system to which the embodiment of the present invention is applicable includes a peripheral system 101 and a deposit core system 102.
  • the peripheral system 101 can be a client installed on a terminal or an operating system installed on a server.
  • the terminal can be an electronic device with wireless communication functions such as a mobile phone, a tablet computer, or a dedicated handheld device, or it can be It is a personal computer (personal computer, PC for short), notebook computer, server and other wired access devices connected to the Internet.
  • the terminal can be an independent device or a terminal cluster formed by multiple terminals.
  • the terminal can use cloud computing technology for information processing.
  • the deposit core system 102 may be an operating system installed on a network device such as a computer, an independent device, or a server cluster formed by multiple servers.
  • the deposit core system 102 includes N account nodes 103.
  • the N account nodes 103 can be installed on N servers or less than N servers. That is, there are two or more account nodes 103 installed on the same server. The situation on a server.
  • the N account nodes can use cloud computing technology for information processing.
  • the peripheral system 101 can remotely call the deposit core system 102, or communicate with the deposit core system 102 through the INTERNET network, or through the Global System for Mobile Communications (GSM), long term evolution (abbreviated as GSM)
  • GSM Global System for Mobile Communications
  • GSM long term evolution
  • a mobile communication system such as the LTE system communicates with the deposit core system 102.
  • Message middleware the infrastructure system responsible for message transmission, such as ESB, Dubbo, RocketMQ, Kafka, Solace, etc., suitable for distributed environments that require reliable data transmission.
  • ESB the infrastructure system responsible for message transmission
  • Dubbo the infrastructure system responsible for message transmission
  • RocketMQ the infrastructure system responsible for message transmission
  • Kafka the infrastructure system responsible for message transmission
  • Solace the infrastructure system responsible for message transmission
  • different objects pass messages to activate each other's events and complete corresponding operations.
  • the sender sends the message to the message server, and the message server stores the message in several queues, and then forwards the message to the receiver when appropriate.
  • Message middleware can communicate between different platforms. It is often used to shield the characteristics of various platforms and protocols to achieve collaboration between applications. Its advantage is that it can provide synchronization and asynchronous between the client and the server.
  • the connection, and the message can be transmitted or stored and forwarded at any time.
  • Routing service system an infrastructure system used to maintain the relationship between card numbers, account numbers, customer numbers, etc. and node numbers.
  • the distributed service architecture is a cluster networking, which means that there is a multi-instance deployment of a service in the cluster, and the routing service system can select an appropriate service provider from the service list to call.
  • the distributed service framework must be able to meet the flexible routing needs of users.
  • AOP Aspect-oriented programming technology used to define interceptors.
  • an embodiment of the present invention provides a distributed system.
  • the data processing architecture of the deposit core system provided by the embodiment of the present invention includes N nodes, where each node Contains a database, the database structure and parameters between any two nodes are the same, N ⁇ 2, therefore, each node can achieve the same function.
  • any node among the N nodes is regarded as the first type of node.
  • the data processing method of the distributed system provided by the embodiment of the present invention is shown in FIG. 3 and includes the following steps:
  • Step 301 The node of the first type receives the first instruction.
  • Step 302 The first-type node parses the first instruction, and determines identification information related to the first instruction.
  • Step 303 When the identification information related to the first instruction further includes second identification information, the first-type node processes the first instruction and generates a second instruction according to the first instruction.
  • the second identification information is located in the database of the second type of node.
  • Step 304 The first-type node sends the second instruction to the second-type node, so that the second-type node can process the second instruction.
  • the distributed system of the embodiment of the present invention includes N nodes, where each node includes a database, and the database structure and parameters between any two nodes are the same. Each of the N nodes has the same function.
  • any node is regarded as the first type of node.
  • the first type of node is used to: receive the first instruction; parse the first instruction to determine the identification information related to the first instruction; when the identification information related to the first instruction includes the second identification information, process the first instruction and perform processing according to The first instruction generates a second instruction, and the second identification information is located in the database of the second type of node; the second instruction is sent to the second type of node, so that the second type of node can process the second instruction.
  • the database in the existing node can be directly used to clone a new database, and then the new database Add new nodes to increase the number of nodes to achieve the purpose of capacity expansion.
  • the first type of node may process the first instruction, and send instructions to other nodes according to the identification information involved in the first instruction, so as to realize the instruction processing across nodes.
  • the deposit core system is set to a distributed system as an example. Therefore, corresponding to the above statement, the account node is the above node, the first account node is the first type of node, and the second account node is In the second type of node, the account information is identification information, the customer account node is the first object node, and the internal account node is the second object node.
  • the method before using the deposit core system to process data, an account needs to be opened in the deposit core system.
  • the method before the first account node receives the first instruction, the method further includes:
  • the first account node receives an account opening instruction
  • the first account node generates account information according to the account opening instruction, and records the relationship between the account information and the first account node in a database.
  • the accounts in the deposit core system include customer accounts and internal accounts. Different types of account opening methods are different.
  • the message middleware is responsible for the forwarding of instructions.
  • the first account node is a first customer account node; the first account node receiving a first instruction includes:
  • the first customer account node receives the first instruction sent by the message middleware, where the first instruction includes first account information, and the first account information is located in the first customer account node.
  • the peripheral system first obtains the identification of a customer account node in the deposit core system from the routing service system, and then sends the account opening instruction to the customer account node through the message middleware.
  • the customer account node verifies the account opening instruction, generates customer account information for the customer after passing, and stores the corresponding relationship between the customer account information and the customer account node in the database of the current node, and stores the specific account at the same time
  • the information item is sent by the peripheral system.
  • the customer account node can write the relationship between the customer account information such as the card number and account number and the customer account node into the routing service system, or can be written by the peripheral system.
  • the instructions to be processed by the deposit core system can be divided into message-type instructions and file-type instructions according to the amount of data.
  • Message commands include transfer messages, query messages, maintenance messages, etc., and generally only involve one or two account nodes.
  • file instructions generally include files with a large amount of data, which involve customer accounts distributed on multiple account nodes, such as the scenario where a company pays wages. The two instructions are introduced below.
  • the first account node parses the first instruction to determine the account information involved in the first instruction, including:
  • the first customer account node parses the first message and determines M sub-processes of the first message
  • the first customer account node sequentially determines the account information corresponding to the M sub-processes
  • the first account node processes the first instruction and generates a second instruction according to the first instruction, including:
  • the first customer account node For the sub-process in which the corresponding account information is located in the database of the first customer account node, the first customer account node processes the sub-process;
  • the first customer account node For the sub-process in which the corresponding account information is located in the database of the second account node, the first customer account node generates a second message according to the sub-process and sends it to the second account node.
  • message-type instructions may involve two accounts. For example, a transfer message involves a debit account and a credit account. If the two accounts are in the same node, the message-type instructions are sent directly to the node, and the node is directly processed. If the two accounts are located in different nodes, you can choose one of the two account nodes to receive the message type instruction.
  • the first account node that received the first message parses the first message and determines the M sub-processes of the first message. Each sub-process corresponds to an account. The corresponding account can be located in the first account node or in the second account. Account node.
  • the first account node processes the sub-process of the first account node, and generates a second message according to the sub-process of the second account node to send to the second account node.
  • the order of processing is executed in the order of the sub-flow.
  • the first account node feeds back the processing results to the peripheral system. In this way, the peripheral system does not need to pay attention to the cross-node of the message, and only needs to send the message to the deposit core system, which saves the workload and labor cost of the peripheral system.
  • the second account node is an internal account node
  • the first account node sends the second instruction to the second account Node sending, including:
  • the first account node sends the second instruction to the internal account node within a predetermined time period.
  • the first account node can determine the type of the first instruction. If real-time processing is required, the first account node will immediately send the second instruction to the internal account node after the processing is completed, so that the internal account node can process immediately The second instruction and feedback. If the type of the first instruction can be concealed, after the first account node processes the corresponding sub-process and generates the second instruction, it does not send the second instruction immediately, and can send the second instruction to the internal after a period of time The account node or the first account node needs to cache multiple second instructions processed by the internal account node, and send the second instructions to the internal account node in batches within a predetermined time period. Generally speaking, in order to reduce the pressure of internal account nodes, the mode of delaying internal processing is used in the embodiment of the present invention.
  • the first instruction is directly sent to the corresponding account node, and the The processing of instructions is completed in the node.
  • the first instruction is a file-type instruction
  • the file involved in the first instruction needs to be uploaded to the file transfer module, and then the total file is divided.
  • the division can be performed by the internal account node.
  • the first account node is an internal account node
  • the second account node is a customer account node.
  • the receiving of the first instruction by the first account node includes:
  • the internal account node receives the first file download instruction sent by the peripheral system
  • the parsing of the first instruction by the first account node to determine the account information involved in the first instruction includes:
  • the internal account node downloads the total file from the file transmission module according to the first file download instruction
  • the internal account node divides the total document according to the L customer account nodes involved in the total document to obtain L document fragments, where one document fragment corresponds to one customer account node;
  • the internal account node uploads the L files to the file transmission module
  • the first account node processes the first instruction and generates a second instruction according to the first instruction, including:
  • the internal account node generates L second file download instructions, where each second file download instruction corresponds to a customer account node;
  • the sending of the second instruction by the first account node to the second account node includes:
  • the internal account node sends the second file download instruction to the corresponding customer account node, so that the customer account node can
  • the second file download instruction downloads file fragments from the file transmission module, and processes the file fragments.
  • the peripheral system uploads the total file to the file transmission module, and sends the first file download instruction to the internal account node, so that the internal account node downloads the total file from the file transmission module.
  • the internal account node queries the corresponding node ID according to the account ID involved in the file, and divides the total file according to the node ID, that is, the data corresponding to the account in the same account node is used as a file fragment.
  • the internal account node can respectively send the split file fragments to the customer account node, or upload the split file fragments to the file transmission module again, and send the second file download instruction to the corresponding customer account node to
  • the customer account node can download the corresponding file segment from the file transmission module according to the second file download instruction.
  • the total file can also be divided directly by the peripheral system.
  • the peripheral system inquires the identification of the corresponding account node from the routing service system according to the card number or account number. According to different node numbers, the total file is divided into several different file segments. Upload the file fragments to the file transmission module, and then send messages through the message middleware to notify each customer account node. After receiving the notification, each customer account node downloads the file fragments for processing.
  • the file is still transferred through the file transfer module.
  • the method further includes:
  • the internal account node receives the file fragment download message sent by the customer account node
  • the internal account node downloads the processed file fragments from the file transmission module according to the file fragment download message
  • the internal account node merges the L processed file fragments and uploads them to the file transmission module
  • the internal account node sends a file processing complete message to the peripheral system.
  • the client account node after the client account node finishes processing the file fragments, it uploads the processed file fragments to the file transmission module, and sends the file fragment download message to the internal account node.
  • the internal account node downloads the processed file fragments from the file transmission module according to the file fragment download message, merges all the file fragments and uploads it, and finally sends a message to notify the peripheral system.
  • the embodiment of the present invention further includes:
  • the first account node collects operation data that has not been uploaded in the first account node according to a set time interval
  • the first account node uploads the unuploaded operation data to the file transmission module, so that the unuploaded operation data is downloaded and saved in the general database.
  • the data operation flow in the customer account node needs to be synchronized to the internal account node, and the data operation flow in the customer account node and the data operation flow in the internal account node need to be synchronized to the general database of the small ledger system.
  • each customer account node create the first timed task (for example, once every 2 minutes).
  • the first timed task collects unsynchronized operation data, such as delaying internal account transaction flow, generating files, uploading to the file transmission system, and sending notifications to internal account nodes.
  • the internal account node downloads and parses the operating data, updates the internal account balance, and stores the operating data in the internal account database.
  • a second timing task is also created (for example, once every 3 minutes).
  • the second timing task collects the accounting records of unsynchronized customer accounts and/or delayed internal accounts (accounting records, day-end accrued records, total points records, etc.), generates files, uploads them to the file transmission system, and Notify the small ledger subsystem.
  • the small general ledger subsystem downloads and parses the file, and then adds the accounting flow to the database of the small general ledger system.
  • the third timing task collects the unsynchronized real-time internal account accounting flow (accounting flow, total branch flow, etc.), generates a file, uploads it to the file transmission system, and informs the small general ledger subsystem. After receiving the notification, the small general ledger subsystem downloads and parses the file, and then adds the accounting flow to the database of the small general ledger system.
  • the third timing task collects the unsynchronized real-time internal account accounting flow (accounting flow, total branch flow, etc.), generates a file, uploads it to the file transmission system, and informs the small general ledger subsystem. After receiving the notification, the small general ledger subsystem downloads and parses the file, and then adds the accounting flow to the database of the small general ledger system.
  • the structure of the deposit core system may be as shown in Figure 4, including an internal account node and N customer accounts. node.
  • the customer account node is used to support data and transactions related to the customer account.
  • the internal account node is used to support data and transactions related to the internal account.
  • the internal account node also includes a small general ledger subsystem, which is used to process management and statistical tasks.
  • the database of the internal account and the database of the small ledger subsystem can also be arranged separately, that is, it includes the internal account node and the small ledger node.
  • the amount of data in an internal account is small. Therefore, only one internal account node is provided in the embodiment of the present invention, and the number of internal account nodes can also be increased correspondingly according to actual conditions.
  • each account node In the above structure, the database structure and parameters of each account node are the same, but the stored account and transaction data are different. As the small general ledger database only involves data statistics and summary, different structures and parameters can be used.
  • the deposit core system can be divided into the following subsystems:
  • Online transaction subsystem responsible for processing online transactions related to customer accounts, such as account opening, transfer, inquiry, maintenance, etc.
  • Batch processing subsystem responsible for processing batch tasks related to customer accounts, such as file transactions, synchronizing transaction flow to the ADM batch processing subsystem, synchronizing accounting flow to the small general ledger subsystem, end-of-day tasks, etc.
  • ADM online transaction subsystem Responsible for processing online transactions related to internal accounts, such as account opening, transfer, inquiry, maintenance, etc.
  • ADM batch processing subsystem responsible for processing synchronization data from customer account nodes, generating internal account transaction flow, accounting flow, and file-type transactions, end-of-day tasks, etc.
  • Small General Ledger Subsystem responsible for summarizing the accounting flow, registering and checking accounting affairs, and reporting the account balance data to the large general ledger system.
  • Console subsystem responsible for task monitoring, task re-pull, and online transaction subsystem adjustment of each batch processing subsystem.
  • the deposit core system also includes auxiliary units such as message middleware, routing service system, and file transmission system.
  • the embodiment of the present invention also provides a data processing device of a distributed system, as shown in FIG. 5, including:
  • the transceiver unit 501 is configured to receive a first instruction
  • the parsing unit 502 is configured to parse the first instruction and determine the account information involved in the first instruction;
  • the processing unit 503 is configured to, when the account information involved in the first instruction also includes second account information, the first account node processes the first instruction, and generates a second instruction according to the first instruction ,
  • the second account information is located in the database of the second account node;
  • the transceiver unit 501 is further configured to send the second instruction to the second account node, so that the second account node can process the second instruction.
  • the transceiver unit 501 is further configured to receive the first instruction sent by the message middleware, where the first instruction includes first account information, and the first account information is located in the first customer account. Node.
  • the first instruction is a message type instruction
  • the parsing unit 502 is specifically configured to parse the first message, determine M sub-processes of the first message; sequentially determine the account information corresponding to the M sub-processes;
  • the processing unit 503 is specifically configured to deal with the sub-process in which the corresponding account information is located in the database of the first customer account node, the first customer account node to process the sub-process; and the corresponding account information is located in A sub-process in the database of the second account node, where the first customer account node generates a second message according to the sub-process and sends it to the second account node.
  • the transceiver unit 501 is specifically configured to send the second instruction to the internal account node within a predetermined time period.
  • the first instruction is a first file download instruction
  • the transceiver unit 501 is specifically configured to receive the first file download instruction sent by the peripheral system
  • the parsing unit 502 is specifically configured to download the total file from the file transmission module according to the first file download instruction; divide the total file according to the L customer account nodes involved in the total file to obtain L File fragments, one of which corresponds to a customer account node; uploading the L files to the file transmission module;
  • the processing unit 503 is specifically configured to generate L second file download instructions, where each second file download instruction corresponds to a customer account node;
  • the transceiver unit 501 is specifically configured to send the second file download instruction to the corresponding customer account node for any one of the L second file download instructions, so that the customer The account node downloads the file fragments from the file transmission module according to the second file download instruction, and processes the file fragments.
  • the transceiver unit 501 is specifically configured to receive a file fragment download message sent by a customer account node; download the processed file fragment from the file transmission module according to the file fragment download message; The processed file fragments are merged and uploaded to the file transmission module; a file processing completion message is sent to the peripheral system.
  • the transceiver unit 501 is configured to receive an account opening instruction
  • the processing unit 503 is configured to generate account information according to the account opening instruction, and record the relationship between the account information and the first account node in a database.
  • a synchronization unit 504 for:
  • the set time interval collect the unuploaded operation data in the first account node; upload the unuploaded operation data to the file transmission module, so that the unuploaded operation data is downloaded and saved to the master In the database.
  • the present invention also provides an electronic device, as shown in FIG. 6, including:
  • It includes a processor 601, a memory 602, a transceiver 603, and a bus interface 604.
  • the processor 601, the memory 602 and the transceiver 603 are connected through the bus interface 604;
  • the transceiver 603 is configured to receive the first instruction under the control of the processor 601;
  • the processor 601 is configured to read a program in the memory 602 and execute the following method: parse the first instruction to determine the identification information involved in the first instruction; when the identification information involved in the first instruction also includes a second When identifying information, process the first instruction, and generate a second instruction according to the first instruction, and the second identification information is located in a database of a second type of node;
  • the transceiver 603 is further configured to send the second instruction to the second-type node under the control of the processor, so that the second-type node can process the second instruction;
  • the memory 602 is configured to store one or more executable programs, and can store data used by the processor when performing operations;
  • the 604 bus interface provides interfaces, and the processor is responsible for managing the bus architecture and general processing.
  • the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 601 and various circuits of the memory represented by the memory 602 are linked together.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits. These are all known in the art, and therefore, no further descriptions are given here.
  • the present invention is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions.
  • These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种分布式系统及数据处理方法,用以解决存款核心系统中数据库节点容量有限,扩容存在上限的问题。所述分布式系统包括N个节点,其中每个节点中包含一个数据库,任两个节点之间的数据库结构和参数相同,N≥2;将所述N个节点中的任一节点作为第一类节点,所述第一类节点用于:接收第一指令;解析所述第一指令,确定所述第一指令涉及的标识信息;当所述第一指令涉及的标识信息还包括第二标识信息时,对所述第一指令进行处理,并根据所述第一指令生成第二指令,所述第二标识信息位于第二类节点的数据库中;将所述第二指令向所述第二类节点发送,以使所述第二类节点对所述第二指令进行处理。

Description

一种分布式系统及数据处理方法
相关申请的交叉引用
本申请要求在2019年06月28日提交中国专利局、申请号为201910579297.4、申请名称为“一种分布式系统及数据处理方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及金融科技(Fintech)中的计算机技术领域,尤其涉及一种分布式系统及数据处理方法。
背景技术
随着金融科技,尤其是互联网科技金融的不断发展,越来越多的技术(如分布式、区块链Blockchain、人工智能等)应用在金融领域,但金融业也对技术提出了更高的要求,如针对存款核心系统的数据处理。
现有的银行存款核心系统,都是基于IOE(IBM、Oracle、EMC三家供应商的合称,其中IBM是服务器提供商,Oracle是数据库软件提供商,EMC则是存储设备提供商)的昂贵软硬件的单节点模型,账户数据、交易流水等都集中存储在一个数据库节点中。虽然应用层(application)可以做横向扩展,但因为数据库只有一个节点,性能和容量有限,在数据量日益增长的情况下,只能对数据库软硬件做升级。从长远来看,无法满足用户量和交易量增长的要求。
发明内容
本申请提供一种分布式系统及数据处理方法,用以解决存款核心系统中数据库节点容量有限,扩容存在上限的问题。
本发明实施例提供一种分布式系统,包括N个节点,其中每个节点中包 含一个数据库,任两个节点之间的数据库结构和参数相同,N≥2;
将所述N个节点中的任一节点作为第一类节点,所述第一类节点用于:
接收第一指令;
解析所述第一指令,确定所述第一指令涉及的标识信息;
当所述第一指令涉及的标识信息还包括第二标识信息时,对所述第一指令进行处理,并根据所述第一指令生成第二指令,所述第二标识信息位于第二类节点的数据库中;
将所述第二指令向所述第二类节点发送,以使所述第二类节点对所述第二指令进行处理。
一种可选的实施例中,所述第一类节点为第一对象节点;所述第一对象节点用于:
接收消息中间件发送的所述第一指令,所述第一指令中包含第一标识信息,所述第一标识信息位于所述第一对象节点的数据库中。
一种可选的实施例中,所述第一指令为报文类指令;
所述第一对象节点具体用于:
解析所述第一报文,确定所述第一报文的M个子流程;
依次判断所述M个子流程对应的标识信息;
针对对应的标识信息位于所述第一对象节点的数据库中的子流程,对所述子流程进行处理;
针对对应的标识信息位于第二类节点的数据库中的子流程,根据所述子流程生成第二报文并向所述第二类节点发送。
一种可选的实施例中,所述第二类节点为第二对象节点;所述第一类节点具体用于:
在预定时间段内,向所述第二对象节点发送所述第二指令。
一种可选的实施例中,所述第一类节点为第二对象节点,所述第二类节点为第一对象节点,所述第一指令为第一文件下载指令;
所述第二对象节点具体用于:
接收外围系统发送的所述第一文件下载指令;
根据所述第一文件下载指令,从文件传输模块中下载总文件;
按照所述总文件涉及的L个第一对象节点,将所述总文件进行分割,得到L份文件分片,其中一份文件分片与一个第一对象节点相对应;
将所述L份文件上传至所述文件传输模块;
生成L个第二文件下载指令,其中每一个第二文件下载指令与一个第一对象节点相对应;
针对所述L个第二文件下载指令中的任一个第二文件下载指令,将所述第二文件下载指令向对应的第一对象节点发送;
所述第一对象节点用于:
根据所述第二文件下载指令从所述文件传输模块中下载文件分片,并对所述文件分片进行处理。
一种可选的实施例中,所述第一对象节点还用于:将已处理的文件分片上传至所述文件传输模块,并向所述第二对象节点发送文件分片下载消息;
所述第二对象节点还用于:根据文件分片下载消息从所述文件传输模块中下载已处理的文件分片;将L个已处理的文件分片进行合并,并上传至所述文件传输模块;向所述外围系统发送文件处理完成消息。
一种可选的实施例中,所述第一类节点,还用于:
接收开户指令;
根据所述开户指令,生成标识信息,并在数据库中记录所述标识信息与所述第一类节点的关系。
一种可选的实施例中,所述第一类节点,还用于:
按照设定时间间隔,收集所述第一类节点中未上传的操作数据;
将所述未上传的操作数据上传至文件传输模块中,以使所述未上传的操作数据被下载并保存至总数据库中。
一种分布式系统的数据处理方法,包括:
第一类节点接收第一指令,所述第一类节点为N个节点中的任一节点, 包含一个数据库,所述N个节点中的任两个节点之间的数据库结构和参数相同;
所述第一类节点解析所述第一指令,确定所述第一指令涉及的标识信息;
当所述第一指令涉及的标识信息还包括第二标识信息时,所述第一类节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,所述第二标识信息位于第二类节点的数据库中;
所述第一类节点将所述第二指令向所述第二类节点发送,以使所述第二类节点对所述第二指令进行处理。
一种可选的实施例中,所述第一类节点为第一对象节点;所述第一类节点接收第一指令,包括:
所述第一对象节点接收消息中间件发送的所述第一指令,所述第一指令中包含第一标识信息,所述第一标识信息位于所述第一对象节点中。
一种可选的实施例中,所述第一指令为报文类指令;
所述第一类节点解析所述第一指令,确定所述第一指令涉及的标识信息,包括:
所述第一对象节点解析所述第一报文,确定所述第一报文的M个子流程;
所述第一对象节点依次判断所述M个子流程对应的标识信息;
当所述第一指令涉及的标识信息还包括第二标识信息时,所述第一类节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,包括:
针对对应的标识信息位于所述第一对象节点的数据库中的子流程,所述第一对象节点对所述子流程进行处理;
针对对应的标识信息位于第二类节点的数据库中的子流程,所述第一对象节点根据所述子流程生成第二报文并向所述第二类节点发送。
一种可选的实施例中,所述第二类节点为第二对象节点;所述第一类节点将所述第二指令向所述第二类节点发送,包括:
所述第一类节点在预定时间段内,向所述第二对象节点发送所述第二指令。
一种可选的实施例中,所述第一类节点为第二对象节点,所述第二类节点为第一对象节点,所述第一指令为第一文件下载指令;
所述第一类节点接收第一指令,包括:
所述第二对象节点接收外围系统发送的所述第一文件下载指令;
所述第一类节点解析所述第一指令,确定所述第一指令涉及的标识信息,包括:
所述第二对象节点根据所述第一文件下载指令,从文件传输模块中下载总文件;
所述第二对象节点按照所述总文件涉及的L个第一对象节点,将所述总文件进行分割,得到L份文件分片,其中一份文件分片与一个第一对象节点相对应;
所述第二对象节点将所述L份文件上传至所述文件传输模块;
所述当所述第一指令涉及的标识信息还包括第二标识信息时,第一类节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,包括:
所述第二对象节点生成L个第二文件下载指令,其中每一个第二文件下载指令与一个第一对象节点相对应;
所述第一类节点将所述第二指令向所述第二类节点发送,包括:
针对所述L个第二文件下载指令中的任一个第二文件下载指令,所述第二对象节点将所述第二文件下载指令向对应的第一对象节点发送,以使所述第一对象节点根据所述第二文件下载指令从所述文件传输模块中下载文件分片,并对所述文件分片进行处理。
一种可选的实施例中,所述第二对象节点将所述第二文件下载指令向对应的第一对象节点发送之后,还包括:
所述第二对象节点接收第一对象节点发送的文件分片下载消息;
所述第二对象节点根据文件分片下载消息从所述文件传输模块中下载已处理的文件分片;
所述第二对象节点将L个已处理的文件分片进行合并,并上传至所述文 件传输模块;
所述第二对象节点向所述外围系统发送文件处理完成消息。
一种可选的实施例中,所述第一类节点接收第一指令之前,还包括:
所述第一类节点接收开户指令;
所述第一类节点根据所述开户指令,生成标识信息,并在数据库中记录所述标识信息与所述第一类节点的关系。
一种可选的实施例中,还包括:
所述第一类节点按照设定时间间隔,收集所述第一类节点中未上传的操作数据;
所述第一类节点将所述未上传的操作数据上传至文件传输模块中,以使所述未上传的操作数据被下载并保存至总数据库中。
本发明实施例还提供一种电子设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的方法。
本发明实施例还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上所述的方法。
本发明实施例的分布式系统中包括N个节点,其中每个节点中包含一个数据库,且任意两个节点之间的数据库结构和参数相同。N个节点中的每个节点的作用相同,为了便于描述,将任一节点作为第一类节点。第一类节点用于:接收第一指令;解析第一指令,确定第一指令涉及的标识信息;当第一指令涉及的标识信息包括第二标识信息时,对第一指令进行处理,并根据第一指令生成第二指令,第二标识信息位于第二类节点的数据库中;将第二指令向第二类节点发送,以使第二类节点对第二指令进行处理。本发明实施例中,由于节点的数据库结构和参数均相同,因此,当存款核心系统的数据 库容量不足时,可以直接利用已存在的节点中的数据库,克隆出新的数据库,再将新的数据库加入新的节点中,增加节点的数量,从而达到扩容的目的。此外,针对跨节点的第一指令,第一类节点可以对第一指令进行处理,并根据第一指令涉及的标识信息,向其他节点发送指令,从而实现跨节点的指令处理。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种可能的系统构架的结构示意图;
图2为本发明实施例提供的一种分布式系统结构示意图;
图3为本发明实施例提供的一种分布式系统的数据处理方法的流程图;
图4为本发明具体实施例提供的存款核心系统的结构示意图;
图5为本发明实施例提供的一种分布式系统的数据处理装置的结构示意图;
图6为本发明实施例提供的电子设备的结构示意图。
具体实施方式
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
如图1所示,本发明实施例所适用的一种系统,包括外围系统101和存款核心系统102。其中,外围系统101可以为安装于终端上的客户端,也可以 为安装于服务器上的操作系统,终端可以是手机、平板电脑或者是专用的手持设备等具有无线通信功能的电子设备,也可以是个人计算机(personal computer,简称PC),笔记本电脑,服务器等有线接入方式连接上网的设备。终端可以是一个独立的设备,也可以是多个终端所形成的终端集群。优选地,终端可以采用云计算技术进行信息处理。
存款核心系统102可以是安装于计算机等网络设备上的操作系统,可以是一个独立的设备,也可以是多个服务器所形成的服务器集群。存款核心系统102中包括N个账户节点103,N个账户节点103可以分别安装于N个服务器上,也可以安装于少于N个服务器上,即存在两个或多个账户节点103安装于同一个服务器上的情况。优选地,N个账户节点可以采用云计算技术进行信息处理。
外围系统101可以远程调用存款核心系统102,也可以通过INTERNET网络与存款核心系统102进行通信,也可以通过全球移动通信系统(Global System for Mobile Communications,简称GSM)、长期演进(long term evolution,简称LTE)系统等移动通信系统与存款核心系统102进行通信。
为了便于理解,下面对本发明实施例中可能涉及的名词进行定义和解释。
消息中间件:负责消息传输的基础架构系统,比如:ESB,Dubbo,RocketMQ,Kafka,Solace等,适用于需要可靠的数据传送的分布式环境。采用消息中间件机制的系统中,不同的对象之间通过传递消息来激活对方的事件,完成相应的操作。发送者将消息发送给消息服务器,消息服务器将消息存放在若干队列中,在合适的时候再将消息转发给接收者。消息中间件能在不同平台之间通信,它常被用来屏蔽掉各种平台及协议之间的特性,实现应用程序之间的协同,其优点在于能够在客户和服务器之间提供同步和异步的连接,并且在任何时刻都可以将消息进行传送或者存储转发。
路由服务系统:一种基础架构系统,用于维护卡号、账号、客户号等与节点号的关系。分布式服务架构是集群组网,这意味着集群中存在某个服务的多实例部署,路由服务系统可以从服务列表中选择合适的服务提供者进行 调用。分布式服务框架要能够满足用户灵活的路由需求。
Spring:一种开源的、基于Java程序语言的应用程序框架。
AOP:面向切面的编程技术,用于定义拦截器。
冲正:交易因为异常而失败后,被迫将之前的操作全部回滚的行为。
冲账:交易成功后,外围系统主动发起的回滚交易。
为了解决上述问题,基于上述架构,本发明实施例提供了一种分布式系统,如图2所示,本发明实施例提供的存款核心系统的数据处理架构包括N个节点,其中每个节点中包含一个数据库,任两个节点之间的数据库结构和参数相同,N≥2,因此,每个节点均能实现同样的功能。
下面通过对分布式系统的数据处理方法进行介绍,详细描述分布式系统中每个节点的作用和功能。为了便于描述,将N个节点中的任一节点作为第一类节点。
本发明实施例提供的分布式系统的数据处理方法如图3所示,包括以下步骤:
步骤301、第一类节点接收第一指令。
步骤302、所述第一类节点解析所述第一指令,确定所述第一指令涉及的标识信息。
步骤303、当所述第一指令涉及的标识信息还包括第二标识信息时,所述第一类节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,所述第二标识信息位于第二类节点的数据库中。
步骤304、所述第一类节点将所述第二指令向所述第二类节点发送,以使所述第二类节点对所述第二指令进行处理。
本发明实施例的分布式系统中包括N个节点,其中每个节点中包含一个数据库,且任意两个节点之间的数据库结构和参数相同。N个节点中的每个节点的作用相同,为了便于描述,将任一节点作为第一类节点。第一类节点用于:接收第一指令;解析第一指令,确定第一指令涉及的标识信息;当第一指令涉及的标识信息包括第二标识信息时,对第一指令进行处理,并根据 第一指令生成第二指令,第二标识信息位于第二类节点的数据库中;将第二指令向第二类节点发送,以使第二类节点对第二指令进行处理。本发明实施例中,由于节点的数据库结构和参数均相同,因此,当存款核心系统的数据库容量不足时,可以直接利用已存在的节点中的数据库,克隆出新的数据库,再将新的数据库加入新的节点中,增加节点的数量,从而达到扩容的目的。此外,针对跨节点的第一指令,第一类节点可以对第一指令进行处理,并根据第一指令涉及的标识信息,向其他节点发送指令,从而实现跨节点的指令处理。
下面的描述中,为了便于理解,以存款核心系统设置为分布式系统为例进行介绍,因此,对应上述表述,账户节点为上述节点,第一账户节点为第一类节点,第二账户节点为第二类节点,账户信息为标识信息,客户账户节点为第一对象节点,内部账户节点为第二对象节点。
本发明实施例中,利用存款核心系统处理数据之前,需要首先在存款核心系统中开户。所述第一账户节点接收第一指令之前,还包括:
所述第一账户节点接收开户指令;
所述第一账户节点根据所述开户指令,生成账户信息,并在数据库中记录所述账户信息与所述第一账户节点的关系。
具体来说,在存款核心系统中的账户包括客户账户和内部账户。不同类型的账户开户方式有所区别。
针对开客户账户:由于客户账户节点的数量不止一个,因此,需要通过消息中间件负责指令的转发。所述第一账户节点为第一客户账户节点;所述第一账户节点接收第一指令,包括:
所述第一客户账户节点接收消息中间件发送的所述第一指令,所述第一指令中包含第一账户信息,所述第一账户信息位于所述第一客户账户节点中。
具体实施过程中,外围系统先从路由服务系统获得存款核心系统中的一个客户账户节点的标识,再将开户指令通过消息中间件发往该客户账户节点。客户账户节点接收到开户指令后,对开户指令进行验证,通过后针对该客户 生成客户账户信息,并将客户账户信息与客户账户节点的对应关系存储于当前节点的数据库中,同时将具体的账户信息项外围系统发送。开户成功后,可以由客户账户节点将卡号、账号等客户账户信息与客户账户节点的关系写入路由服务系统,也可以由外围系统写入。
针对开内部账户:由于存款核心系统中的内部账户信息较少,因此只设置一个内部账户节点,故外围系统可以直接将开户报文向内部账户节点发送。开户成功后,内部账户节点将内部账户信息同步到各个客户账户节点,以便后续支持客户账户与内部账户之间的交易。
本发明实施例中,存款核心系统需要处理的指令可以按照数据量的大小,分为报文类指令和文件类指令。报文类指令包括转账报文、查询报文、维护报文等,一般只涉及一到两个账户节点。文件类指令除了报文外,一般还包括数据量较大的文件,会涉及到分布在多个账户节点上的客户账户,例如公司发工资的场景。下面分别就两种指令进行介绍。
第一指令为报文类指令时,所述第一账户节点解析所述第一指令,确定所述第一指令涉及的账户信息,包括:
所述第一客户账户节点解析所述第一报文,确定所述第一报文的M个子流程;
所述第一客户账户节点依次判断所述M个子流程对应的账户信息;
当所述第一指令涉及的账户信息还包括第二账户信息时,所述第一账户节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,包括:
针对对应的账户信息位于所述第一客户账户节点的数据库中的子流程,所述第一客户账户节点对所述子流程进行处理;
针对对应的账户信息位于第二账户节点的数据库中的子流程,所述第一客户账户节点根据所述子流程生成第二报文并向所述第二账户节点发送。
具体实施过程中,报文类指令可能会涉及到两个账户,例如转账报文,就涉及借记账户和贷记账户。若两个账户位于同一个节点中,则报文类指令直接向该节点发送,由该节点直接处理。若两个账户位于不同节点中,则可 以从两个账户节点中任选一个接收该报文类指令。接收到第一报文的第一账户节点解析第一报文,确定第一报文的M个子流程,其中每个子流程对应一个账户,对应的账户可以位于第一账户节点,也可以位于第二账户节点。第一账户节点对第一账户节点的子流程进行处理,并根据第二账户节点的子流程生成第二报文向第二账户节点发送。这里,处理的顺序为按照子流程的顺序执行。全部子流程处理完成后,由第一账户节点向外围系统反馈处理结果。这样,外围系统无需关注报文的跨节点,只需将报文发往存款核心系统即可,节省了外围系统的工作量和人力成本。
特殊地,若第二账户节点为内部账户节点,为了降低内部账户节点的压力,所述第二账户节点为内部账户节点;所述第一账户节点将所述第二指令向所述第二账户节点发送,包括:
所述第一账户节点在预定时间段内,向所述内部账户节点发送所述第二指令。
具体实施过程中,第一账户节点可以判断第一指令的类型,若需要实时处理,则第一账户节点处理完成后,立刻将第二指令向内部账户节点发送,以使内部账户节点可以立刻处理该第二指令并反馈。若第一指令的类型为可以掩饰处理,则第一账户节点处理完对应的子流程后,并生成第二指令后,不立刻发送第二指令,可以在一段时间之后将第二指令发送给内部账户节点,或者第一账户节点需要内部账户节点处理的多个第二指令进行缓存,在预定的时间段内,批量性地将第二指令发送至内部账户节点。一般来说,为降低内部账户节点的压力,本发明实施例中使用延时内部处理的模式。
此外,对于只涉及一个账户节点的指令,例如查询报文、维护报文,或者内部账户与内部账户之间的转账,本发明实施例中直接将第一指令发送至对应的账户节点,在账户节点内完成指令的处理。
若第一指令为文件类指令,由于文件中数据量较大,则需要将第一指令涉及的文件上传至文件传输模块中,再将总文件进行分割,分割可以由内部账户节点执行。此时,第一账户节点为内部账户节点,所述第二账户节点为 客户账户节点。所述第一账户节点接收第一指令,包括:
所述内部账户节点接收外围系统发送的所述第一文件下载指令;
所述第一账户节点解析所述第一指令,确定所述第一指令涉及的账户信息,包括:
所述内部账户节点根据所述第一文件下载指令,从文件传输模块中下载总文件;
所述内部账户节点按照所述总文件涉及的L个客户账户节点,将所述总文件进行分割,得到L份文件分片,其中一份文件分片与一个客户账户节点相对应;
所述内部账户节点将所述L份文件上传至所述文件传输模块;
所述当所述第一指令涉及的账户信息还包括第二账户信息时,第一账户节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,包括:
所述内部账户节点生成L个第二文件下载指令,其中每一个第二文件下载指令与一个客户账户节点相对应;
所述第一账户节点将所述第二指令向所述第二账户节点发送,包括:
针对所述L个第二文件下载指令中的任一个第二文件下载指令,所述内部账户节点将所述第二文件下载指令向对应的客户账户节点发送,以使所述客户账户节点根据所述第二文件下载指令从所述文件传输模块中下载文件分片,并对所述文件分片进行处理。
具体实施过程中,外围系统将总文件上传至文件传输模块中,并向内部账户节点发送第一文件下载指令,以使内部账户节点从文件传输模块中下载总文件。内部账户节点根据文件中涉及的账户标识,查询对应的节点标识,并根据节点标识分割总文件,即将同一个账户节点中的账户对应的数据作为一个文件分片。内部账户节点可以分别将分割得到的文件分片向客户账户节点发送,也可以将分割得到的文件分片重新上传至文件传输模块中,并向对应的客户账户节点发送第二文件下载指令,以使客户账户节点可以根据第二文件下载指令从文件传输模块中下载对应的文件分片。通过将文件上传至文 件传输模块,账户节点之间无需直接传输大规模的数据,从而缓解了节点之间的传输压力。
此外,总文件还可以由外围系统直接分割。具体地,外围系统根据卡号或账号从路由服务系统中查询到对应的账户节点的标识。根据节点号的不同将总文件分割为若干不同的文件分片。将文件分片上传到文件传输模块中,再通过消息中间件发送报文通知各个客户账户节点。各个客户账户节点接到通知后,下载文件分片进行处理。
文件处理完成后,仍通过文件传输模块传递文件。所述内部账户节点将所述第二文件下载指令向对应的客户账户节点发送之后,还包括:
所述内部账户节点接收客户账户节点发送的文件分片下载消息;
所述内部账户节点根据文件分片下载消息从所述文件传输模块中下载已处理的文件分片;
所述内部账户节点将L个已处理的文件分片进行合并,并上传至所述文件传输模块;
所述内部账户节点向所述外围系统发送文件处理完成消息。
具体实施过程中,客户账户节点将文件分片处理完成后,将已处理的文件分片上传至文件传输模块中,并向内部账户节点发送文件分片下载消息。内部账户节点根据文件分片下载消息,从文件传输模块中下载已处理的文件分片,将所有文件分片合并后再上传,最后发送消息通知外围系统。
进一步地,本发明实施例还包括:
所述第一账户节点按照设定时间间隔,收集所述第一账户节点中未上传的操作数据;
所述第一账户节点将所述未上传的操作数据上传至文件传输模块中,以使所述未上传的操作数据被下载并保存至总数据库中。
具体实施过程中,客户账户节点中的数据操作流水需要同步到内部账户节点中,且客户账户节点中的数据操作流水以及内部账户节点中的数据操作流水需要同步至小总账系统的总数据库中。
在每个客户账户节点中,创建第一定时任务(比如每2分钟一次)。第一定时任务收集未同步的操作数据,例如延时内部账户交易流水,生成文件,上传到文件传输系统,并向内部账户节点发送通知。内部账户节点收到通知后,下载操作数据并解析后,更新内部账户余额,并将操作数据存储至内部账户的数据库中。
并且,在每个客户账户节点中,还创建第二定时任务(比如每3分钟一次)。第二定时任务收集未同步的客户账户的会计流水和/或延时内部账户的会计流水(账务流水、日终计提流水、总分流水等),生成文件,上传到文件传输系统,并通知小总账子系统。小总账子系统收到通知后,下载文件并解析后,将会计流水追加至小总账系统的数据库中。
此外,在内部账户节点内中,创建第三定时任务(比如每4分钟一次)。第三定时任务收集未同步的实时内部账户的会计流水(账务流水、总分流水等),生成文件,上传到文件传输系统,通知小总账子系统。小总账子系统收到通知后,下载文件并解析后,将会计流水追加至小总账系统的数据库中。
为了更清楚地理解本发明,下面以具体实施例对上述流程进行详细描述,一种具体的实时例中,存款核心系统的结构可以如图4所示,包括一个内部账户节点和N个客户账户节点。其中,客户账户节点用于支持与客户账户相关的数据与交易。内部账户节点用于支持与内部账户相关的数据与交易。为了便于管理,节省资源,内部账户节点中还包括小总账子系统,用于处理管理型的、统计型的任务。
由于内部账户节点中包括内部账户的数据库以及小总账子系统的数据库,因此,内部账户的数据库与小总账子系统的数据库也可以分开布置,即包括内部账户节点和小总账节点。此外,相较于数据量巨大的客户账户,内部账户的数据量很少,因此,本发明实施例中只设置一个内部账户节点,而内部账户节点的数量也可以根据实际情况进行相应的增加。
以上结构中,每个账户节点的数据库结构和参数相同,但存储的账户和交易数据不同。小总账的数据库因为只涉及到数据统计和汇总,可以使用不 同的结构和参数。
从功能上,存款核心系统又可以分为以下子系统:
1、联机交易子系统:负责处理与客户账户相关的联机交易,比如开户、转账、查询、维护等。
2、批处理子系统:负责处理与客户账户相关的批量任务,比如文件型交易、将交易流水同步至ADM批处理子系统、将会计流水同步至小总账子系统、日终任务等。
3、ADM联机交易子系统:负责处理与内部账户相关的联机交易,比如开户、转账、查询、维护等。
4、ADM批处理子系统:负责处理来自客户账户节点的同步数据,生成内部账户交易流水、会计流水,以及文件型交易、日终任务等。
5、小总账子系统:负责汇总会计流水,登记及核对会计账务,并将科目发生额余额数据上报大总账系统。
6、控制台子系统:负责各批处理子系统的任务监控、任务重拉、以及联机交易子系统的调账等。
此外,存款核心系统中还包括消息中间件、路由服务系统、文件传输系统等辅助单元。
需要了解的是,上述系统仅为本发明实施例中的一种,每个账户节点中的具体结构以及辅助系统可以依据具体需要进行设置,本发明实施例中仅为举例,不做限制。
本发明实施例还提供了一种分布式系统的数据处理装置,如图5所示,包括:
收发单元501,用于接收第一指令;
解析单元502,用于解析所述第一指令,确定所述第一指令涉及的账户信息;
处理单元503,用于当所述第一指令涉及的账户信息还包括第二账户信息时,所述第一账户节点对所述第一指令进行处理,并根据所述第一指令生成 第二指令,所述第二账户信息位于第二账户节点的数据库中;
所述收发单元501,还用于将所述第二指令向所述第二账户节点发送,以使所述第二账户节点对所述第二指令进行处理。
可选的,所述收发单元501,还用于接收消息中间件发送的所述第一指令,所述第一指令中包含第一账户信息,所述第一账户信息位于所述第一客户账户节点中。
可选的,所述第一指令为报文类指令;
所述解析单元502,具体用于解析所述第一报文,确定所述第一报文的M个子流程;依次判断所述M个子流程对应的账户信息;
所述处理单元503,具体用于针对对应的账户信息位于所述第一客户账户节点的数据库中的子流程,所述第一客户账户节点对所述子流程进行处理;针对对应的账户信息位于第二账户节点的数据库中的子流程,所述第一客户账户节点根据所述子流程生成第二报文并向所述第二账户节点发送。
可选的,所述收发单元501,具体用于在预定时间段内,向所述内部账户节点发送所述第二指令。
可选的,所述第一指令为第一文件下载指令;
所述收发单元501,具体用于接收外围系统发送的所述第一文件下载指令;
所述解析单元502,具体用于根据所述第一文件下载指令,从文件传输模块中下载总文件;按照所述总文件涉及的L个客户账户节点,将所述总文件进行分割,得到L份文件分片,其中一份文件分片与一个客户账户节点相对应;将所述L份文件上传至所述文件传输模块;
所述处理单元503,具体用于生成L个第二文件下载指令,其中每一个第二文件下载指令与一个客户账户节点相对应;
所述收发单元501,具体用于针对所述L个第二文件下载指令中的任一个第二文件下载指令,将所述第二文件下载指令向对应的客户账户节点发送,以使所述客户账户节点根据所述第二文件下载指令从所述文件传输模块中下载文件分片,并对所述文件分片进行处理。
可选的,所述收发单元501,具体用于接收客户账户节点发送的文件分片下载消息;根据文件分片下载消息从所述文件传输模块中下载已处理的文件分片;将L个已处理的文件分片进行合并,并上传至所述文件传输模块;向所述外围系统发送文件处理完成消息。
可选的,所述收发单元501,用于接收开户指令;
所述处理单元503,用于根据所述开户指令,生成账户信息,并在数据库中记录所述账户信息与所述第一账户节点的关系。
可选的,还包括同步单元504,用于:
按照设定时间间隔,收集所述第一账户节点中未上传的操作数据;将所述未上传的操作数据上传至文件传输模块中,以使所述未上传的操作数据被下载并保存至总数据库中。
基于相同的原理,本发明还提供一种电子设备,如图6所示,包括:
包括处理器601、存储器602、收发机603、总线接口604,其中处理器601、存储器602与收发机603之间通过总线接口604连接;
收发机603,用于在处理器601的控制下接收第一指令;
处理器601,用于读取存储器602中的程序,执行下列方法:解析所述第一指令,确定所述第一指令涉及的标识信息;当所述第一指令涉及的标识信息还包括第二标识信息时,对所述第一指令进行处理,并根据所述第一指令生成第二指令,所述第二标识信息位于第二类节点的数据库中;
收发机603,还用于在所述处理器的控制下将所述第二指令向所述第二类节点发送,以使所述第二类节点对所述第二指令进行处理;
存储器602,用于存储一个或多个可执行程序,可以存储所述处理器在执行操作时所使用的数据;
604总线接口,提供接口,处理器负责管理总线架构和通常的处理。
其中,在图6中,总线构架可以包括任意数量的互联的总线和桥,具体由处理器601代表的一个或多个处理器和存储器602代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等 之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包括这些改动和变型在内。

Claims (25)

  1. 一种分布式系统,其特征在于,所述分布式系统包括N个节点,其中每个节点中包含一个数据库,任两个节点之间的数据库结构和参数相同,N≥2;
    将所述N个节点中的任一节点作为第一类节点,所述第一类节点用于:
    接收第一指令;
    解析所述第一指令,确定所述第一指令涉及的标识信息;
    当所述第一指令涉及的标识信息还包括第二标识信息时,对所述第一指令进行处理,并根据所述第一指令生成第二指令,所述第二标识信息位于第二类节点的数据库中;
    将所述第二指令向所述第二类节点发送,以使所述第二类节点对所述第二指令进行处理。
  2. 如权利要求1所述的系统,其特征在于,所述第一类节点为第一对象节点;所述第一对象节点用于:
    接收消息中间件发送的所述第一指令,所述第一指令中包含第一标识信息,所述第一标识信息位于所述第一对象节点的数据库中。
  3. 如权利要求2所述的系统,其特征在于,所述第一指令为报文类指令;
    所述第一对象节点具体用于:
    解析所述第一报文,确定所述第一报文的M个子流程;
    依次判断所述M个子流程对应的标识信息;
    针对对应的标识信息位于所述第一对象节点的数据库中的子流程,对所述子流程进行处理;
    针对对应的标识信息位于第二类节点的数据库中的子流程,根据所述子流程生成第二报文并向所述第二类节点发送。
  4. 如权利要求3所述的系统,其特征在于,所述第二类节点为第二对象节点;所述第一类节点具体用于:
    在预定时间段内,向所述第二对象节点发送所述第二指令。
  5. 如权利要求1所述的系统,其特征在于,所述第一类节点为第二对象节点,所述第二类节点为第一对象节点,所述第一指令为第一文件下载指令;
    所述第二对象节点具体用于:
    接收外围系统发送的所述第一文件下载指令;
    根据所述第一文件下载指令,从文件传输模块中下载总文件;
    按照所述总文件涉及的L个第一对象节点,将所述总文件进行分割,得到L份文件分片,其中一份文件分片与一个第一对象节点相对应;
    将所述L份文件上传至所述文件传输模块;
    生成L个第二文件下载指令,其中每一个第二文件下载指令与一个第一对象节点相对应;
    针对所述L个第二文件下载指令中的任一个第二文件下载指令,将所述第二文件下载指令向对应的第一对象节点发送;
    所述第一对象节点用于:
    根据所述第二文件下载指令从所述文件传输模块中下载文件分片,并对所述文件分片进行处理。
  6. 如权利要求5所述的系统,其特征在于,所述第一对象节点还用于:将已处理的文件分片上传至所述文件传输模块,并向所述第二对象节点发送文件分片下载消息;
    所述第二对象节点还用于:根据文件分片下载消息从所述文件传输模块中下载已处理的文件分片;将L个已处理的文件分片进行合并,并上传至所述文件传输模块;向所述外围系统发送文件处理完成消息。
  7. 如权利要求1至6任一项所述的系统,其特征在于,所述第一类节点,还用于:
    接收开户指令;
    根据所述开户指令,生成标识信息,并在数据库中记录所述标识信息与所述第一类节点的关系。
  8. 如权利要求1至6任一项所述的系统,其特征在于,所述第一类节点, 还用于:
    按照设定时间间隔,收集所述第一类节点中未上传的操作数据;
    将所述未上传的操作数据上传至文件传输模块中,以使所述未上传的操作数据被下载并保存至总数据库中。
  9. 一种分布式系统的数据处理方法,其特征在于,包括:
    第一类节点接收第一指令,所述第一类节点为N个节点中的任一节点,包含一个数据库,所述N个节点中的任两个节点之间的数据库结构和参数相同;
    所述第一类节点解析所述第一指令,确定所述第一指令涉及的标识信息;
    当所述第一指令涉及的标识信息还包括第二标识信息时,所述第一类节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,所述第二标识信息位于第二类节点的数据库中;
    所述第一类节点将所述第二指令向所述第二类节点发送,以使所述第二类节点对所述第二指令进行处理。
  10. 如权利要求9所述的方法,其特征在于,所述第一类节点为第一对象节点;所述第一类节点接收第一指令,包括:
    所述第一对象节点接收消息中间件发送的所述第一指令,所述第一指令中包含第一标识信息,所述第一标识信息位于所述第一对象节点中。
  11. 如权利要求10所述的方法,其特征在于,所述第一指令为报文类指令;
    所述第一类节点解析所述第一指令,确定所述第一指令涉及的标识信息,包括:
    所述第一对象节点解析所述第一报文,确定所述第一报文的M个子流程;
    所述第一对象节点依次判断所述M个子流程对应的标识信息;
    当所述第一指令涉及的标识信息还包括第二标识信息时,所述第一类节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,包括:
    针对对应的标识信息位于所述第一对象节点的数据库中的子流程,所述 第一对象节点对所述子流程进行处理;
    针对对应的标识信息位于第二类节点的数据库中的子流程,所述第一对象节点根据所述子流程生成第二报文并向所述第二类节点发送。
  12. 如权利要求11所述的方法,其特征在于,所述第二类节点为第二对象节点;所述第一类节点将所述第二指令向所述第二类节点发送,包括:
    所述第一类节点在预定时间段内,向所述第二对象节点发送所述第二指令。
  13. 如权利要求9所述的方法,其特征在于,所述第一类节点为第二对象节点,所述第二类节点为第一对象节点,所述第一指令为第一文件下载指令;
    所述第一类节点接收第一指令,包括:
    所述第二对象节点接收外围系统发送的所述第一文件下载指令;
    所述第一类节点解析所述第一指令,确定所述第一指令涉及的标识信息,包括:
    所述第二对象节点根据所述第一文件下载指令,从文件传输模块中下载总文件;
    所述第二对象节点按照所述总文件涉及的L个第一对象节点,将所述总文件进行分割,得到L份文件分片,其中一份文件分片与一个第一对象节点相对应;
    所述第二对象节点将所述L份文件上传至所述文件传输模块;
    所述当所述第一指令涉及的标识信息还包括第二标识信息时,第一类节点对所述第一指令进行处理,并根据所述第一指令生成第二指令,包括:
    所述第二对象节点生成L个第二文件下载指令,其中每一个第二文件下载指令与一个第一对象节点相对应;
    所述第一类节点将所述第二指令向所述第二类节点发送,包括:
    针对所述L个第二文件下载指令中的任一个第二文件下载指令,所述第二对象节点将所述第二文件下载指令向对应的第一对象节点发送,以使所述 第一对象节点根据所述第二文件下载指令从所述文件传输模块中下载文件分片,并对所述文件分片进行处理。
  14. 如权利要求13所述的方法,其特征在于,所述第二对象节点将所述第二文件下载指令向对应的第一对象节点发送之后,还包括:
    所述第二对象节点接收第一对象节点发送的文件分片下载消息;
    所述第二对象节点根据文件分片下载消息从所述文件传输模块中下载已处理的文件分片;
    所述第二对象节点将L个已处理的文件分片进行合并,并上传至所述文件传输模块;
    所述第二对象节点向所述外围系统发送文件处理完成消息。
  15. 如权利要求9至14任一项所述的方法,其特征在于,所述第一类节点接收第一指令之前,还包括:
    所述第一类节点接收开户指令;
    所述第一类节点根据所述开户指令,生成标识信息,并在数据库中记录所述标识信息与所述第一类节点的关系。
  16. 如权利要求9至14任一项所述的方法,其特征在于,还包括:
    所述第一类节点按照设定时间间隔,收集所述第一类节点中未上传的操作数据;
    所述第一类节点将所述未上传的操作数据上传至文件传输模块中,以使所述未上传的操作数据被下载并保存至总数据库中。
  17. 一种电子设备,其特征在于,包括:处理器、存储器、收发机、总线接口,其中处理器、存储器与收发机之间通过总线接口连接;
    所述收发机,用于在所述处理器的控制下接收第一指令;
    所述处理器,用于读取所述存储器中的程序,执行下列方法:解析所述第一指令,确定所述第一指令涉及的标识信息;当所述第一指令涉及的标识信息还包括第二标识信息时,对所述第一指令进行处理,并根据所述第一指令生成第二指令,所述第二标识信息位于第二类节点的数据库中;
    所述收发机,还用于在所述处理器的控制下将所述第二指令向所述第二类节点发送,以使所述第二类节点对所述第二指令进行处理;
    所述存储器,用于存储一个或多个可执行程序,可以存储所述处理器在执行操作时所使用的数据;
    所述总线接口,用于提供接口。
  18. 如权利要求17所述的电子设备,其特征在于,所述收发机,还用于:
    接收消息中间件发送的所述第一指令,所述第一指令中包含第一账户信息,所述第一账户信息位于所述第一客户账户节点中。
  19. 如权利要求18所述的电子设备,其特征在于,所述第一指令为报文类指令;所述处理器,具体用于:
    解析所述第一报文,确定所述第一报文的M个子流程;依次判断所述M个子流程对应的账户信息;
    针对对应的账户信息位于所述第一客户账户节点的数据库中的子流程,对所述子流程进行处理;
    针对对应的账户信息位于第二账户节点的数据库中的子流程,根据所述子流程生成第二报文并向所述第二账户节点发送。
  20. 如权利要求19所述的电子设备,其特征在于,所述收发机,还用于:
    在预定时间段内,向所述内部账户节点发送所述第二指令。
  21. 如权利要求17所述的电子设备,其特征在于,所述第一指令为第一文件下载指令;
    所述收发机,具体用于接收外围系统发送的所述第一文件下载指令;
    所述处理器,具体用于根据所述第一文件下载指令,从文件传输模块中下载总文件;按照所述总文件涉及的L个客户账户节点,将所述总文件进行分割,得到L份文件分片,其中一份文件分片与一个客户账户节点相对应;将所述L份文件上传至所述文件传输模块;生成L个第二文件下载指令,其中每一个第二文件下载指令与一个客户账户节点相对应;
    所述收发机,具体用于针对所述L个第二文件下载指令中的任一个第二 文件下载指令,将所述第二文件下载指令向对应的客户账户节点发送,以使所述客户账户节点根据所述第二文件下载指令从所述文件传输模块中下载文件分片,并对所述文件分片进行处理。
  22. 如权利要求21所述的电子设备,其特征在于,所述收发机,具体用于:
    接收客户账户节点发送的文件分片下载消息;根据文件分片下载消息从所述文件传输模块中下载已处理的文件分片;将L个已处理的文件分片进行合并,并上传至所述文件传输模块;向所述外围系统发送文件处理完成消息。
  23. 如权利要求17至22任一项所述的电子设备,其特征在于,所述收发机,具体用于接收开户指令;
    所述处理器,具体用于根据所述开户指令,生成账户信息,并在数据库中记录所述账户信息与所述第一账户节点的关系。
  24. 如权利要求17至22任一项所述的电子设备,其特征在于,所述处理器,具体用于:
    按照设定时间间隔,收集所述第一账户节点中未上传的操作数据;
    将所述未上传的操作数据上传至文件传输模块中,以使所述未上传的操作数据被下载并保存至总数据库中。
  25. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求9-16任一所述的方法。
PCT/CN2019/118182 2019-06-28 2019-11-13 一种分布式系统及数据处理方法 WO2020258666A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910579297.4 2019-06-28
CN201910579297.4A CN110287266A (zh) 2019-06-28 2019-06-28 一种分布式系统及数据处理方法

Publications (1)

Publication Number Publication Date
WO2020258666A1 true WO2020258666A1 (zh) 2020-12-30

Family

ID=68019746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118182 WO2020258666A1 (zh) 2019-06-28 2019-11-13 一种分布式系统及数据处理方法

Country Status (2)

Country Link
CN (1) CN110287266A (zh)
WO (1) WO2020258666A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287266A (zh) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 一种分布式系统及数据处理方法
CN110752969B (zh) * 2019-10-21 2021-03-16 腾讯科技(深圳)有限公司 一种性能检测方法、装置、设备及介质
CN110909060B (zh) * 2019-11-26 2023-10-03 中信银行股份有限公司 数据报送方法和系统
CN113391857A (zh) * 2021-07-12 2021-09-14 上海哔哩哔哩科技有限公司 指令处理方法及装置
CN114723540A (zh) * 2022-03-30 2022-07-08 辽宁振兴银行股份有限公司 基于存款利息计提登记簿的利息支出差额计提处理方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294728A (zh) * 2012-03-05 2013-09-11 阿里巴巴集团控股有限公司 一种数据处理方法及系统
US20140189062A1 (en) * 2012-12-28 2014-07-03 Peking University Founder Group Co., Ltd. Distributed System For Downloading Internet Information and A Method Thereof
CN104572077A (zh) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 数据库事务的处理方法及业务系统
CN109614209A (zh) * 2018-10-26 2019-04-12 阿里巴巴集团控股有限公司 一种任务处理方法、应用服务器及系统
CN110287266A (zh) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 一种分布式系统及数据处理方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294728A (zh) * 2012-03-05 2013-09-11 阿里巴巴集团控股有限公司 一种数据处理方法及系统
US20140189062A1 (en) * 2012-12-28 2014-07-03 Peking University Founder Group Co., Ltd. Distributed System For Downloading Internet Information and A Method Thereof
CN104572077A (zh) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 数据库事务的处理方法及业务系统
CN109614209A (zh) * 2018-10-26 2019-04-12 阿里巴巴集团控股有限公司 一种任务处理方法、应用服务器及系统
CN110287266A (zh) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 一种分布式系统及数据处理方法

Also Published As

Publication number Publication date
CN110287266A (zh) 2019-09-27

Similar Documents

Publication Publication Date Title
WO2020258666A1 (zh) 一种分布式系统及数据处理方法
US10552448B2 (en) Systems and methods for event driven object management and distribution among multiple client applications
CN111277639B (zh) 一种保持数据一致性的方法和装置
CN110413673B (zh) 数据库数据统一采集与分发方法及系统
CN110321339B (zh) 一种数据迁移方法、装置、设备和存储介质
CN111784329B (zh) 业务数据的处理方法和装置、存储介质、电子装置
CN112437000A (zh) 消息队列推送方法、装置、计算机设备及存储介质
CN111831461A (zh) 一种处理业务流程的方法和装置
CN114286997A (zh) Maas平台上支持大规模交易和节点归档的共用数据库体系架构
CN114422343A (zh) 业务配置方法、设备、系统及计算机可读存储介质
CN110442601A (zh) 一种Openstack镜像数据并行加速的方法和装置
CN109614271A (zh) 多个集群数据一致性的控制方法、装置、设备及存储介质
CN110381150B (zh) 区块链上的数据处理方法、装置、电子设备及存储介质
CN110807058B (zh) 一种导出数据的方法和系统
US9858321B2 (en) Accessing application services from forms
CN115984022A (zh) 分布式支付系统统一对账方法和装置
CN113837870B (zh) 金融风险数据审批方法及装置
CN112508710B (zh) 一种对账系统及相应计算机设备
US8554798B2 (en) Asynchronous state engine with plug-ins for flexible application development
CN108121730B (zh) 一种将数据更新快速同步到业务系统的装置及方法
CN112187916B (zh) 一种跨系统的数据同步方法与装置
CN115629909A (zh) 业务数据处理的方法、装置、电子设备和存储介质
CN112667393B (zh) 分布式任务计算调度框架搭建的方法、装置及计算机设备
CN114553959A (zh) 基于态势感知的云原生服务网格配置按需下发方法及应用
US20220222131A1 (en) Schema management using an event stream

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19935039

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.04.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19935039

Country of ref document: EP

Kind code of ref document: A1