Data transmission method and device, vehicle and server

By comparing the changes between the vehicle signal frame and the reference signal frame, sending the changes or updating the reference signal frame, the problem of large data transmission volume in vehicle remote analysis is solved, and traffic cost savings and efficient data transmission are achieved.

CN120676007APending Publication Date: 2025-09-19GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410279454.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-12
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

In vehicle remote analysis technology, the amount of data transmitted during the transmission process is large, resulting in high traffic costs.

Method used

By obtaining the vehicle's current signal frame and comparing the change with the reference signal frame, if there is no change, the change is sent to the server; if there is a change, the reference signal frame is updated to reduce redundant data transmission.

Benefits of technology

It effectively reduces the amount of data transmission, saves traffic costs, and ensures the deduplication effect of signal frames and the integrity of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120676007A_ABST
    Figure CN120676007A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transmission method and device, a vehicle and a server. The method comprises the following steps: acquiring a current signal frame of a vehicle, and if a vehicle signal with a preset identifier in the current signal frame does not change relative to a reference signal frame, sending a variable quantity of the current signal frame relative to the reference signal frame to a server, so that the server determines the current signal frame based on the reference signal frame and the variable quantity; and if so, sending the current signal frame as a new reference signal frame to the server. Through the mode, if the vehicle signal with the preset identifier in the current signal frame does not change relative to the reference signal frame, the variable quantity of the current signal frame relative to the reference signal frame can be sent to the server, so that redundant data between the current signal frame and the reference signal frame can be removed, and the user experience is improved. Therefore, when the variable quantity is uploaded to the server, the data transmission quantity in the transmission process can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and more specifically, to a data transmission method, device, vehicle, and server. Background Art

[0002] With the continuous development of vehicle technology, vehicle remote analysis technology has also been significantly improved. In related methods, in order to remotely analyze the vehicle's operating status, it is necessary to collect the vehicle's own data through the vehicle's big data acquisition system, and transmit these vehicle's own data to the server through the network, so that the server can remotely analyze the vehicle's operating status, and can also realize remote diagnosis of vehicle faults and remote vehicle interaction. However, in related methods, there is still the problem of large data transmission volume during the transmission process. Summary of the Invention

[0003] In view of the above problems, the present application proposes a data transmission method, device, vehicle and server to improve the above problems.

[0004] In the first aspect, the present application provides a data transmission method, which includes: obtaining a current signal frame of a vehicle, wherein each signal frame includes multiple signal groups, and each signal group in the multiple signal groups contains vehicle signals with the same identification at different acquisition times; if the vehicle signal with a preset identification in the current signal frame has not changed relative to the reference signal frame, sending the change in the current signal frame relative to the reference signal frame to a server, so that the server can determine the current signal frame based on the reference signal frame and the change; if the vehicle signal with a preset identification in the current signal frame has changed relative to the reference signal frame, sending the current signal frame as a new reference signal frame to the server.

[0005] In second aspect, the present application provides a data transmission method, which includes: in response to receiving a change amount from a vehicle, obtaining the signal frame based on the change amount and a reference signal frame corresponding to the change amount; in response to receiving a new reference signal frame from the vehicle, storing the new reference signal frame so that when the change amount at the next moment is received from the vehicle, the new reference signal frame is used as the reference signal frame of the change amount at the next moment.

[0006] In the third aspect, the present application provides a data processing device, which includes: a data frame acquisition unit, used to acquire the current signal frame of the vehicle, wherein each signal frame includes multiple signal groups, and each signal group in the multiple signal groups contains vehicle signals with the same identification at different acquisition times; a data frame processing unit, used to send the change in the current signal frame relative to the reference signal frame to a server if the vehicle signal with a preset identification in the current signal frame has not changed relative to the reference signal frame, so that the server can determine the current signal frame based on the reference signal frame and the change; if the vehicle signal with a preset identification in the current signal frame has changed relative to the reference signal frame, send the current signal frame to the server as a new reference signal frame.

[0007] In a fourth aspect, the present application provides a data processing device, which includes: a data frame restoration unit, for obtaining the signal frame in response to receiving a change amount from a vehicle based on the change amount and a reference signal frame corresponding to the change amount; in response to receiving a new reference signal frame from the vehicle, storing the new reference signal frame so that when the change amount at the next moment is received from the vehicle, the new reference signal frame is used as the reference signal frame of the change amount at the next moment.

[0008] In a fifth aspect, the present application provides a vehicle comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.

[0009] In a sixth aspect, the present application provides a server comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.

[0010] In a seventh aspect, the present application provides a computer-readable storage medium, in which program code is stored, wherein the above method is executed when the program code is run.

