A method, apparatus, equipment, storage medium, and product for synchronizing warehouse data.

By employing multicast transmission and virtual private network connections in the warehousing system, the problem of high data synchronization latency in the warehousing system was solved, improving synchronization efficiency and operational response accuracy.

CN120658759BActive Publication Date: 2026-11-17BEIJING JINGDONG YUANSHENG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510874812.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-26
Publication Date
2026-11-17
Estimated Expiration
2045-06-26

AI Technical Summary

Technical Problem

In distributed warehousing systems, high data synchronization latency leads to significant network bandwidth consumption and low synchronization efficiency, especially during peak data periods when response distortion is severe.

Method used

Multicast transmission is adopted, and a virtual private network connection is established between the data center and the storage nodes. The multicast address is determined based on the storage data and a multicast task is generated to realize multicast transmission, so that the storage nodes in the multicast group can store data synchronously.

Benefits of technology

It improved the synchronization efficiency of warehouse data, reduced latency, and enhanced the responsiveness of warehouse operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658759B_ABST
    Figure CN120658759B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, storage medium, and product for synchronizing warehouse data. The method includes: acquiring warehouse data to be synchronized; determining a multicast address based on the warehouse data; generating a multicast task based on the warehouse data and the multicast address; and performing multicast transmission according to the multicast task, so that at least two warehouse nodes in the multicast group corresponding to the multicast address synchronize and store the received warehouse data. The data center establishes a communication connection with each warehouse node in the warehouse system through a virtual private network, solving the problem of high synchronization latency in the warehouse system and improving the synchronization efficiency of warehouse data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of warehousing and logistics technology, and in particular to a method, apparatus, equipment, storage medium, and product for synchronizing warehousing data. Background Technology

[0002] In the distributed architecture of the warehousing system, unicast transmission is mainly used for data synchronization, and the data center distributes data to each warehouse node one by one.

[0003] As warehouse nodes grow in scale, the amount of synchronized data increases linearly, consuming a large amount of network bandwidth in the data center. Limited by finite network resources, warehouse systems typically rely on rate-limiting and queuing strategies.

[0004] In the process of realizing this invention, at least the following technical problems were found in the prior art:

[0005] While rate limiting and queuing strategies can prevent network bandwidth congestion, they can significantly reduce the efficiency of warehouse data synchronization, especially during peak data periods, when data synchronization delays are exacerbated, leading to distorted response in warehouse operations. Summary of the Invention

[0006] This invention provides a method, apparatus, device, storage medium, and product for synchronizing warehouse data, in order to solve the problem of high synchronization latency in warehouse systems, improve the synchronization efficiency of warehouse data, and thereby improve the response accuracy of warehouse operations.

[0007] According to an embodiment of the present invention, a method for synchronizing warehouse data is provided, applied to a data center in a warehouse system, the method comprising:

[0008] Retrieve the warehouse data to be synchronized;

[0009] Determine the multicast address based on the storage data;

[0010] Generate a multicast task based on the warehouse data and the multicast address;

[0011] Multicast transmission is performed according to the multicast task so that at least two storage nodes in the multicast group corresponding to the multicast address synchronously store the received storage data.

[0012] The data center establishes a communication connection with each storage node in the storage system through a virtual private network.

[0013] According to another embodiment of the present invention, a method for synchronizing warehouse data is provided, applied to warehouse nodes in a warehouse system, the method comprising:

[0014] Receive warehouse data transmitted via multicast from the data center;

[0015] The warehouse data is stored synchronously;

[0016] The multicast transmission is performed by the data center based on a multicast task, which is generated based on the warehouse data to be synchronized and the multicast address. The multicast address is determined based on the warehouse data. The data center establishes a communication connection with each warehouse node in the warehouse system through a virtual private network.

[0017] According to another embodiment of the present invention, a warehouse data synchronization device is provided, applied to a data center in a warehouse system, the device comprising:

[0018] The warehouse data acquisition module is used to acquire warehouse data to be synchronized.

[0019] The multicast address determination module is used to determine the multicast address based on the storage data.

[0020] The multicast task generation module is used to generate multicast tasks based on the warehousing data and the multicast address;

[0021] The multicast transmission module is used to perform multicast transmission according to the multicast task, so that at least two storage nodes in the multicast group corresponding to the multicast address can synchronously store the received storage data.

[0022] The data center establishes a communication connection with each storage node in the storage system through a virtual private network.

[0023] According to another embodiment of the present invention, a warehouse data synchronization device is provided, applied to a warehouse node in a warehouse system, the device comprising:

[0024] The warehouse data receiving module is used to receive warehouse data transmitted via multicast from the data center.

[0025] A synchronous storage module is used to synchronously store the warehouse data;

[0026] The multicast transmission is performed based on a multicast task, which is generated based on the warehouse data to be synchronized and the multicast address. The multicast address is determined based on the warehouse data. The data center establishes a communication connection with each warehouse node in the warehouse system through a virtual private network.

[0027] According to another embodiment of the present invention, an electronic device is provided, the electronic device comprising:

[0028] At least one processor; and

[0029] A memory communicatively connected to the at least one processor; wherein,

[0030] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the synchronization method for warehouse data applied to a data center or a warehouse node as described in any embodiment of the present invention.

[0031] According to another embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute and implement the synchronization method for warehouse data applied to a data center or a warehouse node as described in any embodiment of the present invention.

[0032] According to another embodiment of the present invention, a computer program product is provided, including a computer program that, when executed by a processor, implements the synchronization method for warehouse data applied to a data center or a warehouse node as described in any embodiment of the present invention.

[0033] One embodiment of the above invention has at least the following advantages or beneficial effects:

[0034] By establishing a communication connection between the data center in the warehousing system and each warehousing node in the system using a virtual private network, a multicast address is determined based on the warehousing data to be synchronized, a multicast task is generated based on the warehousing data and the multicast address, and multicast transmission is performed based on the multicast task. This enables at least two warehousing nodes in the multicast group corresponding to the multicast address to synchronously store the received warehousing data, thus realizing a network environment for multicast transmission. This solves the problem of high synchronization latency in the warehousing system, improves the synchronization efficiency of warehousing data, and consequently improves the response accuracy of warehousing operations.

[0035] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.

[0037] Figure 1 A flowchart illustrating a method for synchronizing warehouse data in a data center, as provided in one embodiment of the present invention;

[0038] Figure 2A flowchart illustrating another method for synchronizing warehouse data in a data center, provided as an embodiment of the present invention;

[0039] Figure 3 A flowchart illustrating a method for synchronizing warehouse data applied to a warehouse node, as provided in an embodiment of the present invention;

[0040] Figure 4 An interactive flowchart illustrating a specific example of a warehouse data synchronization method provided in an embodiment of the present invention;

[0041] Figure 5 This is a schematic diagram of a data synchronization device for warehouse data in a data center, provided as an embodiment of the present invention.

[0042] Figure 6 A schematic diagram of a device for synchronizing warehouse data applied to a warehouse node, provided in an embodiment of the present invention;

[0043] Figure 7 This is a schematic diagram of a specific example of a warehousing system provided in one embodiment of the present invention;

[0044] Figure 8 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present invention. Detailed Implementation

[0045] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0046] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0047] Figure 1This is a flowchart illustrating a method for synchronizing warehouse data in a data center, provided as an embodiment of the present invention. This embodiment is applicable to situations where warehouse data is transmitted and synchronized within a warehouse system. The method can be executed by a warehouse data synchronization device, which can be implemented in hardware and / or software and can be configured within a data center. Figure 1 As shown, the method includes:

[0048] S110, Obtain the warehouse data to be synchronized.

[0049] Specifically, warehousing data refers to structured or unstructured information generated, stored, and circulated during warehousing operations, which can be used to describe the status of goods, operational processes, and resource allocation.

[0050] For example, warehouse data can be product database data, consumables database data, equipment database data, operational database data, or environmental database data. Product database data can be used to record static attribute information and dynamic inventory information of goods in the warehouse system. Static attribute information includes SKU (Stock Keeping Unit) codes, batch numbers, and shelf-life, while dynamic inventory information includes remaining quantity, quality inspection status, and storage location. Consumables database data can be used to record information on consumables that are not individually issued, such as packaging materials and tool accessories. For example, consumables database data includes consumable codes, inventory levels, and usage records. Equipment database data can be used to record static parameter information and dynamic operating information of warehouse equipment. Static parameter information includes equipment codes and maintenance dates, while dynamic operating information includes operating status, handling location, and power consumption. Operational database data can be used to record process data of warehouse operations. For example, operational database data includes inbound slips, picking information, and outbound records. Environmental database data can be used to record warehouse environmental parameters and operational safety information. Warehouse environmental parameters can be temperature or humidity, and operational safety information can be power consumption and alarm logs.

[0051] The above is merely an illustrative example of warehousing data and is not intended to limit it.

[0052] In one specific embodiment, obtaining the warehouse data to be synchronized includes: in response to detecting a data synchronization command, using the warehouse data corresponding to the data synchronization command as the warehouse data to be synchronized.

[0053] Specifically, data synchronization instructions are used to instruct the data center to execute a data synchronization process. For example, data synchronization instructions can be generated based on a preset time period, such as 2 hours; they can also be generated in response to business operations, such as inbound or outbound operations; they can be generated in response to data changes reaching a change threshold, such as 20 changes; or they can be generated in response to user-input synchronization operations, and so on.

[0054] Specifically, the generation methods for data synchronization instructions corresponding to different types of warehouse data can be the same or different. For example, the data synchronization instructions for product database data can be generated in response to business operations, while the data synchronization instructions for environment database data can be generated in response to data changes reaching a change threshold.

[0055] This embodiment is only used as an example to illustrate the method of generating data synchronization instructions, and is not intended to limit it.

[0056] In one specific embodiment, obtaining the warehouse data to be synchronized includes: in response to a data update instruction, obtaining the warehouse data in the data update instruction and updating the warehouse data in the data center; and using the warehouse data as the warehouse data to be synchronized.

[0057] Specifically, data update instructions are used to instruct data to be updated in the data center. For example, data updates can be data addition, data modification, or data deletion.

[0058] S120. Determine the multicast address based on the warehouse data.

[0059] In one specific embodiment, determining the multicast address based on the warehouse data includes: obtaining the synchronization priority corresponding to the warehouse data; and querying the multicast group data according to the synchronization priority to obtain the multicast address.

[0060] This embodiment divides multicast groups based on the synchronization timeliness of warehouse data. Specifically, synchronization priority is used to describe the priority of the synchronization timeliness of warehouse data. For example, synchronization priority can be used to indicate whether the warehouse data is synchronized in real time, at regular intervals, or in batches.

[0061] Specifically, the multicast group data records at least two synchronization priorities and the multicast address corresponding to each synchronization priority.

[0062] The advantage of this setup is that it avoids the situation where the network resources occupied by warehouse data with low synchronization timeliness requirements affect the synchronization of warehouse data with high synchronization timeliness requirements, thereby improving the synchronization efficiency of warehouse data with high synchronization priority.

[0063] In another specific embodiment, determining the multicast address based on the warehouse data includes: obtaining the supply and demand object identifiers corresponding to the warehouse data; and querying the multicast group data based on the supply and demand object identifiers to obtain the multicast address.

