CN113762898B - Order information processing method, apparatus, electronic device and readable medium - Google Patents

Order information processing method, apparatus, electronic device and readable medium Download PDF

Info

Publication number
CN113762898B
CN113762898B CN202111073587.5A CN202111073587A CN113762898B CN 113762898 B CN113762898 B CN 113762898B CN 202111073587 A CN202111073587 A CN 202111073587A CN 113762898 B CN113762898 B CN 113762898B
Authority
CN
China
Prior art keywords
order information
purchase
sales
split
information
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
CN202111073587.5A
Other languages
Chinese (zh)
Other versions
CN113762898A (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 Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202111073587.5A priority Critical patent/CN113762898B/en
Publication of CN113762898A publication Critical patent/CN113762898A/en
Application granted granted Critical
Publication of CN113762898B publication Critical patent/CN113762898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against 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/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Abstract

The disclosure provides an order information processing method, an order information processing device, electronic equipment and a readable medium, wherein the method comprises the following steps: converting the sales order information into purchase order information according to a preset data processing rule, and storing a mapping relation between the purchase order information and the sales order information; the method comprises the steps of sending purchase order information to a purchase terminal, and receiving split order information fed back by the purchase terminal, wherein the split order information is order information obtained by splitting the purchase order information by the purchase terminal; determining order information of father-son relationship in the purchase order information according to the split order information; the parent order information is sent to a sales terminal, and the sales terminal splits the sales order information according to the parent order information; and receiving parent order information included in the split sales order information fed back by the sales terminal, and updating the split state of the purchase order information. By the embodiment of the disclosure, the efficiency of order splitting processing is improved, and the integrity maintenance of the order tree in a purely asynchronous manner is realized.

Description

Order information processing method, apparatus, electronic device and readable medium
Technical Field
The disclosure relates to the field of information technology, and in particular relates to an order information processing method, an order information processing device, electronic equipment and a readable medium.
Background
At present, a sales order is directly generated into a new purchase order in a sales order setting mode, the sales order needs to be synchronously disassembled and changed according to the disassembly and circulation conditions of the purchase order, and the purchasing side is required to give out a detailed disassembly condition of each order to disassemble the corresponding sales order.
In the related art, there is a strong dependence on the details of order splitting, and based on the experience of the usage scenario common to the downstream system, it is known that in order to improve the versatility of the order processing manner, for example, the purchasing side needs to inform that the purchasing order a is split into the sub-order B and the sub-order C, and the sub-order B is split into the sub-order D and the sub-order E.
However, all the flows in the order processing process are performed in a synchronous manner, so that the performance is poor, the main flow may be blocked, and the order processing efficiency is low.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide an order information processing method, apparatus, electronic device, and readable medium for overcoming, at least to some extent, the inefficiency of order processing due to limitations and disadvantages of the related art.
According to a first aspect of an embodiment of the present disclosure, there is provided an order information processing method, including: converting sales order information into purchase order information according to a preset data processing rule, and storing a mapping relation between the purchase order information and the sales order information; the purchase order information is sent to a purchase terminal, split order information fed back by the purchase terminal is received, and the split order information is order information obtained by splitting the purchase order information by the purchase terminal; determining order information of a father-son relationship in the purchase order information according to the split order information, wherein the order information of the father-son relationship comprises father order information and son order information; the father order information is sent to a sales terminal, the sales order information is generated by the sales terminal, and the sales terminal splits the sales order information according to the father order information; and receiving parent order information included in the split sales order information fed back by the sales terminal, and updating the split state of the purchase order information according to the split parent order information.
In one exemplary embodiment of the present disclosure, converting sales order information into purchase order information according to a preset data processing rule, and storing a mapping relationship between the purchase order information and the sales order information includes: filtering the sales order information according to the preset data processing rule; performing parameter entry on the filtered sales order information to obtain the purchase order information; and storing the mapping relation between the purchase order information and the sales order information.
In an exemplary embodiment of the present disclosure, filtering the sales order information according to the preset data processing rule includes: determining business attribute information of the sales order information; and filtering the service attribute information according to the preset data processing rule to determine sales order information meeting filtering conditions, wherein the service attribute information comprises at least one of service scene information, service logic information and order type information, and the order type information comprises a parent order type or a child order type.
In one exemplary embodiment of the present disclosure, participating in the filtered sales order information to obtain the purchase order information includes: determining parameter information required for generating the purchase order information, wherein the parameter information comprises at least one of article number identification, article quantity, store address information and business scene information; and entering the sales order information according to the parameter information to obtain the purchase order information.
In an exemplary embodiment of the present disclosure, further comprising: judging whether the splitting state of the purchase order information is a split state or not; if the splitting state of the purchase order information is the split state, traversing the sub order information of the purchase order information; if the split state of the purchase order information is the non-split state, judging whether the parameter information in the purchase order information is completely matched with the parameter information in the sub order information; if the parameter information is judged to be not completely matched, continuing to traverse the sub-order information of the purchase order information; and if the parameter information is judged to be all matched, determining to split the sales order information.
In an exemplary embodiment of the present disclosure, receiving parent order information included in the split completed sales order information fed back by the sales terminal, and updating the split status of the purchase order information according to the split completed parent order information includes: receiving parent order information included in the split sales order information fed back by the sales terminal; updating the splitting state of the parent order information to be split; determining the corresponding relation between the parent order information of the sales order information and the child order information of the purchase order information according to the mapping relation; determining sub-order information which is split in the purchase order information according to the corresponding relation; updating the splitting state of the sub order information to be split; updating the splitting state of the purchase order information according to the sub order information which is split.
In one exemplary embodiment of the present disclosure, updating the split status of the purchase order information according to the sub-order information for which the split has been completed includes: judging whether all sub order information corresponding to the purchase order information is split or not; and if the fact that all the sub order information corresponding to the purchase order information is split is judged, updating the splitting state of the purchase order information to be split.
According to a second aspect of the embodiments of the present disclosure, there is provided an order information processing apparatus including: the conversion module is used for converting the sales order information into the purchase order information according to a preset data processing rule and storing the mapping relation between the purchase order information and the sales order information; the communication module is used for sending the purchase order information to a purchase terminal and receiving split order information fed back by the purchase terminal, wherein the split order information is order information obtained by splitting the purchase order information by the purchase terminal; the determining module is used for determining order information of a father-son relationship in the purchase order information according to the split order information, wherein the order information of the father-son relationship comprises father order information and son order information; the communication module is further used for sending the father order information to a sales terminal, the sales order information is generated by the sales terminal, and the sales terminal splits the sales order information according to the father order information; and the updating module is used for receiving parent order information included in the split sales order information fed back by the sales terminal, and updating the split state of the purchase order information according to the split parent order information.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: a memory; and a processor coupled to the memory, the processor configured to perform the method of any of the above based on instructions stored in the memory.
According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the order information processing method as set forth in any one of the above.
According to the embodiment of the disclosure, sales order information is converted into purchase order information according to the preset data processing rule, the purchase order information is sent to the purchase terminal, split order information fed back by the purchase terminal is received, parent order information is sent to the sales terminal, the sales order information is generated by the sales terminal, the sales terminal splits the sales order information according to the parent order information, the split state of the purchase order information is updated according to the parent order information which has been split, the splitting process of the sales order information does not depend on the detail of order splitting, the efficiency of order splitting processing is improved, and the integrity maintenance of the order tree is realized purely asynchronously.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 illustrates a flow chart of an order information processing method in an exemplary embodiment of the present disclosure;
FIG. 2 illustrates a flow chart of an order information processing method in another exemplary embodiment of the present disclosure;
FIG. 3 illustrates a flow chart of an order information processing method in another exemplary embodiment of the present disclosure;
FIG. 4 illustrates a flow chart of an order information processing method in another exemplary embodiment of the present disclosure;
FIG. 5 illustrates a flow chart of an order information processing method in another exemplary embodiment of the present disclosure;
FIG. 6 illustrates a flow chart of an order information processing method in another exemplary embodiment of the present disclosure;
FIG. 7 illustrates a flow chart of an order information processing method in another exemplary embodiment of the present disclosure;
FIG. 8 illustrates a block diagram of an order information processing apparatus in an exemplary embodiment of the present disclosure;
FIG. 9 illustrates a data interaction diagram of an order information processing apparatus in another exemplary embodiment of the present disclosure;
FIG. 10 illustrates a block diagram of an order information processing apparatus in another exemplary embodiment of the present disclosure;
fig. 11 shows a block diagram of an electronic device in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are only schematic illustrations of the present disclosure, in which the same reference numerals denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The following describes example embodiments of the present disclosure in detail with reference to the accompanying drawings.
FIG. 1 illustrates a flow chart of an order information processing method in an exemplary embodiment of the present disclosure.
Referring to fig. 1, the order information processing method may include:
step S102, according to preset data processing rules, the sales order information is converted into the purchase order information, and the mapping relation between the purchase order information and the sales order information is stored.
In one exemplary embodiment of the present disclosure, the parameters of the mapping relationship include: the purchase order number, purchase order commodity number, sales order commodity uuid (Universally Unique Identifier, universal unique identification code), commodity number, data state, creation time, modification time, and the like, but is not limited thereto.
Step S104, the purchase order information is sent to a purchase terminal, split order information fed back by the purchase terminal is received, and the split order information is order information obtained by splitting the purchase order information by the purchase terminal.
Step S106, determining order information of a father-son relationship in the purchase order information according to the split order information, wherein the order information of the father-son relationship comprises father order information and son order information.
In one exemplary embodiment of the present disclosure, the order information of the parent-child relationship is saved in the form of an order tree, the parameters of the order tree including: the purchase order number, purchase order parent order number, purchase order number, sales order number, service type, disassembly order state, completion state, purchase order state, data state, creation time, modification time, and the like, but is not limited thereto.
In an exemplary embodiment of the present disclosure, all order splitting details, order circulation details, and the like after decoupling do not need to be interacted in real time through rpc, but are interacted asynchronously through a message mode, and all systems have no strong dependence, so that pure asynchronous maintenance on an order tree can be realized.
Step S108, the parent order information is sent to a sales terminal, the sales order information is generated by the sales terminal, and the sales terminal splits the sales order information according to the parent order information.
In one exemplary embodiment of the present disclosure, the timed task component may page through all outstanding purchase root orders (parent orders), with the current round of timed tasks ending when there is no data. When an unfinished purchase root order exists, traversing the unfinished purchase root order, firstly judging whether the current purchase order is split, traversing the sub-orders if the current purchase order is split, judging whether the parameter values of the current purchase order and the parameter values of the sub-orders are all matched if the current purchase order is not split, continuing traversing if the current purchase order is not fully matched, continuing traversing after splitting the sales order if the current purchase order is not fully matched, wherein the parameter values comprise commodity numbers, commodity numbers and the like.
Step S110, receiving parent order information included in the split sales order information fed back by the sales terminal, and updating the split state of the purchase order information according to the split parent order information.
According to the embodiment of the disclosure, sales order information is converted into purchase order information according to the preset data processing rule, the purchase order information is sent to the purchase terminal, split order information fed back by the purchase terminal is received, parent order information is sent to the sales terminal, the sales order information is generated by the sales terminal, the sales terminal splits the sales order information according to the parent order information, the split state of the purchase order information is updated according to the parent order information which has been split, the splitting process of the sales order information does not depend on the detail of order splitting, the efficiency of order splitting processing is improved, and the integrity maintenance of the order tree is realized purely asynchronously.
The steps of the order information processing method will be described in detail with reference to fig. 2 to 7.
As shown in fig. 2, converting sales order information into purchase order information according to a preset data processing rule, and storing a mapping relationship between the purchase order information and the sales order information includes:
step S202, filtering the sales order information according to the preset data processing rule.
In one exemplary embodiment of the present disclosure, common filtering rules are when receiving sales order messages:
(1) Filtering is performed according to specific service identifiers, for example, only specific scenes are supported to sell the acquired service, and the characteristic scenes comprise network direct sales scenes, takeaway scenes, same city express scenes and the like, but the method is not limited to the specific scenes.
(2) Filtering is performed according to specific business logic, and if a specific merchant has malicious behavior such as a bill, filtering can be performed according to a blacklist.
(3) Filtering is performed according to the order relation, such as sub-orders of the sales order do not need to generate a purchase order, and only the association relation between the sales order and the purchase order needs to be maintained in the device.
Step S204, the filtered sales order information is entered into the system to obtain the purchase order information.
In an exemplary embodiment of the present disclosure, to ensure that the order processing platform can interface with different sales order systems, after receiving sales order messages, the parameters of the sales order messages need to be converted into general parameters inside the order processing platform through a code preservative layer, and the parameters include various variables possibly used for generating purchase orders, and have expandability.
Step S206, storing the mapping relation between the purchase order information and the sales order information.
As shown in fig. 3, filtering the sales order information according to the preset data processing rule includes:
step S302, determining service attribute information of the sales order information.
Step S304, filtering the service attribute information according to the preset data processing rule, so as to determine sales order information meeting the filtering condition, where the service attribute information includes at least one of service scenario information, service logic information and order type information, and the order type information includes a parent order type or a child order type.
In an exemplary embodiment of the present disclosure, filtering the service attribute information by the preset data processing rule obtains sales order information satisfying a filtering condition, where by setting the filtering condition, malicious orders, poorly recorded merchants and buyers, and orders unsuitable for sales are filtered, and reliability and delivery efficiency of purchase orders are improved.
As shown in fig. 4, the step of participating in the filtered sales order information to obtain the purchase order information includes:
step S402, determining parameter information required for generating the purchase order information, wherein the parameter information comprises at least one of item number identification, item quantity, store address information and business scene information.
Step S404, the sales order information is entered according to the parameter information to obtain the purchase order information.
In one exemplary embodiment of the present disclosure, the structured enrollment mainly contains the necessary data required to generate the purchase order, such as the merchandise number and its quantity, store, business type, etc., is used to generate the purchase order and needs to be assembled according to the specific business scenario.
As shown in fig. 5, the order information processing further includes:
step S502, determining whether the split state of the purchase order information is a split state, if yes, executing step S506, and if no, executing step S504.
Step S504, if the split state of the purchase order information is the non-split state, determining whether all the parameter information in the purchase order information and the parameter information in the sub order information are matched, if yes, executing step S508, and if not, executing step S506.
Step S506, if the split state of the purchase order information is the split state, traversing the sub order information of the purchase order information.
If the parameter information is not completely matched, continuing to traverse the sub-order information of the purchase order information.
And step S508, if the parameter information is judged to be all matched, the sales order information is determined to be split.
In an exemplary embodiment of the present disclosure, when a root order of an outstanding purchase order exists, the root order is traversed, whether the current purchase order is split or not is first determined, if the current purchase order is split, the sub-orders are traversed, if the current purchase order is not split, whether the commodity number commodity numbers of the current purchase order and the sub-orders are all matched, if the commodity numbers of the current purchase order and the sub-orders are not all matched, the sub-orders of the purchase order are continuously traversed, and if the commodity numbers of the current purchase order and the sub-orders are not all matched, the sales order is split and then the sub-orders are continuously traversed.
As shown in fig. 6, receiving parent order information included in the split sales order information fed back by the sales terminal, and updating the split state of the purchase order information according to the split parent order information includes:
step S602, receiving parent order information included in the split sales order information fed back by the sales terminal.
Step S604, updating the splitting state of the parent order information to be the splitting completed.
Step S606, determining a correspondence between parent order information of the sales order information and child order information of the purchase order information according to the mapping relation.
Step S608, determining sub-order information that has completed splitting in the purchase order information according to the correspondence.
Step S610, updating the split state of the sub order information to the split completed.
Step S612, updating the split state of the purchase order information according to the split sub order information.
In an exemplary embodiment of the present disclosure, sub-order information of a split sales order is broadcast outwards in a single order dimension, and after receiving, a purchasing terminal updates a corresponding purchasing order information row according to a mapping relationship, and simultaneously sets a flag bit "split" of the split purchasing order to "1".
As shown in fig. 7, updating the split status of the purchase order information according to the sub-order information for which the split has been completed includes:
step S702, determining whether all sub-order information corresponding to the purchase order information has been split, if yes, executing step S704, and if no, returning to execute step S702.
Step S704, if it is determined that all the sub-order information corresponding to the purchase order information has been split, updating the split status of the purchase order information to be split.
In one exemplary embodiment of the present disclosure, if the timed task component scans to determine that all child orders of a root order of a purchase order have been completed or cancelled, at which point the lifecycle of the order tree ends, its flag is "end" to "1".
Corresponding to the above method embodiment, the present disclosure further provides an order information processing apparatus, which may be used to execute the above method embodiment.
Fig. 8 is a block diagram of an order information processing apparatus in an exemplary embodiment of the present disclosure.
Referring to fig. 8, the order information processing apparatus 800 may include:
the conversion module 802 is configured to convert sales order information into purchase order information according to a preset data processing rule, and store a mapping relationship between the purchase order information and the sales order information.
The communication module 804 is configured to send the purchase order information to a purchase terminal, and receive split order information fed back by the purchase terminal, where the split order information is order information obtained by splitting the purchase order information by the purchase terminal.
A determining module 806, configured to determine order information of a parent-child relationship in the purchase order information according to the split order information, where the order information of the parent-child relationship includes parent order information and child order information.
The communication module 804 is configured to send the parent order information to a sales terminal, where the sales order information is generated by the sales terminal, and the sales terminal splits the sales order information according to the parent order information.
And the updating module 808 is configured to receive parent order information included in the split sales order information fed back by the sales terminal, and update the split status of the purchase order information according to the split parent order information.
In one exemplary embodiment of the present disclosure, the conversion module 802 is further configured to: filtering the sales order information according to the preset data processing rule; performing parameter entry on the filtered sales order information to obtain the purchase order information; and storing the mapping relation between the purchase order information and the sales order information.
In one exemplary embodiment of the present disclosure, the conversion module 802 is further configured to: determining business attribute information of the sales order information; and filtering the service attribute information according to the preset data processing rule to determine sales order information meeting filtering conditions, wherein the service attribute information comprises at least one of service scene information, service logic information and order type information, and the order type information comprises a parent order type or a child order type.
In one exemplary embodiment of the present disclosure, the conversion module 802 is further configured to: determining parameter information required for generating the purchase order information, wherein the parameter information comprises at least one of article number identification, article quantity, store address information and business scene information; and entering the sales order information according to the parameter information to obtain the purchase order information.
In one exemplary embodiment of the present disclosure, the determining module 806 is further configured to: judging whether the splitting state of the purchase order information is a split state or not; if the splitting state of the purchase order information is the split state, traversing the sub order information of the purchase order information; if the split state of the purchase order information is the non-split state, judging whether the parameter information in the purchase order information is completely matched with the parameter information in the sub order information; if the parameter information is judged to be not completely matched, continuing to traverse the sub-order information of the purchase order information; and if the parameter information is judged to be all matched, determining to split the sales order information.
In one exemplary embodiment of the present disclosure, the update module 808 is further configured to: receiving parent order information included in the split sales order information fed back by the sales terminal; updating the splitting state of the parent order information to be split; determining the corresponding relation between the parent order information of the sales order information and the child order information of the purchase order information according to the mapping relation; determining sub-order information which is split in the purchase order information according to the corresponding relation; updating the splitting state of the sub order information to be split; updating the splitting state of the purchase order information according to the sub order information which is split.
In one exemplary embodiment of the present disclosure, the update module 808 is further configured to: judging whether all sub order information corresponding to the purchase order information is split or not; and if the fact that all the sub order information corresponding to the purchase order information is split is judged, updating the splitting state of the purchase order information to be split.
Fig. 9 is a block diagram of another order information processing apparatus in an exemplary embodiment of the present disclosure.
Referring to fig. 9, the order information processing apparatus 900 may include:
the timed task component 902: is responsible for uninterrupted polling detection.
Control layer 904: for supporting HTTP operations.
Logic layer 906: the system is a core functional layer, and comprises a sheet disassembly component, a commodity matching component, a filtering rule component, a data writing component, a data updating component and a parameter conversion component which are involved in the whole integrity maintenance flow, but is not limited to the above.
Message component 908: the system is used for decoupling order information, all order disassembly details, order circulation details and the like after decoupling do not need to be interacted in real time through the RPC component 910, but are interacted asynchronously through a message mode, strong dependence is not generated among systems, and pure asynchronous maintenance of an order tree can be realized.
RPC (Remote Procedure Call) component 910: remote procedure calls, i.e., calls to services on a remote computer, are used to extend other dependent systems just as local services are called.
Database layer: the system is divided into a business database used in a normal flow and also comprises an anomaly database specially used for recording anomalies, and the database layer comprises an anomaly database 912 and a business database 914.
Fig. 10 is a block diagram of another order information processing apparatus in an exemplary embodiment of the present disclosure.
Referring to fig. 10, the order information processing apparatus 1000 may include: sales terminal (system) 1002, maintenance device logic layer 1004, procurement terminal (system) 1006, and timing component tasks 1008.
Sales terminal 1002 sends sales order information to maintenance device logic layer 1004.
The maintenance device logic layer 1004 filters and joins the sales order to generate purchase order information and to save the root order information. If the generation of the purchase order information fails, the maintenance device logic layer 1004 notifies the sales terminal 1002 of canceling the sales order information.
Purchasing terminal 1006 sends to maintenance device logic layer 1004 the parent-child order information for the purchase order, including the parent-child relationships between the orders.
The timing component task 1008 determines, by traversal, that the item number and quantity of the parent-child list are fully mapped.
The maintenance device logic layer 1004 notifies the sales terminal 1002 to tear down the sales order.
The sales terminal 1002 broadcasts sales order information to the maintenance device logic layer 1004, and the maintenance device logic layer 1004 complements the data of the purchase order information according to the broadcast message and marks the parent order as split, and the flag bit "split=1".
If the timing component task 1008 determines that the states of all sub orders corresponding to one purchase order are cancelled or split, through traversal, the maintenance device logic layer 1004 is notified that the purchase order is split, and the maintenance device logic layer 1004 marks the purchase order as "root order completed".
Since each function of the order information processing apparatus is described in detail in the corresponding method embodiment, the disclosure is not repeated herein.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 1100 according to this embodiment of the invention is described below with reference to fig. 11. The electronic device 1100 shown in fig. 11 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 11, the electronic device 1100 is embodied in the form of a general purpose computing device. Components of electronic device 1100 may include, but are not limited to: the at least one processing unit 1110, the at least one memory unit 1120, a bus 1130 connecting the different system components, including the memory unit 1120 and the processing unit 1110.
Wherein the storage unit stores program code that is executable by the processing unit 1110 such that the processing unit 1110 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 1110 may perform the methods as shown in the embodiments of the present disclosure.
The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a Random Access Memory (RAM) 11201 and/or a cache memory 11202, and may further include a Read Only Memory (ROM) 11203.
The storage unit 1120 may also include a program/utility 11204 having a set (at least one) of program modules 11205, such program modules 11205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The bus 1130 may be a local bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a bus using any of a variety of bus architectures.
The electronic device 1100 may also communicate with one or more external devices 1140 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1100, and/or any devices (e.g., routers, modems, etc.) that enable the electronic device 1100 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1150. Also, electronic device 1100 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 1160. As shown, network adapter 1160 communicates with other modules of electronic device 1100 via bus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 1100, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
The program product for implementing the above-described method according to an embodiment of the present invention may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a 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 readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. An order information processing method, comprising:
converting sales order information into purchase order information according to a preset data processing rule, and storing a mapping relation between the purchase order information and the sales order information;
The purchase order information is sent to a purchase terminal, split order information fed back by the purchase terminal is received, and the split order information is order information obtained by splitting the purchase order information by the purchase terminal;
determining order information of a father-son relationship in the purchase order information according to the split order information, wherein the order information of the father-son relationship comprises father order information and son order information;
the father order information is sent to a sales terminal, the sales order information is generated by the sales terminal, and the sales terminal splits the sales order information according to the father order information;
and receiving parent order information included in the split sales order information fed back by the sales terminal, and updating the split state of the purchase order information according to the split parent order information.
2. The order information processing method of claim 1, wherein converting sales order information into purchase order information according to a preset data processing rule, and storing a mapping relationship between the purchase order information and the sales order information comprises:
filtering the sales order information according to the preset data processing rule;
Performing parameter entry on the filtered sales order information to obtain the purchase order information;
and storing the mapping relation between the purchase order information and the sales order information.
3. The order information processing method as set forth in claim 2, wherein filtering the sales order information according to the preset data processing rule includes:
determining business attribute information of the sales order information;
and filtering the service attribute information according to the preset data processing rule to determine sales order information meeting filtering conditions, wherein the service attribute information comprises at least one of service scene information, service logic information and order type information, and the order type information comprises a parent order type or a child order type.
4. The order information processing method as set forth in any one of claims 1-3 wherein participating in the filtered sales order information to obtain the purchase order information comprises:
determining parameter information required for generating the purchase order information, wherein the parameter information comprises at least one of article number identification, article quantity, store address information and business scene information;
And entering the sales order information according to the parameter information to obtain the purchase order information.
5. The order information processing method according to any one of claims 1 to 3, characterized by further comprising:
judging whether the splitting state of the purchase order information is a split state or not;
if the splitting state of the purchase order information is the split state, traversing the sub order information of the purchase order information;
if the split state of the purchase order information is the non-split state, judging whether the parameter information in the purchase order information is completely matched with the parameter information in the sub order information;
if the parameter information is judged to be not completely matched, continuing to traverse the sub-order information of the purchase order information;
and if the parameter information is judged to be all matched, determining to split the sales order information.
6. The order information processing method as set forth in any one of claims 1-3, wherein receiving parent order information included in the split completed sales order information fed back by the sales terminal, and updating the split status of the purchase order information according to the split completed parent order information comprises:
Receiving parent order information included in the split sales order information fed back by the sales terminal;
updating the splitting state of the parent order information to be split;
determining the corresponding relation between the parent order information of the sales order information and the child order information of the purchase order information according to the mapping relation;
determining sub-order information which is split in the purchase order information according to the corresponding relation;
updating the splitting state of the sub order information to be split;
updating the splitting state of the purchase order information according to the sub order information which is split.
7. The order information processing method as set forth in claim 6, wherein updating the split status of the purchase order information based on the sub-order information for which the split has been completed comprises:
judging whether all sub order information corresponding to the purchase order information is split or not;
and if the fact that all the sub order information corresponding to the purchase order information is split is judged, updating the splitting state of the purchase order information to be split.
8. An order information processing apparatus, comprising:
The conversion module is used for converting the sales order information into the purchase order information according to a preset data processing rule and storing the mapping relation between the purchase order information and the sales order information;
the communication module is used for sending the purchase order information to a purchase terminal and receiving split order information fed back by the purchase terminal, wherein the split order information is order information obtained by splitting the purchase order information by the purchase terminal;
the determining module is used for determining order information of a father-son relationship in the purchase order information according to the split order information, wherein the order information of the father-son relationship comprises father order information and son order information;
the communication module is further used for sending the father order information to a sales terminal, the sales order information is generated by the sales terminal, and the sales terminal splits the sales order information according to the father order information;
and the updating module is used for receiving parent order information included in the split sales order information fed back by the sales terminal, and updating the split state of the purchase order information according to the split parent order information.
9. An electronic device, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the order information processing method of any of claims 1-7 based on instructions stored in the memory.
10. A computer readable storage medium having stored thereon a program which when executed by a processor implements the order information processing method as claimed in any one of claims 1-7.
CN202111073587.5A 2021-09-14 2021-09-14 Order information processing method, apparatus, electronic device and readable medium Active CN113762898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111073587.5A CN113762898B (en) 2021-09-14 2021-09-14 Order information processing method, apparatus, electronic device and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111073587.5A CN113762898B (en) 2021-09-14 2021-09-14 Order information processing method, apparatus, electronic device and readable medium

Publications (2)

Publication Number Publication Date
CN113762898A CN113762898A (en) 2021-12-07
CN113762898B true CN113762898B (en) 2024-04-16

Family

ID=78795335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111073587.5A Active CN113762898B (en) 2021-09-14 2021-09-14 Order information processing method, apparatus, electronic device and readable medium

Country Status (1)

Country Link
CN (1) CN113762898B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002050633A2 (en) * 2000-12-18 2002-06-27 Manugistics, Inc. System and method for enabling a configurable electronic business exchange platform
CN107230135A (en) * 2017-05-31 2017-10-03 北京京东尚科信息技术有限公司 Order method for dividing and processing and device
CN107316174A (en) * 2017-07-24 2017-11-03 隆鑫通用动力股份有限公司 A kind of method thawed automatically according to work order demand based on SAP
CN111222795A (en) * 2020-01-09 2020-06-02 厦门致上信息科技有限公司 Comprehensive electronic commerce management system and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002050633A2 (en) * 2000-12-18 2002-06-27 Manugistics, Inc. System and method for enabling a configurable electronic business exchange platform
CN107230135A (en) * 2017-05-31 2017-10-03 北京京东尚科信息技术有限公司 Order method for dividing and processing and device
CN107316174A (en) * 2017-07-24 2017-11-03 隆鑫通用动力股份有限公司 A kind of method thawed automatically according to work order demand based on SAP
CN111222795A (en) * 2020-01-09 2020-06-02 厦门致上信息科技有限公司 Comprehensive electronic commerce management system and terminal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Big Data implementation for Inventory warehouse systems;Dedy Prasetya Kristiadi等;《 2018 Indonesian Association for Pattern Recognition International Conference (INAPR)》;20190127;全文 *
间接B2B模式的电子商务系统设计;陈文惠;;信息化研究;20100720(07);全文 *
间接B2B模式的电子商务系统设计;陈文惠;《信息化研究》;20100720;第36卷(第228期);全文 *

Also Published As

Publication number Publication date
CN113762898A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN109947408B (en) Message pushing method and device, storage medium and electronic equipment
CN110688828A (en) File processing method and device, file processing system and computer equipment
CN111538774B (en) Data storage and display method, system, equipment and storage medium
CN113076153B (en) Interface calling method and device
CN113656735A (en) Message pushing system, method, electronic equipment and storage medium
CN114513552B (en) Data processing method, device, equipment and storage medium
CN113762898B (en) Order information processing method, apparatus, electronic device and readable medium
CN110851343A (en) Test method and device based on decision tree
CN112948306A (en) Method and device for expanding system interface
CN110336731B (en) User matching method and device in group
CN111522617A (en) Method and device for maintaining system and electronic equipment
CN115951923A (en) Subscription event management method and related product
CN108984221B (en) Method and device for acquiring multi-platform user behavior logs
CN112866268B (en) Message processing method and system
CN112860713B (en) Method for acquiring layer data, electronic device and storage medium
CN115391343A (en) Bill data processing method and device, electronic equipment and storage medium
CN108874625B (en) Information processing method and device, electronic equipment and storage medium
CN113077325A (en) Multi-party conversation processing method and device, storage medium and electronic equipment
CN109254847A (en) A kind of tenant's map information acquisition methods and device
US20190050216A1 (en) Systems and methods for maintaining operating consistency for multiple users during firmware updates
CN111414566A (en) Method and device for pushing information
CN112311833B (en) Data updating method and device
CN113420037B (en) Asset data real-time changing method and device
CN109857396B (en) Component construction method and device, storage medium and electronic equipment
CN111027809B (en) Message notification method, device, medium and electronic equipment

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