[0011] The present application provides a data transmission method, device, vehicle, server, and storage medium. After obtaining the current signal frame of the vehicle, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change amount in the current signal frame relative to the reference signal frame is sent to the server, so that the server can determine the current signal frame based on the reference signal frame and the change amount. If the vehicle signal with a preset identifier in the current signal frame has changed relative to the reference signal frame, the current signal frame is sent to the server as a new reference signal frame. Through the above-mentioned method, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change amount in the current signal frame relative to the reference signal frame can be sent to the server, thereby removing redundant data between the current signal frame and the reference signal frame, and further reducing the amount of data transmitted during the transmission process when uploading the change amount to the server, thereby saving traffic costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 A flowchart of a data transmission method proposed in an embodiment of the present application;

[0014] Figure 2 A schematic diagram of a signal frame proposed in this application is shown;

[0015] Figure 3 A schematic diagram of a signal frame and a reference signal frame proposed in this application is shown;

[0016] Figure 4 A schematic diagram of signal frame deduplication based on reference signal frames proposed in this application is shown;

[0017] Figure 5 A schematic diagram of reference prediction frame deduplication proposed in this application is shown;

[0018] Figure 6 A flowchart of a data transmission method proposed in another embodiment of the present application is shown;

[0019] Figure 7 A flowchart of a data transmission method proposed in another embodiment of the present application is shown;

[0020] Figure 8 A schematic diagram of signal frame restoration proposed in this application is shown;

[0021] Figure 9 A structural block diagram of a data transmission device proposed in an embodiment of the present application is shown;

[0022] Figure 10 A structural block diagram of another data transmission device proposed in an embodiment of the present application is shown;

[0023] Figure 11 Shown is a structural block diagram of a vehicle proposed in this application. DETAILED DESCRIPTION

[0024] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0025] In an embodiment of the present application, the inventors have proposed a data transmission method, device, vehicle, server, and storage medium. After obtaining the current signal frame of the vehicle, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the amount of change in the current signal frame relative to the reference signal frame is sent to the server, so that the server can determine the current signal frame based on the reference signal frame and the amount of change. If the vehicle signal with a preset identifier in the current signal frame has changed relative to the reference signal frame, the current signal frame is sent to the server as a new reference signal frame. Through the above-mentioned method, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the amount of change in the current signal frame relative to the reference signal frame can be sent to the server, thereby removing redundant data between the current signal frame and the reference signal frame, and further reducing the amount of data transmitted during the transmission process when uploading the amount of change to the server, thereby saving traffic costs.

[0026] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0027] MD5 (Message-Digest Algorithm 5): It can be a hash algorithm. MD5 can convert data of any length into a hash value of fixed length. This hash value is the MD5 hash value.

[0028] The embodiments of this application will be described below with reference to the accompanying drawings.

[0029] See also Figure 1, an embodiment of the present application provides a data transmission method, the method comprising:

[0030] S110: Acquire a current signal frame of the vehicle, wherein each signal frame includes multiple signal groups, and each signal group in the multiple signal groups contains vehicle signals with the same identification at different acquisition moments.

[0031] Among them, each signal group can be provided with a first index, and the first index of the signal group can be used to quickly access the signal group. Each vehicle signal can have a second index, and the second index of the vehicle signal can be used to quickly access the vehicle signal. The multiple vehicle signals in each signal group can be sorted from first to last according to the collection time, and the vehicle signals in each signal group can have the same vehicle signal identifier, and the vehicle signal identifier can be represented by 0xA001 or other identifiers. The vehicle signal can represent the information corresponding to the corresponding functional unit information in the vehicle, and the functional units in the vehicle can include information such as the vehicle's lights on, the vehicle's lights off, the vehicle's usage mode is dormant, the vehicle's usage mode is driving, the vehicle's usage mode is off, the vehicle speed, the heading angle, and so on.

[0032] As a method, the vehicle can obtain the signal frame collection strategy in the signal frame collection instruction after responding to the signal frame collection instruction received from the server, so that the vehicle can collect signal frames based on the signal frame collection strategy.

[0033] The signal frame acquisition strategy may include the vehicle signal identification of the vehicle signal to be acquired, the data acquisition frequency and the data acquisition duration. Figure 2 As shown, the signal frame acquisition strategy can be to collect vehicle signals with vehicle signal identification 0xA001, collect vehicle signals with vehicle signal identification 0xA002, collect data at a frequency of once per second, and collect data for 10 seconds; then within 10 seconds, vehicle signals with vehicle signal identification 0xA001 and 0xA002 will be collected every second, and the 10 collected vehicle signals with vehicle signal identification 0xA001 can be used as signal group 1, and the 10 collected vehicle signals with vehicle signal identification 0xA002 can be used as signal group 2, and then signal group 1 and signal group 2 can be combined into a signal frame. In other words, the signal frame collected based on this signal frame acquisition strategy can include 2 signal groups (signal group 1 and signal group 2), and each signal group can include 10 vehicle signals with the same identification.

