Product transaction processing methods, apparatus, equipment, media, and procedures.

CN115689734BActive Publication Date: 2026-08-14INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-12
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0003]传统的处理系统,根据市场报价,去扫描“待处理”的委托挂单时,报价容易出现丢包的现象,有的黄金报价,未被系统有效获取,市场报价已经达到了委托挂单的成交价格,应该给予成交,但实际并未成交,从而引起客户投诉,有的还需要应客户的要求赔偿损失

Benefits of technology

[0019] In this embodiment, since the price of the target product fluctuates in real time, real-time transaction data of the target product is acquired with each price change. Price changes can be used as the trigger source, thus avoiding data loss in price quotes and ensuring that when real-time transaction data meets the requirements for product buying and selling, the corresponding orders can be executed promptly. The product transaction processing method of this embodiment is then executed. Furthermore, at intervals of a first preset time and a second preset time, orders with transaction statuses of "expired" and "executed" are asynchronously deleted. The design is reasonable, "slimming down" the transaction order table and maintaining its simplicity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115689734B_ABST
    Figure CN115689734B_ABST
Patent Text Reader

Abstract

This disclosure provides a product transaction processing method applicable to the fintech field. The method includes: acquiring real-time transaction data of a target product; acquiring pending orders from a transaction order table, where the pending orders include the target transaction data range for user-ordered transactions of the target product, and the transaction order table includes existing pending orders for user-ordered transactions of the target product within the trading system; comparing the real-time transaction data with the target transaction data range to determine pending orders where the real-time transaction data is included within the target transaction data range; generating a transaction trigger signal, causing the trading system to respond to the trigger signal and complete the target product transaction for pending orders where the real-time transaction data is included within the target transaction data range; and deleting pending orders in the transaction order table that have already completed target product transactions. This disclosure also provides a product transaction processing apparatus, device, storage medium, and program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of financial technology, specifically to a product transaction processing method, apparatus, equipment, medium, and program product. Background Technology

[0002] To combat inflation and currency devaluation, purchasing gold is a preferred way for investors to preserve and increase their wealth. Paper gold, with its advantages of convenience, speed, and low transaction costs, is more popular than physical gold. Investing in paper gold can provide better returns and security, preserving and increasing asset value, and better combating inflation. International gold prices are constantly fluctuating, and can experience significant and drastic price swings due to major events and unforeseen factors.

[0003] Traditional order processing systems, when scanning pending orders based on market quotes, are prone to quote loss. Sometimes, gold quotes are not effectively captured by the system, even when the market price has reached the order's execution price and should have been filled, leading to customer complaints and sometimes requiring compensation for losses. Increasing system processing speed and efficiency to avoid quote loss requires massive resource investment, which is not cost-effective. The challenge for technical personnel is to find a way to ensure timely processing, avoid quote loss, and guarantee that all gold buy and sell transactions meeting the latest prices are executed promptly, with appropriate resource consumption and efficiency. Summary of the Invention

[0004] In view of the above problems, this disclosure provides a product transaction processing method, apparatus, equipment, medium and program product. After obtaining the real-time transaction data of the target product, the real-time transaction data is compared with the target transaction data range, thereby realizing the transaction of the target product with the order placed within the target transaction data range. The process is reasonably designed and completes the timely transaction of the product.

[0005] According to a first aspect of this disclosure, a product transaction processing method is provided, comprising: acquiring real-time transaction data of a target product; acquiring pending orders in a transaction order table, wherein the pending orders include a target transaction data range for user-ordered transactions of the target product, and the transaction order table includes existing pending orders for user-ordered transactions of the target product within the transaction system; comparing the real-time transaction data and the target transaction data range to determine pending orders in the transaction order table whose target transaction data range includes real-time transaction data; generating a transaction trigger signal, causing the transaction system to respond to the trigger signal and complete the transaction of the target product for pending orders whose target transaction data range includes real-time transaction data, wherein the transaction trigger signal is generated in real time as the real-time transaction data changes; and deleting pending orders in the transaction order table that have already completed the transaction of the target product.

