A method and apparatus for processing order data

By linking delivery orders with delivery orders generated after a user changes their address or refuses delivery through the associated order information in the order storage model, the problem of centralized document management in logistics companies is solved, and unified management of order data and business expansion are realized.

CN115170029BActive Publication Date: 2026-06-16BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
Filing Date
2022-07-05
Publication Date
2026-06-16

Smart Images

  • Figure CN115170029B_ABST
    Figure CN115170029B_ABST
Patent Text Reader

Abstract

The application discloses a kind of method and device for processing order data, it is related to logistics distribution technical field.The specific embodiment of the method includes: determining order storage model, entity in order storage model at least includes association single information;Receive the order request of user, generate first distribution order according to the order information carried in order request, generate first order storage model according to first distribution order and order storage model;Receive the change request of user for first distribution order, generate second distribution order according to the change information carried in change request, generate second order storage model according to second distribution order and order storage model;Wherein, in second order storage model, second distribution order is associated with first distribution order by association single information;Association single information in second order storage model is synchronized to first order storage model.The embodiment can solve the technical problem that lack of centralized management of single document of production operation such as warehousing, transportation, distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of logistics and distribution technology, and in particular to a method and apparatus for processing order data. Background Technology

[0002] Some companies are logistics companies themselves, undertaking logistics services for external parties. For a long time, these logistics operations have been managed through production documents, without specific sales-level management documents. Orders are merely snapshots of customer access requests, without any subsequent processing or use of order data, which cannot support real-world application scenarios and therefore cannot meet the needs of business expansion.

[0003] Existing technologies lack centralized order documents, failing to provide customers with intuitive order data. Customers and logistics companies can only communicate using warehousing production documents and distribution production documents, instead of monitoring the execution status through a single document. Furthermore, there is a lack of centralized management of documents for warehousing, transportation, and distribution operations. Customers need to communicate separately with the warehousing, transportation, and distribution departments of the same logistics company, and the logistics company also lacks unified control documents. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a method and apparatus for processing order data to solve the technical problem of lacking centralized management of documents for production operations such as warehousing, transportation, and distribution.

[0005] To achieve the above objectives, according to one aspect of the present invention, a method for processing order data is provided, comprising:

[0006] Determine an order storage model, wherein entities in the order storage model include at least associated order information;

[0007] Receive a user's order request, generate a first delivery order based on the order information carried in the order request, and generate a first order storage model based on the first delivery order and the order storage model;

[0008] The system receives a change request from the user for the first delivery order, generates a second delivery order based on the change information carried in the change request, and generates a second order storage model based on the second delivery order and the order storage model; wherein, in the second order storage model, the second delivery order and the first delivery order are associated through associated order information;

[0009] Synchronize the associated order information in the second order storage model to the first order storage model.

[0010] Optionally, after generating the first order storage model based on the first delivery order and the order storage model, the method further includes:

[0011] A first waybill is generated based on the first delivery order, and a third order storage model is generated based on the first waybill and the order storage model; wherein, in the third order storage model, the first waybill and the first delivery order are associated through associated order information;

[0012] Synchronize the associated order information in the third order storage model to the first order storage model.

[0013] Optionally, after generating the second order storage model based on the second delivery order and the order storage model, the method further includes:

[0014] A second waybill is generated based on the second delivery order, and a fourth order storage model is generated based on the second waybill and the order storage model; wherein, in the fourth order storage model, the second waybill and the second delivery order are associated through associated order information;

[0015] The associated order information in the fourth order storage model is synchronized to the first order storage model and the second order storage model.

[0016] Optionally, after generating the second order storage model based on the second delivery order and the order storage model, the method further includes:

[0017] The system receives a change request from the user for the first delivery order again, generates a third delivery order based on the change information carried in the change request, and generates a fifth order storage model based on the third delivery order and the order storage model; wherein, in the fifth order storage model, the third delivery order is associated with the first delivery order and the second delivery order through associated order information;

[0018] The associated order information in the fifth order storage model is synchronized to the first order storage model and the second order storage model.

[0019] Optionally, the method further includes:

[0020] Receive a business request from the upstream business system, generate a first outbound order based on the business information carried in the business request, and generate a sixth order storage model based on the first outbound order and the order storage model.

[0021] A second outbound order, a fourth delivery order, and a customs declaration are generated based on the first outbound order. A seventh order storage model is generated based on the second outbound order and the order storage model. An eighth order storage model is generated based on the fourth delivery order and the order storage model. In the seventh order storage model, the second outbound order is associated with the first outbound order through associated order information. In the eighth order storage model, the fourth delivery order is associated with the first outbound order through associated order information.

[0022] The associated order information in the seventh and eighth order storage models is synchronized to the sixth order storage model.

[0023] Optionally, after generating the eighth order storage model based on the fourth delivery order and the order storage model, the method further includes:

[0024] A warehouse receipt is generated based on the second outbound order, and a ninth order storage model is generated based on the warehouse receipt and the order storage model; wherein, in the ninth order storage model, the warehouse receipt and the second outbound order are associated through associated order information;

[0025] A fourth waybill is generated based on the fourth delivery order, and a tenth order storage model is generated based on the fourth waybill and the order storage model; wherein, in the tenth order storage model, the fourth waybill and the fourth delivery order are associated through associated order information;

