Method, device and electronic device for collecting and uploading driver location information

By obtaining random positioning information of the positioning information heartbeat packet at the time of positioning information upload, the problems of low authenticity of driver location information collection and upload failure when the signal is poor are solved, and more efficient and reliable positioning information collection and upload are achieved.

CN119584057BActive Publication Date: 2025-09-12CHINA ACAD OF TRANSPORTATION SCI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510125868.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-27
Publication Date
2025-09-12
Estimated Expiration
2045-01-27

AI Technical Summary

Technical Problem

The existing technology has the problem that the authenticity of driver location information collected is low, data cannot be uploaded when the signal is poor, and the cost is high.

Method used

By obtaining the waybill information to be transported, calculating the time for uploading the positioning information, and triggering the positioning information upload signal when the positioning information upload time arrives, multiple random positioning information including the positioning information heartbeat package are obtained to ensure the authenticity and reliability of the location information collection.

Benefits of technology

It improves the authenticity and reliability of driver location information collection, reduces the risk of data upload failure when the signal is poor, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119584057B_ABST
    Figure CN119584057B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device and electronic device for collecting and uploading driver location information, the method comprising obtaining waybill information of a waybill to be transported; receiving a positioning information collection start signal, and calculating a positioning information upload time based on the waybill information of the waybill to be transported; when the positioning information upload time arrives, triggering a positioning information upload signal, and obtaining positioning information based on the positioning information upload signal, wherein the positioning information includes a positioning information heartbeat packet, and the positioning information heartbeat packet includes multiple random positioning information; receiving a positioning information collection end signal, and stopping obtaining positioning information, thereby ensuring the authenticity of the driver's location information collection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information collection and uploading, and more specifically, to a method, device and electronic equipment for collecting and uploading driver location information. Background Art

[0002] With the development of the Internet and mobile communication technology, new logistics formats based on online freight platforms have developed rapidly. In online freight business, when drivers are looking for sources of goods, their positioning information can represent the location of transportation capacity. As a data source for cargo transportation organization, during the transportation process, their positioning information can represent the cargo location information during transportation to carry out in-transit monitoring of freight transportation. Therefore, the legal, compliant, effective and safe collection of driver positioning information data plays an important role in the organization and scheduling of online freight business and industry safety supervision.

[0003] Currently in the freight industry, base station positioning based on user mobile phones requires the data retriever to sign an agreement with the three major telecom operators, pay high data usage fees, and each time positioning is performed, the mobile phone user needs to send a text message to confirm permission; develop a unified version of the location information service APP or use existing APPs with high installation rates (such as Gaode, Alipay, WeChat, etc.), and each online freight company needs to spend a lot of money to upload location information through this APP; embed a uniformly developed location information plug-in in the driver-side APP of the online freight platform, but there is still a situation where the driver's location information can be forged, and there is a problem that data cannot be uploaded when the signal is poor. Summary of the Invention

[0004] The purpose of the present invention is to provide a method, device and electronic device for collecting and uploading driver location information, so as to solve the problem in the prior art that the authenticity of driver location information collected is low and data cannot be uploaded when the signal is poor.

[0005] The present invention provides a method for collecting and uploading driver location information, including obtaining waybill information of a waybill to be transported; receiving a positioning information collection start signal, and calculating a positioning information upload time based on the waybill information of the waybill to be transported; when the positioning information upload time arrives, triggering a positioning information upload signal, and obtaining positioning information based on the positioning information upload signal, wherein the positioning information includes a positioning information heartbeat packet, and the positioning information heartbeat packet includes multiple random positioning information; receiving a positioning information collection end signal, and stopping obtaining positioning information.

[0006] In one of the embodiments, when the positioning information upload time arrives, the positioning information upload signal is triggered, and the positioning information is obtained based on the positioning information upload signal, including: calculating the first positioning information upload time according to the waybill information of the waybill to be transported; when the first positioning information upload time arrives, the first positioning information upload signal is triggered, and the positioning information is obtained based on the first positioning information upload signal; calculating the second positioning information upload time, and when the second positioning information upload time arrives, the second positioning information upload signal is triggered to obtain the positioning information again.

[0007] In one embodiment, when the positioning information upload time arrives, the positioning information upload signal is triggered, and the positioning information is obtained based on the positioning information upload signal, including: obtaining the positioning information heartbeat packet before the positioning information upload time arrives; or obtaining the positioning information heartbeat packet after obtaining the positioning information based on the positioning information upload signal.

[0008] In one embodiment, the waybill information of the waybill to be transported includes the driver's identity information and the waybill number; the positioning information includes a positioning information heartbeat package, and the positioning information heartbeat package includes multiple random positioning information, and also includes: calculating the number of random positioning information of the positioning information heartbeat package based on the driver's identity information; calculating the random positioning information upload time interval of the positioning information heartbeat package based on the waybill number; and obtaining multiple random positioning information of the positioning information heartbeat package in sequence based on the number of random positioning information and the random positioning information upload time interval.

[0009] In one embodiment, the waybill information of the waybill to be transported includes the shipping address and the receiving address; a positioning information collection start signal is received, and the positioning information upload time is calculated based on the waybill information of the waybill to be transported, including: calculating the transportation distance based on the shipping address and the receiving address; obtaining the real-time speed of the vehicle for transporting the waybill; and calculating the positioning information upload time based on the transportation distance and the real-time speed of the vehicle.

[0010] In one embodiment, a positioning information collection start signal is received, and the positioning information upload time is calculated based on the waybill information of the waybill to be transported, including: obtaining historical waybill information, calculating the enterprise credit value based on the historical waybill information; and calculating the positioning information upload time based on the enterprise credit value.

[0011] In one embodiment, the positioning information collection start signal is a manual trigger signal; and the positioning information collection end signal is a manual trigger signal.

[0012] In one embodiment, when the time for uploading the positioning information arrives, the positioning information upload signal is triggered, and the positioning information is obtained based on the positioning information upload signal, including: real-time detection of the signal strength of the driver's mobile device, and when the signal strength of the driver's mobile device is less than the signal strength threshold, the positioning information is stored in the cache of the driver's mobile device based on the priority queue.

