Vehicle and server data synchronization method, apparatus and device

By setting the time interval based on the rate of change of the vehicle's synchronization indicators, the problem of redundant transmission and storage waste in vehicle-cloud server data synchronization is solved, achieving more efficient data transmission and accurate monitoring.

CN116346755BActive Publication Date: 2026-02-27GUOQI INTELLIGENT CONTROL (CHONGQING) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310333965.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2026-02-27
Estimated Expiration
2043-03-30

AI Technical Summary

Technical Problem

During the data synchronization process between vehicles and cloud servers, there are problems of duplicate data transmission and wasted storage resources.

Method used

By determining the rate of change of the vehicle's synchronization indicator over a historical period, the time interval information is determined based on the rate of change, and the time interval information and the synchronization indicator are sent to the vehicle so that the vehicle can upload data based on this information.

Benefits of technology

It reduces the waste of data transmission resources, improves data integrity and reliability, ensures that the data received by the server is more accurate, and reduces the storage requirements on the server side.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116346755B_ABST
    Figure CN116346755B_ABST
Patent Text Reader

Abstract

The application provides a vehicle and server data synchronization method, device and equipment, the method comprises the following steps: determining the to-be-synchronized index of the vehicle, and determining the value change rate of the to-be-synchronized index of the vehicle in a historical period; according to the value change rate of the to-be-synchronized index of the vehicle in the historical period, the time interval information corresponding to the to-be-synchronized index is determined, wherein the value change rate is negatively correlated with the time interval information; the time interval information and the to-be-synchronized index are sent to the vehicle; and the synchronization data returned by the vehicle is received. Through the above method, the problem of transmission resource waste caused by the fact that there is a large amount of repeated data in the data reported by the vehicle twice in succession can be avoided. In addition, through the above method, the amount of data required to be stored on the server side can be reduced. Moreover, for data with a large value change rate, a smaller time interval information can be set, so that the data obtained by the server is more complete and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of data processing, and in particular to a vehicle and server data synchronization method, device and equipment. BACKGROUND

[0002] At present, in order to facilitate the monitoring of the running state of the vehicle by the cloud server, the vehicle will report the data corresponding to each synchronization target in the vehicle to the cloud every preset time interval.

[0003] However, in the above data synchronization process, there will be repeated data in the data transmitted in the adjacent two time intervals, which will cause the transmitted data to occupy a large amount of bandwidth, and the cloud server will also waste a lot of storage resources when storing the data reported by the vehicle.

[0004] Therefore, it is urgent to provide a data synchronization method between a vehicle and a cloud server to avoid waste of transmission resources between the vehicle and the cloud server. SUMMARY

[0005] The present application provides a vehicle and server data synchronization method, device and equipment to solve the problem of large transmission resource occupation when a vehicle and a server synchronize data in related technologies.

[0006] In a first aspect, the present application provides a vehicle and server data synchronization method, comprising:

[0007] determining a synchronization target of the vehicle, and determining a value change rate of the synchronization target of the vehicle in a historical period;

[0008] determining time interval information corresponding to the synchronization target according to the value change rate of the synchronization target of the vehicle in the historical period, the time interval information representing a time interval for the vehicle to upload data corresponding to the synchronization target; wherein the value change rate and the time interval information are negatively correlated;

[0009] sending the time interval information and the synchronization target to the vehicle;

[0010] receiving synchronization data returned by the vehicle, wherein the synchronization data is data corresponding to the synchronization target determined by the vehicle based on the time interval information and the synchronization target.

[0011] In a possible implementation, determining the value change rate of the synchronization target of the vehicle in the historical period comprises:

[0012] obtaining current driving environment information of the vehicle and historical driving environment information of the vehicle, wherein the driving environment information comprises at least one of route information, driving time, driving road condition information, and weather information;

[0013] determining a time period corresponding to the historical driving environment information of the vehicle as the historical time period, if the current driving environment information of the vehicle is the same as the historical driving environment information of the vehicle;

[0014] determining a change rate of the to-be-synchronized index of the vehicle in the historical time period according to the historical time period and the to-be-synchronized index.

[0015] In a possible implementation, if the driving environment information of the vehicle comprises route information and driving time, determining a time period corresponding to the historical driving environment information of the vehicle as the historical time period, if the current driving environment information of the vehicle is the same as the historical driving environment information of the vehicle, comprises:

[0016] determining a first similarity between the current route information of the vehicle and the historical route information of the vehicle according to a driving distance, a driving road type, and a driving route in the route information;

[0017] determining a difference between the current driving time of the vehicle and the historical driving time of the vehicle, and determining a second similarity based on the difference;

[0018] performing weighted sum processing on the first similarity and the second similarity to obtain a processing result corresponding to the historical driving environment information of the vehicle;

[0019] determining a time period corresponding to the historical driving environment information of the vehicle corresponding to the processing result with the maximum value as the historical time period.

[0020] In a possible implementation, the time interval information comprises a first time interval and a second time interval corresponding to the to-be-synchronized index, wherein the first time interval represents a time interval of full data of the to-be-synchronized index uploaded by the vehicle; the second time interval represents a time interval of a data change amount of the to-be-synchronized index uploaded by the vehicle; and the first time interval is greater than the second time interval.

[0021] The synchronization data comprises full data of the to-be-synchronized index of the vehicle or a data change amount of the to-be-synchronized index of the vehicle, wherein the data change amount is a difference between a value of the to-be-synchronized index at a current moment and a value of the last to-be-synchronized index uploaded by the vehicle before the current moment.

[0022] In a possible implementation, determining the to-be-synchronized index of the vehicle comprises:

[0023] If it is determined that the vehicle is a vehicle that synchronizes data with the server for the first time, vehicle information of the vehicle is acquired, the vehicle information including a vehicle type and an automatic driving level supported by the vehicle;

[0024] According to the vehicle information, a synchronization index of the vehicle is determined.

[0025] In a possible implementation, the synchronization data further includes a synchronization identifier; after the synchronization data returned by the vehicle is received, the method further includes:

[0026] The synchronization identifier in the synchronization data is sent to the vehicle, so that the vehicle determines that the server has acquired the synchronization data based on the received synchronization identifier.

