CN113779138A - Order management method and device - Google Patents

Order management method and device Download PDF

Info

Publication number
CN113779138A
CN113779138A CN202110153527.8A CN202110153527A CN113779138A CN 113779138 A CN113779138 A CN 113779138A CN 202110153527 A CN202110153527 A CN 202110153527A CN 113779138 A CN113779138 A CN 113779138A
Authority
CN
China
Prior art keywords
order
management center
order management
orders
operation type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110153527.8A
Other languages
Chinese (zh)
Inventor
余继国
张茂杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi 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 Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202110153527.8A priority Critical patent/CN113779138A/en
Publication of CN113779138A publication Critical patent/CN113779138A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/10Office automation; Time management
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Computing Systems (AREA)
  • Development Economics (AREA)
  • General Factory Administration (AREA)

Abstract

The invention discloses an order management method and device, and relates to the technical field of computers. One embodiment of the method comprises: screening one or more orders from the orders of the running first order management center according to a preset rule; synchronizing the screened orders to a second order management center; and when the orders are synchronously completed, starting the second order management center to replace the first order management center to manage the orders. According to the embodiment, the full orders in the same dimension of the first order management center can be synchronized to the second order management center for management without influencing the service of the original first order management center, so that the order synchronization efficiency is improved, and the convenience of data acquisition is improved.

Description