[0013] In one embodiment, before obtaining the waybill information to be transported, the process also includes: obtaining enterprise information, and performing information authentication based on the enterprise information; when the information authentication is passed, receiving a positioning information collection start signal.

[0014] The present invention also provides a device for collecting and uploading driver location information, including: an information acquisition module, the information acquisition module is used to obtain the waybill information of the waybill to be transported; a signal receiving module, the signal receiving module is used to receive a positioning information collection start signal and a positioning information collection end signal; a positioning information uploading module, the positioning information uploading module is used to calculate the positioning information upload time based on the waybill information of the waybill to be transported; the positioning information uploading module is also used to trigger the positioning information upload signal when the positioning information upload time arrives, and obtain the positioning information based on the positioning information upload signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a flow chart of a method for collecting and uploading driver location information in one embodiment;

[0016] Figure 2 A flowchart of a method for collecting and uploading driver location information in another embodiment;

[0017] Figure 3 Flowchart of a method for calculating a positioning information heartbeat packet in one embodiment;

[0018] Figure 4 Flowchart of a method for calculating the time of uploading positioning information in one embodiment;

[0019] Figure 5 A flowchart of a method for calculating the time at which positioning information is uploaded according to another embodiment;

[0020] Figure 6 This is a flowchart of a method for collecting and uploading driver location information in yet another embodiment;

[0021] Figure 7 The figure is a schematic diagram of the structure of a device for collecting and uploading driver location information in one embodiment. DETAILED DESCRIPTION

[0022] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present invention.

[0023] The terminology used herein is for the purpose of describing specific embodiments only and is not intended to limit the present invention. As used herein, the terms "a," "an," and "the" are intended to include "plurality" and "multiples," unless the context clearly indicates otherwise. Furthermore, the terms "comprise," "include," and "includes" indicate the presence of features, steps, operations, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.

[0024] In addition, although the terms "first" and "second" are used many times herein to describe various elements (or various thresholds or various applications or various instructions or various operations), these elements (or thresholds or applications or instructions or operations) should not be limited by these terms. These terms are only used to distinguish one element (or threshold or application or instruction or operation) from another element (or threshold or application or instruction or operation). For example, the first positioning information upload moment can be called the second positioning information upload moment, and the second positioning information upload moment can also be called the first positioning information upload moment, without departing from the scope of the present invention. The first positioning information upload moment and the second positioning information upload moment are not the same threshold.

[0025] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0026] The present invention provides a method for collecting and uploading driver location information, such as Figure 1 As shown, the method mainly includes the following steps:

[0027] Step S101: Obtain the waybill information of the waybill to be transported.

[0028] In this embodiment, the waybill to be transported is the waybill generated when the enterprise places an order on the online freight platform. The driver logs in to the online freight platform and obtains the waybill information of the waybill to be transported. After the driver completes loading at the location of the shipping address according to the waybill information of the waybill to be transported, he clicks on the online freight platform to start the transportation process. At this time, the server obtains the waybill information to be transported uploaded by the online freight platform.

[0029] In this embodiment, the waybill information of the waybill to be transported includes the waybill number, license plate number, shipping address, receiving address, and driver identity information, wherein the driver identity information includes the driver's name, driver's mobile phone number, driver's ID number, and driver's mobile device ID.

[0030] Step S102: receiving a positioning information collection start signal, and calculating a positioning information upload time based on the waybill information of the waybill to be transported.

[0031] In one embodiment, the positioning information collection start signal is a manually triggered signal. When the driver completes loading at the shipping address and clicks on the departure button on the online freight platform, the online freight platform transmits the departure instruction to the server. The departure instruction is the positioning information collection start signal.

[0032] In one embodiment, the positioning information collection start signal is an automatic trigger signal. When the vehicle arrives at the location of the shipping address, it starts to detect the real-time speed of the vehicle. When the real-time speed of the vehicle is greater than 0m / s and the real-time speed of the vehicle increases continuously within 1 minute, that is, the vehicle acceleration is greater than 0 within 1 minute, the online freight platform automatically transmits the departure instruction to the server. The departure instruction is the positioning information collection start signal.

[0033] In one embodiment, after receiving the positioning information collection start signal, the server calculates at least one positioning information upload time during the transportation process based on the waybill information of the waybill to be transported.

[0034] In one embodiment, the location information plug-in is integrated into the online freight platform. When the server receives a positioning information collection start signal, the location information plug-in is triggered to obtain the current real-time location. The location information plug-in uploads the current real-time location to the server. After receiving the current real-time location, the server calculates at least one positioning information upload time during the transportation process based on the waybill information of the waybill to be transported.

[0035] In one embodiment, when the server receives a positioning information collection start signal, the online freight platform uploads the shipping address to the server. After receiving the shipping address uploaded by the online freight platform, the server calculates at least one positioning information upload time during the transportation process based on the waybill information of the waybill to be transported.

[0036] In one embodiment, the server calculates the upload time of all positioning information during the transportation process based on the waybill information of the waybill to be transported.

[0037] In one embodiment, the number of positioning information upload moments and the time interval between each two positioning information upload moments are related to the server processing speed. The faster the server processing speed, the more positioning information upload moments there are and the shorter the time interval between each two positioning information upload moments.

[0038] In one embodiment, the number of positioning information upload moments is randomly generated by the server, and the time interval between every two positioning information upload moments is randomly generated by the server.

[0039] For example, the server can randomly generate four positioning information upload times T1, T2, T3, and T4. The time interval between the positioning information upload times T1 and T2 is 1 hour, the time interval between the positioning information upload times T2 and T3 is 1.2 hours, and the time interval between the positioning information upload times T3 and T4 is 1.7 hours. That is to say, the time intervals between the positioning information upload times T1, T2, T3, and T4 are random.

[0040] In one embodiment, the number of moments for uploading the positioning information is related to the transportation distance. The longer the transportation distance, the greater the number of moments for uploading the positioning information.