[0026] The associated order information in the ninth and tenth order storage models is synchronized to the sixth order storage model, the associated order information in the ninth order storage model is synchronized to the seventh order storage model, and the associated order information in the tenth order storage model is synchronized to the eighth order storage model.

[0027] Optionally, the associated order information includes order number, associated order type, associated order subtype, and associated order number;

[0028] The associated order type is either an order or a production order;

[0029] The associated order type is either a forward delivery order, a reverse delivery order, a change of address delivery order, a forward waybill, a reverse waybill, or a change of address waybill.

[0030] Furthermore, according to another aspect of the present invention, an apparatus for processing order data is provided, comprising:

[0031] A determination module is used to determine the order storage model, wherein the entities in the order storage model include at least associated order information;

[0032] The processing module is configured to receive a user's order request, generate a first delivery order based on the order information carried in the order request, and generate a first order storage model based on the first delivery order and the order storage model; receive a user's change request for the first delivery order, generate a second delivery order based on the change information carried in the change request, and generate a second order storage model based on the second delivery order and the order storage model; wherein, in the second order storage model, the second delivery order is associated with the first delivery order through associated order information; and synchronize the associated order information in the second order storage model to the first order storage model.

[0033] Optionally, the processing module is further configured to:

[0034] A first waybill is generated based on the first delivery order, and a third order storage model is generated based on the first waybill and the order storage model; wherein, in the third order storage model, the first waybill and the first delivery order are associated through associated order information;

[0035] Synchronize the associated order information in the third order storage model to the first order storage model.

[0036] Optionally, the processing module is further configured to:

[0037] A second waybill is generated based on the second delivery order, and a fourth order storage model is generated based on the second waybill and the order storage model; wherein, in the fourth order storage model, the second waybill and the second delivery order are associated through associated order information;

[0038] The associated order information in the fourth order storage model is synchronized to the first order storage model and the second order storage model.

[0039] Optionally, the processing module is further configured to:

[0040] The system receives a change request from the user for the first delivery order again, generates a third delivery order based on the change information carried in the change request, and generates a fifth order storage model based on the third delivery order and the order storage model; wherein, in the fifth order storage model, the third delivery order is associated with the first delivery order and the second delivery order through associated order information;

[0041] The associated order information in the fifth order storage model is synchronized to the first order storage model and the second order storage model.

[0042] Optionally, the processing module is further configured to:

[0043] Receive a business request from the upstream business system, generate a first outbound order based on the business information carried in the business request, and generate a sixth order storage model based on the first outbound order and the order storage model.

[0044] A second outbound order, a fourth delivery order, and a customs declaration are generated based on the first outbound order. A seventh order storage model is generated based on the second outbound order and the order storage model. An eighth order storage model is generated based on the fourth delivery order and the order storage model. In the seventh order storage model, the second outbound order is associated with the first outbound order through associated order information. In the eighth order storage model, the fourth delivery order is associated with the first outbound order through associated order information.

[0045] The associated order information in the seventh and eighth order storage models is synchronized to the sixth order storage model.

[0046] Optionally, the processing module is further configured to:

[0047] A warehouse receipt is generated based on the second outbound order, and a ninth order storage model is generated based on the warehouse receipt and the order storage model; wherein, in the ninth order storage model, the warehouse receipt and the second outbound order are associated through associated order information;

[0048] A fourth waybill is generated based on the fourth delivery order, and a tenth order storage model is generated based on the fourth waybill and the order storage model; wherein, in the tenth order storage model, the fourth waybill and the fourth delivery order are associated through associated order information;

[0049] The associated order information in the ninth and tenth order storage models is synchronized to the sixth order storage model, the associated order information in the ninth order storage model is synchronized to the seventh order storage model, and the associated order information in the tenth order storage model is synchronized to the eighth order storage model.

[0050] Optionally, the associated order information includes order number, associated order type, associated order subtype, and associated order number;

[0051] The associated order type is either an order or a production order;

[0052] The associated order type is either a forward delivery order, a reverse delivery order, a change of address delivery order, a forward waybill, a reverse waybill, or a change of address waybill.

[0053] According to another aspect of the present invention, an electronic device is also provided, comprising:

[0054] One or more processors;

[0055] Storage device for storing one or more programs.

[0056] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.

[0057] According to another aspect of the present invention, a computer-readable medium is also provided, on which a computer program is stored, which, when executed by a processor, implements the methods described in any of the above embodiments.

[0058] According to another aspect of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the methods described in any of the above embodiments.

[0059] One embodiment of the above invention has the following advantages or beneficial effects: Because it employs a deterministic order storage model and uses associated order information to link the first delivery order with the second delivery order generated after the user changes their address or refuses delivery, it overcomes the technical problem in the prior art of lacking centralized management of documents for production operations such as warehousing, transportation, and delivery. This embodiment of the invention, by linking the first delivery order with the second delivery order generated after the user changes their address or refuses delivery through associated order information in the order storage model, can provide users with intuitive order data, thereby facilitating centralized management of documents for production operations such as warehousing, transportation, and delivery.

[0060] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description

[0061] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:

[0062] Figure 1 This is a schematic diagram of the main flow of a method for processing order data according to an embodiment of the present invention;

[0063] Figure 2 This is a schematic diagram illustrating the relationship between reverse delivery orders, relocation delivery orders, and forward delivery orders according to an embodiment of the present invention;

[0064] Figure 3 This is a schematic diagram of the main flow of a method for processing order data according to a possible embodiment of the present invention;

[0065] Figure 4 This is a schematic diagram illustrating the relationship between a reverse delivery order and its waybill, a relocation delivery order and its waybill, and a forward delivery order according to an embodiment of the present invention.

[0066] Figure 5 This is a schematic diagram of multiple associated forward delivery orders according to an embodiment of the present invention;

[0067] Figure 6 This is a schematic diagram of the main flow of a method for processing order data according to another applicable embodiment of the present invention;

[0068] Figure 7 This is a schematic diagram illustrating the relationship between the outbound order and its customs declaration, delivery order, forward waybill, and reverse / redirected delivery order according to an embodiment of the present invention.

[0069] Figure 8 This is a schematic diagram of the main modules of an apparatus for processing order data according to an embodiment of the present invention;

[0070] Figure 9 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied;

[0071] Figure 10 This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation

[0072] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0073] Figure 1 This is a schematic diagram of the main flow of a method for processing order data according to an embodiment of the present invention. As one embodiment of the present invention, such as... Figure 1 As shown, the method for processing order data may include:

[0074] Step 101: Determine the order storage model, wherein the entities in the order storage model include at least associated order information.

[0075] First, the order storage model is determined. This model mainly includes entities such as order header information, product information, and associated order information. The order header information describes the main body of the order, and its key attributes include tenant, business identity, business strategy, order number (which can be the order number for delivery orders, warehouse receipt orders, warehouse delivery orders, warehouse return orders, door-to-door service orders, customs declarations, etc.), order type, business type, order status, cancellation status, order source, order sub-source, orderer, orderer type, order remarks, order acceptance time, and order weight. Quantity, order volume, interception and release type, and source of the interception and release system; Goods information describes the goods information for logistics operations, with main attributes including goods code, goods type, goods name, goods volume, goods weight, goods quantity, goods pre-reserved quantity, actual production quantity, goods grade, goods grade name, quantity of goods internals, goods length, goods width, goods height, goods remarks, packaging requirements, and halal / contamination-prone label; Related document information describes the relationship between orders and between orders and production orders, mainly including order number, related document type, related document subtype, and related document number.

[0076] Optionally, the order storage model may also include entities such as batch attribute information, serial number information, channel product information, product information, product service information, logistics service requirements information, marketing information, marketing identification information, traffic generation information, financial information, expense information, discount information, customer information, customer transaction information, receipt information, dispatch information, shipment information, order cancellation information, order modification information, order tracking information, order operation log information, order extension information, and key production factor information. The information includes: Batch Attribute Information describes the batch and batch attribute information of the order goods; Serial Number Information describes the serial number information of the order goods; Channel Product Information describes the product attribute information of the order goods on its sales platform, with main attributes including product code, product name, channel product code, product quantity, product unit price, product amount, product type, and virtual package product version number; Product Information describes the standard product service information provided by the logistics company for the order, with main attributes including product code, product name, product code before downgrade, product name before downgrade, product type, main product code, solution code, and product line; Product Service Information describes the specific product attribute information of the order products, with main attributes including product service options and their corresponding values; Logistics Service Requirements Information describes the customer's special logistics service requirements, which are not standard products and cannot be used as solutions, with main attributes including service requirement code and service requirement name; Marketing Information describes the marketing information selected by the customer, such as coupons, with main attributes including discount code, discount mode, rollback timing, usage amount, discount type, discount category, copy description, and discount amount; Marketing Identifier Information describes the customer's use of specific marketing modes, such as whether it is the first order, with main attributes including marketing identifier.<Key,Value> The order information includes: sales source information (e.g., which courier company brought the order), salesperson source type, salesperson, and customer type; financial information information (e.g., settlement method, billing elements), payment method, estimated amount, pre-discount amount, post-discount amount, total discount amount, settlement account, customer deduction account (third party), payment method, inquiry, payment status, payment deadline, refund status, billing weight, billing volume, receiving institution, and payment order number); expense information information (e.g., expense code, expense name, product code, pre-discount amount, post-discount amount, and remarks); discount information information (e.g., discount code, expense name, product code, pre-discount amount, post-discount amount, and remarks); and customer information information (e.g., the customer who placed the order).Customer transaction information describes relevant information about the order's customer-side transaction. Key attributes include customer order number, channel code, channel name, channel order time, channel order number, channel user ID, channel order remarks, store code, store name, customer order main addition type, customer order remarks, channel customer code, channel customer name, and channel order amount. Recipient information describes the recipient's address, name, and other information. Key attributes include recipient name, recipient phone number, recipient mobile phone number, recipient country, recipient province, recipient city, recipient district, recipient town, recipient country code, recipient province code, recipient city code, recipient district code, and recipient town code. The shipping information includes: recipient's detailed address, postal code, recipient's ID type, recipient's ID number, longitude of the delivery address, latitude of the delivery address, and coordinate system type; the shipping information describes the sender's address, name, and other information, with key attributes including sender's name, phone number, mobile phone number, country, province, city, district, and town; country code, province code, city code, district code, town code, detailed address, postal code, company code, ID type, ID number, longitude of the delivery address, latitude of the delivery address, and coordinate system type; and shipping information. This section describes the customer's shipping requirements and the logistics company's operational requirements. Key attributes include: estimated delivery date, estimated delivery time period, scheduled delivery start time, scheduled delivery end time, expected pickup start time, expected pickup end time, estimated order acceptance time, transportation method, pickup person, collection method, delivery method, contactless pickup method, designated storage location, carrier code, carrier name, carrier type, electronic waybill type, delivery temperature zone, semi-collection type, origin station code, origin station name, destination station code, destination station name, destination station type, two-segment code, three-segment code, pickup code generation method, pickup code, vehicle model, address change type, number of orders consolidated, and delivery sequence requirements. Order cancellation information describes order cancellation details, with key attributes including cancellation request source, cancellation type, cancellation reason, cancellation operation command status, canceler, and cancellation time. Order modification information describes order modification details, with key attributes including modification request source, modification strategy, number of modifications, modifier, modifier type, and modification time. Order tracking information describes the entire order tracking process, with key attributes including node, operator / unit, operation time, and tracking message. Order operation log information describes the order's operation log information, with key attributes including operation item, operation item ID, operator, operation time, and operation content. Order extended information describes the order's extended information support, with key attributes including extended fields.<Key,Value> The order's key production factor information describes the key production factor information related to the order transaction. The main attributes include the total number of parcels, the total number of boxes, production weight, and production volume.

[0077] Step 102: Receive the user's order request, generate a first delivery order based on the order information carried in the order request, and generate a first order storage model based on the first delivery order and the order storage model.

[0078] The server receives the user's order request, then generates a first delivery order based on the order information carried in the order request. Next, it generates a first order storage model based on the first delivery order and a pre-determined order storage model. It should be noted that in this order storage model, each entity and its contained attributes are used as needed.

[0079] Step 103: Receive the user's change request for the first delivery order, generate a second delivery order based on the change information carried in the change request, and generate a second order storage model based on the second delivery order and the order storage model; wherein, in the second order storage model, the second delivery order and the first delivery order are associated through associated order information.

[0080] If a user needs to modify the address of the first delivery order or refuse to accept the order, they can send a change request (such as an address change request or a refusal request) to the server for the first delivery order. After receiving the change request, the server generates a second delivery order based on the change information carried in the change request. Then, it generates a second order storage model based on the second delivery order and a pre-determined order storage model. In the second order storage model, the second delivery order is associated with the first delivery order through associated order information.

[0081] Step 104: Synchronize the associated order information in the second order storage model to the first order storage model.

[0082] To ensure that the associated order information is consistent in the second order storage model and the first order storage model, it is necessary to synchronize the associated order information in the second order storage model to the first order storage model. This will ensure that the first delivery order and the second delivery order are associated through the associated order information in both the first delivery order's order storage model and the second delivery order's order storage model.

[0083] It should be noted that if a user's address change request is received, the order type of the second delivery order in the order header information will be "address change delivery order"; if a user's rejection request is received, the order type of the second delivery order in the order header information will be "reverse delivery order"; other entities and their attributes will be used as needed according to the first order storage model.

[0084] like Figure 2As shown, taking a forward delivery order—LO001 as an example, it is generated when the user places an order. The order information is stored using a pre-determined order storage model. In the order header information, the order number is LO001, the order type is a forward delivery order, and other entities and fields are used as needed.

[0085] When a user refuses delivery, a reverse delivery order is generated. The reverse delivery order is LO002. The order information is stored using a pre-defined order storage model. In the order header information, the order number is LO002 and the order type is reverse delivery order. Other entities and fields are used as needed.

[0086] The relationship between reverse delivery orders and forward delivery orders needs to be maintained in the related order table.

[0087]

[0088] When a user changes their address, a relocation delivery order—LO003—is generated. The order information is stored using a pre-defined order storage model. In the order header information, the order number is LO003 and the order type is a relocation delivery order. Other entities and fields are used as needed.

[0089] The relationship between relocation delivery orders and forward delivery orders needs to be maintained in the related order table.

[0090]

[0091] Based on the various embodiments described above, it can be seen that the embodiments of the present invention, by determining an order storage model and associating the first delivery order with the second delivery order generated after the user changes their address or refuses delivery through associated order information, solve the technical problem in the prior art of lacking centralized management of documents for production operations such as warehousing, transportation, and delivery. The embodiments of the present invention, by associating the first delivery order with the second delivery order generated after the user changes their address or refuses delivery through associated order information in the order storage model, can provide users with intuitive order data, thereby facilitating centralized management of documents for production operations such as warehousing, transportation, and delivery.

[0092] Figure 3 This is a schematic diagram of the main flow of a method for processing order data according to a possible embodiment of the present invention. As another embodiment of the present invention, such as... Figure 3 As shown, the method for processing order data may include:

[0093] Step 301: Determine the order storage model, wherein the entities in the order storage model include at least associated order information.

[0094] Step 302: Receive the user's order request, generate a first delivery order based on the order information carried in the order request, and generate a first order storage model based on the first delivery order and the order storage model.

[0095] Step 303: Generate a first waybill based on the first delivery order, and generate a third order storage model based on the first waybill and the order storage model; wherein, in the third order storage model, the first waybill and the first delivery order are associated through associated order information.

[0096] Step 304: Synchronize the associated order information in the third order storage model to the first order storage model.

[0097] After the server generates the first delivery order, it generates the first waybill and associates the first waybill with the first delivery order using the associated order information in the order storage model. Therefore, in both the first order storage model and the third order storage model of the first delivery order, the first delivery order is associated with the first waybill using the associated order information. Figure 4 As shown, forward delivery order LO001 is associated with forward waybill DV001.

[0098] Step 305: Receive the user's change request for the first delivery order, generate a second delivery order based on the change information carried in the change request, and generate a second order storage model based on the second delivery order and the order storage model; wherein, in the second order storage model, the second delivery order and the first delivery order are associated through associated order information.

[0099] Step 306: Generate a second waybill based on the second delivery order, and generate a fourth order storage model based on the second waybill and the order storage model; wherein, in the fourth order storage model, the second waybill and the second delivery order are associated through associated order information.

[0100] Step 307: Synchronize the associated order information in the fourth order storage model to the first order storage model and the second order storage model.

[0101] Step 308: Synchronize the associated order information in the second order storage model to the first order storage model.

[0102] In embodiments of the present invention, regardless of whether a forward delivery order is relocated or reversed, it can be associated with the forward delivery order through the waybill, such as... Figure 4 As shown.

[0103] The relationship between reverse delivery orders, reverse waybills, and forward delivery orders needs to be maintained in the related order table.

[0104]

[0105] Similarly, the relationship between reassigned delivery orders, reassigned waybills, and forward delivery orders needs to be maintained in the associated order table.

[0106]

[0107] Step 309: Receive the user's change request for the first delivery order again, generate a third delivery order based on the change information carried in the change request, and generate a fifth order storage model based on the third delivery order and the order storage model; wherein, in the fifth order storage model, the third delivery order is associated with the first delivery order and the second delivery order through associated order information.

[0108] Step 310: Synchronize the associated order information in the fifth order storage model to the first order storage model and the second order storage model.

[0109] If a forward delivery order receives another rejection or address change request from the user after a previous rejection or address change has occurred, the newly generated reverse or reassigned delivery order will be associated with the forward delivery order. Simultaneously, the waybill for the reverse or reassigned delivery order will also be associated with the forward delivery order. Figure 5 As shown.

[0110] Furthermore, the specific implementation details of the method for processing order data in one of the reference embodiments of the present invention have been described in detail in the above-described method for processing order data, so the details will not be repeated here.

[0111] Figure 6 This is a schematic diagram of the main flow of a method for processing order data according to a possible embodiment of the present invention. As another embodiment of the present invention, such as... Figure 6 As shown, the method for processing order data may include:

[0112] Step 601: Determine the order storage model.

[0113] The order storage model mainly includes 29 entities, namely: order header information, product information, batch attribute information, serial number information, channel product information, product information, product service information, solution information, solution service information, logistics service requirements information, marketing information, marketing identification information, traffic generation information, financial information, expense information, discount information, customer information, customer transaction information, receipt information, dispatch information, shipment information, warehouse and outbound information, order cancellation information, order modification information, order tracking information, order operation log information, order extension information, as well as key production factor information and related order information.

[0114] For express delivery services, the following entities can be used to undertake the business:

[0115] Order header information, product information, batch attribute information, serial number information, channel product information, product information, product service information, logistics service requirements information, marketing information, marketing identification information, traffic generation information, financial information, expense information, discount information, customer information, customer transaction information, receiving information, sending information, shipping information, order cancellation information, order modification information, order tracking information, order operation log information, order extension information, as well as key production factor information, related order information, etc.

[0116] For express freight services, the following entities can be used to undertake the business:

[0117] Order header information, product information, batch attribute information, serial number information, channel product information, product information, product service information, logistics service requirements information, marketing information, marketing identification information, traffic generation information, financial information, expense information, discount information, customer information, customer transaction information, receiving information, sending information, shipping information, order cancellation information, order modification information, order tracking information, order operation log information, order extension information, as well as key production factor information, related order information, etc.

[0118] Warehousing and distribution services can be undertaken using the following entities:

[0119] Order header information, product information, batch attribute information, serial number information, channel product information, product information, product service information, solution information, solution service information, logistics service requirements information, marketing information, marketing identification information, traffic generation information, financial information, expense information, discount information, customer information, customer transaction information, receiving information, sending information, shipping information, warehouse and outbound information, order cancellation information, order modification information, order tracking information, order operation log information, order extension information, as well as key production factor information and related order information, etc.

[0120] For international business, the following entities can be used to undertake the business:

[0121] Order header information, product information, batch attribute information, serial number information, channel product information, product information, product service information, solution information, solution service information, logistics service requirements information, marketing information, marketing identification information, traffic generation information, financial information, expense information, discount information, customer information, customer transaction information, receiving information, sending information, shipping information, warehouse and outbound information, order cancellation information, order modification information, order tracking information, order operation log information, order extension information, as well as key production factor information and related order information, etc.

[0122] The solution information describes the solution provided by the logistics company for the order, with key attributes including solution code and solution name. The solution service information describes the specific attributes of the order's solution, with key attributes including solution service options.<Key,Value> The warehouse and outbound information describes the shipping warehouse information for customers and logistics companies. The main attributes include warehouse code, warehouse type, warehouse name, fulfillment warehouse code, fulfillment warehouse type, fulfillment warehouse name, target warehouse code, target warehouse type, target warehouse name, receiving warehouse code, operation rule code, pre-holding method, inventory type, and goods outbound method.

[0123] Step 602: Receive a business request from the upstream business system, generate a first outbound order based on the business information carried in the business request, and generate a sixth order storage model based on the first outbound order and the order storage model.

[0124] Optionally, the upstream business system can be the international business system. After receiving a business request from the international business system, it generates an international sales outbound order LO001, such as... Figure 7 As shown, in this sixth order storage model, each entity and its contained attributes are used on demand.

[0125] Step 603: Generate a second outbound order, a fourth delivery order, and a customs declaration based on the first outbound order; generate a seventh order storage model based on the second outbound order and the order storage model; and generate an eighth order storage model based on the fourth delivery order and the order storage model. In the seventh order storage model, the second outbound order is associated with the first outbound order through associated order information; and in the eighth order storage model, the fourth delivery order is associated with the first outbound order through associated order information.

[0126] Step 604: Synchronize the associated order information in the seventh order storage model and the eighth order storage model to the sixth order storage model.

[0127] like Figure 7 As shown, after generating the International Sales Outbound Order LO001, Sales Outbound Order LO002, Forward Delivery Order LO003, and Customs Declaration B001 are generated based on the International Sales Outbound Order LO001. In the order storage model of the International Sales Outbound Order LO001, the International Sales Outbound Order LO001, Sales Outbound Order LO002, Forward Delivery Order LO003, and Customs Declaration B001 are associated through the associated order information. Similarly, in the order storage models of Sales Outbound Order LO002 and Forward Delivery Order LO003, the International Sales Outbound Order LO001, Sales Outbound Order LO002, Forward Delivery Order LO003, and Customs Declaration B001 are associated through the associated order information.

[0128] The relationships between international sales outbound orders, sales outbound orders, and forward delivery orders need to be maintained in the related order table.

[0129]

[0130]

[0131] Step 605: Generate a warehouse receipt based on the second outbound order, and generate a ninth order storage model based on the warehouse receipt and the order storage model; wherein, in the ninth order storage model, the warehouse receipt and the second outbound order are associated through associated order information.

[0132] Step 606: Generate a fourth waybill based on the fourth delivery order, and generate a tenth order storage model based on the fourth waybill and the order storage model; wherein, in the tenth order storage model, the fourth waybill and the fourth delivery order are associated through associated order information.

[0133] Step 607: Synchronize the associated order information in the ninth order storage model and the tenth order storage model to the sixth order storage model, synchronize the associated order information in the ninth order storage model to the seventh order storage model, and synchronize the associated order information in the tenth order storage model to the eighth order storage model.

[0134] like Figure 7 As shown, after generating a sales outbound order LO002, a warehouse receipt W001 is generated based on LO002, and the two are linked through the associated document information. Similarly, after generating a forward delivery order LO003, a forward waybill DV001 is generated based on LO003, and the two are linked through the associated document information. Specifically, the relationships between international sales outbound orders, sales outbound orders, forward delivery orders, warehouse receipts, and forward waybills need to be maintained in the associated document table.

[0135]

[0136]

[0137] Furthermore, such as Figure 7 As shown, if a user's address change request or rejection request is received, an address change delivery order or reverse delivery order LO004 and its corresponding waybill DV002 are generated. Specifically, the relationships between international sales outbound orders, sales outbound orders, forward delivery orders, warehouse receipts, and forward waybills need to be maintained in the related order table.

[0138]

[0139] Therefore, the embodiments of the present invention have the following beneficial effects:

[0140] 1) Provide standard order data models for logistics companies to support their business analysis: Accumulate standard order data for logistics companies; logistics companies can conduct business behavior analysis based on order data; and logistics property receivables have reliable document support.

[0141] 2) Provide unified document access and data tracking services for enterprise customers: Customers can send warehousing, transportation and distribution execution requirements to logistics companies through orders, simplifying the customer's connection process; customers can track the entire execution process through orders; customers can reconcile accounts with logistics companies through orders.

[0142] 3) Meets the unified management requirements of various production departments of logistics companies: The logistics company can coordinate the entire production process through orders; the logistics company can monitor the entire production process through orders and identify problems in a timely manner; the logistics company can connect with customers through orders and simplify communication.

[0143] 4) Provides a scalable order storage model to support the rapid development of logistics enterprises: supports order storage and data isolation for multiple tenants and customer types; supports collaborative operations of multiple business departments; the order storage model based on the abstraction and accumulation of logistics scenarios can support the use of logistics enterprises under various business forms; the order storage model can perform diverse data modeling applications, such as customer behavior analysis, user behavior analysis, business form analysis, etc., to guide business development.

[0144] Figure 8 This is a schematic diagram of the main modules of an apparatus for processing order data according to an embodiment of the present invention. Figure 8 As shown, the device 800 for processing order data includes a determining module 801 and a processing module 802; wherein, the determining module 801 is used to determine an order storage model, and the entities in the order storage model include at least associated order information; the processing module 802 is used to receive a user's order request, generate a first delivery order based on the order information carried in the order request, generate a first order storage model based on the first delivery order and the order storage model; receive a user's change request for the first delivery order, generate a second delivery order based on the change information carried in the change request, generate a second order storage model based on the second delivery order and the order storage model; wherein, in the second order storage model, the second delivery order is associated with the first delivery order through associated order information; and synchronize the associated order information in the second order storage model to the first order storage model.

[0145] Optionally, the processing module 802 is further configured to:

[0146] A first waybill is generated based on the first delivery order, and a third order storage model is generated based on the first waybill and the order storage model; wherein, in the third order storage model, the first waybill and the first delivery order are associated through associated order information;

[0147] Synchronize the associated order information in the third order storage model to the first order storage model.

[0148] Optionally, the processing module 802 is further configured to:

[0149] A second waybill is generated based on the second delivery order, and a fourth order storage model is generated based on the second waybill and the order storage model; wherein, in the fourth order storage model, the second waybill and the second delivery order are associated through associated order information;

[0150] The associated order information in the fourth order storage model is synchronized to the first order storage model and the second order storage model.

[0151] Optionally, the processing module 802 is further configured to:

[0152] The system receives a change request from the user for the first delivery order again, generates a third delivery order based on the change information carried in the change request, and generates a fifth order storage model based on the third delivery order and the order storage model; wherein, in the fifth order storage model, the third delivery order is associated with the first delivery order and the second delivery order through associated order information;

[0153] The associated order information in the fifth order storage model is synchronized to the first order storage model and the second order storage model.

[0154] Optionally, the processing module 802 is further configured to:

[0155] Receive a business request from the upstream business system, generate a first outbound order based on the business information carried in the business request, and generate a sixth order storage model based on the first outbound order and the order storage model.

[0156] A second outbound order, a fourth delivery order, and a customs declaration are generated based on the first outbound order. A seventh order storage model is generated based on the second outbound order and the order storage model. An eighth order storage model is generated based on the fourth delivery order and the order storage model. In the seventh order storage model, the second outbound order is associated with the first outbound order through associated order information. In the eighth order storage model, the fourth delivery order is associated with the first outbound order through associated order information.

[0157] The associated order information in the seventh and eighth order storage models is synchronized to the sixth order storage model.

[0158] Optionally, the processing module 802 is further configured to:

[0159] A warehouse receipt is generated based on the second outbound order, and a ninth order storage model is generated based on the warehouse receipt and the order storage model; wherein, in the ninth order storage model, the warehouse receipt and the second outbound order are associated through associated order information;

[0160] A fourth waybill is generated based on the fourth delivery order, and a tenth order storage model is generated based on the fourth waybill and the order storage model; wherein, in the tenth order storage model, the fourth waybill and the fourth delivery order are associated through associated order information;

[0161] The associated order information in the ninth and tenth order storage models is synchronized to the sixth order storage model, the associated order information in the ninth order storage model is synchronized to the seventh order storage model, and the associated order information in the tenth order storage model is synchronized to the eighth order storage model.

[0162] Optionally, the associated order information includes order number, associated order type, associated order subtype, and associated order number;

[0163] The associated order type is either an order or a production order;

[0164] The associated order type is either a forward delivery order, a reverse delivery order, a change of address delivery order, a forward waybill, a reverse waybill, or a change of address waybill.

[0165] It should be noted that the specific implementation of the device for processing order data described in this invention has been described in detail in the method for processing order data described above, so the content will not be repeated here.

[0166] Figure 9 An exemplary system architecture 900 is shown, which can be applied to a method or apparatus for processing order data according to embodiments of the present invention.

[0167] like Figure 9 As shown, system architecture 900 may include terminal devices 901, 902, and 903, network 904, and server 905. Network 904 is used as a medium to provide a communication link between terminal devices 901, 902, and 903 and server 905. Network 904 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0168] Users can use terminal devices 901, 902, and 903 to interact with server 905 via network 904 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 901, 902, and 903, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0169] Terminal devices 901, 902, and 903 can be various electronic devices with displays that support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0170] Server 905 can be a server providing various services, such as a backend management server supporting shopping websites browsed by users using terminal devices 901, 902, and 903 (this is just an example). The backend management server can analyze and process data such as received item information query requests, and then feed the processing results back to the terminal devices.

[0171] It should be noted that the method for processing order data provided in this embodiment of the invention is generally executed by server 905, and correspondingly, the device for processing order data is generally located in server 905.

[0172] It should be understood that Figure 9 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0173] The following is for reference. Figure 10 It shows a schematic diagram of the structure of a computer system 1000 suitable for implementing a terminal device of the present invention. Figure 10 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0174] like Figure 10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage section 1008 into a random access memory (RAM) 1003. The RAM 1003 also stores various programs and data required for the operation of the system 1000. The CPU 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0175] The following components are connected to I / O interface 1005: an input section 1006 including a keyboard, mouse, etc.; an output section 1007 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to I / O interface 1005 as needed. A removable medium 1011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 1010 as needed so that computer programs read from it can be installed into storage section 1008 as needed.

[0176] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1009, and / or installed from removable medium 1011. When the computer program is executed by central processing unit (CPU) 1001, it performs the functions defined in the system of this invention.

[0177] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer 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), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0178] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer programs according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0179] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor; for example, a processor can be described as including a determining module and a processing module, wherein the names of these modules do not necessarily limit the module itself.

[0180] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device implements the following method: determining an order storage model, wherein entities in the order storage model include at least associated order information; receiving a user's order request, generating a first delivery order based on the order information carried in the order request, and generating a first order storage model based on the first delivery order and the order storage model; receiving a user's change request for the first delivery order, generating a second delivery order based on the change information carried in the change request, and generating a second order storage model based on the second delivery order and the order storage model; wherein, in the second order storage model, the second delivery order is associated with the first delivery order through associated order information; and synchronizing the associated order information in the second order storage model to the first order storage model.

[0181] In another aspect, embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the methods described in any of the above embodiments.

[0182] According to the technical solution of the embodiments of the present invention, by adopting a deterministic order storage model and associating the first delivery order with the second delivery order generated after the user changes address or refuses delivery through associated order information, the technical problem of lacking centralized management of documents for production operations such as warehousing, transportation, and delivery in the prior art is overcome. The embodiments of the present invention, by associating the first delivery order with the second delivery order generated after the user changes address or refuses delivery through associated order information in the order storage model, can provide users with intuitive order data, thereby facilitating centralized management of documents for production operations such as warehousing, transportation, and delivery.

[0183] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for processing order data, characterized in that, include: A storage model for orders is defined, wherein the entities in the storage model include at least order header information, product information, and associated order information. The order header information describes the main information of the order, the product information describes the goods information of the logistics operation, and the associated order information describes the relationship between orders and the relationship between orders and production orders. Receive a user's order request, generate a first delivery order based on the order information carried in the order request, and generate a first order storage model based on the first delivery order and the order storage model; The system receives a change request from the user for the first delivery order, generates a second delivery order based on the change information carried in the change request, and generates a second order storage model based on the second delivery order and the order storage model; wherein, in the second order storage model, the second delivery order and the first delivery order are associated through associated order information; Synchronize the associated order information in the second order storage model to the first order storage model.

2. The method according to claim 1, characterized in that, After generating the first order storage model based on the first delivery order and the order storage model, the method further includes: A first waybill is generated based on the first delivery order, and a third order storage model is generated based on the first waybill and the order storage model; wherein, in the third order storage model, the first waybill and the first delivery order are associated through associated order information; Synchronize the associated order information in the third order storage model to the first order storage model.

3. The method according to claim 1, characterized in that, After generating the second order storage model based on the second delivery order and the order storage model, the method further includes: A second waybill is generated based on the second delivery order, and a fourth order storage model is generated based on the second waybill and the order storage model; wherein, in the fourth order storage model, the second waybill and the second delivery order are associated through associated order information; The associated order information in the fourth order storage model is synchronized to the first order storage model and the second order storage model.

4. The method according to claim 1, characterized in that, After generating the second order storage model based on the second delivery order and the order storage model, the method further includes: The system receives a change request from the user for the first delivery order again, generates a third delivery order based on the change information carried in the change request, and generates a fifth order storage model based on the third delivery order and the order storage model; wherein, in the fifth order storage model, the third delivery order is associated with the first delivery order and the second delivery order through associated order information; The associated order information in the fifth order storage model is synchronized to the first order storage model and the second order storage model.

5. The method according to claim 1, characterized in that, Also includes: Receive a business request from the upstream business system, generate a first outbound order based on the business information carried in the business request, and generate a sixth order storage model based on the first outbound order and the order storage model. A second outbound order, a fourth delivery order, and a customs declaration are generated based on the first outbound order. A seventh order storage model is generated based on the second outbound order and the order storage model. An eighth order storage model is generated based on the fourth delivery order and the order storage model. In the seventh order storage model, the second outbound order is associated with the first outbound order through associated order information. In the eighth order storage model, the fourth delivery order is associated with the first outbound order through associated order information. The associated order information in the seventh and eighth order storage models is synchronized to the sixth order storage model.

6. The method according to claim 5, characterized in that, After generating the eighth order storage model based on the fourth delivery order and the order storage model, the method further includes: A warehouse receipt is generated based on the second outbound order, and a ninth order storage model is generated based on the warehouse receipt and the order storage model; wherein, in the ninth order storage model, the warehouse receipt and the second outbound order are associated through associated order information; A fourth waybill is generated based on the fourth delivery order, and a tenth order storage model is generated based on the fourth waybill and the order storage model; wherein, in the tenth order storage model, the fourth waybill and the fourth delivery order are associated through associated order information; The associated order information in the ninth and tenth order storage models is synchronized to the sixth order storage model, the associated order information in the ninth order storage model is synchronized to the seventh order storage model, and the associated order information in the tenth order storage model is synchronized to the eighth order storage model.

7. The method according to claim 1, characterized in that, The associated order information includes the order number, associated order type, associated order subtype, and associated order number; The associated order type is either an order or a production order; The associated order type is either a forward delivery order, a reverse delivery order, a change of address delivery order, a forward waybill, a reverse waybill, or a change of address waybill.

8. An apparatus for processing order data, characterized in that, include: The determination module is used to determine the order storage model. The entities in the order storage model include at least order header information, product information, and associated order information. The order header information describes the main information of the order, the product information describes the goods information of the logistics operation, and the associated order information describes the relationship between orders and the relationship between orders and production orders. The processing module is configured to receive a user's order request, generate a first delivery order based on the order information carried in the order request, and generate a first order storage model based on the first delivery order and the order storage model; receive a user's change request for the first delivery order, generate a second delivery order based on the change information carried in the change request, and generate a second order storage model based on the second delivery order and the order storage model; wherein, in the second order storage model, the second delivery order is associated with the first delivery order through associated order information; and synchronize the associated order information in the second order storage model to the first order storage model.

9. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-7.

10. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-7.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-7.