CN115689734A - Product transaction processing method, device, equipment, medium and program product - Google Patents

Product transaction processing method, device, equipment, medium and program product Download PDF

Info

Publication number
CN115689734A
CN115689734A CN202210817805.XA CN202210817805A CN115689734A CN 115689734 A CN115689734 A CN 115689734A CN 202210817805 A CN202210817805 A CN 202210817805A CN 115689734 A CN115689734 A CN 115689734A
Authority
CN
China
Prior art keywords
transaction
entrusting
product
target
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210817805.XA
Other languages
Chinese (zh)
Inventor
杨玉新
胡威予
贝飞
朱仲毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210817805.XA priority Critical patent/CN115689734A/en
Publication of CN115689734A publication Critical patent/CN115689734A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The disclosure provides a product transaction processing method, which can be applied to the field of financial science and technology. The product transaction processing method comprises the following steps: acquiring real-time transaction data of a target product; acquiring an entrusting suspension note in a transaction entrusting list, wherein the entrusting suspension note comprises a target transaction data range of the transaction of a user entrusting target product, and the transaction entrusting list comprises a stock entrusting suspension note of the transaction of the user entrusting target product in a transaction system; comparing the real-time transaction data with the target transaction data range, and determining an entrusting hang ticket of which the real-time transaction data is contained in the target transaction data range; generating a transaction trigger signal to enable the transaction system to respond to the trigger signal and complete the target product transaction of the commission hang-up form of which the real-time transaction data is contained in the target transaction data range; and deleting the entrusted suspension list of the target product transaction in the transaction entrusted table. The present disclosure also provides a product transaction processing device, apparatus, storage medium and program product.

Description