[0041] In one embodiment, the time interval between each two positioning information upload moments is fixedly increased. For example, the server can randomly generate four positioning information upload moments T5, T6, T7, and T8. The time interval between the positioning information upload moments T5 and T6 is 1 hour, the time interval between the positioning information upload moments T6 and T7 is 1.5 hours, and the time interval between the positioning information upload moments T7 and T8 is 2 hours, that is, the time interval between each two positioning information upload moments increases by 0.5 hours successively.

[0042] In one embodiment, the transportation distance between each two positioning information upload moments is fixed. For example, the transportation distance between each two positioning information upload moments is 5 kilometers, that is, the positioning information is uploaded every 5 kilometers.

[0043] In one embodiment, the time interval between each two positioning information upload moments is fixed. For example, the time interval between each two positioning information upload moments is 0.5 hours, that is, positioning information is uploaded once every 0.5 hours.

[0044] Step S103: When the positioning information upload time arrives, trigger the positioning information upload signal, and obtain positioning information based on the positioning information upload signal, wherein the positioning information includes a positioning information heartbeat packet, and the positioning information heartbeat packet includes multiple random positioning information.

[0045] In this embodiment, the online freight platform integrates a location information plug-in. After the server calculates the time when the positioning information is uploaded, it counts based on the time interval between the current time and the time when the positioning information is uploaded. When the time when the positioning information is uploaded arrives, the server sends a positioning information upload signal to the location information plug-in. The location information plug-in obtains the current real-time position at the time when the positioning information is uploaded, and sends the current real-time position to the server, where the positioning information is the current real-time position at the time when the positioning information is uploaded.

[0046] For example, the location information upload time is T9, T 10 , the current time is Ta1 , T9, T 10 With T a1 The time intervals between them are t1 and t2 respectively. The server starts from T a1 Start timing at the moment, or from T9, T 10 When T9 arrives, or the countdown from T9 reaches 0s, the location information plug-in obtains the current real-time location at T9 and sends it to the server; when T 10 When the time arrives, or from T 10 When the countdown starts at 0s, the location information plug-in obtains T 10 The current real-time position at the moment, and T 10 The current real-time position at the moment is sent to the server.

[0047] In this embodiment, the positioning information further includes a positioning information heartbeat packet composed of a plurality of random positioning information, wherein the time interval between each two random positioning information is smaller than the time interval between each two positioning information uploading moments.

[0048] In one embodiment, the number of random positioning information in the positioning information heartbeat packet is randomly generated by the server, and the time interval between each two random positioning information is a fixed time length.

[0049] For example, the location information upload time is T9. When T9 arrives, the location information plug-in also obtains the location information heartbeat packet. The server sends an instruction to the location information plug-in to obtain a location information heartbeat packet consisting of 5 random location information. The time interval between each two random location information is 2s. That is to say, within 10s when T9 arrives, the location information plug-in obtains a random location information every 2s to form a location information heartbeat packet, and sends the current real-time location at T9 and the location information heartbeat packet to the server.

[0050] In one embodiment, the number of random positioning information in the positioning information heartbeat packet is related to the transportation distance. The longer the transportation distance, the greater the number of random positioning information.

[0051] In one embodiment, the time interval between every two random positioning information in the positioning information heartbeat packet is randomly generated by the server.

[0052] In one embodiment, the number of random positioning information in the positioning information heartbeat packet and the time interval between each two random positioning information are related to the server processing speed. The faster the server processing speed, the more random positioning information there is and the shorter the time interval between each two random positioning information.

[0053] In one embodiment, the time interval between every two random positioning information in the positioning information heartbeat packet increases in a fixed manner. For example, the time interval between every two random positioning information increases by 2 seconds.

[0054] For example, the location information is uploaded at T9. When T9 arrives, the location information plug-in also obtains the location information heartbeat packet. The server sends an instruction to the location information plug-in to obtain a location information heartbeat packet consisting of 5 random location information. The time intervals between each two random location information are 1s, 3s, 5s, 7s, and 9s respectively. That is to say, when T9 arrives at 1s, 4s, 9s, 16s, and 25s, the location information plug-in obtains 5 random location information to form a location information heartbeat packet, and sends the current real-time position at T9 and the location information heartbeat packet to the server.

[0055] In one embodiment, the transportation distance between each two random positioning information is fixed. For example, the transportation distance between each two random positioning information is 100 m, that is, one random positioning information is obtained every 100 m.

[0056] For example, the location information upload time is T9. When T9 arrives, the location information plug-in also obtains the location information heartbeat packet. The server sends an instruction to the location information plug-in to obtain a location information heartbeat packet consisting of 5 random location information. The transportation distance between each two random location information is 100m. That is to say, when T9 arrives, within 500m, the location information plug-in obtains 5 random location information to form a location information heartbeat packet, and sends the current real-time position at T9 and the location information heartbeat packet to the server.

[0057] Step S104: receiving a positioning information acquisition end signal and stopping acquiring positioning information.

[0058] In this embodiment, the positioning information collection end signal is a manually triggered signal. The driver clicks on the delivery on the online freight platform, and the online freight platform transmits the delivery instruction to the server. The delivery instruction is the positioning information collection end signal.

[0059] In one embodiment, the positioning information collection end signal is an automatic trigger signal, and the real-time position of the vehicle is obtained through the Beidou positioning system fixed on the vehicle. When the distance between the real-time position of the vehicle and the delivery address is less than 100m, the online freight platform automatically transmits the delivery instruction to the server. The delivery instruction is the positioning information collection end signal.

[0060] In one embodiment, when an enterprise clicks to receive goods on the online freight platform, the online freight platform transmits the receiving instruction to the server, and the receiving instruction is the signal that the location information collection ends.

[0061] In one embodiment, when the driver is switched during transportation, the original driver clicks pause on the online freight platform, and the online freight platform transmits the pause instruction to the server. The pause instruction is the signal that the positioning information collection ends.

[0062] In one embodiment, when switching vehicles during transportation, the driver clicks pause on the online freight platform, and the online freight platform transmits the pause instruction to the server. The pause instruction is a signal that the positioning information collection ends.

[0063] In one embodiment, when the driver changes the mobile device during transportation, the driver clicks pause on the online freight platform, and the online freight platform transmits the pause instruction to the server. The pause instruction is a signal that the positioning information collection ends.