Order management method and device
Technical Field
The invention relates to the technical field of computers, in particular to an order management method and device.
Background
With the development of internet technology, service systems such as an order management system and the like are often subjected to upgrading, but due to the fact that the whole life cycles of various orders are different, after a new service system is built, the new service system cannot be directly used for replacing an old service system, two sets of service systems are often required to be operated simultaneously, and the orders in the old service system cannot be synchronized into the new service system until all order services in the old service system are finished.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: after all order services are finished, the order synchronization is started, and the synchronization efficiency is low; for a full order of the same customer in equal dimensions, the management needs to be carried out in a new service system and an old service system at the same time, and the whole data is not convenient to obtain to support the decision.
Disclosure of Invention
In view of this, embodiments of the present invention provide an order management method and an order management device, which can synchronize full orders in the same dimension of a first order management center to a second order management center for management without affecting the service of the original first order management center, so that the order synchronization efficiency is improved, only one order management center can be started to manage the full orders in the same dimension, and the convenience of data acquisition is improved.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided an order management method including:
screening one or more orders from the orders of the running first order management center according to a preset rule;
synchronizing the screened orders to a second order management center;
and when the orders are synchronously completed, starting the second order management center to replace the first order management center to manage the orders.
Optionally, the synchronizing the screened orders to the second order management center includes:
determining an operation type corresponding to the order according to the order identification of the order;
synchronizing the order to the second order management center according to the operation type;
and under the condition that the order synchronization fails, analyzing and processing the order so as to synchronize the analyzed and processed order to the second order management center.
Optionally, before the second order management center is enabled to replace the first order management center to manage the order, the method further includes:
under the condition that the screened orders are updated in the first order management center, updating the orders of the second order management center according to the orders of the first management center;
and inserting the new order into the second order management center under the condition that the first order management center has the new order meeting the preset rule.
Optionally, the determining, according to the order identifier of the order, the operation type corresponding to the order includes:
judging whether the second order management center has an order identifier corresponding to the order:
if yes, the operation type corresponding to the order is updated;
and if the order does not exist, the operation type corresponding to the order is insertion.
Optionally, the synchronizing the order to the second order management center according to the operation type includes:
under the condition that the operation type is updated, updating the order corresponding to the order identification in the second order management center;
and inserting the order in the second order management center under the condition that the operation type is insertion.
Optionally, before synchronizing the order to the second order management center according to the operation type, the method further includes:
according to a preset verification rule, verifying the order, and synchronizing the order to the second order management center according to the operation type under the condition that the order passes the verification;
the preset check rule comprises one or more of the following: field length, field value, field type, and sensitive information.
Optionally, if the order synchronization fails, analyzing the order to synchronize the analyzed order to the second order management center includes:
deleting the order; and/or
And repairing the order to enable the order to accord with the preset checking rule.
Optionally, the preset rules include one or more of the following: the user white list, the creation time of the order and the creation channel of the order.
Optionally, before synchronizing the screened orders to the second order management center, the method further includes: and carrying out format conversion processing on the order according to the data format of the second order management center.
Optionally, the method further comprises: and pushing the order after format conversion to a data queue so as to obtain the order from the data queue and synchronize the order to the second order management center.
To achieve the above object, according to another aspect of an embodiment of the present invention, there is provided an order management apparatus including: the system comprises an order screening module, an order synchronization module and an order management module; wherein the content of the first and second substances,
the order screening module is used for screening one or more orders from the orders of the running first order management center according to a preset rule;
the order synchronization module is used for synchronizing the screened orders to a second order management center;
and the order management module is used for starting the second order management center to replace the first order management center to manage the order under the condition that the order is synchronously completed.
Optionally, the synchronizing the screened orders to the second order management center includes:
determining an operation type corresponding to the order according to the order identification of the order;
synchronizing the order to the second order management center according to the operation type;
and under the condition that the order synchronization fails, analyzing and processing the order so as to synchronize the analyzed and processed order to the second order management center.
Optionally, before the second order management center is enabled to replace the first order management center to manage the order, the order synchronization module is further configured to,
under the condition that the screened orders are updated in the first order management center, updating the orders of the second order management center according to the orders of the first management center;
and inserting the new order into the second order management center under the condition that the first order management center has the new order meeting the preset rule.
Optionally, the determining, according to the order identifier of the order, the operation type corresponding to the order includes:
judging whether the second order management center has an order identifier corresponding to the order:
if yes, the operation type corresponding to the order is updated;
and if the order does not exist, the operation type corresponding to the order is insertion.
Optionally, the synchronizing the order to the second order management center according to the operation type includes:
under the condition that the operation type is updated, updating the order corresponding to the order identification in the second order management center;
and inserting the order in the second order management center under the condition that the operation type is insertion.
Optionally, before synchronizing the order to the second order management center according to the operation type, the order synchronization module is further configured to,
according to a preset verification rule, verifying the order, and synchronizing the order to the second order management center according to the operation type under the condition that the order passes the verification;
the preset check rule comprises one or more of the following: field length, field value, field type, and sensitive information.
Optionally, if the order synchronization fails, analyzing the order to synchronize the analyzed order to the second order management center includes:
deleting the order; and/or
And repairing the order to enable the order to accord with the preset checking rule.
Optionally, the preset rules include one or more of the following: the user white list, the creation time of the order and the creation channel of the order.
Optionally, before synchronizing the filtered orders to the second order management center, the order synchronization module is further configured to,
and carrying out format conversion processing on the order according to the data format of the second order management center.
Optionally, the order synchronization module is further configured to,
and pushing the order after format conversion to a data queue so as to obtain the order from the data queue and synchronize the order to the second order management center.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic device for order management, 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 method of any of the order management methods described above.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements any one of the order management methods described above.
One embodiment of the above invention has the following advantages or benefits: under the condition that the first management center normally carries out full-life-cycle management on the orders, the orders are synchronized in batches, so that the order synchronization efficiency is improved; in addition, batch synchronization of the full-volume orders under the same dimension is realized based on preset rules such as a user white list, so that only one order management center can be started to manage the full-volume orders under the same dimension, and the integrity and the convenience of acquiring the full-volume orders under the same dimension from the same order management center are improved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a main flow of an order management method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a main flow of another order management method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the main modules of an order management apparatus according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of an order management method according to an embodiment of the present invention, and as shown in fig. 1, the order management method may specifically include the following steps:
step S101, according to a preset rule, one or more orders are screened out from the orders of the running first order management center.
The order management center is used for performing management operations such as creation, deletion, modification and query on orders during operation. The order refers to an order established in the first order management center, including but not limited to a shopping order, a payment order, a logistics order, and the like, and each order has an order identifier, such as an order number, an order serial number, and the like, which can be used for uniquely identifying the order in the order center. In addition, the order also indicates corresponding order information, and if a logistics order is taken as an example, the order information includes, but is not limited to, goods information, logistics information, sender information, receiver information, carrier information, address information, and the like.
The preset rule refers to an index or dimension set according to actual business requirements for screening orders of the first order management center, and specifically includes one or more of the following: the user white list, the creation time of the order and the creation channel of the order. The user white list indicates users who need to switch to use the second order management center to perform order management preferentially, and can be determined according to the number of user orders, the member level of the users, the transaction amount of the user orders and the like. The creation time of the order refers to the time stamp of the order actually created in the first order management center, and may be expressed by year, month, day, week, minute, second, etc., for example, the order created by the user during 20201010 and 20201020 may be filtered only, or the order created by the user before 20201009 may not be filtered. The creation channel of the order indicates the source of the order, or through which channel the user created the order, such as a logistics order, the creation channel of the order includes but is not limited to a WeChat, a web shop, a logistics website, a POP, etc. It can be understood that, as the running time of the first order management center increases, the number of orders therein is huge, but not all orders need to be synchronized to the upgraded second order management center for management, so that massive orders can be screened through one or more dimensions of users, creation time of orders, creation channels of orders, and the like, so as to preferentially synchronize the full-volume orders corresponding to the users indicated by the white list, or the full-volume orders thereof within a certain time period, and the like to the second order management center. Therefore, the second order management center can be started to realize order management to meet business requirements, and the full-size orders in a certain dimension of the second order management center can be directly subjected to statistical analysis to support decision making.
Step S102, synchronizing the screened orders to a second order management center.
In an optional implementation, the synchronizing the filtered orders to the second order management center includes: determining an operation type corresponding to the order according to the order identification of the order; synchronizing the order to the second order management center according to the operation type; and under the condition that the order synchronization fails, analyzing and processing the order so as to synchronize the analyzed and processed order to the second order management center. Therefore, orders which fail to be synchronized can be processed in a circulating and reciprocating mode until all screened orders are synchronized to the second order management center, and reliability and integrity of the orders synchronized to the second order management center are guaranteed.
Specifically, the determining the operation type corresponding to the order according to the order identifier of the order includes: judging whether the second order management center has an order identifier corresponding to the order: if yes, the operation type corresponding to the order is updated; and if the order does not exist, the operation type corresponding to the order is insertion.
On this basis, the synchronizing the order to the second order management center according to the operation type includes: under the condition that the operation type is updated, updating the order corresponding to the order identification in the second order management center; and inserting the order in the second order management center under the condition that the operation type is insertion.
In an optional implementation manner, before synchronizing the order to the second order management center according to the operation type, the method further includes: according to a preset verification rule, verifying the order, and synchronizing the order to the second order management center according to the operation type under the condition that the order passes the verification; the preset check rule comprises one or more of the following: field length, field value, field type, and sensitive information. Therefore, the legality and the safety of the order synchronized to the second order management center can be further ensured.
Based on this, when the order synchronization fails, analyzing and processing the order to synchronize the analyzed and processed order to the second order management center includes: deleting the order; and/or repairing the order to enable the order to accord with the preset checking rule. It is understood that the order that fails to be synchronized in the embodiment of the present application includes, but is not limited to, an order that cannot be normally inserted into the second order management center, an order that cannot be updated to the second order management center, and an order that cannot pass verification. For one or more orders with synchronization failure, the reason of the synchronization failure can be analyzed, and if the orders are identified to be garbage orders, the orders can be directly removed; if the data does not conform to the format or the preset check rule, the order data can be processed to conform to the preset check rule, and if the order contains sensitive information, the sensitive information can be removed in a mode of directly deleting the sensitive information or coding by using characters such as "#" or "#" and the like.
It will be appreciated that, as the second order management center is structurally upgraded or updated relative to the first order management center, the structure or data format in which the corresponding order is stored will most likely be different. Therefore, before synchronizing the screened orders to the second order management center, the method further comprises: and carrying out format conversion processing on the order according to the data format of the second order management center.
In an optional embodiment, the method further comprises: and pushing the order after format conversion to a data queue so as to obtain the order from the data queue and synchronize the order to the second order management center. That is, when the number of the screened orders is large, the orders can be synchronized smoothly and orderly to the second order management center by using the data queue to buffer the pressure caused by the large number of the orders which are sent to the second order management center at one time. Of course, if the number of the screened orders is not large, the screened orders can be directly sent to the second order management without adopting a data queue.
In an optional implementation manner, before the enabling of the second order management center to manage the order instead of the first order management center, the method further includes: under the condition that the screened orders are updated in the first order management center, updating the orders of the second order management center according to the orders of the first management center; and inserting the new order into the second order management center under the condition that the first order management center has the new order meeting the preset rule.
As can be understood, in the process of gradually synchronizing the screened orders to the second order management center, in order to ensure normal operation of the service, the first order management center still receives the processing of order creation, order deletion, order modification, order query, and the like, which is performed by the user. Therefore, in order to ensure the validity and reliability of the order data in the activated second order management center, after all the screened orders are synchronized to the second order management center, before the second order management center is activated to manage the part of orders, the screened orders updated by the first order management center and the newly created orders meeting the preset rules need to be synchronized to the second order management center. Therefore, the comprehensiveness and the effectiveness of the orders which are synchronized to the second order management center and meet the preset rules can be always ensured, so that after the second order management center is started to manage the synchronized orders, the first order management center is not needed to be used for managing the partial orders, namely, a user can realize the management of the full orders in the same dimension only by starting one order management center without starting two orders simultaneously, and the convenience and the integrity of order data acquisition are ensured.
Step S103, when the order is completed synchronously, the second order management center is started to replace the first order management center to manage the order.
Based on the embodiment, under the condition that the first management center normally performs full-life-cycle management on the orders, the orders are synchronized in batches, and only part of the orders screened according to the preset rule or the actual business requirement are preferentially synchronized, so that the order synchronization efficiency is improved; in addition, batch synchronization of the full-volume orders under the same dimension is realized based on preset rules such as a user white list, so that only one order management center can be started to manage the full-volume orders under the same dimension, and the integrity and the convenience of acquiring the full-volume orders under the same dimension from the same order management center are improved.
Referring to fig. 2, on the basis of the above implementation, an embodiment of the present invention provides another order management method, which may specifically include the following steps:
step S201, according to a preset rule, one or more orders are screened from the orders of the running first order management center.
Step S202, according to the data format of the second order management center, format conversion processing is carried out on the order. Therefore, the orders screened from the first order management center can be made to conform to the data format or the storage structure of the second order management center, so that the second order management center can store and manage the partial orders.
Step S203, determining the operation type corresponding to the order according to the order identification of the order.
Specifically, it is determined whether an order identifier corresponding to the order exists in the second order management center: if yes, the operation type corresponding to the order is updated; and if the order does not exist, the operation type corresponding to the order is insertion.
Step S204, checking the order according to a preset checking rule; if the verification is passed, the following step S205 is continuously executed, and if the verification is not passed, the following step S206 is continuously executed. The preset check rule comprises one or more of the following: field length, field value, field type, and sensitive information.
Step S205, synchronizing the order to the second order management center according to the operation type when the verification passes.
Specifically, when the operation type is update, updating the order corresponding to the order identifier in the second order management center; and inserting the order in the second order management center under the condition that the operation type is insertion.
Step S206, in case that the order synchronization fails, analyzing the order, so as to synchronize the analyzed order to the second order management center.
Specifically, for an order which fails to be verified or fails to be synchronized, a junk order is deleted, and the order is repaired so that the order meets the preset verification rule. And based on the order, the repaired orders are synchronized to the second order management center again, and the steps are repeated in a circulating mode until all the orders are synchronized to the second order management center. Based on this, the second order management center can be directly adopted to perform processing such as updating, deleting, inquiring and the like on the synchronized order according to the user requirement, and a new order can be created.
Step S207, updating the order of the second order management center according to the order of the first management center when the screened order is updated in the first order management center.
That is, before the second order management center is started to manage the synchronized order, the order of the second order management center is updated according to the change of the order of the first order management center for the last time, so as to ensure the validity of the order of the second order management center.
Step S208, inserting the new order into the second order management center when the first order management center has the new order meeting the preset rule.
That is, before the second order management center is started to manage the synchronized orders, the orders which are newly added by the first order management center in the synchronization process and meet the preset rules are synchronized into the second order management center for the last time, so that the comprehensiveness of the orders of the second order management center is ensured.
Step S209, the second order management center is enabled to replace the first order management center to manage the order.
Therefore, when the second order management center is started to manage the synchronized orders, the first order management center is not used for managing the part of orders, namely only one order management center is used for managing the full orders in the same dimension all the time, and comprehensiveness and convenience of order data acquisition are improved. Meanwhile, under the condition that the operation of the first order management center or the operation of the business is not influenced, batch synchronization of orders and switching of the order management centers are realized, and the order synchronization efficiency is improved.
Referring to fig. 3, on the basis of the above embodiment, an embodiment of the present invention provides an order management apparatus 300, including: an order screening module 301, an order synchronization module 302 and an order management module 303; wherein the content of the first and second substances,
the order screening module 301 is configured to screen one or more orders from the orders of the running first order management center according to a preset rule;
the order synchronization module 302 is configured to synchronize the screened orders to a second order management center;
the order management module 303 is configured to enable the second order management center to replace the first order management center to manage the order when the order is completed synchronously.
In an optional implementation, the synchronizing the filtered orders to the second order management center includes: determining an operation type corresponding to the order according to the order identification of the order; synchronizing the order to the second order management center according to the operation type; and under the condition that the order synchronization fails, analyzing and processing the order so as to synchronize the analyzed and processed order to the second order management center.
In an optional implementation manner, before the second order management center is enabled to replace the first order management center to manage the order, the order synchronization module 302 is further configured to, in a case that the screened order is updated in the first order management center, update the order of the second order management center according to the order of the first order management center; and inserting the new order into the second order management center under the condition that the first order management center has the new order meeting the preset rule.
In an optional implementation manner, the determining, according to the order identifier of the order, an operation type corresponding to the order includes: judging whether the second order management center has an order identifier corresponding to the order: if yes, the operation type corresponding to the order is updated; and if the order does not exist, the operation type corresponding to the order is insertion.
In an optional implementation manner, the synchronizing the order to the second order management center according to the operation type includes: under the condition that the operation type is updated, updating the order corresponding to the order identification in the second order management center; and inserting the order in the second order management center under the condition that the operation type is insertion.
In an optional implementation manner, before the order is synchronized to the second order management center according to the operation type, the order synchronization module 302 is further configured to verify the order according to a preset verification rule, so that the order is synchronized to the second order management center according to the operation type when the verification is passed; the preset check rule comprises one or more of the following: field length, field value, field type, and sensitive information.
In an optional implementation manner, in the case that the order synchronization fails, performing analysis processing on the order to synchronize the analyzed order to the second order management center includes: deleting the order; and/or repairing the order to enable the order to accord with the preset checking rule.
In an alternative embodiment, the preset rules include one or more of the following: the user white list, the creation time of the order and the creation channel of the order.
In an optional implementation manner, before synchronizing the screened orders to the second order management center, the order synchronization module 302 is further configured to perform format conversion processing on the orders according to a data format of the second order management center.
In an optional implementation manner, the order synchronization module 302 is further configured to push the format-converted order to a data queue, so as to obtain the order from the data queue and synchronize the order to the second order management center.
Fig. 4 illustrates an exemplary system architecture 400 to which the order management method or the order management apparatus of an embodiment of the present invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. Various web browser applications, search-type applications, and the like may be installed on the terminal devices 401, 402, and 403.
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server that provides various services, such as a background management server that provides support for websites browsed by users using the terminal devices 401, 402, 403. The background management server can process the received order synchronization information query request and the like and feed back the order synchronization state of the processing result to the terminal equipment.
It should be noted that the order management method provided by the embodiment of the present invention is generally executed by the server 405, and accordingly, the order management apparatus is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention 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 invention, 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 the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises an order screening module, an order synchronization module and an order management module. The names of these modules do not in some cases constitute a limitation on the module itself, and for example, the order filtering module may also be described as "a module for filtering one or more orders from orders of the running first order management center according to a preset rule".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: screening one or more orders from the orders of the running first order management center according to a preset rule; synchronizing the screened orders to a second order management center; and when the orders are synchronously completed, starting the second order management center to replace the first order management center to manage the orders.
According to the technical scheme of the embodiment of the invention, under the condition that the first management center normally carries out full-life-cycle management on the orders, the orders are synchronized in batches, so that the order synchronization efficiency is improved; in addition, batch synchronization of full orders under the same dimension is realized based on preset rules such as a user white list, so that only one order management center can be started to manage the full orders under the same dimension, and the integrity and convenience of acquiring the full orders under the same dimension from the same order management center are improved
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (22)

