Vehicle data reporting method and device, electronic equipment and storage medium

By calculating the heading angle change rate in the vehicle-mounted terminal and dynamically adjusting the reporting cycle, the problem of uneven trajectory caused by fixed-cycle uploading of vehicle positioning information is solved, improving the efficiency and accuracy of vehicle data reporting, and improving user experience.

CN118865663APending Publication Date: 2024-10-29CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410839171.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In the existing technology, vehicle positioning information is uploaded at fixed intervals, resulting in uneven vehicle trajectory drawing in complex road sections such as overpasses, turns, U-turns, etc., making it impossible to accurately judge vehicle operation conditions, resulting in low trajectory accuracy.

Method used

The vehicle-mounted terminal receives positioning data and calculates the heading angle change rate, and dynamically adjusts the reporting period according to the change rate, thereby increasing the data reporting frequency and avoiding trajectory errors caused by excessive position information gradients.

Benefits of technology

It improves the efficiency and accuracy of vehicle data reporting, provides more accurate data support, and improves the user experience of vehicle operation and safety assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865663A_ABST
    Figure CN118865663A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent traffic, and provides a vehicle data reporting method and device, electronic equipment and a storage medium. The method comprises the following steps: periodically receiving vehicle positioning data including a vehicle course angle, reporting the vehicle positioning data to a server in a second preset period when determining that a data reporting condition is met, calculating a change rate of the vehicle course angle in real time, and updating the vehicle course angle when the change rate meets a reporting period updating condition. And updating the second preset period to a third preset period with a smaller value, and reporting the vehicle positioning data to the server according to the third preset period, thereby improving the data reporting frequency in a scene with relatively large position information gradient, such as vehicle turning and turning around, and improving the vehicle positioning accuracy. According to the method and the device, the situation that the error of the vehicle track drawn by the server according to the received vehicle data is too large due to omission of excessive position information is avoided, the vehicle data reporting efficiency is improved, more accurate data support is provided for vehicle operation and vehicle safety evaluation at low cost, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent transportation technology, and in particular to a vehicle data reporting method, device, electronic device and storage medium. Background Art

[0002] In modern intelligent transportation systems, operating vehicles upload positioning information through vehicle controllers at fixed time periods. This positioning information is then transmitted to a high-performance cloud platform for precise processing and analysis. Based on the received positioning data, the cloud platform uses advanced algorithms and map matching technology to draw the current running trajectory of the vehicle in real time and retain past driving records. This technology provides important data support for vehicle management and helps to evaluate the economy, safety and operational efficiency of the vehicle.

[0003] However, the cloud platform draws the operation trajectory of the vehicle based on the positioning information uploaded by the vehicle controller at a fixed period. Since the upload is at a fixed period, when the vehicle is driving on complex roads such as overpasses, turns, and U-turns, the trajectory of the positioning point position uploaded by the cloud platform at a fixed period is not smooth. In the overpass scenario, it is even impossible to judge how the vehicle is running. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a vehicle data reporting method, device, electronic device and storage medium to solve the problem in the prior art that the gradient of position information in the vehicle reporting data is too large, resulting in low accuracy of the drawn vehicle trajectory.

[0005] According to a first aspect of an embodiment of the present application, a vehicle data reporting method is provided, the method being executed by a vehicle-mounted terminal, comprising:

[0006] In response to receiving the vehicle data reporting instruction, the vehicle terminal receives the vehicle positioning data at a first preset period, where the vehicle positioning data at least includes a heading angle of the vehicle;

[0007] In response to determining that the vehicle meets the data reporting condition, reporting the vehicle positioning data to the server at a second preset period;

[0008] Calculating a vehicle heading angle change rate at a first preset period;

[0009] In response to determining that the vehicle heading angle change rate meets the reporting period update condition, the second preset period is updated to a third preset period, and the vehicle positioning data is reported to the server at the third preset period.

[0010] A second aspect of an embodiment of the present application provides a vehicle data reporting device, including:

[0011] A receiving module, configured to receive vehicle positioning data at a first preset period in response to receiving a vehicle data reporting instruction, wherein the vehicle positioning data at least includes a heading angle of the vehicle;

[0012] A reporting module, configured to report the vehicle positioning data to the server at a second preset period in response to determining that the vehicle meets the data reporting condition;

[0013] A calculation module, configured to calculate a vehicle heading angle change rate at a first preset period;

[0014] The reporting module is also configured to update the second preset period to a third preset period in response to determining that the vehicle heading angle change rate meets the reporting period update condition, and report the vehicle positioning data to the server in the third preset period.

[0015] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0016] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0017] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the embodiments of the present application periodically receives vehicle positioning data including the vehicle heading angle, and when it is determined that the data reporting conditions are met, first reports the vehicle positioning data to the server at a second preset period, and at the same time calculates the change rate of the vehicle heading angle in real time. When the change rate meets the reporting period update conditions, the second preset period is updated to a third preset period with a smaller value, and the vehicle positioning data is reported to the server at the third preset period. This can increase the data reporting frequency in scenarios with a large gradient of position information such as vehicle turning and U-turns, avoid missing too much position information that causes the server to obtain a large error in the vehicle trajectory drawn based on the received vehicle data, improve the efficiency of vehicle data reporting, provide more accurate data support for vehicle operation and vehicle safety assessment at a lower cost, and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1It is a scenario diagram of an application scenario of an embodiment of the present application.

