Logistics network data processing method and device

By recording and managing multi-version logistics network data, the problem of incorrect logistics network information provision in the existing technology is solved, and different versions of logistics network data are provided to different application systems, which meets the modification and real-time modification of logistics network management users. Query requirements and support multi-level network expansion.

CN115018408BActive Publication Date: 2025-01-17ALIBABA (CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210535718.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-17
Publication Date
2025-01-17
Estimated Expiration
2042-05-17

AI Technical Summary

Technical Problem

The prior art is difficult to provide the correct logistics network information for trading systems and logistics networks, especially when there is overlap between trading networks and logistics networks.

Method used

By recording multi-version logistics network data corresponding to different performance cycles, adjusting network point relationship data, and updating network path data based on the adjusted data, providing target version of network path data to the application system, supporting the release and query of multi-network versions .

Benefits of technology

It realizes the provision of different versions of logistics network data to different application systems at the same time, meets the modification needs of logistics network management users and real-time link query needs, and supports the expansion of multi-level logistics networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115018408B_ABST
    Figure CN115018408B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and equipment for processing logistics network data. The method records multiple versions of logistics network data corresponding to different fulfillment cycles, including network point relationship data and network path data, uses a graph model based on network point relationship data to write for the logistics network management user service, and uses a path model based on network path data to read for the real-time query link service, so that it can not only meet the requirements of visible modification by the user side of the logistics network management, but also meet the requirements of efficient query of logistics network data on the real-time link, support the release of multiple network versions, and provide different versions of network data to different application systems at the same time. In addition, the graph model also supports the arbitrary expansion of multi-level logistics networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and specifically to a logistics network data processing method and device, and an electronic device. Background Art

[0002] With the continuous development of e-commerce, more and more community e-commerce platforms have emerged. The operation of community e-commerce platforms requires the support of three systems, namely the transaction system, the logistics system and the logistics networking system. Among them, the transaction system determines the logistics network when the user places an order for inventory occupation according to the transaction cycle, and the logistics system determines the logistics network when the order is fulfilled according to the logistics cycle. The logistics networking system provides logistics network data query services for both the transaction system and the logistics system, providing the transaction system with logistics network information when inventory is occupied according to the transaction cycle, and providing the logistics system with logistics network information when order is fulfilled according to the logistics cycle.

[0003] However, in the process of implementing the present invention, the inventors found that the existing technical solutions for the logistics networking system have at least the following problems: when there is overlap between the transaction network and the logistics network, it is difficult to provide correct logistics network information for the transaction system and the logistics network. Summary of the invention

[0004] The present application provides a logistics network data processing method to solve the problem that the prior art cannot correctly provide logistics network information to the transaction system and the logistics network. The present application also provides a logistics network data processing device and an electronic device.

[0005] The present application provides a logistics network data processing method, comprising:

[0006] Recording multiple versions of logistics network data corresponding to different fulfillment cycles, wherein the logistics network data includes network point relationship data and network path data;

[0007] In response to a logistics network editing request, adjusting network point relationship data;

[0008] Update network path data according to the adjusted network point relationship data;

[0009] In response to a logistics network query request, a target version number is determined according to the application system type;

[0010] According to the target version number, the network path data of the target version is provided to the application system.

[0011] Optionally, the adjusting network point relationship data includes:

[0012] Determine the target network version number;

[0013] Build the relationship between the upper-level network points and the lower-level network points;

[0014] Set the network version number of the newly created relationship to the target network version number.

[0015] Optionally, the logistics network editing request includes: a network point binding request;

[0016] The step of constructing the relationship between the upper-level network point and the lower-level network point includes:

[0017] Create a binding relationship between the upper-level network point and the lower-level network point.

[0018] Optionally, the logistics network editing request includes: a network point unbinding request;

[0019] The adjusting network point relationship data comprises:

[0020] Create an unbinding relationship between the upper-level network point and the lower-level network point.

[0021] Optionally, determining the target network version number includes:

[0022] Determine whether the relationship between the upper-level network point and the lower-level network point already exists;

[0023] If it is determined that it does not exist, obtaining the version number of the activated network including the latest version of the relationship;

[0024] If it is determined to exist, the version number of the current version of the draft network is obtained.

[0025] Optionally, also include:

[0026] Mark the newly created relationship as an unconverted network path;

[0027] The updating of the network path data according to the adjusted network point relationship data includes:

[0028] obtaining at least one target relationship of the unconverted network path;

[0029] Acquire a first network path set with the upper-level network point of the target relationship as the end point and a second network path set with the lower-level network point of the target relationship as the end point;

[0030] Acquire a third network path set according to the first network path set, the second network path set, and the type of the target relationship;

[0031] Acquire a network path including an upper-level network point and a lower-level network point, a network path with the upper-level network point as an end point, and a network path with the lower-level network point as a start point, to form a fourth network path set;

[0032] Creating a network path that belongs to the third network path set and does not belong to the fourth network path set;

[0033] Clearing the network paths that belong to the fourth network path set and do not belong to the third network path set;

[0034] Marks the target relationship as a converted network path.

[0035] Optionally, acquiring the third network path set according to the first network path set, the second network path set, and the type of the target relationship includes:

[0036] If the type of the target relationship is binding, the first network path and the second network path are combined in pairs to form a third network path set;

[0037] If the type of the target relationship is unbinding, the third network path set is a collection of the first network path and the second network path.

[0038] Optionally, also include:

[0039] In response to a network path time-efficiency editing request, recording time-efficiency data of the network path;

[0040] Provide application systems with time-sensitive data on network paths.

[0041] Optionally, also include:

[0042] In response to a network path applicable temperature layer editing request, recording applicable temperature layer data of the network path;

[0043] Provides applicable temperature layer data of network paths to application systems.

[0044] Optionally, also include:

[0045] In response to the network construction request, a logistics network of a target network type is constructed.

[0046] Optionally, also include:

[0047] In response to the network point type extension request, a target network point type is constructed for constructing a network point of the target network point type.

[0048] The present application also provides a logistics network data processing method, comprising:

[0049] Edit network point relationships;

[0050] Send a logistics network edit request to the server, so that the server performs the following processing:

[0051] Record multiple versions of logistics network data corresponding to different fulfillment periods, wherein the logistics network data includes network point relationship data and network path data, so as to provide the application system with the version of network path data corresponding to its fulfillment time; adjust the network point relationship data according to the logistics network editing request; and update the network path data according to the adjusted network point relationship data.

[0052] The present application also provides a logistics network data processing method, comprising:

[0053] Recording multiple versions of logistics network data corresponding to different fulfillment periods, wherein the logistics network data includes network point relationship data and network path data, so as to provide the application system with the version of network path data corresponding to its fulfillment time;

[0054] Receive logistics network editing requests sent by clients;

[0055] Adjusting network point relationship data according to the logistics network editing request;

[0056] Update the network path data according to the adjusted network point relationship data.

[0057] The present application also provides a logistics network data processing device, comprising:

[0058] A data storage unit, used to record multiple versions of logistics network data corresponding to different fulfillment cycles, wherein the logistics network data includes network point relationship data and network path data;

[0059] A relationship adjustment unit, used to adjust the network point relationship data in response to a logistics network editing request;

[0060] The path conversion unit is used to update the network path data according to the adjusted network point relationship data.

[0061] A version matching unit, for responding to a logistics network query request and determining a target version number according to an application system type;

[0062] The data providing unit is used to provide the network path data of the target version to the application system according to the target version number.

[0063] The present application also provides an electronic device, including:

[0064] Processor and memory;

[0065] The memory is used to store a program for implementing the above-mentioned logistics network data processing method. The device is powered on and runs the program of the method through the processor.

[0066] The present application also provides a computer-readable storage medium, in which requests are stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned various methods.

[0067] The present application also provides a computer program product comprising the request, which enables the computer to execute the above-mentioned various methods when it is run on a computer.

[0068] Compared with the prior art, this application has the following advantages:

[0069] The logistics network data processing method provided in the embodiment of the present application records multiple versions of logistics network data corresponding to different fulfillment cycles. The logistics network data includes network point relationship data and network path data. A graph model based on network point relationship data is used to write for the logistics networking management user service, and a path model based on network path data is used to read for the real-time query link service. This not only meets the requirements of visible modifications on the logistics networking management user side, but also meets the requirements of efficient query of logistics network data on real-time links. It supports the release of multiple network versions and can provide different versions of network data to different application systems at the same time. In addition, the graph model also supports arbitrary expansion of multi-level logistics networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 A flow chart of an embodiment of a logistics network data processing method provided by the present application;

[0071] Figure 2 A logistics network diagram of an embodiment of the logistics network data processing method provided by the present application;

[0072] Figure 3 A schematic diagram of the system architecture of an embodiment of the logistics network data processing method provided by the present application;

[0073] Figure 4 Schematic diagram of multiple overlapping cycles of an embodiment of the logistics network data processing method provided by the present application;

[0074] Figure 5 A schematic diagram of the mapping relationship between the network version and the application side of the embodiment of the logistics network data processing method provided by the present application;

[0075] Figure 6 A schematic diagram of a network model of an embodiment of a logistics network data processing method provided by the present application;

[0076] Figure 7 A schematic diagram of a network status of an embodiment of a logistics network data processing method provided by the present application;

[0077] Figure 8A schematic diagram of network relationship adjustment of an embodiment of the logistics network data processing method provided by the present application;

[0078] Fig. 9 A schematic diagram of network path conversion of an embodiment of the logistics network data processing method provided by the present application;

[0079] Fig.10 A schematic diagram of network path data storage in an embodiment of the logistics network data processing method provided by the present application;

[0080] Fig.11 A schematic diagram of dynamic updating of path data in an embodiment of a logistics network data processing method provided by the present application;

[0081] Fig.12 A schematic diagram of version query of an embodiment of the logistics network data processing method provided by the present application;

[0082] Fig.13 Another network path data schematic diagram of an embodiment of the logistics network data processing method provided in the present application. DETAILED DESCRIPTION

[0083] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0084] In the present application, a logistics network data processing method and device, and an electronic device are provided. In the following, various solutions are described in detail one by one in each embodiment.

[0085] First embodiment

[0086] Please refer to Figure 1 , which is a flow chart of the logistics network data processing method of the present application. In this embodiment, the method may include the following steps:

[0087] Step S101: Record multiple versions of logistics network data corresponding to different fulfillment cycles, wherein the logistics network data includes network point relationship data and network path data.

[0088] The logistics network includes but is not limited to: logistics forward distribution network, return network, etc. Logistics network management users can create different types of networks according to application requirements.

[0089] like Figure 2As shown, the logistics forward distribution network (hereinafter referred to as the logistics network) of the community group buying platform in this embodiment can be a multi-level logistics network. For example, a secondary network composed of a central warehouse, a grid warehouse, and a self-pickup point (group leader), a three-level network composed of a central warehouse, a grid warehouse, an agency point (township agency point), and a self-pickup point, or a primary network composed of a central warehouse and a self-pickup point. The cost and timeliness of the first and second level networks are difficult to adapt to the county market entering the village. In order to reduce costs and improve timeliness, this embodiment combines the county express network model to transform the secondary network to form a three-level network. The county market entering the village model based on the three-level network is similar to the county express network. In actual applications, the logistics network of the county market entering the village model may change frequently, and the county express network changes relatively little.

[0090] In an example, the logistics network is a unidirectional one-to-many network consisting of physical nodes (including central warehouses, grid warehouses, and pick-up points) and logical nodes (including blocks and hives), with a link of [central warehouse->grid warehouse->block->hive->pick-up point].

[0091] like Figure 3 As shown, the logistics network data is managed by the logistics networking system. The logistics networking system may include a server and a client. The client may be deployed on the terminal device side such as a personal computer, a tablet computer, or a smart phone, and the server may be deployed on the cloud. The management user of the logistics network can adjust the supply warehouse corresponding to the goods in different transaction cycles according to the changes in the actual supply situation, that is, adjust the relationship between the network points at all levels in the logistics network. The logistics networking system can provide logistics network data to the application party of the logistics network data. The application party can be the transaction system of the community group buying platform, the logistics system of the community group buying platform, or the settlement system of the community group buying platform. Buyers on the community group buying platform can submit order requests to the transaction system through the terminal devices they use. After the transaction system generates an order based on the order request, it sends the order to the logistics system, and the logistics system performs fulfillment processing on the order.

[0092] In actual applications, the overall logic of the logistics network follows the T+1 logistics fulfillment system, and orders placed on the same day will not be processed until the next day. Figure 4As shown, the time can be cut on the trading day, and a version of the logistics network can be generated every day. The trading system deducts inventory according to the logistics network data, and the logistics system starts to perform operations according to the logistics network data the next day. In this embodiment, the trading day cut time is 22:00, the logistics next day is 10:00 the next day, and the logistics cycle lags behind the trading cycle by 12 hours. The trading cycle 1 followed by the trading system is from 22:00 on March 15 to 22:00 on March 16, and the logistics system corresponding to the trading cycle 1 follows the logistics cycle 1 from 10:00 on March 16 to 10:00 on March 17. The logistics system will perform logistics fulfillment processing on user orders generated in the trading cycle 1 during the logistics cycle 1.

[0093] Depend on Figure 4 It can be seen that there is a natural time difference between the logistics cycle and the transaction cycle, which means that there may be multiple networks for different application parties to use at the same time. Therefore, the logistics networking system has the problem of difficulty in publishing and generating logistics networks. Figure 4 For example, transaction cycle 1 is from 0315 22:00 to 0316 22:00, and the logistics cycle 1 corresponding to transaction cycle 1 is from 0316 10:00 to 0317 10:00; transaction cycle 2 is from 0316 22:00 to 0317 22:00, and the logistics cycle 1 corresponding to transaction cycle 2 is from 0317 10:00 to 0318 10:00. For commodity A ordered in transaction cycle 1, the inventory of warehouse m shall be deducted, and the goods shall be shipped from warehouse m in logistics cycle 1 after 0316 10:00. At 0315, the logistics network manager adjusted the supply warehouse for commodity A after 0316 22:00 from warehouse m to warehouse n, that is, the inventory of commodity A ordered in transaction cycle 2 should be deducted from warehouse n. This will cause the logistics network system to provide the logistics system with logistics network information of commodity A shipped from warehouse m during the time period from 0316 22:00 to 0317 10:00, and provide the transaction system with logistics network information of commodity A shipped from warehouse n. It can be seen that the logistics network data used by the logistics system and the transaction system will be inconsistent in certain time periods, and the logistics network system must provide different logistics network data to different application systems at the same time.

[0094] In view of the situation that the logistics networking system needs to provide different logistics network data to different application systems at the same time, and the logistics network structure expected by the community group buying platform, the inventor of this application proposed a logistics networking system that supports network version. Figure 5As shown, the method provided by the embodiment of the present application can store multiple versions of logistics network data, and can provide different logistics network data to different application systems at the same time by distinguishing logistics network versions and application pointers (such as application system identifiers). Through version replacement, different application parties obtain the corresponding version through their own application pointers to perform application operations, and the application parties are isolated and obtained on demand.

[0095] In one example, a versioned network is a periodic network, and the following declaration cycle can be defined for the network. Figure 6 As shown, a version of the logistics network of this embodiment can be in one of the following four states: initialization, adjustment period, lock period, and activated. The network version data of this embodiment is shown in the following Table 1:

[0096] Network version number Network Type Network Status Fulfillment cycle 21 Return Network initialization 3.15 22:00-3.16 22:00 22 Delivery Network initialization 3.18 22:00-3.19 22:00 21 Delivery Network Lock-up period 3.17 22:00-3.18 22:00 20 Delivery Network Activated 3.16 22:00-3.17 22:00 19 Delivery Network Activated 3.15 22:00-3.16 22:00 …

[0097] Table 1. Network version data

[0098] Among them, when the network is in the initialization state, the user can edit the network. When the network is in the adjustment period, the network can be edited, and incremental network traversal is turned on so that the network path can be automatically converted. When the network is in the lock period, the network cannot be edited and waits for incremental network traversal. When the network is in the activated state, the network cannot be edited and is open to the outside world (application system). By managing the state of the network, the effectiveness and stability of network data can be effectively improved. As can be seen from Table 1, the method provided in this embodiment is not limited to the logistics forward distribution network (referred to as the logistics network), but can also be a return network, etc.

[0099] The logistics network of this embodiment is an editable multi-level scalable network. In practical applications, the management user of the logistics network can edit the logistics network in real time and adjust the relationship between the network points at each level. In the process of implementing the present invention, the inventor found that the rapid writing after the management user modified the logistics network and the high-performance query on the system execution link are the main contradictions.

[0100] In order to resolve this contradiction, the method provided in this embodiment uses a graph model to write for the logistics network management user service and a path model to read for the real-time query link service, thereby realizing a multi-level scalable logistics network system that supports network versions. With this processing method, the logistics network system can not only meet the efficient query requirements of different application systems on the real-time link for logistics network data, but also meet the requirements of logistics network management users to quickly write after modifying the logistics network, so that the modifications can be visible.

[0101] like Figure 7As shown, the graph model supports the insertion, deletion and modification of any node, and can better perform multi-level network expansion. At the same time, since the change of a node only affects the nodes connected to the upper and lower levels, such as AB disconnection, only the AB relationship needs to be modified, so it can better support write operations. The path model enumerates all network paths, so it is easier to support read operations on network paths. For example, reading C from A only requires reading once, reducing the number of queries. The method provided in the embodiment of the present application combines the advantages and disadvantages of the graph model and the path model, using the graph model to be responsible for writing for the operation classmate service, and the path model to be responsible for reading for the real-time query link service. The graph model and the path model are converted through the traversal of the graph.

[0102] The graph model of this embodiment involves the following concepts: network, network point, and network point relationship. A network is a general term for a system constructed by graphs and paths, representing a functional network, which can be a forward distribution network, a reverse return supply, etc., responsible for the overall life cycle. A network point is a node in a directed graph. In an application, it can be a pick-up point, a grid warehouse, a block, a hive, etc. A network point relationship is an edge in a directed graph, which can be constructed using a from-to model. In an application, it can be the relationship between a grid warehouse and a block, or the relationship between a hive and a pick-up point.

[0103] The basic data of the graph model is the network point relationship data. The network point relationship data includes the upper network point and the lower network point, and may also include the network version number and the relationship type, which may be activated or abandoned. In specific implementation, a relational database may be used to store the network point relationship data, as shown in Table 2 below:

[0104]

[0105]

[0106] Table 2. Network point relationship data table

[0107] In addition, a graph database can also be used to store network point relationship data. When using a graph database, stability issues need to be considered.

[0108] The path model involves the following concepts: network path, which can include multiple network points at different levels. A network path is a complete traversal result from the starting point to the end point of a directed graph. In an application, it can be a grid warehouse-block-honeycomb-self-pickup point data. In specific implementation, the data structure of the path model can be as shown in Table 3 below:

[0109]

[0110] Table 3. Network path data table

[0111] So far, the network model based on network point relationship data and network path data has been explained. Now, the processing of logistics network data based on this model will be explained.

[0112] In this embodiment, the logistics networking system stores multiple versions of logistics network data. Different versions of logistics network data may correspond to different time periods, also known as fulfillment periods. Taking the data in Table 1 above as an example, the time period corresponding to the logistics network of version 19 is 3.15 22:00-3.16 22:00, and the time period corresponding to the logistics network of version 20 is 3.1622:00-3.17 22:00. Figure 4 In order to understand the overlap between the logistics cycle and the transaction cycle, the logistics networking system will provide version 20 logistics network data to the transaction system and version 19 logistics network data to the logistics system during the period from 22:00 on March 16 to 10:00 on March 17.

[0113] Step S103: In response to the logistics network editing request, adjust the network point relationship data.

[0114] In this embodiment, the management user of the logistics network submits a logistics network editing request to the service end of the logistics networking system through the client used by the management user. The request may include the upper-level network point and the lower-level network point, and the logistics network adjustment method may be to bind the two network points or to unbind the two network points.

[0115] like Figure 8 As shown, the logistics network includes network point A and network point B in the initial state of version V1. Through the binding operation, a network relationship AB can be constructed for the two network points on the network diagram. After version V1 is activated, it can be provided to the application system. After that, the management user of the logistics network can build a network of version V2 based on version V1. First, the network of version V1 can be opened, the network relationship AB existing on the diagram can be removed, and a network point C can be added. Then, a network relationship AC can be constructed between the newly added network point C and the existing network point A.

[0116] In one example, step S103 may include the following sub-steps:

[0117] Step S1031: Determine the target network version number.

[0118] In this embodiment, step S1031 can be implemented in the following manner: determine whether the relationship between the upper-level network point and the lower-level network point already exists; if it is determined that it does not exist, obtain the version number of the activated network including the latest version of the relationship; if it is determined that it already exists, obtain the version number of the draft network of the current version. For example, if the logistics network management user wants to add a self-pickup point B, a corresponding AB relationship needs to be added. At this time, if the AB relationship does not exist in the historical version or the largest version number in the existing relationship is abandoned, then obtain the latest activated version and add the activated AB relationship to the latest version; if the largest version number in the existing relationship is activated, obtain the version number of the current version 20 (draft network) and add the activated AB relationship to version 20. This processing method allows the self-pickup point B to take effect immediately.

[0119] For another example, the logistics network management user is currently editing the logistics network of version 20 and wants to unbind the existing AB relationship. At this time, the judgment result is that there is an activated AB relationship, so the version number of the current version 20 (draft network) is obtained, and the abandoned AB relationship is added to version 20. Step S1033: Construct the relationship between the upper-level network point and the lower-level network point.

[0120] A logistics network may include multiple network point relationship data, such as Figure 6 In this embodiment, the relationship between the upper-level network point and the lower-level network point is established according to the upper-level network point and the lower-level network point carried in the network editing request. As shown in Table 2 above, the network point relationship data includes the upper-level network point and the lower-level network point, and the relationship type is also set according to the editing mode.

[0121] In one example, the logistics network editing request includes: a network point binding request; step S103 can be implemented in the following manner: creating a binding relationship between a superior network point and a subordinate network point. At this time, the relationship type can be set to active.

[0122] In another example, the logistics network editing request includes: a network point unbinding request; step S103 can be implemented in the following manner: creating an unbinding relationship between a superior network point and a subordinate network point. At this time, the relationship type can be set to abandoned.

[0123] Step S1035: Set the network version number of the newly created relationship as the target network version number.

[0124] For a network point relationship, in addition to setting the upper network point, lower network point, and relationship type, the network version number must also be set. In specific implementation, the network version number can be reflected in the relationship identifier, and there is no need to set the network version number separately.

[0125] In an example, a request to bind or unbind AB can be processed as follows: first, determine whether the AB relationship already exists. If not, obtain the latest version of the activated network with version number N. If it exists, obtain the current version of the draft network with version number K. Then, the network constructs the AB relationship, marks the AB relationship as binding / unbinding (activated or abandoned), marks the AB relationship version number as N or K, and marks the AB relationship as not traversed. Next, determine whether the current network status is activated. If it is activated, execute the data publishing process. If not activated, end the processing.

[0126] Step S105: updating the network path data according to the adjusted network point relationship data.

[0127] Changes in network point relationships will inevitably lead to changes in network paths. Fig. 9 As shown, a graph model can be constructed based on the adjusted network point relationship data, and the graph model can be traversed to obtain the full path of the logistics network.

[0128] like Fig.10 As shown in Table 3 above, since multiple versions of network paths are currently obtained by traversing network relationships, they can be achieved through full backup, that is, different versions of network paths can be completely independent data.

[0129] In one example, the method provided by the embodiment of the present application may further include the following steps: marking the newly created relationship as an unconverted network path. In specific implementation, a field indicating whether the network path is converted may be set in the network point relationship data. Accordingly, step S105 may include the following sub-steps:

[0130] Step S1051: Obtain at least one target relationship of the unconverted network path.

[0131] Step S1052: Acquire a first network path set with the upper-level network point of the target relationship as the end point and a second network path set with the lower-level network point of the target relationship as the end point.

[0132] Step S1053: Acquire a third network path set according to the first network path set, the second network path set, and the type of the target relationship.

[0133] In specific implementation, if the type of the target relationship is binding, the first network path and the second network path are combined in pairs to form a third network path set; if the type of the target relationship is unbinding, the third network path set is the collection of the first network path and the second network path.

[0134] Step S1054: Obtain a network path including an upper-level network point and a lower-level network point, a network path with the upper-level network point as an end point, and a network path with the lower-level network point as a start point to form a fourth network path set.

[0135] Step S1055: Create a network path that belongs to the third network path set and does not belong to the fourth network path set.

[0136] Step S1056: Clear the network paths that belong to the fourth network path set and do not belong to the third network path set.

[0137] Step S1057: Mark the target relationship as a converted network path.

[0138] For example, a network (target network) with untraversed relations is obtained, the version number is N, a list of relations (at least one target relation) that have not been traversed in this version is obtained, and for each relation (target relation) in the list, the following processing is performed: taking relation A->B as an example, A (the upper network point of the target relation) is used to perform reverse breadth-first traversal (BFS) to obtain the existing path list R1 (the first network path set), and B (the lower network point of the target relation) is used to perform forward BFS to obtain the existing path list R2 (the second network path set); determine whether the AB relation is bound (the relation type is activated). If the AB relation is bound, a Cartesian product of R1 and R2 is performed to form a traversal result R (the third network path set). If If the AB relationship is unbound, R1+R2 constructs the traversal result R (the third network path set); obtain all relationships E1 that pass through AB, obtain all relationships E2 with A and B as the end point and starting point respectively, and E1 and E2 construct the existing list E (the fourth network path set); R and E are complemented, and S1 is obtained as the creation list (including the network paths that belong to the third network path set and do not belong to the fourth network path set); E and R are complemented, and S2 is obtained as the deletion list (including the network paths that belong to the fourth network path set and do not belong to the third network path set); S1 and S2 are persisted, that is, the above steps S1055 and S1056 are executed; mark the AB relationship as traversal completed, that is, the above step S1057 is executed.

[0139] like Fig.11 As shown, in the initial state, there is no relationship BD, and the network paths include A->B, C->B, D->E, and D->F; after BD is bound, the network paths with B and D as vertices are deleted, and all relationships passing through BD are added; after BD is unbound, network paths with B and D as vertices are added, and all relationships passing through BD are deleted.

[0140] Through the above steps S1051-1057, dynamic path update can be achieved. This processing method makes it unnecessary to care about the original execution order, thus effectively improving the network path update efficiency.

[0141] Step S107: In response to the logistics network query request, determine the target version number according to the application system type.

[0142] The logistics network query request can be sent by the application system. For example, when the transaction system is occupying inventory for an order, it will send a logistics network query request to the logistics networking system. When the logistics system is fulfilling an order, it will also send a logistics network query request to the logistics networking system. Based on the logistics network query request sent by the application system, the logistics networking system provides the target version of the network path data corresponding to its fulfillment time to the application system. Figure 5 As shown, the method provided in the embodiment of the present application determines the target version number by distinguishing the logistics network version and the application pointer.

[0143] Step S109: providing the target version's network path data to the application system according to the target version number.

[0144] Query the network path according to the target version number and return the query result to the application system.

[0145] In one example, regarding a read operation of versioned network data, the network data of the appropriate version may be obtained by using a maximum version number that is less than or equal to the required version. Figure 8 For example, 1-V1 is in the initialization state; 2-V1 performs AB binding, and creates an AB association relationship of V1; 3-V2 performs AB unbinding, and creates an AB unbinding relationship of V2; 4-V2 performs AC binding, and creates an AC association relationship of V2. Query all relationships under A that are less than or equal to version V1 to obtain the AB V1 association relationship; query all relationships under A that are less than or equal to version V2 to obtain the AB V2 unbinding relationship and AC V2 association relationship, so the application system and management users actually perceive the AC association relationship.

[0146] like Fig.12 As shown, when querying the logistics network data of version 20 to version 25, you can query the data of version 20 and obtain AB as the activated relationship; if you want to query the logistics network data of version 11 to version 19, you can query the data of version 11 and obtain AB as the abandoned relationship; if you want to query the logistics network data of version 10, you can query the data of version 10 and obtain AB as the activated relationship.

[0147] In one example, the method may further include the following steps: in response to a request to edit the timeliness of a network path, recording the timeliness data of the network path; and providing the timeliness data of the network path to an application system. In this processing method, timeliness can be built into the network path. In addition, temperature layers can also be built into the network path. Accordingly, the method may further include the following steps: in response to a request to edit the timeliness of a network path, recording the applicable temperature layer data of the network path; and providing the applicable temperature layer data of the network path to an application system.

[0148] like Fig.12 As shown, the time limit of path A->B->C is 12:00-20:00, which is suitable for the delivery of goods at room temperature; the time limit of path A->B->F is 14:00-20:00, which is suitable for the delivery of goods that need to be refrigerated; the time limit of path A->D is 16:00-20:00, which is suitable for the delivery of goods that need to be frozen.

[0149] In one example, the method may further include the following steps: in response to a network construction request, constructing a logistics network of the target network type. The network types include, but are not limited to, a logistics forward distribution network and a return network. In specific implementation, the management user of the logistics network may send a network construction request to the service end of the logistics networking system through its client according to application requirements, and may not only set the network type, but also configure the user of the network data, such as which application systems may use the newly created network.

[0150] In one example, the method may further include the following steps: in response to a network point type extension request, construct a target network point type for constructing a network point of the target network point type. The network point types include, but are not limited to, central warehouse, grid warehouse, self-pickup point, and shared warehouse. In specific implementation, the management user of the logistics network may send a network point type extension request to the service end of the logistics networking system through its client according to application requirements to set a new network point type. When subsequently editing the logistics network, a newly created network point or an existing network point may be set to a new type, such as setting network point A to a shared warehouse.

[0151] It can be seen from the above embodiments that the logistics network data processing method provided in the embodiments of the present application records multiple versions of logistics network data corresponding to different fulfillment cycles. The logistics network data includes network point relationship data and network path data. A graph model based on network point relationship data is used to write for the logistics networking management user service, and a path model based on network path data is used to read for the real-time query link service. This not only meets the requirements of visible modifications on the logistics networking management user side, but also meets the requirements of efficient query of logistics network data on real-time links. It supports the release of multiple network versions and can provide different versions of network data to different application systems at the same time. In addition, the graph model also supports arbitrary expansion of multi-level logistics networks.

[0152] Second embodiment

[0153] In the above-mentioned embodiment, a logistics network data processing method is provided. Correspondingly, the present application also provides a logistics network data processing device. The device corresponds to the embodiment of the above-mentioned method. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0154] The present application further provides a logistics network data processing device, comprising:

[0155] A data storage unit, used to record multiple versions of logistics network data corresponding to different fulfillment cycles, wherein the logistics network data includes network point relationship data and network path data;

[0156] A relationship adjustment unit, used to adjust the network point relationship data in response to a logistics network editing request;

[0157] The path conversion unit is used to update the network path data according to the adjusted network point relationship data.

[0158] A version matching unit, for responding to a logistics network query request and determining a target version number according to an application system type;

[0159] The data providing unit is used to provide the network path data of the target version to the application system according to the target version number.

[0160] Optionally, the relationship adjustment unit is specifically used to determine the target network version number; establish a relationship between the upper-level network point and the lower-level network point; and set the network version number of the newly-created relationship as the target network version number.

[0161] Optionally, the logistics network editing request includes: a network point binding request; and the relationship adjustment unit is specifically used to create a binding relationship between an upper-level network point and a lower-level network point.

[0162] Optionally, the logistics network editing request includes: a network point unbinding request;

[0163] The relationship adjustment unit is specifically used to create an unbinding relationship between the upper-level network point and the lower-level network point.

[0164] Optionally, the version matching unit is specifically used to determine whether the relationship between the upper-level network point and the lower-level network point already exists; if it is determined that it does not exist, obtain the version number of the activated network of the latest version including the relationship; if it is determined that it already exists, obtain the version number of the current version of the draft network.

[0165] Optionally, the device may further include:

[0166] A newly created relationship marking unit, used for marking the newly created relationship as an unconverted network path;

[0167] The path conversion unit is specifically used to obtain at least one target relationship of the unconverted network path; obtain a first network path set with the upper network point of the target relationship as the end point and a second network path set with the lower network point of the target relationship as the end point; obtain a third network path set according to the first network path set, the second network path set and the type of the target relationship; obtain a network path including the upper network point and the lower network point, a network path with the upper network point as the end point, and a network path with the lower network point as the start point to form a fourth network path set; create a network path that belongs to the third network path set and does not belong to the fourth network path set; clear the network path that belongs to the fourth network path set and does not belong to the third network path set; mark the target relationship as a converted network path.

[0168] Optionally, the path conversion unit is specifically used to combine the first network path and the second network path in pairs to form a third network path set if the type of the target relationship is binding; if the type of the target relationship is unbinding, the third network path set is the collection of the first network path and the second network path.

[0169] Optionally, the device may further include:

[0170] A path time-efficiency recording unit, used to record time-efficiency data of a network path in response to a network path time-efficiency editing request;

[0171] The path timeliness providing unit is used to provide the timeliness data of the network path to the application system.

[0172] Optionally, the device may further include:

[0173] An applicable temperature layer recording unit, configured to record applicable temperature layer data of the network path in response to a network path applicable temperature layer editing request;

[0174] The applicable temperature layer providing unit is used to provide the applicable temperature layer data of the network path to the application system.

[0175] Optionally, the device may further include:

[0176] The logistics network construction unit is used to construct a logistics network of a target network type in response to a network construction request.

[0177] Optionally, the device may further include:

[0178] The network type extension unit is used to construct a target network point type in response to a network point type extension request, so as to be used to construct a network point of the target network point type.

[0179] Third embodiment

[0180] In the above-mentioned embodiment, a method for processing logistics network data is provided. Correspondingly, the present application also provides a method for processing logistics network data. The execution subject of the method includes but is not limited to the terminal device used by the management user of the logistics network. The method corresponds to the embodiment of the above-mentioned method. Since the method embodiment three is basically similar to the method embodiment one, the description is relatively simple. For the relevant parts, please refer to the partial description of the method embodiment one. The method embodiment described below is only illustrative.

[0181] The logistics network data processing method of this embodiment includes:

[0182] Step 1: Edit the network point relationship.

[0183] Step 2: Send a logistics network editing request to the server so that the server performs the following processing: record multiple versions of logistics network data corresponding to different fulfillment periods, the logistics network data including network point relationship data and network path data, so as to provide the application system with the version of network path data corresponding to its fulfillment time; adjust the network point relationship data according to the logistics network editing request; and update the network path data according to the adjusted network point relationship data.

[0184] Fourth embodiment

[0185] In the above-mentioned embodiment, a logistics network data processing method is provided. Correspondingly, the present application also provides a logistics network data processing device. The device corresponds to the embodiment of the above-mentioned method. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0186] The logistics network data processing device of this embodiment includes:

[0187] A network relationship editing unit, used to edit network point relationships;

[0188] A request sending unit is used to send a logistics network editing request to a server so that the server performs the following processing: recording multiple versions of logistics network data corresponding to different fulfillment periods, the logistics network data including network point relationship data and network path data, so as to provide the application system with the version of network path data corresponding to its fulfillment time; adjusting the network point relationship data according to the logistics network editing request; and updating the network path data according to the adjusted network point relationship data.

[0189] Fifth embodiment

[0190] In the above-mentioned embodiment, a method for processing logistics network data is provided. Correspondingly, the present application also provides a method for processing logistics network data. The execution subject of the method includes but is not limited to the service end of the logistics networking system. The method corresponds to the embodiment of the above-mentioned method. Since the method embodiment three is basically similar to the method embodiment one, the description is relatively simple. For the relevant parts, please refer to the partial description of the method embodiment one. The method embodiment described below is only illustrative.

[0191] The logistics network data processing method of this embodiment includes:

[0192] Step 1: Record multiple versions of logistics network data corresponding to different fulfillment periods, wherein the logistics network data includes network point relationship data and network path data, so as to provide the application system with the version of network path data corresponding to its fulfillment time.

[0193] Step 2: Receive the logistics network editing request sent by the client.

[0194] Step 3: According to the logistics network editing request, adjust the network point relationship data.

[0195] Step 4: Update the network path data based on the adjusted network point relationship data.

[0196] Sixth embodiment

[0197] In the above-mentioned embodiment, a logistics network data processing method is provided. Correspondingly, the present application also provides a logistics network data processing device. The device corresponds to the embodiment of the above-mentioned method. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0198] The logistics network data processing device of this embodiment includes:

[0199] A data storage unit, used to record multiple versions of logistics network data corresponding to different fulfillment periods, wherein the logistics network data includes network point relationship data and network path data, so as to provide the application system with the network path data of the version corresponding to its fulfillment time;

[0200] A request receiving unit, used for receiving a logistics network editing request sent by a client;

[0201] A relationship adjustment unit, used to adjust the network point relationship data according to the logistics network editing request;

[0202] The path conversion unit is used to update the network path data according to the adjusted network point relationship data.

[0203] Seventh embodiment

[0204] In the above-mentioned embodiment, a logistics network data processing method is provided, and correspondingly, the present application also provides an electronic device. The device corresponds to the embodiment of the above-mentioned method. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0205] The electronic device of this embodiment includes:

[0206] Processor and memory;

[0207] The memory is used to store a program for implementing any of the above-mentioned logistics network data processing methods. The device is powered on and runs the program of the method through the processor.

[0208] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

[0209] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0210] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0211] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable requests, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0212] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

Claims

1. A logistics network data processing method, characterized in that: Record multiple versions of logistics network data corresponding to different fulfillment cycles, the logistics network data including network point relationship data and network path data, so as to provide the application system with the network path data of the version corresponding to its fulfillment time; the network point relationship data includes the upper network point, the lower network point and the relationship type, the relationship type is activated or abandoned; the network path includes multiple network points of different levels, the network points include the central warehouse and the self-pickup point; In response to a logistics network editing request, adjusting network point relationship data; the request includes an upper-level network point and a lower-level network point, and the logistics network adjustment method is to bind the two network points or to unbind the two network points; if the two network points are bound, the relationship type of the two network points is set to be activated; if the two network points are unbound, the relationship type of the two network points is set to be abandoned; Update network path data according to the adjusted network point relationship data; In response to a logistics network query request, a target version number is determined according to the application system type; According to the target version number, the network path data of the target version is provided to the application system.

2. The method according to claim 1, characterized in that The adjusting network point relationship data includes: Determine the target network version number; Build the relationship between the upper-level network points and the lower-level network points; Set the network version number of the newly created relationship to the target network version number.

3. The method according to claim 2, characterized in that The logistics network editing request includes: a network point binding request; The step of constructing the relationship between the upper-level network point and the lower-level network point includes: Create a binding relationship between the upper-level network point and the lower-level network point.

4. The method according to claim 2, characterized in that The logistics network editing request includes: a network point unbinding request; The adjusting network point relationship data comprises: Create an unbinding relationship between the upper-level network point and the lower-level network point.

5. The method according to claim 2, characterized in that Determining the target network version number includes: Determine whether the relationship between the upper-level network point and the lower-level network point already exists; If it is determined that it does not exist, obtaining the version number of the activated network including the latest version of the relationship; If it is determined to exist, the version number of the current version of the draft network is obtained.

6. The method according to claim 1, characterized in that Also includes: Mark the newly created relationship as an unconverted network path; The updating of the network path data according to the adjusted network point relationship data includes: obtaining at least one target relationship of the unconverted network path; Acquire a first network path set with the upper-level network point of the target relationship as the end point and a second network path set with the lower-level network point of the target relationship as the end point; Acquire a third network path set according to the first network path set, the second network path set, and the type of the target relationship; Acquire a network path including an upper-level network point and a lower-level network point, a network path with the upper-level network point as an end point, and a network path with the lower-level network point as a start point, to form a fourth network path set; Creating a network path that belongs to the third network path set and does not belong to the fourth network path set; Clearing the network paths that belong to the fourth network path set and do not belong to the third network path set; Marks the target relationship as a converted network path.

7. The method according to claim 6, characterized in that The acquiring the third network path set according to the first network path set, the second network path set, and the type of the target relationship includes: If the type of the target relationship is binding, the first network path and the second network path are combined in pairs to form a third network path set; If the type of the target relationship is unbinding, the third network path set is a collection of the first network path and the second network path.

8. The method according to claim 1, characterized in that Also includes: In response to a network path time-efficiency editing request, recording time-efficiency data of the network path; Provide application systems with time-sensitive data on network paths.

9. The method according to claim 1, characterized in that Also includes: In response to a network path applicable temperature layer editing request, recording applicable temperature layer data of the network path; Provides applicable temperature layer data of network paths to application systems.

10. The method according to claim 1, characterized in that Also includes: In response to the network construction request, a logistics network of a target network type is constructed.

11. A logistics network data processing method, characterized in that: Edit network point relationships; Send a logistics network edit request to the server, so that the server performs the following processing: Record multiple versions of logistics network data corresponding to different fulfillment cycles, the logistics network data including network point relationship data and network path data, so as to provide the application system with the version of network path data corresponding to its fulfillment time; the network point relationship data includes the upper network point, the lower network point and the relationship type, and the relationship type is activated or abandoned; the network path includes multiple network points of different levels, and the network points include the central warehouse and the self-pickup point; according to the logistics network editing request, adjust the network point relationship data; the request includes the upper network point and the lower network point, and the logistics network adjustment method is to bind the two network points, or to unbind the two network points; if the two network points are bound, the relationship type of the two network points is set to activated; if the two network points are unbound, the relationship type of the two network points is set to abandoned; Update the network path data according to the adjusted network point relationship data.

12. A logistics network data processing method, characterized in that: Record multiple versions of logistics network data corresponding to different fulfillment cycles, the logistics network data including network point relationship data and network path data, so as to provide the application system with the network path data of the version corresponding to its fulfillment time; the network point relationship data includes the upper network point, the lower network point and the relationship type, the relationship type is activated or abandoned; the network path includes multiple network points of different levels, the network points include the central warehouse and the self-pickup point; Receive logistics network editing requests sent by clients; According to the logistics network editing request, adjusting the network point relationship data; the request includes an upper-level network point and a lower-level network point, and the logistics network adjustment method is to bind the two network points or to unbind the two network points; if the two network points are bound, the relationship type of the two network points is set to be activated; if the two network points are unbound, the relationship type of the two network points is set to be abandoned; Update the network path data according to the adjusted network point relationship data.

13. A logistics network data processing device, characterized in that: include: A data storage unit, used to record multiple versions of logistics network data corresponding to different fulfillment periods, wherein the logistics network data includes network point relationship data and network path data, so as to provide the application system with the network path data of the version corresponding to the fulfillment time; the network point relationship data includes an upper-level network point, a lower-level network point and a relationship type, wherein the relationship type is activated or abandoned; the network path includes multiple network points of different levels, wherein the network points include a central warehouse and a self-pickup point; A relationship adjustment unit, for adjusting the network point relationship data in response to a logistics network editing request; the request includes an upper-level network point and a lower-level network point, and the logistics network adjustment method is to bind the two network points or to unbind the two network points; if the two network points are bound, the relationship type of the two network points is set to be activated; if the two network points are unbound, the relationship type of the two network points is set to be abandoned; A path conversion unit, used for updating the network path data according to the adjusted network point relationship data; A version matching unit, for responding to a logistics network query request and determining a target version number according to an application system type; The data providing unit is used to provide the network path data of the target version to the application system according to the target version number.

14. An electronic device, characterized in that: include: Processor and memory; The memory is used to store a program for implementing the logistics network data processing method according to any one of claims 1 to 12. The device is powered on and runs the program of the method through the processor.

Citation Information

Patent Citations

  • System for providing integrated supply chain management

    US20020143598A1

  • System and process for managing network communications

    US20130332996A1