Method and device for collecting and uploading position information of driver and electronic equipment

By calculating and triggering the upload time of positioning information, the positioning information including the random positioning information heartbeat packet is obtained, and the problem of data cannot be uploaded due to low authenticity of driver position information collection and poor signal in the prior art is solved, and more efficient and reliable positioning information collection and uploading is achieved.

CN119584057AActive Publication Date: 2025-03-07CHINA ACAD OF TRANSPORTATION SCI
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, driver position information collection is low, and data cannot be uploaded when the signal is poor, resulting in challenges in the organizational scheduling of network freight business and industry safety supervision.

Method used

By obtaining the waybill information of the waybill to be transported, the positioning information upload time is calculated, and the positioning information upload signal is triggered at that time, and the positioning information including the random positioning information heartbeat packet is obtained.

Benefits of technology

It improves the authenticity and reliability of driver position information collection, ensures that positioning information can be effectively uploaded in the case of poor signals, and supports efficient organization of network freight services and industry safety supervision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119584057A_ABST
    Figure CN119584057A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for acquiring and uploading driver position information and electronic equipment. The method comprises the following steps: acquiring waybill information of a waybill to be transported; receiving a positioning information acquisition starting signal, and calculating a positioning information uploading moment based on the waybill information of the to-be-transported waybill; when the positioning information uploading moment arrives, a positioning information uploading signal is triggered, positioning information is obtained based on the positioning information uploading signal, the positioning information comprises a positioning information heartbeat packet, and the positioning information heartbeat packet comprises multiple pieces of random positioning information; and receiving a positioning information acquisition ending signal, and stopping acquiring the positioning information, thereby ensuring the authenticity of the acquisition of the position information of the driver.
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 technologies, new logistics formats based on online freight platforms have developed rapidly. In online freight business, the driver's positioning information can represent the location of transportation capacity while searching for sources of cargo. As a data source for cargo transportation organization, its 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 and pay high data usage fees. In addition, mobile phone users are required to send text messages to confirm permission each time positioning is performed. A unified version of the location information service APP is developed or existing APPs with high installation rates are used (such as Gaode, Alipay, WeChat, etc.). It costs a lot for each online freight company to upload location information through this APP. Even if a uniformly developed location information plug-in is embedded in the driver-side APP of the online freight platform, there is still a possibility that the driver's location information can be forged, and there is also 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 position information, so as to solve the problem in the prior art that the authenticity of driver position information collection 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 the 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 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: obtaining a positioning information heartbeat packet before the positioning information upload time arrives; or, obtaining a positioning information heartbeat packet after obtaining the positioning information based on the positioning information upload signal.

[0008] In one of the embodiments, 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 multiple random positioning information, and also includes: calculating the number of random positioning information of the positioning information heartbeat packet based on the driver's identity information; calculating the random positioning information upload time interval of the positioning information heartbeat packet based on the waybill number; and obtaining multiple random positioning information of the positioning information heartbeat packet in sequence based on the number of random positioning information and the random positioning information upload time interval.

[0009] In one of the embodiments, 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 of the waybill to be transported; and calculating the positioning information upload time based on the transportation distance and the real-time speed of the vehicle.

[0010] In one of the embodiments, 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 of the embodiments, the positioning information collection start signal is a manual trigger signal; the positioning information collection end signal is a manual trigger signal.

[0012] In one of the embodiments, 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, 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 of the embodiments, 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, 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 A flowchart of a method for collecting and uploading driver location information in one embodiment; Figure 2 A flowchart of a method for collecting and uploading driver location information in another embodiment; Figure 3 A flowchart of a method for calculating a positioning information heartbeat packet in one embodiment; Figure 4 A flowchart of a method for calculating the location information upload time in one embodiment; Figure 5 A flowchart of a method for calculating the location information upload time in another embodiment; Figure 6 A flowchart of a method for collecting and uploading driver location information in yet another embodiment; 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

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