[0020] Figure 2 The vehicle trajectory is drawn using the positioning information uploaded by the vehicle controller at a fixed period.

[0021] Figure 3 It is a flow chart of a vehicle data reporting method provided in an embodiment of the present application.

[0022] Figure 4 It is a flow chart of a method for determining whether a vehicle meets data reporting conditions provided in an embodiment of the present application.

[0023] Figure 5 It is a flow chart of a method for calculating the rate of change of vehicle heading angle using a first preset period provided in an embodiment of the present application.

[0024] Figure 6 It is a flow chart of another vehicle data reporting method provided in an embodiment of the present application.

[0025] Figure 7 It is a flow chart of another vehicle data reporting method provided in an embodiment of the present application.

[0026] Figure 8 It is a flow chart of another vehicle data reporting method provided in an embodiment of the present application.

[0027] Fig. 9 It is a flow chart of another vehicle data reporting method provided in an embodiment of the present application.

[0028] Fig.10 It is a vehicle operation trajectory diagram obtained by drawing the data reported by the vehicle data reporting method provided in the embodiment of the present application.

[0029] Fig.11 It is a schematic diagram of a vehicle data reporting device provided in an embodiment of the present application.

[0030] Fig.12 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0032] A vehicle data reporting method and device according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0033] Figure 1 1 is a schematic diagram of an application scenario of an embodiment of the present application. The application scenario may include a vehicle terminal 1, a server 2 and a network 3.

[0034] The vehicle terminal 1 may be a vehicle intelligent terminal (Telematics BOX, TBOX). The server 2 may be a server that provides various services, for example, a background server that receives a request sent by a terminal device that establishes a communication connection with the server, and the background server may receive and analyze the request sent by the terminal device, and generate a processing result. The server 2 may be a single server, or a server cluster composed of several servers, or a cloud computing service center, and the embodiment of the present application does not limit this.

[0035] Network 3 can be a wired network connected by coaxial cable, twisted pair and optical fiber, or it can be a wireless network that can interconnect various communication devices without wiring, such as Bluetooth, Near Field Communication (NFC), infrared, etc., which is not limited in the embodiments of the present application.

[0036] The user can obtain vehicle data from other devices such as satellites and roadside devices through the vehicle terminal 1, and then report the vehicle data to the server 2 through the network 3. The server 2 receives the vehicle data reported by the vehicle, analyzes and processes it, and applies it as needed, such as drawing the vehicle's driving trajectory.

[0037] It should be noted that the specific types, quantities and combinations of the vehicle-mounted terminal 1, the server 2 and the network 3 can be adjusted according to the actual needs of the application scenario, and the embodiments of the present application do not limit this.

[0038] As mentioned above, the cloud platform draws the operation trajectory based on the positioning information uploaded by the vehicle controller at a fixed period. The cloud platform draws the current and past operation trajectory of the vehicle. However, due to the fixed-period upload, when the vehicle is driving on complex sections such as overpasses, turns, and U-turns, the trajectory of the positioning point position uploaded by the cloud platform based on the periodic upload is not smooth. In the overpass scenario, it is even impossible to judge how the vehicle is operating.

[0039] Figure 2 The vehicle running track is drawn using the positioning information uploaded by the vehicle controller at a fixed period. Figure 2As shown, numbers 1 to 6 are six time points. According to the positioning information uploaded by the vehicle controller at a fixed period, the vehicle positions corresponding to the four circles in the figure can be determined. The positions corresponding to the four circles can be connected in sequence to draw the running track of the vehicle. Figure 2 It can be seen that there is a large error between the running trajectory obtained by the above drawing and the actual trajectory, which will cause errors in the safety assessment and economic assessment of the vehicle.

[0040] That is to say, Figure 2 The vehicle in the figure moves in the direction of the arrow from the starting position and reports the positioning data at a fixed time period. Due to the longer reporting time interval, after the vehicle passes the overpass in a short time, the connection line of the reported data points is not smooth and the trajectory is difficult to identify. If the reporting interval is shortened, the burden of TBOX reporting data traffic and the burden of platform data processing will be increased.

[0041] In view of this, an embodiment of the present application provides a vehicle data reporting method, which periodically receives vehicle positioning data including a vehicle heading angle, and when it is determined that the data reporting conditions are met, first reports the vehicle positioning data to the server at a second preset period, and at the same time calculates the change rate of the vehicle heading angle in real time. When the change rate meets the reporting period update conditions, the second preset period is updated to a third preset period with a smaller value, and the vehicle positioning data is reported to the server at the third preset period. In this way, in scenarios where the position information gradient is large, such as vehicle turning or U-turning, the data reporting frequency can be increased, and the omission of too much position information resulting in excessive errors in the vehicle trajectory drawn by the server based on the received vehicle data can be avoided, thereby improving the efficiency of vehicle data reporting, providing more accurate data support for vehicle operation and vehicle safety assessment at a lower cost, and improving user experience.

