CN111932374A - Data updating method and device and electronic equipment - Google Patents

Data updating method and device and electronic equipment Download PDF

Info

Publication number
CN111932374A
CN111932374A CN202010735394.0A CN202010735394A CN111932374A CN 111932374 A CN111932374 A CN 111932374A CN 202010735394 A CN202010735394 A CN 202010735394A CN 111932374 A CN111932374 A CN 111932374A
Authority
CN
China
Prior art keywords
order
user
trade
trade order
transaction
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
CN202010735394.0A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010735394.0A priority Critical patent/CN111932374A/en
Publication of CN111932374A publication Critical patent/CN111932374A/en
Pending legal-status Critical Current

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

Abstract

The embodiment of the disclosure discloses a data updating method and device and electronic equipment. One embodiment of the method comprises: creating a trade order according to a trade request of a user; submitting the trading order to a target trading platform in response to successful asset freezing of the user, wherein the target trading platform is used for matching the trading order; and updating the assets of the user and the order state of the trading order according to the trading result returned by the target trading platform. According to the embodiment, the change of the transaction in which the user participates is timely mastered by updating the order state of the transaction order.

Description

Data updating method and device and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of internet, in particular to a data updating method, a data updating device and electronic equipment.
Background
Securities play an increasingly important role in some industries as the economy develops. In daily life, more and more people participate in the trading of securities.
In the related art, people can entrust an agency to trade securities.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a data updating method, a data updating device and electronic equipment, which can timely grasp the change of a transaction in which a user participates by updating the order state of a transaction order.
In a first aspect, an embodiment of the present disclosure provides a data updating method, including: creating a trade order according to a trade request of a user; submitting the trading order to a target trading platform in response to successful asset freezing of the user, wherein the target trading platform is used for matching the trading order; and updating the assets of the user and the order state of the trading order according to the trading result returned by the target trading platform.
In a second aspect, an embodiment of the present disclosure provides a data updating apparatus, including: the creating unit is used for creating a trading order according to a trading request of a user; a submitting unit, configured to submit the trade order to a target trading platform in response to a successful asset freezing of the user, where the target trading platform is configured to match the trade order; and the first updating unit is used for updating the assets of the user and the order state of the trade order according to the trade result returned by the target trading platform.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the data update method of the first aspect.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the data updating method according to the first aspect.
The data updating method, the data updating device and the electronic equipment provided by the embodiment of the disclosure can create a transaction order according to a transaction request of a user. Further, in response to the user's asset freeze being successful, the trade order may be submitted to a target trading platform. In practice, the target trading platform is used for matching the trading orders. Still further, the assets of the user and the order state of the trade order can be updated according to the trade result returned by the target trading platform. In practice, the change of the transaction in which the user participates can be grasped in time by updating the order state of the transaction order.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram of some embodiments of a data update method according to the present disclosure;
FIG. 2 is a schematic diagram of one application scenario of a data update method according to the present disclosure;
FIG. 3 is a flow diagram of still further embodiments of data update methods according to the present disclosure;
FIG. 4 is a schematic block diagram of some embodiments of a data update apparatus according to the present disclosure;
FIG. 5 is an exemplary system architecture to which the data update methods of some embodiments of the present disclosure may be applied;
fig. 6 is a schematic diagram of a basic structure of an electronic device provided in accordance with some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow diagram of some embodiments of a data update method according to the present disclosure is shown. As shown in fig. 1, the data updating method includes the following steps:
step 101, creating a trade order according to a trade request of a user.
In this embodiment, the executing agent of the data update method (e.g., server 504 shown in fig. 5) may receive a transaction request submitted by a user.
The transaction request may be a request to purchase or sell a target security. It will be appreciated that the target security may be a security purchased or sold by the user. In practice, the transaction request may include various information about the target security.
In some scenarios, the execution agent may receive a transaction request submitted by a user via a terminal device (e.g., terminal devices 501, 502 shown in fig. 5).
In this embodiment, the execution agent may create a trade order according to a trade request submitted by a user after receiving the trade request submitted by the user.
It will be appreciated that the trade order may be an order for a user to purchase or sell a target security.
In some scenarios, the executing agent may create the trade order according to information of the target trade contained in the trade request.
In other scenarios, the executing entity may determine whether it is within a time interval for conducting a transaction. In response to the time interval during which the transaction is conducted, the executing body may create a transaction order according to the information of the target transaction included in the transaction request.
And 102, in response to the successful asset freezing of the user, submitting the trading order to a target trading platform.
In this embodiment, the execution subject may freeze the asset of the user.
In practice, the assets of the user may include at least one of: account balance, position taken.
In some scenarios, the executive may determine a total number of transactions outstanding by the user. The execution subject may determine whether the assets of the user satisfy a preset condition in response to a total number of transactions that the user has not completed being greater than or equal to a preset number. In practice, the preset conditions may include at least one of: the account balance is more than or equal to the preset amount; the position holding amount is more than or equal to the preset position holding amount. In response to the user's assets meeting the preset conditions, the execution subject may freeze the user's assets and determine that the user's assets are successfully frozen. In response to the user's asset not meeting the preset condition, the execution subject may determine that the user's asset freeze failed.
In this embodiment, in response to the successful asset freeze of the user, the execution principal may submit the trade order to the target trading platform.
The target trading platform is used for matching the trading orders. That is, after receiving the trade order, the target trading platform may match the trade order.
And 103, updating the assets of the user and the order state of the trading order according to the trading result returned by the target trading platform.
In this embodiment, the target trading platform may feed back the trading result of the trading order to the executing entity.
The transaction result may be a result indicating that the transaction order matching succeeded or failed. In practice, the matching of the transaction orders can be successful in the whole transaction order or in part of the transaction orders.
In this embodiment, the executing agent may update the asset of the user and the order status of the trade order according to a trade result returned by the target trading platform.
The order status may characterize a status of the order during the transaction.
In some scenarios, the trade order is an order for a user to purchase a target security. In response to the trade result indicating that the trade order match was successful, the executing entity may subtract the amount of the purchase target security from the user's account balance. Further, the executing body can submit the subtracted amount to the target transaction platform. The executive body can also update the position taken by the user and the market value of the held target securities according to the purchase quantity of the target securities. Still further, the execution subject may unfreeze the user's assets. The executing agent may further update the order status of the trade order to a trade success.
In other scenarios, the trade order is an order for a user to sell a target security. In response to the trade result indicating that the trade order match was successful, the executive may subtract the sales volume of the target security from the position taken by the user. Further, the execution body may deliver the subtracted sales to the target trading platform. The execution main body can also update the market value of the held target securities according to the current position taken by the user. Still further, the execution subject may unfreeze the user's assets. The executing agent may further update the order status of the trade order to a trade success.
In still other scenarios, in response to the trade result indicating that the trade order match failed, the executing entity may unfreeze the user's asset and update the order status of the trade order to be a trade failure.
As described in the background, with respect to a user participating in a trading of securities, in the related art, the user may delegate an agent to effect the trading of securities. In practice, the proxy agent does not enable the user to participate in the stock exchange quickly, and on the other hand, cannot grasp the change of the stock exchange in time.
In this embodiment, a trade order is created according to a trade request of a user. Further, the user's assets may be frozen. Still further, in response to the user's asset freeze being successful, the created trade order is submitted to the target trading platform. And finally, updating the assets of the user and the order state of the trading order according to the trading result fed back by the target trading platform. On one hand, the transaction order of the user can be quickly submitted to the target transaction platform. That is, the user is enabled to participate in the transaction quickly. On the other hand, by updating the order state of the trade order, the change of the trade order can be grasped in time. That is, the change in the transaction in which the user participates is grasped in time.
In some embodiments, the fulfillment subject may terminate the trade order in response to the user's asset freeze failure.
It is understood that if the assets of the user are not frozen, the trading orders are still submitted to the target trading platform, and whether the assets of the user are enough to pay the purchase quantity or the sale quantity of the target securities or not when the target trading platform matches the trading orders successfully cannot be guaranteed. In practice, the termination of a trade order may result when the user's assets are insufficient to pay for the purchase or sale of the target security. In the process, the transaction orders are submitted to the target transaction platform, and the target transaction platform matches the transaction orders, which causes waste of network resources.
As can be seen, in the event that the asset freezing of the user fails, the trade order is terminated, meaning that the trade order will not be submitted to the target trading platform, nor will the target trading platform match the trade order. Thus, to a certain extent, the waste of network resources can be reduced.
In some embodiments, the user's assets are frozen as follows.
The first step, according to the trade request, determining the trade property of the trade order.
It will be appreciated that the transaction asset may be the asset at which the transaction is conducted. For example, the traded asset may be a purchase amount to purchase the target security. As another example, a traded asset may be an amount sold in a target security.
In some scenarios, when the user purchases the target security, the executing entity may use the product of the trade unit price and the trade amount contained in the trade request as the trade asset of the trade order.
In some scenarios, when the user sells the target security, the executing entity may use the trading volume included in the trading request as a trading asset for the trading order.
And secondly, freezing the transaction assets in the assets of the user.
In some scenarios, the executing entity may freeze the traded asset in the user's account balance when the user purchases the target security.
In other scenarios, when the user sells the target security, the executive may freeze the traded asset during the user's taken position in the target security.
In these embodiments, among the assets of the user, the transaction assets required for the transaction order are frozen, which means that the corresponding assets of the user are frozen according to the actual situation of the transaction performed by the user. Therefore, the assets of the user can be frozen in a targeted manner in the transaction process of the user.
In some embodiments, the executing entity may submit the trade order to the target trading platform through a third party platform.
The third party platform may be a platform that submits trade orders to the target trading platform.
In some scenarios, the executive may send a submit request to the third party platform to submit the trade order to the target trading platform. Further, in response to the received submission request, the third party platform may submit the trade order to the target trading platform.
In these embodiments, if the execution agent cannot directly submit the transaction order to the target transaction platform, the transaction order is submitted to the target transaction platform by means of the third party platform. Thus, the application range of submitting trade orders to the target trading platform can be widened.
In some embodiments, the transaction request includes at least one of: transaction code, transaction type, transaction unit price, transaction quantity.
The transaction type may be a transaction type of the target security. For example, the transaction types may include spot transactions, forward transactions, futures transactions, and the like.
The transaction code may be a transaction code of the target security. The trade unit price may be a trade unit price of the target security. The transaction amount may be a transaction amount of the target security.
Referring to fig. 2, an application scenario of a data updating method according to an embodiment of the present disclosure is shown. As shown in fig. 2, a user may submit a transaction request 203 to a server 202 through a terminal device 201. Further, the server 202 may create a trade order 204 from the received trade request 203. Still further, the server 202 may freeze the user's assets. In response to the user's asset freeze being successful, the server 202 may submit a trade order 204 to the target trading platform 205. Thus, the target trading platform 205 can match the trade order 204 and feed back the trade results 206 of the trade order 204 to the server 202. Finally, the server 202 may update the user's assets 207 and the order status 208 of the trade order 204 based on the received trade results 206.
Continuing to refer to FIG. 3, a flow chart of still further embodiments of data update methods according to the present disclosure is shown. As shown in fig. 3, the data updating method includes the following steps:
step 301, creating a trade order according to the trade request of the user.
Step 301 may be performed in a similar manner as step 101 in the embodiment shown in fig. 1, and the above description for step 101 also applies to step 301, which is not described herein again.
Step 302, in response to receiving the processing request of the user for executing the processing operation on the trade order, determining whether the processing condition of the trade order is satisfied.
In this embodiment, the user may perform a processing operation on the trade order. It is understood that the processing operation may be an operation of processing the transaction order by the user.
In some scenarios, the processing operations described above may include: and storing the transaction order into a specified file.
In the present embodiment, the terminal device of the user (for example, the terminal devices 501 and 502 shown in fig. 5) may transmit a processing request for the user to perform the processing operation to the execution main body. It will be appreciated that the processing request may be a request by a user to perform a processing operation on a trade order.
In the present embodiment, in response to receiving the processing request of the user to perform the processing operation on the trade order described above, the execution subject of the data update method (for example, the server 504 shown in fig. 5) may determine whether the processing condition of the trade order described above is satisfied.
It will be appreciated that the processing conditions described above may be conditions under which trade orders are processed.
In some scenarios, the processing conditions may include: the creating time length of the trading order is less than or equal to the preset time length.
Step 303, in response to the processing condition being satisfied, processing the trade order according to the processing operation.
In this embodiment, in response to the processing condition being satisfied, the execution main body may process the trade order according to the processing operation.
In some scenarios, the execution principal may store the trade order in a designated file in response to the process condition being satisfied.
And step 304, in response to the successful asset freezing of the user, submitting the trading order to a target trading platform.
And 305, updating the assets of the user and the order state of the trading order according to the trading result returned by the target trading platform.
Step 304 and step 305 may be performed in a similar manner as step 102 and step 103 in the embodiment shown in fig. 1, and the above description for step 102 and step 103 also applies to step 304 and step 305, which is not described herein again.
In this embodiment, a processing request for a user to perform a processing operation on a trade order may be received. Further, if a processing request of the user for executing the processing operation on the trading order is received, the trading order is processed according to the processing request submitted by the user on the basis that the processing condition of the trading order is met. Thus, the user is provided with the function of processing the trade order in the process of trading by the user. Therefore, the flexibility of the transaction is improved.
In some embodiments, the processing operation includes modifying or undoing the trade order.
In some scenarios, the trade order may include at least one of: transaction code, transaction type, transaction unit price, transaction quantity. Accordingly, the processing operation may include modifying the trade code, the trade type, the trade unit price, and the trade amount in the trade order.
In these embodiments, if the processing condition of the trade order is satisfied, the trade order may be modified or cancelled according to the processing request submitted by the user. In some embodiments, the above process conditions include: the trading order is not submitted to the target trading platform. Therefore, on the premise that the trading order is not submitted to the target trading platform, the trading order is processed according to the processing request submitted by the user.
In some embodiments, the executing entity may update the order status of the trade order according to the processing operation.
In some scenarios, the executive may monitor the progress of the transaction order after receiving the processing request. In response to the trade order being in process, the fulfillment host may update the order status to be in process. In response to completion of the transaction order processing, the executing agent may update the order status to a processing success.
For example, the processing operation performed by the user on the trade order may be an operation that modifies the trade order. After receiving a processing request of a user for modifying a trade order, the execution main body can monitor the modification progress of the trade order. In response to the trade order being in the process of modification, the fulfillment host may update the order status of the trade order as being in the process of modification. In response to completion of the modification of the trade order, the executing agent may update the order status of the trade order to a modification success. In these embodiments, the order status of the trade order is updated based on the processing operations performed on the trade order by the user. Therefore, the processing operation executed by the user on the trading order can be determined according to the order state of the trading order.
In some embodiments, the order status includes at least one of: the trade order is created, the trade order enters a submitting stage, the trade order is in effect in the target trading platform, the trade order is partially committed, the trade order is completely committed, the trade order is successfully modified in a modifying process, the trade order is successfully cancelled in a cancelling process, the trade order fails to trade, and the trade order succeeds in trading.
As will be appreciated, the trade order enters the submission stage, meaning that the trade order enters the stage of submission to the target trading platform. The trade order is in the process of being modified, meaning that the user is modifying the trade order. The trade order is in the process of being cancelled, meaning that the user is cancelling the trade order.
With further reference to fig. 4, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a data updating apparatus, which correspond to the method embodiment shown in fig. 1, and which can be applied in various electronic devices.
As shown in fig. 4, the data updating apparatus of the present embodiment includes: a creating unit 401, a submitting unit 402, a first updating unit 403. Wherein, the creating unit 401 is configured to: a trade order is created according to a trade request of a user. The commit unit 402 is to: and submitting the trading order to a target trading platform in response to successful asset freezing of the user, wherein the target trading platform is used for matching the trading order. The first updating unit 403 is configured to: and updating the assets of the user and the order state of the trading order according to the trading result returned by the target trading platform.
In this embodiment, the specific processes of the creating unit 401, the submitting unit 402, and the first updating unit 403 of the data updating apparatus and the technical effects thereof can refer to the related descriptions of step 101, step 102, and step 103 in the corresponding embodiment of fig. 1, which are not described herein again.
In some embodiments, the data update apparatus may further include a processing unit (not shown in fig. 4). The processing unit is used for: in response to receiving a processing request of the user for executing processing operation on the trading order, determining whether the processing condition of the trading order is met; and in response to the processing condition being met, processing the trade order according to the processing operation.
In some embodiments, the processing operation includes modifying or undoing the trade order.
In some embodiments, the above process conditions include: the trading order is not submitted to the target trading platform.
In some embodiments, the data updating apparatus may further include a second updating unit (not shown in fig. 4). The second updating unit is used for: and updating the order state of the transaction order according to the processing operation.
In some embodiments, the order status includes at least one of: the trade order is created, the trade order enters a submitting stage, the trade order is in effect in the target trading platform, the trade order is partially committed, the trade order is completely committed, the trade order is successfully modified in a modifying process, the trade order is successfully cancelled in a cancelling process, the trade order fails to trade, and the trade order succeeds in trading.
In some embodiments, the data update apparatus may further include a termination unit (not shown in fig. 4). The termination unit is used for: in response to the user's asset freeze failure, terminating the trade order.
In some embodiments, the assets of the user are frozen by: determining the transaction assets of the transaction order according to the transaction request; and freezing the transaction assets in the assets of the user.
In some embodiments, the commit unit 402 is further to: and submitting the trading order to the target trading platform through a third-party platform.
In some embodiments, the transaction request includes at least one of: transaction code, transaction type, transaction unit price, transaction quantity.
With further reference to fig. 5, fig. 5 illustrates an exemplary system architecture to which the data update methods of some embodiments of the present disclosure may be applied.
As shown in fig. 5, the system architecture may include terminal devices 501, 502, a network 503, and a server 504. The network 503 is the medium used to provide communication links between the terminal devices 501, 502 and the server 504. Network 503 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 501, 502 may interact with a server 504 via a network 503. Various client applications may be installed on the terminal devices 501, 502. For example, the terminal devices 501 and 502 may have a transaction application and a search application installed thereon. In some scenarios, the terminal devices 501, 502 may receive a transaction request from a user. Further, the terminal devices 501, 502 may submit the user's transaction request to the server 504.
The terminal devices 501 and 502 may be hardware or software. When the terminal devices 501 and 502 are hardware, they may be various electronic devices having a display screen and supporting information interaction, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal devices 501 and 502 are software, they can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The server 504 may be a server that provides various services. In some scenarios, server 504 may create a trade order based on a user's trade request. Further, in response to the user's asset freeze being successful, server 504 may submit the trade order to the target trading platform. Still further, the server 504 may update the property of the user and the order status of the trade order according to the trade result returned by the target trading platform.
The server 504 may be hardware or software. When the server 504 is hardware, it can be implemented as a distributed server cluster composed of a plurality of servers, or as a single server. When the server 504 is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the data updating method provided by the embodiment of the present disclosure may be executed by the server 504, and accordingly, the data updating apparatus may be disposed in the server 504.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., the server of fig. 5) suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, 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), an optical fiber, 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 some embodiments of the 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. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be included in the electronic device or may exist separately without being incorporated in the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: creating a trade order according to a trade request of a user; submitting the trading order to a target trading platform in response to successful asset freezing of the user, wherein the target trading platform is used for matching the trading order; and updating the assets of the user and the order state of the trading order according to the trading result returned by the target trading platform.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. Where the names of these elements do not in some cases constitute a limitation on the elements themselves, for example, a creating element may also be described as an element "create a trade order upon a user's trade request".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure in the embodiments of the present disclosure is not limited to the particular combination of the above-described features, but also encompasses other embodiments in which any combination of the above-described features or their equivalents is possible without departing from the scope of the present disclosure. For example, the above features may be interchanged with other features disclosed in this disclosure (but not limited to) those having similar functions.

