Routing interaction method and system for financial data and readable storage medium

By dynamically updating routing information through the routing center and multiple routing nodes of the routing interaction system, efficient and secure transmission of financial data is achieved, solving the problems of latency, insufficient bandwidth and poor security in existing technologies. It is suitable for flexible data transmission by financial institutions and futures companies.

CN120935104APending Publication Date: 2025-11-11CICC DATA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511176398.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-21
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Existing financial data exchange methods suffer from problems such as latency, insufficient bandwidth, poor security, and lack of flexibility. In particular, they cannot meet the timeliness requirements in the case of multi-target transmission and pose a risk of data leakage.

Method used

The system employs a routing interaction system to achieve efficient and secure transmission of financial data through a routing center and multiple routing nodes. The routing nodes update routing information based on real-time connection relationships and dynamically select transmission paths, supporting data transmission in 1V1 or 1Vn formats. Clients can independently control connection permissions.

Benefits of technology

It enables flexible and efficient financial data transmission, reduces the risk of unauthorized access, minimizes latency caused by network topology changes, and ensures the security and real-time performance of data transmission, making it suitable for core business operations in complex network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935104A_ABST
    Figure CN120935104A_ABST
Patent Text Reader

Abstract

The invention discloses a financial data routing interaction method and system and a readable storage medium. Comprising the following steps: in response to a data transmission instruction of a first client, a first routing node determines a second routing node connected with a second client indicated by the data transmission instruction according to stored routing information; the first routing node sends target data indicated by the data transmission instruction to the second client according to a comparison result of the first routing node and the second routing node; wherein the routing information is updated under the condition that the connection relationship between the routing node and the client is changed. According to the method, a financial institution side and a futures company side are connected through a multi-node routing mode, so that financial data transmission of the institution side and the futures side in the form of 1V1 or 1Vn is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of financial technology, and in particular to a method, system, and readable storage medium for routing and interacting financial data. Background Technology

[0002] With economic development, the domestic financial industry has become increasingly prosperous, and data exchange between financial institutions (such as asset management companies, quantitative firms, and funds) and futures companies has experienced explosive growth. However, due to the security, confidentiality, and timeliness requirements of financial data, data is currently still transmitted one-to-one or manually to the corresponding financial institution or futures company. Commonly used data exchange methods in existing technologies mainly include:

[0003] 1. The data to be transmitted is encrypted and packaged before being sent to the agreed-upon designated email address. However, email has delays, especially when the number of recipients increases, making it unsuitable for timeliness and posing a risk of data leakage.

[0004] 2. Data can be sent via the exchange's platform. However, the bandwidth allocated to financial institutions and futures companies by the platform is uncontrollable, potentially leading to bandwidth shortages. Furthermore, financial institutions and futures companies must first complete a complex registration process with the exchange, resulting in poor flexibility. Summary of the Invention

[0005] In view of this, this application provides a method, system and readable storage medium for routing and interacting financial data, which efficiently and securely sends data to institutions and futures markets through the routing system.

[0006] According to one aspect of this application, a method for routing and interacting financial data is provided, applied to a routing interaction system, the routing interaction system including a routing center, the routing center including multiple routing nodes, the routing nodes storing routing information of the routing center, the routing information being used to indicate the connection relationship between a client and a routing node; the method includes:

[0007] In response to a data transmission command from a first client, a first routing node determines a second routing node connected to the second client indicated by the data transmission command, based on stored routing information, wherein the first routing node is the routing node connected to the first client;

[0008] Based on the comparison result between the first routing node and the second routing node, the first routing node sends the target data indicated by the data transmission instruction to the second client;

[0009] The first client and the second client are financial institutions or futures companies, and the routing information is updated when the connection relationship between the routing node and the client changes.

[0010] Optionally, the method further includes:

[0011] If the routing information does not contain a second routing node connected to the second client, the first routing node refuses to send the target data and sends a prompt message to the first client.

[0012] Optionally, the first routing node sends the target data indicated by the data transmission instruction to the second client based on the comparison result between the first routing node and the second routing node, including:

[0013] If the first routing node is the same as the second routing node, the first routing node sends the target data to the second client;

[0014] If the first routing node and the second routing node are not the same, the first routing node sends the target data and the identifier of the second client to the second routing node, so that the second routing node forwards the target data to the second client.

[0015] Optionally, the first routing node sends the target data and the identifier of the second client to the second routing node, including:

[0016] If there are multiple second routing nodes, the first routing node sends a scheduling request to the configuration unit, wherein the scheduling request carries the identifiers of multiple second routing nodes;

[0017] The configuration unit determines the data transmission delay of the second routing node based on the node traffic of the second routing node, and selects a target second routing node from multiple second routing nodes based on the data transmission delay;

[0018] The configuration unit sends the identifier of the target second routing node to the first routing node;

[0019] The first routing node sends the target data and the identifier of the second client to the target second routing node.