[0034] S120: If the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change in the current signal frame relative to the reference signal frame is sent to the server, so that the server can determine the current signal frame based on the reference signal frame and the change.

[0035] Among them, the reference signal frame can be a signal frame used to check whether there are repeated redundant data in the currently acquired signal frame. In the present application, RSG (Reference Signal Group) can be used to represent the reference signal frame, and the reference signal frame can be pre-defined by the user based on the business scenario. The reference signal frame can include multiple vehicle signals with preset identifiers, and multiple vehicle signals with preset identifiers can be the most stable signals. The change amount can be a signal frame after the repeated redundant data is removed from the signal frame. In the present application, PSG (Predicted Signal Group) can be used to represent the change amount.

[0036] As one approach, the most stable vehicle signal can be determined based on the changes in each vehicle signal within a specified time period. For example, the signal value corresponding to each vehicle signal within the specified time period can be obtained, and the standard deviation or variance of the signal value corresponding to each vehicle signal within the specified time period can be calculated. The vehicle signal with the smallest standard deviation or variance can then be selected as the preset identified vehicle signal.

[0037] Optionally, in actual application, multiple reference signal frames can be set based on different business scenarios, and each reference signal frame includes a vehicle signal with a preset identifier, so that signal frames of different business scenarios can be deduplicated based on multiple reference signal frames.

[0038] As a method, a vehicle signal with a preset identifier in a signal frame can be obtained based on a vehicle signal with a preset identifier in a reference signal frame. Then, the vehicle signal with a preset identifier in the reference signal frame and the vehicle signal with a preset identifier in the signal frame can be compared to obtain a comparison result.

[0039] Optionally, obtain the verification values ​​corresponding to each vehicle signal with a preset identifier in the reference signal frame and the verification values ​​corresponding to each vehicle signal with a preset identifier in the signal frame, and obtain multiple verification value comparison results based on the verification values ​​corresponding to each vehicle signal with a preset identifier in the reference signal frame and the verification values ​​corresponding to each vehicle signal with a preset identifier in the signal frame; obtain a comparison result based on the multiple verification value comparison results.

[0040] The check value may be an MD5 hash value, which may represent information in the vehicle signal. Each vehicle signal may have a check value. The check value comparison result may be identical or different. Identical check values ​​may indicate that the compared vehicle signals are identical, while different check values ​​may indicate that the compared vehicle signals are different.

[0041] Optionally, while obtaining the signal frame, the MD5 hash value corresponding to each vehicle signal in the signal group in the signal frame can be calculated, and while the vehicle obtains the reference signal frame, the MD5 hash value corresponding to each vehicle signal in each signal group in the reference signal frame can be calculated.

[0042] Optionally, multiple verification value comparison results may be obtained based on the verification value corresponding to each vehicle signal with a preset identifier in the reference signal frame and the verification value corresponding to each vehicle signal with a preset identifier in the signal frame.

[0043] For example, Figure 3 As shown, in the current signal frame, the acquisition times, from earliest to latest, can be T1, T2, T3, T4, etc., and in the reference signal frame, the acquisition times, from earliest to latest, can be T1', T2', T3', T4', etc. Therefore, the vehicle signal at time T1 in the signal frame and the vehicle signal at time T1' in the reference signal frame can be arranged in the same position. Furthermore, the identifier corresponding to the vehicle signal with a preset identifier in the reference signal frame can be 0xA001, so the identifier corresponding to the vehicle signal with a preset identifier in the signal frame is also 0xA001. Furthermore, the vehicle signal corresponding to the vehicle signal at time T1 in the signal frame can be the vehicle signal at time T1' in the reference signal frame. Therefore, the MD5 checksum corresponding to the vehicle signal with an identifier of 0xA001 at time T1 in the current signal frame can be compared with the MD5 checksum corresponding to the vehicle signal with an identifier of 0xA001 at time T1' in the reference signal frame to obtain the checksum comparison result at time T1.

[0044] In an embodiment of the present application, in the process of deduplicating signal frames, the MD5 checksum value of each vehicle signal is used for comparison instead of directly using the original data type for comparison. This can keep the code of the business process corresponding to the signal frame deduplication unchanged, thereby not affecting the business process corresponding to the signal frame deduplication that is currently running, and thus avoiding the impact of changes in the business process on the signal frame deduplication.

