CN113095936B - Entrusted order processing method, entrusted order processing device, computer equipment and storage medium - Google Patents

Entrusted order processing method, entrusted order processing device, computer equipment and storage medium Download PDF

Info

Publication number
CN113095936B
CN113095936B CN202110291711.9A CN202110291711A CN113095936B CN 113095936 B CN113095936 B CN 113095936B CN 202110291711 A CN202110291711 A CN 202110291711A CN 113095936 B CN113095936 B CN 113095936B
Authority
CN
China
Prior art keywords
entrusted
order information
entrusted order
transaction
transaction channel
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.)
Active
Application number
CN202110291711.9A
Other languages
Chinese (zh)
Other versions
CN113095936A (en
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.)
Shenzhen Huarui Distributed Technology Co ltd
Original Assignee
Shenzhen Huarui Distributed Technology Co ltd
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 Shenzhen Huarui Distributed Technology Co ltd filed Critical Shenzhen Huarui Distributed Technology Co ltd
Priority to CN202110291711.9A priority Critical patent/CN113095936B/en
Publication of CN113095936A publication Critical patent/CN113095936A/en
Application granted granted Critical
Publication of CN113095936B publication Critical patent/CN113095936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to a method and a device for processing an entrusted order, computer equipment and a storage medium. The method comprises the following steps: obtaining entrusted order information sent by a user side; distributing a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to the report server; the report server is used for receiving the entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server; the delegated order is responded to based on the transaction channel. By adopting the method, the entrusting orders of the important users and other users can be prevented from sharing a trading channel, so that the entrusting orders of the important users can be processed in time.

Description