[0020] Optionally, the method further includes:

[0021] In response to a change in the connection relationship between the third routing node and the client, the third routing node sends the changed connection relationship between the third routing node and the client to the third client and / or the fourth routing node. The third routing node is any routing node in the routing center, the fourth routing node is any routing node in the routing center other than the third routing node, and the third client is a client connected to the third routing node whose connection relationship has not changed.

[0022] The fourth routing node updates the routing information it stores based on the changed connection relationship between the third routing node and the client, and can send the updated routing information to the client connected to the fourth routing node.

[0023] Optionally, the routing center includes a configuration unit that stores the addresses of multiple routing nodes; the method further includes:

[0024] In response to the client's address query request, the configuration unit determines the allocation priority of the routing node based on the connection status and node traffic of the routing node;

[0025] The configuration unit sends the addresses of multiple routing nodes to the client according to the allocation priority order, so that the client can establish a connection with at least one routing node based on the address of the routing node;

[0026] In response to the client establishing a connection with the routing node, the routing node sends the routing information it stores to the client.

[0027] Optionally, the method further includes:

[0028] In response to the routing center adding the routing node, the configuration unit configures a unique sequence number identifier for the newly added routing node;

[0029] The fifth routing node actively establishes a connection with the sixth routing node and refuses the sixth routing node from connecting back to the fifth routing node. The fifth routing node or the sixth routing node includes newly added routing nodes and already deployed routing nodes. The sequence number of the fifth routing node is less than or greater than the sequence number of the sixth routing node.

[0030] The configuration unit sends the address of the newly added routing node to the client that has already established a connection with the routing node.

[0031] According to another aspect of this application, a routing interaction system is provided, characterized in that the system comprises:

[0032] A routing center, comprising a configuration unit and multiple routing nodes, wherein the routing nodes store routing information of the routing center, the routing information being used to indicate the connection relationship between a client and a routing node, and the routing information being updated when the connection relationship between a routing node and a client changes;

[0033] The configuration unit is used to access the client and assign the addresses of multiple routing nodes to the client so that the client can establish a connection with at least one of the routing nodes;

[0034] After establishing a connection with the first client, the first routing node, in response to a data transmission command from the first client, determines a second routing node connected to the second client indicated by the data transmission command based on stored routing information. Then, based on a comparison between the first and second routing nodes, the first routing node sends the target data indicated by the data transmission command to the second client. Here, the first routing node is the routing node connected to the first client, and the first and second clients are either financial institutions or futures companies. The first routing node determines the travel route.

[0035] Optionally, the system includes:

[0036] A management database is used to store configuration information of the client and the routing center, and to receive real-time on-field data and off-field data from the configuration unit;

[0037] The real-time on-field data includes the configuration information that is urgently modified during system operation, and the off-field data includes dynamic data generated during system operation.

[0038] Optionally, the first routing node is further configured to refuse to send the target data and send a prompt message to the first client if there is no second routing node connected to the second client in the routing information.

[0039] Optionally, the first routing node is specifically configured to send the target data to the second client when the first routing node and the second routing node are the same; and to send the target data and the identifier of the second client to the second routing node when the first routing node and the second routing node are different, so that the second routing node forwards the target data to the second client.

[0040] Optionally, the first routing node is specifically used to send a scheduling request to the configuration unit when there are multiple second routing nodes, wherein the scheduling request carries the identifiers of multiple second routing nodes;

[0041] The configuration unit is further configured to determine the data transmission delay of the second routing node based on the node traffic of the second routing node, and filter a target second routing node from a plurality of second routing nodes based on the data transmission delay; and send the identifier of the target second routing node to the first routing node;

[0042] The first routing node is specifically used to send the target data and the identifier of the second client to the target second routing node.

[0043] Optionally, the third routing node is used to respond to a change in the connection relationship between the third routing node and the client by sending the changed connection relationship between the third routing node and the client to the third client and / or the fourth routing node, wherein the third routing node is any routing node in the routing center, the fourth routing node is any routing node in the routing center other than the third routing node, and the third client is a client connected to the third routing node and whose connection relationship has not changed;

[0044] The fourth routing node is used to update the routing information it stores based on the changed connection relationship between the third routing node and the client, and can send the updated routing information to the client connected to the fourth routing node.

[0045] Optionally, the configuration unit is specifically configured to, in response to an address query request from a client, determine the allocation priority of the routing node based on the connection status and node traffic of the routing node; and send the addresses of multiple routing nodes to the client according to the allocation priority order, so that the client establishes a connection with at least one routing node based on the address of the routing node.

[0046] The routing node is also used to send the routing information it stores to the client in response to the client establishing a connection with the routing node.

[0047] Optionally, the configuration unit is further configured to configure a unique sequence number identifier for the newly added routing node in response to the routing center adding the routing node;

