CN111652694B - Order processing method and device and electronic equipment - Google Patents

Order processing method and device and electronic equipment Download PDF

Info

Publication number
CN111652694B
CN111652694B CN202010526980.4A CN202010526980A CN111652694B CN 111652694 B CN111652694 B CN 111652694B CN 202010526980 A CN202010526980 A CN 202010526980A CN 111652694 B CN111652694 B CN 111652694B
Authority
CN
China
Prior art keywords
order
processing
information
processing instruction
progress
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
CN202010526980.4A
Other languages
Chinese (zh)
Other versions
CN111652694A (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.)
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 CN202010526980.4A priority Critical patent/CN111652694B/en
Publication of CN111652694A publication Critical patent/CN111652694A/en
Application granted granted Critical
Publication of CN111652694B publication Critical patent/CN111652694B/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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • 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)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

According to the order processing method, the order processing device and the electronic equipment, after the order processing progress information is obtained, the target processing instruction corresponding to the order processing progress information is determined according to the processing instruction identification in the order processing progress information. Then, whether the target processing instruction is the latest processing instruction is judged through the processing instruction sequence table. And then, determining whether the progress state information of the target order needs to be changed or not according to the judgment result. It can be seen that after the service platform receives the order processing progress information, the progress state information of the target order is not directly updated based on the order progress information, but the position of the target processing instruction in the processing instruction sequence table is judged first, and then the progress state information of the target order is changed or not, so that the problem that the progress state information is wrong when the service platform is in a display process can be avoided.

Description

Order processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to an order processing method and apparatus, and an electronic device.
Background
For some non-real-time traded orders (e.g., stock trades, futures trades, digital currency trades, and other self-established trading scenarios), there is usually a business process end and a process exhibition end.
The order can support operations such as modification, revocation and the like generally, the process exhibition terminal can receive corresponding operation instructions such as modification, revocation and the like, and the process exhibition terminal can also be used for exhibiting the process of the current order transaction. The business processing terminal is used for conducting transaction processing on the orders, and the process display terminal is used for displaying the latest process of the orders.
In order to enable the process display end to update the state of the order in time, the process display end usually goes to the service processing end to acquire the current state of the order at a preset time interval and displays the current state.
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 an order processing method and device and electronic equipment, which can avoid the problem that order states displayed on a service platform are out of order in a non-real-time trading system.
In a first aspect, an embodiment of the present disclosure provides an order processing method, including: obtaining order processing progress information of a non-real-time processing transaction system, wherein the order processing progress information comprises: order identification and processing instruction identification; determining a target order corresponding to the order processing progress information according to the order identification, and determining a target processing instruction corresponding to the order processing progress information according to the processing instruction identification; acquiring a processing instruction sequence table corresponding to the target order; the processing instruction sequence table is used for representing the sequence of the received processing instructions; judging whether the target processing instruction is the latest processing instruction according to the sequence of the processing instructions in the processing instruction sequence table; and determining whether to change the progress state information of the target order according to the judgment result, wherein the progress state information is used for representing the processing progress of the latest processing instruction.
In a second aspect, an embodiment of the present disclosure provides an order processing apparatus, including: the first obtaining unit is used for obtaining order processing progress information of a non-real-time processing transaction system, wherein the order processing progress information comprises: order identification and processing instruction identification; the identification determining unit is used for determining a target order corresponding to the order processing progress information according to the order identification and determining a target processing instruction corresponding to the order processing progress information according to the processing instruction identification; a second obtaining unit, configured to obtain a processing instruction sequence table corresponding to the target order; the processing instruction sequence table is used for representing the sequence of the received processing instructions; the judging unit is used for judging whether the target processing instruction is the latest processing instruction according to the sequencing of the processing instructions in the processing instruction sequence table; and the state information determining unit is used for determining whether to change the progress state information of the target order according to the judgment result, wherein the progress state information is used for representing the processing progress of the latest processing instruction.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the order processing method of the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the order processing method according to the first aspect.
According to the order processing method, the order processing device and the electronic equipment, after the order processing progress information is obtained, the target processing instruction corresponding to the order processing progress information is determined according to the processing instruction identification in the order processing progress information. Then, whether the target processing instruction is the latest processing instruction is judged through the processing instruction sequence table. And then, determining whether the progress state information of the target order needs to be changed or not according to the judgment result. It can be seen that after the service platform receives the order processing progress information, the progress state information of the target order is not directly updated based on the order progress information, but the position of the target processing instruction in the processing instruction sequence table is judged first, and then the progress state information of the target order is changed or not, so that the problem that the progress state information of the service platform during the exhibition is wrong can be avoided.
Drawings
The above and other features, advantages, and aspects of 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 components are not necessarily drawn to scale.
FIG. 1 is a flow diagram for one embodiment of an order processing method according to the present disclosure;
FIG. 2 is a flow diagram of another embodiment of an order processing method according to the present disclosure;
FIG. 3 is a flow diagram of yet another embodiment of an order processing method according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of an order processing method according to the present disclosure;
FIG. 5 is a schematic block diagram illustration of one embodiment of an order processing apparatus according to the present disclosure;
FIG. 6 is an exemplary system architecture in which the order processing method of one embodiment of the present disclosure may be applied;
fig. 7 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment 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 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 one embodiment of an order processing method according to the present disclosure is shown. The order processing method can be applied to a service platform. The order processing method shown in fig. 1 includes the following steps:
and step 101, obtaining order processing progress information of a non-real-time processing transaction system.
Here, the order processing progress information includes: an order identification and a processing instruction identification.
In some embodiments, a non-real-time processing transaction system may be understood as a system that processes orders, such as: when the order is a stock trading order, the non-real-time trading system may be understood as a trading system (e.g., a stock trading system of a trading exchange) that trades stocks. Instead, after the non-real-time processing transaction system performs a certain processing on the order, the order processing progress information may be returned to the service platform (which may also be understood as a progress display platform).
Here, it should be noted that: when the non-real-time transaction system carries out transaction on the order, the order may not be completely transacted at one time; but may be divided into multiple transactions, each transaction of an order may yield order processing progress information. For example, in order to sell 1000 shares of a certain stock, the non-real-time transaction system may divide the transaction into 10 transactions, and the buyer corresponding to each transaction may be different, and the purchase amount and purchase quantity corresponding to each buyer may also be different. Thus, after each buyer has bought a certain amount of stock, the non-real-time trading system may generate corresponding order processing progress information.
In some embodiments, there may also be multiple processing instructions for an order, such as: when a user wants to sell 1000 shares of a certain stock, the user can issue a corresponding processing instruction to the service platform, then the service platform sends the processing instruction to the non-real-time transaction system, and then the non-real-time transaction system installs the processing mode indicated by the processing instruction to process the stock (for example, selling 1000 shares at a certain price). When the non-real-time processing system deals with trading a stock (which may be understood as processing an order according to the instruction of the processing instruction), if the user does not want to sell 1000 shares of the stock at the time, but only wants to sell 800 shares, the user may issue an instruction at the time. Of course, if the user does not want to sell the stock, the user wants to change the selling price, etc.; corresponding instructions can also be issued. That is, one order may correspond to multiple processing instructions.
In some embodiments, to distinguish between these processing instructions, the service platform may add a respective identification to each processing instruction. Of course, one service platform may be simultaneously servicing a plurality of orders, and therefore, the service platform may also add a corresponding identifier to each order. Here, the order identifier may be understood as an identifier added to the order, and the processing instruction identifier may be understood as an identifier added to the processing instruction.
And 102, determining a target order corresponding to the order processing progress information according to the order identification, and determining a target instruction corresponding to the order processing progress information according to the processing instruction identification.
In some embodiments, when the service platform sends the processing instruction to the non-real-time transaction system, the processing instruction may carry the order identifier and the processing instruction identifier. The non-real-time transaction system processes the order according to the processing mode indicated by each processing instruction, generates order processing progress information after processing, and sends the order processing progress information to the service platform. Because one service platform may correspond to a plurality of orders, and one order may correspond to a plurality of processing instructions, when the service platform receives one order processing progress information, the service platform may determine an order (target order) corresponding to the order processing progress information according to an order identifier included in the order processing progress information; and determining a processing instruction (target processing instruction) corresponding to the order processing progress information according to the processing instruction identifier included in the order processing progress information.
And 103, acquiring a processing instruction sequence table corresponding to the target order.
Here, the processing instruction sequence table is used to characterize the sequence of the received processing instructions.
In some embodiments, since one order may correspond to multiple processing instructions, the processing instruction sequence may be used to record the sequence in which the user issues the processing instructions first.
And 104, judging whether the target processing instruction is the latest processing instruction according to the sequence of the processing instructions in the processing instruction sequence table.
In some embodiments, since the sequence of issuing each processing instruction by the user is recorded in the processing instruction sequence table, after the target processing instruction is determined, it may be determined whether the target processing instruction is the latest processing instruction through the processing instruction sequence table, and step 105 may be continuously performed.
And 105, determining whether to change the progress state information of the target order according to the judgment result.
Here, the progress status information may be used to characterize the processing progress of the latest processing instruction.
In some embodiments, each processing instruction may have a respective processing progress; such as: some of the processing instructions issued earlier may have been completed (it is understood that the processing item corresponding to the processing instruction has been completed by the non-real-time interactive system), and some of the processing instructions may be in the process of being processed. When a user issues a processing instruction, a certain time sequence exists, so that the instruction issued by the user is generally an instruction which is more concerned by the user. Such as: the user first issues a processing instruction '800 shares of class a stock need to be sold at price Y1', and after issuing, the user finds that class a stock is better sold, such as 400 shares already sold, possibly because the price is too low. At this time, if the user wants to adjust the price, a processing instruction 'to sell 400 shares of the class a ticket at the price Y2' may be issued. For the user, the user is more concerned about the processing progress of the processing instruction corresponding to the 'selling of 400 shares of the class a stock ticket at the price of Y2'; because the last processing instruction ('needs to sell the processing instruction corresponding to the 800 shares of the class a stock at the price Y1') is already known by the user, that is, the user already knows the processing progress of the last processing instruction (it can also be understood that the last processing instruction has been changed). At this time, the current state of the target order can be better reflected by the progress information of the selected processing instruction; the processing progress of the processing instruction issued by the user last can be selected as the progress status information of the target order.
In some embodiments, when the target processing instruction is determined to be the latest processing instruction, it may be represented that the order processing progress information is issued for the latest processing instruction, that is, it may be represented that the non-real-time transaction system has already processed the target order according to the processing mode indicated by the latest processing instruction at this time, and further, the progress status information of the target order may need to be changed. Of course, the target processing instruction may not be the latest processing instruction, and at this time, the order processing progress information may not be for the latest processing instruction, in other words, it may be understood that the non-real-time processing transaction system has not processed the target order according to the processing manner indicated by the latest processing instruction at this time. Therefore, at this time, it may not be necessary to change the progress status information of the target order.
In the prior art, the service platform usually obtains order processing progress information of the order from the non-real-time transaction system at a preset time interval. And the acquired information is used as the progress state information of the order. However, such a processing manner makes the service platform unable to update the progress status information of the order in time. Meanwhile, when a large number of instructions are processed, the processing mode has the problem of out-of-order. Such as: when a user issues a plurality of instructions, at this time, the order processing progress information acquired from the service platform may not be issued for the instruction issued most recently by the user, however, the service platform may still change the progress status information of the order based on the order processing progress information, and the progress status information displayed by the service platform may be wrong (that is, a problem of disorder occurs).
After the order processing progress information is obtained, the order processing method provided by the application determines the target processing instruction corresponding to the order processing progress information according to the processing instruction identifier in the order processing progress information. Then, whether the target processing instruction is the latest processing instruction is judged through the processing instruction sequence table. And then, determining whether the progress state information of the target order needs to be changed or not according to the judgment result.
It can be seen that after the service platform receives the order processing progress information, the progress state information of the target order is not directly updated based on the order progress information, but the position of the target processing instruction in the processing instruction sequence table is judged first, and then the progress state information of the target order is changed or not, so that the problem that the progress state information is wrong when the service platform is in a display process can be avoided.
In some embodiments, step 105 (determining whether to change the progress status information of the target order according to the determination result) includes:
in response to determining that the target processing instruction is not the most recent processing instruction, progress status information for the target order is unchanged.
In some embodiments, when it is determined that the target processing instruction is not the latest processing instruction, it may be characterized that the order processing progress information obtained at this time is not issued for the latest processing instruction. Therefore, the progress status information of the target order may not be changed at this time.
It should be noted that, although the order processing progress information is not issued for the latest processing instruction of the target order, it is issued for the target order. Therefore, the received order processing progress information can be stored, so that the execution completion time of each processing instruction of the target order can be inquired later, and the processing progress corresponding to each processing instruction can be inquired conveniently.
Referring to fig. 2, in some embodiments, step 105 (determining whether to change the progress status information of the target order according to the determination result) may further include: step 1051 and step 1052.
Step 1051, in response to determining that the target processing instruction is the latest processing instruction, determining whether the order processing progress information includes identification information for indicating that the processing instruction is rejected.
In some embodiments, when the target processing instruction is determined to be the most recent processing instruction, then the order processing progress information may be determined to be for the most recent processing instruction. However, the order processing progress information may be: the non-real-time transaction system is generated after processing the target order according to the latest processing instruction; or may be generated by rejecting the most recent processing instruction for a non-real-time transaction system. For example: the user wants to change the order at this time, and therefore issues a processing instruction (an instruction for changing the order, and when the non-real-time transaction system receives the processing instruction, it is found that the order has been partially submitted at this time, and the order cannot be changed according to the instruction of the processing instruction, and at this time, order processing progress information may also be generated.
When the non-real-time transaction system generates order processing progress information used for representing that the processing instruction is rejected, a specific identification information can be added to the order processing progress information. And then, whether the target processing instruction is rejected or not can be determined by judging whether the identification information exists in the order processing progress information or not.
Step 1052, in response to determining that the identification information does not exist, changing the progress status information of the target order according to the order progress status indicated by the order processing progress information.
In some embodiments, when the identification information does not exist in the order processing progress information, it may be characterized that the target processing instruction is not rejected. In other words, it can be understood that the order processing progress information is: the non-real-time transaction system is generated after the target order is processed to a certain extent according to the instruction of the target processing instruction, so that the progress state information of the target order can be changed at the moment.
In some embodiments, a progress state information change result of the target order can be determined according to the order processing progress information. Such as: the order processing progress information includes partial transaction details of the order, and before the progress status information is changed, the progress status information of the target order may be "the order placing instruction has been successfully processed and is waiting for transaction", and after the order processing progress information is received, the progress status information of the target vertex may be "the order has been partially submitted".
Referring to fig. 3, in some embodiments, step 105 (determining whether to change the progress status information of the target order according to the determination result) may further include: step 1053, step 1054, step 1055, step 1056; the implementation of step 1053 is described in detail in step 1051, and for the sake of brevity of the description, the detailed description is omitted here.
Step 1054, responsive to determining that the identification information exists, determines a first processing instruction from the sequence list of processing instructions.
Here, the first processing instruction is a processing instruction immediately preceding the target processing instruction.
In some embodiments, when the order processing progress information has the identification information, it may be characterized that the target processing instruction is rejected. It can also be understood that: the non-real-time transaction system does not process the target processing instruction; therefore, the latest processing instruction of the target order at this time should be the last instruction (first processing instruction) of the target processing instruction.
When it is determined that the identification information exists, the first processing instruction may be obtained from the processing instruction sequence table and step 1055 may be performed.
Step 1055, obtain progress status information of the first processing instruction.
In some embodiments, the most recent processing instruction for the target order may be interpreted as the first processing instruction at this time, since the target instruction was rejected. Further, first processing instruction progress status information may be obtained. Since each order processing progress information for the target order is stored, the progress state information of the first processing instruction can be determined by obtaining the order processing progress information sent for the first processing instruction.
And 1056, changing the progress status information of the target order according to the progress status information of the first processing instruction.
Referring to FIG. 4, in some embodiments, the order processing progress information includes: transaction detail information; the order processing method at this time includes steps 401 to 406. The specific implementation details of steps 401 to 405 have already been described in detail in steps 101 to 105, and are not repeated herein for brevity of the description.
And step 406, adding the transaction detail information in the order processing progress information to a processing detail table of the target order.
In some embodiments, the transaction list of the target order is used to record each transaction of the target order. That is, regardless of whether the target processing instruction corresponding to the order processing progress information is the latest processing instruction, as long as the order processing progress information is issued for the target order, the transaction detail information in the order processing progress information may be stored in the transaction detail table.
In some embodiments, the transaction details may be understood as a particular transaction instance of the order. Such as: the target order is '1000 shares sold by class B stock ticket', and the transaction details can be: "how many shares class B stocks are sold to a at a certain trade price, 'how many shares class B stocks are sold to B at another trade price,', etc. That is, the time, amount, etc. of each transaction in the target order can be known through the transaction details.
In some embodiments, only the latest status information of the target order is shown due to the status progress information of the target order. For example: the execution condition of the target order at this time can be known through the state progress information of the target order, for example, after the service platform receives a processing instruction (order placing instruction) sent by a user, the state progress information of the target order which can be displayed is as follows: 'the service platform receives the processing instruction of the user and waits to send to the non-real-time transaction system'. When the service platform sends the order placing instruction to the non-real-time transaction system, the status progress information of the target order may be 'the order placing instruction is sent and waits for processing'. And after the non-real-time transaction system receives the order, the information can be fed back to the service platform to form order progress information (the information represents that the non-real-time transaction system has received the order placing instruction and processes the order according to the order placing instruction), and the state progress information of the target order can be 'the order placing instruction is processed successfully and waits for transaction'. Certainly, when the non-real-time transaction system deals a part of the order at the moment, order progress information (the information represents the quantity, price and the like of the order deal) of the service platform can also be fed back; if the order is found to be completely committed through the order progress information, the state progress information of the target order can be 'the order is completely committed'; if only partial order is committed through the order progress information, the status progress information of the target order may be 'the order has been partially committed'.
If the status progress information of the target order is not 'the order has been completely committed' at this time, the user can continue to issue processing instructions (such as a form altering instruction and a form withdrawing instruction). For example, the user issues a order change instruction at this time, and has sent the order change instruction to the non-real-time transaction system. At this time, the status progress information of the target order may be 'the order change instruction is sent, and waits for processing'; if the non-real-time system judges that the target order can be changed at the moment, and after the target order is changed successfully, order processing progress information used for representing the successful processing of the order changing instruction can be fed back to the service platform, and the state progress information of the target order at the moment can be 'the successful processing of the order changing instruction'; of course, if the non-real-time system determines that the target order cannot be modified at this time, an order processing progress message for representing processing failure of the order modification instruction may be sent to the service platform, and the status progress message of the target order may be 'the order modification is rejected'. Because the order removing instruction is similar to the order changing instruction, how to issue the order removing instruction by the user and how to display the state progress information of the target order by the service platform when the service platform successfully processes or fails to process the order removing instruction are not described here.
And when the state progress information of the target order can be 'the order change is rejected', at this time, it can represent that the user fails to change the order, so that after the state progress information of the target order is determined to be the preset duration of 'the order change is rejected', the latest state progress information of the target order at this time needs to be newly determined. Therefore, the last processing instruction of the order-changed instruction can be known from the processing instruction sequence table. Such as: and if the previous instruction is a placing instruction of the user, the progress state information of the target order can be determined by acquiring the order processing progress information corresponding to the placing instruction. Such as: the status information of the target order determined at this time may be 'the order has been partially committed'. In other words, when the status information of the target order is: when the order has been partially committed, the user issues an order change instruction, and when the order change instruction is rejected, the change condition of the state information of the target order at this time can be understood as: the 'order partially committed' is changed into 'order change instruction is delivered, processing is waited', then the 'order change is refused', and finally the 'order partially committed' is changed.
It should be noted that the order instruction, the order change instruction, and the single-down instruction can be understood as a processing instruction.
It can be seen that, although the progress status information of the target order displayed by the user through the service platform can clearly know the current latest progress of the target order, the current latest progress of the target order cannot be known for each transaction detail of the target order, so that the user can conveniently know each transaction condition of the target order by establishing the transaction detail table.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an information pushing apparatus, which corresponds to the embodiment of the information pushing method shown in fig. 1, and which can be applied in various electronic devices.
As shown in fig. 5, the information pushing apparatus of the present embodiment includes: a first obtaining unit 501, configured to obtain order processing progress information of a non-real-time processing transaction system, where the order processing progress information includes: order identification and processing instruction identification; an identifier determining unit 502, configured to determine, according to the order identifier, a target order corresponding to the order processing progress information, and determine, according to the processing instruction identifier, a target processing instruction corresponding to the order processing progress information; a second obtaining unit 503, configured to obtain a processing instruction sequence table corresponding to the target order; the processing instruction sequence table is used for representing the sequence of the received processing instructions; a determining unit 504, configured to determine whether the target processing instruction is a latest processing instruction according to the ordering of the processing instructions in the processing instruction sequence table; and a state information determining unit 505, configured to determine whether to change progress state information of the target order according to the determination result, where the progress state information is used to represent a processing progress of the latest processing instruction.
In some embodiments, the state determination unit 505 is specifically configured to: in response to determining that the target processing instruction is not the most recent processing instruction; and not changing the state progress information of the target order.
In some embodiments, the state determination unit 505 is further specifically configured to: in response to the fact that the target processing instruction is determined to be the latest processing instruction, determining whether identification information used for representing that the processing instruction is rejected exists in the order processing progress information; and in response to determining that the identification information does not exist, changing the progress state information of the target order according to the order progress state indicated by the order processing progress information.
In some embodiments, the state determining unit 505 is further configured to: in response to determining that the identification information exists, determining a first processing instruction from the processing instruction sequence table; wherein the first processing instruction is a last processing instruction of the target processing instruction; obtaining progress state information of the first processing instruction; and changing the progress state information of the target order according to the progress state information of the first processing instruction.
In some embodiments, the order processing progress information includes: transaction detail information; and the apparatus 500 further comprises: an adding unit 506;
the adding unit 506 is configured to add the transaction detail information in the order processing progress information to the processing detail table of the target order.
Referring to fig. 6, fig. 6 illustrates an exemplary system architecture to which the information push method of one embodiment of the present disclosure may be applied.
As shown in fig. 6, the system architecture may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 may be the medium used to provide communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 601, 602, 603 may interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have various client applications installed thereon, such as a web browser application, a search-type application, and a news-information-type application. The client application in the terminal device 601, 602, 603 may receive the instruction of the user, and complete the corresponding function according to the instruction of the user, for example, add the corresponding information in the information according to the instruction of the user.
The terminal devices 601, 602, 603 may be hardware or software. When the terminal devices 601, 602, 603 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal device 601, 602, 603 is software, it can be installed in the electronic devices listed above. It may be implemented as a plurality of software or software modules (e.g., software or software modules used to provide distributed services) or as a single software or software module. And is not particularly limited herein.
The server 605 may be a server that provides various services, for example, receives the information acquisition request sent by the terminal devices 601, 602, and 603, and acquires the presentation information corresponding to the information acquisition request in various ways according to the information acquisition request. And the relevant data of the presentation information is sent to the terminal devices 601, 602, 603.
It should be noted that the information processing method provided by the embodiment of the present disclosure may be executed by a terminal device, and accordingly, the information pushing apparatus may be disposed in the terminal device 601, 602, 603. In addition, the information processing method provided by the embodiment of the present disclosure may also be executed by the server 605, and accordingly, the information processing apparatus may be provided in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation.
Reference is now made to fig. 7, which illustrates a schematic block diagram of an electronic device (e.g., the terminal device or the server in fig. 6) suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 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. 7, the electronic device may include a processing device (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage device 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM702, and the RAM703 are connected to each other via a bus 604. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708, including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 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 be alternatively implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, 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 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can 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 the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either 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 embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: obtaining order processing progress information of a non-real-time processing transaction system, wherein the order processing progress information comprises: order identification and processing instruction identification; determining a target order corresponding to the order processing progress information according to the order identification, and determining a target processing instruction corresponding to the order processing progress information according to the processing instruction identification; acquiring a processing instruction sequence table corresponding to the target order; the processing instruction sequence table is used for representing the sequence of the received processing instructions; judging whether the target processing instruction is the latest processing instruction according to the sequence of the processing instructions in the processing instruction sequence table; and determining whether to change the progress state information of the target order according to the judgment result, wherein the progress state information is used for representing the processing progress of the latest processing instruction.
Computer program code for carrying out operations for 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 latter scenario, 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 the embodiments of the present disclosure may be implemented by software or hardware. Where the name of the unit does not constitute a limitation to the unit itself in some cases, for example, the first obtaining unit 501 may also be described as a "unit for obtaining order processing progress information of the non-real-time processing transaction system".
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 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 herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. An order processing method, comprising:
obtaining order processing progress information of a non-real-time processing transaction system, wherein the order processing progress information comprises: order identification and processing instruction identification;
determining a target order corresponding to the order processing progress information according to the order identification, and determining a target processing instruction corresponding to the order processing progress information according to the processing instruction identification;
acquiring a processing instruction sequence table corresponding to the target order; the processing instruction sequence table is used for representing the sequence of the received processing instructions;
judging whether the target processing instruction is the latest processing instruction according to the sequence of the processing instructions in the processing instruction sequence table;
and determining whether to change the progress state information of the target order according to the judgment result, wherein the progress state information is used for representing the processing progress of the latest processing instruction.
2. The method of claim 1, wherein determining whether to alter the progress status information of the target order based on the determination comprises:
in response to determining that the target processing instruction is not the most recent processing instruction; and not changing the state progress information of the target order.
3. The method of claim 1, wherein determining whether to alter the progress status information of the target order based on the determination further comprises:
in response to the fact that the target processing instruction is determined to be the latest processing instruction, determining whether identification information used for representing that the processing instruction is rejected exists in the order processing progress information;
and in response to determining that the identification information does not exist, changing the progress state information of the target order according to the order progress state indicated by the order processing progress information.
4. The method of claim 3, further comprising:
in response to determining that the identification information exists, determining a first processing instruction from the processing instruction sequence table; wherein the first processing instruction is a last processing instruction of the target processing instruction;
obtaining progress state information of the first processing instruction;
and changing the progress state information of the target order according to the progress state information of the first processing instruction.
5. The method of claim 1, wherein the order processing progress information comprises: transaction detail information; and
after determining whether to alter the progress status information of the target order, the method further comprises:
and adding the transaction detail information in the order processing progress information to the processing detail table of the target order.
6. An order processing apparatus, comprising:
the first obtaining unit is used for obtaining order processing progress information of a non-real-time processing transaction system, wherein the order processing progress information comprises: order identification and processing instruction identification;
the identification determining unit is used for determining a target order corresponding to the order processing progress information according to the order identification and determining a target processing instruction corresponding to the order processing progress information according to the processing instruction identification;
the second obtaining unit is used for obtaining a processing instruction sequence table corresponding to the target order; the processing instruction sequence table is used for representing the sequence of the received processing instructions;
the judging unit is used for judging whether the target processing instruction is the latest processing instruction according to the sequencing of the processing instructions in the processing instruction sequence table;
and the state information determining unit is used for determining whether to change the progress state information of the target order according to the judgment result, wherein the progress state information is used for representing the processing progress of the latest processing instruction.
7. The apparatus according to claim 6, wherein the state determination unit is specifically configured to:
in response to determining that the target processing instruction is not the most recent processing instruction; and not changing the state progress information of the target order.
8. The apparatus of claim 6, wherein the order processing progress information comprises: transaction detail information; and the apparatus further comprises: an adding unit;
the adding unit is used for adding the transaction detail information in the order processing progress information to the processing detail table of the target order.
9. 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-5.
10. 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-5.
CN202010526980.4A 2020-06-10 2020-06-10 Order processing method and device and electronic equipment Active CN111652694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010526980.4A CN111652694B (en) 2020-06-10 2020-06-10 Order processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010526980.4A CN111652694B (en) 2020-06-10 2020-06-10 Order processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111652694A CN111652694A (en) 2020-09-11
CN111652694B true CN111652694B (en) 2023-04-07

Family

ID=72343165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010526980.4A Active CN111652694B (en) 2020-06-10 2020-06-10 Order processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111652694B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117391860A (en) * 2023-11-07 2024-01-12 中科驭数(北京)科技有限公司 Method, device, equipment and storage medium for processing wind control form removing

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003209550A (en) * 2002-01-11 2003-07-25 Ntt Docomo Inc Operation system in communication network management and order execution sequence control method
CN104077647A (en) * 2013-03-28 2014-10-01 佳能株式会社 Order management apparatus and order management method
CN106383872A (en) * 2016-09-06 2017-02-08 北京百度网讯科技有限公司 Artificial intelligence-based information processing method and apparatus
CN109948989A (en) * 2019-03-28 2019-06-28 深圳前海微众银行股份有限公司 Order status update method, device, equipment and storage medium based on block chain
CN109978459A (en) * 2019-03-28 2019-07-05 六安致跃供应链管理有限公司 A kind of intelligence logistic management system and its commodity distribution control method
CN110262807A (en) * 2019-06-20 2019-09-20 北京百度网讯科技有限公司 Cluster creates Progress Log acquisition system, method and apparatus
CN110717800A (en) * 2018-07-12 2020-01-21 阿里巴巴集团控股有限公司 Digital processing method, device and system for restaurant stores
CN110852685A (en) * 2019-11-12 2020-02-28 上海德启信息科技有限公司 Order task scheduling method and device, electronic equipment and storage medium
CN110912805A (en) * 2019-11-20 2020-03-24 中移(杭州)信息技术有限公司 Message reading state synchronization method, terminal, server and system
CN110942277A (en) * 2018-09-25 2020-03-31 阿里巴巴集团控股有限公司 Order cooperative processing method, device, equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003209550A (en) * 2002-01-11 2003-07-25 Ntt Docomo Inc Operation system in communication network management and order execution sequence control method
CN104077647A (en) * 2013-03-28 2014-10-01 佳能株式会社 Order management apparatus and order management method
CN106383872A (en) * 2016-09-06 2017-02-08 北京百度网讯科技有限公司 Artificial intelligence-based information processing method and apparatus
CN110717800A (en) * 2018-07-12 2020-01-21 阿里巴巴集团控股有限公司 Digital processing method, device and system for restaurant stores
CN110942277A (en) * 2018-09-25 2020-03-31 阿里巴巴集团控股有限公司 Order cooperative processing method, device, equipment and storage medium
CN109948989A (en) * 2019-03-28 2019-06-28 深圳前海微众银行股份有限公司 Order status update method, device, equipment and storage medium based on block chain
CN109978459A (en) * 2019-03-28 2019-07-05 六安致跃供应链管理有限公司 A kind of intelligence logistic management system and its commodity distribution control method
CN110262807A (en) * 2019-06-20 2019-09-20 北京百度网讯科技有限公司 Cluster creates Progress Log acquisition system, method and apparatus
CN110852685A (en) * 2019-11-12 2020-02-28 上海德启信息科技有限公司 Order task scheduling method and device, electronic equipment and storage medium
CN110912805A (en) * 2019-11-20 2020-03-24 中移(杭州)信息技术有限公司 Message reading state synchronization method, terminal, server and system

Also Published As

Publication number Publication date
CN111652694A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
WO2018019139A1 (en) Information pushing method and device
CN111399956A (en) Content display method and device applied to display equipment and electronic equipment
CN110278446B (en) Method and device for determining virtual gift display information and electronic equipment
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN113935813A (en) Information display method and device, electronic equipment and storage medium
CN112379982B (en) Task processing method, device, electronic equipment and computer readable storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN110619078A (en) Method and device for pushing information
CN111597486A (en) Information processing method and device and electronic equipment
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN111652694B (en) Order processing method and device and electronic equipment
CN114066363A (en) Order information processing method and device, electronic equipment and computer readable medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN113242291A (en) Data processing method, device, equipment and medium
CN111626802A (en) Method and apparatus for processing information
CN112446768B (en) Item information recommendation method and device, electronic equipment and computer readable medium
CN114417214A (en) Information display method and device and electronic equipment
CN110727882B (en) Information presentation method, electronic device and computer readable medium
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN109741069B (en) Transaction data processing method and device, electronic equipment and readable storage medium
CN113421045A (en) Waybill information sending method and device, electronic equipment and computer readable medium
CN111563797A (en) House source information processing method and device, readable medium and electronic equipment
CN108831012B (en) Vending method and device of vending machine
CN111625707B (en) Recommendation response method, device, medium and equipment
WO2023246350A1 (en) Information display method and apparatus, and device and 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
GR01 Patent grant
GR01 Patent grant