[0045] As a method, if the comparison results of multiple verification values ​​are not exactly the same, that is, they include one or more verification value comparison results representing different verification values, then the corresponding comparison results can represent that the vehicle signal with a preset identifier in the current signal frame has changed relative to the reference signal frame; if the comparison results of multiple verification values ​​are all the same, then the corresponding comparison results can represent that the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame.

[0046] As a method, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, multiple signal groups in the signal frame that are exactly the same as the reference signal frame can be removed, and the removed signal frame can be used as a reference prediction frame. Based on the reference prediction frame, the change amount can be obtained and sent to the server, and there is no signal group that is exactly the same in the change amount.

[0047] Optionally, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, multiple signal groups that are exactly the same as the reference signal frame can be removed from the signal frame, and the first indexes of the removed multiple signal groups can be updated to the first indexes corresponding to the corresponding multiple signal groups in the reference signal frame, so that the change amount can be obtained based on the signal frame after the first index is updated.

[0048] Exemplarily, the first index corresponding to the signal group in the reference signal frame can be represented by index1, and if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, multiple signal groups in the signal frame that are exactly the same as the reference signal frame can be removed, and the first index of the removed signal group can be updated to the first index of the signal group of the reference signal frame (i.e., index1) to point to the signal group of the reference signal frame.

[0049] In the embodiments of this application, Figure 4 As shown, based on the reference signal frame, a vehicle signal with a preset identifier in the reference signal frame can be obtained. After obtaining the vehicle signal with the preset identifier, the vehicle signal with the preset identifier can be compared with the corresponding vehicle signal in the current signal frame, so as to determine whether the reference signal frame needs to be updated. If there is no difference between the vehicle signal with the preset identifier and the corresponding vehicle signal of the current signal frame, the current signal frame can be deduplicated based on the reference signal frame, and the change amount can be obtained based on the deduplicated signal frame; if there is a difference between the vehicle signal with the preset identifier and the corresponding vehicle signal of the current signal frame, the reference signal frame can be updated based on the current signal frame.

[0050] As one approach, after determining that the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the same vehicle signal in each signal group in the reference prediction frame may be filtered out to obtain the change amount.

[0051] Optionally, the MD5 check values ​​corresponding to multiple vehicle signals in the same signal group in the reference prediction frame may be compared in sequence, so as to determine whether the same vehicle signal exists in the same signal group.

[0052] Optionally, multiple vehicle signals with the same MD5 checksum value in the same signal group can be used as a first reference signal group. Furthermore, multiple first reference signal groups can exist in the same signal group. In this case, the same signal group can include multiple first reference signal groups and other vehicle signals, wherein the multiple vehicle signals in the first reference signal group are identical.

[0053] Optionally, after obtaining a plurality of first reference signal groups, a vehicle signal may be selected from each first reference signal group, and the variation may be obtained based on the selected vehicle signal and other vehicle signals in the same signal group.

[0054] Exemplarily, if the same signal group includes three first reference signal groups, wherein the first first reference signal group includes the vehicle signal at time T1, the vehicle signal at time T2, and the vehicle signal at time T3, the second first reference signal group includes the vehicle signal at time T4, the vehicle signal at time T5, and the vehicle signal at time T6, and the third first reference signal group includes the vehicle signal at time T7, the vehicle signal at time T8, and the vehicle signal at time T9; then the vehicle signal at time T1 can be selected from the first first reference signal group, the vehicle signal at time T4 can be selected from the second first reference signal group, and the vehicle signal at time T7 can be selected from the third first reference signal group, and then the change amount can be obtained based on the vehicle signal at time T1, the vehicle signal at time T4, the vehicle signal at time T7, and the vehicle signal at time T10.

[0055] Optionally, after obtaining multiple first reference signal groups, one vehicle signal in the first reference signal group can be retained, other vehicle signals in the first reference signal group can be removed, and the second index of the removed vehicle signal can be updated to the second index of the retained vehicle signal, so that an updated first reference signal group can be obtained, and the change amount can be obtained based on the updated first reference signal group and other vehicle signals in the same signal group.

[0056] The second index may be used to guide the variation to find the vehicle signal corresponding to the removed vehicle signal in the same signal group.