[0027] In a possible implementation, the vehicle is configured to send the synchronization data to the server if it is determined that the synchronization identifier in the synchronization data sent by the server is not received within a preset time interval after the synchronization data is returned.

[0028] In a possible implementation, the method further includes:

[0029] The alarm rule information corresponding to the synchronization index is acquired; the alarm rule information is used to indicate an alarm rule corresponding to the synchronization index.

[0030] If it is determined that the synchronization data meets the alarm rule information, alarm prompt information is sent to the vehicle.

[0031] In a second aspect, the application provides a data synchronization device of a vehicle and a server, including:

[0032] A first determination unit is configured to determine a synchronization index of a vehicle.

[0033] A second determination unit is configured to determine a value change rate of the synchronization index of the vehicle within a historical period.

[0034] A third determination unit is configured to determine time interval information corresponding to the synchronization index according to the value change rate of the synchronization index of the vehicle within the historical period, the time interval information representing a time interval for uploading data corresponding to the synchronization index by the vehicle; and the value change rate is negatively correlated with the time interval information.

[0035] A first sending unit is configured to send the time interval information and the synchronization index to the vehicle.

[0036] The first receiving unit is configured to receive synchronization data returned by the vehicle, wherein the synchronization data is data corresponding to the to-be-synchronized index determined by the vehicle based on the time interval information and the to-be-synchronized index.

[0037] In a possible implementation, the second determining unit comprises:

[0038] The first obtaining module is configured to obtain current driving environment information of the vehicle and historical driving environment information of the vehicle, wherein the driving environment information comprises at least one of route information, driving time, driving road condition information, and weather information.

[0039] The first determining module is configured to determine a time period corresponding to the historical driving environment information of the vehicle as the historical time period.

[0040] The second determining module is configured to determine a value change rate of the to-be-synchronized index of the vehicle in the historical time period according to the historical time period and the to-be-synchronized index.

[0041] In a possible implementation, if the driving environment information of the vehicle comprises route information and driving time, the first determining module is specifically configured to:

[0042] determine a first similarity between the current route information of the vehicle and the historical route information of the vehicle according to a driving distance, a driving road type, and a driving route in the route information;

[0043] determine a difference between the current driving time of the vehicle and the historical driving time of the vehicle, and determine a second similarity based on the difference;

[0044] perform weighted summation processing on the first similarity and the second similarity to obtain a processing result corresponding to the historical driving environment information of the vehicle;

[0045] determine a time period corresponding to the historical driving environment information of the vehicle corresponding to the processing result with the maximum value as the historical time period.

[0046] In a possible implementation, the time interval information comprises a first time interval and a second time interval corresponding to the to-be-synchronized index, wherein the first time interval represents a time interval of full data of the to-be-synchronized index uploaded by the vehicle, the second time interval represents a time interval of a data change amount of the to-be-synchronized index uploaded by the vehicle, and the first time interval is greater than the second time interval.

[0047] The synchronization data includes full data of a to-be-synchronized index of the vehicle or a data change amount of the to-be-synchronized index of the vehicle, where the data change amount is a difference between a value of the to-be-synchronized index at a current moment and a value of the to-be-synchronized index uploaded by the vehicle at a last time point before the current moment.

[0048] In a possible implementation, the first determining unit includes:

[0049] The second obtaining module is configured to, if it is determined that the vehicle is a vehicle that performs data synchronization with the server for the first time, obtain vehicle information of the vehicle, where the vehicle information includes a vehicle type and an automatic driving level supported by the vehicle.

[0050] The third determining module is configured to determine the to-be-synchronized index of the vehicle according to the vehicle information.

[0051] In a possible implementation, the synchronization data further includes a synchronization identifier; and the apparatus further includes:

[0052] The second sending unit is configured to, after the first receiving unit receives the synchronization data returned by the vehicle, send the synchronization identifier in the synchronization data to the vehicle, so that the vehicle determines that the server has obtained the synchronization data based on the received synchronization identifier.

[0053] In a possible implementation, the vehicle is configured to, if it is determined that the synchronization identifier in the synchronization data sent by the server is not received within a preset time interval after the synchronization data is returned, send the synchronization data to the server.

[0054] In a possible implementation, the apparatus further includes:

[0055] The obtaining unit is configured to obtain alarm rule information corresponding to the to-be-synchronized index, where the alarm rule information is used to indicate an alarm rule corresponding to the to-be-synchronized index.

[0056] The third sending unit is configured to, if it is determined that the synchronization data satisfies the alarm rule information, send alarm prompt information to the vehicle.

[0057] In a third aspect, the present application provides an electronic device, including: a memory, a processor;

[0058] a memory; a memory for storing executable instructions of the processor;

[0059] The processor is configured to execute the method according to any one of the first aspect.

[0060] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are used to implement the method according to any one of the first aspect when executed by a processor.

[0061] In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a computer program, and the computer program is used to implement the method according to any one of the first aspect when executed by a processor.

[0062] The vehicle and server data synchronization method, device and equipment provided by the present application comprise the following steps: determining a to-be-synchronized index of a vehicle, and determining a value change rate of the to-be-synchronized index of the vehicle in a historical period; determining time interval information corresponding to the to-be-synchronized index according to the value change rate of the to-be-synchronized index of the vehicle in the historical period, wherein the time interval information represents a time interval for the vehicle to upload data corresponding to the to-be-synchronized index; wherein the value change rate is negatively correlated with the time interval information; sending the time interval information and the to-be-synchronized index to the vehicle; and receiving synchronization data returned by the vehicle, wherein the synchronization data is data corresponding to the to-be-synchronized index determined by the vehicle based on the time interval information and the to-be-synchronized index. The above method can avoid the problem of waste of transmission resources caused by the fact that there is a large amount of repeated data in the data reported by the vehicle twice in succession when the time interval information of the vehicle is small in the related art. In addition, the above method can also reduce the amount of data that needs to be stored on the server side. Moreover, for data with a large value change rate, by setting a small time interval information, the data obtained by the server can be more complete and reliable, and thus the monitoring result obtained by the server based on the received data can also be more accurate. BRIEF DESCRIPTION OF DRAWINGS