[0064] This embodiment divides multicast groups based on the supply and demand objects of the warehousing data. Specifically, the supply and demand object identifier is used to uniquely identify the supply or demand object corresponding to the goods.

[0065] Specifically, the multicast group data records at least two supply and demand object identifiers and a multicast address corresponding to each supply and demand object identifier.

[0066] The advantage of this setup is that it achieves data isolation of data flows from different supply and demand entities, reducing the risk of data leakage.

[0067] In another specific embodiment, determining the multicast address based on the warehouse data includes: obtaining the synchronization time range corresponding to the warehouse data; and querying the multicast group data according to the synchronization time range to obtain the multicast address.

[0068] This embodiment divides multicast groups based on the synchronization time range of warehouse data. Specifically, the synchronization time range is used to represent the division of a 24-hour day, and the time spans corresponding to different synchronization time ranges can be the same or different.

[0069] For example, the synchronization time range A can be [00:00, 3:00], and the synchronization time range B can be [3:00, 8:00], but is not limited to the above example.

[0070] Specifically, the multicast group data records at least two synchronization time ranges and the multicast address corresponding to each synchronization time range.

[0071] The advantage of this setup is that it improves the network load balancing of the data center, while matching the time-specific characteristics of warehouse data, further improving the synchronization efficiency of warehouse data.

[0072] S130. Generate a multicast task based on the warehouse data and multicast address.

[0073] Specifically, a multicast task refers to a data transmission operation that encapsulates warehouse data in a standardized format and then distributes the encapsulated warehouse data to a targeted location via a multicast address. For example, standardized format encapsulation includes, but is not limited to, adding timestamps, adding data checksums, and adding warehouse node identifiers, etc.

[0074] S140. Perform multicast transmission according to the multicast task so that at least two storage nodes in the multicast group corresponding to the multicast address can synchronously store the received storage data.

[0075] In this embodiment, the data center establishes a communication connection with each warehouse node in the warehousing system through a Virtual Private Network (VPN). Specifically, the data center, as the core hub of the entire warehousing system, uses VPN technology to build an encrypted communication channel on the public Internet or a dedicated network, forming a logical private network with the warehouse nodes distributed in different geographical locations and network environments.

[0076] Specifically, VPN technology ensures the privacy and integrity of data transmission through multi-layered security mechanisms. At the authentication level, each warehouse node must verify its identity using digital certificates, pre-shared keys, or two-factor authentication to prevent unauthorized devices from accessing the network. At the data transmission level, encryption protocols such as IPSec, SSL / TLS, or WireGuard are used for end-to-end encryption of communication content, ensuring that important information such as inventory data, location status, and inbound / outbound records are not stolen or tampered with during transmission. Network isolation technology ensures that data flows from different warehouse nodes do not interfere with each other, preventing single-point failures from affecting the entire system.

[0077] In terms of communication quality, the data center will dynamically adjust VPN channel parameters based on the actual network conditions of the storage nodes (such as 4G / 5G mobile networks, Wi-Fi or wired private networks). For example, it will prioritize the transmission of data with high real-time requirements, such as inventory, through QoS (Quality of Service) mechanisms, or alleviate network congestion through traffic shaping.

[0078] Specifically, the repository nodes in the multicast group corresponding to the multicast address represent the repository nodes that have subscribed to the multicast address.

[0079] In this context, a warehouse node refers to a physical or logical unit within a warehousing system that performs specific functions and possesses independent data processing capabilities. It typically serves as the terminal execution endpoint or data acquisition endpoint in a distributed warehousing network. For example, at the physical level, a warehouse node can be hardware devices such as smart shelves equipped with sensors and communication modules, handling robots, or RFID (Radio Frequency Identification Scanning Terminals). At the virtual level, it can include software units such as warehouse management subsystems and inventory database sharding.

[0080] A multicast group is a logical communication set based on a network layer protocol, used to efficiently distribute data from a single source to a specific group of receivers. A shared multicast address serves as a communication identifier, allowing joining repository nodes to receive the same data stream. Repository nodes can actively join or leave a multicast group, and the data center maintains a member list accordingly.

[0081] For example, the data center distributes warehouse data to warehouse nodes that have joined the multicast group corresponding to the multicast address, based on the multicast task; or, warehouse nodes that have joined the multicast group corresponding to the multicast address continuously listen to the multicast transmission under the multicast address to obtain the warehouse data.

[0082] The technical solution of this embodiment establishes a communication connection between the data center in the warehousing system and each warehousing node in the warehousing system using a virtual private network. Based on the warehousing data to be synchronized, a multicast address is determined. Based on the warehousing data and the multicast address, a multicast task is generated. Multicast transmission is performed according to the multicast task, so that at least two warehousing nodes in the multicast group corresponding to the multicast address can synchronously store the received warehousing data. This realizes a network environment for multicast transmission, solves the problem of high synchronization latency in the warehousing system, improves the synchronization efficiency of warehousing data, and thus improves the response accuracy of warehousing operations.

[0083] Figure 2 This is a flowchart illustrating another method for synchronizing warehouse data in a data center, provided by an embodiment of the present invention. This embodiment further refines the warehouse data synchronization method described in the above embodiment. For example... Figure 2 As shown, the method includes:

[0084] S210. Obtain the warehouse identifier and at least two warehouse node identifiers from the multicast group creation data.

[0085] Specifically, the warehouse identifier is used to uniquely identify a warehouse within a VPN, and the warehouse node identifier is used to uniquely identify a warehouse node within a VPN. For example, the warehouse identifier and warehouse node identifier can be coded identifiers under the VPN or Internet Protocol Addresses (IP addresses).