[0017] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The words "a", "an", "the", etc. used herein should also include the meanings of "multiple", "multiple", etc., unless the context clearly indicates otherwise. In addition, the terms "include", "comprise", etc. used herein indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0018] In addition, although the terms "first", "second", etc. are used many times herein to describe various elements (or various thresholds or various applications or various instructions or various operations), etc., 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 referred to as the second positioning information upload moment, and the second positioning information upload moment can also be referred to as the first positioning information upload moment, without departing from the scope of the present invention, and the first positioning information upload moment and the second positioning information upload moment are not the same threshold.

[0019] All terms (including technical and scientific terms) used herein 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.

[0020] 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: Step S101: Obtain the waybill information of the waybill to be transported.

[0021] 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.

[0022] 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 ID number, and driver's mobile device ID.

[0023] 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.

[0024] 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.

[0025] 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 vehicle's real-time speed. When the vehicle's real-time speed is greater than 0m / s and the vehicle's real-time speed increases continuously within 1 minute, that is, the vehicle's 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.

[0026] 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 according to the waybill information of the waybill to be transported.

[0027] 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.

[0028] 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.

[0029] 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.

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

[0031] 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.

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

[0033] 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.

[0034] In one embodiment, the time interval between every 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 every two positioning information upload moments increases by 0.5 hours successively.

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

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

[0037] 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.

[0038] In this embodiment, the online freight platform integrates a location information plug-in. After the server calculates the time for uploading the positioning information, it counts based on the time interval between the current time and the time for uploading the positioning information. When the time for uploading the positioning information 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 of uploading the positioning information and sends the current real-time position to the server, wherein the positioning information is the current real-time position at the time of uploading the positioning information.

[0039] 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 receives a1 Start timing 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 plugin 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.

[0040] 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 upload moments.

[0041] 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 every two random positioning information is a fixed time length.

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

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

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

[0045] 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.

[0046] In one embodiment, the time interval between every two random positioning information in the positioning information heartbeat packet is fixedly increased. For example, the time interval between every two random positioning information is increased by 2s sequentially.

[0047] For example, the time for uploading the positioning information is T9. When T9 arrives, the location information plug-in also obtains the positioning information heartbeat packet. The server sends an instruction to the location information plug-in to obtain a positioning information heartbeat packet consisting of 5 random positioning information. The time intervals between each two random positioning 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 positioning information to form a positioning information heartbeat packet, and sends the current real-time position at T9 and the positioning information heartbeat packet to the server.

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

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

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

[0051] 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.

[0052] 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.

[0053] In one embodiment, when an enterprise clicks on receiving goods on the online freight platform, the online freight platform transmits the receiving instruction to the server, and the receiving instruction is the signal for ending the collection of positioning information.

[0054] In one embodiment, when the driver is switched during the transportation process, the original driver clicks pause on the online freight platform, and the online freight platform transmits the pause instruction to the server, and the pause instruction is the signal for the end of positioning information collection.

[0055] 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, and the pause instruction is a signal that the positioning information collection ends.

[0056] 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, and the pause instruction is a signal for ending the collection of positioning information.

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

[0058] In one embodiment, Figure 2 As shown, the step S103: when the positioning information upload time arrives, triggering the positioning information upload signal, and acquiring the positioning information based on the positioning information upload signal, also includes: Step S201: Calculate the first positioning information upload time according to the waybill information of the waybill to be transported; 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; Step S203: 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.

[0059] 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.

[0060] 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.

[0061] 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, and the location information plug-in obtains the positioning information according to the first positioning information upload signal, that is, the current real-time position at the first positioning information upload time, and uploads it to the server. After the server receives the positioning information at the first positioning information upload time, it 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, and the location information plug-in obtains the positioning information again according to the second positioning information upload signal, that is, the current real-time position at the second positioning information upload time, and uploads it to the server.

[0062] 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.

[0063] 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 time T 11 The countdown starts when T 11 When the time arrives, or from T 11 When the countdown starts at 0s, the location information plugin 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 plugin 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.

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