[0057] Exemplarily, the second index can be represented by index2. If the same signal group includes three first reference signal groups, wherein the first first reference signal group includes the vehicle signal at time T1, the vehicle signal at time T2, and the vehicle signal at time T3, the second first reference signal group includes the vehicle signal at time T4, the vehicle signal at time T5, and the vehicle signal at time T6, and the third first reference signal group includes the vehicle signal at time T7, the vehicle signal at time T8, and the vehicle signal at time T9; then the vehicle signal at time T1 and the vehicle signal at time T2 can be removed from the first first reference signal group to obtain an updated first first reference signal group (including the vehicle signal at time T3); the vehicle signal at time T4 and the vehicle signal at time T5 can be removed from the second first reference signal group to obtain an updated second first reference signal group (including the vehicle signal at time T6); and the vehicle signal at time T7 and the vehicle signal at time T8 can be removed from the third first reference signal group to obtain an updated third first reference signal group (including the vehicle signal at time T9).

[0058] Afterwards, the second index of the vehicle signal at time T1 that was removed can be updated to the second index of the retained vehicle signal (i.e., index2-T3), and the second index of the vehicle signal at time T2 that was removed can be updated to the second index of the retained vehicle signal (i.e., index2-T3); the second index of the vehicle signal at time T4 that was removed can be updated to the second index of the retained vehicle signal (i.e., index2-T6), and the second index of the vehicle signal at time T5 that was removed can be updated to the second index of the retained vehicle signal (i.e., index2-T6); the second index of the vehicle signal at time T7 that was removed can be updated to the second index of the retained vehicle signal (i.e., index2-T9), and the second index of the vehicle signal at time T8 that was removed can be updated to the second index of the retained vehicle signal (i.e., index2-T9); thereby, the change amount can be obtained based on the vehicle signal at time T3, the vehicle signal at time T6, the vehicle signal at time T9, and the vehicle signal at time T10.

[0059] As another way, if each signal group in the reference prediction frame does not include the same vehicle signal, the reference prediction frame can be used as the variation.

[0060] In the embodiments of this application, Figure 5As shown, after obtaining the reference prediction frame, the verification values ​​corresponding to multiple vehicle signals in the same signal group in the reference prediction frame can be obtained, and then the verification values ​​of each vehicle signal can be compared. If each signal group in the reference prediction frame does not include the same vehicle signal, the reference prediction frame can be used as the variation; if each signal group in the reference prediction frame includes the same vehicle signal, one vehicle signal with the same verification value can be retained, and then the variation can be obtained based on the other vehicle signals in the same signal group.

[0061] S130: If the vehicle signal with a preset identifier in the current signal frame changes relative to the reference signal frame, the current signal frame is sent to the server as a new reference signal frame.

[0062] Optionally, if the vehicle signal with a preset identifier in the current signal frame changes relative to the reference signal frame, the current signal frame is sent to the server as a new reference signal frame.

[0063] In an embodiment of the present application, since the vehicle signal with a preset identifier is the most stable signal, if the comparison result indicates that the vehicle signal with a preset identifier in the current signal frame has changed relative to the reference signal frame, then it can be indicated that most of the vehicle signals in the vehicle have also changed, and the reference signal frame currently used is no longer referenceable. That is to say, if the current reference signal frame continues to be used to deduplicate subsequently collected signal frames, the deduplication effect of the signal frame will be poor; therefore, the reference signal frame can be updated based on the signal frame (that is, the signal frame can be used as a new reference signal frame) to achieve adaptive update of the reference signal frame, so that the subsequent collected new frames can be deduplicated based on the new reference signal frame, thereby ensuring better deduplication effect under various actual vehicle operating conditions.

[0064] This embodiment provides a data transmission method. After obtaining the current signal frame of the vehicle, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change amount in the current signal frame relative to the reference signal frame is sent to the server, so that the server can determine the current signal frame based on the reference signal frame and the change amount. If the vehicle signal with a preset identifier in the current signal frame has changed relative to the reference signal frame, the current signal frame is sent to the server as a new reference signal frame. Through the above method, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change amount in the current signal frame relative to the reference signal frame can be sent to the server, thereby removing redundant data between the current signal frame and the reference signal frame, and further reducing the amount of data transmitted during the transmission process when uploading the change amount to the server, thereby saving traffic costs.

[0065] See also Figure 6 , an embodiment of the present application provides a data transmission method, the method comprising:

[0066] S210: Acquire a current original frame of the vehicle, where the original frame includes a plurality of original signal groups, and each of the plurality of original signal groups includes vehicle signals with the same identification at different acquisition times.

[0067] The original frame may be a signal frame collected based on a signal frame collection strategy. The vehicle signal of each original frame may have a third index, and the third index of the vehicle signal of the original frame may be used to quickly access the vehicle signal.