[0042] Figure 3 It is a flow chart of a vehicle data reporting method provided in an embodiment of the present application. Figure 3 The vehicle data reporting method can be Figure 1 The vehicle terminal is executed. Figure 3 As shown, the method comprises the following steps:

[0043] In step S301, in response to receiving a vehicle data reporting instruction, the vehicle terminal receives vehicle positioning data at a first preset period.

[0044] The vehicle positioning data at least includes the heading angle of the vehicle.

[0045] In step S302, in response to determining that the vehicle meets the data reporting condition, the vehicle positioning data is reported to the server at a second preset period.

[0046] In step S303, the vehicle heading angle change rate is calculated at a first preset period.

[0047] In step S304, in response to determining that the vehicle heading angle change rate meets the reporting period update condition, the second preset period is updated to a third preset period, and the vehicle positioning data is reported to the server at the third preset period.

[0048] In the embodiment of the present application, the method may be executed by a vehicle-mounted terminal, such as a TBOX, and the method may be carried on the application layer of the TBOX.

[0049] In the embodiment of the present application, when TBOX receives the vehicle data reporting instruction, it can receive the vehicle positioning data in the first preset period. The vehicle data reporting instruction can be an instruction sent from the server to TBOX, or it can be an instruction automatically generated by TBOX based on a preset trigger condition, for example, after the engine or motor of the vehicle is started, the vehicle data reporting instruction is automatically generated so that TBOX reports the vehicle data based on the instruction. The first preset period can be set according to actual needs, for example, 0.1 seconds (s), that is, the receiving frequency is 10 Hz.

[0050] In the embodiment of the present application, the vehicle positioning data may be global positioning system (GPS) data, or other positioning data, which is not limited here. For the convenience of description and explanation, the vehicle positioning data is GPS data as an example for explanation below.

[0051] In an embodiment of the present application, GPS data can be received by the GPS module in the TBOX module, and the received GPS data can be global positioning recommended minimum specific (GPRMC) format data. The GPRMC format data of the vehicle includes at least the heading angle of the vehicle, and further, it can also include information such as time, vehicle position, vehicle positioning speed, etc. Among them, the heading angle of the vehicle refers to the heading angle of the vehicle's current travel, which can also be called the ground heading (Course Over Ground, COG), which indicates the angle of the vehicle's current moving direction relative to the north direction. For example, if the ground heading angle is 84.4 degrees, it means that the vehicle is currently moving in a direction 84.4 degrees east of the north direction. Furthermore, the TBOX system layer can save the received GPRMC format data locally.

[0052] In the embodiment of the present application, after receiving the vehicle data reporting instruction, TBOX can determine whether the vehicle meets the data reporting conditions. If it is determined that the vehicle meets the data reporting conditions, TBOX can report the vehicle positioning data to the server in the second preset period. The second preset period can be set according to actual needs and is not limited here.

[0053] In the embodiment of the present application, after TBOX reports the vehicle positioning data to the server in the second preset period, it can also calculate the vehicle heading angle change rate in the first preset period. If TBOX determines that the vehicle heading angle change rate meets the reporting period update condition, the second preset period is updated to the third preset period, and the vehicle positioning data is reported to the server in the third preset period.

[0054] Among them, the third preset period is less than the second preset period. Further, the first preset period can be set to be less than the second preset period, and less than or equal to the third period. That is, TBOX receives vehicle positioning data in the first preset period and calculates the rate of change of the vehicle heading angle. The received vehicle positioning data is reported in the second period or the third period, so as to realize the reporting of vehicle data at a lower frequency when the vehicle is traveling straight, and to increase the frequency of vehicle data reporting when the vehicle's driving direction changes, so as to improve the efficiency of vehicle data reporting.

[0055] According to the technical solution provided in the embodiment of the present application, by periodically receiving vehicle positioning data including the vehicle heading angle, when it is determined that the data reporting conditions are met, the vehicle positioning data is first reported to the server at a second preset period, and the change rate of the vehicle heading angle is calculated in real time. When the change rate meets the reporting period update conditions, the second preset period is updated to a third preset period with a smaller value, and the vehicle positioning data is reported to the server at the third preset period. This can increase the data reporting frequency in scenarios with a large gradient of position information such as vehicle turning and U-turns, avoid missing too much position information that causes the server to obtain a large error in the vehicle trajectory drawn based on the received vehicle data, improve the efficiency of vehicle data reporting, provide more accurate data support for vehicle operation and vehicle safety assessment at a lower cost, and improve user experience.

[0056] Figure 4 is a flow chart of a method for determining that a vehicle meets data reporting conditions provided in an embodiment of the present application. Figure 4 As shown, the method comprises the following steps:

[0057] In step S401, the wheel speed and engine speed of the vehicle are acquired.

[0058] In step S402, the positioning vehicle speed is obtained from the vehicle positioning data.

[0059] In step S403, in response to determining that the wheel speed and the positioning speed are both greater than zero, and the engine speed is greater than a preset speed threshold, it is determined that the vehicle meets the data reporting conditions.

[0060] In the embodiment of the present application, when determining whether the vehicle meets the data reporting conditions, the wheel speed and engine speed of the vehicle can be first obtained, and the positioning speed can be obtained from the vehicle positioning data. Then, it is determined whether the wheel speed and the positioning speed are greater than zero, and whether the engine speed is greater than a preset speed threshold. When it is determined that the wheel speed and the positioning speed are both greater than zero, and the engine speed is greater than the preset speed threshold, it is determined that the vehicle meets the data reporting conditions.

[0061] The wheel speed and engine speed of the vehicle can be obtained through the vehicle's controller area network (CAN) bus, or other methods, such as Ethernet for some vehicle units, which is not limited here. Whether the vehicle meets the data reporting conditions can be expressed by the following formula:

[0062] A1=Vehicle speed>0&&Engine speed>Th1&&Positioning speed>0

[0063] Among them, A1 represents the result of the data reporting condition judgment, && represents AND, that is, the value of A1 is true when the three conditions in the formula are met at the same time, otherwise the value of A1 is false. Th1 is a preset speed threshold, and its value is set according to actual needs, for example, 800.

[0064] Figure 5 is a flow chart of a method for calculating a vehicle heading angle change rate in a first preset period provided in an embodiment of the present application. Figure 5 As shown, the method comprises the following steps:

[0065] In step S501, a first heading angle in the vehicle positioning data received for the nth time and a second heading angle in the vehicle positioning data received for the (n+1)th time are obtained.

[0066] Wherein, n is a positive integer.

[0067] In step S502, the difference between the second heading angle and the first heading angle is divided by a first preset period to obtain a vehicle heading angle change rate.

[0068] In the embodiment of the present application, when calculating the vehicle heading angle change rate in the first preset period, the first heading angle in the vehicle positioning data received for the nth time and the second heading angle in the vehicle positioning data received for the n+1th time can be first obtained. Then, the difference between the second heading angle and the first heading angle is divided by the first preset period to obtain the vehicle heading angle change rate.

[0069] In one example, if the first heading angle in the vehicle positioning data received for the nth time is represented by D(n), the second heading angle in the vehicle positioning data received for the n+1th time is represented by D(n+1), and the first preset period is represented by T1, then the vehicle heading angle change rate W can be calculated using the following formula:

[0070] W=[D(n+1)-D(n)] / T1

[0071] In an embodiment of the present application, a preset heading angle change rate and reporting period mapping table can be saved in TBOX, and the mapping table includes one-to-one corresponding heading angle change rate intervals and reporting periods. Table 1 is a mapping table of heading angle change rate intervals and reporting periods provided in an embodiment of the present application. As shown in Table 1, for different heading angle change rate intervals, such as W1-W2 interval, W2-W3 interval, W3-W4 interval, etc., they correspond to unique TBOX reporting periods, such as U1, U2, U3, etc. Among them, the W1-W2 interval is the minimum heading angle change rate interval.

[0072] Table 1 Mapping table of heading angle change rate interval and reporting period

[0073] Heading angle change rate range W1-W2 W2-W3 W3-W4 …… TBOX reporting cycle U1 U2 U3 ……

[0074] In an embodiment of the present application, when it is determined that the vehicle heading angle change rate satisfies the reporting period update condition, updating the second preset period to the third preset period can be by obtaining a mapping table of preset heading angle change rate and reporting period, and in response to the vehicle heading angle change rate falling into the target heading angle change rate interval in the mapping table, determining that the reporting period corresponding to the target heading angle change rate interval is the third preset period, and updating the second preset period to the third preset period.

[0075] That is to say, after TBOX calculates the vehicle heading angle change rate W, it can use the W value to query in Table 1 to determine whether the W value matches the target heading angle change rate interval in Table 1. If so, the reporting period corresponding to the target heading angle change rate interval is used as the third preset period. For example, if it is determined that the calculated W value matches the W1-W2 interval in Table 1, U1 can be used as the third preset period, and then the second preset period is updated to U1, and TBOX reports vehicle data with U1 as the period. Alternatively, if it is determined that the calculated W value matches the W2-W3 interval in Table 1, U2 can be used as the third preset period, and then the second preset period is updated to U2, and TBOX reports vehicle data with U2 as the period. And so on.

[0076] It can be understood that, the larger the W value in the heading angle change rate interval is, the smaller the value of the reporting period corresponding to the interval is, that is, the higher the reporting frequency is.

[0077] Figure 6: is a flow chart of another vehicle data reporting method provided in an embodiment of the present application. Figure 6 Steps S601 to S604 in the embodiment shown are Figure 3 Steps S301 to S304 in the illustrated embodiment are substantially the same and will not be described in detail herein. Figure 6 As shown, the method also includes the following steps:

[0078] In step S605, in response to determining that the duration for which the vehicle heading angle change rate remains less than a preset threshold exceeds a first preset duration, the vehicle positioning data is reported to the server at a second preset period.

[0079] The preset threshold is the minimum value in the minimum heading angle change rate interval in the preset heading angle change rate and reporting period mapping table.

[0080] In the embodiment of the present application, if TBOX determines that the duration of the vehicle heading angle change rate remaining less than the preset threshold exceeds the first preset duration, it can be considered that the vehicle has recovered to travel at a smaller change angle or go straight, so the vehicle positioning data can be reported to the server again at the second preset period to save data processing and transmission resources. The preset threshold is the minimum value in the minimum heading angle change rate interval in the mapping table of the preset heading angle change rate and the reporting period, such as W1 in Table 1.

[0081] That is to say, when TBOX determines that the calculated vehicle heading angle change rate W is lower than the lowest gear (W1-W2) of the heading angle change rate range in Table 1 for a certain period of time (first preset duration), it can fall back to using the second preset period to report vehicle data.

[0082] Figure 7 This is a flow chart of another vehicle data reporting method provided in an embodiment of the present application. Figure 7 Steps S701 to S704 in the embodiment shown are similar to Figure 3 Steps S301 to S304 in the illustrated embodiment are substantially the same and will not be described in detail herein. Figure 7 As shown, the method also includes the following steps:

[0083] In step S705, in response to determining that the vehicle does not meet the data reporting condition, it is determined whether the vehicle meets the data reporting condition in a fourth preset cycle.

[0084] In step S706, in response to determining that the judgment result is yes, the vehicle positioning data is reported to the server at a second preset period, and the vehicle heading angle change rate is calculated at a first preset period, so that when it is determined that the vehicle heading angle change rate meets the reporting period update condition, the second preset period is updated to a third preset period, and the vehicle positioning data is reported to the server at the third preset period.

[0085] In step S707 , in response to the preset terminating loop judgment condition being met, the vehicle data reporting method is stopped.

[0086] In the embodiment of the present application, when the vehicle does not meet the data reporting conditions, TBOX can determine whether the vehicle meets the data reporting conditions in a fourth preset cycle. In each cycle of judgment, if the judgment result is yes, the vehicle positioning data is reported to the server in the second preset cycle, and the vehicle heading angle change rate is calculated in the first preset cycle. When it is determined that the vehicle heading angle change rate meets the reporting cycle update condition, the second preset cycle is updated to the third preset cycle, and the vehicle positioning data is reported to the server in the third preset cycle. That is to say, when the judgment result is yes, it can be used Figure 3 The method provided in the illustrated embodiment is for reporting vehicle data.

[0087] On the contrary, if the judgment result is no, the fourth preset cycle cycle is continued to determine whether the vehicle meets the data reporting condition until the judgment result is yes, or TBOX determines that the preset terminating cycle judgment condition is met. When TBOX determines that the preset terminating cycle judgment condition is met, the vehicle data reporting method is stopped.

[0088] Among them, the preset termination loop judgment condition includes at least one of the following: the number of times the judgment result is continuously negative exceeds the preset number threshold; the duration of the continuous negative judgment result exceeds the second preset duration; receiving an instruction to stop vehicle data reporting.

[0089] That is to say, when TBOX determines whether the vehicle meets the data reporting conditions in the fourth preset cycle, and the judgment results are all negative for M consecutive times, or the judgment results are all negative within the second preset time, it can terminate the loop judgment and stop executing the vehicle data reporting method. Alternatively, TBOX can also stop executing the vehicle data reporting method after receiving the stop vehicle data reporting instruction. Among them, the stop vehicle data reporting instruction can be issued by the server, or it can be automatically generated by TBOX after the trigger stop reporting condition is met, for example, when the engine or motor of the vehicle is turned off, TBOX automatically generates the stop vehicle data reporting instruction.

[0090] Figure 8 FIG. 1 is a flow chart of another vehicle data reporting method provided in an embodiment of the present application. Figure 8 Steps S801 to S807 in the embodiment shown are Figure 7 Steps S701 to S707 in the illustrated embodiment are substantially the same and will not be described in detail herein. Figure 8 As shown, the method also includes the following steps:

[0091] In step S808, in response to determining that the vehicle meets the data reporting condition, a fifth preset period is used to determine whether the vehicle meets the data reporting condition.

[0092] In step S809, in response to the judgment result being yes, the vehicle positioning data is reported to the server at the second preset period or the third preset period.

[0093] In step S810, in response to the judgment result being no, the reporting of the vehicle positioning data to the server is stopped, and a fourth preset cycle is used to determine whether the vehicle meets the data reporting conditions.

[0094] In the embodiment of the present application, when TBOX determines that the vehicle meets the data reporting conditions, on the one hand, TBOX can report the vehicle positioning data to the server in the second preset period or the third preset period, and on the other hand, TBOX can also determine whether the vehicle meets the data reporting conditions in a fifth preset period cycle. If the result of this cycle judgment is yes, TBOX continues to report the vehicle positioning data to the server in the second preset period or the third preset period. Otherwise, TBOX stops reporting the vehicle positioning data to the server, and determines whether the vehicle meets the data reporting conditions in the fourth preset period cycle.

[0095] In the embodiment of the present application, the fifth preset period can be set to be greater than the fourth preset period.

[0096] Fig. 9 FIG. 1 is a flow chart of another vehicle data reporting method provided in an embodiment of the present application. Fig. 9 As shown, TBOX can periodically save the received GPS data, and TBOX can perform a cyclic self-check to determine whether to report the vehicle data. If the judgment result is yes, TBOX reports the vehicle data to the server at a fixed period. Subsequently, TBOX can calculate the GPS data in real time to determine whether to use high-frequency reporting. If the judgment result is yes, that is, high-frequency reporting is used, TBOX cyclically calculates the vehicle heading angle change rate, selects different reporting frequencies according to the calculation results, and uses the selected reporting frequency for high-frequency reporting. If the judgment result is no, that is, high-frequency reporting is not used, the above-mentioned fixed-period reporting is maintained. If the vehicle heading angle change rate calculated by TBOX times out, that is, the calculated vehicle heading angle change rate is lower than the lowest gear in the change rate range for a certain period of time, TBOX also switches to using the above-mentioned fixed-period reporting.

[0097] On the other hand, if the TBOX cyclic self-check determines whether to report vehicle data and the result is no, the TBOX continues to cyclically self-check at a smaller fixed period to determine whether to report vehicle data, and executes the reporting process when the judgment result is yes, and stops judging when the cycle termination condition is met.

[0098] On the other hand, when executing the vehicle data reporting process, TBOX can also perform self-checking in a larger fixed cycle to determine whether to report the vehicle data, and continue to execute the reporting process when the judgment result is yes, and stop executing the reporting process when the judgment result is no, and switch to a process that continues to perform self-checking in a smaller fixed cycle to determine whether to report the vehicle data.

[0099] Fig.10 The vehicle running trajectory diagram is obtained by drawing the data reported by the vehicle data reporting method provided in the embodiment of the present application. Fig.10 As shown, numbers 1 to 6 are six time points, and each circle in the figure is the position where the vehicle reports data. It can be seen that the period of reporting data by the vehicle data reporting method provided by the embodiment of the present application is no longer fixed, but the vehicle data is reported at a higher frequency when the vehicle heading angle change rate is large, so that the vehicle data can be fully and accurately reported when the vehicle is driving on an overpass or other road conditions, so that the server can draw the precise running trajectory of the vehicle based on the received vehicle data.

[0100] That is to say, Fig.10 When the vehicle is at time point 1, the heading angle change rate is not high, so the fixed period is used to report the positioning data; at time point 2, the continuous change of the heading angle caused by continuous turning speeds up the reporting of positioning data by TBOX; in the first half of time point 3, the turning angle becomes larger, resulting in a greater heading angle change rate, and the frequency of TBOX reporting is faster than that of time point 2; in the second half of time point 3, the turning angle of the vehicle decreases, the heading angle change rate decreases, and the frequency of TBOX reporting slows down compared with the first half; at time point 4, the vehicle heading angle change rate is lower than the minimum high-density reporting requirement, and the fixed period positioning data reporting is immediately restored. At time points 5 and 6, the same applies to stages 1-4.

[0101] In the vehicle data uploading method provided in the embodiment of the present application, the TBOX application layer determines that the vehicle is in motion based on the CAN data and GPS data received by the on-board TBOX, and the TBOX application uploads the Internet of Vehicles data including GPS data to the cloud platform at a fixed period (e.g. t1) for drawing the TBOX operation trajectory.

[0102] When the TBOX application layer determines that the heading angle in the GPS data remains in a certain heading angle change rate range (such as a1) within a unit time (such as t2), the TBOX application increases the upload frequency (such as b1) according to the change rate range with different gradients, thereby speeding up the upload of the Internet of Vehicles data packets to the cloud platform.

[0103] When the TBOX application layer determines that the change rate of the heading angle in the GPS data is lower than the lowest gear of the change rate range for more than a certain time (for example, t3), the TBOX application uploads the Internet of Vehicles data containing GPS data to the cloud platform according to a fixed period (for example, t1 mentioned above) for drawing the TBOX operation trajectory.

[0104] By adopting the technical solution provided in the embodiment of the present application, the frequency of uploading positioning information of the vehicle is increased by following the gradient of the heading angle adaptively, so that the platform can obtain more complete and smooth vehicle trajectory information, which can effectively solve the problem that when the vehicle is on complex sections such as overpasses, turns, and U-turns, the trajectory of the positioning point position uploaded by the cloud platform according to the periodic upload is not smooth due to fixed-period upload. The reporting is accelerated when the turning angle is large, and the reporting is slowed down when the turning angle is small, thereby ensuring a smooth trajectory and effectively reducing the burden on TBOX and platform processing.

[0105] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0106] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0107] Fig.11 Schematic diagram of a vehicle data reporting device provided in an embodiment of the present application. Fig.11 As shown, the device comprises:

[0108] The receiving module 1101 is configured to receive vehicle positioning data at a first preset period in response to receiving a vehicle data reporting instruction, where the vehicle positioning data at least includes a heading angle of the vehicle.

[0109] The reporting module 1102 is configured to report the vehicle positioning data to the server at a second preset period in response to determining that the vehicle meets the data reporting condition.

[0110] The calculation module 1103 is configured to calculate the vehicle heading angle change rate in a first preset period.

[0111] The reporting module 1102 is also configured to update the second preset period to a third preset period in response to determining that the vehicle heading angle change rate meets the reporting period update condition, and report the vehicle positioning data to the server in the third preset period. According to the technical solution provided in the embodiment of the present application, by periodically receiving the vehicle positioning data including the vehicle heading angle, when it is determined that the data reporting condition is met, the vehicle positioning data is first reported to the server in the second preset period, and the rate of change of the vehicle heading angle is calculated in real time. When the rate of change meets the reporting period update condition, the second preset period is updated to a third preset period with a smaller value, and the vehicle positioning data is reported to the server in the third preset period, so that in scenarios with large position information gradients such as vehicle turns and U-turns, the data reporting frequency can be increased, and the vehicle trajectory error drawn by the server based on the received vehicle data is avoided due to the omission of too much position information, thereby improving the efficiency of vehicle data reporting, providing more accurate data support for vehicle operation and vehicle safety assessment at a lower cost, and improving user experience.

[0112] In an embodiment of the present application, determining that a vehicle meets data reporting conditions includes: obtaining the wheel speed and engine speed of the vehicle; obtaining the positioning speed from the vehicle positioning data; and in response to determining that the wheel speed and the positioning speed are both greater than zero, and the engine speed is greater than a preset speed threshold, determining that the vehicle meets the data reporting conditions.

[0113] In an embodiment of the present application, the vehicle heading angle change rate is calculated using a first preset period, including: obtaining a first heading angle in the vehicle positioning data received for the nth time, and a second heading angle in the vehicle positioning data received for the n+1th time, where n is a positive integer; dividing the difference between the second heading angle and the first heading angle by the first preset period to obtain the vehicle heading angle change rate.

[0114] In an embodiment of the present application, in response to determining that the vehicle heading angle change rate satisfies the reporting period update condition, the second preset period is updated to the third preset period, including: obtaining a mapping table of preset heading angle change rate and reporting period, the mapping table including one-to-one corresponding heading angle change rate intervals and reporting periods; in response to the vehicle heading angle change rate falling into the target heading angle change rate interval in the mapping table, determining that the reporting period corresponding to the target heading angle change rate interval is the third preset period, and updating the second preset period to the third preset period.

[0115] In an embodiment of the present application, after the second preset period is updated to the third preset period, it also includes: in response to determining that the duration for which the vehicle heading angle change rate remains less than a preset threshold exceeds the first preset duration, reporting the vehicle positioning data to the server at a second preset period; wherein the preset threshold is the minimum value in the minimum heading angle change rate interval in the mapping table of preset heading angle change rate and reporting period.

[0116] In an embodiment of the present application, it also includes: in response to determining that the vehicle does not meet the data reporting conditions, determining whether the vehicle meets the data reporting conditions in a fourth preset cycle loop; in response to determining that the judgment result is yes, reporting the vehicle positioning data to the server in a second preset cycle, and calculating the vehicle heading angle change rate in the first preset cycle, so as to determine that the vehicle heading angle change rate meets the reporting cycle update condition, updating the second preset cycle to a third preset cycle, and reporting the vehicle positioning data to the server in the third preset cycle; in response to meeting the preset termination loop judgment condition, stopping the execution of the vehicle data reporting method; wherein the preset termination loop judgment condition includes at least one of the following: the number of times the judgment result is continuously negative exceeds a preset number threshold; the duration for which the judgment result is continuously negative exceeds a second preset duration; receiving an instruction to stop vehicle data reporting.

[0117] In an embodiment of the present application, it also includes: in response to determining that the vehicle meets the data reporting conditions, judging whether the vehicle meets the data reporting conditions in a fifth preset cycle loop; in response to the judgment result being yes, reporting the vehicle positioning data to the server in a second preset cycle or a third preset cycle; in response to the judgment result being no, stopping reporting the vehicle positioning data to the server, and judging whether the vehicle meets the data reporting conditions in a fourth preset cycle loop; wherein the fifth preset cycle is greater than the fourth preset cycle.

[0118] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0119] Fig.12 Schematic diagram of an electronic device provided in an embodiment of the present application. Fig.12 As shown, the electronic device 12 of this embodiment includes: a processor 1201, a memory 1202, and a computer program 1203 stored in the memory 1202 and executable on the processor 1201. When the processor 1201 executes the computer program 1203, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 1201 executes the computer program 1203, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0120] The electronic device 12 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 12 may include, but is not limited to, a processor 1201 and a memory 1202. Those skilled in the art will appreciate that Fig.12 The electronic device 12 is merely an example and does not limit the electronic device 12 , and may include more or fewer components than those shown in the figure, or different components.