[0086] In this embodiment, the data center has at least two warehouses, and the warehouses store different storage data. For example, the warehouses can be product warehouses, consumable warehouses, equipment warehouses, or environmental warehouses, but are not limited to the example scenario.

[0087] In one specific embodiment, the multicast group creation data is either input by the user or obtained from a cloud server.

[0088] In another specific embodiment, the method further includes: receiving data requests sent by at least two storage nodes respectively; in response to the fact that the storage identifiers in the at least two data requests are the same, obtaining the storage node identifiers corresponding to the at least two data requests respectively; and generating multicast group creation data based on the storage identifier and the at least two storage node identifiers.

[0089] Specifically, a data request is used to instruct the synchronization of storage data from a specified warehouse in the data center.

[0090] The advantage of this setting is that it increases the flexibility of creating multicast groups.

[0091] S220. Select a multicast address from the preset address range based on the warehouse identifier.

[0092] For example, the preset address range can be [232.0.0.0, 232.255.255.255], but is not limited to the example scenario.

[0093] For example, an idle multicast address can be randomly selected from a preset address range, or an idle multicast address can be sequentially selected from a preset address range, or a multicast address corresponding to the warehouse identifier can be queried from an address mapping list.

[0094] The address mapping list contains at least two warehouse identifiers and a corresponding warehouse address range for each warehouse identifier. Specifically, the warehouse address range is included in a preset address range. For example, in the address mapping list, the warehouse address range corresponding to warehouse A can be [232.0.0.0, 232.0.0.255], and the warehouse address range corresponding to warehouse B can be [232.0.1.0, 232.0.1.255].

[0095] The above is only an example of how to select a multicast address, but is not limited to the above example.

[0096] S230. Construct a multicast group based on the multicast address, the warehouse corresponding to the warehouse identifier, and the warehouse node corresponding to each warehouse node identifier.

[0097] Specifically, the warehouse node sends a group management protocol member report message to the data center. The data center synchronously maintains the group member database and generates the corresponding source multicast routing table entry. The data center sends a registration message to the warehouse in the virtual private network to establish an initial transmission channel. By calling the interface to set network socket options, the warehouse node joins the specified multicast group. At the same time, the data center sets the lifecycle parameters of the multicast data packets to control the propagation range and encapsulates the warehouse data using the User Datagram Protocol.

[0098] In this embodiment, the data source in the multicast group is a repository.

[0099] Based on the above embodiments, specifically, the method further includes: storing the warehouse identifier and multicast address in the multicast group data.

[0100] S240, Obtain the warehouse data to be synchronized.

[0101] S240 in this embodiment is the same as that in the above embodiment. Figure 1 The S110 shown is the same or similar, and will not be described again in this embodiment.

[0102] S250. Determine the multicast address based on the warehouse data.

[0103] In one specific embodiment, determining the multicast address based on the warehouse data includes: obtaining the warehouse identifier of the warehouse where the warehouse data is located; and querying the multicast group data based on the warehouse identifier to obtain the multicast address.

[0104] In this embodiment, multicast groups are divided according to the warehouse where the storage data is located. The multicast group data records at least two warehouse identifiers and the multicast address corresponding to each warehouse identifier.

[0105] The advantages of this setup are that it makes data synchronization more aligned with warehousing business logic, reduces redundant data transmission across warehouses, and improves bandwidth utilization. It also better adapts to dynamic changes in warehouse data, ensuring continuous optimization of transmission efficiency and improving the stability of data synchronization.

[0106] S260. Generate a multicast task based on the warehouse data and multicast address.

[0107] S270. Perform multicast transmission according to the multicast task so that at least two storage nodes in the multicast group corresponding to the multicast address can synchronously store the received storage data.

[0108] S260-S270 in this embodiment are the same as those in the above embodiments. Figure 1 The S130-S140 shown are the same or similar, and will not be described again in this embodiment.

[0109] Based on the above embodiments, the method further includes: receiving data synchronization information sent by at least two storage nodes respectively; if there is data synchronization information in the at least two data synchronization information that indicates a data verification error, returning to the step of performing multicast transmission according to the multicast task so that at least two storage nodes in the multicast group corresponding to the multicast address synchronize and store the received storage data.

[0110] Specifically, data synchronization information refers to the standardized communication messages exchanged by warehouse nodes to achieve data consistency.

[0111] For example, the verification operations performed by the warehouse node on the warehouse data include, but are not limited to, integrity verification, version comparison verification, and time verification. Among them, CRC-32 cyclic redundancy check code is used to verify whether data corruption has occurred during transmission. If data corruption occurs, data synchronization information is generated to indicate the data verification failure.

[0112] The technical solution of this embodiment obtains the warehouse identifier and at least two warehouse node identifiers from the multicast group creation data. Based on the warehouse identifier, a multicast address is selected from a preset address range. A multicast group is constructed based on the multicast address, the warehouse corresponding to the warehouse identifier, and the warehouse node corresponding to each warehouse node identifier. The data source in the multicast group is the warehouse. This solves the problem of bandwidth waste caused by multi-node transmission, avoids interference from illegal data sources, further improves the synchronization efficiency of warehouse data, and ensures the synchronization security of warehouse data.

[0113] Figure 3 This is a flowchart illustrating a method for synchronizing warehouse data at a warehouse node, provided as an embodiment of the present invention. This embodiment is applicable to situations where warehouse data is transmitted and synchronized within a warehouse system. The method can be executed by a warehouse data synchronization device, which can be implemented in hardware and / or software and can be configured within the warehouse node. Figure 3 As shown, the method includes:

[0114] S310: Receives warehouse data transmitted via multicast from the data center.

[0115] In this embodiment, multicast transmission is performed by the data center based on a multicast task. The multicast task is generated based on the warehouse data to be synchronized and the multicast address. The multicast address is determined based on the warehouse data. The data center establishes a communication connection with each warehouse node in the warehouse system through a virtual private network.

[0116] Specifically, warehousing data refers to structured or unstructured information generated, stored, and circulated during warehousing operations, which can be used to describe the status of goods, operational processes, and resource allocation.

[0117] For example, warehouse data can be product database data, consumables database data, equipment database data, operational database data, or environmental database data. Product database data can be used to record static attribute information and dynamic inventory information of goods in the warehouse system. Static attribute information includes SKU (Stock Keeping Unit) codes, batch numbers, and shelf-life, while dynamic inventory information includes remaining quantity, quality inspection status, and storage location. Consumables database data can be used to record information on consumables that are not individually issued, such as packaging materials and tool accessories. For example, consumables database data includes consumable codes, inventory levels, and usage records. Equipment database data can be used to record static parameter information and dynamic operating information of warehouse equipment. Static parameter information includes equipment codes and maintenance dates, while dynamic operating information includes operating status, handling location, and power consumption. Operational database data can be used to record process data of warehouse operations. For example, operational database data includes inbound slips, picking information, and outbound records. Environmental database data can be used to record warehouse environmental parameters and operational safety information. Warehouse environmental parameters can be temperature or humidity, and operational safety information can be power consumption and alarm logs.

[0118] The above is merely an illustrative example of warehousing data and is not intended to limit it.

[0119] Specifically, a multicast task refers to a data transmission operation that encapsulates warehouse data in a standardized format and then distributes the encapsulated warehouse data to a targeted location via a multicast address. For example, standardized format encapsulation includes, but is not limited to, adding timestamps, adding data checksums, and adding warehouse node identifiers, etc.

[0120] Specifically, the data center, as the core hub of the entire warehousing system, uses Virtual Private Network (VPN) technology to build an encrypted communication channel on the public Internet or dedicated network, forming a logical private network with the warehousing nodes distributed in different geographical locations and network environments.

[0121] Specifically, VPN technology ensures the privacy and integrity of data transmission through multi-layered security mechanisms. At the authentication level, each warehouse node must verify its identity using digital certificates, pre-shared keys, or two-factor authentication to prevent unauthorized devices from accessing the network. At the data transmission level, encryption protocols such as IPSec, SSL / TLS, or WireGuard are used for end-to-end encryption of communication content, ensuring that important information such as inventory data, location status, and inbound / outbound records are not stolen or tampered with during transmission. Network isolation technology ensures that data flows from different warehouse nodes do not interfere with each other, preventing single-point failures from affecting the entire system.

[0122] In terms of communication quality, the data center will dynamically adjust VPN channel parameters based on the actual network conditions of the storage nodes (such as 4G / 5G mobile networks, Wi-Fi or wired private networks). For example, it will prioritize the transmission of data with high real-time requirements, such as inventory, through QoS (Quality of Service) mechanisms, or alleviate network congestion through traffic shaping.

[0123] A multicast group is a logical communication set based on a network layer protocol, used to efficiently distribute data from a single source to a specific group of receivers. A shared multicast address serves as a communication identifier, allowing joining repository nodes to receive the same data stream. Repository nodes can actively join or leave a multicast group, and the data center maintains a member list accordingly.

[0124] For example, the data center distributes warehouse data to warehouse nodes that have joined the multicast group corresponding to the multicast address, based on the multicast task; or, warehouse nodes that have joined the multicast group corresponding to the multicast address continuously listen to the multicast transmission under the multicast address to obtain the warehouse data.

[0125] S320, Synchronize and store warehouse data.

[0126] Based on the above embodiments, specifically, the method further includes: sending a data request to the data center so that the data center responds with at least two data requests containing the same warehouse identifier; generating multicast group creation data based on the warehouse identifier and at least two warehouse node identifiers; wherein the multicast group creation data is used to create the multicast group to which the warehouse node belongs.

[0127] Specifically, the warehouse identifier is used to uniquely identify a warehouse within a VPN, and the warehouse node identifier is used to uniquely identify a warehouse node within a VPN. For example, the warehouse identifier and warehouse node identifier can be coded identifiers under the VPN or Internet Protocol Addresses (IP addresses).

[0128] In this embodiment, the data center has at least two warehouses, and the warehouses store different storage data. For example, the warehouses can be product warehouses, consumable warehouses, equipment warehouses, or environmental warehouses, but are not limited to the example scenario.

[0129] Specifically, a data request is used to instruct the synchronization of storage data from a specified warehouse in the data center.

[0130] The advantage of this setting is that it increases the flexibility of creating multicast groups.

[0131] Based on the above embodiments, specifically, the method further includes: performing a verification operation on the warehouse data to obtain a verification result; in response to the verification result indicating a verification error, sending the generated data synchronization information indicating a data verification error to the data center; in response to the verification result indicating a verification success, sending the generated data synchronization information indicating a successful data synchronization to the data center.

[0132] Specifically, data synchronization information refers to the standardized communication messages exchanged by warehouse nodes to achieve data consistency.

[0133] For example, the verification operations performed by the warehouse node on the warehouse data include, but are not limited to, integrity verification, version comparison verification, and time verification. Among them, CRC-32 cyclic redundancy check code is used to verify whether data corruption has occurred during transmission. If data corruption occurs, data synchronization information is generated to indicate the data verification failure.