[0064] The present invention calculates the positioning information uploading time based on the waybill information of the waybill to be transported, uploads the positioning information based on the positioning information uploading signal when the positioning information uploading time arrives, and simultaneously uploads the positioning information heartbeat packet, thereby ensuring the authenticity of the driver's position information collection.

[0065] In one embodiment, Figure 2 As shown, the step S103: when the positioning information upload time arrives, triggering the positioning information upload signal, and obtaining the positioning information based on the positioning information upload signal, further includes:

[0066] Step S201: Calculating the first positioning information uploading time according to the waybill information of the waybill to be transported;

[0067] Step S202: When the first positioning information upload time arrives, triggering a first positioning information upload signal, and acquiring positioning information based on the first positioning information upload signal;

[0068] Step S203: Calculate the second positioning information upload time. When the second positioning information upload time arrives, trigger the second positioning information upload signal to obtain positioning information again.

[0069] In one embodiment, the location information plug-in is integrated into the online freight platform. When the server receives a positioning information collection start signal, the location information plug-in is triggered to obtain the current real-time location. The location information plug-in uploads the current real-time location to the server. After receiving the current real-time location, the server calculates the first positioning information upload time.

[0070] In one embodiment, when the server receives a positioning information collection start signal, the online freight platform uploads the shipping address to the server. After receiving the shipping address uploaded by the online freight platform, the server calculates the first positioning information upload time based on the waybill information of the waybill to be transported.

[0071] In one embodiment, when the first positioning information upload time arrives, the server sends a first positioning information upload signal to the location information plug-in. The location information plug-in obtains positioning information based on the first positioning information upload signal, i.e., the current real-time location at the first positioning information upload time, and uploads it to the server. After receiving the positioning information at the first positioning information upload time, the server calculates the second positioning information upload time. When the second positioning information upload time arrives, the server sends a second positioning information upload signal to the location information plug-in. The location information plug-in obtains positioning information again based on the second positioning information upload signal, i.e., the current real-time location at the second positioning information upload time, and uploads it to the server.

[0072] In one embodiment, after the server receives the positioning information of the N-1th positioning information upload time, it calculates the Nth positioning information upload time. When the Nth positioning information upload time arrives, the server sends the Nth positioning information upload signal to the location information plug-in. The location information plug-in obtains the positioning information again according to the Nth positioning information upload signal and uploads it to the server.

[0073] For example, the first location information upload time is T 11 , the current time is T a2 , T 11 With T a2 The time interval between them is t3, and the server starts from T a2 Start timing from T 11 The countdown begins when T 11 When the time arrives, or from T 11 When the countdown starts at 0s, the location information plug-in obtains T 11 The current real-time position at the moment, and T 11 The current real-time position at the moment is sent to the server. When the server receives T 11 After the current real-time position at the moment, calculate the second positioning information upload time T 12 , and restart the timing, when T 12 When the time arrives, or from T 12 When the countdown starts at 0s, the location information plug-in obtains T 12 The current real-time position at the moment, and T 12 The current real-time position at the moment is sent to the server.

[0074] The present invention calculates the Nth positioning information upload time in sequence, and calculates the Nth positioning information upload time after the N-1th positioning information is uploaded, thereby ensuring the randomness of the positioning information upload time and improving the authenticity of the driver's position information collection and upload.

[0075] In one embodiment, the step S103 of triggering a positioning information upload signal when the positioning information upload time arrives and acquiring positioning information based on the positioning information upload signal further includes:

[0076] Before the positioning information upload time arrives, the positioning information heartbeat packet is obtained; or after the positioning information is obtained based on the positioning information upload signal, the positioning information heartbeat packet is obtained.

[0077] In this embodiment, the positioning information heartbeat packet and the positioning information are not sent to the server at the same time.

[0078] In one embodiment, a positioning information heartbeat packet is obtained before the positioning information upload time arrives, and the time interval between the time of obtaining the positioning information heartbeat packet and the time of uploading the positioning information is greater than 0.5 hours. Specifically, at least 0.5 hours before the time of uploading the positioning information arrives, the server issues an instruction to obtain the positioning information heartbeat packet to the positioning information plug-in, and the positioning information plug-in sends the positioning information heartbeat packet to the server. When the time of uploading the positioning information arrives, the positioning information plug-in again uploads the current real-time location at the time of uploading the positioning information to the server.

[0079] In one embodiment, after the location information plug-in obtains the location information based on the location information upload signal issued by the server and uploads it to the server, it obtains the location information heartbeat packet, and the time interval between the moment of obtaining the location information heartbeat packet and the moment of uploading the location information is greater than 0.5 hours. Specifically, at least 0.5 hours after obtaining the location information, the server issues an instruction to obtain the location information heartbeat packet to the location information plug-in. In other words, after the location information plug-in uploads the current real-time location at the moment of uploading the location information to the server, when the location information plug-in receives the instruction to obtain the location information heartbeat packet again, the location information plug-in again sends the location information heartbeat packet to the server.

[0080] In one embodiment, the longer the transportation distance, the longer the time interval between the time of obtaining the positioning information heartbeat packet and the time of uploading the positioning information.

[0081] In one embodiment, the faster the real-time speed of the vehicle, the shorter the time interval between the moment of obtaining the positioning information heartbeat packet and the moment of uploading the positioning information.

[0082] In one embodiment, the faster the server processing speed is, the shorter the time interval between the moment of obtaining the positioning information heartbeat packet and the moment of uploading the positioning information is.

[0083] In one embodiment, the number of random positioning information in the positioning information heartbeat packet is randomly generated by the server.

[0084] In one embodiment, the number of random positioning information in the positioning information heartbeat packet is related to the transportation distance. The longer the transportation distance, the greater the number of random positioning information in the positioning information heartbeat packet.

[0085] In one embodiment, the uploading time interval between every two random positioning information in the positioning information heartbeat packet is a fixed time length.

[0086] In one embodiment, the uploading time interval between every two random positioning information in the positioning information heartbeat packet is randomly generated by the server.

[0087] In one embodiment, the uploading time interval between every two random positioning information in the positioning information heartbeat packet is fixedly increased.

[0088] In one embodiment, the transport distance between every two random positioning information in the positioning information heartbeat packet is fixed.