Entrusted order processing method, entrusted order processing device, computer equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing an order, a computer device, and a storage medium.
Background
With the development of the securities network trading technology, a dealer system responds to a consignment order when receiving the consignment order sent by a user side. The dealer system may include TE (Trading Engine), ORS (Order Routing Service, system reporting Service component), and other components. In responding to the commitment order, the trading engine sends an offer request to the exchange server through an offer server. The path of the transaction engine, the offer server and the exchange server forms a transaction channel.
At present, the dealer system performs unified processing on accounts of various users, so that all accounts can complete responses only through a common transaction channel. When the data volume of the entrusted orders is large, the entrusted orders of all accounts need to be queued to be processed, so that the technical problem that the entrusted orders of important users cannot be processed in time is caused.
Disclosure of Invention
In view of the above, it is desirable to provide a method, an apparatus, a computer device, and a storage medium for processing a request order of an important user in a timely manner.
A delegated order processing method, the method comprising:
obtaining entrusted order information sent by a user side;
distributing a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server;
responding to the order based on the transaction channel.
In one embodiment, the method further comprises the following steps: the allocating a corresponding transaction channel for the entrusted order according to the entrusted order information comprises:
acquiring the user type of the entrusted order according to the entrusted order information; the user types comprise common users and important users;
and distributing a corresponding transaction channel for the entrusted order according to the user type.
In one embodiment, the method further comprises the following steps: the allocating a corresponding transaction channel to the entrusted order according to the user type comprises:
if the user type of the entrusting order is an important user, detecting whether the important user is in the exclusive transaction channel use validity period; the exclusive transaction channel is a transaction channel which can only carry out one-to-one information transmission and processing between the transaction engine and the report server and between the report server and the exchange server;
if the use validity period of the exclusive transaction channel of the important user is expired, distributing a capacity expansion transaction channel for the entrusted order; the capacity expansion transaction channel is other transaction channels except the exclusive transaction channel;
and if the use validity period of the exclusive transaction channel of the important user does not expire, allocating an exclusive transaction channel for the entrusted order.
In one embodiment, the method further comprises the following steps: the allocating a corresponding transaction channel for the entrusted order according to the user type further includes:
and if the user type of the entrusted order is a common user, allocating a capacity expansion transaction channel for the entrusted order.
In one embodiment, the method further comprises the following steps: the responding to the commitment order based on the transaction channel comprises:
a transaction engine in the transaction channel acquires the entrusted order information and sends the entrusted order information to a reporting server;
and the report server receives the entrusted order information and sends the entrusted order information to the exchange server for processing.
In one embodiment, the method further comprises the following steps: the transaction engine acquires the entrusted order information and sends the entrusted order information to a reporting server, and the method also comprises the following steps:
acquiring an account identifier of the entrusted order; the account identification is a tag of a trading engine used to determine the order to commit;
allocating a transaction engine for the entrusted order according to the account identifier and a preset mapping table; the mapping table comprises mapping relations between the account identifications and the transaction engine.
In one embodiment, the method further comprises the following steps: the sending the entrusted order information to the exchange server for processing further comprises:
and the exchange server sends the processed entrusted order information to the user side according to the original path.
A delegated order processing apparatus, the apparatus comprising:
the acquisition module is used for acquiring entrusted order information sent by a user side;
the distribution module is used for distributing a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving the entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server;
and the response module is used for responding to the entrusted order based on the transaction channel.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
obtaining entrusting order information sent by a user side;
the system is used for allocating a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving the entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server;
responding to the delegated order based on the transaction channel.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
obtaining entrusted order information sent by a user side;
the system is used for allocating a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving the entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server;
responding to the order based on the transaction channel.
According to the entrusting order processing method, the entrusting order processing device, the computer equipment and the storage medium, different transaction channels are distributed for entrusting orders according to entrusting order information sent by the user side. When the entrusted order is sent by the important user, allocating an exclusive trading channel for the entrusted order of the important user; the method avoids the entrusting orders of the important user and other users from sharing a trading channel, so that the entrusting orders of the important user can be processed in time.
Drawings
FIG. 1 is a diagram of an application environment for a method of delegated order processing in one embodiment;
FIG. 2 is a flow diagram illustrating a method for delegated order processing according to one embodiment;
FIG. 3 is a flowchart illustrating the step of assigning trade channels to a delegated order in one embodiment;
FIG. 4 is a block diagram of the structure of a delegated order processing apparatus in one embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The entrusted order processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 and the server 104 may be respectively and independently used for executing the entrusted order processing method provided by the present application. The terminal 102 and the server 104 may also be configured to cooperatively perform the delegated order processing method provided by the present application. For example, the server 104 is configured to obtain entrusted order information sent by the user end; distributing a corresponding transaction channel for the entrusted order according to the entrusted order information; responding to the delegated order based on the transaction channel.
The terminal 102 may be, but not limited to, a mobile phone, a computer, a tablet device, etc. of a dealer system user side, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a method for processing a delegated order is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step 202, obtaining the order information sent by the user terminal.
The order form refers to a behavior that a user gives a trading instruction in a certain way and specifies the type, quantity, price and the like of a contract to be bought and sold, and is generally applied to various financial trades including financial products such as securities, futures and the like. The entrusted order information is information containing entrusted orders, which is usually generated by a user end system of a user operation transaction system, and after being generated at the user end, the entrusted order information is usually sent to a background server for processing.
Specifically, a user generates a commission order according to a transaction instruction which is required to be issued by operating a client system; the entrusted order is sent to the server in the form of entrusted order information through a related network protocol, and the server correspondingly processes the entrusted order information and then sends the processed entrusted order information to the client of the user.
Step 204, distributing a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; and the exchange server is used for receiving and processing the entrusted order information sent by the reporting server.
The transaction channel is a channel for realizing transmission and processing of entrusted order information, and the entrusted order information can be transmitted and processed in the transaction channel and can return a processing result according to an original path. Different transaction channels can be set according to different types of users, for example, a special transaction channel is separately arranged for a special user (such as a user with a transaction amount reaching a preset transaction threshold), a plurality of common users share the transaction channel, and the like.
Specifically, different transaction channels are allocated to the entrusted orders according to different types of the entrusted orders. The type of transaction channel may be an exclusive transaction channel or a shared transaction channel. The transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to the reporting server for reporting; the reporting server is used for receiving the entrusted order information sent by the transaction engine and sending the entrusted order information to the exchange server for reporting; and the exchange server is used for receiving and processing the entrusted order information sent by the report server and generating a processing result. The classification of the entrusted order is determined by entrusted order information, and how to allocate the transaction channels according to the entrusted order information is specific, which is not limited in this embodiment. For example, the entrusted order information includes information of a lot of order contents and information of the user, and the allocation of entrusted order transaction channels is realized according to the information of the order contents and/or the information of the user.
Step 206, responding to the order based on the transaction channel.
After a trading channel is distributed for the entrusted order information, the entrusted order information is transmitted and processed through the distributed trading channel, and the processed entrusted order information is sent to a user side of a user through the trading channel according to conditions; different efficiency can be achieved when the entrusted order information is responded through different transaction channels, for example, the shared transaction channel does not share the transaction channel with other users, the efficiency of responding the entrusted order information is greatly improved, and the entrusted order information is processed more timely.
According to the entrusted order processing method, a corresponding transaction channel is allocated to an entrusted order according to entrusted order information generated by a user, and the entrusted order information is transmitted and processed through the transaction channel. By distributing different transaction channels for different entrusted orders, the important user and the common user are prevented from using the same transaction channel, so that the entrusted orders of the important user can be transmitted and processed in time.
In one embodiment, the allocating a corresponding transaction channel for a delegation order according to the delegation order information includes:
acquiring the user type of the entrusted order according to the entrusted order information; the user types comprise common users and important users;
the rule for dividing the user types is not limited in this embodiment, for example, the user types may be divided according to the transaction fund amount of the user, so that the user who achieves the preset transaction fund is divided into important users; and classifying the users who do not reach the preset transaction funds into common users.
And distributing a corresponding transaction channel for the entrusted order according to the user type.
Specifically, different transaction channels are allocated for users of different user types; preferentially distributing a transaction channel with higher transaction efficiency to important users; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is an entrance of entrusted order information and is a precondition for realizing transmission and processing of the entrusted order information; and the reporting server is used for receiving the entrusted order information from the trading engine and sending the entrusted order information to the exchange server for processing.
All transaction channels comprise a transaction engine, a report server and a trading exchange server; however, the connections between the transaction engine, the listing server and the exchange server may be different within different transaction channels. The more efficient the transaction channel, the simpler the connection between the transaction engine, the offer server and the exchange server. For example, in an exclusive trading channel, the trading engine is connected to only one listing server, which is likewise connected to only one exchange server.
In the embodiment, a corresponding transaction channel is allocated to the entrusted order according to the entrusted order information; the method and the device realize the distribution of different transaction channels according to the importance degree values of the entrusted orders, can ensure that the important entrusted order information is timely and effectively transmitted and processed, and avoid the delay of the processing of the important entrusted orders.
In an embodiment, as shown in fig. 3, the allocating a corresponding transaction channel for the entrusted order according to the user type includes:
if the user type of the entrusting order is an important user, detecting whether the important user is in the exclusive transaction channel use validity period; the exclusive transaction channel is a transaction channel which can only carry out one-to-one information transmission and processing between the transaction engine and the report server and between the report server and the exchange server;
in the exclusive transaction channel, information transmission and processing can be carried out only one-to-one between the transaction engine and the report server and between the report server and the exchange server. The exclusive transaction channel can only process the entrusted order information of one user at the same time, and the exclusive transaction channel is not shared with the entrusted order information of other users, so that the processing speed of the entrusted order using the exclusive transaction channel is improved.
Specifically, when an important user who sends the entrusted order information must be within the usage period of the exclusive transaction channel, the exclusive transaction channel is allocated to the important user.
If the use validity period of the exclusive transaction channel of the important user is expired, distributing a capacity expansion transaction channel for the entrusted order; the capacity expansion transaction channel is other transaction channels except the exclusive transaction channel;
and if the use validity period of the exclusive transaction channel of the important user does not expire, allocating an exclusive transaction channel for the entrusted order.
Specifically, the use validity period of the exclusive transaction channel is preset, and the specific setting criteria is not limited in this embodiment. For example, the method may be based on a top-up purchase, a gift, or the like. Only when the use validity period of the exclusive transaction channel of the important user does not expire, the exclusive transaction channel is allocated to the important user, and the priority processing of the entrusted order of the important user is ensured; otherwise, distributing an expansion transaction channel to the important user.
In this embodiment, by setting the usage validity period of the exclusive transaction channel, important users can be distinguished, and the exclusive transaction channel is allocated only to the important users within the usage validity period of the exclusive transaction channel, thereby avoiding the problem that the exclusive transaction channel is not enough due to the fact that more important users are accumulated.
In an embodiment, as shown in fig. 3, the allocating a corresponding transaction channel for the order according to the user type further includes:
and if the user type of the entrusted order is a common user, allocating a capacity expansion transaction channel for the entrusted order.
Specifically, if the user type of the entrusted order is a common user, directly allocating an expansion transaction channel for the common user; in the capacity expansion transaction channel, a transaction engine, a report server and a trading exchange server are also arranged; different from the exclusive transaction channel, in the expansion transaction channel, the transaction engine and the report server can be in one-to-one, many-to-one or one-to-many connection relation; there may be a one-to-one or one-to-many relationship between the listing server and the exchange server.
In the embodiment, the expansion transaction channel is allocated for the entrusted order information of the common user, so that the situation that the exclusive transaction channel is an important user is saved, and the processing efficiency of the entrusted order of the important user is improved.
In one embodiment, said responding to said delegated order based on said transaction channel comprises:
a transaction engine in the transaction channel acquires the entrusted order information and sends the entrusted order information to a reporting server;
and the report server receives the entrusted order information and sends the entrusted order information to the exchange server for processing.
Specifically, the report server is respectively connected with the trading engine and the exchange server, and transmits the entrusted order information acquired from the trading engine to the exchange server for processing. And according to the difference of the entrusted order information, the exchange server performs corresponding processing to realize the transaction purpose of the user sending the entrusted order information.
In this embodiment, the entrusted order information is correspondingly processed through the transaction engine, the report server and the exchange server in different transaction channels, so that the transaction purpose of the entrusted order user can be realized according to the importance degree of the user.
In one embodiment, the transaction engine obtains the entrusted order information, and sends the entrusted order information to a reporting server, before further comprising:
acquiring an account identifier of the entrusted order; the account identification is a tag of a trading engine used to determine the order to commit;
allocating a transaction engine for the entrusted order according to the account identifier and a preset mapping table; the mapping table includes a mapping relationship between each account identifier and the transaction engine.
Specifically, the account information of the user who sent the entrusted order can be acquired through the entrusted order information, and the account identifier of the user is acquired according to the account information. For the important user in the use validity period of the exclusive transaction channel, the transaction engine obtained by the account identifier in the sent entrusted order through the mapping table is the transaction engine special for the exclusive transaction channel, and the transaction engine is only connected with one report server, so that the entrusted order of the important user is ensured not to share the transaction channel with the entrusted orders of other ordinary users when being processed.
In the embodiment, the account information of the user sending the entrusted order is obtained according to the entrusted order information, and the account identifier is obtained according to the account information; allocating different transaction engines for different entrusted orders through a mapping table comprising mapping relations between the account identifications and the transaction engines; different transaction channels are distributed to different entrusted order information through different transaction engines, so that the important entrusted order information can be timely and effectively transmitted and processed, and the processing delay of the important entrusted order is avoided.
In one embodiment, the sending the delegated order information to the exchange server for processing further includes:
and the exchange server sends the processed entrusted order information to the user side according to an original path.
Specifically, after the exchange server has finished processing the order information, result information of the completion of the processing may be generated, and sometimes it is necessary to send the result information back to the user side of the user so that the user knows the processing result of the exchange server. At this time, the exchange server transmits result information generated after the request order information is processed to the client of the user through the original path.
In the embodiment, the exchange server processes the entrusted order information, generates a processing result and sends the processing result back to the client of the user through the original path; for the entrusted order of the important user, the condition that the order shares a transaction channel with other users when information is returned is avoided, so that the important user can receive the processing result sent back by the exchange server in time.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 4, there is provided a delegated order processing apparatus including: an obtaining module 401, an allocating module 402, and a responding module 403, wherein:
an obtaining module 401, configured to obtain entrusted order information sent by a user;
the allocating module 402 is configured to allocate a corresponding transaction channel to the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving the entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server;
a response module 403, configured to respond to the delegation order based on the transaction channel.
In one embodiment, the allocating module 402 is further configured to obtain a user type of the delegation order according to the delegation order information; the user types comprise common users and important users; and distributing a corresponding transaction channel for the entrusted order according to the user type.
In one embodiment, the allocating module 402 is further configured to determine a user type of the delegation order, and if the user type of the delegation order is an important user, detect whether the important user is within a usage validity period of the exclusive transaction channel; the exclusive transaction channel is a transaction channel which can only carry out one-to-one information transmission and processing between the transaction engine and the report server and between the report server and the exchange server; if the use validity period of the exclusive transaction channel of the important user is expired, distributing a capacity expansion transaction channel for the entrusted order; the capacity expansion transaction channel is other transaction channels except the exclusive transaction channel; and if the use validity period of the exclusive transaction channel of the important user does not expire, allocating an exclusive transaction channel for the entrusted order.
In one embodiment, the allocating module 402 is further configured to determine a user type of the entrusted order, and allocate a capacity expansion transaction channel to the entrusted order if the user type of the entrusted order is a common user.
In one embodiment, the response module 403 is further configured to obtain the entrusted order information through a transaction engine in a transaction channel, and send the entrusted order information to an offer server; and the report server receives the entrusted order information and sends the entrusted order information to the exchange server for processing.
In one embodiment, the allocating module 402 is further configured to obtain an account identifier of the delegation order; the account identification is a tag of a trading engine used to determine the order to commit; allocating a transaction engine for the entrusted order according to the account identifier and a preset mapping table; the mapping table includes a mapping relationship between each account identifier and the transaction engine.
In one embodiment, the response module 403 is further configured to send the processed entrusted order information to the client in the exchange server according to the original path.
The entrusted order processing device allocates different transaction channels for the entrusted order according to the entrusted order information sent by the user side. When the entrusted order is sent by the important user, allocating an exclusive trading channel for the entrusted order of the important user; the method avoids the entrusting orders of the important user and other users from sharing a trading channel, so that the entrusting orders of the important user can be processed in time.
The specific definition of the order processing device may refer to the above definition of the order processing method, and is not described herein again. The modules in the above-described entrusted order processing apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a delegated order processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
obtaining entrusted order information sent by a user side;
distributing a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving the entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server;
responding to the delegated order based on the transaction channel.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the user type of the entrusted order according to the entrusted order information; the user types comprise common users and important users; and distributing a corresponding transaction channel for the entrusted order according to the user type.
In one embodiment, the processor, when executing the computer program, further performs the steps of: judging the user type of the entrusted order, and if the user type of the entrusted order is an important user, detecting whether the important user is in the exclusive transaction channel use validity period; the exclusive transaction channel is a transaction channel which can only carry out one-to-one information transmission and processing between the transaction engine and the report server and between the report server and the exchange server; if the use validity period of the exclusive transaction channel of the important user is expired, distributing a capacity expansion transaction channel for the entrusted order; the capacity expansion transaction channel is other transaction channels except the exclusive transaction channel; and if the use validity period of the exclusive transaction channel of the important user does not expire, allocating an exclusive transaction channel to the entrusted order.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and judging the user type of the entrusted order, and if the user type of the entrusted order is a common user, allocating a capacity expansion transaction channel for the entrusted order.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining the entrusted order information through a transaction engine in a transaction channel, and sending the entrusted order information to a reporting server; and the report server receives the entrusted order information and sends the entrusted order information to the exchange server for processing.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring an account identifier of the entrusted order; the account identification is a tag of a trading engine used to determine the order to commit; allocating a transaction engine for the entrusted order according to the account identifier and a preset mapping table; the mapping table includes a mapping relationship between each account identifier and the transaction engine.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and sending the processed entrusted order information to the user side at the exchange server according to an original path.
The computer equipment allocates different transaction channels for the entrusted orders according to the entrusted order information sent by the user side. When the entrusted order is sent by the important user, allocating an exclusive trading channel for the entrusted order of the important user; the method avoids the entrusting orders of the important user and other users from sharing a trading channel, so that the entrusting orders of the important user can be processed in time.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
obtaining entrusted order information sent by a user side;
distributing a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server;
responding to the delegated order based on the transaction channel.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the user type of the entrusted order according to the entrusted order information; the user types comprise common users and important users; and distributing a corresponding transaction channel for the entrusted order according to the user type.
In one embodiment, the computer program when executed by the processor further performs the steps of: judging the user type of the entrusted order, and if the user type of the entrusted order is an important user, detecting whether the important user is in the use validity period of the exclusive transaction channel; the exclusive transaction channel is a transaction channel which can only carry out one-to-one information transmission and processing between the transaction engine and the report server and between the report server and the exchange server; if the use validity period of the exclusive transaction channel of the important user is expired, allocating a capacity expansion transaction channel for the entrusted order; the capacity expansion transaction channel is other transaction channels except the exclusive transaction channel; and if the use validity period of the exclusive transaction channel of the important user does not expire, allocating an exclusive transaction channel to the entrusted order.
In one embodiment, the computer program when executed by the processor further performs the steps of: and judging the user type of the entrusted order, and if the user type of the entrusted order is a common user, allocating a capacity expansion transaction channel for the entrusted order.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining the entrusted order information through a transaction engine in a transaction channel, and sending the entrusted order information to an offer server; and the report server receives the entrusted order information and sends the entrusted order information to the exchange server for processing.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring an account identifier of the entrusted order; the account identification is a tag of a trading engine used to determine the order to commit; allocating a transaction engine for the entrusted order according to the account identifier and a preset mapping table; the mapping table includes a mapping relationship between each account identifier and the transaction engine.
In one embodiment, the computer program when executed by the processor further performs the steps of: and sending the processed entrusted order information to the user side at the exchange server according to an original path.
The storage medium allocates different transaction channels for the entrusted orders according to the entrusted order information sent by the user side. When the entrusted order is sent by the important user, allocating an exclusive trading channel for the entrusted order of the important user; the method avoids the entrusting orders of the important user and other users from sharing a trading channel, so that the entrusting orders of the important user can be processed in time.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A delegated order processing method, the method comprising:
obtaining entrusted order information sent by a user side;
acquiring the user type of the entrusted order according to the entrusted order information; the user types comprise common users and important users; distributing a corresponding transaction channel for the entrusted order according to the user type; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving the entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server;
the allocating a corresponding transaction channel to the entrusted order according to the user type comprises:
if the user type of the entrusting order is an important user, detecting whether the important user is in the exclusive transaction channel use validity period; the exclusive transaction channel is a transaction channel which can only carry out one-to-one information transmission and processing between the transaction engine and the report server and between the report server and the exchange server;
if the use validity period of the exclusive transaction channel of the important user is expired, distributing a capacity expansion transaction channel for the entrusted order; the capacity expansion transaction channel is other transaction channels except the exclusive transaction channel;
if the use validity period of the exclusive transaction channel of the important user does not expire, allocating an exclusive transaction channel for the entrusted order;
responding to the delegated order based on the transaction channel.
2. The method of claim 1, wherein said assigning a corresponding trading channel to said order based on said user type further comprises:
and if the user type of the entrusted order is a common user, allocating a capacity expansion transaction channel for the entrusted order.
3. The method of claim 2, wherein said responding to the commitment order based on the transaction channel comprises:
a transaction engine in the transaction channel acquires the entrusted order information and sends the entrusted order information to a reporting server;
and the report server receives the entrusted order information and sends the entrusted order information to the exchange server for processing.
4. The method of claim 3, wherein the transaction engine obtains the delegated order information and sends the delegated order information to a reporting server, and further comprising:
acquiring an account identifier of the entrusted order; the account identification is a tag of a trading engine used to determine the order to commit;
allocating a transaction engine for the entrusted order according to the account identification and a preset mapping table; the mapping table includes a mapping relationship between each account identifier and the transaction engine.
5. The method of claim 3, wherein sending the delegated order information to the exchange server for processing further comprises:
and the exchange server sends the processed entrusted order information to the user side according to an original path.
6. A delegated order processing apparatus, the apparatus comprising:
the acquisition module is used for acquiring entrusted order information sent by a user side;
the distribution module is used for distributing a corresponding transaction channel for the entrusted order according to the entrusted order information; the transaction channel is used for realizing transmission and processing of the entrusted order information; the transaction channel comprises a transaction engine, an offer server and a trading exchange server; the transaction engine is used for receiving the entrusted order information and sending the entrusted order information to a report server; the report server is used for receiving entrusted order information sent by the trading engine and sending the entrusted order information to the exchange server; the exchange server is used for receiving and processing the entrusted order information sent by the report server; acquiring the user type of the entrusted order according to the entrusted order information; the user types comprise common users and important users; distributing a corresponding transaction channel for the entrusted order according to the user type; if the user type of the entrusting order is an important user, detecting whether the important user is in the exclusive transaction channel use validity period; the exclusive transaction channel is a transaction channel which can only carry out one-to-one information transmission and processing between the transaction engine and the report server and between the report server and the exchange server; if the use validity period of the exclusive transaction channel of the important user is expired, distributing a capacity expansion transaction channel for the entrusted order; the capacity expansion transaction channel is other transaction channels except the exclusive transaction channel; if the use validity period of the exclusive transaction channel of the important user does not expire, allocating an exclusive transaction channel for the entrusted order;
and the response module is used for responding to the entrusted order based on the transaction channel.
7. The apparatus of claim 6, wherein the allocation module is further configured to allocate a capacity expansion transaction channel for the delegated order if the user type of the delegated order is a normal user.
8. The apparatus of claim 7, wherein the response module is further configured to obtain the entrusted order information by a trading engine in the trading channel, and send the entrusted order information to a reporting server; and the report server receives the entrusted order information and sends the entrusted order information to the exchange server for processing.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202110291711.9A 2021-03-18 2021-03-18 Entrusted order processing method, entrusted order processing device, computer equipment and storage medium Active CN113095936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110291711.9A CN113095936B (en) 2021-03-18 2021-03-18 Entrusted order processing method, entrusted order processing device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110291711.9A CN113095936B (en) 2021-03-18 2021-03-18 Entrusted order processing method, entrusted order processing device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113095936A CN113095936A (en) 2021-07-09
CN113095936B true CN113095936B (en) 2023-03-31