Claims (13)

1. A method for updating data, comprising:
creating a trade order according to a trade request of a user;
submitting the trade order to a target trading platform in response to the asset freezing success of the user, wherein the target trading platform is used for matching the trade order;
and updating the assets of the user and the order state of the trading order according to the trading result returned by the target trading platform.
2. The method of claim 1, further comprising:
in response to receiving a processing request of the user for executing a processing operation on a trade order, determining whether a processing condition of the trade order is satisfied;
in response to the processing condition being satisfied, processing the trade order according to the processing operation.
3. The method of claim 2, wherein the processing operation comprises modifying or undoing the trade order.
4. The method of claim 2, wherein the processing conditions comprise: the trade order is not submitted to the target trading platform.
5. The method of claim 2, further comprising:
and updating the order state of the trade order according to the processing operation.
6. The method of claim 5, wherein the order status comprises at least one of: the trade order is created, the trade order enters a submitting stage, the trade order takes effect in the target trading platform, the trade order is partially committed, the trade order is completely committed, the trade order is successfully modified in a modifying process, the trade order is successfully cancelled in an cancelling process, the trade order fails to trade, and the trade order succeeds to trade.
7. The method of claim 1, further comprising:
terminating the trade order in response to the user's asset freeze failure.
8. The method of claim 1, wherein the user's assets are frozen by:
determining the transaction assets of the transaction order according to the transaction request;
freezing the transaction asset in the user's asset.
9. The method of claim 1, wherein said submitting said trade order to a target trading platform comprises:
and submitting the trading order to the target trading platform through a third party platform.
10. The method according to any of claims 1-9, wherein the transaction request comprises at least one of: transaction code, transaction type, transaction unit price, transaction quantity.
11. A data update apparatus, comprising:
the creating unit is used for creating a trading order according to a trading request of a user;
the submitting unit is used for submitting the trading orders to a target trading platform in response to successful asset freezing of the user, wherein the target trading platform is used for matching the trading orders;
and the first updating unit is used for updating the assets of the user and the order state of the trade order according to the trade result returned by the target trading platform.
12. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
13. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-10.
CN202010735394.0A 2020-07-27 2020-07-27 Data updating method and device and electronic equipment Pending CN111932374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010735394.0A CN111932374A (en) 2020-07-27 2020-07-27 Data updating method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010735394.0A CN111932374A (en) 2020-07-27 2020-07-27 Data updating method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111932374A true CN111932374A (en) 2020-11-13

Family

ID=73314636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010735394.0A Pending CN111932374A (en) 2020-07-27 2020-07-27 Data updating method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111932374A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279682A (en) * 2014-07-21 2016-01-27 阿里巴巴集团控股有限公司 Transaction information processing method and apparatus for commodity object
CN106228350A (en) * 2016-08-23 2016-12-14 湖南惠农科技有限公司 Transaction processing system and method
CN108009805A (en) * 2017-10-24 2018-05-08 广东康美通信息服务有限公司 A kind of payment processing method, storage medium, device and payment route system
CN110264349A (en) * 2013-03-15 2019-09-20 贸易技术国际公司 Trading pit
CN110689431A (en) * 2019-09-24 2020-01-14 深圳证券交易所 Processing method, server and storage medium for securities trading
CN111105308A (en) * 2018-10-29 2020-05-05 腾讯科技(深圳)有限公司 Asset data processing method, device and equipment
CN111309594A (en) * 2020-01-17 2020-06-19 腾讯科技(深圳)有限公司 System testing method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264349A (en) * 2013-03-15 2019-09-20 贸易技术国际公司 Trading pit
CN105279682A (en) * 2014-07-21 2016-01-27 阿里巴巴集团控股有限公司 Transaction information processing method and apparatus for commodity object
CN106228350A (en) * 2016-08-23 2016-12-14 湖南惠农科技有限公司 Transaction processing system and method
CN108009805A (en) * 2017-10-24 2018-05-08 广东康美通信息服务有限公司 A kind of payment processing method, storage medium, device and payment route system
CN111105308A (en) * 2018-10-29 2020-05-05 腾讯科技(深圳)有限公司 Asset data processing method, device and equipment
CN110689431A (en) * 2019-09-24 2020-01-14 深圳证券交易所 Processing method, server and storage medium for securities trading
CN111309594A (en) * 2020-01-17 2020-06-19 腾讯科技(深圳)有限公司 System testing method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
廖雪峰: "证券交易系统设计与开发", HTTPS://WWW.LIAOXUEFENG.COM/ARTICLE/1185272483766752 *