[0089] In one embodiment, the number of random positioning information in the positioning information heartbeat packet and the upload time interval between each two random positioning information are related to the server processing speed. The faster the server processing speed, the more random positioning information in the positioning information heartbeat packet and the shorter the upload time interval between each two random positioning information.

[0090] The present invention obtains the positioning information heartbeat packet again before the positioning information upload time arrives or after the positioning information is obtained, thereby ensuring the randomness of the positioning information heartbeat packet and improving the authenticity of position information collection.

[0091] In one embodiment, Figure 3 As shown, in step S103, the positioning information includes a positioning information heartbeat packet, the positioning information heartbeat packet includes multiple random positioning information, and further includes:

[0092] Step S301: Calculating the number of random positioning information in the positioning information heartbeat packet according to the driver identity information;

[0093] Step S302: Calculating the random positioning information uploading time interval of the positioning information heartbeat packet according to the waybill number;

[0094] Step S303: sequentially obtaining a plurality of random positioning information of the positioning information heartbeat packet according to the number of random positioning information and the random positioning information uploading time interval.

[0095] In one embodiment, the number of random positioning information in the positioning information heartbeat packet is calculated based on the driver's ID number. Specifically, the last digit of the driver's ID number is obtained, and the number of random positioning information in the positioning information heartbeat packet is calculated according to the formula X%5+5, where X is the last digit of the driver's ID number and X%5 is the remainder of X divided by 5. For example, if the last digit of the driver's ID number is 2, the number of random positioning information in the positioning information heartbeat packet is 7.

[0096] In one embodiment, the number of random positioning information in the positioning information heartbeat packet increases with the increase in transportation distance. Specifically, for a transportation distance of D, the number of random positioning information in the positioning information heartbeat packet is calculated according to the formula X%5+[D / 50]+5, where X is the last digit of the driver's ID number, X%5 is the remainder of X divided by 5, and [D / 50] is the integer of D divided by 50.

[0097] For example, if the last digit of the driver's ID number is 2 and the transportation distance is 53 km, the number of random positioning information in the positioning information heartbeat packet is 2%5+[53 / 50]+5, which is 8.

[0098] In this embodiment, the uploading time interval between every two random positioning information is calculated according to the waybill number.

[0099] Specifically, the last and penultimate digits of the waybill number are obtained, and the integer portion of the upload time interval between each pair of random positioning information is calculated using the formula Y%5+5. The decimal portion of the upload time interval between each pair of random positioning information is calculated using the formula Z%5+5, where Y is the last digit of the waybill number, Z is the penultimate digit of the waybill number, Y%5 is the remainder when Y is divided by 5, and Z%5 is the remainder when Z is divided by 5. For example, if the waybill number is 3920245, and the last and penultimate digits of the waybill number are 4 and 5, respectively, the integer portion of the upload time interval between each pair of random positioning information is 5%5+1=1, and the decimal portion of the upload time interval between each pair of random positioning information is 4%5+5=9, meaning that the upload time interval between each pair of random positioning information is 1.9 seconds.

[0100] In one embodiment, the number of random positioning information in the positioning information heartbeat packet is calculated based on the driver's mobile device ID. Specifically, the last digit of the driver's mobile device ID is obtained, and the number of random positioning information in the positioning information heartbeat packet is calculated according to the formula P%5+5, where P is the last digit of the driver's mobile device ID.

[0101] The present invention calculates the number of random positioning information and the random positioning information uploading time interval of the positioning information heartbeat packet through the driver's identity information and the waybill number, thereby ensuring the authenticity of the positioning information heartbeat packet.

[0102] In one embodiment, Figure 4 As shown, the step S102: receiving the positioning information collection start signal, calculating the positioning information upload time based on the waybill information of the waybill to be transported, also includes:

[0103] Step S401: Calculating the transportation distance based on the shipping address and the receiving address;

[0104] Step S402: obtaining the real-time speed of the vehicle to be transported;

[0105] Step S403: Calculate the time for uploading the positioning information based on the transportation distance and the real-time speed of the vehicle.

[0106] In this embodiment, the transportation distance is calculated based on the longitude and latitude of the shipping address and the receiving address.

[0107] For example, the longitude and latitude of the shipping address A are (a1, a2), and the longitude and latitude of the receiving address B are (b1, b2). The transportation distance D is calculated using the spherical cosine law, also known as the Haversine formula.

[0108] In one embodiment, when the server receives a positioning information collection start signal, the server randomly obtains the first positioning information upload time. When the first positioning information upload time arrives, after receiving the positioning information of the first positioning information upload time, the server randomly obtains the second positioning information upload time.

[0109] In one embodiment, when the N-1th positioning information upload time arrives, after receiving the positioning information of the N-1th positioning information upload time, the server randomly obtains the Nth positioning information upload time.

[0110] In one embodiment, when the server receives the positioning information collection start signal, according to the formula T0+50 / V i Calculate the first positioning information upload time, T0 is the initial time when the server receives the positioning information collection start signal, V i is the average speed of the vehicle.

[0111] In one embodiment, when the N-1th positioning information upload time arrives, the server receives the positioning information at the N-1th positioning information upload time, and calculates the value of the positioning information according to the formula T N-1 +|D / V0-(DD s ) / V i |Calculate the time when the Nth positioning information is uploaded, where D is the transportation distance, Ds is the distance traveled by the vehicle, V i is the average speed of the vehicle, V0 is the standard speed of the vehicle, T N The time when the Nth positioning information is uploaded.

[0112] In one embodiment, V0 is between 60 km / h and 80 km / h.

[0113] In one embodiment, V0 is 80 km / h.

[0114] In one embodiment, the latitude and longitude of the vehicle's current real-time location (c1, c2) is obtained through the BeiDou positioning system fixed in the truck's cockpit. Based on the latitude and longitude of the shipping address A (a1, a2), the latitude and longitude of the vehicle's current real-time location (c1, c2) are calculated using the spherical cosine law, i.e., the Haversine formula, to calculate the distance D that the vehicle has traveled. s .

[0115] In one embodiment, V i It is obtained through the on-board Beidou positioning system fixed in the truck cab.