[0065] In one embodiment, the step S103: when the positioning information upload time arrives, triggering a positioning information upload signal, and acquiring positioning information based on the positioning information upload signal, further includes: 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.

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

[0067] In one embodiment, the 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.5h. Specifically, at least 0.5h before the time of uploading the positioning information arrives, the server sends an instruction to obtain the positioning information heartbeat packet to the position information plug-in, and the position information plug-in sends the positioning information heartbeat packet to the server. When the positioning information upload time arrives, the position information plug-in uploads the current real-time position at the time of uploading the positioning information to the server again.

[0068] 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.5h. Specifically, the server issues an instruction to obtain the location information heartbeat packet to the location information plug-in at least 0.5h after obtaining the location information. In other words, after the location information plug-in uploads the current real-time position 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 sends the location information heartbeat packet to the server again.

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

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

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

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

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

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

[0075] 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.

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

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

[0078] 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 greater the number of random positioning information in the positioning information heartbeat packet and the shorter the upload time interval between each two random positioning information.

[0079] 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.

[0080] 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 a plurality of random positioning information, and further includes: Step S301: Calculating the number of random positioning information of the positioning information heartbeat packet according to the driver identity information; Step S302: Calculate the random positioning information uploading time interval of the positioning information heartbeat packet according to the waybill number; Step S303: sequentially acquiring multiple 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.

[0081] In one embodiment, the number of random positioning information of the positioning information heartbeat packet is calculated according to the driver's ID number. Specifically, the last digit of the driver's ID number is obtained, and the number of random positioning information of 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 of the positioning information heartbeat packet is 7.

[0082] In one embodiment, the number of random positioning information in the positioning information heartbeat packet increases with the increase of the transportation distance. Specifically, when the transportation distance is 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 the result of D divided by 50.

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

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

[0085] Specifically, the last digit and the second to last digit of the waybill number are obtained, and the integer part of the upload time interval between each two random positioning information is calculated according to the formula Y%5+5, and the decimal part of the upload time interval between each two random positioning information is calculated according to the formula Z%5+5, where Y is the last digit of the waybill number, Z is the second to last digit of the waybill number, Y%5 is the remainder of Y divided by 5, and Z%5 is the remainder of Z divided by 5. For example, the waybill number is 3920245, the last digit and the second to last digit of the waybill number are 4 and 5 respectively, the integer part of the upload time interval between each two random positioning information is 5%5+1=1, and the decimal part of the upload time interval between each two random positioning information is 4%5+5=9, that is, the upload time interval between each two random positioning information is 1.9 seconds.

[0086] 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.

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

[0088] In one embodiment, Figure 4 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, also includes: Step S401: Calculate the transportation distance based on the shipping address and the receiving address; Step S402: obtaining the real-time speed of the vehicle to be transported; Step S403: Calculate the time for uploading the positioning information based on the transportation distance and the real-time speed of the vehicle.

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

[0090] 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, that is, the Haversine formula.

[0091] 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.

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

[0093] 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.

[0094] 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 position according to the formula T N-1 +|D / V0-(DD s ) / V i | Calculate the time of uploading the Nth positioning information, where D is the transportation distance, D s 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.

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

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

[0097] In one embodiment, the longitude and latitude (c1, c2) of the current real-time position of the vehicle are obtained through a vehicle-mounted Beidou positioning system fixed in the truck cab. Based on the longitude and latitude of the shipping address A being (a1, a2) and the longitude and latitude (c1, c2) of the current real-time position of the vehicle, the Haversine formula, i.e., the spherical cosine law, is used to calculate the distance D that the vehicle has traveled. s .

[0098] In one embodiment, V i is obtained through a vehicle-mounted Beidou positioning system fixed in the truck cab.