[0134] The technical solution of this embodiment establishes a communication connection between the data center in the warehousing system and each warehousing node in the warehousing system using a virtual private network, receives warehousing data transmitted by multicast from the data center, and synchronously stores the warehousing data. This realizes a multicast transmission network environment, solves the problem of high synchronization latency in the warehousing system, improves the synchronization efficiency of warehousing data, and thus improves the response accuracy of warehousing operations.

[0135] Figure 4 This is an interactive flowchart illustrating a specific example of a warehouse data synchronization method provided in an embodiment of the present invention. Specifically, in response to a data update command, the warehouse data in the data update command is obtained, the warehouse identifier of the warehouse where the warehouse data is located is obtained, the multicast address is obtained based on the warehouse identifier, a multicast task is generated based on the warehouse data and the multicast address, and multicast transmission is performed based on the multicast task. The warehouse node in the multicast group corresponding to the multicast address synchronizes and stores the received warehouse data, performs a verification operation on the warehouse data, determines whether there is a verification anomaly in the warehouse data, if so, generates data synchronization information indicating the data verification anomaly and sends it to the data center; if not, the data version is updated, and data synchronization information indicating successful data synchronization is generated and sent to the data center.

[0136] The data center receives data synchronization messages sent by the warehouse nodes, determines whether the data synchronization information is used to indicate data verification anomalies, and if so, returns to execute the step of multicast transmission according to the multicast task; otherwise, it terminates the warehouse data synchronization process.

[0137] The following are embodiments of the warehouse data synchronization device provided in this invention. This device and the warehouse data synchronization method in the above embodiments belong to the same inventive concept. For details not described in detail in the embodiments of the warehouse data synchronization device, please refer to the content of the warehouse data synchronization method in the above embodiments.

[0138] Figure 5 This is a schematic diagram of a data synchronization device for warehouse data applied in a data center, provided as an embodiment of the present invention. Figure 5 As shown, the device includes: a warehouse data acquisition module 410, a multicast address determination module 420, a multicast task generation module 430, and a multicast transmission module 440.

[0139] Among them, the warehouse data acquisition module 410 is used to acquire the warehouse data to be synchronized;

[0140] The multicast address determination module 420 is used to determine the multicast address based on the warehouse data;

[0141] The multicast task generation module 430 is used to generate multicast tasks based on warehouse data and multicast addresses;

[0142] The multicast transmission module 440 is used to perform multicast transmission according to the multicast task so that at least two storage nodes in the multicast group corresponding to the multicast address can synchronously store the received storage data.

[0143] The data center establishes a communication connection with each storage node in the storage system through a virtual private network.

[0144] The technical solution of this embodiment establishes a communication connection between the data center in the warehousing system and each warehousing node in the warehousing system using a virtual private network. Based on the warehousing data to be synchronized, a multicast address is determined. Based on the warehousing data and the multicast address, a multicast task is generated. Multicast transmission is performed according to the multicast task, so that at least two warehousing nodes in the multicast group corresponding to the multicast address can synchronously store the received warehousing data. This realizes a network environment for multicast transmission, solves the problem of high synchronization latency in the warehousing system, improves the synchronization efficiency of warehousing data, and thus improves the response accuracy of warehousing operations.

[0145] In one specific embodiment, the device further includes:

[0146] The multicast group construction module is used to obtain the warehouse identifier and at least two warehouse node identifiers from the multicast group creation data.

[0147] Select a multicast address from a preset address range based on the warehouse identifier;

[0148] Construct a multicast group based on the multicast address, the warehouse corresponding to the warehouse identifier, and the warehouse node corresponding to each warehouse node identifier;

[0149] The data center has at least two warehouses, and the warehouse data stored in the at least two warehouses is different. The data source in the multicast group is the warehouse.

[0150] In one specific embodiment, the device further includes:

[0151] The multicast group creates a data generation module to receive data requests sent by at least two repository nodes.

[0152] If at least two data requests contain the same warehouse identifier, obtain the warehouse node identifier corresponding to each of the at least two data requests.

[0153] Generate multicast group creation data based on the warehouse identifier and at least two warehouse node identifiers.

[0154] In one specific embodiment, the multicast address determination module 420 is specifically used for:

[0155] Obtain the warehouse identifier of the warehouse where the warehousing data is located;

[0156] Based on the warehouse identifier, the multicast address is obtained by querying the multicast group data;

[0157] The multicast group data contains at least two warehouse identifiers and a multicast address corresponding to each warehouse identifier.

[0158] In one specific embodiment, the warehouse data acquisition module 410 is specifically used for:

[0159] In response to a data update command, retrieve the warehouse data from the data update command and update the warehouse data in the data center;

[0160] Use warehouse data as the warehouse data to be synchronized.

[0161] In one specific embodiment, the device further includes:

[0162] The data synchronization information receiving module is used to receive data synchronization information sent by at least two storage nodes.

[0163] If at least two data synchronization messages contain data synchronization information indicating a data verification anomaly, return to the step of performing multicast transmission according to the multicast task so that at least two storage nodes in the multicast group corresponding to the multicast address synchronize and store the received storage data.

[0164] The warehouse data synchronization device provided in this embodiment of the invention can execute the warehouse data synchronization method for data centers provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0165] Figure 6 This is a schematic diagram of a device for synchronizing warehouse data applied to a warehouse node, provided as an embodiment of the present invention. Figure 6 As shown, the device includes a warehouse data receiving module 510 and a synchronous storage module 520.

[0166] Among them, the warehouse data receiving module 510 is used to receive warehouse data transmitted by multicast from the data center;

[0167] Synchronous storage module 520 is used for synchronous storage of warehouse data;

[0168] Multicast transmission is performed based on multicast tasks, which are generated based on the warehouse data to be synchronized and the multicast address. The multicast address is determined based on the warehouse data. The data center establishes a communication connection with each warehouse node in the warehouse system through a virtual private network.

[0169] The technical solution of this embodiment establishes a communication connection between the data center in the warehousing system and each warehousing node in the warehousing system using a virtual private network, receives warehousing data transmitted by multicast from the data center, and synchronously stores the warehousing data. This realizes a multicast transmission network environment, solves the problem of high synchronization latency in the warehousing system, improves the synchronization efficiency of warehousing data, and thus improves the response accuracy of warehousing operations.

[0170] In one specific embodiment, the device further includes:

[0171] The data request sending module is used to send data requests to the data center so that the data center responds with at least two data requests containing the same warehouse identifier, and generates multicast group creation data based on the warehouse identifier and at least two warehouse node identifiers;

[0172] Among them, the multicast group creation data is used to create the multicast group where the warehouse node is located.

[0173] In one specific embodiment, the device further includes:

[0174] The data synchronization information sending module is used to perform verification operations on warehouse data and obtain verification results;

[0175] If the verification result indicates a verification error, the generated data synchronization information indicating the data verification error will be sent to the data center.

[0176] If the verification result indicates that the verification was successful, the generated data synchronization information indicating successful data synchronization will be sent to the data center.

[0177] The warehouse data synchronization device provided in this embodiment of the invention can execute the warehouse data synchronization method applied to warehouse nodes provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0178] Figure 7 This is a schematic diagram illustrating a specific example of a warehousing system provided in one embodiment of the present invention. Specifically, the warehousing system includes a data center connected via a virtual private network and at least two warehousing nodes. Figure 7 Take two storage nodes as an example.

[0179] In a data center, the components include a data warehouse, a data management module, a multicast control module, a signaling service module, and a multicast transmission module. The data warehouse comprises storage repositories such as product repositories and consumable repositories. The data management module categorizes the stored data in the data warehouse based on data content, synchronization priority, or supply / demand object identification, manages data sources in multicast groups, and records data versions of the stored data. The multicast control module controls the initiation of multicast tasks and manages the multicast groups to which each repository belongs. The signaling service module provides reliable point-to-point signaling services, receiving instructions, requests, messages, or information from repository nodes. The multicast transmission module transmits the stored data.

[0180] Within a warehouse node, there are four components: an internal database, a data management module, a multicast transmission module, and a multicast control module. The internal database stores received warehouse data. The data management module sends data requests to the data center, verifies the received warehouse data, and sends data synchronization information generated based on the verification results to the signaling service module in the data center. The multicast transmission module receives warehouse data transmitted via multicast from the data center and parses the data format. The multicast control module manages the multicast group to which the warehouse node belongs.

[0181] Figure 8This is a schematic diagram of an electronic device provided according to one embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0182] like Figure 8 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor 11. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0183] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information or data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0184] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the method for synchronizing warehouse data provided in the above embodiments.

[0185] In some embodiments, the warehouse data synchronization method provided in the above embodiments can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the warehouse data synchronization method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the warehouse data synchronization method by any other suitable means (e.g., by means of firmware).

[0186] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication unit 19, or installed from storage unit 18, or installed from ROM 12. When the computer program is executed by processor 11, it performs the functions defined in the methods of the embodiments of the present invention.

[0187] Various embodiments of the systems and techniques described above herein can be implemented in the following systems or combinations thereof: digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard parts (ASSPs), system-on-chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0188] Computer programs for implementing the method for synchronizing warehouse data according to the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs can be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0189] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable storage medium. Examples of machine-readable storage media include, based on an electrical connection of at least one wire, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0190] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a cathode-ray tube (CRT) or liquid crystal display (LCD) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0191] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0192] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system. It addresses the shortcomings of traditional physical hosts and Virtual Private Server (VPS) services, such as high management difficulty and weak business scalability.

[0193] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0194] 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 be made according to 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 of synchronizing data for warehousing, the method comprising: Data centers used in warehousing systems include: Retrieve the warehouse data to be synchronized; Determine the multicast address based on the storage data; Generate a multicast task based on the warehouse data and the multicast address; Multicast transmission is performed according to the multicast task so that at least two storage nodes in the multicast group corresponding to the multicast address synchronously store the received storage data. The data center establishes a communication connection with each storage node in the storage system through a virtual private network; The method further includes: Obtain the warehouse identifier and at least two warehouse node identifiers from the multicast group creation data, wherein the warehouse identifier and the warehouse node identifier are encoded identifiers or Internet Protocol addresses under the virtual private network; Based on the warehouse identifier, select a multicast address from a preset address range; A multicast group is constructed based on the multicast address, the warehouse corresponding to the warehouse identifier, and the warehouse node corresponding to each warehouse node identifier. The data center is equipped with at least two warehouses, and the warehouse data stored in the at least two warehouses are different. The data source in the multicast group is the warehouse. The method further includes: Receive data requests from at least two storage nodes; In response to the fact that at least two data requests contain the same warehouse identifier, obtain the warehouse node identifier corresponding to each of the at least two data requests; Generate multicast group creation data based on the warehouse identifier and at least two warehouse node identifiers; The step of determining the multicast address based on the warehousing data includes: Obtain the warehouse identifier of the warehouse where the warehousing data is located; Based on the warehouse identifier, the multicast address is obtained by querying the multicast group data; The multicast group data contains at least two warehouse identifiers and a multicast address corresponding to each warehouse identifier.

2. The method of claim 1, wherein, The process of obtaining the warehouse data to be synchronized includes: In response to a data update command, the system retrieves the warehouse data from the data update command and updates the warehouse data in the data center. The aforementioned warehouse data will be used as the warehouse data to be synchronized.