Family

ID=76669284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110291711.9A Active CN113095936B (en) 2021-03-18 2021-03-18 Entrusted order processing method, entrusted order processing device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113095936B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895978B (en) * 2022-05-06 2023-10-13 上海金仕达软件科技股份有限公司 Method, device, medium and equipment for processing entrusted state in newspaper disc
CN115131008B (en) * 2022-08-30 2022-12-02 深圳星云智联科技有限公司 Method for realizing differentiation checking mechanism and related products

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537416A (en) * 2018-03-21 2018-09-14 五八有限公司 Order allocation method, device, server and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10748210B2 (en) * 2016-08-09 2020-08-18 Chicago Mercantile Exchange Inc. Systems and methods for coordinating processing of scheduled instructions across multiple components
CN108694566A (en) * 2018-07-06 2018-10-23 恒生电子股份有限公司 A kind of offer declares the method and device of order ticket
CN109656574B (en) * 2018-11-27 2021-10-29 深圳华锐金融技术股份有限公司 Transaction time delay measurement method and device, computer equipment and storage medium
CN112508581A (en) * 2021-02-05 2021-03-16 深圳华锐金融技术股份有限公司 Commission order risk control method, system, computer equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537416A (en) * 2018-03-21 2018-09-14 五八有限公司 Order allocation method, device, server and storage medium