[0121] Processor 1201 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0122] The memory 1202 may be an internal storage unit of the electronic device 12, for example, a hard disk or memory of the electronic device 12. The memory 1202 may also be an external storage device of the electronic device 12, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FlashCard), etc. equipped on the electronic device 12. The memory 1202 may also include both an internal storage unit of the electronic device 12 and an external storage device. The memory 1202 is used to store computer programs and other programs and data required by the electronic device.

[0123] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0124] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0125] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A vehicle data reporting method, characterized in that: The method is executed by a vehicle-mounted terminal, and the method includes: In response to receiving the vehicle data reporting instruction, the vehicle terminal receives vehicle positioning data at a first preset period, the vehicle positioning data at least including a heading angle of the vehicle; In response to determining that the vehicle meets the data reporting condition, reporting the vehicle positioning data to the server at a second preset period; Calculating the vehicle heading angle change rate using the first preset period; In response to determining that the vehicle heading angle change rate meets the reporting period update condition, updating the second preset period to a third preset period, and reporting the vehicle positioning data to the server at the third preset period; Wherein, the third preset period is smaller than the second preset period.

2. The method according to claim 1, characterized in that Determining that the vehicle meets the data reporting conditions includes: Get the vehicle's wheel speed and engine speed; Acquiring a positioning vehicle speed from the vehicle positioning data; In response to determining that the wheel speed and the positioning speed are both greater than zero, and the engine speed is greater than a preset speed threshold, it is determined that the vehicle meets the data reporting condition.

3. The method according to claim 1, characterized in that The calculating the vehicle heading angle change rate at the first preset period includes: Obtaining a first heading angle in the vehicle positioning data received for the nth time and a second heading angle in the vehicle positioning data received for the n+1th time, where n is a positive integer; The difference between the second heading angle and the first heading angle is divided by the first preset period to obtain the vehicle heading angle change rate.

4. The method according to claim 1, characterized in that: In response to determining that the vehicle heading angle change rate satisfies a reporting period update condition, updating the second preset period to a third preset period includes: Obtaining a preset heading angle change rate and reporting period mapping table, wherein the mapping table includes a one-to-one correspondence between heading angle change rate intervals and reporting periods; In response to the vehicle heading angle change rate falling into the target heading angle change rate interval in the mapping table, determining that the reporting period corresponding to the target heading angle change rate interval is the third preset period, and updating the second preset period to the third preset period.

5. The method according to claim 1, characterized in that After updating the second preset period to a third preset period, the method further includes: In response to determining that the time period during which the vehicle heading angle change rate remains less than a preset threshold exceeds a first preset time period, reporting the vehicle positioning data to the server at the second preset period; The preset threshold is the minimum value in the minimum heading angle change rate interval in the preset heading angle change rate and reporting period mapping table.

6. The method according to claim 1, characterized in that The method further comprises: In response to determining that the vehicle does not meet the data reporting condition, determining whether the vehicle meets the data reporting condition in a fourth preset cycle; In response to the determination that the judgment result is yes, the vehicle positioning data is reported to the server at a second preset period, and the vehicle heading angle change rate is calculated at the first preset period, so that when it is determined that the vehicle heading angle change rate meets the reporting period update condition, the second preset period is updated to a third preset period, and the vehicle positioning data is reported to the server at the third preset period; In response to satisfying a preset terminating loop judgment condition, stopping execution of the vehicle data reporting method; The preset terminating cycle judgment condition includes at least one of the following: The number of consecutive negative judgment results exceeds a preset number threshold; The time duration for which the judgment result is continuously negative exceeds a second preset time duration; Received a command to stop reporting vehicle data.

7. The method according to claim 6, characterized in that The method further comprises: In response to determining that the vehicle meets the data reporting condition, determining whether the vehicle meets the data reporting condition in a fifth preset period cycle; In response to the judgment result being yes, reporting the vehicle positioning data to the server at a second preset period or a third preset period; In response to a negative result of the determination, stop reporting the vehicle location data to the server, and determine whether the vehicle meets the data reporting condition in a cycle of the fourth preset period; The fifth preset period is greater than the fourth preset period.

8. A vehicle data reporting device, characterized in that: include: A receiving module, configured to receive vehicle positioning data at a first preset period in response to receiving a vehicle data reporting instruction, wherein the vehicle positioning data at least includes a heading angle of the vehicle; A reporting module, configured to report the vehicle positioning data to the server at a second preset period in response to determining that the vehicle meets the data reporting condition; A calculation module, configured to calculate the vehicle heading angle change rate in the first preset period; The reporting module is further configured to update the second preset period to a third preset period in response to determining that the vehicle heading angle change rate meets a reporting period update condition, and report the vehicle positioning data to the server at the third preset period.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Vehicle data reporting method and device, storage medium and electronic equipment

    CN119996970A

  • A vehicle data reporting method and device, a storage medium and an electronic device

    CN119996970B