[0006] According to embodiments of this disclosure, the product transaction processing method further includes: deleting pending orders in the transaction order table that have completed the transaction of the target product, which includes: marking the transaction status of pending orders in the transaction order table that have completed the transaction of the target product as a first status; periodically filtering pending orders in the transaction order table for a first preset time period, and deleting pending orders with the transaction status of the first status.

[0007] According to embodiments of this disclosure, the product transaction processing method further includes: periodically filtering pending orders in the transaction order table for a second preset time period, identifying pending orders whose time period has exceeded the time limit; marking the transaction status of pending orders in the transaction order table whose time period has exceeded the time limit as a second status; obtaining pending orders in the transaction order table includes: obtaining pending orders in the transaction order table whose transaction status is a third status; the third status indicates that the pending order has not exceeded the time limit and the transaction has not been completed.

[0008] According to embodiments of this disclosure, the product transaction processing method further includes: recording all pending orders and their transaction statuses recorded in the transaction order table in the order details table.

[0009] According to embodiments of this disclosure, generating a transaction trigger signal, causing the trading system to respond to the trigger signal and complete a target product transaction for an order containing real-time transaction data within the target transaction data range, includes: obtaining an order for a target product for a target product for a target product for a target transaction data range containing real-time transaction data based on the transaction trigger signal; obtaining the account information of the user corresponding to the order for a target product for a target product for a target product for a target product for a target product for a target product for a target product for a target transaction data range containing real-time transaction data based on the transaction trigger signal; obtaining the account information of the user corresponding to the order for a target product for a target product for a target product for a target product for a target product for a target product for a target product for a target product for a target transaction data range containing real-time transaction data based on the transaction trigger signal; and, with the user's authorization, executing a transaction transfer to complete the transaction transfer to complete the transaction transfer to complete the transaction transfer to a target product for a target product for a target product for a target product for a target product for a target product for a target transaction data range containing real-time transaction data based on the transaction trigger signal; obtaining the account information of the user corresponding to the order for a target product for a target product for a target product for a target product for a target product for a target product for a target product for a target product for a target product for a target transaction data range containing real-time transaction data based on the transaction trigger signal; and, with the user's authorization, executing a transaction transfer to complete the ...

[0010] According to embodiments of this disclosure, the product transaction processing method further includes: displaying real-time transaction data of the target product so that users can promptly obtain real-time transaction data.

[0011] A second aspect of this disclosure provides a product transaction processing apparatus, comprising: an indicator acquisition module for acquiring real-time transaction data of a target product; an order acquisition module for acquiring pending orders in a transaction order table, wherein the pending orders include a target transaction data range for user-ordered transactions of the target product, and the transaction order table includes existing pending orders for user-ordered transactions of the target product within the transaction system; an indicator filtering module for comparing real-time transaction data and the target transaction data range to determine pending orders in the transaction order table whose target transaction data range includes real-time transaction data; a transaction triggering module for generating a transaction trigger signal, causing the transaction system to respond to the trigger signal and complete the transaction of the target product for pending orders whose target transaction data range includes real-time transaction data; and an order deletion module for deleting pending orders in the transaction order table that have already completed the transaction of the target product.

[0012] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the product transaction processing method described above.

[0013] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the product transaction processing method described above.

[0014] The fifth aspect of this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described product transaction processing method.

[0015] According to the product transaction processing method disclosed herein, based on the transaction trigger signal, the pending orders can be processed in a timely manner according to real-time transaction data, thereby improving the timeliness of pending order processing; by promptly deleting completed pending orders in the transaction order table, the computational load of data scanning is reduced, thereby improving the computational efficiency of the product transaction system.

[0016] According to the product transaction processing method disclosed herein, orders that meet the transaction conditions are marked as "executed," ensuring that all orders meeting the conditions are executed promptly. Simultaneously, at fixed time intervals, orders marked as "executed" and "invalid" are deleted from the target product transaction order table, thus "slimming down" the target product transaction order table and ensuring its simplicity and efficient order processing capabilities.

[0017] According to the product transaction processing method disclosed herein, by setting up the order details table, the order details table retains all pending orders and the latest transaction status of each pending order, ensuring that all order transactions are traceable and historically verifiable.

[0018] The method provided in this embodiment has at least the following beneficial effects:

[0019] In this embodiment, since the price of the target product fluctuates in real time, real-time transaction data of the target product is acquired with each price change. Price changes can be used as the trigger source, thus avoiding data loss in price quotes and ensuring that when real-time transaction data meets the requirements for product buying and selling, the corresponding orders can be executed promptly. The product transaction processing method of this embodiment is then executed. Furthermore, at intervals of a first preset time and a second preset time, orders with transaction statuses of "expired" and "executed" are asynchronously deleted. The design is reasonable, "slimming down" the transaction order table and maintaining its simplicity. Attached Figure Description

[0020] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0021] Figure 1 The illustration shows an application scenario of a product transaction processing method, apparatus, device, medium, and program product according to embodiments of the present disclosure.

[0022] Figure 2 A flowchart illustrating a product transaction processing method according to Embodiment 1 of this disclosure is shown schematically.

[0023] Figure 3 A flowchart illustrating operation S250 according to an embodiment of the present invention is shown schematically;

[0024] Figure 4 A flowchart illustrating a product transaction processing method according to Embodiment 2 of this disclosure is shown schematically;

[0025] Figure 5 A flowchart illustrating a product transaction processing method according to Embodiment 3 of this disclosure is shown schematically.

[0026] Figure 6 A flowchart illustrating operation S240 according to any one of embodiments 1 to 3 of this disclosure is shown schematically;

[0027] Figure 7 This schematic diagram illustrates a structural block diagram of a product transaction processing apparatus according to Embodiment 1 of the present disclosure;

[0028] Figure 8 A block diagram of an electronic device suitable for implementing a product transaction processing method according to an embodiment of the present disclosure is shown schematically. Detailed Implementation

[0029] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0030] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0031] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0032] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).

[0033] In the technical solution disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, and application of user personal information comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and there is no violation of public order and good morals.

[0034] In the technical solution disclosed herein, the user's authorization or consent is obtained before acquiring or collecting the user's personal information.

[0035] The terms used in this article are explained below:

[0036] A transaction order refers to a product that a user submits to the trading system before or during a transaction, specifying the name, quantity, unit price, and total price of the product they wish to buy or sell, and awaits execution. Orders can be placed either in person or remotely. In-person orders can be placed through branch counters or self-service terminals, while remote orders can be placed via telephone banking, online banking, mobile banking, or WeChat mini-programs.

[0037] The order form and order details form are tables registered by users when they buy or sell a target product. The trading system stores each order in the order form and order details form.

[0038] The pending orders are those included in the order table.

[0039] The order details table includes all pending orders submitted to the trading system. Paper gold is a personal certificate of gold, also known as a gold certificate or gold deposit certificate. It refers to a certificate of ownership held by the gold owner, allowing them to withdraw or control the physical gold at any time. Currently, paper gold is only sold through domestic banks; there is no physical gold involved. It is a contract between the bank and the investor to buy and sell gold, without any physical withdrawal or delivery. Profits are made by buying low and selling high based on international gold price trends to profit from the price difference.

[0040] This disclosure provides a product transaction processing method, comprising: acquiring real-time transaction data of a target product; acquiring pending orders in a transaction order table, wherein the pending orders include a target transaction data range for user-ordered transactions of the target product, and the transaction order table includes existing pending orders for user-ordered transactions of the target product within a transaction system; comparing the real-time transaction data and the target transaction data range to determine that the pending orders in the transaction order table whose target transaction data range includes the real-time transaction data; generating a transaction trigger signal to cause the transaction system to respond to the trigger signal and complete the target product transaction for the pending orders whose target transaction data range includes the real-time transaction data, wherein the transaction trigger signal is generated in real time as the real-time transaction data changes; and deleting pending orders in the transaction order table that have already completed target product transactions.

[0041] Figure 1 The illustration shows an application scenario of a product transaction processing method, apparatus, device, medium, and program product according to embodiments of the present disclosure.

[0042] like Figure 1 As shown, application scenario 100 according to this embodiment may include system development in financial application scenarios such as banking. Network 104 is used as a medium to provide a communication link between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links or fiber optic cables, etc.

[0043] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0044] Terminal devices 101, 102, and 103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0045] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using terminal devices 101, 102, and 103 (for example only). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.

[0046] It should be noted that the product transaction processing method provided in this disclosure embodiment can generally be executed by server 105. Correspondingly, the product transaction processing apparatus provided in this disclosure embodiment can generally be located in server 105. The product transaction processing method provided in this disclosure embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103 and / or server 105. Correspondingly, the product transaction processing apparatus provided in this disclosure embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103 and / or server 105.

[0047] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0048] The following will be based on Figure 1 The described scene, through Figures 2-6 The product transaction processing method of the disclosed embodiments will be described in detail.

[0049] Figure 2 A flowchart illustrating a product transaction processing method according to Embodiment 1 of this disclosure is shown schematically.

[0050] like Figure 2 As shown, the product transaction processing method of this embodiment includes operations S210 to S250, which can be executed sequentially.

[0051] Using S210, obtain real-time transaction data for the target product.

[0052] In this embodiment, since the price of the target product fluctuates in real time, real-time transaction data of the target product is obtained with each price change. This price change can be used as the trigger to execute the product transaction processing method of this embodiment, thereby avoiding the problem of lost product price data and ensuring that orders that meet the product's buy and sell transaction requirements can be executed promptly. In this embodiment, the target product can be futures or spot goods. Futures include gold, crude oil, paper gold, agricultural products, stocks, bonds, etc. Taking futures as an example, the real-time transaction data of the target product can be obtained from the stock market, exchanges, and other venues. Real-time transaction data includes the target product's market mid-price, bid price, ask price, discounted bid price, and discounted ask price, etc.

[0053] In this embodiment, the target product is assumed to be paper gold. Based on this, the real-time trading data of the target product is the real-time price of paper gold, including the market mid-price of paper gold and the buy price, sell price, preferential buy price 1, preferential sell price 1, preferential buy price 2, preferential sell price 2, preferential buy price 3, preferential sell price 3, preferential buy price 4, preferential sell price 4, preferential buy price 5, preferential sell price 5, etc., given by the trading system for different transaction amounts.

[0054] The market midpoint price is derived from the real-time gold price of the Shanghai Gold Exchange after filtering out abnormal quotes.

[0055] In this embodiment, the product transaction processing method further includes displaying real-time transaction data of the target product so that users can promptly obtain the real-time transaction data.

[0056] In operation S220, retrieve the pending orders in the transaction order table. The pending orders include the target transaction data range of the user's order for the target product. The transaction order table includes the existing pending orders for the user's order for the target product within the transaction system.

[0057] In this embodiment, the transaction status includes a first status, a second status, and a third status. Specifically, the first status can be "executed," the second status can be "expired," and the third status can be "pending transaction." The order table is stored in the system. When retrieving the order table, it is retrieved from the system. The order table lists pending transactions, completed transactions within a first preset time period, and expired transactions within a second preset time period. Orders in the third status are read from the order table and processed in S230. In operation S230, the real-time transaction data and the target transaction data range are compared to determine the orders in the order table whose target transaction data range includes the real-time transaction data.

[0058] In this embodiment, when the order type is "buy," the target trading indicator data range for the target product is from zero to the user's expected transaction amount. When the order type is "sell," the target trading indicator data range for the target product is from the user's expected transaction amount to infinity. In this embodiment, the server system compares the real-time price of the target product with the range of target trading data in each order, and filters out orders that fall within the target trading data range of the target product.

[0059] When operating S240, a transaction trigger signal is generated, causing the trading system to respond to the trigger signal and complete the transaction of the target product for the order that includes real-time transaction data within the target transaction data range. The transaction trigger signal is generated in real time as the real-time transaction data changes.

[0060] In this embodiment, by acquiring real-time transaction data of the target product, since the transaction data is constantly changing, each price change will generate new real-time transaction data, and the product transaction processing method in this embodiment will be executed once. By using price change as a trigger source, a source-triggered product transaction processing method is formed, ensuring that when the real-time transaction data meets the product buying and selling transaction requirements, the corresponding pending orders can be executed in a timely manner.

[0061] When operating S250, the server system deletes pending orders in the transaction order table that have already completed the transaction of the target product.

[0062] In this embodiment, by deleting pending orders that have completed the transaction of the target product from the transaction order table in the server system, the transaction order table is "slimmed down," reducing the workload of reading pending orders and thus avoiding packet loss.

[0063] According to the product trading method provided in this disclosure, on the one hand, changes in real-time trading data serve as the trigger source. For pending orders where the real-time trading data meets the target trading data range conditions, a trading trigger signal is generated to process the pending orders in a timely manner, thus improving the timeliness of pending order processing. On the other hand, by promptly deleting completed pending orders from the trading order table, the computational load of data scanning is reduced, thereby improving the operational efficiency of the product trading system.

[0064] Figure 3 A flowchart illustrating operation S250 according to an embodiment of the present invention is shown schematically.

[0065] like Figure 3 As shown, the deletion of pending orders for completed target product transactions in the transaction order table in operation S250 may also include operations S251 and S252.

[0066] In operation S251, mark the transaction status of the pending orders in the transaction order table that have completed the transaction of the target product as the first status.

[0067] In operation S252, the order book in the transaction order table is periodically filtered and the order book with the first preset time period is deleted.

[0068] In this embodiment, the first state can specifically be "executed," where the pending order is marked as "executed" to indicate that the pending order meets the transaction conditions and has been executed. The duration parameter of the first preset time is adjustable according to the system processing speed and actual user needs. When the system needs to process at a slower speed, the first preset time can be increased; when the system needs to process at a faster speed, the first preset time can be decreased.

[0069] In this embodiment, orders are marked to identify executed orders, which is simple and efficient. Every first preset time interval, orders marked "executed" are deleted from the order book, "slimming down" the order book and ensuring its simplicity and efficient order processing. According to this method, orders meeting the trading conditions are executed promptly, and the order book for the target product remains simple, ensuring efficient order processing.

[0070] Figure 4 A flowchart illustrating a product transaction processing method according to Embodiment 2 of this disclosure is shown schematically.

[0071] like Figure 4 As shown, the transaction processing method provided according to the embodiments of this disclosure may include operations S261 and S262 in addition to operations S210 to S250.

[0072] In this embodiment, pending orders are marked as "expired" to indicate expired pending orders that meet the transaction conditions. The second preset duration parameter is adjustable according to the system processing speed and actual user needs. When the system needs to process at a slower speed, the second preset duration can be increased; when the system needs to process at a faster speed, the second preset duration can be decreased. In operation S261, pending orders in the transaction order table are periodically filtered using the second preset duration as a period to identify pending orders whose duration has exceeded the time limit.

[0073] In operation S262, the transaction status of pending orders in the transaction order table that have exceeded the order validity period is marked as the second status.

[0074] There is no necessary correlation between the first preset duration and the second preset duration. Furthermore, operations S261 and S262 can be performed either before or after operation S250.

[0075] Figure 5 A flowchart illustrating a product transaction processing method according to Embodiment 3 of this disclosure is shown schematically.

[0076] like Figure 5 As shown, the transaction processing method provided according to the embodiments of this disclosure may include operation S270 in addition to operations S210 to S250.

[0077] In operation S270, all pending orders and their transaction status recorded in the transaction order table are recorded in the order details table.

[0078] In this embodiment, the order details table is registered by the user simultaneously with the product transaction order form when making product purchase and investment decisions. By updating the order details table, the entire number of pending orders and the latest transaction status of each pending order are retained, ensuring that all order transactions are traceable and historically verifiable.

[0079] In this embodiment, the entrustment table and the entrustment details table complement each other and each performs its own function. Through this ingenious combination, the system goal of achieving higher processing efficiency and better results with lower resource consumption and lower resource usage is perfectly achieved, while ensuring that product buying and selling transactions that meet the latest prices can be completed in a timely manner.

[0080] In this embodiment, the process of obtaining pending orders in the transaction order table in the above-mentioned operation S220 may include operation S221.

[0081] In operation S221, retrieve pending orders in the transaction order table with a transaction status of the third state; the third state indicates that the pending order has not exceeded the time limit and the transaction has not been completed.

[0082] In this embodiment, since the price of the target product fluctuates in real time, real-time transaction data of the target product is acquired with each price change. Price changes can be used as the trigger source, thus avoiding data loss in price quotes and ensuring that when real-time transaction data meets the requirements for product buying and selling, the corresponding orders can be executed promptly. The product transaction processing method of this embodiment is then executed. Furthermore, at intervals of a first preset time and a second preset time, orders in the first and second transaction states are asynchronously deleted. This design is reasonable, effectively "slimming down" the transaction order table and maintaining its simplicity.

[0083] In this embodiment, each order has an expiration time. Orders exceeding their expiration time are considered invalid and are promptly marked as invalid, thus conserving system computing resources. Every second preset time interval, orders marked as "invalid" are deleted from the trading order table, effectively "slimming down" the table and ensuring its simplicity and efficient order processing. This method ensures that orders meeting the trading conditions are executed promptly while maintaining a concise trading order table for the target product, guaranteeing efficient order processing.

[0084] Figure 6 A flowchart illustrating operation S240 according to any one of embodiments 1 to 3 of this disclosure is shown schematically.

[0085] like Figure 6 As shown, the generation of a transaction trigger signal in the above operation S240, which causes the trading system to respond to the trigger signal and complete the transaction of the target product for which the real-time transaction data is included in the target transaction data range, may include operations S241 to S243.

[0086] In operation S241, based on the transaction trigger signal, the target transaction data range is obtained, which includes real-time transaction data order placement.

[0087] In operation S242, the stock of the target product is obtained. When executing a transaction for the target product, it is confirmed that the stock of the target product is greater than the total amount of the target product to be traded. In operation S243, the account information of the user corresponding to the pending order in the trading system is obtained. With the user's authorization, the transaction transfer is executed to complete the transaction of the target product.

[0088] In this embodiment, operations S241 and S242 enable the server system to automatically complete the transaction, simplifying the user's operation.

[0089] In some embodiments, obtaining the account information of the user corresponding to the order placement in the trading system in operation S242 includes: obtaining the fund account and target product account of the user corresponding to the order placement, and calculating the transaction amount of the target product based on the quantity of the target product to be purchased recorded in the order placement and the price of the target product when the order placement is marked as "executed".

[0090] In this embodiment, by determining the target product inventory within the product transaction processing system, the exposure of the product transaction processing system is calculated based on the preset expected target product inventory. If the exposure is greater than the preset exposure threshold, the product transaction processing system is controlled to buy / sell the target product until the expected target product inventory of the product transaction processing system is reached.

[0091] In this embodiment, keeping the bank's exposure within a reasonable and desired range effectively mitigates market volatility risk. Simultaneously, by calculating the exposure of the product transaction processing system, further querying and statistically analyzing various transaction information such as the target product's transactions, open positions, and entrusted open positions, and by analyzing transaction conditions and market trends, advance predictions and preparations can be made, allowing for targeted and effective measures to further expand the market while effectively controlling and mitigating risks.

[0092] If the transaction type in the order is "buy", the transaction amount will be deducted from the funds account and the quantity of the target product to be purchased will be added to the target product account to complete the target product transaction; if the transaction type in the order is "sell", the transaction amount will be added from the funds account and the quantity of the target product to be sold will be deducted from the target product account to complete the target product transaction.

[0093] The server system executes transaction transfers, setting the initial transaction amount and its corresponding basic spread within the server system.

