Logistics traceability method that can share data
By realizing data sharing and low-power wireless transmission between logistics traceability devices, the problem of high power consumption and data inconsistency caused by multiple devices working independently is solved, saving power and improving the reliability of data transmission between devices.
Patent Information
- Application Number
- CN201910527814.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-18
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-06-18
AI Technical Summary
Existing logistics traceability equipment causes high power consumption and data loss due to the independent work of multiple devices. Especially when signal coverage is poor and the time of different devices is inconsistent, the equipment consumes too much power and the data is inconsistent.
Adopt the data sharing method between devices, select one of the devices to collect and transmit data periodically, and use low-power wireless transmission technology such as Bluetooth transmission scheme to make other devices sleep after the data transmission is successful, saving power and ensuring data sharing and Consistency of positioning information.
It effectively reduces the overall power consumption of the device, improves the reliability and consistency of data transmission, reduces data loss, and achieves the goals of power saving and data consistency.
Smart Images

Figure CN110234087B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method for tracing logistics applied to the fields of warehousing, logistics, express delivery, and more particularly to a method for tracing logistics capable of sharing data. Background Art
[0002] Most of the logistics traceability equipment on the market today uses GPRS module as network communication module and GNSS module as positioning module. The current logistics traceability equipment needs to be bound to items, because they may be distributed and transferred to different places during transportation, so they cannot be bound to a vehicle. Then there will be a lot of items on a vehicle, so multiple traceability equipment will be needed to trace different items. Since each device is a battery-powered device, the problem of power saving will be considered. Secondly, due to different cities and road conditions, the network conditions are different. Thirdly, due to the inconsistent data transmission time of different devices, it will be seen that some devices on the same vehicle have normal data, while some will lose data. In addition, each data transmission and positioning consumes a lot of battery power, which makes all devices consume a lot of power.
[0003] GPRS network plus GPS positioning is used to solve the problem of tracking and monitoring items in the logistics traceability process. However, due to the high power consumption of GPRS communication modules on the market, GPS also has high power consumption, and because of the serious signal shielding in the cargo compartment of the logistics freight truck, GPRS and GPS cannot communicate and locate normally. And because of the poor signal of GPRS and GPS, the chain reaction leads to greater power consumption, resulting in a vicious cycle. On the other hand, even if GPS positioning is removed in some cases, only GPRS is retained for communication, and GPRS is also used for base station positioning to optimize system power consumption. However, since different items on the same logistics vehicle need to be bound to multiple traceability devices, and multiple devices will start GPRS communication at different time points, and the road conditions and signal coverage of the vehicle are different during the journey, it will be seen that some devices on the same vehicle will lose data. Summary of the invention
[0004] The technical solution of the present invention utilizes the method of sharing data between devices to optimize the power consumption of devices and solve the problem of data loss between different devices in the same car. As long as any one of the multiple devices in the car transmits data successfully, it means that all devices have transmitted successfully. The prerequisite is that all devices in the same car share data with each other. This data includes positioning data, sensor data and all other data that needs to be transmitted. When a certain device transmits data successfully, other devices can sleep to reduce power consumption when they need to transmit data, because other devices help it complete the shared data transmission. This reduces the power consumption of all other devices and also improves the problem of inconsistent lost data between different devices in the same car.
[0005] The present invention provides a data-sharing logistics tracing method, comprising a plurality of logistics tracing devices arranged on the same vehicle, wherein the logistics tracing devices comprise: a communication module for data communication with a server, a positioning module for positioning, a sensor for detecting the status of an item, and a battery power supply module, wherein one of the logistics tracing devices is selected to periodically collect data from other devices and periodically transmit data to the server.
[0006] Select one of the logistics tracing devices to send a monitoring broadcast to other logistics tracing devices, and other logistics tracing devices send broadcast packet data to the first logistics tracing device. The first logistics tracing device analyzes the broadcast packet data to determine whether the broadcast packet data contains a positioning data packet and a message indicating successful network transmission, and stores the data.
[0007] Further, one of the logistics tracing devices is selected to analyze whether the broadcast packet data contains positioning data. If so, the positioning module stops positioning. One of the logistics tracing devices is selected to analyze whether the broadcast packet data contains a message of successful network transmission. If so, the data transmission is stopped. When one of the logistics tracing devices is selected to stop the network transmission action, the other logistics tracing devices refresh their own timers for the next network transmission.
[0008] Furthermore, the first logistics tracing device sends broadcast packet data to other logistics tracing devices through low-power wireless transmission technology, so that data is shared among all logistics tracing devices.
[0009] The logistics tracing device sets a monitoring cycle. When the monitoring logistics tracing device receives the broadcast packets of other devices, it stores the data of the broadcast packets of other devices.
[0010] Multiple logistics traceability devices take turns to monitor other logistics traceability devices, and receive and store the accumulated shared data after the monitoring is completed.
[0011] Furthermore, the first logistics tracing device is selected to send positioning information to the server, and the positioning function of other logistics tracing devices is turned off; the first logistics tracing device is selected to turn on the communication module and send data to the server, and the communication module of other logistics tracing devices is turned off.
[0012] Furthermore, the communication method between the logistics tracing device and the server is GPRS communication, NB-ToT communication, 3G communication, and 4G communication. The positioning module of the logistics tracing device includes: a GNSS module or a GPRS module; the low-power wireless transmission solution between logistics tracing devices includes: a 2.4G private wireless transmission solution, a ZigBee transmission solution, and a Bluetooth transmission solution.
[0013] The beneficial effects of the present invention are:
[0014] This technical solution mainly utilizes data sharing in the same car to save unnecessary network transmission costs of other devices, thereby reducing battery consumption and saving power.
[0015] This technical solution utilizes the consistency of location information of the same vehicle, so that if any device in the same vehicle is successfully positioned, it means that other devices can also share and utilize it, thereby saving battery power consumption caused by unnecessary positioning and achieving power saving.
[0016] This technical solution uses the method of sharing data in the same vehicle to achieve the reliability of data transmission of devices in the same vehicle, because as long as one of the multiple devices transmits successfully, it means that the data of all devices are transmitted successfully, thereby reducing the probability of transmission failure.
[0017] This technical solution uses a shared data approach to solve the problem of data inconsistency caused by packet loss in certain devices on the same vehicle, thereby improving device data consistency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flow chart of a logistics tracing method capable of sharing data according to the present invention. DETAILED DESCRIPTION
[0019] The embodiments of the present invention are described in detail below with reference to the accompanying drawings, but the present invention can be implemented in many different ways as defined and covered by the claims.
[0020] like Figure 1 As shown in the figure, the equipment in the figure refers to a certain logistics tracing equipment, not a specific equipment. Other equipment refers to other equipment except the aforementioned logistics tracing equipment. Figure 1 The present invention is a flow chart of a logistics tracing method that can share data. The method includes configuring multiple logistics tracing devices on the same vehicle. The logistics tracing devices include: a communication module for data communication with a server, a positioning module for positioning, a sensor for detecting the status of an item, and a battery power supply module. One of the logistics tracing devices is selected to periodically collect data from other devices and periodically transmit data to the server.
[0021] The first logistics tracing device sends a monitoring broadcast to other logistics tracing devices, and other logistics tracing devices send broadcast packet data to the first logistics tracing device. The first logistics tracing device analyzes the broadcast packet data to determine whether the broadcast packet data contains a positioning data packet and a message indicating successful network transmission, and stores the data.
[0022] The first logistics tracing device analyzes whether the broadcast packet data contains positioning data. If so, the positioning module stops positioning. The first logistics tracing device analyzes whether the broadcast packet data contains a message of successful network transmission. If so, the data transmission is stopped. When the first logistics tracing device stops the network transmission action, it refreshes its own timer for the next network transmission.
[0023] In the embodiment of the present invention, in order to illustrate the technical solution, it is now assumed that a core function of a logistics tracing device is required, and the following problems need to be solved first: first, the logistics tracing device requires a communication module for data communication with the server; second, the logistics tracing device requires a positioning module for position positioning; third, the logistics tracing device requires a sensor to detect the status of the item; fourth, the logistics tracing device is a battery-powered device; fifth, the logistics tracing device needs to periodically collect data and periodically transmit data to the server.
[0024] Regarding the communication problem of logistics tracing equipment, the embodiments of the present invention can use GPRS module for network communication, and GNSS module for positioning, or use GPRS module base station positioning technology to replace GNSS module positioning (this technical solution describes the selected solution). Secondly, this technical solution does not limit the use of other network transmission solutions to replace GPRS transmission, such as NB-ToT, 3G, 4G and other network transmission solutions.
[0025] In the real-time example of the present invention, the devices on the same vehicle need to transmit the same location information, so the devices can share the same location information, thereby saving the power consumption of other devices when positioning. In addition, because the power consumption of the network transmission module is also very large when working, if multiple devices share data with each other and use a certain device to transmit data, the battery power consumed by other devices can also be saved. This does not require each device to locate once and transmit data once every time it works, thereby greatly reducing the overall power consumption of the device.
[0026] The core idea of this technical solution is to allow the devices in the same vehicle to share the data that needs to be transmitted between each other, as well as share the network transmission module and positioning information of a certain device. This solves the problem of repeated waste of power consumption and inconsistent device data. To achieve this technical solution, several issues are involved: First, how to share each other's data between devices. Second, how to share the same location information. Third, how to share the network transmission function of a certain device.
[0027] Data sharing between devices in the embodiment of the present invention. This technical solution stipulates that data sharing between devices will adopt a certain low-power wireless transmission solution to achieve data sharing. This technical solution will use Bluetooth technology as an example to illustrate, but does not limit other low-power wireless transmission solutions, such as 2.4G private wireless transmission solutions and ZigBee transmission solutions. Bluetooth transmission technology has very low power consumption, usually only micro-ampere-level standby and broadcast power consumption, and only a few milliamperes when receiving during operation. And wide area network communication modules such as GPRS usually reach more than 2A during the startup and network communication stage, and there are more than 40 or 50 milliamperes when maintaining the network state during operation, and there are also several milliamperes when in standby, which is far greater than the power consumption of Bluetooth communication modules. It can be seen that it is very suitable to use Bluetooth transmission technology to share data between all devices in the same car. First, Bluetooth transmission technology is very suitable for small-area communication in a local area network, usually within 20 meters. Second, Bluetooth transmission technology can send broadcast packet data, so that all devices can share data without strict networking. Of course, this technical solution does not limit the use of networking technology to share data after networking. Third, Bluetooth transmission technology has very low power consumption and is suitable for periodic data sharing. Secondly, due to the introduction of the Bluetooth mesh specification and the fact that Bluetooth itself is suitable for beacon scenarios, it is possible to share data using networking technology or by broadcasting packets, similar to the beacon solution. In order to illustrate this solution, data is shared by broadcasting. In order to share data using Bluetooth broadcast packets, a monitoring cycle needs to be specified. For example, if a device broadcasts its own data every 5 seconds, it needs to monitor for more than 5 seconds, such as 6 seconds. Because the broadcasts of all devices will be monitored after 5 seconds at the latest. In addition, the device can consider its own data update cycle to decide how often to monitor. At other times, it can sleep to reduce power consumption. When the monitoring device receives the broadcast packet of other devices, it needs to store the data of the broadcast packet of other devices. In this way, all monitoring devices will receive and store the data shared by other devices after the monitoring is completed.
[0028] In the embodiment of the present invention, the positioning information is shared between devices. Because when the above data sharing is implemented, the positioning data is also a kind of data and is also shared, so if the data shared by any device includes the positioning data, then other devices do not need to locate, but directly use the shared data. Therefore, the purpose of sharing the positioning data is achieved.
[0029] In the embodiment of the present invention, network transmission is shared between devices. Each device has a network transmission function, and a series of steps are required to achieve a network transmission: power on, network registration, networking, transmission, shutdown, etc. Because the network transmission time of each device is different, if a device receives a packet broadcasted by other devices reporting a successful transmission status during or without executing a network transmission, the current device stops the network transmission action and refreshes its own timer for the next network transmission. In this way, the data is considered to be successfully transmitted by other devices because its own data is shared with other devices. So it is equivalent to transmitting the data on this network by itself.
[0030] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A logistics tracing method capable of sharing data, comprising a plurality of logistics tracing devices arranged on the same vehicle, characterized in that: The logistics tracing equipment includes: a communication module for data communication with the server, a positioning module for positioning, a sensor for detecting the status of items, and a battery power supply module. One of the logistics tracing equipment is selected to periodically collect data from other equipment and periodically transmit data to the server; The first logistics tracing device is selected to send a monitoring broadcast to other logistics tracing devices, and other logistics tracing devices send broadcast packet data to the first logistics tracing device. The first logistics tracing device analyzes the broadcast packet data to determine whether the broadcast packet data contains a positioning data packet and a message of successful network transmission, and stores the data; Select the first logistics tracing device to send broadcast packet data to other logistics tracing devices through low-power wireless transmission technology, so that all logistics tracing devices share data; The low-power wireless transmission solutions between logistics traceability devices include Bluetooth transmission solutions. Bluetooth transmission solutions either use networking technology to share data or share data through broadcast packets, without the need for strict networking. The first logistics tracing device is selected to send positioning information to the server, and the positioning function of other logistics tracing devices is turned off; the first logistics tracing device is selected to turn on the communication module and send data to the server, and the communication module of other logistics tracing devices is turned off.
2. The logistics tracing method according to claim 1, characterized in that: The first logistics tracing device analyzes whether the broadcast packet data contains positioning data, and if so, executes: the positioning module stops positioning.
3. The logistics tracing method according to claim 1, characterized in that: The first logistics tracing device analyzes whether the broadcast packet data contains a message of successful network transmission, and if so, executes: stopping data transmission.
4. The logistics tracing method according to claim 1, characterized in that: When the first logistics tracing device stops the network transmission action, other logistics tracing devices refresh their own timers for the next network transmission.
5. The logistics tracing method according to claim 1, characterized in that: The logistics tracing device sets a monitoring cycle. When the monitoring logistics tracing device receives the broadcast packets of other devices, it stores the data of the broadcast packets of other devices.
6. The logistics tracing method according to claim 1, characterized in that: Multiple logistics traceability devices take turns to monitor other logistics traceability devices, and receive and store the accumulated shared data after the monitoring is completed.
7. The logistics tracing method according to claim 1, characterized in that: The communication methods between logistics traceability equipment and servers are GPRS communication, NB-ToT communication, 3G communication, and 4G communication. The positioning modules of logistics traceability equipment include: GNSS module or GPRS module; the low-power wireless transmission solutions between logistics traceability equipment also include: 2.4G private wireless transmission solutions and ZigBee transmission solutions.