[0099] For example, when D is 370 km, T0 is 09:24, and V obtained through the vehicle-mounted Beidou positioning system i is 75 km / h, the upload time T1 of the first positioning information is calculated as T0 + 0.66 h, i.e., 10:04. When the upload time T1 of the first positioning information reaches 10:04, the position information plugin uploads the positioning information at the upload time T1 of 10:04 to the server. After receiving the positioning information at the upload time T1 of 10:04, the server calculates the upload time T2 of the second positioning information according to the formula T i-1 + |D / V0 - (D - D s ) / V i |. At this time, V obtained through the vehicle-mounted Beidou positioning system i is 68 km / h, and D s is 49.5 km. Then the upload time T2 of the second positioning information is 10:04 + 0.088 h, i.e., 10:09. When the upload time T2 of the second positioning information reaches 10:09, the position information plugin uploads the positioning information at the upload time T2 of 10:09 to the server. After receiving the positioning information at the upload time T2 of 10:09, the server calculates the upload time T3 of the third positioning information according to the formula T i-1 + |D / V0 - (D - D s ) / V i |. At this time, V obtained through the vehicle-mounted Beidou positioning system i is 76 km / h, and D s is 55.5 km. Then the upload time T3 of the third positioning information is 10:09 + 0.49 h, i.e., 10:38.

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

[0101] 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 kilometers, 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.

[0102] In one embodiment, detect the continuous duration T when the real-time vehicle speed is 0 m / s s , and according to T s reduce the number of positioning information upload times. 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.

[0103] For example, if the transportation distance D is 480 kilometers and the continuous duration when the real-time vehicle speed 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 times, so the actual number of positioning information upload times is 5.

[0104] In one embodiment, the continuous duration when the real-time vehicle speed is 0 m / s is multiple time periods T s1 、T s2 ……T sn , and calculate the reduction quantity of the positioning information upload times for T s1 、T s2 ……T sn respectively.

[0105] For example, if the transportation distance D is 480 kilometers and the continuous durations when the real-time vehicle speed is 0 m / s 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. According to the formulas [T s / 45], [T s / 20], and [T s / 60] to calculate the reduction quantities of the positioning information upload times are 0, 0, and 2 respectively, so the actual number of positioning information upload times is 7.

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

[0107] 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 to upload positioning information. Specifically, within the distance range of D ≤ 100 km, 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.

[0108] For example, the transportation distance D is 530 kilometers. Within 100 kilometers, the continuous time when the vehicle's real-time speed is 0 m / s is 10 minutes and 35 minutes respectively. Within a distance range greater than 100 kilometers, the continuous time when the vehicle's real-time speed is 0 m / s is 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. The actual number of positioning information upload moments is 11.

[0109] 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.

[0110] 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, also includes: Step S501: Obtain historical waybill information, and calculate the enterprise credit value based on the historical waybill information; Step S502: Calculate the location information upload time according to the enterprise credit value.

[0111] In one embodiment, the vehicle historical trajectory information is obtained according to the vehicle-mounted Beidou positioning system fixed in the truck cockpit, and the corresponding vehicle historical trajectory information is obtained according to the historical waybill number. It is determined 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; if they match, it is determined whether the shipping time and the receiving time of the historical waybill information match the starting and ending sampling time of the vehicle historical trajectory information; the corresponding driver historical positioning information is obtained according to the historical waybill number, and it is determined whether the driver historical positioning information matches the vehicle historical trajectory information. If they match, the historical waybill information is normal, otherwise, the historical waybill information is abnormal.

[0112] In one embodiment, a first distance threshold is used to determine whether the shipping address and the delivery address of the historical waybill information match the starting and ending points of the vehicle's historical trajectory information. When the shipping address and the starting point of the vehicle's historical trajectory information are less than the first distance threshold, and the delivery address and the end point of the vehicle's historical trajectory information are less than the first distance threshold, the shipping address and the delivery address of the historical waybill information match the starting and ending points of the vehicle's historical trajectory information.

[0113] 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 driver's historical positioning information and the vehicle's historical trajectory information are less than the second distance threshold, the driver's historical positioning information matches the vehicle's historical trajectory information.