3. The method of claim 1, wherein, The method further includes: Receive data synchronization information sent by at least two storage nodes; If at least two data synchronization messages contain data synchronization information indicating a data verification anomaly, return to the step of performing multicast transmission according to the multicast task so that at least two storage nodes in the multicast group corresponding to the multicast address synchronize and store the received storage data.

4. A method of synchronizing warehousing data, characterized by, Storage nodes used in warehousing systems include: Receive warehouse data transmitted via multicast from the data center; The warehouse data is stored synchronously; The multicast transmission is performed by the data center based on a multicast task, which is generated based on the warehouse data to be synchronized and the multicast address. The multicast address is determined based on the warehouse data. The data center establishes a communication connection with each warehouse node in the warehouse system through a virtual private network. The method further includes: Send a data request to the data center so that the data center responds with at least two data requests containing the same warehouse identifier, and generate multicast group creation data based on the warehouse identifier and at least two warehouse node identifiers; The multicast group creation data is used to create the multicast group in which the storage node is located; The data center creates multicast groups in the following manner: Obtain the warehouse identifier and at least two warehouse node identifiers from the multicast group creation data, wherein the warehouse identifier and the warehouse node identifier are encoded identifiers or Internet Protocol addresses under the virtual private network; Based on the warehouse identifier, select a multicast address from a preset address range; A multicast group is constructed based on the multicast address, the warehouse corresponding to the warehouse identifier, and the warehouse node corresponding to each warehouse node identifier. The data center is equipped with at least two warehouses, and the warehouse data stored in the at least two warehouses are different. The data source in the multicast group is the warehouse.

5. The method according to claim 4, characterized in that, The method further includes: Perform a verification operation on the warehouse data to obtain the verification result; In response to the verification result indicating a verification error, the generated data synchronization information indicating the data verification error is sent to the data center; In response to the verification result indicating successful verification, the generated data synchronization information indicating successful data synchronization is sent to the data center.

6. A device for synchronizing warehouse data, characterized in that, Data centers used in warehousing systems include: The warehouse data acquisition module is used to acquire warehouse data to be synchronized. The multicast address determination module is used to determine the multicast address based on the storage data. The multicast task generation module is used to generate multicast tasks based on the warehousing data and the multicast address; The multicast transmission module is used to perform multicast transmission according to the multicast task, so that at least two storage nodes in the multicast group corresponding to the multicast address can synchronously store the received storage data. The data center establishes a communication connection with each storage node in the storage system through a virtual private network; The device further includes a multicast group construction module, used for: Obtain the warehouse identifier and at least two warehouse node identifiers from the multicast group creation data, wherein the warehouse identifier and the warehouse node identifier are encoded identifiers or Internet Protocol addresses under the virtual private network; Based on the warehouse identifier, select a multicast address from a preset address range; A multicast group is constructed based on the multicast address, the warehouse corresponding to the warehouse identifier, and the warehouse node corresponding to each warehouse node identifier. The data center is equipped with at least two warehouses, and the warehouse data stored in the at least two warehouses are different. The data source in the multicast group is the warehouse. The device further includes a multicast group creation data generation module, used for: Receive data requests from at least two storage nodes; In response to the fact that at least two data requests contain the same warehouse identifier, obtain the warehouse node identifier corresponding to each of the at least two data requests; Generate multicast group creation data based on the warehouse identifier and at least two warehouse node identifiers; The multicast address determination module is specifically used for: Obtain the warehouse identifier of the warehouse where the warehousing data is located; Based on the warehouse identifier, the multicast address is obtained by querying the multicast group data; The multicast group data contains at least two warehouse identifiers and a multicast address corresponding to each warehouse identifier.

7. A device for synchronizing warehouse data, characterized in that, Storage nodes used in warehousing systems include: The warehouse data receiving module is used to receive warehouse data transmitted via multicast from the data center. A synchronous storage module is used to synchronously store the warehouse data; The multicast transmission is performed based on a multicast task, which is generated based on the warehouse data to be synchronized and the multicast address. The multicast address is determined based on the warehouse data. The data center establishes a communication connection with each warehouse node in the warehouse system through a virtual private network. The device further includes: a data request sending module, configured to send a data request to the data center so that the data center responds to at least two data requests with identical warehouse identifiers, and generates multicast group creation data based on the warehouse identifier and at least two warehouse node identifiers; The multicast group creation data is used to create the multicast group in which the storage node is located; The data center creates multicast groups in the following manner: Obtain the warehouse identifier and at least two warehouse node identifiers from the multicast group creation data, wherein the warehouse identifier and the warehouse node identifier are encoded identifiers or Internet Protocol addresses under the virtual private network; Based on the warehouse identifier, select a multicast address from a preset address range; A multicast group is constructed based on the multicast address, the warehouse corresponding to the warehouse identifier, and the warehouse node corresponding to each warehouse node identifier. The data center is equipped with at least two warehouses, and the warehouse data stored in the at least two warehouses are different. The data source in the multicast group is the warehouse.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the warehouse data synchronization method according to any one of claims 1-3 or the warehouse data synchronization method according to any one of claims 4-5.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the method for synchronizing warehouse data according to any one of claims 1-3 or any one of claims 4-5.

10. A computer program product comprising a computer program that, when executed by a processor, implements the method for synchronizing warehouse data according to any one of claims 1-3 or the method for synchronizing warehouse data according to any one of claims 4-5.

Citation Information

Patent Citations

  • EPC network DS checking method and system based on Anycast

    CN103269371A

  • Method of constructing a unique transmission address by a server and server using this method

    CN1812375A