[0063] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0064] Figure 1 A flowchart of a vehicle and server data synchronization method provided by an embodiment of the present application;

[0065] Figure 2 A flowchart of a second vehicle and server data synchronization method provided by an embodiment of the present application;

[0066] Figure 3 A signaling interaction diagram between a vehicle and a server provided by an embodiment of the present application;

[0067] Figure 4A third vehicle and server data synchronization method flow diagram provided by the embodiments of the present application;

[0068] Figure 5 A vehicle and server data synchronization device structure diagram provided by the embodiments of the present application;

[0069] Figure 6 A second vehicle and server data synchronization device structure diagram provided by the embodiments of the present application;

[0070] Figure 7 A third vehicle and server data synchronization device structure diagram provided by the embodiments of the present application;

[0071] Figure 8 A fourth vehicle and server data synchronization device structure diagram provided by the embodiments of the present application;

[0072] Figure 9 A structure diagram of an electronic device provided in the embodiments of the present application.

[0073] Through the above-mentioned drawings, the specific embodiments of the present application have been shown, and will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0074] The exemplary embodiments will be described in detail herein with reference to the accompanying drawings. In the following description, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present application.

[0075] With the continuous development of vehicle automatic driving technology, it is usually necessary to monitor the running state information of the vehicle during the driving process of the vehicle, and synchronize the running state information of the vehicle to the cloud server, so as to realize the monitoring of the running state of the vehicle by the cloud server.

[0076] In the related art, a preset time interval is set in advance in the vehicle, and during the running process of the vehicle, the data corresponding to each synchronization target to be reported is uploaded to the cloud server every time interval.

[0077] However, in the above data synchronization process, the method of setting the same preset time interval for different indicators in the same vehicle is prone to cause a large amount of repeated data in the adjacent two data reporting processes of the vehicle, and thus is prone to cause waste of transmission resources.

[0078] The application provides a vehicle and server data synchronization method, device and equipment to solve the above technical problems.

[0079] The technical solutions of the application and how the technical solutions solve the above technical problems will be described in detail below with specific examples. The following specific examples can be combined with each other, and the same or similar concepts or processes can not be described again in some examples. The embodiments of the application will be described below with reference to the drawings.

[0080] Figure 1 A flowchart of a vehicle and server data synchronization method provided by an embodiment of the application is shown in FIG. 1, which includes the following steps: Figure 1

[0081] S101, determining a to-be-synchronized index of a vehicle.

[0082] Exemplarily, the method provided in the embodiment can be applied to a server. When data synchronization is performed between a vehicle and the server, the server first determines a to-be-synchronized index of the vehicle to be synchronized in the current data synchronization process.

[0083] In one example, the server can determine the to-be-synchronized index of the vehicle in the current data synchronization process based on the synchronization index contained in the historical synchronization data of the vehicle.

[0084] In one example, when the vehicle establishes communication with the server, the vehicle can upload all indexes in the vehicle to the server, so that the server can determine the to-be-synchronized index from the indexes uploaded by the vehicle.

[0085] S102, determining a value change rate of the to-be-synchronized index of the vehicle in a historical period.

[0086] Exemplarily, after the to-be-synchronized index of the vehicle is determined, the value change rate of the to-be-synchronized index of the vehicle in the historical period, i.e., the value change of the to-be-synchronized index per unit time, also needs to be determined.

[0087] In one example, if the vehicle and the server have performed data synchronization for many times, the server can directly determine the value change rate according to the historical data on the server side, or can directly request the vehicle for the value of the to-be-synchronized index in the historical period.

[0088] ​In an example, if the server determines that the rate of change of the to-be-synchronized index of the vehicle in the historical period cannot be obtained, the server can select the value of the to-be-synchronized index of the remaining vehicles of the same vehicle model as the vehicle in the historical period. Further, the remaining vehicles and the vehicle currently performing data synchronization can also be vehicles in the same city, thereby increasing the possibility that the current vehicle and the remaining vehicles have the same driving route.

[0089] S103, determining, according to the rate of change of the to-be-synchronized index of the vehicle in the historical period, time interval information corresponding to the to-be-synchronized index, the time interval information representing a time interval for uploading data corresponding to the to-be-synchronized index by the vehicle; wherein the rate of change is negatively correlated with the time interval information.

[0090] In an example, after determining the rate of change of the to-be-synchronized index in the historical period, the server can further determine the time interval information corresponding to the to-be-synchronized index according to the rate of change. The time interval information can be understood as a time interval corresponding to the current vehicle when reporting data synchronization of the data corresponding to the to-be-synchronized index. Specifically, the rate of change and the time interval information are negatively correlated in the embodiment. That is, when the rate of change is greater, the frequency of change of the value corresponding to the to-be-synchronized index is faster, and the value of the time interval corresponding to the to-be-synchronized index is smaller. Therefore, by setting a smaller time interval, the server can receive more complete changes of the to-be-synchronized index. When the rate of change of the to-be-synchronized index in the historical period is small, the frequency of change of the value corresponding to the to-be-synchronized index is low, and a larger time interval can be set to avoid waste of communication resources between the vehicle and the server.

[0091] S104, sending the time interval information and the to-be-synchronized index to the vehicle.

[0092] In an example, after determining the to-be-synchronized index and the time interval information, the server can send the to-be-synchronized index and the time interval information corresponding to the to-be-synchronized index to the vehicle, so that the vehicle can return data to the server based on the information.

[0093] It should be noted that when there are multiple to-be-synchronized indexes that need to be uploaded, the time interval information corresponding to each to-be-synchronized index can be determined one by one.

[0094] S105, receiving the synchronization data returned by the vehicle, wherein the synchronization data is data corresponding to the to-be-synchronized index determined by the vehicle based on the time interval information and the to-be-synchronized index.

[0095] Exemplarily, after receiving the to-be-synchronized indicator and the time interval information, the vehicle obtains the data corresponding to the to-be-synchronized indicator once every interval of the received time interval information, and reports the data as the synchronization data to the server, so that the server can monitor the running state of the vehicle.