1. An order management method, comprising:
screening one or more orders from the orders of the running first order management center according to a preset rule;
synchronizing the screened orders to a second order management center;
and when the orders are synchronously completed, starting the second order management center to replace the first order management center to manage the orders.
2. The order management method of claim 1, wherein synchronizing the filtered orders to a second order management center comprises:
determining an operation type corresponding to the order according to the order identification of the order;
synchronizing the order to the second order management center according to the operation type;
and under the condition that the order synchronization fails, analyzing and processing the order so as to synchronize the analyzed and processed order to the second order management center.
3. The order management method according to claim 2, before enabling the second order management center to replace the first order management center to manage the order, further comprising:
under the condition that the screened orders are updated in the first order management center, updating the orders of the second order management center according to the orders of the first management center;
and inserting the new order into the second order management center under the condition that the first order management center has the new order meeting the preset rule.
4. The order management method according to claim 2, wherein the determining an operation type corresponding to the order according to the order identifier of the order comprises:
judging whether the second order management center has an order identifier corresponding to the order:
if yes, the operation type corresponding to the order is updated;
and if the order does not exist, the operation type corresponding to the order is insertion.
5. The order management method according to claim 4, wherein said synchronizing the order to the second order management center according to the operation type includes:
under the condition that the operation type is updated, updating the order corresponding to the order identification in the second order management center;
and inserting the order in the second order management center under the condition that the operation type is insertion.
6. The order management method according to claim 5, before synchronizing the order to the second order management center according to the operation type, further comprising:
according to a preset verification rule, verifying the order, and synchronizing the order to the second order management center according to the operation type under the condition that the order passes the verification;
the preset check rule comprises one or more of the following: field length, field value, field type, and sensitive information.
7. The order management method according to claim 6, wherein, in a case where the order synchronization fails, performing analysis processing on the order to synchronize the analyzed order to the second order management center includes:
deleting the order; and/or
And repairing the order to enable the order to accord with the preset checking rule.
8. The order management method according to claim 1,
the preset rules include one or more of the following: the user white list, the creation time of the order and the creation channel of the order.
9. The order management method according to claim 1, further comprising, before synchronizing the screened orders to the second order management center:
and carrying out format conversion processing on the order according to the data format of the second order management center.
10. The order management method according to claim 9, further comprising:
and pushing the order after format conversion to a data queue so as to obtain the order from the data queue and synchronize the order to the second order management center.
11. An order management apparatus, comprising: the system comprises an order screening module, an order synchronization module and an order management module; wherein the content of the first and second substances,
the order screening module is used for screening one or more orders from the orders of the running first order management center according to a preset rule;
the order synchronization module is used for synchronizing the screened orders to a second order management center;
and the order management module is used for starting the second order management center to replace the first order management center to manage the order under the condition that the order is synchronously completed.
12. The order management apparatus of claim 11, wherein the synchronizing the filtered orders to a second order management center comprises:
determining an operation type corresponding to the order according to the order identification of the order;
synchronizing the order to the second order management center according to the operation type;
and under the condition that the order synchronization fails, analyzing and processing the order so as to synchronize the analyzed and processed order to the second order management center.
13. The order management apparatus of claim 12, wherein the order synchronization module is further configured to, prior to enabling the second order management center to manage the order in place of the first order management center,
under the condition that the screened orders are updated in the first order management center, updating the orders of the second order management center according to the orders of the first management center;
and inserting the new order into the second order management center under the condition that the first order management center has the new order meeting the preset rule.
14. The order management apparatus according to claim 12, wherein the determining an operation type corresponding to the order according to the order identifier of the order comprises:
judging whether the second order management center has an order identifier corresponding to the order:
if yes, the operation type corresponding to the order is updated;
and if the order does not exist, the operation type corresponding to the order is insertion.
15. The order management apparatus according to claim 14, wherein said synchronizing the order to the second order management center according to the operation type includes:
under the condition that the operation type is updated, updating the order corresponding to the order identification in the second order management center;
and inserting the order in the second order management center under the condition that the operation type is insertion.
16. The order management apparatus of claim 15, wherein the order synchronization module, prior to synchronizing the order to the second order management center according to the operation type, is further configured to,
according to a preset verification rule, verifying the order, and synchronizing the order to the second order management center according to the operation type under the condition that the order passes the verification;
the preset check rule comprises one or more of the following: field length, field value, field type, and sensitive information.
17. The order management apparatus according to claim 16, wherein, in a case where the order synchronization fails, performing analysis processing on the order to synchronize the analyzed order to the second order management center includes:
deleting the order; and/or
And repairing the order to enable the order to accord with the preset checking rule.
18. The order management apparatus according to claim 11,
the preset rules include one or more of the following: the user white list, the creation time of the order and the creation channel of the order.
19. The order management apparatus of claim 11, wherein the order synchronization module, prior to synchronizing the filtered orders to the second order management center,
and carrying out format conversion processing on the order according to the data format of the second order management center.
20. The order management device of claim 19, wherein the order synchronization module is further configured to,
and pushing the order after format conversion to a data queue so as to obtain the order from the data queue and synchronize the order to the second order management center.
21. An electronic device for order management, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
22. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-10.
CN202110153527.8A 2021-02-04 2021-02-04 Order management method and device Pending CN113779138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110153527.8A CN113779138A (en) 2021-02-04 2021-02-04 Order management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110153527.8A CN113779138A (en) 2021-02-04 2021-02-04 Order management method and device