[0094] In some embodiments, the above operation S240 may further include: when a user registers a pending order, if the transaction type entered in the pending order is "buy," locking funds in the user's capital account equal to the transaction amount according to the user's expected transaction amount in the pending order, ensuring that there are sufficient funds in the capital account to be deducted after the transaction of the target product is completed, thus ensuring the success of the transaction. When the transaction is executed, the locked funds are deducted first. Every third preset time interval, if the transaction type in the pending order is "buy," and if the capital account still contains locked funds after the transaction is completed, the funds are unlocked.

[0095] Based on the above-described product transaction processing method, this disclosure also provides a product transaction processing apparatus. The following will be combined with... Figure 7 The device is described in detail.

[0096] Figure 7 A schematic block diagram of a product transaction processing apparatus according to Embodiment 1 of this disclosure is shown.

[0097] like Figure 7 As shown, the product transaction processing device 700 of this embodiment includes an indicator acquisition module 710, an order acquisition module 720, an indicator filtering module 730, a transaction triggering module 740, and an order deletion module 750.

[0098] The indicator acquisition module 710 is used to acquire real-time transaction data of the target product. In one embodiment, the indicator acquisition module 710 can be used to perform the operation S210 described above, which will not be repeated here.

[0099] The order acquisition module 720 is used to acquire pending orders in the transaction order table. These pending orders include the target transaction data range for user-ordered transactions of the target product. The transaction order table includes existing pending orders for user-ordered transactions of the target product within the trading system. In one embodiment, the order acquisition module 720 can be used to execute the operation S220 described above, which will not be repeated here.

[0100] The indicator filtering module 730 is used to compare real-time trading data with the target trading data range to determine the pending orders whose real-time trading data is included within the target trading data range. In one embodiment, the indicator filtering module 730 can be used to perform the operation S230 described above, which will not be repeated here.

[0101] The transaction trigger module 740 is used to generate a transaction trigger signal, causing the trading system to respond to the trigger signal and complete the transaction of the target product for which the real-time transaction data is included in the target transaction data range. In one embodiment, the transaction trigger module 740 can be used to execute the operation S240 described above, which will not be repeated here.

[0102] The order deletion module 750 is used to delete pending orders in the transaction order table that have already been traded for the target product. In one embodiment, the order deletion module 750 can be used to perform the operation S250 described above, which will not be repeated here.

[0103] Through the embodiments of this disclosure, based on the transaction trigger signal, pending orders can be processed in a timely manner according to real-time transaction data, thereby improving the timeliness of pending order processing; by promptly deleting completed pending orders in the transaction order table, the computational load of data scanning is reduced, thereby improving the operational efficiency of the product trading system.

[0104] According to embodiments of this disclosure, any multiple modules among the indicator acquisition module 710, order acquisition module 720, indicator filtering module 730, transaction triggering module 740, and order reduction module 750 can be merged into one module, or any one of these modules can be split into multiple modules. Alternatively, at least some of the functions of one or more of these modules can be combined with at least some of the functions of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the indicator acquisition module 710, order acquisition module 720, indicator filtering module 730, transaction triggering module 740, and order reduction module 750 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging the circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the indicator acquisition module 710, order acquisition module 720, indicator filtering module 730, transaction triggering module 740, and order deletion module 750 can be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.

[0105] Figure 8 A block diagram of an electronic device suitable for implementing a product transaction processing method according to an embodiment of the present disclosure is shown schematically.

[0106] like Figure 8 As shown, an electronic device 800 according to an embodiment of this disclosure includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage portion 808 into a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of this disclosure.

[0107] RAM 803 stores various programs and data required for the operation of electronic device 800. Processor 801, ROM 802, and RAM 803 are interconnected via bus 804. Processor 801 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 802 and / or RAM 803. It should be noted that programs may also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in one or more memories.

[0108] According to embodiments of this disclosure, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to a bus 804. The electronic device 800 may also include one or more of the following components connected to the I / O interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 810 as needed so that computer programs read from it can be installed into the storage section 808 as needed.