[0096] For example, in actual application, the to-be-synchronized indicator corresponding to the vehicle can include the resource occupancy rate of the central processor of the automatic driving system of the vehicle, the memory occupancy rate, the node running state of the algorithm contained in the automatic driving system, and the like.

[0097] It can be understood that, in the embodiment, by determining the value change rate of the to-be-synchronized indicator of the vehicle in the historical period and further determining the time interval information corresponding to the to-be-synchronized indicator, the problem of waste of transmission resources caused by too much repeated data in the data reported by the vehicle twice in succession due to too small time interval information of the vehicle in the related technology can be avoided. In addition, by the above method, the amount of data to be stored on the server side can also be reduced. Moreover, for data with a large value change rate, by setting a smaller time interval information, the data obtained by the server can be more complete and reliable, and thus the monitoring result obtained by the server when monitoring based on the received data can also be more accurate.

[0098] Figure 2 A flowchart of a second data synchronization method between a vehicle and a server is provided in the embodiments of the present application. As shown in Figure 2 the method includes the following steps:

[0099] S201, if it is determined that the vehicle is a vehicle that performs data synchronization with the server for the first time, vehicle information of the vehicle is obtained, and the vehicle information includes the vehicle type and the automatic driving level supported by the vehicle.

[0100] Exemplarily, the method provided in the embodiments can be applied to the server. When data synchronization is needed between the vehicle and the server, first, the server determines whether the vehicle that needs to perform data synchronization is a vehicle that performs data synchronization for the first time. If it is determined that the vehicle is a vehicle that performs data synchronization for the first time, the vehicle type and the automatic driving level supported by the vehicle can be further obtained. The vehicle hardware information configured in vehicles of different vehicle types is different, and the algorithms configured in vehicles corresponding to different automatic driving levels are also different. By obtaining the above vehicle information, the to-be-synchronized indicator of the vehicle can be determined.

[0101] S202, according to the vehicle information, the to-be-synchronized indicator of the vehicle is determined.

[0102] Exemplarily, in this embodiment, after the vehicle information is acquired, the vehicle corresponding to-be-synchronized indicators can be further determined according to the vehicle information. For example, the correspondence between the vehicle information and the to-be-synchronized indicators is pre-stored in the server, and then the to-be-synchronized indicators of the vehicle can be determined according to the preset correspondence and the acquired vehicle information. Alternatively, the to-be-synchronized indicators of the current vehicle can be determined by searching the synchronization indicators of the vehicle with the same vehicle information in the historical data synchronization process.

[0103] It can be understood that, in this embodiment, the to-be-synchronized indicators of the vehicle are determined by the vehicle type and the automatic driving level supported by the vehicle, which can improve the accuracy of the determined to-be-synchronized indicators, and different to-be-synchronized indicators can be set for different vehicles, thereby facilitating the server to determine different monitoring contents for different vehicles to ensure the accuracy of subsequent vehicle monitoring.

[0104] S203, acquire current driving environment information of the vehicle and historical driving environment information of the vehicle; the driving environment information includes at least one of route information, driving time, driving road condition information, and weather information.

[0105] Exemplarily, in this embodiment, when determining the value change rate of the to-be-synchronized indicators of the vehicle in the historical period, the specific time of the historical period can be determined first. Specifically, the current driving environment information of the vehicle and the historical driving environment information of the vehicle can be acquired first. The driving environment information can include at least one of route information, driving time, driving road condition, and weather information.

[0106] The route information can include the starting point, the ending point, and the driving route of the driving route.

[0107] The driving time specifically refers to which time period in a day when the vehicle is currently driving, for example, 8-9 am or 6-7 pm.

[0108] The driving road condition can be specifically the road congestion degree when the vehicle is driving, the speed limit information of the road, the number of traffic lights, the number of intersections, etc.

[0109] S204, determine the period corresponding to the historical driving environment information of the vehicle as the historical period.

[0110] Exemplarily, after the current driving environment information and the historical driving environment information of the vehicle are acquired, the current driving environment information and the historical driving environment information can be compared, and the period corresponding to the historical driving environment information that is the same as the current driving environment information is determined as the historical period. Here, the period can include date and time information.

[0111] It should be noted that the same in this step can also be understood as the similarity between the current driving environment information and the historical environment information is greater than a preset threshold.

[0112] It can be understood that in the embodiment, the method of comparing the current driving environment information of the vehicle with the historical driving environment information of the vehicle is used to determine which time period the value change rate needs to be obtained, so that the obtained value change rate can be closer to the value change rate of the current vehicle operation, thereby improving the accuracy of the time interval information determination, and further avoiding the problem of large transmission resources occupied in the vehicle data synchronization process.

[0113] In one example, when the driving environment information of the vehicle includes route information and driving time, step S204 includes the following steps:

[0114] The first step of step S204: determining a first similarity between the current route information of the vehicle and the historical route information of the vehicle according to the driving distance, the driving road type and the driving route in the route information;

[0115] The second step of step S204: determining the difference between the current driving time of the vehicle and the historical driving time of the vehicle, and determining a second similarity based on the difference;

[0116] The third step of step S204: performing weighted sum processing on the first similarity and the second similarity to obtain a processing result corresponding to the historical driving environment information of the vehicle;

[0117] The fourth step of step S204: determining the time period corresponding to the historical driving environment information corresponding to the processing result with the maximum value as the historical time period.

[0118] Exemplarily, in the embodiment, when the driving environment information of the vehicle includes two environment indicators, i.e., route information and driving time, at this time, a corresponding similarity can be determined for each environment indicator.

[0119] For route information, when determining the first similarity corresponding to the route information, the first similarity between the route information in the current driving environment information and the route information in the historical driving environment information can be determined from three aspects of the driving distance, the driving road type and the driving route included in the route information. Among them, the driving distance represents the driving distance in the entire driving process. The driving route represents the shape information of the driving route in the vehicle driving process, for example, it can include the information of uphill, downhill and curve of the driving road in the driving route.

[0120] Among them, the current route information can be determined by a path planning processing module of a navigation system of the vehicle in advance.