[0114] 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's historical trajectory information is determined based on the first time threshold. When the delivery time and the starting sampling time of the vehicle's historical trajectory information are less than the first time threshold, and the receipt time and the end sampling time of the vehicle's historical trajectory information are less than the first time threshold, the delivery time and receipt time of the historical waybill information match the start and end sampling times of the vehicle's historical trajectory information.

[0115] 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.

[0116] 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 increased number of positioning information upload times is calculated based on the formula [M / 0.1].

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

[0118] In one embodiment, the step S103: when the positioning information upload time arrives, triggering a positioning information upload signal, and acquiring positioning information based on the positioning information upload signal, further 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.

[0119] 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.

[0120] In one embodiment, the positioning information uploaded by the location information plug-in is timestamped, a priority queue is set in the order of 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 in the order of timestamps.

[0121] In one embodiment, a retry mechanism is set up, and 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, and 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 signal that the positioning information collection ends, the driver will automatically re-upload the unsuccessful positioning information manually.

[0122] In one embodiment, Figure 6 As shown, before step S101: obtaining the waybill information to be transported, it also includes: Step S601: Acquire enterprise information and perform information authentication based on the enterprise information; Step S602: When the information authentication is passed, a positioning information collection start signal is received.

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

[0124] In this embodiment, the enterprise information includes the enterprise identification, and the server generates a corresponding access security code according to the enterprise identification, and tests the function of the location information plug-in according to the access security code. Specifically, the location information plug-in transmits the test data to the test environment for functional verification based on the access security code. After the information authentication is passed, the location information plug-in is integrated into the network freight platform and the access security code is modified.

[0125] The present invention also proposes a device for collecting and uploading driver location information, such as Figure 7 As shown, the device comprises: An information acquisition module 701, which is used to acquire waybill information of the waybill to be transported; A signal receiving module 702, 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 703, 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 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.

[0126] In one embodiment, the positioning information uploading module is also used to calculate 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; the second positioning information upload time is calculated, and when the second positioning information upload time arrives, the second positioning information upload signal is triggered to obtain the positioning information again.

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

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

[0129] 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 upload time based on the transportation distance and the real-time speed of the vehicle.

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

[0131] 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.

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

[0133] In one embodiment, an electronic device is provided, which may be the above-mentioned server, and includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of a method for collecting and uploading driver location information in any of the above-mentioned embodiments.

[0134] Although example 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 inventive concept. Therefore, it should be understood that the above example embodiments are not restrictive, but illustrative.

Claims

1. A method for collecting and uploading driver location information, characterized in that: The following steps are involved: Get the waybill information of the 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 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 a plurality of random positioning information; 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: Calculate 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; The second positioning information upload time is calculated, and when the second positioning information upload time arrives, the second positioning information upload signal is triggered to obtain the positioning information again.

3. 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: Before the location information upload time arrives, obtain the location information heartbeat packet; or, After obtaining the positioning information based on the positioning information upload signal, obtain the positioning information heartbeat packet.

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 driver's identity information and the waybill number; The positioning information includes a positioning information heartbeat packet, the positioning information heartbeat packet includes a plurality of random positioning information, and further includes: Calculate 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.

5. 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 calculating the positioning information upload time based on the waybill information of the waybill to be transported include: Calculate the transportation distance based on the shipping address and the receiving 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.

6. 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 calculating 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.

7. 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.

8. 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.

9. 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: Acquire enterprise information, and perform information authentication based on the enterprise information; When the information authentication is passed, a positioning information collection start signal is received.

10. A device for collecting and uploading driver location information, characterized in that: The device comprises: 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 uploading time based on the waybill information of the waybill to be transported; 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.

Citation Information

Patent Citations

  • Method and device for uploading geographical location data of user

    CN105451171A

  • Shared device position prediction method and device and storage medium

    CN112785371A

  • Driving task acquisition method, issuing supervision and management method and related equipment and system

    CN114360252A

  • Freight positioning method, device and system

    CN114697865A

  • Driver activity and vehicle operation logging and reporting

    US20070038338A1