[0109] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0110] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 802 and / or RAM 803 and / or one or more memories other than ROM 802 and RAM 803 described above.

[0111] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code enables the computer system to implement the product transaction processing method provided in the embodiments of this disclosure.

[0112] When the computer program is executed by the processor 801, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0113] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 809, and / or installed from a removable medium 811. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0114] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by processor 801, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0115] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0116] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0117] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0118] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A product transaction processing method, characterized in that, include: Obtain real-time transaction data for the target product; Retrieve pending orders from the transaction order table, wherein the pending orders include the target transaction data range for users to place orders for the target product, and the transaction order table includes the existing pending orders for users to place orders for the target product within the transaction system; By comparing the real-time transaction data with the target transaction data range, the order book in the transaction order table is determined to contain the real-time transaction data within the target transaction data range. A transaction trigger signal is generated, causing the trading system to respond to the trigger signal and complete the transaction of the target product for which the target transaction data range includes the real-time transaction data. The transaction trigger signal is generated in real time as the real-time transaction data changes. The process of deleting completed target product transactions from the transaction order table includes: marking the transaction status of completed target product transactions in the transaction order table as a first status; periodically filtering the transaction order table for a first preset time period and deleting transactions in the first status; periodically filtering the transaction order table for a second preset time period and identifying transactions whose time period has exceeded the time limit; marking the transaction status of transactions whose time period has exceeded the time limit as a second status; and obtaining transaction order status from the transaction order table includes: obtaining transaction order status in the transaction order table as a third status; the third status indicates that the transaction order has not exceeded the time limit and has not been completed. The method further includes recording all pending orders and their transaction statuses recorded in the transaction order table in the order details table.

2. The product transaction processing method according to claim 1, characterized in that, The process of generating a transaction trigger signal, causing the trading system to respond to the trigger signal and complete the target product transaction for which the target transaction data range includes the real-time transaction data, comprises: Based on the transaction trigger signal, obtain the target transaction data range that includes the real-time transaction data order placement; Obtain the account information of the user corresponding to the order in the trading system, and with the user's authorization, execute the transaction transfer to complete the transaction of the target product.

3. The product transaction processing method according to claim 1, characterized in that, Also includes: The system displays real-time transaction data for the target product so that users can be informed of the transaction data in a timely manner.

4. The product transaction processing method according to claim 1, characterized in that, Also includes: Obtain the stock of the target product, and when executing a transaction of the target product, confirm that the stock of the target product is greater than the total amount of the target product to be traded.

5. A product transaction processing device, characterized in that, include: The indicator acquisition module is used to acquire real-time transaction data of the target product; The order acquisition module is used to acquire pending orders in the transaction order table. The pending orders include the target transaction data range of user-initiated transactions for the target product. The transaction order table includes the existing pending orders of user-initiated transactions for the target product within the transaction system. The indicator filtering module is used to compare the real-time transaction data and the target transaction data range to determine the pending orders in the transaction order table whose target transaction data range includes the real-time transaction data. The transaction triggering module is used to generate a transaction triggering signal, so that the transaction system responds to the triggering signal and completes the target product transaction of the order placement that includes the real-time transaction data within the target transaction data range; The order deletion module is used to delete pending orders in the order book that have completed transactions for the target product. This includes: marking the transaction status of pending orders in the order book as a first status; periodically filtering pending orders in the order book for a first preset time period and deleting pending orders with the first status; periodically filtering pending orders in the order book for a second preset time period and identifying pending orders whose time period has exceeded the time limit; marking the transaction status of pending orders in the order book that have exceeded the time limit as a second status; the step of obtaining pending orders in the order book includes: obtaining pending orders in the order book with a third status; the third status indicates that the pending order has not exceeded the time limit and has not been completed.

6. An electronic device, comprising: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 4.

8. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • E-commerce order inventory ERP management method and system

    CN110659859A

  • Intelligent delegation order pending method and system based on agency fund exchange product

    CN112613989A