Product transaction processing method, device, equipment, medium and program product
Technical Field
The present disclosure relates to the field of financial technology, and in particular, to a method, an apparatus, a device, a medium, and a program product for processing product transactions.
Background
In order to solve the problems of currency expansion and currency depreciation, the method for realizing the value retention and the value increase is preferred by investors to buy gold. The paper gold has a series of advantages of convenience, rapidness, low transaction cost and the like, is more popular than real gold, can obtain better income and guarantee by investing the paper gold, realizes value preservation and appreciation of assets, and better resists the inflation of currency. The gold price in the international market is always in real-time change and is influenced by some major events and sudden factors, and the gold price can fluctuate violently and greatly.
According to the traditional processing system, when the 'pending' consignment hanging order is scanned according to market quotations, the quotations are easy to lose packets, some gold quotations are not effectively acquired by the system, the market quotations reach the transaction price of the consignment hanging order and should be submitted for transaction, but the transaction is not actually made, so that customer complaints are caused, and some loss needs to be compensated according to the requirements of customers. If the system processing speed is increased and the processing timeliness is improved in order to avoid packet loss, a large amount of resource investment is needed, and the cost performance is not high. How to ensure the processing timeliness of the system under the condition of proper resource investment, avoid packet loss and ensure that the gold transaction meeting the latest price can be committed in time, and the higher processing efficiency and the better effect are achieved through lower resource occupation and consumption, which is a difficult problem in the presence of technicians.
Disclosure of Invention
In view of the above problems, the present disclosure provides a product transaction processing method, device, apparatus, medium, and program product, which compare real-time transaction data with a target transaction data range after acquiring the real-time transaction data of a target product, thereby achieving a target product transaction of an order of attorney in the target transaction data range, with a reasonable process design, and completing a timely transaction of a product.
According to a first aspect of the present disclosure, there is provided a product transaction processing method, including: acquiring real-time transaction data of a target product; acquiring a consignation suspension list in a transaction entrusting list, wherein the consignation suspension list comprises a target transaction data range of a user entrusting target product transaction, and the transaction entrusting list comprises a stock consignation suspension list of the user entrusting target product transaction in a transaction system; comparing the real-time transaction data with the target transaction data range, and determining that the target transaction data range in the transaction entrusting list contains an entrusting hanging bill of the real-time transaction data; generating a transaction trigger signal, enabling a transaction system to respond to the trigger signal and complete the transaction of a target product of which a target transaction data range contains a consignment suspension list of real-time transaction data, wherein the transaction trigger signal is generated in real time along with the change of the real-time transaction data; and deleting the entrusting hanging list of the transaction of the target product in the transaction entrusting table.
According to an embodiment of the present disclosure, the product transaction processing method further includes: deleting the order form in the transaction order form in which the target product transaction is completed comprises: marking the transaction state of the entrusting hanging bill which finishes the transaction of the target product in the transaction entrusting table as a first state; and taking the first preset duration as a period, regularly screening the entrusting hanging list in the transaction entrusting list, and deleting the entrusting hanging list with the transaction state being the first state.
According to an embodiment of the present disclosure, the product transaction processing method further includes: periodically screening the entrusted suspension notes in the transaction entrusted table by taking a second preset time length as a period, and identifying the entrusted suspension notes of which the entrusted time length exceeds the entrusted time limit; marking the transaction state of the delegation suspension list with delegation duration exceeding the delegation time period in the transaction delegation table as a second state; obtaining the order form in the transaction order form includes: acquiring a consignment hanging bill of which the transaction state is a third state in the transaction consignment table; the third state indicates that the delegation ticket does not exceed the delegation age and the transaction is not completed.
According to an embodiment of the present disclosure, the product transaction processing method further includes: all the consignment hanging lists and the transaction states recorded in the transaction consignment list are recorded in a consignment detail list.
According to an embodiment of the present disclosure, generating a transaction trigger signal to cause a transaction system to respond to the trigger signal to complete a target product transaction in which a target transaction data range includes a delegation pending statement of real-time transaction data includes: acquiring a target transaction data range including a real-time transaction data committing suspension order according to the transaction trigger signal; and acquiring account information of a user corresponding to the consignment hang list in the transaction system, and executing transaction transfer under the condition of user authorization to finish the transaction of the target product.
According to an embodiment of the present disclosure, the product transaction processing method further includes: and displaying the real-time transaction data of the target product so that the user can timely know the real-time transaction data.
A second aspect of the present disclosure provides a product transaction processing apparatus including: the index acquisition module is used for acquiring real-time transaction data of a target product; the entrusting note acquisition module is used for acquiring an entrusting and holding note in a transaction entrusting list, the entrusting and holding note comprises a target transaction data range of the transaction of a user entrusting target product, and the transaction entrusting list comprises a stock entrusting and holding note of the transaction of the user entrusting target product in a transaction system; the index screening module is used for comparing the real-time transaction data with a target transaction data range and determining that the target transaction data range in the transaction entrusting table contains an entrusting hanging order of the real-time transaction data; the transaction triggering module is used for generating a transaction triggering signal to enable the transaction system to respond to the triggering signal and complete the target product transaction of a consignment coupon of which the target transaction data range contains real-time transaction data; and the entrusting and deleting module is used for deleting the entrusting hanging list of the finished target product transaction in the transaction entrusting list.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the product transaction processing methods described above.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described product transaction processing method.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the product transaction processing method described above.
According to the product transaction processing method disclosed by the invention, the entrusting suspension order can be processed in time according to real-time transaction data based on the transaction trigger signal so as to improve the timeliness of entrusting suspension order processing; the completed consignment hanging list in the transaction consignment table is deleted in time, so that the calculated amount of data scanning is reduced, and the operation efficiency of a product transaction system is improved.
According to the product transaction processing method, the consignment hanging list meeting the transaction conditions is set as a 'bargaining' mark, so that the consignment hanging list meeting the transaction conditions can be bargained in time. Meanwhile, every interval of fixed time period, the committing and suspension lists marked as 'successful' and 'invalid' in the target product transaction entrusting list are deleted, and the target product transaction entrusting list is thinned, so that the target product transaction entrusting list is concise, and the committing and suspension lists can be efficiently processed.
According to the product transaction processing method disclosed by the invention, the entire consignment list and the latest transaction state of each consignment list are reserved in the consignment list through the setting of the consignment list, and all consignment transactions are ensured to be well documented and historically traceable.
The method provided by the embodiment at least has the following beneficial effects:
in this embodiment, since the price of the target product is in real-time change, the real-time transaction data of the target product is acquired along with each change of the price of the target product, and the price change can be triggered as a source, so that the phenomenon of packet loss in quoted prices is avoided, and it is ensured that the corresponding hang-ups can be committed in time when the real-time transaction data meets the product trade requirements. The product transaction processing method of the present embodiment is performed. And the entrusting hanging lists with transaction states of 'failed' and 'committed' are deleted by asynchronous triggering at intervals of a first preset time length and a second preset time length respectively. The design is reasonable, the transaction entrusting table is thinned, and the compactness of the transaction entrusting table is kept.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of a product transaction processing method, apparatus, device, medium and program product according to an embodiment of the disclosure;
fig. 2 schematically shows a flow chart of a product transaction processing method according to embodiment 1 of the present disclosure;
fig. 3 schematically shows a flowchart of operation S250 according to an embodiment of the present invention;
FIG. 4 schematically shows a flow chart of a product transaction processing method according to embodiment 2 of the present disclosure;
figure 5 schematically shows a flow chart of a product transaction processing method according to embodiment 3 of the present disclosure;
fig. 6 schematically illustrates a flowchart of operation S240 according to any one of embodiments 1 to 3 of the present disclosure;
fig. 7 schematically shows a block diagram of the structure of a product transaction processing apparatus according to embodiment 1 of the present disclosure;
fig. 8 schematically shows a block diagram of an electronic device adapted to implement a product transaction processing method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that these descriptions are illustrative only and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B, and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B, and C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.).
In the technical scheme of the disclosure, the processes of collecting, storing, using, processing, transmitting, providing, disclosing and applying the personal information of the related users are all in accordance with the regulations of related laws and regulations, necessary security measures are taken, and the customs of public sequences is not violated.
In the technical scheme of the disclosure, before the personal information of the user is acquired or collected, the authorization or the consent of the user is acquired.
The terms referred to herein are explained as follows:
the trade order is a product which is submitted to a trading system for waiting for bargaining after the name, the quantity, the unit price, the total price and the like of the product which is wanted to be bought or sold are filled by a user when or before the product is traded. The generation mode of the entrusted hanging order comprises the step of entrustment by a user on site or remotely, the entrustment by the user on site comprises the step of entrustment implementation through a network counter or a self-service terminal, and the entrustment by the user remotely is implemented by the steps of telephone banking, internet banking, mobile phone banking or wechat small program and the like.
The transaction order sheet and the order statement sheet refer to a sheet concerning a target product registered by a user when the user invests in the target product. The transaction system stores each transaction order in an order form and an order statement.
The consignation suspension order to be traded is the consignation suspension order contained in the consignation table.
The delegation hang ticket contained in the delegation statement refers to all delegation hang tickets submitted to the trading system. The paper gold is personal certificate type gold, which can be called gold document or gold deposit receipt, and the paper gold is a property right certificate held by a gold owner, so that gold real objects can be extracted or controlled at any time. The paper gold is only sold in domestic banks at present, has no real object, is a paper contract voucher between banks and investors to buy and sell gold, and does not carry out any real extraction or delivery. The profit is earned by earning the profit margin of the international gold price through the tendency of low-suction and high-throw.
An embodiment of the present disclosure provides a product transaction processing method, which includes: acquiring real-time transaction data of a target product; acquiring an entrusting suspension note in a transaction entrusting list, wherein the entrusting suspension note comprises a target transaction data range of a user entrusting target product transaction, and the transaction entrusting list comprises a stock entrusting suspension note of the user entrusting the target product transaction in a transaction system; comparing the real-time transaction data with the target transaction data range, and determining that the target transaction data range in the transaction entrusting table contains an entrusting hanging order of the real-time transaction data; generating a transaction trigger signal, enabling a transaction system to respond to the trigger signal and complete the transaction of the target product of which the target transaction data range contains the entrusting suspension bill of the real-time transaction data, wherein the transaction trigger signal is generated in real time along with the change of the real-time transaction data; and deleting the entrusted suspension list which completes the transaction of the target product in the transaction entrusted table.
Fig. 1 schematically illustrates an application scenario diagram of a product transaction processing method, apparatus, device, medium and program product according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include system development in a financial field application scenario such as banking. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the product transaction processing method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the product transaction processing device provided by the embodiment of the present disclosure may be generally disposed in the server 105. The product transaction processing method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the product transaction processing apparatus provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation.
The product transaction processing method of the disclosed embodiment will be described in detail below through fig. 2 to 6 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart of a product transaction processing method according to embodiment 1 of the present disclosure.
As shown in fig. 2, the product transaction processing method of this embodiment includes operations S210 to S250, and the product transaction processing method may be sequentially performed.
In operation S210, real-time transaction data of a target product is acquired.
In this embodiment, since the price of the target product is in real-time change, the real-time transaction data of the target product is acquired along with each change of the price of the target product, and the price change can be triggered as a source to execute the product transaction processing method of this embodiment, thereby avoiding the problem of packet loss of the product price and ensuring that the real-time transaction data can meet the hang-up form of the product transaction requirements in time. In this embodiment, the target product may be futures or spot goods, wherein the futures include gold, crude oil, paper gold, farmer products, stocks, bonds, and the like. Taking futures as an example, real-time transaction data of target products can be obtained from places such as stock market and exchange. The real-time transaction data comprises market intermediate price, buying price, selling price, preferential buying price, preferential selling price and the like of the target product.
In this embodiment, the target product is assumed to be paper gold. On the basis, the real-time transaction data of the target product is real-time quotation of paper gold, which comprises the market intermediate price of the paper gold and the purchase price, the selling price, the preferential purchase price 1, the preferential selling price 1, the preferential purchase price 2, the preferential selling price 2, the preferential purchase price 3, the preferential selling price 3, the preferential purchase price 4, the preferential selling price 4, the preferential purchase price 5, the preferential selling price 5 and the like of the transaction system given for different amounts to be traded.
The market intermediate price is obtained by filtering out real-time gold quotations of the Shanghai gold exchange after abnormal quotations.
In this embodiment, the product transaction processing method further includes displaying real-time transaction data of the target product, so that the user can timely obtain the real-time transaction data.
In operation S220, an order of consignment in a transaction order table is obtained, the order of consignment includes a target transaction data range for a user to consign a transaction of a target product, and the transaction order table includes a stock order of consignment of the user to consign the transaction of the target product in a transaction system.
In this embodiment, the transaction state includes a first state, a second state and a third state, wherein the first state may be "committed", the second state may be "failed", and the third state may be "to be traded". The entrusting table is stored in the system, and when the entrusting table is obtained, the entrusting table is called from the system, and entrusting hanging lists to be traded, entrusting hanging lists which have been submitted within a first preset time length and entrusting hanging lists which have failed within a second preset time length are listed in the entrusting table. The authorization pending form of which the transaction status is the third status is read from the authorization table, and operation S230 is performed thereon. In operation S230, the real-time transaction data and the target transaction data range are compared, and it is determined that the target transaction data range in the transaction order table includes an order pending statement of the real-time transaction data.
In this embodiment, when the transaction type of the order is "buy", the target transaction index transaction data range of the target product transaction is from zero to the amount of transaction expected by the user, and when the transaction type of the order is "sell", the target transaction index transaction data range of the target product transaction is from the amount of transaction expected by the user to infinity. In this embodiment, the server system compares the real-time quote price of the target product with the target transaction data range in each consignment suspension ticket, and screens out the consignment suspension ticket falling within the target transaction data range of the target product transaction.
In operation S240, a transaction trigger signal is generated to enable the transaction system to complete the transaction of the target product with the target transaction data range including the consignment pending statement of the real-time transaction data in response to the trigger signal, and the transaction trigger signal is generated in real time along with the change of the real-time transaction data.
In the embodiment, by acquiring the real-time transaction data of the target product, because the transaction data is in real-time change, new real-time transaction data can be generated every time the price changes, the product transaction processing method in the embodiment can be executed once, and the price changes are used as a trigger source, so that the source-triggered product transaction processing method is formed, and the corresponding hang-ups can be committed in time when the real-time transaction data meets the product trading transaction requirements.
In operation S250, the server system deletes the order hang piece in the transaction order table for which the target product transaction has been completed.
In the embodiment, the entrusting hanging sheet which finishes the target product transaction in the transaction entrusting table is deleted in the server system, so that the transaction entrusting table is slimmed, the workload of reading the entrusting hanging sheet is reduced, and the phenomenon of packet loss is avoided.
According to the product transaction method provided by the embodiment of the disclosure, on one hand, the change of real-time transaction data is taken as a trigger source, a transaction trigger signal is generated aiming at the consignment suspension order of which the real-time transaction data meets the target transaction data range condition, and the consignment suspension order is processed in time, so that the timeliness of the consignment suspension order processing is improved; on the other hand, the completed consignment suspension order in the transaction consignment table is deleted in time, so that the calculation amount of data scanning is reduced, and the calculation efficiency of a product transaction system is improved. .
Fig. 3 schematically shows a flowchart of operation S250 according to an embodiment of the present invention.
As shown in fig. 3, deleting the consignment manifest of the target product transaction in the transaction consignment table in operation S250 may further include operation S251 and operation S252.
In operation S251, a transaction status of an order pending form in which a transaction of a target product has been completed in the transaction order table is marked as a first status.
In operation S252, the consignment manifest in the transaction consignment table is periodically filtered by using the first preset duration as a period, and the consignment manifest with the transaction status as the first status is deleted.
In this embodiment, the first state may be "committed transaction", and the consignment suspension statement is set as a "committed transaction" flag for marking a committed consignment suspension statement that satisfies the transaction condition. The time parameter of the first preset time can be adjusted according to the system processing speed and the actual user requirement, when the system needs to process at a lower speed, the first preset time can be adjusted to be longer, and when the system needs to process at a higher speed, the first preset time can be adjusted to be shorter.
In the embodiment, the consignment hang ticket is marked so as to identify the transacted consignment hang ticket, and the method is simple and efficient. Every interval of the first preset duration, the consignation hang-up form marked as 'committed' in the transaction consignation form is deleted, and the transaction consignation form is slimmed, so that the simplicity of the transaction consignation form is ensured, and the consignation hang-up form can be efficiently processed. According to the method, the order meeting the transaction conditions can be committed in time, the transaction order form of the target product is concise, and the order form can be processed efficiently.
Fig. 4 schematically shows a flow chart of a product transaction processing method according to embodiment 2 of the present disclosure.
As shown in fig. 4, according to the method for processing a product transaction provided by the embodiment of the present disclosure, the method may further include operations S261 and S262 in addition to operations S210 to S250.
In this embodiment, the delegation menu is set to a "invalidated" flag for marking invalidated delegation menus that meet the transaction conditions. The time length parameter of the second preset time length can be adjusted according to the system processing speed and the actual user requirement, when the system needs to process at a lower speed, the second preset time length can be adjusted to be longer, and when the system needs to process at a higher speed, the second preset time length can be adjusted to be shorter. In operation S261, the commission hang list in the transaction commission table is periodically screened with a second preset duration as a period, and the commission hang list with the commission duration exceeding the commission time limit is identified.
In operation S262, the transaction status of the delegation suspension order in which the delegation duration has exceeded the delegation age in the transaction delegation table is marked as a second status.
And the first preset time length is not necessarily related to the second preset time length. Meanwhile, operations S261 and S262 may be before operation S250 or after operation S250.
Fig. 5 schematically shows a flow chart of a product transaction processing method according to embodiment 3 of the present disclosure.
As shown in fig. 5, according to the method for processing a product transaction provided by the embodiment of the present disclosure, in addition to operations S210 to S250, the method may further include operation S270.
In operation S270, all the order lists and their transaction statuses recorded in the transaction order list are recorded in the order list.
In this embodiment, the order form is registered by the user at the same time as the product transaction order form when the user invests in product sales. By updating the entrusting detailed table, the entire entrusting statement and the latest transaction state of each entrusting statement are reserved in the entrusting detailed table, and all entrusting transactions are ensured to be well documented and historically traceable.
In the embodiment, the commission schedule and the commission detail schedule supplement each other and respectively take their own duties, and by the ingenious combination, the system goal of achieving higher processing efficiency and better effect through lower resource occupation and consumption and ensuring that the product trading transaction with the latest price can be met and the transaction can be timely realized.
In this embodiment, the acquiring of the order form in the transaction order table in operation S220 may include operation S221.
In operation S221, an entrusting hang ticket whose transaction state is a third state in the transaction entrusting table is obtained; the third state indicates that the order has not exceeded the order age and the transaction has not been completed.
In this embodiment, because the price of the target product is in real-time change, the real-time transaction data of the target product is acquired along with each change of the price of the target product, and the price change can be triggered as a source, so that the phenomenon of packet loss in quotation is avoided, and it is ensured that when the real-time transaction data meets the product trade requirement, the corresponding hang-up ticket can be committed in time. The product transaction processing method of the present embodiment is performed. And the entrusting hanging lists with the transaction states of the first state and the second state are deleted through asynchronous triggering at intervals of a first preset time length and a second preset time length. The design is reasonable, the transaction entrusting table is thinned, and the compactness of the transaction entrusting table is kept.
In this embodiment, each consignment order has a consignment time limit, the consignment order exceeding the consignment time limit is a failure consignment order, the failure consignment order is marked in time, the failure consignment order is not processed, and the system operation resources are saved. And deleting the consignment suspension list marked as 'invalid' in the transaction consignment list every second preset time interval, and slimming the transaction consignment list, so that the simplicity of the transaction consignment list is ensured, and the consignment suspension list can be efficiently processed. According to the method, the order meeting the transaction conditions can be committed in time, the transaction order form of the target product is concise, and the order form can be processed efficiently.
Fig. 6 schematically illustrates a flowchart of operation S240 according to any one of embodiments 1 to 3 of the present disclosure.
As shown in fig. 6, the generation of the transaction trigger signal in operation S240 to make the transaction system complete the transaction of the target product of the order in which the real-time transaction data is included in the target transaction data range in response to the trigger signal may include operations S241 to S243.
In operation S241, a target transaction data range including a real-time transaction data commission suspension order is acquired according to the transaction trigger signal.
In operation S242, a target product inventory is acquired, and it is confirmed that the inventory of the target product is greater than a total amount of the target product to be traded when the trading of the target product is performed. In operation S243, account information of the user corresponding to the order in the transaction system is obtained, and in the case of user authorization, the transaction transfer is executed to complete the transaction of the target product.
In the present embodiment, operations S241 and S242 cause the server system to automatically complete the transaction, simplifying the operation of the user.
In some embodiments, the obtaining of the account information of the user corresponding to the delegation hanging list in the transaction system in operation S242 includes: and acquiring a fund account and a target product account of the user corresponding to the consignment hang-up order, and calculating the transaction amount of the target product according to the quantity of the target product to be purchased recorded in the consignment hang-up order and the quotation of the target product when the consignment hang-up order is set as a 'finished transaction' mark.
In the embodiment, the exposure of the product transaction processing system is calculated according to the expected target product stock preset by the product transaction processing system by determining the target product stock in the product transaction processing system; and if the exposure is larger than a preset exposure threshold value, controlling the product transaction processing system to buy/sell the target product until the expected target product stock of the product transaction processing system is reached.
In the embodiment, the bank opening is always kept within a reasonable and expected value, and the market fluctuation risk can be effectively avoided. Meanwhile, various transaction information such as the transaction, the exposure position, the entrusted exposure position and the like of the target product is further inquired and counted by calculating the exposure of the product transaction processing system, prejudgment and preparation are made in advance by analyzing the transaction condition and the market trend, and a targeted effective means is adopted, so that the market is further expanded, and the risk is effectively controlled and avoided.
If the transaction type in the consignment hanging order is purchase, deducting transaction amount from the fund account, and adding the quantity of the purchased target products into the target product account to complete the target product transaction; if the transaction type in the consignment hanging order is selling, adding the transaction amount from the fund account, and deducting the quantity of the sold target products from the target product account to finish the target product transaction.
The server system executes the transaction transfer and sets the transaction initial amount and the corresponding transaction basic point difference in the server system.
In some embodiments, the operation S240 may further include: when the user registers the consignment suspension order, if the transaction type filled in the consignment suspension order is buying, locking the fund in the fund account of the user, which is the same as the trading amount, according to the trading amount expected by the user in the consignment suspension order, and ensuring that the fund with sufficient amount in the fund account can be deducted after the transaction of the buying target product is made, so as to ensure the success of the transaction. When the transaction is performed, the locked funds are preferentially deducted. And at every interval of a third preset time, if the transaction type in the consignment hanging list is buying, and if the transaction is finished, the locked fund is still contained in the fund account, and the fund is unlocked.
Based on the product transaction processing method, the disclosure also provides a product transaction processing device. The apparatus will be described in detail below with reference to fig. 7.
Fig. 7 schematically shows a block diagram of the structure of a product transaction processing apparatus according to embodiment 1 of the present disclosure.
As shown in fig. 7, the product transaction processing apparatus 700 of this embodiment includes an index obtaining module 710, a consignment obtaining module 720, an index screening module 730, a transaction triggering module 740, and a consignment deletion module 750.
The index obtaining module 710 is used for obtaining real-time transaction data of the target product. In an embodiment, the index obtaining module 710 may be configured to perform the operation S210 described above, which is not described herein again.
The order obtaining module 720 is configured to obtain an order in a transaction order table, where the order includes a target transaction data range of a transaction of a user entrusting a target product, and the transaction order table includes a stock order of the transaction of the user entrusting the target product in a transaction system. In an embodiment, the order obtaining module 720 may be configured to perform the operation S220 described above, which is not described herein again.
The indicator screening module 730 is configured to compare the real-time transaction data with the target transaction data range and determine that the real-time transaction data includes the consignment pending statement within the target transaction data range. In an embodiment, the index screening module 730 may be configured to perform the operation S230 described above, which is not described herein again.
The transaction triggering module 740 is configured to generate a transaction triggering signal to cause the transaction system to complete a transaction for a target product for which the real-time transaction data includes a commission hang-up in a target transaction data range in response to the triggering signal. In an embodiment, the transaction triggering module 740 may be configured to perform the operation S240 described above, which is not described herein again.
The order deletion module 750 is configured to delete an order pending from the transaction order table that the target product transaction has been completed. In an embodiment, the proxy deletion module 750 may be configured to perform the operation S250 described above, and is not described herein again.
According to the embodiment of the disclosure, based on the transaction trigger signal, the entrusting suspension order can be timely processed according to real-time transaction data, so that the timeliness of entrusting suspension order processing is improved; the completed consignment suspension order in the transaction consignment table is deleted in time, so that the calculation amount of data scanning is reduced, and the calculation efficiency of a product transaction system is improved.
According to an embodiment of the present disclosure, any multiple modules of the index obtaining module 710, the order obtaining module 720, the index screening module 730, the transaction triggering module 740, and the order deleting module 750 may be combined and implemented in one module, or any one of the modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module. According to an embodiment of the disclosure, at least one of the index obtaining module 710, the order obtaining module 720, the index screening module 730, the transaction triggering module 740, and the order pruning module 750 may be implemented at least in part as a hardware circuit, 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 a package, an Application Specific Integrated Circuit (ASIC), or any other reasonable manner of integrating or packaging a circuit, or any one of three manners of implementation, or any suitable combination of any of them. Alternatively, at least one of the metrics acquisition module 710, the order acquisition module 720, the metrics filtering module 730, the transaction triggering module 740, and the order pruning module 750 may be at least partially implemented as a computer program module that, when executed, may perform a corresponding function.
Fig. 8 schematically illustrates a block diagram of an electronic device adapted to implement a product transaction processing method according to an embodiment of the disclosure.
As shown in fig. 8, an electronic device 800 according to an embodiment of the present disclosure includes a processor 801 that 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 section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., application Specific Integrated Circuit (ASIC)), among others. 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 flows according to embodiments of the present disclosure.
In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are stored. The processor 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 802 and/or RAM 803. Note that the programs may also be stored in one or more memories other than the ROM 802 and RAM 803. The processor 801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 800 may also include input/output (I/O) interface 805, input/output (I/O) interface 805 also connected to bus 804, according to an embodiment of the present disclosure. Electronic device 800 may also include one or more of the following components connected to I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. 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 magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include one or more memories other than the ROM 802 and/or RAM803 and/or ROM 802 and RAM803 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the product transaction processing method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 801. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via communication section 809, and/or installed from removable media 811. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program, when executed by the processor 801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be appreciated by a person skilled in the art that various combinations or/and combinations of features recited in the various embodiments of the disclosure and/or in the claims may be made, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments of the present disclosure and/or the claims may be made without departing from the spirit and teachings of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (11)

1. A method of processing product transactions, comprising:
acquiring real-time transaction data of a target product;
acquiring a delegation suspension list in a transaction delegation table, wherein the delegation suspension list comprises a target transaction data range of a user delegating a target product transaction, and the transaction delegation table comprises a stock delegation suspension list of the user delegating the target product transaction in a transaction system;
comparing the real-time transaction data with the target transaction data range, and determining that the target transaction data range in the transaction entrusting table contains an entrusting hanging bill of the real-time transaction data;
generating a transaction trigger signal, enabling a transaction system to respond to the trigger signal and complete the transaction of a target product of which the target transaction data range contains the entrusting suspension order of the real-time transaction data, wherein the transaction trigger signal is generated in real time along with the change of the real-time transaction data;
and deleting the entrusting hanging list of the transaction of the target product in the transaction entrusting table.
2. The product transaction processing method of claim 1, wherein the deleting the order form in the transaction order form for which the target product transaction is completed comprises: marking the transaction state of the entrusted suspension bill which is finished with the transaction of the target product in the transaction entrustment table as a first state;
and periodically screening the entrusting hanging list in the transaction entrusting list by taking a first preset duration as a period, and deleting the entrusting hanging list with the transaction state being a first state.
3. The product transaction processing method of claim 2, further comprising:
periodically screening the entrusted suspension list in the transaction entrusted table by taking a second preset time length as a period, and identifying the entrusted suspension list of which the entrusted time length exceeds the entrusted time limit;
marking the transaction state of the consignment hanging list with the consignment duration exceeding the consignment time limit in the transaction consignment list as a second state;
the obtaining of the consignment hanging list in the transaction consignment table comprises the following steps: acquiring an entrusting hanging bill of which the transaction state is a third state in the transaction entrusting table; the third state indicates that the order has not exceeded an order age and a transaction has not been completed.
4. The product transaction processing method of claim 1, further comprising:
and recording all the consignation hanging lists and the transaction states recorded in the transaction consignation list in a consignation detail list.
5. The product transaction processing method of claim 1, wherein generating the transaction trigger signal to cause the transaction system to respond to the trigger signal to complete the target product transaction in which the target transaction data range includes the entrusting suspension of the real-time transaction data comprises:
acquiring the target transaction data range containing the real-time transaction data committing suspension list according to the transaction trigger signal;
and acquiring account information of the user corresponding to the consignment hang list in the transaction system, and executing transaction transfer under the condition of user authorization to finish the transaction of the target product.
6. The product transaction processing method of claim 1, further comprising:
and displaying the real-time transaction data of the target product so that the user can timely know the real-time transaction data.
7. The product transaction processing method of claim 1, further comprising:
and acquiring the stock of the target product, and confirming that the stock of the target product is greater than the total amount of the target product to be traded when the target product is traded.
8. A product transaction processing apparatus, comprising:
the index acquisition module is used for acquiring real-time transaction data of a target product;
the entrusting note acquisition module is used for acquiring an entrusting hanging note in a transaction entrusting list, wherein the entrusting hanging note comprises a target transaction data range of a target product transaction entrusted by a user, and the transaction entrusting list comprises a stock entrusting hanging note of the target product transaction entrusted by the user in a transaction system;
the index screening module is used for comparing the real-time transaction data with the target transaction data range and determining that the target transaction data range in the transaction entrusting table contains an entrusting hanging list of the real-time transaction data;
the transaction triggering module is used for generating a transaction triggering signal, so that the transaction system responds to the triggering signal and finishes the target product transaction of the entrusted suspension order of the target transaction data range containing the real-time transaction data;
and the entrusting deletion module is used for deleting the entrusting hanging list of the target product transaction in the transaction entrusting list.
9. An electronic device, comprising:
one or more processors;
a storage device to store one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN202210817805.XA 2022-07-12 2022-07-12 Product transaction processing method, device, equipment, medium and program product Pending CN115689734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210817805.XA CN115689734A (en) 2022-07-12 2022-07-12 Product transaction processing method, device, equipment, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210817805.XA CN115689734A (en) 2022-07-12 2022-07-12 Product transaction processing method, device, equipment, medium and program product