[0116] For example, D is 370km, T0 is 09:24, and V is obtained by the vehicle-mounted Beidou positioning system. i The speed is 75 km / h, and the first positioning information upload time is calculated to be T0+0.66h, that is, 10:04. When the first positioning information upload time 10:04 arrives, the location information plug-in uploads the positioning information of the first positioning information upload time 10:04 to the server. After receiving the positioning information of the first positioning information upload time 10:04, the server calculates the first positioning information upload time according to the formula T i-1 +|D / V0-(DD s ) / V i |Calculate the second positioning information upload time. At this time, the V i 68km / h, D s =49.5km, then the second positioning information upload time is 10:04+0.088h, that is, 10:09; when the second positioning information upload time 10:09 arrives, the location information plug-in uploads the positioning information of the second positioning information upload time 10:09 to the server. After receiving the positioning information of the second positioning information upload time 10:09, the server calculates the second positioning information according to the formula T i-1 +|D / V0-(DD s ) / V i |Calculate the time when the third positioning information is uploaded. At this time, the V i 76km / h, D sIf it is 55.5 km, the third positioning information upload time is 10:09 + 0.49 h, that is, 10:38.

[0117] In one embodiment, when D < 50 km, the number of positioning information upload times is calculated according to the formula [D / 15]; when 50 < D ≤ 100 km, the number of positioning information upload times is calculated according to the formula [D / 20]; when D > 100 km, the number of positioning information upload times is calculated according to the formula [D / 50].

[0118] In one embodiment, for the transportation distance D within different ranges, the number of positioning information upload times randomly generated by the server is different. Specifically, when D is less than 50 km, the server randomly generates 1 - 3 positioning information upload times; when 50 < D ≤ 100, the server randomly generates 4 - 6 positioning information upload times; when D > 100, the server randomly generates more than 6 positioning information upload times.

[0119] In one embodiment, detect the continuous duration T when the real-time speed of the vehicle is 0 m / s s , and reduce the number of positioning information upload times according to T s . Specifically, when 10 min < T s ≤ 30 min, reduce [T s / 20] positioning information upload times; when 30 min < T s ≤ 60 min, reduce [T s / 45] positioning information upload times; when T s > 60 min, reduce [T s / 60] positioning information upload times.

[0120] For example, the transportation distance D is 480 km, and the continuous duration when the real-time speed of the vehicle is 0 m / s is 270 min. Then, according to the formula [D / 50], the number of positioning information upload times is 9, or the server randomly generates 9 positioning information upload times. According to the formula [T s / 60], reduce 4 positioning information upload numbers, and the actual number of positioning information upload times is 5.

[0121] In one embodiment, the continuous duration when the real-time speed of the vehicle is 0 m / s is multiple time periods T s1 , T s2 ... T sn . Calculate the reduced number of positioning information upload times for T s1 , T s2 ... T sn respectively.

[0122] For example, if the transport distance D is 480 km and the vehicle's real-time speed is 0 m / s, the continuous durations are 42 min, 15 min, and 170 min respectively. Then, according to the formula [D / 50], the number of positioning information upload times is 9, or the server randomly generates 9 positioning information upload times, respectively according to the formula [T s / 45]、[T s / 20]、[T s / 60] The number of reduced positioning information upload moments is calculated to be 0, 0, and 2 respectively, so the actual number of positioning information upload moments is 7.

[0123] In one embodiment, when the transportation distance D is greater than 100 kilometers, the number of positioning information upload moments is calculated according to the formula [(D-100) / 50]+8.

[0124] In one embodiment, when the transport distance D>100 kilometers, the transport distance is divided into transport distance segments with different distance ranges, and the continuous time T when the real-time speed of the vehicle is 0 m / s is detected. s , in different distance ranges of transportation distance segments, according to T s Reduce the number of times positioning information is uploaded. Specifically, within the distance range of D≤100 kilometers, when 10min<T s When ≤30min, reduce [T s / 20] positioning information upload time; when T s >30min, reduce [T s / 25] Positioning information upload time. When D>100km, when 10min<T s When ≤30min, reduce [T s / 20] positioning information upload time; when 30min<T s When ≤60min, reduce [T s / 45] positioning information upload time; when T s >60min, reduce [T s / 60] positioning information upload time.

[0125] For example, if the transport distance D is 530 km, the continuous durations of the vehicle's real-time speed at 0 m / s within 100 km are 10 minutes and 35 minutes respectively. For distances greater than 100 km, the continuous durations of the vehicle's real-time speed at 0 m / s are 30 minutes, 50 minutes, and 140 minutes respectively. According to the formula [(D-100) / 50]+8, the number of positioning information upload moments is calculated to be 16. The number of positioning information upload moments reduced within 100 km is 0 and 1 respectively. For distances greater than 100 km, the number of positioning information upload moments reduced is 1, 1, and 2 respectively. The actual number of positioning information upload moments is 11.

[0126] The present invention calculates the number of positioning information upload moments based on the transportation distance and the real-time speed of the vehicle, calculates different numbers of positioning information upload moments within different distance ranges, and improves the accuracy of the positioning information upload moment.

[0127] In one embodiment, Figure 5 As shown, the step S102: receiving a positioning information collection start signal, and calculating the positioning information upload time based on the waybill information of the waybill to be transported, further includes:

[0128] Step S501: Obtain historical waybill information and calculate the enterprise credit value based on the historical waybill information;

[0129] Step S502: Calculate the location information upload time according to the enterprise credit value.

[0130] In one embodiment, the vehicle's historical trajectory information is obtained using a BeiDou positioning system mounted on a truck's cockpit, and the corresponding vehicle's historical trajectory information is obtained based on the historical waybill number. A determination is made as to whether the shipping address and delivery address in the historical waybill information match the starting and ending points of the vehicle's historical trajectory information. If both match, a determination is made as to whether the shipping time and delivery time in the historical waybill information match the starting and ending sampling times of the vehicle's historical trajectory information. Based on the historical waybill number, the corresponding driver's historical location information is obtained, and a determination is made as to whether the driver's historical location information matches the vehicle's historical trajectory information. If both match, the historical waybill information is considered normal; otherwise, the historical waybill information is considered abnormal.