[0068] As a method, the vehicle can obtain the signal frame collection strategy in the signal frame collection instruction after responding to the signal frame collection instruction received from the server, so that the vehicle can collect the original frame based on the signal frame collection strategy.

[0069] S220: Filter out the same vehicle signals in each original signal group of the original frame to obtain the signal frame.

[0070] As a method, the MD5 check values ​​corresponding to multiple vehicle signals in the same original signal group in the original frame can be compared in sequence, so as to determine whether the same vehicle signal exists in the same original signal group.

[0071] Optionally, multiple vehicle signals with the same MD5 checksum value in the same original signal group can be used as a second reference signal group. Furthermore, multiple second reference signal groups can exist in the same original signal group, and in this case, the same original signal group can include multiple second reference signal groups and other vehicle signals in the same original signal group.

[0072] Optionally, after obtaining multiple second reference signal groups, a vehicle signal may be selected from each second reference signal group, and a signal frame may be obtained based on the selected vehicle signal and other vehicle signals in the same original signal group.

[0073] Optionally, after obtaining multiple second reference signal groups, one vehicle signal in the second reference signal group can be retained, other vehicle signals in the second reference signal group can be removed, and the third index of the removed vehicle signal can be updated to the third index of the retained vehicle signal, so that an updated second reference signal group can be obtained, and a signal frame can be obtained based on the updated second reference signal group and other vehicle signals in the same original signal group; wherein the third index can be used to guide the signal frame to find the vehicle signal corresponding to the removed vehicle signal in the same original signal group.

[0074] S230: If the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change in the current signal frame relative to the reference signal frame is sent to the server, so that the server can determine the current signal frame based on the reference signal frame and the change.

[0075] As a method, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the same vehicle signal in each original signal group of the original frame can be filtered out, and the removed signal frame can be used as the change amount to send the change amount to the server.

[0076] S240: If the vehicle signal with a preset identifier in the current signal frame changes relative to the reference signal frame, the current signal frame is sent to the server as a new reference signal frame.

[0077] This embodiment provides a data transmission method, which, through the above-mentioned method, allows, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, to send the change in the current signal frame relative to the reference signal frame to the server, thereby removing the redundant data between the current signal frame and the reference signal frame, and further reducing the amount of data transmission during the transmission process when uploading the change to the server, thereby saving traffic costs. Moreover, in the present application, the same vehicle signal in the original signal group within the original frame can be deduplicated to obtain a signal frame, so that when comparing the signal frame with the reference signal frame, there is no need to compare the vehicle signal at the position corresponding to the third index, thereby reducing the number of vehicle signal comparisons, thereby reducing the amount of calculation for the vehicle and improving the processing efficiency of the vehicle.

[0078] See also Figure 7 , an embodiment of the present application provides a data transmission method, the method comprising:

[0079] S310: In response to receiving a change amount from a vehicle, obtaining the signal frame based on the change amount and a reference signal frame corresponding to the change amount.

[0080] As a method, after receiving the change from the vehicle, the server can use the second index in the change to point to the vehicle signal in the first reference signal group in the same signal group to restore the vehicle signal removed from the first reference signal group, thereby restoring the change to a reference prediction frame.

[0081] Optionally, after obtaining the reference prediction frame, the signal group in the current reference signal frame can be directed based on the first index in the reference prediction frame to restore the signal group removed from the reference prediction frame, thereby restoring the reference prediction frame to a signal frame.

[0082] S320: In response to receiving a new reference signal frame from the vehicle, storing the new reference signal frame so that when receiving a change amount at the next moment from the vehicle, the new reference signal frame is used as a reference signal frame for the change amount at the next moment.

[0083] As one approach, the server may update the current reference signal frame based on the new reference signal frame in response to receiving the new reference signal frame sent from the vehicle.

[0084] Optionally, the change between the current reference signal frame and the new reference signal frame can be used as a preset interval (Group Of Picture, GOP), so that the change within the preset interval can be restored based on the reference signal frames within the same preset interval to obtain a signal frame.

[0085] For example, Figure 8 As shown, the reference signal frame located within a preset interval can be reference signal frame A, and the variation can be variation a1, variation a2, variation a3, variation a4 and variation a5. Then, when restoring variation a1, variation a1 can be restored based on the signal group corresponding to reference signal frame A to obtain the signal frame corresponding to variation a1; the reference signal frame located within a preset interval can be reference signal frame B, and the variation can be variation b1, variation b2, variation b3, variation a4 and variation b5. Then, when restoring variation b1, variation b1 can be restored based on the signal group corresponding to reference signal frame B to obtain the signal frame corresponding to variation b1.

[0086] In an embodiment of the present application, since in actual applications, the longer the length of the preset interval is (that is, the more changes it contains), the greater the complexity of signal frame restoration, it is necessary to adaptively update the reference signal frame (that is, update the reference signal frame of the server after receiving a new reference signal frame from the vehicle) and adjust the length of the preset interval (adaptively adjust based on the new reference signal frame) according to the specific situation, so as to ensure better data restoration effect under various actual vehicle operating conditions.

[0087] This embodiment provides a data transmission method. Through the above-mentioned method, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change in the current signal frame relative to the reference signal frame can be sent to the server, thereby removing redundant data between the current signal frame and the reference signal frame. This can reduce the amount of data transmission during the transmission process when the change is uploaded to the server, thereby saving traffic costs. Furthermore, in this application, the server can restore the signal frame using the change within the same preset interval, the reference prediction frame, and the reference signal frame, thereby ensuring the integrity of the restored signal frame and avoiding data loss or damage.

[0088] See also Figure 9 The present application provides a data processing device 800, the device 800 comprising:

[0089] The signal frame acquisition unit 810 is configured to acquire the current signal frame of the vehicle, wherein each signal frame includes multiple signal groups, and each signal group in the multiple signal groups contains vehicle signals with the same identification at different acquisition moments.

[0090] The signal frame processing unit 820 is used to send the change in the current signal frame relative to the reference signal frame to the server if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, so that the server can determine the current signal frame based on the reference signal frame and the change; if the vehicle signal with a preset identifier in the current signal frame has changed relative to the reference signal frame, send the current signal frame to the server as a new reference signal frame.

[0091] As a method, the signal frame processing unit 820 is specifically used to remove multiple signal groups in the signal frame that are exactly the same as the reference signal frame if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, and use the removed signal frame as a reference prediction frame; based on the reference prediction frame, obtain the change amount, and send the change amount to the server, and there is no completely identical signal group in the change amount.

[0092] Optionally, the signal frame processing unit 820 is specifically configured to filter out the same vehicle signal in each signal group in the reference prediction frame to obtain the variation.

[0093] As a method, the signal frame acquisition unit 810 is specifically used to obtain the current original frame of the vehicle, where the original frame includes multiple original signal groups, and each of the multiple original signal groups contains vehicle signals with the same identification at different acquisition times; the same vehicle signals in each original signal group of the original frame are filtered out to obtain the signal frame.

[0094] See also Figure 10 The present application provides a data processing device 1000, the device 1000 comprising:

[0095] The signal frame restoration unit 1010 is used to obtain the signal frame in response to receiving a change amount from the vehicle based on the change amount and a reference signal frame corresponding to the change amount; in response to receiving a new reference signal frame from the vehicle, store the new reference signal frame so that when receiving a change amount from the vehicle at the next moment, the new reference signal frame can be used as a reference signal frame for the change amount at the next moment.

[0096] The following will be combined Figure 11 A vehicle provided in this application is described.

[0097] See also Figure 11 Based on the above-mentioned data transmission method and apparatus, embodiments of the present application provide a vehicle 100 capable of executing the aforementioned data transmission method. Vehicle 100 includes a processor 102, a memory 104, and a communication module 106. The memory 104 stores a program capable of executing the contents of the above-mentioned embodiments, and the processor 102 can execute the program stored in the memory 104.