Publications (1)

Publication Number Publication Date
CN115689734A true CN115689734A (en) 2023-02-03

Family

ID=85061340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210817805.XA Pending CN115689734A (en) 2022-07-12 2022-07-12 Product transaction processing method, device, equipment, medium and program product

Country Status (1)

Country Link
CN (1) CN115689734A (en)

Similar Documents

Publication Publication Date Title
CN100418060C (en) Prioritization of response activities
KR101794221B1 (en) System and method for providing calculation of online sellers
US20150379485A1 (en) Systems and methods for identifying and remedying account error events in networked computer systems
US20150081377A1 (en) Dynamic pricing for financial products
US20140279353A1 (en) C2EX Compute Commodities Exchange
CN111161060A (en) Comprehensive platform for investment and research transaction
JP2002092328A (en) Stock dealing system and stock dealing method
US10127508B1 (en) Dynamically changing sales commissions
CN115689734A (en) Product transaction processing method, device, equipment, medium and program product
CN114357523A (en) Method, device, equipment, storage medium and program product for identifying risk object
CN111383099A (en) Wind control method and device based on bulk goods transaction
US10373263B1 (en) Extensible infrastructure for managing workflow on a plurality of installed application components that interact with a central hosted component
US11769151B2 (en) Methods and systems for rate-limiting control of transaction processing
US11822959B2 (en) Methods and systems for processing requests using load-dependent throttling
US20230297413A1 (en) Dual stage bulkheads
US20080301031A1 (en) SCALING OFFERS FOR ELEMENTAL BIDDABLE RESOURCES (EBRs)
US20240028410A1 (en) Resource limit(s) for execution of an executable program on an execution platform based on an attribute(s) of an input(s) on which the executable program is executed
US11599860B2 (en) Limit purchase price by stock keeping unit (SKU)
US20170262937A1 (en) Flexible account management for financial account holding financial instruments lacking sales loads
US20230410137A1 (en) Methods for managing virtual shopping carts
US20230056015A1 (en) Systems and methods for modifying online stores through scheduling
US20230053818A1 (en) Systems and methods for modifying online stores
CN113506177A (en) Foreign exchange transaction limit control method and device
CN116664236A (en) Commodity management and control method, commodity management and control device, computer equipment and computer readable storage medium
CN115797074A (en) Account management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination