Vehicle data reporting method and device, storage medium and electronic equipment
By obtaining vehicle driving parameters in real time and dynamically adjusting the data reporting cycle, the problem of insufficient data reporting efficiency and accuracy during vehicle transportation is solved, and efficient and accurate data transmission and driving trajectory generation are achieved.
Patent Information
- Application Number
- CN202510145897.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-02-10
AI Technical Summary
The prior art is difficult to achieve efficient and accurate data reporting during vehicle transportation, resulting in excessive traffic consumption or insufficient accuracy of driving trajectory.
By obtaining the vehicle's driving parameters, such as speed data and heading angle change rate in real time, dynamically adjusting the data reporting period to ensure the accuracy and efficiency of data reporting.
It realizes efficient and accurate transmission of vehicle data, improves the accuracy of subsequent vehicle driving trajectory generation, and uses communication traffic rationally.
Smart Images

Figure CN119996970A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, storage medium and electronic device for reporting vehicle data. Background Art
[0002] With the continuous development of the transportation industry, in order to facilitate the monitoring of vehicle status in the transportation industry (such as the oil transportation industry), it is usually necessary to record the vehicle's driving trajectory. The vehicle's driving trajectory is a broken line connected by several coordinate points with time sequence.
[0003] At present, vehicles need to send their own location data to the platform at regular intervals during transportation. However, due to the complex road conditions during transportation, if the time interval is set too small, although the accuracy of the driving trajectory can be guaranteed, it will greatly increase the amount of data transmission and occupy more of the communication traffic of the Internet of Vehicles. However, the communication traffic of Internet of Vehicles equipment is limited, and it cannot guarantee the effective transmission of all vehicle data, and it will also affect the efficiency of data transmission. If the set time interval is large, the accuracy of the generated vehicle driving trajectory cannot be guaranteed later.
[0004] Therefore, how to provide a technical solution for an efficient and accurate vehicle data reporting method has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The purpose of some embodiments of the present application is to provide a method, device, storage medium and electronic device for reporting vehicle data. Through the technical solutions of the embodiments of the present application, the data reporting cycle can be accurately determined, efficient and accurate data transmission can be achieved, and the accuracy of subsequent vehicle driving trajectory generation can be improved.
[0006] In a first aspect, some embodiments of the present application provide a method for reporting vehicle data, comprising: acquiring driving parameters of a vehicle in real time, wherein the driving parameters include: speed data and / or heading angle change rate of the vehicle; determining a data reporting period of the vehicle according to the driving parameters; wherein the data reporting period is not exactly the same under different driving parameters, when the driving parameter is the heading angle change rate, the data reporting period is negatively correlated with the heading angle change rate; when the driving parameter is the speed data, the data reporting period is negatively correlated with the speed data; the data reporting period is selected from a preset reporting period, or the data reporting period is obtained by calculating at least the driving parameters; and sending the vehicle's location data to a cloud platform according to the data reporting period.
[0007] Some embodiments of the present application analyze the driving parameters of the vehicle acquired in real time to determine the data reporting period of the vehicle under the driving parameters at this time, so that the vehicle can report its position data according to the data reporting period. The embodiments of the present application can realize flexible and reasonable reporting of the vehicle's position data by continuously adjusting the data reporting period under different driving parameters, reasonably use communication traffic, ensure the accuracy of position data reporting, and provide data support for the subsequent generation of vehicle driving trajectories with higher accuracy.
[0008] In some embodiments, before determining the data reporting period of the vehicle according to the driving parameters, the method further includes: obtaining a preset reporting period, wherein the preset reporting period includes, in order from short to long, a first reporting period, a second reporting period, and a third reporting period.
[0009] Some embodiments of the present application provide effective reference data for subsequent determination of data reporting cycles under different driving parameters by obtaining preset reporting cycles.
[0010] In some embodiments, the speed threshold includes: determining the data reporting period of the vehicle based on the driving parameters, including: when the driving parameters include the heading angle change rate, obtaining the data reporting period by comparing the heading angle change rate with the heading angle threshold; when the driving parameters include the speed data, obtaining the data reporting period by comparing the speed data with the speed threshold; when the driving parameters include the heading angle change rate and the speed data, determining the data reporting period based on the driving parameters, the heading angle threshold and the speed threshold.
[0011] Some embodiments of the present application can accurately determine the data reporting period under different driving parameters by setting different speed thresholds and heading angle thresholds.
[0012] In some embodiments, determining the data reporting period of the vehicle based on the driving parameters includes: when determining that the heading angle change rate is less than the minimum heading angle change rate in the heading angle threshold, using the second reporting period as the data reporting period.
[0013] Some embodiments of the present application determine the data reporting period through the relationship between the heading angle change rate and the minimum heading change rate, thereby achieving accurate determination of the data reporting period under different driving parameters.
[0014] In some embodiments, determining the data reporting period of the vehicle based on the driving parameters includes: when determining that the heading angle change rate is greater than or equal to the minimum heading angle change rate in the heading angle threshold, calculating the driving parameters, the speed threshold, the heading angle threshold and the preset reporting period to obtain the data reporting period; wherein the time of the calculation process is less than the first reporting period.
[0015] Some embodiments of the present application calculate the data reporting period suitable for the current driving parameters through the relationship between the heading angle change rate and the minimum heading change rate, thereby achieving reasonable reporting of vehicle data with high accuracy.
[0016] In some embodiments, the driving parameters, the speed threshold, the heading angle threshold and the preset reporting period are calculated to obtain the data reporting period, including: multiplying the difference between the maximum speed within the speed threshold and the speed data, the difference between the maximum heading angle change rate and the heading angle change rate, and the difference between the third reporting period and the first reporting period to obtain a first parameter; multiplying the difference between the maximum speed and the minimum speed within the speed threshold, and the difference between the maximum heading angle change rate and the minimum heading angle change rate to obtain a second parameter; adding the ratio of the first parameter to the second parameter to the first reporting period to obtain the data reporting period.
[0017] Some embodiments of the present application determine the data reporting period by performing correlation calculation on multiple data, thereby achieving reasonable adjustment of the data reporting period and improving the accuracy of data reporting.
[0018] In some embodiments, when the speed data is zero and the vehicle is stationary, the data reporting period is determined by the following method: updating the first data reporting period corresponding to the first moment when the vehicle is stationary to the second reporting period; when the integer multiple of the i-1th data reporting period is less than or equal to the third reporting period, the i-th data reporting period is updated to the integer multiple of the i-1th data reporting period, i∈(1,N], N is the number of updates of the data reporting period; when the integer multiple of the i-1th data reporting period is greater than the third reporting period, the i-th data reporting period is updated to the third reporting period.
[0019] Some embodiments of the present application can reasonably utilize communication traffic resources while achieving effective reporting of vehicle data by determining the data reporting period in a certain manner when the vehicle speed data is zero.
[0020] In a second aspect, some embodiments of the present application provide a device for reporting vehicle data, comprising: a parameter acquisition module, used to acquire the vehicle's driving parameters in real time, wherein the driving parameters include: the vehicle's speed data and / or heading angle change rate; a period update module, used to determine the vehicle's data reporting period based on the driving parameters; wherein the data reporting period is not exactly the same under different driving parameters; when the driving parameter is the heading angle change rate, the data reporting period is negatively correlated with the heading angle change rate; when the driving parameter is the speed data, the data reporting period is negatively correlated with the speed data; the data reporting period is selected from a preset reporting period, or the data reporting period is obtained by calculating at least the driving parameters; a data reporting module, used to send the vehicle's location data to the cloud platform according to the data reporting period.
[0021] In a third aspect, some embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the method described in any embodiment of the first aspect.
[0022] In a fourth aspect, some embodiments of the present application provide an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor can implement a method as described in any embodiment of the first aspect when executing the program.
[0023] In a fifth aspect, some embodiments of the present application provide a computer program product, wherein the computer program product comprises a computer program, wherein the computer program, when executed by a processor, can implement the method described in any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of some embodiments of the present application, the drawings required for use in some embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 A system diagram for reporting vehicle data provided in some embodiments of the present application;
[0026] Figure 2 One of the flow charts of the method for reporting vehicle data provided in some embodiments of the present application;
[0027] Figure 3 A second flow chart of a method for reporting vehicle data provided in some embodiments of the present application;
[0028] Figure 4 A block diagram of a vehicle data reporting device provided in some embodiments of the present application;
[0029] Figure 5 A schematic diagram of an electronic device is provided for some embodiments of the present application. DETAILED DESCRIPTION
[0030] The technical solutions in some embodiments of the present application will be described below in conjunction with the drawings in some embodiments of the present application.
[0031] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0032] In the related art, when the time interval in the vehicle driving trajectory is set small and the vehicle position coordinate points are relatively dense, the problem of increasing communication traffic by intensively transmitting vehicle data is addressed. The prior art introduces an algorithm with a variable heartbeat interval, that is, using a fixed-distance heartbeat, where distance = speed * time. When the speed information (for example, the vehicle wheel speed or the speed given by Beidou positioning) is fast, the heartbeat interval (that is, the data reporting cycle) is reduced, and when the speed is slow, the heartbeat interval is increased. The final effect is that the distances between the coordinate points in the vehicle driving trajectory are equal. Although this method can appropriately adjust the usage of communication traffic and balance the spatial distribution of vehicle coordinate points. However, when the vehicle turns, the equidistant coordinate points cannot fit the curve trajectory well, which has an impact on mileage calculation and small-scale (such as the trajectory of the vehicle turning around or the driving trajectory in the parking lot) trajectory restoration; on the other hand, compared with the timed transmission of data, the fixed-moment heartbeat still increases the data traffic and occupies more communication traffic. The more mileage the vehicle runs, the greater the increase.
[0033] It can be seen from the above-mentioned related technologies that in the prior art, data reporting during vehicle driving requires a lot of communication traffic, and the accuracy of the fitted vehicle driving trajectory needs to be optimized.
[0034] In view of this, some embodiments of the present application provide a method for reporting vehicle data, which can obtain the driving parameters of the vehicle in real time during driving, and determine the data reporting period suitable for the current driving parameters by comparing and analyzing the driving parameters and the set conditions. The vehicle can then report relevant vehicle data (such as location data) to the cloud platform according to the data reporting period. The data reporting period of the vehicle in some embodiments of the present application may change to a certain extent as the driving parameters of the vehicle change, that is, the data reporting period under different driving parameters is not exactly the same. This method can reasonably formulate a data reporting period that is consistent with the current driving of the vehicle, and realize flexible reporting of vehicle data; moreover, this method of adjusting the data reporting period can reasonably use communication traffic, and at the same time can also improve the accuracy of the subsequent use of vehicle data to fit the vehicle's driving trajectory.
[0035] The following is combined with Figure 1 The overall structure of the vehicle data reporting system provided by some embodiments of the present application is exemplified.
[0036] like Figure 1 As shown, some embodiments of the present application provide a system diagram for vehicle data reporting, and the vehicle data reporting system may include: a vehicle terminal 100 and a cloud platform server 200 (as a specific example of a cloud platform). The vehicle terminal 100 obtains the vehicle's driving parameters in real time through Beidou positioning or sensors installed on the vehicle (for example, a gyroscope), and selects or calculates the data reporting period of the vehicle under the current driving parameters by comparing and analyzing the driving parameters and the set thresholds. Afterwards, the vehicle terminal 100 can send vehicle data to the cloud platform server 200 according to the data reporting period, such as location data, driving parameters, driving status, and other driving data.
[0037] In some embodiments of the present application, relevant software may be deployed on the vehicle terminal 100 to realize the positioning and data processing of the vehicle to obtain vehicle data related to the vehicle. Specifically, the positioning method and data processing method may be selected according to the actual scenario, and the embodiments of the present application are not specifically limited here.
[0038] The following is combined with Figure 2 The implementation process of vehicle data reporting performed by the cloud platform server 200 provided in some embodiments of the present application is exemplified.
[0039] Please see attached Figure 2 , Figure 2 A flow chart of a method for reporting vehicle data provided in some embodiments of the present application, the method for reporting vehicle data may include:
[0040] S210, acquiring driving parameters of the vehicle in real time, wherein the driving parameters include: speed data and / or heading angle change rate of the vehicle.
[0041] For example, in some embodiments of the present application, the vehicle obtains at least one of the vehicle speed V (as a specific example of speed data) and the vehicle heading angle change rate H in real time during transportation. The ground speed of the vehicle is calculated by Beidou positioning, or the wheel speed (that is, the speed of the vehicle) is obtained through the vehicle CAN bus. The heading angle change rate of the ground heading angle is calculated by Beidou positioning and a gyroscope. The speed and heading angle change rate of the vehicle can also be obtained by other positioning software or positioning algorithms, and the embodiments of the present application are not limited to this.
[0042] Specifically, the vehicle speed and the rate of change of the vehicle heading angle can represent the specific driving condition of the current vehicle, for example, whether the vehicle is stationary, turning, driving at a constant speed, or accelerating, etc. In addition to the speed data and the rate of change of the heading angle, other vehicle data, such as acceleration data, can also be collected in real time, but the embodiments of the present application are not limited thereto.
[0043] S220, determining a data reporting period for the vehicle according to the driving parameter; wherein the data reporting period is not completely the same under different driving parameters, when the driving parameter is the heading angle change rate, the data reporting period is negatively correlated with the heading angle change rate; when the driving parameter is the speed data, the data reporting period is negatively correlated with the speed data; the data reporting period is selected from a preset reporting period, or the data reporting period is calculated at least for the driving parameter.
[0044] For example, in some embodiments of the present application, since there are differences in the speed and heading angle of the vehicle when it is driving in a straight line and when it is driving on a curve, the data reporting period can be dynamically adjusted by at least one of the speed (that is, speed data) and the heading angle change rate, so that the cloud platform can also obtain accurate vehicle data when the vehicle is driving on a curve. In addition, the curvature of the road can also be calculated through the navigation path to adjust the data reporting period. That is, in addition to the driving parameters, the data reporting period can also be adjusted by referring to other parameters, and the embodiments of the present application are not limited to this.
[0045] In one application scenario, when the driving parameters only include speed, the higher the speed, the shorter the data reporting cycle, so as to accurately capture the vehicle's position coordinates; or, when the driving parameters only include the heading angle change rate, the greater the heading angle change rate, the larger the curve, and the shorter the data reporting cycle, so as to accurately capture the vehicle's position coordinates when it passes the curve. In another application scenario, when the driving parameters include speed and heading angle change rate, the data reporting cycle needs to be determined based on the actual conditions of both.
[0046] Specifically, the data reporting period can be selected from a preset reporting period according to the specific situation of the driving parameters, or can be obtained by calculating the driving parameters and some vehicle-related parameters, which is not specifically limited in the embodiment of the present application. In addition, the data reporting periods under different driving parameters can be the same or different. For example, when the speed data or the rate of change of the heading angle meets a certain set condition within a period of time, the data reporting period can remain unchanged within a period of time.
[0047] In some embodiments of the present application, S220 may include: when the driving parameters include the heading angle change rate, obtaining the data reporting period by comparing the heading angle change rate with the heading angle threshold; when the driving parameters include the speed data, obtaining the data reporting period by comparing the speed data with the speed threshold; when the driving parameters include the heading angle change rate and the speed data, determining the data reporting period based on the driving parameters, the heading angle threshold and the speed threshold.
[0048] For example, in some embodiments of the present application, the heading angle threshold may be set with a minimum heading angle change rate Hmin and a maximum heading angle change rate Hmax. The speed threshold may be set with a minimum speed Vmin and a maximum speed Vmax. By comparing the heading angle change rate H with the minimum heading angle change rate Hmin and the maximum heading angle change rate Hmax, the current heartbeat interval is determined (as a specific example of a data reporting cycle). Alternatively, the current heartbeat interval is determined by comparing the speed data V with the minimum speed Vmin and the maximum speed Vmax. Alternatively, when the driving parameters contain the heading angle change rate and the speed time, the current heartbeat interval can also be determined by calculation. Among them, the values of the speed threshold and the heading angle threshold can be set according to the actual application scenario, and the embodiments of the present application are not specifically limited here.
[0049] For example, when the driving parameters contain speed data or the rate of change of the heading angle alone, the current heartbeat interval can be adjusted by establishing a mapping table. Specifically, a mapping table of speed magnitude and preset reporting period can be established, and different speed ranges in the mapping table correspond to different heartbeat intervals. For example, the speed range includes: 0~Vmin, Vmin~Vmax, Vmax~A, where A can be the maximum speed specified for the road; specifically, 0~Vmin, Vmin~Vmax, Vmax~A correspond to different heartbeat intervals, respectively. The higher the speed, the smaller the heartbeat interval. Alternatively, a mapping table of heading angle magnitude and preset reporting period can be established, and different heading angle ranges in the mapping table correspond to different heartbeat intervals. The larger the heading angle, that is, the larger the curve, the smaller the heartbeat interval. It should be understood that the speed range and the heading angle range can be set to multiple corresponding intervals according to actual conditions, and the number of intervals is not specifically limited here.
[0050] When the driving parameters include the heading angle change rate and speed data, the data reporting cycle can be selected from the preset reporting cycle or determined by calculation. The implementation process is described below by way of example.
[0051] In some embodiments of the present application, S210 may further include: obtaining a preset reporting cycle, wherein the preset reporting cycle includes, in order from short to long, a first reporting cycle, a second reporting cycle, and a third reporting cycle.
[0052] For example, in some embodiments of the present application, the preset reporting cycle is set according to the actual situation in three cases, namely: the shortest heartbeat interval Tmin (as a specific example of the first reporting cycle), that is, the shortest time interval for intensively uploading position coordinate points when the vehicle passes a curve, which is usually 1 second (assuming that the truck turns at the fastest speed of 40 kilometers per hour, 1 second can travel 11 meters); the normal heartbeat interval Tnor (as a specific example of the second reporting cycle), that is, the heartbeat interval that meets the flow limit, which is usually 15 seconds; the longest heartbeat interval Tmax (as a specific example of the third reporting cycle), that is, the longest heartbeat interval expected in the transportation business, such as 5 minutes. However, when the data reporting cycle is the longest heartbeat interval, if the driving state of the vehicle (for example, the vehicle changes from the driving state to the stationary state, or from the stationary state to the driving state) changes, regardless of whether the vehicle reaches the longest heartbeat interval Tmax, it is necessary to immediately send the vehicle data of the vehicle to the cloud platform server 200. It should be understood that the value and number of the reporting cycle set in the preset reporting cycle can be set according to actual needs, and the embodiments of the present application are not limited to this.
[0053] In some embodiments of the present application, S220 may include: when it is determined that the heading angle change rate is less than the heading angle change rate minimum value, using the second reporting period as the data reporting period.
[0054] For example, in some embodiments of the present application, when H < Hmin, the current heartbeat interval T = Tnor.
[0055] In some embodiments of the present application, S220 may include: when it is determined that the rate of change of the heading angle is greater than or equal to the minimum value of the rate of change of the heading angle, calculating the driving parameter, the speed threshold, the heading angle threshold, and the preset reporting period to obtain the data reporting period.
[0056] For example, in some embodiments of the present application, when H ≥ Hmin, the current heartbeat interval T can be obtained by calculating the above-obtained H, V, Vmin, Vmax, Hmin, Hmax, Tmin, and Tmax.
[0057] In some embodiments of the present application, S220 may include: multiplying the difference between the maximum speed and the speed data, the difference between the maximum rate of change of the heading angle and the rate of change of the heading angle, and the difference between the third reporting period and the first reporting period to obtain a first parameter; multiplying the difference between the maximum speed and the minimum speed by the difference between the maximum rate of change of the heading angle and the minimum rate of change of the heading angle to obtain a second parameter; adding the ratio of the first parameter to the second parameter to the first reporting period to obtain the data reporting period.
[0058] For example, in some embodiments of the present application, the following parameters can be calculated through the above-obtained parameters: that is, the first parameter X, X = (Vmax - V) * (Hmax - H) * (Tmax - Tmin), and the second parameter Y, Y = (Vmax - Vmin) * (Hmax - Hmin). Finally, T = Tmin + X / Y. It can be understood that the time taken for this process of calculating T is less than Tmin, so that the vehicle can quickly adjust T according to the calculation result in a timely manner. The dynamic adjustment method of T can be determined at a preset interval or adjusted in real time, and the embodiments of the present application do not make specific limitations here.
[0059] For example, Vmin is usually 5 km / h; Vmax is usually 40 km / h; Hmin usually takes a value of 2°, and Hmax usually takes a value of 10°. Substituting these parameters into the above formula, we can get T = (40 - V) * (10 - H) * 14 / (35 * 8) + 1. Among them, in the following examples, under different speeds and curves, the current heartbeat interval T is as follows:
[0060] V = 10, H = 3, T = 11.5 seconds, that is, when the speed is slow and the curve is small, the heartbeat filling points are appropriately accelerated;
[0061] V = 40, H = 3, T = 1 second, that is, the speed is faster, the curve is smaller, and the heartbeat is the fastest;
[0062] V=10, H=10, T=1 second, that is, the speed is slower, the curve is larger, and the heartbeat is the fastest.
[0063] Among them, the fastest heartbeat point filling means reducing the interval for the vehicle to send position data to the cloud platform, so that the cloud platform can obtain dense coordinate points of the vehicle's position and improve the accuracy of subsequent fitting of the vehicle's trajectory.
[0064] It should be understood that the above method of calculating the data reporting period can be flexibly adjusted according to the actual application scenario, and the embodiments of the present application are not limited to this.
[0065] In some embodiments of the present application, when the speed data is zero and the vehicle is in a stationary state, the data reporting period is determined by the following method: updating the first data reporting period corresponding to the first moment when the vehicle is in a stationary state to the second reporting period; when the integer multiple of the i-1th data reporting period is less than or equal to the third reporting period, the i-th data reporting period is updated to an integer multiple of the i-1th data reporting period, i∈(1,N], N is the number of updates of the data reporting period; when the integer multiple of the i-1th data reporting period is greater than the third reporting period, the i-th data reporting period is updated to the third reporting period.
[0066] For example, in some embodiments of the present application, when the vehicle is stationary, T can be dynamically updated. Whether the vehicle is stationary can be determined based on speed data or by triaxial acceleration sensor data and related algorithms, which is not specifically limited in the embodiments of the present application.
[0067] Specifically, when it is detected that the driving state of the vehicle changes to a stationary (or stopped) state, the first data reporting period T at the first moment of the stopped state is set to Tnor. The vehicle state is continuously detected. If it is detected that the vehicle is still in a stationary state, the heartbeat interval of the next data reporting is T i (i.e., the i-th data reporting period) is the i-1-th data reporting period T i-1 R times, that is, T i =T i-1 *R, where R is an integer. R can be 2, that is, the next T is twice the previous one. Where i∈(1, N], N is a positive integer. However, when T i-1 *2>Tmax, T i =Tmax, and then keep T=Tmax to report vehicle data. iThe update is no later than the next data reporting time node. For example, the first data reporting is 15 seconds, and the next time, the detected vehicle status can be synchronously obtained at the 15-second reporting time node to determine and update T2; or after the reporting time node, T2 can be determined and updated before 2*T1, that is, after 15 seconds and before 30 seconds. For another example, the second data reporting cycle is 30 seconds, then the data is reported at the 45th second. At this time, the update time node of the third data reporting cycle can be the 45th second node, or any node between 45 seconds and 90 seconds.
[0068] For example, when Tnor is 15 seconds and Tmax is 5 minutes, after the vehicle is stationary, the heartbeat sequence is as follows: heartbeat interval T: 15, 30, 60, 120, 240, 300, 300, etc., and the corresponding heartbeat time of reporting data is: 0, 15, 45, 105, 225, 465, 765, 1065, etc., which are accumulated in sequence. In this example, the first T1 is 15 seconds, the second T2 is 30 seconds, and so on. After T6, the heartbeat interval remains unchanged at 300 seconds; when reporting data, it is reported once every 15 seconds, and then once every 45 seconds, and then superimposed in sequence.
[0069] In addition, if the vehicle changes from a stationary state to a driving state, the current vehicle data needs to be uploaded to the cloud platform immediately, and the data reporting cycle needs to be dynamically adjusted. It should be understood that the vehicle determines the number of updates to the data reporting cycle after detecting its driving state at each moment to determine whether it is in a stopped state. The value of N needs to be determined according to the specific situation of the vehicle, and the embodiment of the present application does not make specific limitations here.
[0070] S230: Send the location data of the vehicle to the cloud platform according to the data reporting cycle.
[0071] For example, in some embodiments of the present application, after the data reporting period under different driving parameters is determined in the above manner, the vehicle data is reported according to the data reporting period.
[0072] By adjusting the data reporting cycle according to the vehicle's driving parameters, the density of the vehicle's position coordinate points when it passes a curve can be guaranteed, thereby obtaining a more accurate vehicle driving trajectory. At the same time, combined with the algorithm of lengthening the heartbeat interval when stationary, the overall traffic consumption can be reduced.
[0073] The following is combined with Figure 3 The specific process of vehicle data reporting provided by some embodiments of the present application is exemplified.
[0074] Please see attached Figure 3 , Figure 3 A flow chart of a method for reporting vehicle data provided for some embodiments of the present application.
[0075] The above process is explained below by taking the driving status scenario of a vehicle as an example.
[0076] S310, obtaining Tmin, Tnor and Tmax in a preset reporting period related to the vehicle, as well as speed thresholds Vmin and Vmax, and heading angle thresholds Hmin and Hmax.
[0077] S320, obtaining the speed data and the heading angle change rate of the vehicle in real time.
[0078] S330, determine whether the heading angle change rate is less than Hmin, if so, execute S340, otherwise execute S350.
[0079] S340, Tnor is used as the data reporting period.
[0080] S350, calculating the speed data, the heading angle change rate, the speed threshold, the heading angle threshold and the preset reporting period to obtain the data reporting period.
[0081] S360: Send vehicle data of the vehicle to the cloud platform according to the data reporting cycle.
[0082] It should be noted that the specific implementation process of S310 to S360 can refer to the method embodiment provided above, and the detailed description is appropriately omitted here to avoid repetition. In addition, the update method of the data reporting cycle when the vehicle is stationary can refer to the method embodiment provided above.
[0083] Please refer to Figure 4 , Figure 4 The block diagram of the vehicle data reporting device provided by some embodiments of the present application is shown. It should be understood that the vehicle data reporting device corresponds to the above method embodiment and can execute each step involved in the above method embodiment. The specific functions of the vehicle data reporting device can be found in the above description. To avoid repetition, the detailed description is appropriately omitted here.
[0084] Figure 4The vehicle data reporting device includes at least one software function module that can be stored in a memory in the form of software or firmware or solidified in the vehicle data reporting device, and the vehicle data reporting device includes: a parameter acquisition module 410, used to acquire the vehicle's driving parameters in real time, wherein the driving parameters include: the speed data and / or the heading angle change rate of the vehicle; a period update module 420, used to determine the data reporting period of the vehicle according to the driving parameters; wherein the data reporting period is not completely the same under different driving parameters; when the driving parameter is the heading angle change rate, the data reporting period is negatively correlated with the heading angle change rate; when the driving parameter is the speed data, the data reporting period is negatively correlated with the speed data; the data reporting period is selected from a preset reporting period, or the data reporting period is obtained by calculating at least the driving parameter; a data reporting module 430, used to send the vehicle's position data to the cloud platform according to the data reporting period.
[0085] In some embodiments of the present application, the parameter acquisition module 410 is used to obtain a preset reporting period, wherein the preset reporting period includes, in order from short to long, a first reporting period, a second reporting period, and a third reporting period.
[0086] In some embodiments of the present application, the periodic update module 420 is used to obtain the data reporting period by comparing the heading angle change rate with the heading angle threshold when the driving parameters include the heading angle change rate; to obtain the data reporting period by comparing the speed data with the speed threshold when the driving parameters include the speed data; and to determine the data reporting period based on the driving parameters, the heading angle threshold and the speed threshold when the driving parameters include the heading angle change rate and the speed data.
[0087] In some embodiments of the present application, the period updating module 420 is configured to use the second reporting period as the data reporting period when it is determined that the heading angle change rate is less than the heading angle change rate minimum value.
[0088] In some embodiments of the present application, the periodic update module 420 is used to calculate the driving parameters, the speed threshold, the heading angle threshold and the preset reporting period to obtain the data reporting period when determining that the heading angle change rate is greater than or equal to the minimum heading angle change rate in the heading angle threshold; wherein the time of the calculation process is less than the first reporting period.
[0089] In some embodiments of the present application, the periodic update module 420 is used to multiply the difference between the maximum speed within the speed threshold and the speed data, the difference between the maximum heading angle change rate and the heading angle change rate, and the difference between the third reporting period and the first reporting period to obtain a first parameter; multiply the difference between the maximum speed and the minimum speed within the speed threshold, and the difference between the maximum heading angle change rate and the minimum heading angle change rate to obtain a second parameter; add the ratio of the first parameter to the second parameter to the first reporting period to obtain the data reporting period.
[0090] In some embodiments of the present application, the periodic updating module 420 is used to update the first data reporting period corresponding to the first moment when the vehicle is in a stationary state to the second reporting period when the speed data is zero and the vehicle is in a stationary state; when the integer multiple of the i-1th data reporting period is less than or equal to the third reporting period, the i-th data reporting period is updated to the integer multiple of the i-1th data reporting period, i∈(1,N], N is the number of updates of the data reporting period; when the integer multiple of the i-1th data reporting period is greater than the third reporting period, the i-th data reporting period is updated to the third reporting period.
[0091] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0092] Some embodiments of the present application further provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the operations of the method corresponding to any of the above methods provided in the above embodiments.
[0093] Some embodiments of the present application further provide a computer program product, which includes a computer program, wherein when the computer program is executed by a processor, it can implement the operations corresponding to any of the above methods provided in the above embodiments.
[0094] like Figure 5 As shown, some embodiments of the present application provide an electronic device 500, which includes: a memory 510, a processor 520, and a computer program stored in the memory 510 and executable on the processor 520, wherein the processor 520 can implement a method as described in any of the above embodiments when reading the program from the memory 510 through a bus 530 and executing the program.
[0095] Processor 520 can process digital signals and can include various computing structures, such as complex instruction set computer structure, reduced instruction set computer structure, or a structure that implements a combination of multiple instruction sets. In some examples, processor 520 can be a microprocessor.
[0096] The memory 510 may be used to store instructions executed by the processor 520 or data related to the execution of instructions. These instructions and / or data may include codes for implementing some or all functions of one or more modules described in the embodiments of the present application. The processor 520 of the disclosed embodiment may be used to execute instructions in the memory 510 to implement the method shown above. The memory 510 includes a dynamic random access memory, a static random access memory, a flash memory, an optical memory, or other memory known to those skilled in the art.
[0097] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0098] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0099] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for reporting vehicle data, characterized in that: include: Acquiring driving parameters of the vehicle in real time, wherein the driving parameters include: speed data and / or heading angle change rate of the vehicle; Determine the data reporting period of the vehicle according to the driving parameter; wherein the data reporting period is not completely the same under different driving parameters; when the driving parameter is the heading angle change rate, the data reporting period is negatively correlated with the heading angle change rate; when the driving parameter is the speed data, the data reporting period is negatively correlated with the speed data; the data reporting period is selected from a preset reporting period, or the data reporting period is obtained by calculating at least the driving parameter; The location data of the vehicle is sent to the cloud platform according to the data reporting cycle.
2. The method according to claim 1, characterized in that Before determining the data reporting period of the vehicle according to the driving parameters, the method further includes: The preset reporting cycle is obtained, wherein the preset reporting cycle includes, in order from short to long, a first reporting cycle, a second reporting cycle, and a third reporting cycle.
3. The method according to claim 2, characterized in that The step of determining the data reporting period of the vehicle according to the driving parameters includes: When the driving parameter includes the heading angle change rate, acquiring the data reporting period by comparing the heading angle change rate with a heading angle threshold; When the driving parameter includes the speed data, obtaining the data reporting period by comparing the speed data with a speed threshold; When the driving parameters include the heading angle change rate and the speed data, the data reporting period is determined based on the driving parameters, the heading angle threshold and the speed threshold.
4. The method according to claim 3, characterized in that The step of obtaining the data reporting period by comparing the heading angle change rate with the heading angle threshold comprises: When it is determined that the heading angle change rate is less than the minimum heading angle change rate in the heading angle threshold, the second reporting period is used as the data reporting period.
5. The method according to claim 3, characterized in that The determining the data reporting period based on the driving parameter, the heading angle threshold and the speed threshold includes: When it is determined that the heading angle change rate is greater than or equal to the minimum heading angle change rate in the heading angle threshold, the driving parameters, the speed threshold, the heading angle threshold and the preset reporting period are calculated to obtain the data reporting period; wherein the time of the calculation process is less than the first reporting period.
6. The method according to claim 5, characterized in that The calculating the driving parameter, the speed threshold, the heading angle threshold, and the preset reporting period to obtain the data reporting period includes: Multiplying a difference between a maximum speed within the speed threshold and the speed data, a difference between a maximum heading angle change rate and the heading angle change rate, and a difference between the third reporting period and the first reporting period to obtain a first parameter; Multiplying the difference between the maximum speed and the minimum speed within the speed threshold by the difference between the maximum heading angle change rate and the minimum heading angle change rate to obtain a second parameter; The data reporting period is obtained by adding the ratio of the first parameter to the second parameter to the first reporting period.
7. The method according to claim 3, characterized in that When the speed data is zero and the vehicle is stationary, the data reporting period is determined by the following method: Updating a first data reporting period corresponding to a first moment when the vehicle is in a stationary state to the second reporting period; When the integer multiple of the i-1th data reporting period is less than or equal to the third reporting period, the i-th data reporting period is updated to the integer multiple of the i-1th data reporting period, i∈(1, N], N is the number of updates of the data reporting period; When the integer multiple of the (i-1)th data reporting period is greater than the third reporting period, the (i)th data reporting period is updated to the third reporting period.
8. A vehicle data reporting device, characterized in that: include: A parameter acquisition module, used for acquiring the driving parameters of the vehicle in real time, wherein the driving parameters include: the speed data and / or the heading angle change rate of the vehicle; a period update module, for determining a data reporting period of the vehicle according to the driving parameter; wherein the data reporting period is not completely the same under different driving parameters; when the driving parameter is the heading angle change rate, the data reporting period is negatively correlated with the heading angle change rate; when the driving parameter is the speed data, the data reporting period is negatively correlated with the speed data; the data reporting period is selected from a preset reporting period, or the data reporting period is obtained by calculating at least the driving parameter; The data reporting module is used to send the location data of the vehicle to the cloud platform according to the data reporting cycle.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program executes the method according to any one of claims 1 to 7 when executed by a processor.
10. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the computer program executes the method according to any one of claims 1 to 7 when being run by the processor.
Citation Information
Patent Citations
Floating car information collection and optimization method based on active information reporting
CN103065471A
Data acquisition cycle adjusting method and device
CN106017469A
Method for recording actual driving mileage of automobile
CN114683857A
Vehicle-mounted GPS data uploading method, system and device
CN115733867A
Vehicle state data adaptive transmission method, system and device and readable medium
CN117456639A