[0048] The fifth routing node is used to actively establish a connection with the sixth routing node and refuse the sixth routing node from connecting back to the fifth routing node. The fifth routing node or the sixth routing node includes newly added routing nodes and deployed routing nodes. The sequence number of the fifth routing node is less than or greater than the sequence number of the sixth routing node.

[0049] The configuration unit also needs to send the address of the newly added routing node to the client that has already established a connection with the routing node.

[0050] According to another aspect of this application, a readable storage medium is provided that stores a program or instructions thereon, which, when executed by a processor, implement the steps of the above-described method for routing and interacting financial data.

[0051] According to another aspect of this application, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described financial data routing and interaction method.

[0052] Using the above technical solution, when the sender needs to send data to the receiver, both the sender and receiver only need to connect to the routing node on the system to gain data transmission permissions. The system updates routing information in real time based on changes in the connection relationship between the routing node and the client. The first routing node that has established a connection with the sender can find the second routing node connected to the receiver based on the real-time updated routing information, and send the target data to be transmitted to the receiver based on the comparison result between the first and second routing nodes. This multi-node routing approach connects the financial institution side and the futures company side, enabling 1V1 or 1Vn form financial data transmission between the institutional and futures sides. On the one hand, system connection permissions are controlled autonomously by the client. Dynamic routing between nodes isolates the transmission links of different institutions, reducing the risk of unauthorized access and avoiding the receipt or transmission of incorrect data. Moreover, when adding nodes from financial institutions or futures companies, they only need to connect to the routing node to integrate into the existing routing network without reconstructing the overall architecture. On the other hand, the routing node senses changes in the client's connection status in real time, automatically optimizes the transmission path, reduces latency caused by network topology changes, and improves data transmission efficiency. Thus, while ensuring security, flexible and efficient financial data transmission functions are achieved.

[0053] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0054] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0055] Figure 1 This paper illustrates a system architecture diagram of the financial data routing and interaction method provided in an embodiment of this application.

[0056] Figure 2 This illustration shows one of the flowcharts of the financial data routing and interaction method provided in an embodiment of this application;

[0057] Figure 3 This is a second schematic flowchart illustrating the routing and interaction method for financial data provided in an embodiment of this application;

[0058] Figure 4 This paper illustrates a schematic diagram of the connection relationship between routing nodes and clients provided in an embodiment of this application.

[0059] Figure 5 A schematic diagram of the electronic structure of a computer device provided in an embodiment of this application is shown. Detailed Implementation

[0060] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.

[0061] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0062] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this application means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “attached” to another element, it can be directly connected or attached to the other element, or there may be intermediate elements. Furthermore, “connected” or “attached” as used herein can include wireless connections or wireless interconnections. The term “and / or” as used herein includes all or any unit and all combinations of one or more associated listed items.

[0063] Exemplary embodiments according to this application will now be described in more detail with reference to the accompanying drawings. However, these exemplary embodiments may be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein. It should be understood that these embodiments are provided so that the disclosure of this application is thorough and complete, and that the concept of these exemplary embodiments is fully conveyed to those skilled in the art.

[0064] The financial data routing and interaction method provided in this embodiment of the invention can be applied to, for example... Figure 1 In this application environment, the client communicates with the routing interaction system via a network. The client can be a futures company or a financial institution (e.g., a fund institution, a financial custody structure, or an insurance institution). The routing interaction system can receive or send data to the client and stores routing configurations, account passwords, forwarding rules, and various settings for institutions and futures companies. The routing interaction system includes a routing center, which comprises multiple routing nodes and a configuration unit. The routing nodes store routing information from the routing center, which indicates the connection relationship between the client and the routing nodes. The configuration unit stores the addresses of the multiple routing nodes. The configuration unit is used for configuration modification and emergency procedures, as well as assigning routing node addresses to the client. The client can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The routing interaction system can be implemented using a standalone server or a server cluster consisting of multiple servers. The server can also be configured as a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The invention will now be described in detail through specific embodiments.

[0065] This embodiment provides a method for routing and interacting financial data, such as Figure 2 As shown, taking the client and routing interaction system as an example, the method includes:

[0066] Step 201: The first client establishes a connection with the first routing node.

[0067] In one embodiment, such as Figure 3 As shown, the first client establishes a connection with the first routing node, including the following steps:

[0068] Step 201-1: The first client sends an address query request to the configuration unit.

[0069] Step 201-2: In response to the address query request from the first client, the configuration unit determines the allocation priority of the routing node based on the connection status and node traffic of the routing node.

[0070] Understandably, the fewer clients a routing node connects to, the less traffic the node receives, and the higher its priority.

[0071] It's worth noting that, to improve address allocation efficiency, after a client successfully logs into the configuration unit, the configuration unit directly sends the addresses of each node in the routing center to the client in shuffled order. This prevents each client from connecting to the same routing node and saves time spent calculating priorities.

[0072] Step 201-3: The configuration unit sends the addresses of multiple routing nodes to the first client according to the allocation priority order.

