Method and device for processing price message data
By sending a confirmation response message when receiving a card price update message and comparing the card price version number to determine whether to continue processing, the system resource exhaustion and stability problems caused by high-frequency push of the card price is solved, and efficient and stable card price message data processing is achieved.
Patent Information
- Application Number
- CN202111286539.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-02
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2041-11-02
AI Technical Summary
When the exchange rate shakes violently, the high frequency of card price messages will cause the system card price updates to be slow and the number of connections will be exhausted, affecting the stability of the downstream system.
When receiving a card price update message sent by the upstream card price release system, a confirmation response message is sent to release the connection, and compare the card price version number through the relationship between the bank identifier maintained in the memory and the card price version number. If it has expired, subsequent processing will be stopped.
It realizes efficient and stable processing of card price message data in the high-frequency push scenarios, saving system resources, and improving system operation efficiency and stability.
Smart Images

Figure CN113962812B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial technology, and in particular to a method and device for processing price message data. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No description herein is admitted to be prior art by inclusion in this section.
[0003] When the exchange rate fluctuates violently due to external events, the exchange rate messages will be released frequently, so that the exchange rate-sensitive systems can update the exchange rate quickly. However, most downstream systems are not sensitive to the exchange rate. Therefore, a large number of exchange rate messages will cause the system to update the exchange rate slowly and the number of connections to be exhausted. Summary of the invention
[0004] An embodiment of the present invention provides a method for processing price message data, which is used to efficiently and stably process price message data in a high-frequency price push scenario. The method includes:
[0005] Upon receiving a price update message from an upstream price publishing system, sending a response message to the upstream price publishing system to confirm receipt of the price update message;
[0006] Obtaining a quote version number and a bank identifier from the quote update message;
[0007] According to the obtained bank identifier, the corresponding quotation version number is read from the pre-established relationship between the bank identifier and the quotation version number;
[0008] Compare the price version number obtained from the price update message with the read price version number;
[0009] If the obtained price version number is determined to be an expired version number based on the comparison result, no subsequent price update processing operation will be performed.
[0010] The embodiment of the present invention further provides a device for processing price message data, which is used to efficiently and stably process price message data in a high-frequency price push scenario. The device includes:
[0011] A response unit, configured to, upon receiving a price update message sent from an upstream price publishing system, send a response message to the upstream price publishing system to confirm receipt of the price update message;
[0012] An acquisition unit, used to acquire a rate version number and a bank identifier from the rate update message;
[0013] A reading unit, used for reading the corresponding quotation version number from the pre-established relationship between the bank identifier and the quotation version number according to the acquired bank identifier;
[0014] A comparison unit, used to compare the price version number obtained from the price update message with the read price version number;
[0015] The processing unit is used for not performing subsequent price update processing operations if it is determined according to the comparison result that the obtained price version number is an expired version number.
[0016] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for processing price message data when executing the computer program.
[0017] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above-mentioned method for processing price message data.
[0018] In an embodiment of the present invention, a scheme for processing price message data comprises: upon receiving a price update message sent by an upstream price publishing system, sending a response message to the upstream price publishing system to confirm receipt of the price update message; obtaining a price version number and a bank identifier from the price update message; reading a corresponding price version number from a pre-established relationship between the bank identifier and the price version number based on the obtained bank identifier; comparing the price version number obtained from the price update message with the read price version number; and if it is determined according to the comparison result that the obtained price version number is an expired version number, no subsequent price update processing operations are performed, thereby realizing efficient and stable processing of price message data in a high-frequency price push scenario, saving system resources, and improving the efficiency and stability of the system in the high-frequency price push scenario. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0020] Figure 1 A schematic flow chart of a method for processing price message data in an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of a system for price message processing in an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of the underlying storage structure for maintaining and updating the price version number in an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the process of version number processing in an embodiment of the present invention;
[0024] Figure 5 A schematic diagram of the process of updating the price in the embodiment of the present invention;
[0025] Figure 6 This is a schematic diagram of the price processing flow in an embodiment of the present invention;
[0026] Figure 7 It is a structural schematic diagram of a device for processing price message data in an embodiment of the present invention;
[0027] Figure 8 A schematic diagram of the structure of a device for processing price message data in another embodiment of the present invention;
[0028] Fig. 9 It is a schematic diagram of the structure of a device for processing price message data in another embodiment of the present invention. DETAILED DESCRIPTION
[0029] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0030] Before introducing the embodiments of the present invention, the terms involved in the present invention are first introduced.
[0031] 1. Exchange rate: the exchange rate between two currencies.
[0032] 2. Exchange rate: The message of exchange rate published within the banking system.
[0033] 3. Currency pair: The exchange rate between two currencies. For example, the currency pair CNYUSD indicates the exchange rate between RMB and USD.
[0034] Taking into account the problems existing in the existing price message data processing, an embodiment of the present invention proposes a price message data processing solution, which responds quickly to the upstream system to release the connection by returning the price as soon as it is received. By maintaining a common map in the memory, the latest version of the price can be updated and the lower version of the price can be discarded. By setting multiple monitoring points during the price processing process, it is ensured that the pushed price is the latest version, so as to reduce the pressure on the receiving end system (such as the downstream system). The price message data processing solution is introduced in detail below.
[0035] Figure 1 FIG. 1 is a flow chart of a method for processing price message data in an embodiment of the present invention, as shown in FIG. Figure 1 As shown, the method comprises the following steps:
[0036] Step 101: upon receiving a price update message from an upstream price publishing system, sending a response message to the upstream price publishing system to confirm receipt of the price update message;
[0037] Step 102: Obtaining the rate version number and bank identification from the rate update message;
[0038] Step 103: According to the obtained bank identifier, read the corresponding quote version number from the pre-established relationship between the bank identifier and the quote version number;
[0039] Step 104: Compare the price version number obtained from the price update message with the read price version number;
[0040] Step 105: If the obtained price version number is determined to be an expired version number according to the comparison result, no subsequent price update processing operation is performed.
[0041] The method for processing the price message data provided by the embodiment of the present invention responds quickly to the upstream system by returning the price immediately after receiving it, so as to release the connection. By maintaining a common map in the memory (the relationship between the bank identifier and the price version number, see Figure 3 ), to update the latest version of the price and discard the lower version of the price, which can realize the efficient and stable processing of price message data in the high-frequency price push scenario (exceeding the preset frequency push scenario), save system resources, and improve the efficiency and stability of the system in the high-frequency price push scenario. Figures 2 to 6 The method for processing the price message data is introduced in detail.
[0042] like Figure 2 As shown, the price is generated by system A, then transferred to system B for packaging and distribution; then transferred to system C (enterprise channel bus), and sent by system C to system D. System D is internally divided into adapter E and core F. The solution described in the embodiment of the present invention is positioned in adapter E, that is, the method for processing price message data provided by the embodiment of the present invention is applied to adapter E of the downstream application system (system D).
[0043] Adapter E receives the price message sent by system C and gives a confirmation response (a response message confirming receipt of the price update message). In the existing solution, after adapter E receives the price message, it will first perform some message processing operations, such as storing the database, filtering the latest price in the database and comparing it with the current price to confirm whether the price is expired, and then send a response message to system C. When a large number of prices are pushed, the existing processing solution will cause the socket connection to be consumed quickly and occupy the socket connection for too long.
[0044] Adapter E then pushes the quote message to core F, which involves multiple interactions with core F to confirm the latest quote in core F, the currency pair required by core F, and assemble the quote message in the format required by core F. The entire process takes a long time to complete. When a large number of quotes are pushed, the current quote will expire before it is processed. The quotes subsequently pushed to core F are also expired, which wastes system resources.
[0045] In view of the above technical problems, the method for processing the price message data provided by the embodiment of the present invention mainly includes the following points:
[0046] 1. After receiving the price (the price update message sent by the upstream price publishing system), no other processing is done, but a price response message (a response message confirming receipt of the price update message) is immediately returned to the upstream system (the upstream price publishing system) to release the socket connection.
[0047] 2. Maintain a storage structure in memory, which in the embodiment of the present invention may be a map (the relationship between the bank identifier and the price version number, see Figure 3 ), and realize the update and maintenance of the price in a multi-threaded environment, that is, maintain a data structure in memory to realize the update and maintenance of the price version number.
[0048] 3. During the price message processing, insert a price monitoring point before each major step of the processing process to check whether the current price has expired. Figure 5 and Figure 6 .
[0049] A detailed introduction is given below.
[0050] 1. First, the steps for updating the price version number are introduced, namely, the above-mentioned steps 101 to 105.
[0051] In the specific implementation, first, in the above step 101, after receiving the price (the price update message sent by the upstream price publishing system), no other processing is performed, but a price response message (a response message confirming receipt of the price update message) is immediately returned to the upstream system (upstream price publishing system) to release the socket connection, thereby saving system resources.
[0052] In the specific implementation, a map is maintained in memory (the relationship between the bank identifier and the price version number, see Figure 3 ) to update and maintain the price version number, such as Figure 3 As shown, a thread-safe ConcurrentHashMap is used as the underlying storage structure, the bank number to which the quote belongs is used as the key value, and the current version number of the quote is used as the value.
[0053] When implementing it, Figure 4 As shown, when the adapter starts, the map is empty and is updated as new prices are added. When a new price is added:
[0054] 1. Get the lock of the bank number (bank ID). If the acquisition fails, wait for the lock.
[0055] 2. If the acquisition is successful, the value corresponding to the version number is read. If the data of the bank number has not been stored in the map (the relationship between the bank identifier and the price version number), 0 is returned as the version number. Otherwise, the corresponding version number (the read price version number) is returned.
[0056] That is, in one embodiment, obtaining the quote version number and the bank identifier from the quote update message may include: obtaining the quote version number, the bank identifier and the corresponding lock from the quote update message;
[0057] According to the obtained bank identifier, reading the corresponding quotation version number from the pre-established relationship between the bank identifier and the quotation version number may include: when the lock is successfully acquired, according to the obtained bank identifier, reading the corresponding quotation version number from the pre-established relationship between the bank identifier and the quotation version number.
[0058] In specific implementation, the above embodiment of acquiring the lock and then reading the corresponding price version number avoids processing conflicts and further improves the stability of the system.
[0059] 3. Compare the quotation version number (the quotation version number obtained from the quotation update message) with the version number obtained from the map (the quotation version number read from the pre-established relationship between the bank identifier and the quotation version number). If the quotation version number is newer, then continue with the subsequent quotation processing. That is, in one embodiment, Figure 4As shown, the above-mentioned method for processing the exchange rate message data may further include: if it is determined according to the comparison result that the obtained exchange rate version number is a new version number, updating the relationship between the bank identifier and the exchange rate version number, and continuing the subsequent exchange rate update processing operation; Figure 4 As shown, if the price version number has expired, the price is stored and the thread processing ends. That is, if the obtained price version number is determined to be an expired version number according to the comparison result, the subsequent price update processing operation is no longer performed.
[0060] 2. Next, we will introduce the steps of inserting multiple monitoring points during the price processing to ensure that the pushed price is the latest version.
[0061] In one embodiment, the method for processing the above-mentioned price message data may further include: during the price update processing operation, checking whether the current processing price has expired by setting multiple monitoring points, and if expired, no subsequent price update processing operations are performed.
[0062] In the specific implementation, multiple monitoring points are inserted in the price processing process to check whether the current processing price has expired. If it has expired, the thread is terminated and no longer processed to ensure that the pushed price is the latest version, thereby ensuring the efficiency and stability of the system in the high-frequency price push scenario. The specific monitoring process includes:
[0063] 1. After entering the price processing logic, first check whether the price has expired. If it has expired, the thread will terminate and no longer process. That is, in one embodiment, if Figure 5 As shown, during the operation of updating the quotations, multiple monitoring points are set to check whether the current processing quotations have expired. If expired, the subsequent operations of updating the quotations will not be performed. This may include: when entering the step of updating the quotations, checking whether the current processing quotations have expired; if expired, the subsequent operations of updating the quotations will not be performed.
[0064] 2. If it is not expired, obtain the currency pair required by core F and construct a price push message.
[0065] 3. Before pushing the price, check again whether the price has expired. If it has expired, the thread will terminate and no longer push.
[0066] As can be seen from the above, in one embodiment, during the operation of the price update process, multiple monitoring points are set to check whether the current processing price has expired. If it has expired, the subsequent operation of the price update process is no longer performed, and the following may also be included:
[0067] If it is not expired, obtain the currency pair required by the core unit to construct the price message required by the core unit;
[0068] Before pushing the price message required by the core unit, check whether the price required by the core unit has expired;
[0069] If the price required by the core unit has expired, the price message required by the core unit will no longer be pushed.
[0070] 4. If it has not expired, push the price message (the price message required by the core unit) to the core F (the core unit of the downstream system D).
[0071] It can be seen from the above that, in one embodiment, the method for processing the above-mentioned price message data may further include: if the price required by the core unit is not expired, pushing the price message required by the core unit to the core unit.
[0072] In specific implementation, the implementation method of pushing the price message required by the core unit further improves the processing stability of the price message data.
[0073] In order to understand how to implement the quotation processing process, the following is a Figure 6 Then give an overall introduction.
[0074] (1) After receiving the price (price update message), system D immediately sends a price response (a response message confirming receipt of the price update message) to system C (the upstream price publishing system) to release the socket connection. This solves the problem of upstream system socket connection exhaustion when high-frequency price pushes occur, saving system resources.
[0075] (2) Adapter E checks the price version number. If it is the latest price, it continues with the subsequent processing.
[0076] (3) Obtain the currency pair required by core F and assemble the price push message in the format required by core F. During this process, check whether the price has expired multiple times. If it has expired, stop processing the current price.
[0077] (4) Push the quote to core F.
[0078] In addition, the embodiments of the present invention may mainly use the following related technical tools and protocols.
[0079] 1.Socket, a communication protocol between systems.
[0080] 2. Java, an object-oriented programming language, this system is implemented using Java.
[0081] 3.Map, a data structure, consists of two parts, the key value as a unique identifier and the value as stored data.
[0082] In summary, the embodiment of the present invention solves the problem of exhaustion of socket connections of the upstream system when high-frequency quotes are pushed by immediately returning a response message to the upstream system after receiving the quote. By implementing a quote version number update module, the latest quote version number corresponding to each bank number is maintained in the memory, and a large number of expired quotes are intercepted. By inserting multiple monitoring points in the quote processing process, the problem of expired quotes during the quote processing process is prevented, and the processing of expired quotes is stopped in time, ensuring that the quotes pushed to core F are the latest quotes. Through these steps, system resources are saved, the system operation efficiency is greatly improved, and the stability of the system in the scenario of high-frequency quote push is improved.
[0083] The present invention also provides a device for processing price message data, as described in the following embodiments. Since the principle of the device to solve the problem is similar to the method for processing price message data, the implementation of the device can refer to the implementation of the method for processing price message data, and the repeated parts will not be repeated.
[0084] Figure 7 FIG. 1 is a schematic diagram of the structure of a device for processing price message data in an embodiment of the present invention. Figure 7 As shown, the device comprises:
[0085] The response unit 01 is used to send a response message confirming receipt of the price update message to the upstream price publishing system when receiving the price update message sent by the upstream price publishing system;
[0086] An acquisition unit 02, used to acquire a rate version number and a bank identifier from the rate update message;
[0087] The reading unit 03 is used to read the corresponding quotation version number from the pre-established relationship between the bank identifier and the quotation version number according to the acquired bank identifier;
[0088] Comparison unit 04, used to compare the price version number obtained from the price update message with the read price version number;
[0089] The processing unit 05 is used for not performing subsequent price update processing if it is determined according to the comparison result that the obtained price version number is an expired version number.
[0090] In one embodiment, Figure 8 As shown, the processing device for the above-mentioned rate message data may also include: a version number updating unit 06, which is used to update the relationship between the bank identifier and the rate version number if it is determined according to the comparison result that the acquired rate version number is a new version number, and continue the subsequent rate update processing operation.
[0091] In one embodiment, Fig. 9As shown, the processing device for the above-mentioned price message data may also include: a monitoring unit 07, which is used to check whether the current processing price has expired by setting multiple monitoring points during the price update processing operation process. If expired, the subsequent price update processing operation will no longer be performed.
[0092] In one embodiment, the monitoring unit is specifically used for:
[0093] When entering the step of the price update processing operation, check whether the current processing price has expired;
[0094] If it has expired, no subsequent price update processing will be performed.
[0095] In one embodiment, the monitoring unit is further configured to:
[0096] If it is not expired, obtain the currency pair required by the core unit to construct the price message required by the core unit;
[0097] Before pushing the price message required by the core unit, check whether the price required by the core unit has expired;
[0098] If the price required by the core unit has expired, the price message required by the core unit will no longer be pushed.
[0099] In one embodiment, the monitoring unit is further configured to: if the exchange rate required by the core unit is not expired, push the exchange rate message required by the core unit to the core unit.
[0100] In one embodiment, the acquisition unit is specifically used to: acquire the exchange rate version number, the bank identifier and the corresponding lock from the exchange rate update message;
[0101] The reading unit is specifically used for: when the lock is successfully acquired, reading the corresponding quotation version number from the pre-established relationship between the bank identification and the quotation version number according to the acquired bank identification.
[0102] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for processing price message data when executing the computer program.
[0103] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above-mentioned method for processing price message data.
[0104] In an embodiment of the present invention, a scheme for processing price message data comprises: upon receiving a price update message sent by an upstream price publishing system, sending a response message to the upstream price publishing system to confirm receipt of the price update message; obtaining a price version number and a bank identifier from the price update message; reading a corresponding price version number from a pre-established relationship between the bank identifier and the price version number based on the obtained bank identifier; comparing the price version number obtained from the price update message with the read price version number; and if it is determined according to the comparison result that the obtained price version number is an expired version number, no subsequent price update processing operations are performed, thereby realizing efficient and stable processing of price message data in a high-frequency price push scenario, saving system resources, and improving the efficiency and stability of the system in the high-frequency price push scenario.
[0105] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0106] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0107] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0109] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for processing price message data, characterized in that: include: Upon receiving a price update message from an upstream price publishing system, sending a response message to the upstream price publishing system to confirm receipt of the price update message, so as to release the socket connection; Obtaining a quote version number and a bank identifier from the quote update message; According to the obtained bank identifier, the corresponding quotation version number is read from the pre-established relationship between the bank identifier and the quotation version number; Compare the price version number obtained from the price update message with the read price version number; If the obtained price version number is determined to be an expired version number according to the comparison result, no subsequent price update processing operation will be performed; During the price update process, multiple monitoring points are set to check whether the current price has expired. If it has expired, subsequent price update operations will not be performed.
2. The method for processing price message data according to claim 1, characterized in that: Also includes: If the obtained exchange rate version number is determined to be a new version number according to the comparison result, the relationship between the bank identifier and the exchange rate version number is updated, and the subsequent exchange rate update processing operation is continued.
3. The method for processing price message data as claimed in claim 2, characterized in that: During the price update process, multiple monitoring points are set to check whether the current price has expired. If it has expired, the subsequent price update process will not be performed, including: When entering the step of the price update processing operation, check whether the current processing price has expired; If it has expired, no subsequent price update processing will be performed.
4. The method for processing price message data as claimed in claim 3, characterized in that: During the price update process, multiple monitoring points are set to check whether the current price has expired. If it has expired, the subsequent price update process will not be performed, which also includes: If it is not expired, obtain the currency pair required by the core unit to construct the price message required by the core unit; Before pushing the price message required by the core unit, check whether the price required by the core unit has expired; If the price required by the core unit has expired, the price message required by the core unit will no longer be pushed.
5. The method for processing price message data as claimed in claim 4, characterized in that: Also includes: If the price required by the core unit is not expired, the price message required by the core unit is pushed to the core unit.
6. The method for processing price message data according to claim 1, characterized in that: Acquiring a price version number and a bank identifier from the price update message, including: acquiring a price version number, a bank identifier and a corresponding lock from the price update message; According to the obtained bank identifier, the corresponding quotation version number is read from the pre-established relationship between the bank identifier and the quotation version number, including: when the lock is successfully acquired, according to the obtained bank identifier, the corresponding quotation version number is read from the pre-established relationship between the bank identifier and the quotation version number.
7. A device for processing price message data, characterized in that: include: A response unit, configured to, upon receiving a price update message sent by an upstream price publishing system, send a response message to the upstream price publishing system to confirm receipt of the price update message, so as to release the socket connection; An acquisition unit, used to acquire a rate version number and a bank identifier from the rate update message; A reading unit, used for reading the corresponding quotation version number from the pre-established relationship between the bank identifier and the quotation version number according to the acquired bank identifier; A comparison unit, used to compare the price version number obtained from the price update message with the read price version number; A processing unit, configured to stop performing subsequent price update processing if it is determined that the obtained price version number is an expired version number according to the comparison result; The monitoring unit is used to check whether the current processing price has expired by setting multiple monitoring points during the price update processing operation. If expired, the subsequent price update processing operation will not be performed.
8. The processing device for price message data according to claim 7, characterized in that: Also includes: The version number updating unit is used to update the relationship between the bank identifier and the price version number if it is determined that the obtained price version number is a new version number according to the comparison result, and continue the subsequent price update processing operation.
9. The processing device for price message data according to claim 7, characterized in that: The monitoring unit is specifically used for: When entering the step of the price update processing operation, check whether the current processing price has expired; If it has expired, no subsequent price update processing will be performed.
10. The device for processing price message data according to claim 9, characterized in that: The monitoring unit is also used for: If it is not expired, obtain the currency pair required by the core unit to construct the price message required by the core unit; Before pushing the price message required by the core unit, check whether the price required by the core unit has expired; If the price required by the core unit has expired, the price message required by the core unit will no longer be pushed.
11. The device for processing price message data according to claim 10, characterized in that: The monitoring unit is further used for: if the price required by the core unit is not expired, pushing the price message required by the core unit to the core unit.
12. The device for processing price message data according to claim 7, characterized in that: The acquisition unit is specifically used to: acquire the price version number, the bank identifier and the corresponding lock from the price update message; The reading unit is specifically used for: when the lock is successfully acquired, reading the corresponding quotation version number from the pre-established relationship between the bank identification and the quotation version number according to the acquired bank identification.
13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Information processing method and device, computer equipment and computer readable storage medium
CN112132685A