[0121] For the travel time, the second similarity can be determined according to a difference between the current travel time of the vehicle and the historical travel time.

[0122] After the first similarity and the second similarity are determined, the first similarity and the second similarity can be weighted and summed by using the preset route information and the respective weight values of the travel times, and then a similarity corresponding to the current travel environment information of the vehicle and the historical environment information of the vehicle (i.e., the weighted and summed result can represent the similarity between the two) is obtained. Then, a time period corresponding to the historical travel environment information with the maximum value in the weighted result can be taken as the historical time period.

[0123] It can be understood that in the embodiment, the similarity between the travel environment information can be determined by weighted sum of the first similarity corresponding to the route information and the second similarity corresponding to the travel time when determining the historical time period, so that the determined historical time period is more accurate, and the obtained value change rate is closer to the value change rate of the current vehicle operation, thereby improving the accuracy of the time interval information determination and further avoiding the problem of large transmission resources occupied in the vehicle data synchronization process.

[0124] In one example, when the travel environment information includes route information, travel time, travel road condition information, and weather information, the above technical solutions can also be referred to, i.e., for the above four environment indicators, the similarity corresponding to each environment indicator is determined, and then the similarities are compared based on the weighted sum.

[0125] S205, determining a value change rate of the to-be-synchronized indicator of the vehicle in the historical time period according to the historical time period and the to-be-synchronized indicator.

[0126] Exemplarily, after the specific historical time period is determined, the value change rate of the to-be-synchronized indicator of the vehicle in the historical time period can be further obtained.

[0127] S206, determining time interval information corresponding to the to-be-synchronized indicator according to the value change rate of the to-be-synchronized indicator of the vehicle in the historical time period, the time interval information representing a time interval of data corresponding to the to-be-synchronized indicator uploaded by the vehicle; wherein the value change rate and the time interval information are negatively correlated.

[0128] In an example, the time interval information includes: a first time interval and a second time interval corresponding to the to-be-synchronized index, where the first time interval represents a time interval of uploading full data of the to-be-synchronized index by the vehicle, and the second time interval represents a time interval of uploading a data change amount of the to-be-synchronized index by the vehicle, and the first time interval is greater than the second time interval. The synchronization data includes: full data of the to-be-synchronized index of the vehicle or a data change amount of the to-be-synchronized index of the vehicle, where the data change amount is a difference between a value of the to-be-synchronized index at a current moment and a value of a last to-be-synchronized index uploaded by the vehicle before the current moment.

[0129] In an example, in order to further reduce the occupation of transmission resources between the vehicle and the server, the data corresponding to the to-be-synchronized index uploaded by the vehicle to the server can be divided into full data and a data change amount. The full data can be understood as a value corresponding to the current to-be-synchronized index, and the data change amount can be understood as a difference between the value corresponding to the to-be-synchronized index and full data of the index uploaded at a previous time. Further, the time interval information can specifically include a first time interval and a second time interval, where the first time interval is used to indicate a time interval of uploading full data of the to-be-synchronized index by the vehicle, and the second time interval is used to indicate a time interval of uploading a data change amount of the to-be-synchronized index by the vehicle, and the first time interval is greater than the second time interval.

[0130] For example, the first time interval can be 1 hour, and the second time interval can be 1 minute. When the vehicle performs data synchronization for the first time, full data can be uploaded. Then, every 1 minute, a difference between a value corresponding to the to-be-synchronized index currently obtained and the full data uploaded for the first time is uploaded. When the time interval from uploading the full data reaches 1 hour, full data corresponding to the to-be-synchronized index at the current moment can be continued to be uploaded. Then, every 1 minute, a difference between a value corresponding to the to-be-synchronized index currently obtained and the full data uploaded for the second time is uploaded.

[0131] The value change rate of the to-be-synchronized index in the historical period is negatively correlated with the first time interval corresponding to the to-be-synchronized index, and the value change rate of the to-be-synchronized index in the historical period is negatively correlated with the second time interval corresponding to the to-be-synchronized index.

[0132] In an example, the server can also be preset with a corresponding relationship among the value change rate, the first time interval, and the second time interval, so as to determine the first time interval and the second time interval.

[0133] S207, time interval information and a to-be-synchronized index are sent to the vehicle.

[0134] S208, receiving the synchronization data returned by the vehicle, wherein the synchronization data is data corresponding to the to-be-synchronized indicators determined by the vehicle based on the time interval information and the to-be-synchronized indicators.

[0135] By way of example, the step S207 and the step S208 can refer to the step S104 and the step S105, which will not be described herein again.

[0136] S209, sending the synchronization identifier in the synchronization data to the vehicle, so that the vehicle determines that the server has acquired the synchronization data based on the received synchronization identifier, wherein the synchronization data further comprises the synchronization identifier.

[0137] By way of example, in the embodiment, the vehicle reports the synchronization identifier in the to-be-synchronized data in addition to the data corresponding to the to-be-synchronized indicators. After the server receives the synchronization data uploaded by the vehicle, the server returns the synchronization identifier contained in the synchronization data to the vehicle, so that the vehicle determines that the server has received the synchronization data uploaded by the vehicle.

[0138] It can be understood that, in the embodiment, in order to avoid the phenomenon that the data fails to be accurately synchronized to the server in the data synchronization process between the vehicle and the server, the vehicle can carry the synchronization identifier in the synchronization data, so that it can be determined whether the synchronization data sent by the vehicle is successfully received based on whether the synchronization identifier is returned by the server.

[0139] In one example, the vehicle is configured to send the synchronization data to the server if it is determined that the synchronization identifier in the synchronization data sent by the server is not received within a preset time interval after the synchronization data is returned.

[0140] By way of example, on the basis of the above Figure 2 embodiment, if the vehicle does not receive the synchronization identifier returned by the server after a period of time after the synchronization data is sent, the vehicle determines that the synchronization data sent by the vehicle is not successfully received by the server, at this time, the vehicle can re-upload the to-be-synchronized data, so as to ensure that the server can acquire the data synchronized by the vehicle.