[0098] The processor 102 may include one or more processing cores. The processor 102 utilizes various interfaces and circuits to connect various components within the vehicle 100. It executes instructions, programs, code sets, or instruction sets stored in the memory 104 and accesses data stored in the memory 104 to perform various functions and process data for the vehicle 100. Optionally, the processor 102 may be implemented in the form of at least one of a network processor (NPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 102 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; the NPU is responsible for processing multimedia data such as video and images; and the modem is responsible for wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 102, but may be implemented separately through a communication chip.

[0099] The memory 104 may include random access memory (RAM), read-only memory (ROM), and double data rate synchronous dynamic random access memory (DDR). The memory 104 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 104 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the various method embodiments described below, etc. The data storage area may also store data created by the vehicle 100 during use (such as a phone book, audio and video data, chat history data, etc.).

[0100] The communication module 106 can be used to implement information exchange between the vehicle 100 and other devices, for example, transmitting device control instructions, operation request instructions, and status information acquisition instructions, etc. When the other devices are different devices, the corresponding communication modules 106 may be different.

[0101] The present application also provides another server capable of executing the aforementioned data transmission method. The server includes a processor, a memory, and a communication module. The memory of the server stores a program capable of executing the aforementioned embodiments, and the processor of the server executes the program stored in the memory. The communication module of the server can be used to implement information exchange between the server and other devices.

[0102] An embodiment of the present application provides a computer-readable storage medium having program code stored therein, wherein the program code can be invoked by a processor to execute the method described in the above method embodiment.

[0103] The computer-readable storage medium can be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for program codes for executing any of the method steps described above. These program codes can be read from or written to one or more computer program products. The program codes can be compressed, for example, in an appropriate form.

[0104] In summary, the present application provides a data transmission method, device, vehicle, server, and storage medium. After obtaining the current signal frame of the vehicle, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change in the current signal frame relative to the reference signal frame is sent to the server, so that the server can determine the current signal frame based on the reference signal frame and the change. If the vehicle signal with a preset identifier in the current signal frame has changed relative to the reference signal frame, the current signal frame is sent to the server as a new reference signal frame. In the above manner, if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, the change in the current signal frame relative to the reference signal frame can be sent to the server, thereby removing redundant data between the current signal frame and the reference signal frame, and reducing the amount of data transmitted during the transmission process when uploading the change to the server, thereby saving traffic costs.

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

Claims

1. A data transmission method, characterized in that: The method comprises: Acquire a current signal frame of the vehicle, wherein each signal frame includes multiple signal groups, and each signal group in the multiple signal groups includes vehicle signals with the same identifier at different acquisition times; If the vehicle signal with a preset identifier in the current signal frame does not change relative to the reference signal frame, sending a change in the current signal frame relative to the reference signal frame to the server, so that the server can determine the current signal frame based on the reference signal frame and the change; If the vehicle signal with a preset identifier in the current signal frame changes relative to the reference signal frame, the current signal frame is sent to the server as a new reference signal frame.

2. The method according to claim 1, characterized in that If the vehicle signal with a preset identifier in the current signal frame does not change relative to the reference signal frame, sending a change amount of the current signal frame relative to the reference signal frame to the server includes: If the vehicle signal with a preset identifier in the current signal frame does not change relative to the reference signal frame, removing multiple signal groups in the signal frame that are identical to the reference signal frame, and using the signal frame after the removal as a reference prediction frame; The variation is obtained based on the reference prediction frame and is sent to a server, wherein no completely identical signal groups exist in the variation.

3. The method according to claim 2, characterized in that The obtaining the variation based on the reference prediction frame includes: The same vehicle signal in each signal group in the reference prediction frame is filtered out to obtain the variation.

4. The method according to claim 1, wherein The obtaining of the current signal frame of the vehicle includes: Acquire a current original frame of the vehicle, the original frame including a plurality of original signal groups, each of the plurality of original signal groups including vehicle signals with the same identifier at different acquisition times; The same vehicle signals in each original signal group of the original frame are filtered out to obtain the signal frame.

5. A data transmission method, characterized in that: The method comprises: In response to receiving a variation from a vehicle, obtaining the signal frame based on the variation and a reference signal frame corresponding to the variation; In response to receiving a new reference signal frame from the vehicle, the new reference signal frame is stored so that when a change amount at a next moment is received from the vehicle, the new reference signal frame is used as a reference signal frame for the change amount at the next moment.

6. A data transmission device, characterized in that: The device comprises: A signal frame acquisition unit, configured to acquire a current signal frame of the vehicle, wherein each signal frame includes a plurality of signal groups, and each signal group in the plurality of signal groups includes vehicle signals with the same identification at different acquisition times; A signal frame processing unit is configured to send the amount of change in the current signal frame relative to the reference signal frame to a server if the vehicle signal with a preset identifier in the current signal frame has not changed relative to the reference signal frame, so that the server can determine the current signal frame based on the reference signal frame and the amount of change; and to send the current signal frame to the server as a new reference signal frame if the vehicle signal with a preset identifier in the current signal frame has changed relative to the reference signal frame.

7. A data transmission device, characterized in that: The device comprises: A signal frame restoration unit is configured to, in response to receiving a change amount from a vehicle, obtain the signal frame based on the change amount and a reference signal frame corresponding to the change amount; and in response to receiving a new reference signal frame from the vehicle, store the new reference signal frame so that when receiving a change amount from the vehicle at the next moment, the new reference signal frame can be used as a reference signal frame for the change amount at the next moment.

8. A vehicle, characterized in that: including one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 4.

9. A server, characterized in that: including one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, wherein the one or more programs are configured to execute the method of claim 5 .

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores program code, wherein when the program code is run, the method according to any one of claims 1 to 5 is executed.

Citation Information

Cited By

  • Routing architecture and routing method based on AUTOSAR architecture cross-chip CAN data and vehicle

    CN120896897A