Similar Documents

Publication Publication Date Title
JP7116128B2 (en) Systems and methods for TCP-to-multicast (T2M) and related network architectures
US11030692B2 (en) System and method for a semi-lit market
AU2019203081A1 (en) Techniques for facilitating electronic trading
US10621666B2 (en) System and method for facilitation cross orders
CN112308552A (en) Ordering method and device for medical insurance medicines
CN111598650A (en) Resource request transaction method based on block chain network and related device
CN110223179B (en) Data processing method, device, system and medium for fund
CN111932374A (en) Data updating method and device and electronic equipment
CN113657943B (en) Virtual asset transfer system, method, electronic equipment and storage medium
CN110795445B (en) Concurrent task processing method and device, server equipment and medium
JP6667054B1 (en) System and method for sequencing or combining multiple related but different transaction requests into a single transaction
CN111861713A (en) Fund transaction control method, device, equipment and readable storage medium
CN111210349A (en) Virtual asset transfer hosting method and device, electronic equipment and storage medium
CN111652694B (en) Order processing method and device and electronic equipment
CN113822661A (en) Payment method, device and system
CN113850685A (en) Method, apparatus, server and medium for real-time tally
CN113806312A (en) File processing method and device, electronic equipment and storage medium
CN111353863A (en) Bond quotation system and bond quotation method
CN113570430A (en) Cooperative feedback method, device, equipment and computer readable medium for purchase information
CN113962782A (en) Order information processing method and device, electronic equipment and computer readable medium
CN112862608A (en) Transaction data matching method and device
CN112308661A (en) Order processing method and device
CN113421045A (en) Waybill information sending method and device, electronic equipment and computer readable 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