[0141] In this embodiment, by comparing the current driving environment information of the vehicle with the historical driving environment information of the vehicle, it is determined which period of value change rate needs to be obtained, so that the obtained value change rate can be closer to the value change rate of this vehicle operation, thereby improving the accuracy of the time interval information determination, and further avoiding the problem of large transmission resources occupied in the vehicle data synchronization process. In addition, when determining the historical period, the first similarity corresponding to the route information and the second similarity corresponding to the driving time are weighted and summed to determine the similarity between the driving environment information, so that the determined historical period is more accurate, thereby making the obtained value change rate closer to the value change rate of this vehicle operation, thereby improving the accuracy of the time interval information determination, and further avoiding the problem of large transmission resources occupied in the vehicle data synchronization process. Moreover, the vehicle type and the automatic driving level supported by the vehicle are used to determine the synchronization indicators of the vehicle, which can improve the accuracy of the determined synchronization indicators, and different synchronization indicators can be set for different vehicles, thereby facilitating the server to determine different monitoring contents for different vehicles to ensure the accuracy of subsequent vehicle monitoring.

[0142] In some embodiments, on the basis of any one of the embodiments shown in the above Figure 1 or Figure 2 On the basis of any one of the embodiments shown in the above, the method further comprises the following steps: obtaining alarm rule information corresponding to the synchronization indicators; the alarm rule information is used to indicate the alarm rule corresponding to the synchronization indicators; if it is determined that the synchronization data satisfies the alarm rule information, an alarm prompt information is sent to the vehicle.

[0143] For example, when the server receives the synchronization data uploaded by the vehicle, the alarm rule information corresponding to the synchronization indicators in the synchronization data can be further obtained. The alarm rule information can be used to indicate the alarm rule corresponding to the synchronization indicators, that is, the condition that the data corresponding to the synchronization indicators needs to satisfy. When it is determined that the synchronization data meets the alarm rule information, a prompt information can be sent to the vehicle to prompt that the current operation of the vehicle does not meet the normal operation condition. For example, the alarm rule information stipulates that if the resource occupancy rate of the central processor in the vehicle exceeds 80%, an alarm information is sent. If it is determined according to the currently received synchronization data that the resource occupancy rate of the central processor in the vehicle is 85%, the above alarm rule information is met, and at this time a prompt information is sent to the vehicle, so that the control system in the vehicle can clear some unnecessary resource occupation to ensure the normal operation of the vehicle.

[0144] It can be understood that in this embodiment, after the server receives the synchronization data uploaded by the vehicle, the current running state information of the vehicle can be monitored based on the synchronization data uploaded by the vehicle and the preset alarm rule information to ensure the normal operation of the vehicle.

[0145] Figure 3 This is a signaling interaction diagram between a vehicle and a server provided as an embodiment of this application. Figure 3 As shown, the method includes the following steps: S301, the server determines the vehicle's synchronization indicator and the rate of change of the vehicle's synchronization indicator over a historical period. S302, based on the rate of change of the vehicle's synchronization indicator over a historical period, the server determines the time interval information corresponding to the synchronization indicator, wherein the time interval information represents the time interval at which the vehicle uploads the data corresponding to the synchronization indicator; the rate of change of the value is negatively correlated with the time interval information. S303, the server sends the time interval information and the synchronization indicator to the vehicle. S304, based on the time interval information and the synchronization indicator, the server determines the synchronization data. S305, the server sends the synchronization data to the server, wherein the synchronization data includes the data corresponding to the synchronization indicator.

[0146] For example, the steps described above in this embodiment can be found in [reference needed]. Figures 1-2 The specific principles in the illustrated embodiments will not be elaborated here.

[0147] Figure 4 A flowchart illustrating the third vehicle-server data synchronization method provided in this application embodiment is shown below. Figure 4 As shown, the method includes:

[0148] S401, Receive the time interval information and the indicators to be synchronized sent by the server; wherein, the time interval information represents the time interval for the vehicle to upload the data corresponding to the indicators to be synchronized, and the time interval information is determined by the server based on the rate of change of the values ​​of the vehicle's indicators to be synchronized in the historical period, and the rate of change of values ​​is negatively correlated with the time interval information.

[0149] S402. Determine the synchronization data based on the time interval information and the indicators to be synchronized.

[0150] S403. Send synchronization data to the server, wherein the synchronization data includes the data corresponding to the indicators to be synchronized.

[0151] In one example, the synchronization data also includes a synchronization identifier; the server uses this identifier to send the synchronization data to the vehicle after receiving it.

[0152] In one example, after the vehicle sends synchronization data to the server, the method further includes: if it is determined that no synchronization identifier in the synchronization data returned by the server is received within a preset time interval, then the vehicle sends synchronization data to the server.

[0153] The method of the embodiment can be applied to a vehicle, and the method of the embodiment can implement the technical solutions in the above method, and the specific implementation process and technical principles are the same, which will not be repeated here.

[0154] Figure 5 A structural schematic diagram of a vehicle and server data synchronization device provided by the embodiment of the present application is shown in the figure, and the device comprises:

[0155] The first determination unit 501 is configured to determine a to-be-synchronized index of the vehicle.

[0156] The second determination unit 502 is configured to determine a value change rate of the to-be-synchronized index of the vehicle in a historical period.

[0157] The third determination unit 503 is configured to determine time interval information corresponding to the to-be-synchronized index according to the value change rate of the to-be-synchronized index of the vehicle in the historical period, the time interval information representing a time interval for the vehicle to upload data corresponding to the to-be-synchronized index; and the value change rate is negatively correlated with the time interval information.

[0158] The first sending unit 504 is configured to send the time interval information and the to-be-synchronized index to the vehicle.

[0159] The first receiving unit 505 is configured to receive synchronization data returned by the vehicle, wherein the synchronization data is data corresponding to the to-be-synchronized index determined by the vehicle based on the time interval information and the to-be-synchronized index.

[0160] The device provided by the embodiment is used to implement the technical solutions provided by the above method, and the implementation principle and technical effects are similar, which will not be repeated here.

[0161] Figure 6 A structural schematic diagram of a second vehicle and server data synchronization device provided by the embodiment of the present application is shown in the figure, and the device comprises: Figure 5 The second determination unit 502 in the device provided in the embodiment comprises:

[0162] The first acquisition module 5021 is configured to acquire current driving environment information of the vehicle and historical driving environment information of the vehicle; the driving environment information comprises at least one of route information, driving time, driving road condition information, and weather information.

[0163] The first determination module 5022 is configured to determine a historical period corresponding to the historical driving environment information of the vehicle which is the same as the current driving environment information of the vehicle.

[0164] The second determination module 5023 is configured to determine a value change rate of the to-be-synchronized index of the vehicle in the historical period according to the historical period and the to-be-synchronized index.

[0165] In one example, if the driving environment information of the vehicle includes route information and driving time, the first determining module 5022 is specifically configured to:

[0166] determine a first similarity between the current route information of the vehicle and the historical route information of the vehicle according to the driving distance, the driving road type and the driving route in the route information.

[0167] determine a difference between the current driving time of the vehicle and the historical driving time of the vehicle, and determine a second similarity based on the difference.

[0168] perform weighted sum processing on the first similarity and the second similarity to obtain a processing result corresponding to the driving environment information of the vehicle in history.

[0169] determine a time period corresponding to the driving environment information of the vehicle in history corresponding to the processing result with the maximum value as the historical time period.

[0170] In one example, the time interval information includes a first time interval and a second time interval corresponding to the to-be-synchronized indicator, wherein the first time interval represents a time interval of uploading full data of the to-be-synchronized indicator by the vehicle, the second time interval represents a time interval of uploading a data change amount of the to-be-synchronized indicator by the vehicle, and the first time interval is greater than the second time interval.

[0171] The synchronization data includes full data of the to-be-synchronized indicator of the vehicle or a data change amount of the to-be-synchronized indicator of the vehicle, wherein the data change amount is a difference between a value at a current moment of the to-be-synchronized indicator and a value of the last to-be-synchronized indicator uploaded by the vehicle before the current moment.

[0172] In one example, the first determining unit 501 includes:

[0173] The second obtaining module 5011 is configured to, if it is determined that the vehicle is a vehicle that performs data synchronization with the server for the first time, obtain vehicle information of the vehicle, wherein the vehicle information includes a vehicle type and an automatic driving level supported by the vehicle.

[0174] The third determining module 5012 is configured to determine the to-be-synchronized indicator of the vehicle according to the vehicle information.

[0175] In one example, the synchronization data further includes a synchronization identifier, and the apparatus further includes:

[0176] The second sending unit 506 is configured to, after the first receiving unit receives the synchronization data returned by the vehicle, send the synchronization identifier in the synchronization data to the vehicle, so that the vehicle determines that the server has obtained the synchronization data based on the received synchronization identifier.

[0177] In one example, the vehicle is configured to send the synchronization data to the server if it is determined that the synchronization identifier in the synchronization data sent by the server is not received within a preset time interval after returning the synchronization data.

[0178] In one example, the apparatus further comprises:

[0179] The acquisition unit 507 is configured to acquire alarm rule information corresponding to the to-be-synchronized indicator, wherein the alarm rule information is used to indicate an alarm rule corresponding to the to-be-synchronized indicator.

[0180] The third sending unit 508 is configured to send alarm prompt information to the vehicle if it is determined that the synchronization data satisfies the alarm rule information.

[0181] The apparatus provided in the embodiment has similar implementation principles and technical effects to the technical solutions provided by the above method, and thus detailed description is omitted.

[0182] Figure 7 FIG. 3 is a structural schematic diagram of a third vehicle and server data synchronization apparatus provided in an embodiment of the present application. The apparatus can be applied to a vehicle, and the apparatus comprises:

[0183] The second receiving unit 701 is configured to receive time interval information and a to-be-synchronized indicator sent by a server, wherein the time interval information represents a time interval for the vehicle to upload data corresponding to the to-be-synchronized indicator, and the time interval information is determined by the server based on a value change rate of the to-be-synchronized indicator of the vehicle in a historical period, and the value change rate is negatively correlated with the time interval information.

[0184] The fourth determining unit 702 is configured to determine synchronization data according to the time interval information and the to-be-synchronized indicator.

[0185] The fourth sending unit 703 is configured to send the synchronization data to the server, wherein the synchronization data comprises data corresponding to the to-be-synchronized indicator.

[0186] The apparatus provided in the embodiment has similar implementation principles and technical effects to the technical solutions provided by the above method, and thus detailed description is omitted.

[0187] Figure 8 FIG. 4 is a structural schematic diagram of a fourth vehicle and server data synchronization apparatus provided in an embodiment of the present application. The apparatus is applied to a vehicle, and in Figure 7 On the basis of the embodiment shown in FIG. 4, in the embodiment, the synchronization data further comprises a synchronization identifier; and the server is configured to send the synchronization identifier in the synchronization data to the vehicle after receiving the synchronization data.

[0188] In one example, the apparatus further comprises:

[0189] The fifth sending unit 704 is configured to send the synchronization data to the server again if it is determined that the synchronization identifier in the synchronization data returned by the server is not received within a preset time interval after the fourth sending unit 703 sends the synchronization data to the server.

[0190] The device provided in the embodiment can realize the technical solutions provided by the method, and has similar implementation principles and technical effects, which will not be described herein.

[0191] The present application provides an electronic device, comprising: a memory, a processor;

[0192] The memory; the memory for storing the processor executable instruction;

[0193] The processor is configured to execute the method according to the executable instruction.

[0194] Figure 9 A structural schematic diagram of an electronic device provided in the embodiment of the present application is shown in Figure 9 The electronic device comprises:

[0195] The processor 291, the electronic device further comprises a memory 292; can further include a communication interface 293 and a bus 294. Among them, the processor 291, the memory 292, the communication interface 293, can complete the mutual communication through the bus 294. The communication interface 293 can be used for information transmission. The processor 291 can call the logic instruction in the memory 292, to execute the method of the above-mentioned embodiment.

[0196] In addition, the logic instruction in the memory 292 described above can be realized in the form of a software function unit and sold or used as an independent product, which can be stored in a computer readable storage medium.