[0131] In one embodiment, whether the shipping address and the receiving address of the historical waybill information match the starting and ending points of the vehicle historical trajectory information is determined based on a first distance threshold. When the shipping address and the starting point of the vehicle historical trajectory information are less than the first distance threshold, and the receiving address and the end point of the vehicle historical trajectory information are less than the first distance threshold, the shipping address and the receiving address of the historical waybill information match the starting and ending points of the vehicle historical trajectory information.

[0132] In one embodiment, whether the driver's historical positioning information matches the vehicle's historical trajectory information is determined based on a second distance threshold. When the distance between the driver's historical positioning information and the vehicle's historical trajectory information is less than the second distance threshold, the driver's historical positioning information matches the vehicle's historical trajectory information.

[0133] In one embodiment, whether the delivery time and receipt time of the historical waybill information match the start and end sampling times of the vehicle historical trajectory information is determined based on the first time threshold. When the delivery time and the starting sampling time of the vehicle historical trajectory information are less than the first time threshold, and the receipt time and the end sampling time of the vehicle historical trajectory information are less than the first time threshold, whether the delivery time and receipt time of the historical waybill information match the start and end sampling times of the vehicle historical trajectory information is determined.

[0134] In one embodiment, the first distance threshold is 100 m, the second distance threshold is 100 m, and the first time threshold is 5 min.

[0135] In one embodiment, all historical waybill information corresponding to the enterprise is queried based on the enterprise identification, the proportion of abnormal historical waybill information is calculated, and the number of positioning information upload times is increased based on the proportion of abnormal historical waybill information. Specifically, the proportion of abnormal historical waybill information is M, where M is a percentage. The number of increased positioning information upload times is calculated based on the formula [M / 0.1].

[0136] For example, the transportation distance D is 530 kilometers, and the proportion of abnormal historical waybill information is 25%. Within 100 kilometers, the continuous durations when the vehicle's real-time speed is 0 m / s are 10 minutes and 35 minutes respectively. Within a distance range greater than 100 kilometers, the continuous durations when the vehicle's real-time speed is 0 m / s are 30 minutes, 50 minutes, and 140 minutes respectively. According to the formula [(D-100) / 50]+8, the number of positioning information upload moments is calculated to be 16. The number of positioning information upload moments reduced within 100 kilometers is 0 and 1 respectively. Within a distance range greater than 100 kilometers, the number of positioning information upload moments reduced is 1, 1, and 2 respectively. According to the formula [M / 0.1], the number of positioning information upload moments increased is 2, so the actual number of positioning information upload moments is 13.

[0137] In one embodiment, the step S103 of triggering a positioning information upload signal when the positioning information upload time arrives and acquiring positioning information based on the positioning information upload signal further includes:

[0138] The signal strength of the driver's mobile device is detected in real time, and when the signal strength of the driver's mobile device is less than a signal strength threshold, the positioning information is stored in a cache of the driver's mobile device based on a priority queue.

[0139] In this embodiment, the signal strength threshold is -90dBm. When the signal strength of the driver's mobile device is less than -90dBm, the positioning information uploaded by the location information plug-in is stored in the cache of the mobile device.

[0140] In one embodiment, the positioning information uploaded by the location information plug-in is marked with a timestamp, a priority queue is set according to the order of the timestamps, and the positioning information is stored in the cache of the driver's mobile device according to the priority queue. When the signal strength of the driver's mobile device is greater than -90dBm for a duration greater than 5 minutes, the cached positioning information is uploaded to the server in sequence according to the order of the timestamps.

[0141] In one embodiment, a retry mechanism is set up. When the cached positioning information is uploaded to the server in sequence according to the chronological order of timestamps, it will be automatically re-uploaded when the upload fails. The positioning information that has not been automatically re-uploaded will be stored in the cache of the driver's mobile device in the chronological order of timestamps. When the server receives a positioning information collection end signal, the driver will automatically re-upload the unsuccessful positioning information manually.

[0142] In one embodiment, Figure 6 As shown, before step S101: obtaining the waybill information to be transported, the following is also included:

[0143] Step S601: Acquire enterprise information and perform information authentication based on the enterprise information;

[0144] Step S602: When the information authentication is passed, a positioning information collection start signal is received.

[0145] In this embodiment, when the driver clicks on the departure instruction on the online freight platform, or when the online freight platform automatically transmits the departure instruction to the server, the online freight platform transmits the enterprise information to the location information plug-in for information authentication.

[0146] In this embodiment, the enterprise information includes an enterprise identifier. The server generates a corresponding access security code based on the enterprise identifier and uses the access security code to test the location information plugin's functionality. Specifically, the location information plugin transmits test data based on the access security code to a test environment for functional verification. Once the information is authenticated, the location information plugin is integrated into the online freight platform and the access security code is modified.

[0147] The present invention also proposes a device for collecting and uploading driver location information, such as Figure 7 As shown, the device includes:

[0148] Information acquisition module 701, which is used to obtain the waybill information of the waybill to be transported;

[0149] A signal receiving module 702 is configured to receive a positioning information collection start signal and a positioning information collection end signal;

[0150] A positioning information uploading module 703 is configured to calculate a positioning information uploading time based on the waybill information of the waybill to be transported;

[0151] The positioning information uploading module is further configured to trigger a positioning information uploading signal when the positioning information uploading time arrives, and obtain positioning information based on the positioning information uploading signal.

[0152] In one embodiment, the positioning information uploading module is also used to calculate the first positioning information uploading time based on the waybill information of the waybill to be transported; when the first positioning information uploading time arrives, the first positioning information uploading signal is triggered, and the positioning information is obtained based on the first positioning information uploading signal; the second positioning information uploading time is calculated, and when the second positioning information uploading time arrives, the second positioning information uploading signal is triggered to obtain the positioning information again.

[0153] In one embodiment, the positioning information uploading module is further configured to obtain a positioning information heartbeat packet before the positioning information uploading time arrives; or, after obtaining the positioning information based on the positioning information uploading signal, obtain a positioning information heartbeat packet.