Publications (1)

Publication Number Publication Date
CN113779138A true CN113779138A (en) 2021-12-10

Family

ID=78835578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110153527.8A Pending CN113779138A (en) 2021-02-04 2021-02-04 Order management method and device

Country Status (1)

Country Link
CN (1) CN113779138A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150278321A1 (en) * 2014-03-31 2015-10-01 Wal-Mart Stores, Inc. Synchronizing database data to a database cache
US9177293B1 (en) * 2006-07-21 2015-11-03 Cousins Intellectual Properties Llc Spam filtering system and method
CN105653653A (en) * 2015-12-28 2016-06-08 上海瀚之友信息技术服务有限公司 Order form data synchronization method and system
CN106250476A (en) * 2016-07-29 2016-12-21 努比亚技术有限公司 A kind of methods, devices and systems updated and synchronize white list
CN106469158A (en) * 2015-08-17 2017-03-01 杭州海康威视系统技术有限公司 Method of data synchronization and device
CN106649378A (en) * 2015-11-02 2017-05-10 北大方正集团有限公司 Data synchronizing method and device
CN110019258A (en) * 2017-09-12 2019-07-16 北京京东尚科信息技术有限公司 The method and apparatus for handling order data
US20190303897A1 (en) * 2018-03-30 2019-10-03 Toast, Inc. Selective point-of-sale terminal for reconciling order state under non-persistent connection conditions
WO2019196244A1 (en) * 2018-04-10 2019-10-17 平安科技(深圳)有限公司 Real-time order callback method and system
CN111177254A (en) * 2019-12-05 2020-05-19 武汉达梦数据库有限公司 Method and device for data synchronization between heterogeneous relational databases
CN111339207A (en) * 2020-03-20 2020-06-26 宁夏菲麦森流程控制技术有限公司 Method for synchronizing data among multi-type databases
CN112184367A (en) * 2020-09-17 2021-01-05 北京同邦卓益科技有限公司 Order processing method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9177293B1 (en) * 2006-07-21 2015-11-03 Cousins Intellectual Properties Llc Spam filtering system and method
US20150278321A1 (en) * 2014-03-31 2015-10-01 Wal-Mart Stores, Inc. Synchronizing database data to a database cache
CN106469158A (en) * 2015-08-17 2017-03-01 杭州海康威视系统技术有限公司 Method of data synchronization and device
CN106649378A (en) * 2015-11-02 2017-05-10 北大方正集团有限公司 Data synchronizing method and device
CN105653653A (en) * 2015-12-28 2016-06-08 上海瀚之友信息技术服务有限公司 Order form data synchronization method and system
CN106250476A (en) * 2016-07-29 2016-12-21 努比亚技术有限公司 A kind of methods, devices and systems updated and synchronize white list
CN110019258A (en) * 2017-09-12 2019-07-16 北京京东尚科信息技术有限公司 The method and apparatus for handling order data
US20190303897A1 (en) * 2018-03-30 2019-10-03 Toast, Inc. Selective point-of-sale terminal for reconciling order state under non-persistent connection conditions
WO2019196244A1 (en) * 2018-04-10 2019-10-17 平安科技(深圳)有限公司 Real-time order callback method and system
CN111177254A (en) * 2019-12-05 2020-05-19 武汉达梦数据库有限公司 Method and device for data synchronization between heterogeneous relational databases
CN111339207A (en) * 2020-03-20 2020-06-26 宁夏菲麦森流程控制技术有限公司 Method for synchronizing data among multi-type databases
CN112184367A (en) * 2020-09-17 2021-01-05 北京同邦卓益科技有限公司 Order processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
纪昌锋;: "面向第三方物流的运输配送信息系统的研究与设计", 佳木斯职业学院学报, no. 12, 15 December 2017 (2017-12-15) *

Similar Documents

Publication Publication Date Title
CN110019263B (en) Information storage method and device
CN110895472A (en) Method and device for identifying service change
CN107644075B (en) Method and device for collecting page information
CN111460129A (en) Method and device for generating identification, electronic equipment and storage medium
CN112835904A (en) Data processing method and data processing device
CN111324786A (en) Method and device for processing consultation problem information
CN111339743B (en) Account number generation method and device
CN112860662A (en) Data blood relationship establishing method and device, computer equipment and storage medium
CN116204428A (en) Test case generation method and device
CN115658127A (en) Data processing method and device, electronic equipment and storage medium
CN113779138A (en) Order management method and device
CN113312900A (en) Data verification method and device
CN114116675A (en) Data archiving method and device
CN112988583A (en) Method and device for testing syntax compatibility of database
CN109087097B (en) Method and device for updating same identifier of chain code
CN113742321A (en) Data updating method and device
CN113704222A (en) Method and device for processing service request
CN113779048A (en) Data processing method and device
CN113760695A (en) Method and device for positioning problem code
CN110688295A (en) Data testing method and device
CN111179097B (en) Method, device, electronic equipment and storage medium for modifying warranty
CN109656519B (en) Method and device for automatically accessing service data
CN108509455B (en) Data table processing method and device
CN113110873A (en) Method and apparatus for unifying system coding specifications
CN112862510A (en) Method and device for managing advertisement resources

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