[0197] The memory 292 as a kind of computer readable storage medium, can be used to store software program, computer executable program, such as the program instruction / module corresponding to the method in the embodiment of the present application. The processor 291 runs the software program, instruction and module stored in the memory 292, thereby executing function application and data processing, that is, realizing the method in the above-mentioned method embodiment.

[0198] The memory 292 can include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required by a function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 292 can include a high-speed random access memory, and can also include a non-volatile memory.

[0199] The application provides a computer readable storage medium, and the computer readable storage medium stores computer execution instructions. The computer execution instructions are executed by a processor to implement the method of any one of the items.

[0200] The application provides a computer program product, and the computer program product comprises a computer program. The computer program is executed by a processor to implement the method of any one of the items.

[0201] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the application be limited only by the scope of the claims, a properly construed, and it is intended that any variations be embraced by the application. The specification and examples are to be considered exemplary only, with the true scope and spirit of the application indicated by the following claims.

[0202] It should be understood that the application is not limited to the precise construction that has been described above and shown in the accompanying drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the application. The scope of the application is indicated only by the claims appended hereto.

Claims

1. A method for synchronizing data between a vehicle and a server, characterized in that, include: Determine the synchronization indicators of the vehicle, and determine the rate of change of the values ​​of the synchronization indicators of the vehicle over a historical period. Based on the rate of change of the vehicle's synchronization indicator over a historical period, the time interval information corresponding to the synchronization indicator is determined, and the time interval information represents the time interval at which the vehicle uploads the data corresponding to the synchronization indicator; wherein, the rate of change of the value is negatively correlated with the time interval information; Send the time interval information and the synchronization target to the vehicle; The vehicle receives synchronization data, wherein the synchronization data is the data corresponding to the synchronization indicator determined by the vehicle based on the time interval information and the synchronization indicator. Determine the rate of change of the vehicle's synchronization index over a historical period, including: Obtain the vehicle's current driving environment information and the vehicle's historical driving environment information; the driving environment information includes at least one of the following: route information, driving time, road condition information, and weather information; The time period corresponding to the historical driving environment information of the vehicle that is the same as the current driving environment information of the vehicle is determined as the historical time period; Based on the historical time period and the synchronization target, the rate of change of the synchronization target of the vehicle during the historical time period is determined.

2. The method according to claim 1, characterized in that, If the vehicle's driving environment information includes route information and driving time, then the time period corresponding to the vehicle's historical driving environment information that is identical to the vehicle's current driving environment information is determined as the historical time period, including: Based on the driving distance, road type, and route in the route information, determine the first similarity between the vehicle's current route information and the vehicle's historical route information; Determine the difference between the current driving time of the vehicle and the historical driving time of the vehicle, and determine a second similarity based on the difference; The first similarity and the second similarity are weighted and summed to obtain the processing result corresponding to the vehicle's historical driving environment information; The time period corresponding to the vehicle's historical driving environment information corresponding to the processing result with the largest value is determined as the historical time period.

3. The method according to claim 1, characterized in that, The time interval information includes: a first time interval and a second time interval corresponding to the indicator to be synchronized, wherein the first time interval represents the time interval for the vehicle to upload full data of the indicator to be synchronized; the second time interval represents the time interval for the vehicle to upload data of the indicator to be synchronized; the first time interval is greater than the second time interval; The synchronization data includes: the full data of the vehicle's indicators to be synchronized or the data change of the vehicle's indicators to be synchronized, wherein the data change is the difference between the value of the indicator to be synchronized at the current time and the value of the last indicator to be synchronized uploaded by the vehicle before the current time.

4. The method according to claim 1, characterized in that, Determine the vehicle's synchronization indicators, including: If it is determined that the vehicle is the first vehicle to synchronize data with the server, then the vehicle information is obtained, including the vehicle type and the level of autonomous driving supported by the vehicle. Based on the vehicle information, determine the synchronization indicators for the vehicle.

5. The method according to claim 1, characterized in that, The synchronization data also includes a synchronization identifier; after receiving the synchronization data returned by the vehicle, the method further includes: The synchronization identifier in the synchronization data is sent to the vehicle so that the vehicle can determine that the server has acquired the synchronization data based on the received synchronization identifier.

6. The method according to claim 5, characterized in that, The vehicle is configured to send the synchronization data to the server if it determines that it has not received the synchronization identifier in the synchronization data sent by the server within a preset time interval after returning the synchronization data.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: Obtain the alarm rule information corresponding to the indicator to be synchronized; the alarm rule information is used to indicate the alarm rule corresponding to the indicator to be synchronized. If it is determined that the synchronization data meets the alarm rule information, then an alarm notification is sent to the vehicle.

8. A data synchronization device between a vehicle and a server, characterized in that, include: The first determining unit is used to determine the synchronization indicators of the vehicle; The second determining unit is used to determine the rate of change of the vehicle's synchronization index during a historical period. The third determining unit is used to determine the time interval information corresponding to the synchronization indicator based on the rate of change of the value of the vehicle's synchronization indicator in a historical period. The time interval information represents the time interval at which the vehicle uploads the data corresponding to the synchronization indicator. The rate of change of the value is negatively correlated with the time interval information. The first sending unit is used to send the time interval information and the synchronization index to the vehicle; The first receiving unit is configured to receive synchronization data returned by the vehicle, wherein the synchronization data is data corresponding to the synchronization index determined by the vehicle based on the time interval information and the synchronization index to be synchronized. The second determining unit includes: The first acquisition module is used to acquire the current driving environment information of the vehicle and the historical driving environment information of the vehicle; the driving environment information includes at least one of the following: route information, driving time, road condition information, and weather information. The first determining module is used to determine the time period corresponding to the historical driving environment information of the vehicle that is the same as the current driving environment information of the vehicle as the historical time period; The second determining module is used to determine the rate of change of the value of the vehicle's synchronization indicator during the historical period based on the historical period and the synchronization indicator.

9. An electronic device, comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Data processing method, device, computer equipment and storage medium

    CN107145572A

  • Data synchronization method and electronic equipment

    CN115269715A