[0154] In one embodiment, the positioning information upload module is also used to calculate the number of random positioning information of the positioning information heartbeat package based on the driver's identity information; calculate the random positioning information upload time interval of the positioning information heartbeat package based on the waybill number; and obtain multiple random positioning information of the positioning information heartbeat package in sequence based on the number of random positioning information and the random positioning information upload time interval.

[0155] In one embodiment, the positioning information uploading module is also used to calculate the transportation distance based on the shipping address and the receiving address; obtain the real-time speed of the vehicle to be transported; and calculate the positioning information uploading time based on the transportation distance and the real-time speed of the vehicle.

[0156] In one embodiment, the positioning information uploading module is further used to obtain historical waybill information, calculate the enterprise credit value based on the historical waybill information; and calculate the positioning information uploading time according to the enterprise credit value.

[0157] In one embodiment, the positioning information uploading module is also used to detect the signal strength of the driver's mobile device in real time. When the signal strength of the driver's mobile device is less than a signal strength threshold, the positioning information is stored in the cache of the driver's mobile device based on a priority queue.

[0158] In one embodiment, the information acquisition module is further configured to acquire enterprise information and perform information authentication based on the enterprise information; when the information authentication is successful, a positioning information acquisition start signal is received.

[0159] In one embodiment, an electronic device is provided, which may be the aforementioned server. The electronic device includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor performs the steps of the method for collecting and uploading driver location information in any of the aforementioned embodiments.

[0160] Although the exemplary embodiments have been described, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the present invention. Therefore, it should be understood that the exemplary embodiments described above are not limitative, but illustrative.

Claims

1. A method for collecting and uploading driver location information, It is characterized by: The following steps are involved: Get the waybill information of the waybill to be transported; Receive a positioning information collection start signal, and calculate a positioning information upload time based on the waybill information of the waybill to be transported, wherein the number of positioning information upload times is randomly generated by the server, and the time interval between each two positioning information upload times is randomly generated by the server; When the positioning information upload time arrives, triggering a positioning information upload signal, and acquiring positioning information based on the positioning information upload signal, wherein the positioning information includes a positioning information heartbeat packet, and the positioning information heartbeat packet includes multiple random positioning information; After receiving the positioning information at the N-1th positioning information upload time, calculate the Nth positioning information upload time, and obtain positioning information again when the Nth positioning information upload time arrives; Receive the positioning information collection end signal and stop obtaining positioning information.

2. The method for collecting and uploading driver location information according to claim 1, characterized in that: When the positioning information upload time arrives, triggering a positioning information upload signal, and acquiring positioning information based on the positioning information upload signal, including: Calculating the first positioning information uploading time according to the waybill information of the waybill to be transported; When the first positioning information upload time arrives, triggering a first positioning information upload signal, and acquiring positioning information based on the first positioning information upload signal; Calculate the second positioning information upload time, and when the second positioning information upload time arrives, trigger the second positioning information upload signal to obtain the positioning information again.

3. The method for collecting and uploading driver location information according to claim 1, characterized in that: The waybill information of the waybill to be transported includes the driver's identity information and the waybill number; The positioning information includes a positioning information heartbeat packet, and the positioning information heartbeat packet includes a plurality of random positioning information, and further includes: Calculating the number of random positioning information of the positioning information heartbeat packet according to the driver identity information; Calculate the random positioning information uploading time interval of the positioning information heartbeat packet according to the waybill number; According to the number of random positioning information and the random positioning information uploading time interval, multiple random positioning information of the positioning information heartbeat packet are obtained in sequence.

4. The method for collecting and uploading driver location information according to claim 1, characterized in that: The waybill information of the waybill to be transported includes the shipping address and the receiving address; The receiving of the positioning information collection start signal and the calculation of the positioning information upload time based on the waybill information of the waybill to be transported include: Calculate the shipping distance based on the shipping address and the shipping address; Get the real-time speed of the vehicle to be transported; The time for uploading the positioning information is calculated based on the transportation distance and the real-time speed of the vehicle.

5. The method for collecting and uploading driver location information according to claim 1, characterized in that: The receiving of the positioning information collection start signal and the calculation of the positioning information upload time based on the waybill information of the waybill to be transported include: Obtain historical waybill information and calculate the enterprise credit value based on the historical waybill information; The time to upload positioning information is calculated based on the enterprise credit value.

6. The method for collecting and uploading driver location information according to claim 1, characterized in that: The positioning information collection start signal is a manual trigger signal; the positioning information collection end signal is a manual trigger signal.

7. The method for collecting and uploading driver location information according to claim 1, characterized in that: When the positioning information upload time arrives, triggering a positioning information upload signal, and acquiring positioning information based on the positioning information upload signal, includes: The signal strength of the driver's mobile device is detected in real time, and when the signal strength of the driver's mobile device is less than a signal strength threshold, the positioning information is stored in a cache of the driver's mobile device based on a priority queue.

8. The method for collecting and uploading driver location information according to claim 1, characterized in that: Before obtaining the waybill information to be transported, it also includes: Obtaining enterprise information and performing information authentication based on the enterprise information; When the information authentication is passed, a positioning information collection start signal is received.

9. A device for collecting and uploading driver location information, characterized in that: The device comprises: An information acquisition module, which is used to obtain the waybill information of the waybill to be transported; A signal receiving module, the signal receiving module is used to receive a positioning information collection start signal and a positioning information collection end signal; A positioning information uploading module, the positioning information uploading module is used to calculate the positioning information uploading time based on the waybill information of the waybill to be transported, the number of the positioning information uploading time is randomly generated by the server, and the time interval between each two positioning information uploading time is randomly generated by the server; The positioning information uploading module is further configured to trigger a positioning information uploading signal when the positioning information uploading time arrives, and obtain positioning information based on the positioning information uploading signal, wherein the positioning information includes a positioning information heartbeat packet, and the positioning information heartbeat packet includes a plurality of random positioning information; The positioning information uploading module is further configured to calculate the Nth positioning information uploading time after receiving the positioning information at the N-1th positioning information uploading time, and obtain positioning information again when the Nth positioning information uploading time arrives.

Citation Information

Patent Citations

  • Freight positioning method, device and system

    CN114697865A