Foreign exchange data processing method and device, storage medium and electronic equipment
By receiving and processing foreign exchange transaction requests in the communication server of financial institutions, and using intelligent dynamic routing technology to select the optimal network transmission path, the problem of foreign exchange transaction request delay caused by the distribution range of financial institutions is solved, and transaction efficiency and security are improved.
Patent Information
- Application Number
- CN202411917890.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-08
AI Technical Summary
Due to the wide distribution range of financial institutions, the processing time of foreign exchange transaction requests is extended, affecting transaction efficiency and success rate.
Receive foreign exchange transaction requests through the communication server of the first financial institution, and select the optimal path among multiple network transmission paths, send the request to the target communication server based on the target transmission path, realizing intelligent dynamic routing.
It improves the speed and security of foreign exchange transaction request processing, reduces transaction delay, and enhances the response speed and user experience of the trading system.
Smart Images

Figure CN119788603A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and specifically, to a foreign exchange data processing method, device, storage medium and electronic device. Background Art
[0002] In the financial field, the foreign exchange market is experiencing an unprecedented expansion. Not only is the market size expanding rapidly, but the number of market participants has also increased significantly. This has directly led to a surge in foreign exchange trading volume, and foreign exchange trading has become a transaction involving huge amounts of money and complex operations. The foreign exchange market is similar to the stock market. Exchange rates fluctuate frequently and rapidly. This ever-changing nature requires that the transmission of foreign exchange trading data must be extremely efficient and fast. Especially in the current trading model, market makers obtain real-time quotes from the foreign exchange trading center, set quotation rules, and then quickly push quotation information back to the trading center so that members can click on the quotation to complete the transaction immediately. However, this process places extremely stringent requirements on the security, efficiency, and response speed of data transmission.
[0003] Faced with this challenge, current financial institutions such as banks have branches and outlets spread across various regions, forming a distributed network. Banks' application servers are also deployed in various places. However, there is often only one foreign exchange trading center, which means that the communication between the foreign exchange application servers of a large number of bank branches and the trading center needs to rely on the Internet. In the Internet environment, due to the differences in network environments in different regions, real-time data transmission has serious network delay problems. In other words, in the existing foreign exchange trading scenario, due to the wide distribution of financial institutions, the processing of foreign exchange requests is extended, which in turn causes low foreign exchange trading efficiency and even prone to transaction failures.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The present application provides a foreign exchange data processing method, device, storage medium and electronic device to at least solve the technical problem of prolonged foreign exchange transaction request processing time due to the wide distribution of financial institutions in existing foreign exchange transaction scenarios.
[0006] According to one aspect of the present application, a foreign exchange data processing method is provided, comprising: receiving a foreign exchange transaction request of a user terminal device through a first communication server of a first financial institution, wherein the first financial institution is a foreign exchange transaction agency of a target financial institution, and the target financial institution is a financial institution that centrally processes all foreign exchange transaction requests; in the case where there are multiple network transmission paths between the first communication server and a target communication server of the target financial institution, determining a target transmission path between the first communication server and the target communication server according to a shared traffic rate of a data link between the first communication server and the target communication server and a search process for the network transmission path; and sending the foreign exchange transaction request to the target communication server based on the target transmission path through the first communication server.
[0007] According to another aspect of the present application, a foreign exchange data processing device is also provided, including: a receiving unit, which receives a foreign exchange transaction request of a user terminal device through a first communication server of a first financial institution, wherein the first financial institution is a foreign exchange transaction agency of a target financial institution, and the target financial institution is a financial institution that centrally processes all foreign exchange transaction requests; a determining unit, which determines a target transmission path between the first communication server and the target communication server of the target financial institution according to a shared traffic rate of a data link between the first communication server and the target communication server and a search process of a network transmission path when there are multiple network transmission paths between the first communication server and the target communication server of the target financial institution; and a sending unit, which sends the foreign exchange transaction request to the target communication server through the first communication server based on the target transmission path.
[0008] According to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored executable program, wherein when the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned foreign exchange data processing method.
[0009] According to another aspect of the present application, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the above-mentioned foreign exchange data processing method is executed when the program is running.
[0010] According to another aspect of the present application, a computer program product is also provided, comprising computer instructions, which implement the steps of the above-mentioned foreign exchange data processing method when executed by a processor.
[0011] In the present application, firstly, a foreign exchange transaction request of a user terminal device is received through a first communication server of a first financial institution, wherein the first financial institution is a foreign exchange transaction agency of a target financial institution, and the target financial institution is a financial institution that centrally processes all foreign exchange transaction requests. Secondly, when there are multiple network transmission paths between the first communication server and the target communication server of the target financial institution, the target transmission path between the first communication server and the target communication server is determined according to the shared flow rate of the data link between the first communication server and the target communication server and the search process of the network transmission path. Then, the foreign exchange transaction request is sent to the target communication server through the first communication server based on the target transmission path, that is, through the intelligent dynamic routing selection method, the purpose of quickly responding to the user's foreign exchange transaction request is achieved, thereby achieving the technical effect of greatly improving the processing speed and security of foreign exchange transaction requests, and further solving the technical problem of prolonged foreign exchange transaction request processing time due to the wide distribution of financial institutions in existing foreign exchange transaction scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0013] Figure 1-1 is a flowchart 1 of an optional foreign exchange data processing method according to an embodiment of the present application;
[0014] Figure 1-2 is an optional foreign exchange trading system connection diagram according to an embodiment of the present application;
[0015] Figure 1-3 is an optional foreign exchange trading system structure diagram according to an embodiment of the present application;
[0016] Figure 2 is a schematic diagram of an optional bank foreign exchange application server structure according to an embodiment of the present application;
[0017] Figure 3 is a schematic diagram of an optional customer foreign exchange transaction terminal structure according to an embodiment of the present application;
[0018] Figure 4 is a schematic diagram of an optional bank communication server according to an embodiment of the present application;
[0019] Figure 5 is a flow chart of an optional routing management module processing data according to an embodiment of the present application;
[0020] Figure 6This is a flow chart of an optional foreign exchange data processing method according to an embodiment of the present application. Figure 2 ;
[0021] Figure 7 It is a schematic diagram of an optional foreign exchange data processing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] It should be noted that the collected information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this application are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with relevant laws, regulations and standards, necessary confidentiality measures are taken, and public order and good customs are not violated, and corresponding operation entrances are provided for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or institutions to provide users with corresponding operation entrances for users to choose to agree or refuse the results of automated decision-making; if the user chooses to refuse, the expert decision-making process will be entered.
[0025] It should be noted that an intelligent processing system can be used as the execution subject of the foreign exchange data processing method of the embodiment of the present application. It is understandable that the foreign exchange data processing method provided in the embodiment of the present application can also be executed by other systems or devices, and the embodiment of the present application does not specifically limit this.
[0026] According to an embodiment of the present application, a method embodiment of a foreign exchange data processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] Figure 1-1 is a flowchart of an optional foreign exchange data processing method according to an embodiment of the present application, such as Figure 1-1 As shown, the method comprises the following steps:
[0028] Step S101: receiving a foreign exchange transaction request from a user terminal device through a first communication server of a first financial institution.
[0029] In step S101, the first financial institution is a foreign exchange transaction agency of a target financial institution, and the target financial institution is a financial institution that centrally processes all foreign exchange transaction requests.
[0030] Optionally, the first financial institution (which may refer to a bank branch) serves as a foreign exchange transaction agent of the target financial institution and is responsible for receiving foreign exchange transaction requests submitted by customers.
[0031] Optionally, the target financial institution refers to a foreign exchange transaction center, which centrally processes all foreign exchange transaction requests from various branches.
[0032] Optionally, the first communication server refers to a communication server of a first financial institution. For example, the communication server of branch A of bank is used as the first communication server, responsible for data exchange with the customer's foreign exchange trading terminal, the communication servers of other branches, and the communication server of the city where the foreign exchange trading center is located.
[0033] Optionally, the foreign exchange transaction request includes specific information of the foreign exchange transaction that the customer needs to conduct, such as the type, quantity, price, etc. of the currency to be purchased or sold.
[0034] Optionally, the bank's branch communication server is responsible for data exchange with other branch communication servers, and the bank branch communication server in the city where the foreign exchange trading center is located also needs to exchange data with the foreign exchange trading center application server. This server is responsible for establishing a secure channel with other branch communication servers for secure data transmission. A data routing module is deployed on the communication server. The data transmission module adopts a load-optimized low-latency network control strategy training method, fully considering the impact of traffic rate, load and time window on routing selection. On the basis of the ant colony algorithm, a penalty function is added to optimize the congestion control of the traffic rate, overload, and the volatilization state of pheromones under the time window transmission conditions, effectively improving the stability, timeliness and security of the system.
[0035] Step S102, when there are multiple network transmission paths between the first communication server and the target communication server of the target financial institution, the target transmission path between the first communication server and the target communication server is determined based on the shared traffic rate of the data link between the first communication server and the target communication server and the search process of the network transmission path.
[0036] Optionally, since the first communication server (such as the communication server of Branch A) and the target communication server (the communication server of the foreign exchange trading center) are connected through the bank's internal dedicated optical fiber network, there may be multiple possible data transmission paths in the network. Therefore, the intelligent processing system will calculate the shared traffic rate of each link, which reflects the real-time bandwidth utilization and data transmission rate of the link, and determine the target transmission path between the first communication server and the target communication server based on the shared traffic rate of the data link between the first communication server and the target communication server and the search process of the network transmission path.
[0037] Optionally, the target communication server is a communication server of the target financial institution (foreign exchange trading center), which is directly connected to the application server of the foreign exchange trading center for data exchange. It is located in the same city as the application server of the foreign exchange trading center and is directly connected to receive and process transaction requests from other branches.
[0038] Optionally, the search process of the network transmission path uses the ant colony optimization (ACO) algorithm and the rate control protocol (RCP) algorithm to dynamically evaluate and select the best path in the network. The ACO algorithm optimizes the path by simulating the process of ant colonies looking for food, while the RCP is used to dynamically allocate link capacity to avoid congestion.
[0039] Step S103, sending the foreign exchange transaction request to the target communication server through the first communication server based on the target transmission path.
[0040] Optionally, the intelligent processing system sends the foreign exchange transaction request to the target communication server through the first communication server based on the determined target transmission path.
[0041] Optionally, Figure 1-2 is an optional foreign exchange trading system connection diagram according to an embodiment of the present application, such as Figure 1-2As shown, the connection diagram includes: A bank node server, B bank node server, C bank node server, D bank node server, E bank node server, multiple customer transaction terminals, foreign exchange trading center node server, and management client. Among them, A bank node server, B bank node server, C bank node server, D bank node server, E bank node server, multiple customer transaction terminals, foreign exchange trading center node server, and management client are all connected to each other and can communicate.
[0042] Optionally, Figure 1-3 is an optional foreign exchange trading system structure diagram according to an embodiment of the present application, such as Figure 1-3 As shown, the schematic diagram includes a bank system (including different types of customer foreign exchange trading terminals 1, bank A branch foreign exchange application server 2, bank A branch communication server), bank internal data network 3 (composed of multiple bank branch communication servers, including bank A branch communication server, bank B branch communication server, bank C branch communication server, bank D branch communication server), foreign exchange trading center system (including foreign exchange trading center application server, foreign exchange trading center work terminal), etc. Among them, each bank branch communication server is interconnected with other branch communication servers, that is, bank A branch communication server is connected with bank B branch communication server, bank C branch communication server, bank D branch communication server, and other branch communication servers are similar. The foreign exchange application server and communication server of bank D branch are deployed in the same city as the foreign exchange trading center application server, and their physical distance is the shortest. The foreign exchange application servers and communication servers of branches A, B, and C are deployed locally at the location of the branch. Among them, the bank's customer foreign exchange trading terminal 1 is connected to the foreign exchange application server 2 of the bank's account opening branch (such as the foreign exchange application server of Bank A Branch) through a wired or wireless network, the foreign exchange application server of Bank A Branch is connected to the communication server of Bank A Branch for communication, the communication server of Bank A Branch communicates with the communication servers of other branches, and the communication server of Bank D Branch is connected to the application server of the foreign exchange trading center, and the application server of the foreign exchange trading center is connected to the working terminal of the foreign exchange trading center. That is, the communication between the bank branch and the foreign exchange trading center is realized through this connection method.
[0043] The foreign exchange application server of a bank branch is connected to the communication server of the branch; the communication servers of each bank branch are connected in pairs through the bank's internal dedicated optical fiber to form the bank's internal data network; the application server of the foreign exchange trading center is connected to the communication server of the bank branch in the city where the foreign exchange trading center is located through a wired network.
[0044] It can be seen from the contents of step S101 to step S103 that in the present application, firstly, a foreign exchange transaction request of a user terminal device is received through a first communication server of a first financial institution, wherein the first financial institution is a foreign exchange transaction agency of a target financial institution, and the target financial institution is a financial institution that centrally processes all foreign exchange transaction requests. Secondly, when there are multiple network transmission paths between the first communication server and the target communication server of the target financial institution, the target transmission path between the first communication server and the target communication server is determined according to the shared flow rate of the data link between the first communication server and the target communication server and the search process of the network transmission path. Then, the foreign exchange transaction request is sent to the target communication server through the first communication server based on the target transmission path, that is, through the intelligent dynamic routing selection method, the purpose of quickly responding to the user's foreign exchange transaction request is achieved, thereby achieving the technical effect of greatly improving the processing speed and security of foreign exchange transaction requests, and further solving the technical problem of prolonged foreign exchange transaction request processing time due to the wide distribution of financial institutions in the existing foreign exchange transaction scenario.
[0045] In an optional embodiment, the intelligent processing system first obtains the quotation information of the currency pair from the target application server of the target financial institution through the first communication server, wherein the quotation information includes the quotation type, quotation date and current quotation of the currency pair, and the current quotation is determined by the foreign exchange quotation system according to the current market exchange rate of the currency pair. Then, the quotation information of the currency pair is sent to the first application server of the first financial institution through the first communication server, and then the final quotation information returned by the first application server is received through the first communication server, wherein the final quotation information is the quotation information adjusted by the first application server based on the quotation information of the currency pair. Finally, the final quotation information is sent to the user terminal device through the first communication server, and the foreign exchange transaction request generated by the user terminal device based on the final quotation information is received.
[0046] Optionally, the intelligent processing system first obtains the quotation information of the currency pair from the target application server of the target financial institution through the first communication server. The purpose of this step of obtaining the quotation information is to ensure that the bank application server can grasp the latest market dynamics in real time so as to provide customers with the most accurate exchange rate data. Then, the intelligent processing system sends the quotation information of the currency pair to the first application server (for example, the foreign exchange application server of the branch A) of the first financial institution (for example, the branch A) through the first communication server. Then, the intelligent processing system receives the final quotation information returned by the first application server through the first communication server. This receiving and sending process is completed through a secure internal bank data network, ensuring the security and reliability of the information. After the final quotation information is transmitted back to the first communication server, it is sent to the user terminal device. After the user terminal device receives the final quotation information, it generates a corresponding foreign exchange transaction request based on this information.
[0047] Optionally, the bank's foreign exchange application server is responsible for receiving foreign exchange transaction request data submitted by foreign exchange customers through the customer's foreign exchange transaction terminal, the transaction request data includes query transactions or foreign exchange purchase and sale request transactions, and submits the foreign exchange transaction request data to the foreign exchange transaction center application server through the communication server. Responsible for periodically (for example, 10 seconds) to the foreign exchange transaction center application server to obtain and store the current quotation information of currency pairs. In order to reduce the risk of bank transactions, the bank's buying price and bank's selling price are set. The bank's buying price refers to the price at which the market is prepared to buy a certain currency in a foreign exchange transaction contract or a cross currency transaction contract, which is usually calculated based on the buying exchange rate. The selling price is the price applicable when the foreign exchange bank sells foreign exchange to peers or customers, which is usually calculated based on the selling exchange rate.
[0048] Optionally, the foreign exchange trading center application server is deployed in the foreign exchange trading center, receives foreign exchange trading requests from various banks, matches transactions on the international foreign exchange trading platform, and feeds back the results of the matching transactions to the initiator of the foreign exchange transaction.
[0049] Optionally, Figure 2 is a schematic diagram of an optional bank foreign exchange application server structure according to an embodiment of the present application, such as Figure 2As shown, the bank foreign exchange application server includes: parameter configuration module 21, foreign exchange quotation information synchronization module 22, foreign exchange bank price generation module 23, foreign exchange transaction processing module 24, and communication module 25. Among them, the parameter configuration module 21 is responsible for configuring the transaction submission concurrent parameters, foreign exchange quotation information synchronization cycle, reconciliation batch time, bank buying price premium ratio, bank selling price premium ratio and other parameters, and the concurrent parameters include: configuration process data, maximum number of connections and timeout time, etc.; the foreign exchange quotation information synchronization module 22 is responsible for updating the cycle parameters according to the data in the parameter configuration module, regularly obtaining the current quotation information of the currency pair from the foreign exchange transaction center application server, and updating and storing it in the bank application server data, wherein the current quotation information includes the quotation type, currency pair, quotation date and current quotation of the currency pair, and the current quotation is determined by the quotation system according to the current market exchange rate of the currency pair obtained; the foreign exchange bank price generation module 23 is responsible for updating the bank buying information according to the parameter configuration module. The market exchange rate obtained from the foreign exchange trading center application server is calculated based on parameters such as the price premium ratio, the bank selling price premium ratio, etc., to generate the bank buying price and the bank selling price of the bank foreign exchange transaction, and display them on the customer terminal; the foreign exchange transaction processing module 24 is responsible for processing the foreign exchange transaction request data sent by the customer's foreign exchange transaction terminal, and after registering the transaction registration book, the transaction request data is sent to the foreign exchange trading center application server through the bank's communication server, and the transaction result data returned by the foreign exchange trading center application server is received, and the effective foreign exchange transaction is determined to be successful, and the transaction log of the customer corresponding to the successful transaction is generated, and the customer account is settled to complete the account deduction and account entry; the communication module 25 is responsible for the communication encryption and data interaction between the bank's foreign exchange application server and the branch communication server.
[0050] From the above content, it can be seen that the intelligent processing system realizes the real-time acquisition, local adjustment and sending of quotation information to the user terminal device through the first communication server in the data transmission network, thereby ensuring the timeliness and security of foreign exchange transactions.
[0051] In an optional embodiment, the intelligent processing system receives the foreign exchange transaction approval result returned by the target communication server based on the first transmission path through the first communication server, wherein the first transmission path is the network transmission path determined by the target communication server when sending the foreign exchange transaction approval result based on the shared traffic rate of the data link and the search process of the network transmission path, and the foreign exchange transaction approval result is the approval result made by the target application server corresponding to the target communication server for the foreign exchange transaction request, and then the foreign exchange transaction approval result is sent to the user terminal device through the first communication server.
[0052] Optionally, the intelligent processing system receives the foreign exchange transaction approval result returned by the target communication server based on the first transmission path through the first communication server, wherein the first transmission path is the optimal network transmission path dynamically determined by the target communication server when sending the approval result according to the shared flow rate of the current data link and the search process of the network transmission path, and then sends the foreign exchange transaction approval result to the user terminal device through the first communication server. This process ensures that the user's terminal device can receive the transaction result immediately.
[0053] Optionally, the user terminal device (customer foreign exchange trading terminal) can be the customer's smart phone, tablet computer, laptop or any other device that can access the banking system. It is responsible for providing users with terminal security registration, foreign exchange quotation information query, foreign exchange buying and selling transaction application and other services, and encrypting and decrypting transaction request data.
[0054] Optionally, the foreign exchange transaction approval result includes the approval result made by the target application server corresponding to the target communication server, that is, the foreign exchange transaction center application server, for the foreign exchange transaction request. This may include key information such as whether the transaction is successful, the transaction amount, and the exchange rate. The purpose of receiving the foreign exchange transaction approval result is to enable the bank branch to understand the status of the transaction in a timely manner and conduct subsequent account processing and customer notification.
[0055] From the above content, it can be seen that the intelligent processing system efficiently and securely receives and forwards foreign exchange transaction approval results through optimized network transmission paths, thereby achieving rapid response and confirmation of foreign exchange transactions. This process not only ensures that the transaction approval results can reach the bank branch in a timely manner, but also ensures the secure transmission of information, avoiding network delays and potential transmission risks.
[0056] In an optional embodiment, the intelligent processing system sends a communication encryption protocol to the user's user terminal device through the first communication server, wherein the communication encryption protocol is used to generate a registration account, key information bound to the user, and a personal digital certificate for the user based on the user information provided by the user; after the registration account is generated, a master key, a user key, and a public key corresponding to the registration account are generated, and then the foreign exchange transaction request encrypted by the user terminal device based on the communication encryption protocol is received through the first communication server.
[0057] Optionally, the intelligent processing system sends a communication encryption protocol to the user's user terminal device through the first communication server. It is used to generate a registered account, key information bound to the registered account, and a personal digital certificate for the user based on the user information provided by the user, such as name, ID number, contact information, etc. After generating the registered account, the intelligent processing system generates a master key, user key, and public key corresponding to the registered account. The master key (M) is a high-level key used in the system to encrypt and decrypt data. It is generated and stored in the first communication server after the user successfully registers. The user key is combined with the master key to encrypt and decrypt transaction data on the user terminal device. The public key (PK) is open to the public and is used to verify the authenticity of the user's digital certificate and the transmission of encrypted data to ensure the integrity of the data during the transmission process. The generation of the key ensures that the data of each transaction request can be securely encrypted. At the same time, the binding of the user's private key and public key also makes the decryption of the transaction data only possible on the authorized device. Then, the intelligent processing system receives the foreign exchange transaction request encrypted by the user terminal device based on the communication encryption protocol through the first communication server.
[0058] Optionally, before submitting the foreign exchange transaction request, the user terminal device will use the key information generated during the registration process to encrypt the request data to ensure the privacy and security of the transaction request. The encrypted transaction request data is sent to the first communication server through the user terminal device. After receiving the encrypted data, the server will forward it to the corresponding bank application server for further processing, such as transaction registration, price calculation and transaction matching.
[0059] From the above content, it can be seen that the intelligent processing system ensures that the foreign exchange transaction request is both safe and private during the transmission between the user's terminal device and the bank through the communication encryption protocol. By generating key information and digital certificates bound to the user's registered account, the intelligent processing system provides users with the ability to encrypt and decrypt data, protects the integrity and confidentiality of transaction requests, and also provides a basis for security verification for subsequent transaction processing. This process not only strengthens the security of the system, but also improves the efficiency of data processing.
[0060] In an optional embodiment, the intelligent processing system first obtains the generator and order of the bijective group, wherein the generator represents the set of elements that generate the entire bijective group, and the order represents the total number of elements in the bijective group, and then randomly selects a first value, a second value, and a third value, wherein the first value, the second value, and the third value are different values, and then generates a master key based on the first value, the second value, and the generator, and then generates a user key based on the generator, the third value, and the first value, and finally generates a public key based on the generator, the order, the first value, and the second value.
[0061] Optionally, the intelligent processing system obtains the generator and order of the bijective group, wherein, in cryptography, the bijective group refers to a structure in which each element has a unique inverse element. The generator is a special element in the bijective group that can generate all elements of the entire group, and the order is the total number of elements in the bijective group, which is usually a prime number, ensuring the periodicity and security of the group. Then three values are randomly selected. In the encryption algorithm, the selection of random numbers is crucial. They are usually used to generate keys to improve the security of the system. The first value, the second value, and the third value are different values. Then, a master key is generated based on the first value, the second value, and the generator. The master key is the most important key in the entire system and is used to generate other keys and decrypt data. Subsequently, a user key is generated based on the generator, the third value, and the first value. The user key is a key bound to each user account and is used to encrypt and decrypt the user's data. Finally, a public key is generated based on the generator, the order, the first value, and the second value. The public key is a key used to encrypt data and verify digital signatures. It can be used in pairs with a private key, but the public key itself can be made public.
[0062] Optionally, Figure 3 is a schematic diagram of an optional client foreign exchange transaction terminal structure according to an embodiment of the present application, such as Figure 3 As shown in FIG. 3 , the structure diagram includes: user registration module 31, key generation module 32, foreign exchange inquiry transaction module 33, and foreign exchange transaction request module 34. Among them, the user registration module 31 is responsible for providing an interface and an interface for bank customers to register on the system to obtain a bank user identity. When registering, it is necessary to submit personal identity information. After successful registration, relevant keys and personal digital certificates are downloaded to ensure data security during the transaction process; the key generation module 32 is responsible for generating a master key M for the customer after the application customer registration is successful. k and user key S k , the specific generation method is as follows:
[0063] Step 1: After the application customer successfully registers, the system submits a request to initialize security parameters;
[0064] Step 2: After receiving the request, the client calls the key initialization module setup to generate the master key; then calls the key generation module to generate the key S k The specific steps are as follows:
[0065] (1) Initialization (Setup): The setup module selects a bijective group G0, whose generator is g and whose order is a prime number p. p Randomly select two random numbers α, β∈Z p As the exponent, the master key M is obtained based on the random numbers α, β and the generator g. k, the calculation method is shown in formula (1), and the public key PK is represented as a tuple as shown in formula (2):
[0066] M k =(β,g α ) (1)
[0067]
[0068] Among them, DID H ∈DID represents the DID (digital identity) of the owner of the digital file, and e(g,g) is a value calculated on the generator (g) using a bilinear map (e).
[0069] (2) Generate key S k : Supplementary input parameters, expressed as keyGen(M k ,S), where M k is the primary key, S is the attribute set, and the value generated by this function is the key S k , the key is expressed as shown in formula (3):
[0070]
[0071] Where r∈Z p is a random number. For each attribute j∈S, r j ∈Z p is a random number, is a hash function used to convert attribute j into a fixed-length value, r j is a random number associated with attribute j and used to generate the attribute-related key part.
[0072] Step 3: Call the encryption algorithm to initialize security parameters.
[0073] Step 4: Perform the evidence storage process to store the user's public key and master key.
[0074] Step 5: Digital identity DID, master key M k , the user's public key PK is stored, and the following encryption function is executed to encrypt the symmetric key to generate the symmetric key pk b The ciphertext And return to the user, the ciphertext is represented as shown in formula (4):
[0075]
[0076] Among them, Encry is an encryption function used to encrypt plaintext data into ciphertext, sk b Represents the user's private key.
[0077] Step 6: Send the security parameters back to the client, store the symmetric private key locally, and return a message indicating that the security parameters have been successfully initialized.
[0078] The foreign exchange inquiry transaction module 33 is responsible for submitting a foreign exchange real-time quotation inquiry transaction request to the bank's foreign exchange application server, and the bank's foreign exchange application server obtains and stores the current quotation information of the currency pair from the foreign exchange transaction center node server; wherein, the current quotation information includes the quotation type, currency pair, quotation date and current quotation of the currency pair, and the current quotation is determined by the quotation system according to the current market exchange rate of the currency pair obtained; the currency pair is a foreign exchange transaction exchange rate composed of two currencies, which is represented by two ISO codes (ISO countrycode) plus a separator, such as EUR (Euro) / USD (US Dollar), wherein the first ISO code (such as EUR) represents the "base currency" and the other ISO code (such as USD) represents the "secondary currency". EUR / USD is 1.2500, which means that 1 Euro can be bought with 1.25 US dollars; the foreign exchange transaction request module 34 is responsible for submitting a foreign exchange purchase and sale transaction request to the bank's foreign exchange application server, and the request data at least includes the type, quantity, price, etc. of the foreign exchange to be purchased or sold.
[0079] From the above content, it can be seen that the intelligent processing system provides a key generation mechanism based on bijective group theory, which ensures the security and uniqueness of the entire key system from master key, user key to public key. By selecting the generator and order, and then randomly generating the first value, the second value and the third value, the present invention can create a set of secure key pairs for encrypting and decrypting user data, and protecting the security of the entire data transmission process.
[0080] In an optional embodiment, the intelligent processing system determines the shared traffic rate of the data link between the first communication server and the target communication server at a target time, wherein the target time is the time when the first communication server sends a foreign exchange transaction request, and then determines an ant colony based on a target rule, wherein the ant colony represents a search process for a network transmission path, and the target rule is used to dynamically update the selection of a network transmission path based on pheromones and path distance, and then updates the pheromones based on the shared traffic rate at the target time and the length of the path that the ant colony has passed through, and finally determines the target transmission path from the first communication server to the target communication server at the target time based on the updated pheromones.
[0081] Optionally, the intelligent processing system determines the shared flow rate of the data link between the first communication server and the target communication server at the target time, and then determines the ant colony according to the target rule. The ant colony here represents the search process of the network transmission path. The target rule is a dynamic strategy that combines the pheromone concentration and the path distance to dynamically update the selection of the network transmission path. In the ant colony algorithm, each "ant" (i.e., a search process of the ant colony) will select the next data transmission node according to the pheromone concentration on the path and the inverse of the path distance. This rule ensures that the system can dynamically adjust the path selection according to the current network environment and traffic conditions, and improve the stability, timeliness and security of data transmission. After that, according to the shared flow rate at the target time and the length of the path that the ant colony has passed, the pheromone is updated. The purpose of this step is to adjust the pheromone volatility rate according to the real-time status of the link and the historical data transmission situation, and further optimize the path selection. Finally, the target transmission path from the first communication server to the target communication server at the target time is determined according to the updated pheromone. Through the ant colony algorithm and the dynamic update of pheromones, the intelligent processing system can calculate the path with the highest pheromone "concentration", which is usually also the optimal path.
[0082] Optionally, the shared traffic rate (fair sharing rate) is the key output of the RCP algorithm, which is used to dynamically adjust the transmission rate of the link; the target rule (state transition rule) in the ACO algorithm is a rule used to calculate the probability of each "ant" (i.e., routing process) moving from one node to another. The state transition rule takes into account the pheromone concentration and the distance heuristic value, as well as a parameter to determine the next moving direction.
[0083] From the above content, we can see that the intelligent processing system provides a method to dynamically optimize the network transmission path. By real-time monitoring of the shared traffic rate, combined with the ant colony algorithm and pheromone update mechanism, the intelligent processing system can select the most appropriate transmission path according to the real-time conditions of the network. This method not only improves the efficiency of data transmission, reduces network delay, but also enhances the security of data transmission.
[0084] In an optional embodiment, the intelligent processing system detects the capacity of the data link, wherein the capacity represents the maximum transmission rate of the data link, detects the average utilization of foreign exchange transaction requests entering the data link, wherein the average utilization represents the ratio of the total bandwidth to the capacity when the foreign exchange transaction requests enter the data link, detects the average round-trip time of historical foreign exchange transaction requests crossing the data link, detects the average queue size of the data link at the target time, wherein the average queue size is used to represent the amount of data waiting to be sent in the data link, and finally determines the shared traffic rate of the data link at the target time based on the capacity, average utilization, average round-trip time and average queue size.
[0085] Optionally, the intelligent processing system first detects the capacity of the data link. The capacity refers to the maximum rate at which the data link can be transmitted, which reflects the performance upper limit of the link. Next, the intelligent processing system detects the average utilization of foreign exchange transaction requests entering the data link. The average utilization is a key performance indicator, which represents the ratio of the total bandwidth occupied by the data link by foreign exchange transaction requests to the link capacity at the target time. The higher the average utilization, the closer the link is to its limit, which may indicate an increased risk of network congestion. Then, the system detects the average round-trip time of historical foreign exchange transaction requests crossing the data link. The average round-trip time is an important parameter for measuring data transmission efficiency. It reflects the average time from sending to receiving a data packet. The intelligent processing system also detects the average queue size of the data link at the target time. The average queue size is used to characterize the amount of foreign exchange transaction request data waiting to be sent in the data link. An increase in the queue size usually means network congestion, which may cause delays and packet loss of data packets, which is particularly critical for scenarios with high real-time requirements for foreign exchange transactions. Finally, the intelligent processing system uses the RCP algorithm to determine the shared traffic rate of the data link at the target time based on the detected capacity, average utilization, average round-trip time, and average queue size.
[0086] From the above content, it can be seen that the intelligent processing system can accurately adjust the shared traffic rate to adapt to the ever-changing network by monitoring the link utilization, queue size and round-trip time in real time. In this way, even under poor network conditions, foreign exchange trading requests can be processed at a stable speed, thereby improving the response speed and user experience of the entire trading system. In addition, this method can also avoid network congestion, reduce data packet delay and packet loss, and further enhance the reliability and security of the foreign exchange data processing system.
[0087] In an optional embodiment, the intelligent processing system detects the shared traffic rate of the data link at a first moment, wherein the first moment is separated from the target moment by a preset time interval and the first moment is before the target moment, and then determines the shared traffic rate of the data link at the target moment based on the capacity, average utilization, average round-trip time, average queue size, and the shared traffic rate of the data link at the first moment.
[0088] Optionally, the intelligent processing system first detects the shared traffic rate of the data link at a first moment. Next, the intelligent processing system uses historical data and current network parameters, including capacity, average utilization at the first moment, average round-trip time, and average queue size, combined with the shared traffic rate at the first moment to predict and determine the shared traffic rate of the data link at the target moment.
[0089] Optionally, the shared traffic rate R(t+T) is calculated as shown in formula (5):
[0090]
[0091] Where t is the current time, T is the time interval for flow rate update, C is the capacity, y(t) is the average utilization of foreign exchange transaction requests entering the link, d is the average round-trip time of traffic (historical foreign exchange transaction requests) crossing the link, q(t) is the average queue size, γ and δ are configurable parameters (used to adjust the influence of y(t) and q(t) on the fair sharing rate R(t), which are configurable weight parameters in the RCP algorithm. The values of γ and δ determine the relative importance of average utilization and queue size when calculating the new shared traffic rate).
[0092] From the above content, it can be seen that the intelligent processing system detects the historical performance of the link, and combined with the real-time link status parameters, the system can intelligently adjust the transmission rate of the link at the current moment, ensure the fair and efficient use of link resources, and ensure that foreign exchange transaction data can be transmitted in the best state at the target moment, thereby greatly improving the response speed and data processing efficiency of the foreign exchange trading system. This method can also significantly reduce transaction delays and improve the transaction efficiency of the foreign exchange market. At the same time, it enhances the system's adaptability and predictive ability to network status, providing a more stable and secure network environment for foreign exchange data processing.
[0093] In an optional embodiment, the intelligent processing system obtains the pheromone concentration on the hth path from the first communication server to the target communication server, wherein the pheromone concentration is proportional to the frequency of use of the path, and the hth path is any network transmission path between the first communication server and the target communication server, and then uses the inverse of the path distance of the hth path as an inspiration value, and determines the probability that the ant colony selects the hth path to move from the first communication server to the target communication server based on the inspiration value and the pheromone concentration, and finally determines the target rule based on the probability, and determines the ant colony based on the target rule.
[0094] Optionally, the intelligent processing system first obtains the pheromone concentration on the hth path from the first communication server to the target communication server. Pheromones in the ant colony algorithm simulate the chemical marks left by ants when searching for food paths. The pheromone concentration here is proportional to the usage frequency of the hth path in the actual network (i.e., any network transmission path from the first communication server to the target communication server). The pheromone concentration of the path with a higher usage frequency is relatively high, which reflects the attractiveness of the path, that is, the comprehensive reflection of the frequency of the path being selected in the past and its current network state. Then, the system uses the reciprocal of the path distance of the hth path as the heuristic value. The heuristic value is a measure based on the physical properties of the path (such as the path distance). It is used to evaluate the priority of the path. The reciprocal of the path distance means that the shorter the distance, the higher the heuristic value. This, together with the pheromone concentration, constitutes the basis for the ant colony to select the path. Combining the heuristic value and the pheromone concentration, the intelligent processing system can calculate the probability that the ant colony selects the hth path to move from the first communication server to the target communication server. Finally, the target rule is determined based on the probability, and the ant colony is determined based on the target rule.
[0095] From the above content, it can be seen that the intelligent processing system can dynamically adjust the routing selection through the calculation of pheromone concentration and heuristic value to ensure that foreign exchange transaction data is transmitted in the network in the most efficient way, taking into account the real-time status and historical usage of the network. This method not only improves the timeliness and stability of data transmission, but also enhances the security of the network, because dynamic path selection can prevent data from being predicted and intercepted by network attackers. In addition, by optimizing path selection, the system can reduce data transmission delays, improve the efficiency of foreign exchange transactions and user experience,
[0096] In an optional embodiment, the intelligent processing system first obtains a first parameter, wherein the first parameter is used to balance the degree of dependence on the heuristic value and the pheromone concentration when selecting a network transmission path, and then detects the set of communication servers that the ant colony can select when moving from the first communication server to the target communication server, and then determines the probability of the ant colony selecting the hth path to move from the first communication server to the target communication server point based on the first parameter, the set, the heuristic value and the pheromone concentration.
[0097] Optionally, the intelligent processing system first obtains a first parameter. The setting of the first parameter can adjust the algorithm's trade-off between the importance of the two when selecting a path, ensuring that the path selection takes into account both efficiency and security. Next, the intelligent processing system detects the set of communication servers that the ant colony can select when moving from the first communication server to the target communication server. The set includes all possible communication servers, which constitute candidate paths from the first communication server (source node) to the target communication server (destination node). The purpose of detecting the set is to determine which options the ant colony has at the current moment, which provides necessary information for subsequent path probability calculations. Then, based on the first parameter, the set, the heuristic value, and the pheromone concentration, the intelligent processing system determines the probability that the ant colony selects the hth path to move from the first communication server to the target communication server. Finally, based on the calculated probability, the intelligent processing system can guide the ant colony to dynamically select a network transmission path.
[0098] Optionally, the above probability p k The calculation method of (a, b) is shown in formula (6):
[0099]
[0100] Among them, p k (a, b) represents the probability that the ant colony chooses the hth path (from a to b), J k (r) is the set of data transmission nodes that can be selected by the ant colony k (from a to b) (the set of communication servers that can be selected when the first communication server moves to the target communication server), β is the first parameter, τ is the pheromone concentration, τ(a,b) represents the pheromone concentration on the path from a to b, μ(a,b) represents the heuristic value of the path from a to b (μ=1 / δ(a,b) represents the inverse of the path distance δ(a,b) between a and b), a and b represent the first node and the second node respectively, usually β>0 (the first parameter), and the variable s represents the next node that the ant colony k may select at the current node a. Represents the weighted sum of the pheromone heuristic values from node a to all possible next nodes b.
[0101] Optionally, the set J k (r) contains all the candidate nodes that ant colony k can move to from node a in the current iteration. In the ant colony algorithm, each ant colony can only choose from its current set of candidate nodes when selecting the next node. Therefore, the conditional judgment (if s∈J k The purpose of (r) is to ensure that only nodes in the candidate node set are calculated, that is, only the probability values of legal next-hop nodes are calculated. If s does exist in the set, it means that node b is a legal choice for ant colony k to start from node a, then the probability pk (a,b) will be calculated according to formula (6). If s is not in the set, it means that node b is not a legal choice for ant colony k to start from node a. Therefore, the probability value of node b will be set to 0, that is, ant colony k will not choose to move to node b.
[0102] From the above content, it can be seen that the intelligent processing system can find the most appropriate balance between the heuristic value and the pheromone concentration by adjusting the first parameter, ensuring that the foreign exchange transaction data can be transmitted according to the optimal state of the current network. This method not only improves the efficiency of data transmission and reduces delays, but also enhances the security of the transmission process, because dynamic path selection can prevent data from being predicted and intercepted by attackers on fixed paths.
[0103] In an optional embodiment, when the intelligent processing system detects that the ant colony has passed through the hth path, the intelligent processing system determines the incremental update value corresponding to the pheromone concentration based on the shared traffic rate at the target time and the length of the path that the ant colony has passed through. When it is detected that the ant colony has not passed through the hth path, the intelligent processing system determines that the incremental update value corresponding to the pheromone concentration is 0. Then, the pheromone is updated based on the incremental update value, the number of ant colonies, and the pheromone decay factor, wherein the pheromone decay factor is used to simulate the speed at which the pheromone disappears over time.
[0104] Optionally, when the intelligent processing system detects that the ant colony has passed through the hth path, it determines the incremental update value corresponding to the pheromone concentration based on the shared traffic rate at the target time and the length of the path that the ant colony has passed. The calculation of this incremental update value is dynamic, and its main purpose is to reward those paths that have performed well in the past (i.e., high shared traffic rate and short path length) so that they are more likely to be selected again in future path selection. When it is detected that the ant colony has not passed through the hth path, the intelligent processing system determines that the incremental update value corresponding to the pheromone concentration is 0, which means that the unused paths will not receive pheromone updates, which helps to avoid the system from being overly dependent on certain paths, while also reducing the unnecessary diffusion of pheromones and maintaining the accuracy and effectiveness of pheromone updates. Then, the intelligent processing system updates the pheromone based on the incremental update value, the number of ant colonies, and the pheromone attenuation factor.
[0105] Optionally, the incremental update value Δτ corresponding to the pheromone concentration k The calculation method of (a, b) is shown in formula (7):
[0106]
[0107] Where R(t) is the fair sharing rate, L kis the length of the path traversed by ant colony k. Formula (7) indicates that if (a, b) ∈ Routes for every k holds, that is, ant colony k has indeed passed through the path from node a to node b in the current search process, then Δτ k (a,b) will be set to If the condition if(a,b)∈Routes for every k does not hold, that is, ant colony k has not used the path from node a to node b, then Δτ k (a,b) will be set to 0.
[0108] Optionally, the pheromone update rule τ(a,b) is as shown in formula (8):
[0109]
[0110] Among them, 0<α<1 represents the pheromone attenuation factor, and m represents the number of ant colonies.
[0111] Optionally, formula (8) indicates that the update of pheromone concentration includes both the attenuation of pheromone (implemented by the ((1-α).τ(a,b) part) and the incremental update of pheromone concentration for all ant colonies k passing through the path according to their path selection (implemented by Partially implemented).
[0112] From the above content, it can be seen that the intelligent processing system can intelligently adjust the pheromone distribution in the network by combining the shared traffic rate, path length and pheromone attenuation factor, thereby guiding the ant colony to choose the most effective and secure transmission path in a complex network environment. Overall, this dynamic pheromone update mechanism not only improves the efficiency of foreign exchange transaction data transmission, reduces network latency, but also enhances the security of data transmission.
[0113] In an optional embodiment, the intelligent processing system detects the file segment size, wherein the file segment size is the size of the foreign exchange transaction request, detects the time window, wherein the time window represents the time range for the foreign exchange transaction request to reach the target communication server, detects the load parameter, wherein the load parameter represents the load condition of the data link when the ant colony passes through the first communication server at the target time, detects the time parameter, wherein the time parameter represents the degree of match between the time when the foreign exchange transaction request reaches the target communication server according to the path selected by the ant colony when the ant colony passes through the first communication server at the target time and the time window, then determines the path distance function based on the file segment size, the time window, the load parameter and the time parameter, and finally determines the target transmission path from the first communication server to the target communication server at the target time based on the path distance function and the updated pheromone.
[0114] Optionally, the intelligent processing system first detects the file segment size, which specifically refers to the size of each data packet after the foreign exchange transaction request is decomposed. This detection is based on the size of the transaction request, and the purpose is to evaluate the transmission efficiency and performance impact of different paths on the specific data packet size. Then, the load parameter is further detected, and the load parameter reflects the load of the data link when the ant colony passes through the first communication server at the target time. The detection of the load parameter helps to identify bottlenecks and potential congestion points in the current network, ensure that the path selection can avoid high-load links, and improve the stability and efficiency of transmission. Then, the time parameter is also detected. The time parameter represents the degree of matching between the time when the foreign exchange transaction request reaches the target communication server and the time window according to the path selected by the ant colony when the ant colony passes through the first communication server at the target time. The calculation of the time parameter can quantify the degree to which the path selection satisfies the time limit of the transaction request, ensuring that the transaction data can be successfully delivered within the specified time range. Then, according to the file segment size, time window, load parameter and time parameter, the intelligent processing system determines the path distance function. Finally, the intelligent processing system determines the target transmission path from the first communication server to the target communication server at the target time according to the path distance function and the updated pheromone concentration.
[0115] Optionally, the path distance function μ is as shown in formula (9):
[0116]
[0117] Among them, size represents the file segment size, w represents the time window, and δ j (k,t) represents the load parameter, ε j (k,t) represents the time parameter.
[0118] From the above content, it can be seen that the intelligent processing system can optimize the path selection in real time by dynamically adjusting the path distance function, ensuring that the foreign exchange transaction request can be transmitted efficiently, with low latency and safely while meeting the requirements of size, time window, network load and time matching. This method greatly improves the execution efficiency and user experience of foreign exchange transactions, while enhancing the security and reliability of data transmission.
[0119] In an optional embodiment, the intelligent processing system determines the target transmission path from the first communication server to the target communication server at the target time based on the random value, the preset constant parameter, the target random variable, the updated pheromone and the path distance function, wherein the random value is a value randomly determined in the data interval from 0 to 1, the preset constant parameter is a constant greater than or equal to 0 and less than or equal to 1, and the target random variable is a variable randomly selected following the target rule.
[0120] Optionally, the intelligent processing system determines the balance between randomness and determinism of path selection based on random values and preset constant parameters. Next, the system considers the target random variable S, which follows a specific state transition rule (i.e., the target rule). It randomly selects a variable value to determine the next action of the ant colony, that is, which path to choose for data transmission. Combining the updated pheromone concentration and the path distance function, the intelligent processing system can calculate the probability of each path between the first communication server and the target communication server. Finally, the intelligent processing system determines the target transmission path based on the calculated probability.
[0121] Optionally, the target transmission path s is calculated as shown in formula (10):
[0122]
[0123] where q is a random value distributed in [0...1], q0 (0 ≤ q0 ≤ 1) is a constant parameter (preset constant parameter), S is a randomly selected variable (target random variable), and τ(a,u) is the updated pheromone.
[0124] Optionally, in formula (10) is to find all possible next nodes b from node a to node set J k (a). Which node has the highest comprehensive evaluation value, and the comprehensive evaluation value consists of two parts: the pheromone concentration (τ(a,u)) and the β power of the path heuristic value (μ(a,u)). The pheromone concentration reflects the frequency of past data packets or ant colonies using this path, and the heuristic value is usually related to the reciprocal of the path distance, indicating the relative attractiveness of the path. β is a parameter that controls the relative importance of pheromone and heuristic value. When β is larger, the heuristic value plays a more important role, and when β is smaller, the influence of the pheromone concentration is more significant. If the random number q is less than the preset threshold q0, then ant colony k will choose the node b with the highest comprehensive evaluation value as the next node to move to. If the condition (q < q0) does not hold, that is, q is greater than or equal to q0, then ant colony k will randomly select a node from all possible next nodes (J k (a)) as the target node S.
[0125] From the above content, it can be seen that the intelligent processing system provides a path selection mechanism that is compatible with determinism and randomness, ensuring that foreign exchange transaction requests can be transmitted from the first communication server to the target communication server in the best way at the target time based on the real-time status and historical data of the network. This method not only improves the efficiency and security of data transmission, but also enhances the adaptability and robustness of the system, can effectively respond to changes in the network environment, and provides a more stable, faster and safer data transmission guarantee for the foreign exchange data processing system. By combining dynamic pheromone updates and path distance functions, the intelligent processing system can realize intelligent optimization of foreign exchange transaction data transmission paths, significantly improving the execution efficiency of foreign exchange transactions and the overall performance of the system.
[0126] In an alternative embodiment Figure 4 is a schematic diagram of an optional bank communication server according to an embodiment of the present application, such as Figure 4 As shown, the schematic diagram includes: a communication module 41, a traffic collection module 42, a security calculation module 43, a message processing module 44, and a routing management module 45. Among them, the communication module 41: as the entrance of the data transmission node, it interacts with other communication servers to realize data message sending and receiving; the traffic collection module 42: is responsible for collecting traffic data for the data transmission node, managing the network traffic, and realizing the tracking, collection and recording of the data transmission traffic; the security calculation module 43: is responsible for using the cryptographic algorithm to encrypt and decrypt the generated data message; the message processing module 44: is responsible for executing the parsing and splitting of the user data, forming a data vector and assembling the user data message. Table 1 is an example of an optional message format according to an embodiment of the present application. As shown in Table 1, the IP header represents the data message header, Next hop represents the next hop routing information; type represents the message type, TYPE=0X1 represents sending a message; TYPE=0x2 represents receiving a message, etc.; reserved represents the receiver's public key; sender represents the sender's public key; SwitchID represents the ID of the switch; QueueSize represents the length of the queue; ephemeral represents a temporary credential; timestamp represents the sending timestamp; mac1 represents physical address 1; mac2 represents physical address 2; static represents static information. In this table, bytes refers to the basic unit of data storage or transmission, i.e., bytes. For example, in the given table, mac1 (16 bytes) and mac2 (16 bytes) represent the physical address (MAC address) field, and each MAC address occupies 16 bytes of storage space. In order to ensure the integrity and security of the data packet during network transmission, the intelligent processing system generates the hash form header information corresponding to the data packet through the hash algorithm. The generation method of the hash form header information is shown in formula (11):
[0127] H i =Hash(Hash(Construct)||PK(i)) (11)
[0128] Among them, Hash represents the hash algorithm SHA-256 (Secure Hash Algorithm 256-bit), Construct represents the content information of the structure, PK(i) represents the public key of the data transmission node i, and || represents the byte sequence cascade operation symbol.
[0129] Table 1
[0130]
[0131]
[0132] Routing management module 45: responsible for managing the routing of data transmission messages, saving, deleting and adding routing information, etc. The routing management module includes two stages in the execution process: initialization and dynamic update of pheromones. The operation principle of this module involves two algorithms (congestion control algorithm RCP and ant colony algorithm), as follows:
[0133] Phase 1: Initialization:
[0134] Step 1: Assume there are m concurrent processes, and divide the n datagrams of the data asset into m parts;
[0135] Step 2: Assume that the value of pheromone τ(a,b) is a constant c, and the initialization is expressed as τ(a,b)=c, where a and b represent the source node and the destination node;
[0136] Step 3: Initialize the pheromone gain Δτ(a,b) k =0.
[0137] Step 4: Initialize C as the link capacity, α, β, γ and δ as constants, and d0 (average flow rate), and calculate it as shown in formula (12):
[0138]
[0139] Among them, d i (t) represents the instantaneous flow rate of link i at time t, d0 represents the average flow rate (average transmission rate), and C represents the capacity of the data link.
[0140] Phase 2: Low-latency network control routing strategy algorithm:
[0141] Input: number of concurrent processes M, number of data asset partitions N;
[0142] Output: Shortest, a low-latency network control routing strategy;
[0143] The algorithm steps are as follows:
[0144] Step 1: Collect traffic data. The traffic collection module will periodically collect information such as switch ID, queue size, link utilization, average link sharing rate, etc., calculate d0, and update the corresponding variables in the local memory. For example (PUSH [switch ID: SwitchID]; PUSH [queue size: QueueSize]; PUSH [link utilization: RX-Utility]; PUSH [average sharing rate: RCP-Rate])
[0145] Step 2: Initialize the dynamic update routing algorithm parameters. Construct the 1-MTSP parameter set, initialize the pheromone matrix PM, and initialize the solution s k , let Shortest be the optimal path for each iteration;
[0146] Step 3: Initialize the ant colony routing information and calculate the heuristic information of each node;
[0147] Step 4: If the number of loops is less than N max , then the following loop processing is performed:
[0148] Step 5: For each process k≤m, perform the following steps:
[0149] Step 5.1: For each node i≤n, perform the following steps:
[0150] Step 5.1.1: Execute the following calculation steps of the flow rate control protocol to calculate the fair share rate of each link (such as formula (5));
[0151] Step 5.1.2: Execute the following state transfer function to calculate the pheromone from the ant colony to each node (such as formula (6));
[0152] Step 5.1.2.1: Update pheromone τ(a, b), and cyclically update pheromone parameters. The basic idea is that the concentration of pheromone is proportional to the fair sharing rate. The specific method of updating pheromone is: based on the path distance μ and the fair sharing rate R(t) of the link, calculate the pheromone concentration and continuously update the pheromone τ. The pheromone update rules are as shown in formula (7)-formula (8);
[0153] Step 5.1.2.2: If the node satisfies the constraint, add the node to the solution s k ;
[0154] Step 5.1.2.3: Get the file segment size (assuming the file segments have the same size) and the time window w, assuming w is a time range [e i ,l i ],e i represents the earliest arrival time, l i represents the latest arrival time (the stay time is negligible). Then the path distance function μ of the pheromone transfer matrix is optimized and adjusted to Formally expressed as formula (9);
[0155] Step 5.1.3: If the node does not satisfy the constraint, start searching for the next node;
[0156] Step 6: For each process k≤m, perform the following steps:
[0157] Step 6.1: Calculate the length of each path and update the shortest path shortest;
[0158] Step 6.1.1: For each node i≤n, perform the following steps to update the pheromone function:
[0159] Step 6.1.1.2: Update the pheromone matrix PM;
[0160] Step 6.1.1.3: Set the unupdated path as the worst value;
[0161] Step 7: Output the optimal routing information. The optimal routing selection is to select the best path s according to the concentration of pheromone, as shown in formula (10).
[0162] In an optional embodiment, Figure 5 is a flow chart of an optional routing management module processing data according to an embodiment of the present application, such as Figure 5 As shown, the following steps are included: Step S501: Initialize security parameters, ant colony parameters, generate public and private keys, etc., such as the initialization parameters of the elliptic curve algorithm X25519 used in this example; execute the GenKey() function, for each data transmission node i (i∈[1,n]), cyclically generate the public key pk(i) and private key sk(i) of the data transmission node i, and at the same time, upload pk(i) to the blockchain for evidence storage; in form, as shown in formula (13):
[0163] (pk(i),sk(i))=genkey(1 k ) (13)
[0164] Among them, 1 k represents a binary number of length k, where all bits are 1.
[0165] Step S502: for each process or ant colony k (k∈[1,n]), the following processing is performed cyclically;
[0166] Step S503: For all nodes i (i∈[1,n]), if i is not the target node, execute the following loop;
[0167] Step S504: Execute the following flow control protocol calculation steps to calculate the fair sharing rate R(t) of each link (Formula (5));
[0168] Step S505: Initialize the path search process (ant colony), add state transition rules, and the state transition rules are defined as formula (6);
[0169] Step S506: Update pheromone τ(a, b) according to the instantaneous flow rate, and cyclically update pheromone parameters. The specific method of updating pheromone is: based on the path distance μ and the fair sharing rate R(t) of the link as clues, calculate the pheromone concentration and continuously update the pheromone τ. The pheromone update rules are shown in formulas (7)-(8);
[0170] Step S507: If the currently visited node does not exist in the visited node library, perform the following steps;
[0171] Step S508: adding the currently visited node I to the visited node library;
[0172] Step S509: Update pheromone information according to time slicing and load conditions. Get the file slicing size size (assuming the file slicing size is the same), time window w, assuming w is a time range [e i ,l i ],e i represents the earliest arrival time, l i represents the latest arrival time (the stay time is negligible). Then the path distance function μ of the pheromone transfer matrix is optimized and adjusted to As shown in formula (9);
[0173] Step S510: For each ant colony process k (k∈[1,n]), perform the following processing;
[0174] Step S511: Update pheromone τ(a,b) according to the instantaneous flow rate, and cyclically update pheromone parameters. The specific method of updating pheromone is: calculate the pheromone concentration according to the path distance μ and the fair sharing rate R(t) of the link as clues, and continuously update the pheromone τ;
[0175] Step S512: Update the dynamic routing table. Execute the optimization path selection function to select the optimal path. The operation is as follows: According to the concentration of pheromone, select the best path s, as shown in formula (10);
[0176] Step S513: Complete the routing table update and start low-latency data transmission.
[0177] In an optional embodiment, Figure 6 This is a flow chart of an optional foreign exchange data processing method according to an embodiment of the present application. Figure 2 ,like Figure 6 As shown, taking a bank as an example, the bank has four branches, A, B, C, and D, among which branch D is in the same city as the foreign exchange trading center, and the other three branches are in different cities. The foreign exchange customer in this implementation example is an account opening customer of branch A of the bank. The customer initiates a foreign exchange trading request on a personal foreign exchange terminal. The specific foreign exchange data processing steps are as follows:
[0178] Step S601: The bank foreign exchange customer registers through the customer foreign exchange trading terminal and generates a master key and a user key. After successful registration, the generated master key and user key are downloaded and saved on the customer foreign exchange trading terminal;
[0179] Step S602: The foreign exchange quotation information synchronization module obtains the current quotation information of the currency pair from the foreign exchange trading center application server regularly (for example, 2 seconds) according to the data update cycle parameters in the parameter configuration module, and updates and stores it in the bank's foreign exchange application server data. The current quotation information includes the quotation type, currency pair, quotation date and current quotation of the currency pair. The current quotation is determined by the quotation system based on the current market exchange rate of the currency pair obtained;
[0180] Step S603: the foreign exchange bank price generation module calculates the current market exchange rate quotation obtained from the foreign exchange trading center application server according to the bank buying price premium ratio, bank selling price premium ratio and other parameters in the parameter configuration module, generates the bank buying price and bank selling price of the bank foreign exchange transaction, and displays them on the client terminal;
[0181] Step S604: The foreign exchange customer of Bank A Branch submits a foreign exchange purchase transaction request based on the bank's purchase price on the customer's foreign exchange transaction terminal. The purchase transaction request data includes the bank's purchase price, purchase amount, transaction submission time, etc. The transaction request is submitted to the foreign exchange application server of Bank A Branch. The foreign exchange transaction processing module registers the foreign exchange transaction request data sent by the customer's foreign exchange transaction terminal in the transaction register, and then sends the transaction request data to the communication server of Bank A Branch.
[0182] Step S605: After the communication server of branch A receives the identity authentication request transaction request, the routing management module on the server is initialized, and the routing management module executes the GenKey() function. For each data transmission node i (i∈[1,n]), the public key and private key of the data transmission node i are cyclically generated. For all nodes i (i∈[1,n]), if i is not the target node, the following flow rate control protocol calculation steps are executed to calculate the fair sharing rate of each link as shown in formula (5), initialize the path search process, add the state transfer rule as shown in formula (6), and the routing management module updates the pheromone according to the instantaneous flow rate and cyclically updates the pheromone parameters. The specific method for updating the pheromone is: based on the path distance μ and the fair sharing rate of the link as clues, calculate the pheromone "concentration", and continuously update the pheromone as shown in formula (7)-formula (8). If the current access communication server node does not exist in the visited node library, the routing management module adds the current access node in the visited node library. Update pheromone and other information according to time slicing and load conditions. Get the file segment size (assuming the file segments have the same size), time window w, and assume w is a time range [e i ,l i ],e i represents the earliest arrival time, l i represents the latest arrival time (the stay time is negligible). Then the path distance function μ of the pheromone transfer matrix is optimized and adjusted to Formally expressed as formula (9);
[0183] Step S606: The routing management module updates the dynamic routing table and executes the optimized path selection function to select the optimal path and transmit the data packet to the next communication node server. The execution operation is as follows: According to the "concentration" of pheromone, the optimal path s is selected as shown in formula (10);
[0184] Step S607: After receiving the communication packet, the next communication server continues to calculate the fair sharing rate of each link according to the communication destination node server address of the communication packet, executes the optimized path selection function, selects the optimal path, and transmits the data packet to the next communication server. The communication servers along the way repeatedly perform this step until the data packet is transmitted to the communication server of the D branch;
[0185] Step S608: The communication server of the D branch sends the foreign exchange transaction data packet to the application server of the foreign exchange transaction center. The application server of the foreign exchange transaction center receives the foreign exchange transaction request data, and processes the transaction according to the transaction price and transaction amount in the request data. After the communication is successful, the bank's public account is credited and the transaction result is returned to the communication server of the D branch of the bank;
[0186] Step S609: Each communication server of the bank uses the same data processing method to transmit the transaction result data packet to the foreign exchange application server of Branch A. The foreign exchange application server of Branch A enters the customer's foreign exchange account according to the transaction result and returns the transaction result to the customer's foreign exchange transaction terminal. The transaction ends.
[0187] The embodiment of the present application also provides a foreign exchange data processing device. It should be noted that the foreign exchange data processing device of the embodiment of the present application can be used to execute the foreign exchange data processing method provided in the embodiment of the present application. The foreign exchange data processing device provided in the embodiment of the present application is introduced below.
[0188] According to an embodiment of the present application, a device for implementing the above-mentioned foreign exchange data processing is also provided. Figure 7 is a schematic diagram of an optional foreign exchange data processing device according to an embodiment of the present application, such as Figure 7 As shown, the device includes: a receiving unit 701, a determining unit 702, and a sending unit 704.
[0189] Optionally, the receiving unit 701 is used to receive a foreign exchange transaction request of a user terminal device through a first communication server of a first financial institution, wherein the first financial institution is a foreign exchange transaction agency of a target financial institution, and the target financial institution is a financial institution that centrally handles all foreign exchange transaction requests; the determining unit 702 is used to determine a target transmission path between the first communication server and the target communication server of the target financial institution according to a shared traffic rate of a data link between the first communication server and the target communication server and a search process of a network transmission path when there are multiple network transmission paths between the first communication server and the target communication server of the target financial institution; the sending unit 703 is used to send the foreign exchange transaction request to the target communication server through the first communication server based on the target transmission path.
[0190] Optionally, the receiving unit 701 includes: a first acquisition subunit, a first sending subunit, a first receiving subunit, and a second sending subunit. The first acquisition subunit is used to acquire the quotation information of the currency pair from the target application server of the target financial institution through the first communication server, wherein the quotation information includes the quotation type, quotation date and current quotation of the currency pair, and the current quotation is determined by the foreign exchange quotation system according to the current market exchange rate of the currency pair; the first sending subunit is used to send the quotation information of the currency pair to the first application server of the first financial institution through the first communication server; the first receiving subunit is used to receive the final quotation information returned by the first application server through the first communication server, wherein the final quotation information is the quotation information adjusted by the first application server based on the quotation information of the currency pair; the second sending subunit is used to send the final quotation information to the user terminal device through the first communication server, and receive the foreign exchange transaction request generated by the user terminal device according to the final quotation information.
[0191] Optionally, the foreign exchange data processing device further includes: a first receiving unit and a first sending unit. The first receiving unit is used to receive, through the first communication server, a foreign exchange transaction approval result returned by the target communication server based on the first transmission path, wherein the first transmission path is a network transmission path determined by the target communication server when sending the foreign exchange transaction approval result based on the shared flow rate of the data link and the search process of the network transmission path, and the foreign exchange transaction approval result is the approval result made by the target application server corresponding to the target communication server for the foreign exchange transaction request; the first sending unit is used to send the foreign exchange transaction approval result to the user terminal device through the first communication server.
[0192] Optionally, the receiving unit 701 includes: a third sending subunit and a second receiving subunit. The third sending subunit is used to send a communication encryption protocol to the user terminal device of the user through the first communication server, wherein the communication encryption protocol is used to generate a registration account, key information bound to the user and a personal digital certificate for the user according to the user information provided by the user; after the registration account is generated, a master key, a user key and a public key corresponding to the registration account are generated; the second receiving subunit is used to receive the foreign exchange transaction request encrypted by the user terminal device based on the communication encryption protocol through the first communication server.
[0193] Optionally, the determination unit 702 includes: a first determination subunit, a second determination subunit, a first updating subunit, and a third determination subunit. The first determination subunit is used to determine the shared flow rate of the data link between the first communication server and the target communication server at the target time, wherein the target time is the time when the first communication server sends the foreign exchange transaction request; the second determination subunit is used to determine the ant colony according to the target rule, wherein the ant colony represents the search process of the network transmission path, and the target rule is used to dynamically update the selection of the network transmission path according to the pheromone and the path distance; the first updating subunit is used to update the pheromone according to the shared flow rate at the target time and the path length that the ant colony has passed; the third determination subunit is used to determine the target transmission path from the first communication server to the target communication server at the target time according to the updated pheromone.
[0194] Optionally, the first determination subunit includes: a first detection module, a second detection module, a third detection module, a fourth detection module, and a fourth determination module. The first detection module is used to detect the capacity of the data link, wherein the capacity represents the maximum transmission rate of the data link; the second detection module is used to detect the average utilization rate of foreign exchange transaction requests entering the data link, wherein the average utilization rate represents the ratio of the total bandwidth to the capacity when the foreign exchange transaction requests enter the data link; the third detection module is used to detect the average round-trip time of historical foreign exchange transaction requests crossing the data link; the fourth detection module is used to detect the average queue size of the data link at the target time, wherein the average queue size is used to represent the amount of data waiting to be sent in the data link; the fourth determination module is used to determine the shared traffic rate of the data link at the target time according to the capacity, average utilization rate, average round-trip time and average queue size.
[0195] Optionally, the fourth determination module includes: a first detection submodule and a first determination submodule. The first detection submodule is used to detect the shared traffic rate of the data link at a first moment, wherein the first moment is separated from the target moment by a preset time length and the first moment is before the target moment; the first determination submodule is used to determine the shared traffic rate of the data link at the target moment according to the capacity, average utilization, average round-trip time, average queue size and the shared traffic rate of the data link at the first moment.
[0196] According to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored executable program, wherein when the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned foreign exchange data processing method.
[0197] According to another aspect of the present application, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the above-mentioned foreign exchange data processing method is executed when the program is running.
[0198] According to another aspect of the present application, a computer program product is also provided, comprising computer instructions, which implement the steps of the above-mentioned foreign exchange data processing method when executed by a processor.
[0199] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0200] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0201] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
Claims
1. A foreign exchange data processing method, characterized in that: include: receiving a foreign exchange transaction request from a user terminal device through a first communication server of a first financial institution, wherein the first financial institution is a foreign exchange transaction agency of a target financial institution, and the target financial institution is a financial institution that centrally processes all foreign exchange transaction requests; In the case where there are multiple network transmission paths between the first communication server and the target communication server of the target financial institution, determining a target transmission path between the first communication server and the target communication server according to a shared flow rate of a data link between the first communication server and the target communication server and a search process of the network transmission path; The foreign exchange transaction request is sent to the target communication server through the first communication server based on the target transmission path.
2. The foreign exchange data processing method according to claim 1, characterized in that: Receiving a foreign exchange transaction request from a user terminal device through a first communication server of a first financial institution includes: Obtaining quotation information of the currency pair from the target application server of the target financial institution through the first communication server, wherein the quotation information includes the quotation type, quotation date and current quotation of the currency pair, and the current quotation is determined by the foreign exchange quotation system according to the current market exchange rate of the currency pair; sending the quotation information of the currency pair to the first application server of the first financial institution through the first communication server; receiving, through the first communication server, final quotation information returned by the first application server, wherein the final quotation information is quotation information adjusted by the first application server based on the quotation information of the currency pair; The final quotation information is sent to the user terminal device through the first communication server, and the foreign exchange transaction request generated by the user terminal device according to the final quotation information is received.
3. The foreign exchange data processing method according to claim 1, characterized in that: After sending the foreign exchange transaction request to the target communication server through the first communication server based on the target transmission path, the foreign exchange data processing method further includes: Receiving, through the first communication server, a foreign exchange transaction approval result returned by the target communication server based on a first transmission path, wherein the first transmission path is a network transmission path determined by the target communication server when sending the foreign exchange transaction approval result based on the shared flow rate of the data link and the search process of the network transmission path, and the foreign exchange transaction approval result is an approval result made by a target application server corresponding to the target communication server for the foreign exchange transaction request; The foreign exchange transaction approval result is sent to the user terminal device through the first communication server.
4. The foreign exchange data processing method according to claim 1, characterized in that: Receiving a foreign exchange transaction request from a user terminal device through a first communication server of a first financial institution includes: Sending a communication encryption protocol to a user terminal device of the user through the first communication server, wherein the communication encryption protocol is used to generate a registration account, key information bound to the user, and a personal digital certificate for the user according to user information provided by the user; after generating the registration account, generating a master key, a user key, and a public key corresponding to the registration account; The first communication server receives the foreign exchange transaction request encrypted by the user terminal device based on the communication encryption protocol.
5. The foreign exchange data processing method according to claim 1, characterized in that: In the case where there are multiple network transmission paths between the first communication server and the target communication server of the target financial institution, determining the target transmission path between the first communication server and the target communication server according to the shared flow rate of the data link between the first communication server and the target communication server and the search process of the network transmission path includes: Determining a shared traffic rate of a data link between the first communication server and the target communication server at a target time, wherein the target time is the time when the first communication server sends the foreign exchange transaction request; Determining an ant colony according to a target rule, wherein the ant colony represents a search process of a network transmission path, and the target rule is used to dynamically update the selection of the network transmission path according to pheromones and path distance; updating the pheromone according to the shared flow rate at the target time and the length of the path that the ant colony has passed; A target transmission path from the first communication server to the target communication server at the target time is determined based on the updated pheromone.
6. The foreign exchange data processing method according to claim 5, characterized in that: Determining a shared flow rate of a data link between the first communication server and the target communication server at a target time includes: detecting a capacity of the data link, wherein the capacity represents a maximum transmission rate of the data link; Detecting an average utilization rate of the foreign exchange transaction request entering the data link, wherein the average utilization rate represents a ratio of a total bandwidth to the capacity when the foreign exchange transaction request enters the data link; detecting an average round trip time of historical foreign exchange transaction requests traversing the data link; Detecting an average queue size of the data link at the target time, wherein the average queue size is used to represent the amount of data waiting to be sent in the data link; A shared traffic rate of the data link at the target time is determined according to the capacity, the average utilization, the average round trip time, and the average queue size.
7. The foreign exchange data processing method according to claim 6, characterized in that: Determining a shared traffic rate of the data link at a target time according to the capacity, the average utilization, the average round trip time, and the average queue size, including: Detecting a shared traffic rate of the data link at a first moment, wherein the first moment is separated from the target moment by a preset time length and the first moment is before the target moment; The shared traffic rate of the data link at the target time is determined according to the capacity, the average utilization, the average round trip time, the average queue size, and the shared traffic rate of the data link at the first time.
8. A foreign exchange data processing device, characterized in that: include: A receiving unit receives a foreign exchange transaction request from a user terminal device through a first communication server of a first financial institution, wherein the first financial institution is a foreign exchange transaction agency of a target financial institution, and the target financial institution is a financial institution that centrally processes all foreign exchange transaction requests; a determining unit, in the case where there are multiple network transmission paths between the first communication server and the target communication server of the target financial institution, determining a target transmission path between the first communication server and the target communication server according to a shared flow rate of a data link between the first communication server and the target communication server and a search process of the network transmission path; The sending unit sends the foreign exchange transaction request to the target communication server through the first communication server based on the target transmission path.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute the foreign exchange data processing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program, when running, executes the foreign exchange data processing method according to any one of claims 1 to 7.
11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the steps of the foreign exchange data processing method according to any one of claims 1 to 7 are implemented.