[0073] Step 201-4: The first client establishes a connection with the first routing node based on the address of the routing node.

[0074] The number of first routing nodes can be one or more. This avoids the situation where a single routing node fails and disconnects, preventing data transmission.

[0075] In this embodiment, the configuration unit comprehensively considers the real-time connection status of routing nodes (such as online / offline, latency) and node traffic to generate an optimal node sequence rather than a single node, and feeds this sequence back to the client. This prioritizes clients to connect to different nodes, preventing each client from connecting to the same routing node, reducing the probability of hotspots, and promoting efficient resource utilization. Furthermore, since the configuration unit manages the routing node addresses, when the system dynamically adds routing nodes, it does not require updating the processes deployed on the clients, achieving seamless scaling.

[0076] Furthermore, after receiving multiple node addresses, the client can independently select the most suitable node to log in to the routing system based on its own business characteristics. This facilitates timely node switching to cope with market changes, eliminating the need for a centralized system to frequently push routing policies, reducing configuration synchronization costs and version conflict risks, and providing greater flexibility.

[0077] It should be noted that after a routing node determines that a client has established a connection with it, it sends the routing information it stores to the client. The client user can then know the connection status of other clients in a timely manner, so as to choose the client to receive data independently.

[0078] Step 202: The first client sends the data transmission instruction to the first routing node.

[0079] The data transmission instruction includes the identifier of the second client and the target data to be transmitted.

[0080] Step 203: In response to the data transmission instruction from the first client, the first routing node determines the second routing node to be connected to the second client based on the stored routing information.

[0081] In this setup, the first routing node is the one among multiple routing nodes that establishes a connection with the first client. The second routing node is the one among multiple routing nodes that establishes a connection with the second client. The first client and the second client are either financial institutions or futures companies. The first client is the sender of the data, and the second client is the receiver of the data.

[0082] For example, routing information can be stored in the routing node in the form of a table, as shown in Table 1.

[0083] Table 1

[0084]

[0085]

[0086] It's worth noting that routing information is updated when the connection between the routing node and the client changes. This ensures that the routing node can immediately confirm the connection status when the client sends or receives data, thus improving data transmission efficiency. A change in the connection between the routing node and the client can occur from client online => offline, or client offline => online.

[0087] Specifically, the routing information update method includes: in response to a change in the connection relationship between the third routing node and the client, the third routing node sends the changed connection relationship between the third routing node and the client to the third client and / or the fourth routing node; the fourth routing node updates its stored routing information based on the changed connection relationship between the third routing node and the client, and can send the updated routing information to the client connected to the fourth routing node.

[0088] The third routing node is any routing node in the routing center, the fourth routing node is any routing node in the routing center other than the third routing node, and the third client is a client connected to the third routing node and whose connection relationship remains unchanged.

[0089] In this embodiment, when a third routing node disconnects or adds a new connection to a client, the third routing node immediately sends the changed connection relationship between itself and the client to the third client it is connected to. This allows client users to be promptly informed of the access or offline status of other clients, meeting the requirement of RTO (Recovery Time Objective) < 30 seconds in financial scenarios. The third routing node also broadcasts the changed connection relationship between itself and the client to the routing center, enabling other routing nodes in the routing center to immediately update their routing tables. This achieves network-wide synchronization of routing information, avoids sending data to failed paths, reduces transmission failure rates caused by node offline, lowers service latency, and improves transmission reliability.

[0090] Understandably, if a client connection anomaly is detected (such as frequent reconnections), the routing node can mark it and notify the entire network to isolate it, preventing the spread of malicious attacks.

[0091] Step 204: Based on the comparison result between the first routing node and the second routing node, the first routing node sends the target data indicated by the data transmission instruction to the second client.

[0092] In practical application scenarios, step 204, which is the first routing node sending the target data indicated by the data transmission instruction to the second client based on the comparison result between the first routing node and the second routing node, specifically includes the following steps:

[0093] Step 204-1: If the first routing node and the second routing node are the same, the first routing node sends the target data to the second client.

[0094] It should be noted that routing nodes may fail to send data due to disconnection caused by malfunctions. Therefore, multiple routing node addresses can be configured in the client's backend program to facilitate connections to multiple routing nodes. Individual routing nodes distinguish different clients through port multiplexing (e.g., TCP Socket), virtual channels (e.g., gRPC Stream), or session IDs to ensure data isolation. When multiple clients are connected to a single routing node, the node can maintain a client connection pool by dynamically allocating resources (e.g., threads, memory) to prevent a single client from consuming excessive resources.

[0095] In this embodiment, when the first routing node and the second routing node are the same, that is, the sender and receiver access the same routing node, the data is forwarded directly within the same routing node without the need for cross-node hopping. This reduces network routing addressing time and reduces bandwidth consumption and protocol parsing overhead caused by cross-node communication. Moreover, the data only flows within a single node, physically isolating it from external network attacks, thus meeting the security and efficiency requirements of high-frequency trading (HFT) industries.

[0096] Step 204-2: If the first routing node and the second routing node are different, the first routing node sends the target data and the identifier of the second client to the second routing node.

[0097] In this embodiment, if the first routing node and the second routing node are different (i.e., the sender and receiver access different routing nodes), the first routing node sends the target data and receiver identifier to the second routing node based on a dynamic routing mechanism. This allows the second routing node to forward the target data to the second client. This enables data from different financial institutions or futures companies to be forwarded through independent routing nodes, achieving client isolation. This not only reduces the risk of unauthorized access and avoids receiving or sending incorrect data, but also allows new financial institutions or futures companies to integrate into the existing routing network simply by connecting to the new routing node, without requiring a complete architecture refactoring.

[0098] Furthermore, when there are multiple second routing nodes, step 204-2, which involves the first routing node sending the target data and the identifier of the second client to the second routing node, specifically includes: the first routing node sending a scheduling request to the configuration unit; the configuration unit determining the data transmission delay of the second routing node based on the node traffic of the second routing node, and selecting the target second routing node from multiple second routing nodes based on the data transmission delay; the configuration unit sending the identifier of the target second routing node to the first routing node; and the first routing node sending the target data and the identifier of the second client to the target second routing node.

[0099] The scheduling request carries the identifiers of multiple second routing nodes, so that the configuration unit can obtain the relevant parameters of node traffic according to the identifiers of the multiple second routing nodes.

[0100] Specifically, node traffic can be calculated based on information such as the bandwidth utilization and CPU load of the routing node.

[0101] In this embodiment, when the first routing node needs to send target data to the second client, the configuration unit determines the real-time traffic of each second routing node and calculates the latency, prioritizing the second routing node with the lowest latency as the target second routing node for forwarding data. The first routing node sends the target data and the identifier of the second client to the target second routing node, which then forwards the target data to the second client. This ensures normal data transmission while preventing some nodes from being idle while others are overloaded, guaranteeing data transmission stability. It helps achieve low-latency, high-reliability, and compliant data transmission in complex network environments, and is particularly suitable for core businesses with stringent timeliness and stability requirements such as clearing, trading, and risk control.

[0102] For example, when futures company A sends a large amount of margin data to bank B, the routing center automatically avoids the node with 80% load and selects the node with 30% load for data transmission, reducing transmission latency by more than 50%.

[0103] Step 205: If there is no second routing node connected to the second client in the routing information, the first routing node refuses to send the target data.

[0104] Step 206: The first routing node sends a prompt message to the first client.

[0105] The financial data routing and interaction method provided in this application allows the sender to transmit data to the receiver. Both the sender and receiver only need to connect to a routing node on the system to gain data transmission permissions. The system updates routing information in real time based on changes in the connection relationship between the routing node and the client. The first routing node, connected to the sender, can then locate the second routing node connected to the receiver based on the updated routing information and, according to the comparison between the first and second routing nodes, send the target data to be transmitted to the receiver. This multi-node routing method connects the financial institution and futures company sides, enabling 1V1 or 1Vn financial data transmission between them. Conversely, if no connection relationship is found between the second client and the second routing node in the routing information, it is determined that the receiver has not authorized communication, and transmission is impossible. The first routing node will refuse to send the target data and send a notification to the first client to inform the user of the reason for the data transmission failure. On the one hand, system connection permissions are controlled autonomously by the client. Dynamic routing between nodes isolates transmission links between different institutions, reducing the risk of unauthorized access and preventing the receipt or transmission of erroneous data. Furthermore, when adding nodes from financial institutions or futures companies, they only need to connect to the routing node to integrate into the existing routing network, without requiring a complete architecture refactoring. On the other hand, the routing node senses changes in client connection status in real time, automatically optimizing transmission paths to reduce latency caused by network topology changes and improve data transmission efficiency. Thus, while ensuring security, flexible and efficient financial data transmission capabilities are achieved.

[0106] For example, in the routing interaction system of this embodiment, both institutional and futures-side nodes are considered as client nodes. A routing table is maintained between the routing nodes, recording each client's login status and which routing node they are logged into. When a client forwards data, it determines whether the other party is online and which routing node to use for forwarding based on the routing node information. The routing table is updated and maintained as follows:

[0107] Rule 1: For any routing node (fifurouter), a routing table push is only triggered when the user's state changes. That is, online => offline, or offline => online. No push is sent if the user's state changes repeatedly.

[0108] Rule 2: For any client, if its status is online => online, the routing node will also push the routing table whenever the fifurouter_id it belongs to changes.

[0109] For example, user A logs into fifurouter1. At this time, fifurouter1 sets user A's status to online. Because of the change in user's online status (offline => online), a routing table push is triggered. After user A successfully logs in, fifurouter1 pushes all of its routing tables to user A, informing user A that users B and C are online in the system. If fifurouter1 is also connected to user C, fifurouter1 pushes user A's status to all other users logged into it, that is, it pushes the message "user A is online" to user C, and also pushes it to the directly connected fifurouter2 (user B).

[0110] After receiving the message from fifurouter1 that user A is online, fifurouter2 updates its routing table. Since user A's status has changed from offline to online, the message is pushed to all other users logged into fifurouter2; that is, fifurouter2 pushes the message "user A is online" to user B. The routing table result at this time is as follows: Figure 4 As shown, users A and C are connected to fifurouter1; user B is connected to fifurouter2; and fifurouter1 and fifurouter2 have established a connection.

[0111] User A is connected to fifurouter1. When user A sends data to user B, the routing table is queried and it is found that user B is logged in to fifurouter2. Therefore, fifurouter1 will accurately send the data to fifurouter2, so that fifurouter2 can send the data to user B.

[0112] When user A switches their login router node and logs into fifurouter3, the system automatically updates the routing table. At this point, when user A sends data to user B, after querying the routing table, fifurouter3 will directly send the data to the fifurouter2 node, which in turn sends the data to user B.

[0113] In one embodiment, the financial data routing interaction method further includes: a configuration unit, in response to the routing center adding a new routing node, configuring a unique sequence number identifier for the newly added routing node; the fifth routing node actively establishing a connection with the sixth routing node and rejecting the sixth routing node from connecting back to the fifth routing node; and the configuration unit sending the address of the newly added routing node to the client that has already established a connection with the routing node.

[0114] The fifth or sixth routing node includes newly added routing nodes and already deployed routing nodes, and the sequence number of the fifth routing node is less than or greater than the sequence number of the sixth routing node.

[0115] In this embodiment, whenever the routing center adds a new routing node, the configuration unit assigns a globally unique sequence number to the newly added node to ensure that there are no conflicts in the node identifiers across the entire network. Simultaneously, all routing nodes are traversed, and the node with the smaller sequence number (the fifth node) actively connects to the node with the larger sequence number (the sixth node), or vice versa. This allows newly added points to quickly access the routing network, reduces state synchronization complexity, and helps prevent broadcast storms caused by circular connections.

[0116] For example, the connection rule between nodes is that nodes with smaller sequence numbers connect to nodes with larger sequence numbers, and reverse connections are not allowed. Fifurouter1 actively connects to Fifurouter2 and Fifurouter3, Fifurouter2 actively connects to Fifurouter3, and Fifurouter3 does not actively connect to nodes 1 and 2. This topology structure ensures system stability while avoiding the burden of interconnected structures. The routing nodes will connect the institutional side and the futures side, ensuring the security and stability of data transmission.

[0117] It should be noted that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0118] Furthermore, such as Figure 1 As shown, as a specific implementation of the above-mentioned financial data routing and interaction method, this application embodiment provides a financial data routing and interaction system 1, which includes a routing center 110. The routing center 110 includes a configuration unit 111 and multiple routing nodes 112.

[0119] The routing node 112 stores the routing information of the routing center 110. The routing information is used to indicate the connection relationship between the client 120 and the routing node 112. The routing information is updated when the connection relationship between the routing node 112 and the client 120 changes. The configuration unit 111 is used to access the client 120 and assign the addresses of multiple routing nodes 112 to the client 120 so that the client 120 can establish a connection with at least one routing node 112.

[0120] Specifically, after establishing a connection with the first client, the first routing node is used to respond to the data transmission instruction of the first client, determine the second routing node connected to the second client indicated by the data transmission instruction based on the stored routing information, and send the target data indicated by the data transmission instruction to the second client based on the comparison result between the first routing node and the second routing node. Here, the first routing node is the routing node connected to the first client, and the first client and the second client are financial institutions or futures companies.

[0121] In this embodiment, when the sender needs to send data to the receiver, both the sender and receiver only need to connect to the routing node on the system to gain data transmission permission. The system updates routing information in real time based on changes in the connection relationship between the routing node and the client. The first routing node, which has established a connection with the sender, can find the second routing node connected to the receiver based on the real-time updated routing information and send the target data to be transmitted to the receiver based on the comparison result between the first and second routing nodes. This multi-node routing method connects the financial institution side and the futures company side, enabling 1V1 or 1Vn form financial data transmission between the institution side and the futures side. On the one hand, the system connection permission is controlled autonomously by the client. Dynamic routing between nodes isolates the transmission links of different institutions, reducing the risk of unauthorized access and avoiding receiving or sending incorrect data. Moreover, when adding nodes from financial institutions or futures companies, they only need to connect to the routing node to integrate into the existing routing network without reconstructing the overall architecture. On the other hand, the routing node senses changes in the client's connection status in real time, automatically optimizes the transmission path, reduces latency caused by network topology changes, and improves data transmission efficiency. Thus, while ensuring security, flexible and efficient financial data transmission functions are achieved.

[0122] Furthermore, such as Figure 1 As shown, the routing interaction system includes:

[0123] The management database 130 is used to store the configuration information of the client 120 and the routing center 110, as well as to receive real-time field data and field data from the configuration unit 111.

[0124] Real-time field data includes configuration information that is urgently modified during system operation, while field data includes dynamic data generated during system operation.

[0125] Furthermore, the first routing node is also used to refuse to send target data and send a prompt message to the first client if there is no second routing node connected to the second client in the routing information.

[0126] Furthermore, the first routing node is specifically used to send the target data to the second client when the first routing node and the second routing node are the same; and to send the target data and the identifier of the second client to the second routing node when the first routing node and the second routing node are different, so that the second routing node forwards the target data to the second client.

[0127] Furthermore, the first routing node is specifically used to send a scheduling request to the configuration unit when there are multiple second routing nodes, wherein the scheduling request carries the identifiers of multiple second routing nodes;

[0128] The configuration unit is also configured to determine the data transmission delay of the second routing node based on the node traffic of the second routing node, and to filter the target second routing node from multiple second routing nodes based on the data transmission delay; and to send the identifier of the target second routing node to the first routing node;

[0129] The first routing node is specifically used to send the target data and the identifier of the second client to the target second routing node.

[0130] Furthermore, the third routing node is used to respond to a change in the connection relationship between the third routing node and the client, and send the changed connection relationship between the third routing node and the client to the third client and / or the fourth routing node. Here, the third routing node is any routing node in the routing center, the fourth routing node is any routing node in the routing center other than the third routing node, and the third client is a client that is connected to the third routing node and whose connection relationship has not changed.

[0131] The fourth routing node is used to update its stored routing information based on the changed connection relationship between the third routing node and the client, and can send the updated routing information to the client connected to the fourth routing node.

[0132] Furthermore, the configuration unit is specifically used to respond to the client's address query request, determine the allocation priority of the routing nodes based on the connection status and node traffic of the routing nodes; and send the addresses of multiple routing nodes to the client according to the allocation priority order, so that the client can establish a connection with at least one routing node based on the address of the routing node.

[0133] The routing node is also used to send the routing information it stores to the client in response to the client establishing a connection with the routing node.

[0134] Furthermore, the configuration unit is also used to configure a unique sequence number identifier for the newly added routing node in response to the addition of a new routing node in the routing center;

[0135] The fifth routing node is used to actively establish a connection with the sixth routing node and to refuse the sixth routing node from connecting back to the fifth routing node. The fifth or sixth routing node includes newly added routing nodes and deployed routing nodes. The sequence number of the fifth routing node is less than or greater than the sequence number of the sixth routing node.

[0136] The configuration unit also needs to send the address of the newly added routing node to the client that has already established a connection with the routing node.

[0137] For specific limitations regarding the routing and interaction system for financial data, please refer to the limitations on the routing and interaction methods for financial data mentioned above, which will not be repeated here.

[0138] Based on the above, Figure 2 Accordingly, embodiments of this application also provide a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method. Figure 2 The method for routing and interacting with financial data is shown.

[0139] Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, or portable hard drive), and includes several instructions to cause a computer device (such as a personal computer, server, or network device) to execute the methods described in the various implementation scenarios of this application.

[0140] Based on the above, Figure 2 The method shown is for achieving the above objectives, such as... Figure 5 As shown in the figure, this application embodiment also provides a computer device 400, which includes a processor 401 and a memory 402. The memory 402 stores a program or instructions that can run on the processor 401. When the program or instructions are executed by the processor 401, they implement the above-mentioned... Figure 2 The method for routing and interacting with financial data is shown.

[0141] The memory 402 can be used to store software programs and various data. The memory 402 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 402 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 402 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0142] Processor 401 may include one or more processing units; optionally, processor 401 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 401.

[0143] Computer equipment can specifically include personal computers, servers, network devices, etc.

[0144] Optionally, the computer device may also include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, input units such as a keyboard, etc., and optional user interfaces may also include USB interfaces, card reader interfaces, etc. The network interface may optionally include standard wired interfaces, wireless interfaces (such as Bluetooth interfaces, Wi-Fi interfaces), etc.

[0145] Those skilled in the art will understand that the computer device structure provided in this embodiment does not constitute a limitation on the computer device, and may include more or fewer components, or combine certain components, or have different component arrangements.

[0146] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes shown in the drawings are not necessarily essential for implementing this application. Those skilled in the art will understand that the modules in the apparatus of the embodiment can be distributed within the apparatus of the embodiment as described, or can be modified to be located in one or more apparatuses different from this embodiment. The modules of the above-described embodiment can be combined into one module, or further divided into multiple sub-modules.

[0147] The serial numbers in this application are for descriptive purposes only and do not represent the superiority or inferiority of any particular implementation scenario. The above disclosures are merely a few specific implementation scenarios of this application; however, this application is not limited thereto, and any variations conceived by those skilled in the art should fall within the protection scope of this application.

Claims

1. A method for routing and interacting financial data, applied to a routing and interacting system, characterized in that, The routing interaction system includes a routing center, which includes multiple routing nodes and a configuration unit. The routing nodes store routing information from the routing center, and this routing information is used to indicate the connection relationship between the client and the routing nodes. The method includes: In response to a data transmission command from a first client, a first routing node determines a second routing node connected to the second client indicated by the data transmission command, based on stored routing information, wherein the first routing node is the routing node connected to the first client; Based on the comparison result between the first routing node and the second routing node, the first routing node sends the target data indicated by the data transmission instruction to the second client; The first client and the second client are financial institutions or futures companies, and the routing information is updated when the connection relationship between the routing node and the client changes.

2. The financial data routing and interaction method according to claim 1, characterized in that, The method further includes: If the second routing node connected to the second client is not found in the routing information, the first routing node refuses to send the target data and sends a prompt message to the first client.

3. The financial data routing and interaction method according to claim 1, characterized in that, Based on the comparison result between the first routing node and the second routing node, the first routing node sends the target data indicated by the data transmission instruction to the second client, including: If the first routing node and the second routing node are the same, the first routing node will send the target data to the second client; If the first routing node and the second routing node are different, the first routing node sends the target data and the identifier of the second client to the second routing node, so that the second routing node forwards the target data to the second client.

4. The financial data routing and interaction method according to claim 3, characterized in that, The first routing node sends the target data and the identifier of the second client to the second routing node, including: When there are multiple second routing nodes, the first routing node sends a scheduling request to the configuration unit, wherein the scheduling request carries the identifiers of multiple second routing nodes; The configuration unit determines the data transmission delay of the second routing node based on the node traffic of the second routing node, and selects a target second routing node from multiple second routing nodes based on the data transmission delay; The configuration unit sends the identifier of the target second routing node to the first routing node; The first routing node sends the target data and the identifier of the second client to the target second routing node.

5. The financial data routing and interaction method according to claim 1, characterized in that, The method further includes: In response to a change in the connection relationship between the third routing node and the client, the third routing node sends the changed connection relationship between the third routing node and the client to the third client and / or the fourth routing node. The third routing node is any routing node in the routing center, the fourth routing node is any routing node in the routing center other than the third routing node, and the third client is a client connected to the third routing node whose connection relationship has not changed. The fourth routing node updates the routing information it stores based on the changed connection relationship between the third routing node and the client, and can send the updated routing information to the client connected to the fourth routing node.

6. The method for routing and interacting financial data according to any one of claims 1 to 5, characterized in that, The configuration unit stores the addresses of multiple routing nodes; the method further includes: In response to the client's address query request, the configuration unit determines the allocation priority of the routing node based on the connection status and node traffic of the routing node; The configuration unit sends the addresses of multiple routing nodes to the client according to the allocation priority order, so that the client can establish a connection with at least one routing node based on the address of the routing node; In response to the client establishing a connection with the routing node, the routing node sends the routing information it stores to the client.

7. The method for routing and interacting financial data according to any one of claims 1 to 5, characterized in that, The method further includes: In response to the routing center adding the routing node, the configuration unit configures a unique sequence number identifier for the newly added routing node; The fifth routing node actively establishes a connection with the sixth routing node and refuses the sixth routing node from connecting back to the fifth routing node. The fifth routing node or the sixth routing node includes newly added routing nodes and already deployed routing nodes. The sequence number of the fifth routing node is less than or greater than the sequence number of the sixth routing node. The configuration unit sends the address of the newly added routing node to the client that has already established a connection with the routing node.

8. A routing interaction system, characterized in that, The system includes: A routing center, comprising a configuration unit and multiple routing nodes, wherein the routing nodes store routing information of the routing center, the routing information being used to indicate the connection relationship between a client and a routing node, and the routing information being updated when the connection relationship between a routing node and a client changes; The configuration unit is used to access the client and assign the addresses of multiple routing nodes to the client so that the client can establish a connection with at least one of the routing nodes; After establishing a connection with the first client, the first routing node is used to respond to the data transmission instruction of the first client, determine the second routing node connected to the second client indicated by the data transmission instruction based on the stored routing information, and send the target data indicated by the data transmission instruction to the second client based on the comparison result between the first routing node and the second routing node. The first routing node is the routing node connected to the first client, and the first client and the second client are financial institutions or futures companies.

9. The routing interaction system according to claim 8, characterized in that, The system includes: The management database is used to store the configuration information of the client and the routing center, and to receive real-time on-field and off-field data from the configuration unit; The real-time on-field data includes the configuration information that is urgently modified during system operation, and the off-field data includes dynamic data generated during system operation.

10. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the steps of the financial data routing and interaction method as described in any one of claims 1 to 7.