Also Published As

Publication number Publication date
CN113095936A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN110222533B (en) Distributed data security application method and system and electronic equipment
CN113095936B (en) Entrusted order processing method, entrusted order processing device, computer equipment and storage medium
CN107527222B (en) Information processing method, device and system
CN112579622B (en) Method, device and equipment for processing service data
CN111461763A (en) Resource allocation method and device
CN109492856B (en) Service request processing method, device, computer equipment and storage medium
CN103455760A (en) Information-processing device and information-processing method
CN110691042A (en) Resource allocation method and device
CN111506932A (en) Block chain calculation uplink implementation method
CN111092814B (en) Service handling request message distribution method and equipment
CN112991064B (en) Service processing method, device, computer equipment and storage medium
CN112991023B (en) Order data processing method and device, computer equipment and storage medium
CN112633954A (en) Rights and interests processing method and device based on block chain
CN110502343B (en) Resource allocation method, system, device and computer readable storage medium
CN112416558A (en) Service data processing method and device based on block chain and storage medium
CN111080061B (en) Task allocation method, device, computer equipment and storage medium
CN116244062A (en) Data processing method and device, electronic equipment and storage medium
CN111726266B (en) Hot spot data barreling method and system and computer equipment
CN116095074A (en) Resource allocation method, device, related equipment and storage medium
US10659388B1 (en) Transaction processing throttle with dynamic transaction load balancing and transaction starvation prevention
CN113312184A (en) Service data processing method and related equipment
CN113220475A (en) Transaction data processing method and device, computer equipment and storage medium
CN112734533A (en) Logistics rights and interests processing method and device for member user
CN112363831A (en) Wind control processing method and device, computer equipment and storage medium
CN113127007A (en) Service component deployment method and device, computer 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
CB02 Change of applicant information

Address after: Room 2301, building 5, Shenzhen new generation industrial park, 136 Zhongkang Road, Meidu community, Meilin street, Futian District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Huarui Distributed Technology Co.,Ltd.

Address before: Room 2301, building 5, Shenzhen new generation industrial park, 136 Zhongkang Road, Meidu community, Meilin street, Futian District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN ARCHFORCE FINANCIAL TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant