Methods, Apparatuses, Computer Devices, and Storage Media for Data Transmission

By adopting incremental reporting and targeted signal acquisition methods in the data reporting of new energy vehicles, the problems of waste of network resources and inefficiency caused by full reporting are solved, and data transmission efficiency is improved and network bandwidth is saved.

CN115996253BActive Publication Date: 2025-06-27SHANGHAI PATEO INTERNET TECH SERVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111205698.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2025-06-27
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

New energy vehicles adopt full reporting methods in the process of data reporting, resulting in waste of network resources and inefficient efficiency.

Method used

The incremental reporting method is adopted to report only the vehicle signals with changes in the collected data, and the data without changes will not be reported. The type of vehicle signals to be collected is determined by obtaining the identification information of the target vehicle, thereby improving the collection efficiency.

Benefits of technology

It reduces the amount of data transmission, improves data transmission efficiency, saves network bandwidth resources, and improves the efficiency of vehicle signal acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115996253B_ABST
    Figure CN115996253B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a method, apparatus, computer device, and storage medium for data transmission. The method includes the following steps: collecting vehicle signals of a target vehicle, where one signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal; comparing the vehicle signals with the previously reported vehicle signals to obtain incremental signals; generating an incremental signal message according to the incremental signals and the signal identifiers corresponding to the incremental signals; and reporting the incremental signal message to a server. Implementing the embodiments of the present application can reduce the amount of data transmission, improve the data transmission efficiency, and save network bandwidth resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a method, apparatus, computer device, and storage medium for data transmission. Background Art

[0002] In order to improve the operational safety of new energy vehicles, energy vehicle manufacturers need to report vehicle driving-related data to achieve real-time supervision of new energy vehicles. In addition, vehicle manufacturers will also save the collected data in their own databases for subsequent use in testing vehicle performance and analyzing user driving behaviors.

[0003] Currently, new energy vehicles mainly use the national standard 32960 protocol or the ministry standard 808 protocol, etc. to complete data reporting. These protocols usually use full-volume reporting. That is, all data collected by the vehicle needs to be reported, which is likely to cause waste of network resources in the case of excessive signal volume. Summary of the Invention

[0004] An object of this application is to provide a method, apparatus, computer device, and storage medium for data transmission. Its advantage lies in that by adopting the incremental reporting method, vehicle signals with changed collected data are reported, and unchanged data is not reported, thereby reducing the data transmission volume, improving the data transmission efficiency, and saving network bandwidth resources.

[0005] Another object of this application is to provide a method, apparatus, computer device, and storage medium for data transmission. Its advantage lies in that by obtaining the identification information of the target vehicle and determining the type of vehicle signals to be collected, the collection of vehicle signals is made more targeted, thereby improving the collection efficiency of vehicle signals.

[0006] Another object of this application is to provide a method, apparatus, computer device, and storage medium for data transmission. Its advantage lies in that by reporting a signal exception message to the server to prompt the server that some vehicle signal collections are abnormal, it is convenient for the subsequent server to process the signal exception messages with collection failures.

[0007] Another object of this application is to provide a method, apparatus, computer device, and storage medium for data transmission. Its advantage lies in that generating an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal can make the message generation strategy for vehicle signals simpler and more flexible.

[0008] Another object of the present application is to provide a data transmission method, apparatus, computer device, and storage medium. Its advantage lies in that if the number of times there is no incremental signal reaches a preset threshold, the reporting frequency can be adjusted so that the adjusted reporting frequency is less than the preset reporting frequency, which can avoid the problem of waste of network bandwidth resources caused by the reporting frequency being too fast and the vehicle signals not having time to change.

[0009] To achieve the above object, in a first aspect, an embodiment of the present application provides a data transmission method, including the following steps:

[0010] Collect vehicle signals of a target vehicle. One signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal;

[0011] Compare the vehicle signals with the previously reported vehicle signals to obtain incremental signals;

[0012] Generate an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal;

[0013] Report the incremental signal message to the server.

[0014] It can be seen that by adopting the incremental reporting method, the vehicle signals with changed collected data are reported, and the unchanged data is not reported, which can reduce the data transmission volume, improve the data transmission efficiency, and save network bandwidth resources.

[0015] In some possible implementation manners, the step of collecting vehicle signals of the target vehicle includes the following steps:

[0016] Obtain the identification information of the target vehicle;

[0017] According to the identification information, determine the type of vehicle signals to be collected. The type of vehicle signals includes driving mileage, cruising range, average fuel consumption, or vehicle speed;

[0018] Collect the vehicle signals according to the type of vehicle signals to be collected.

[0019] It can be seen that the vehicle signal collection strategy obtained in the embodiment of the present application is configured on demand. The vehicle signals in the collection strategy correspond to the vehicle identification information, and there will be no redundant or vehicle signals that the target vehicle does not have, making the collection of vehicle signals more targeted, thereby improving the collection efficiency of vehicle signals.

[0020] In some possible implementation manners, before the step of comparing the vehicle signals with the previously reported vehicle signals to obtain incremental signals, the following steps are further included:

[0021] In response to the failure of vehicle signal acquisition, upload a signal anomaly message to the server, where the signal anomaly message is used to indicate the anomaly of vehicle signal acquisition; or

[0022] In response to the successful acquisition of the vehicle signal, execute the step of comparing the vehicle signal with the previously reported vehicle signal to obtain an incremental signal.

[0023] It can be seen that if the in-vehicle terminal detects the failure of vehicle signal acquisition, it reports a signal anomaly message to the server to prompt the server that there are anomalies in some vehicle signal acquisitions, which is convenient for the server to process the signal anomaly messages with acquisition failures subsequently.

[0024] In some possible implementation manners, generating an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal includes the following steps:

[0025] Determine the type of the incremental signal according to the signal identifier corresponding to the incremental signal;

[0026] Determine the reporting order and byte length of the incremental signal according to the type of the incremental signal;

[0027] According to the byte length, perform format conversion on the incremental signal to obtain a reporting message body;

[0028] Combine the reporting message bodies according to the reporting order to obtain an incremental signal message.

[0029] It can be seen that generating an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal can make the message generation strategy of vehicle signals simpler and more flexible.

[0030] In some possible implementation manners, the method includes the following steps:

[0031] If the number of times when there is no incremental signal in the comparison between the vehicle signal and the previously reported vehicle signal reaches a preset threshold, adjust the reporting frequency so that the adjusted reporting frequency is less than the preset reporting frequency.

[0032] It can be seen that when it is determined that the number of times when there is no incremental signal reaches the preset threshold, adjusting the reporting frequency so that the adjusted reporting frequency is less than the preset reporting frequency can avoid the problem of waste of network bandwidth resources caused by the too fast reporting frequency and the vehicle signal not having time to change.

[0033] In a second aspect, an embodiment of the present application provides another data transmission method, including the following steps:

[0034] Receive an incremental signal message;

[0035] Parse the incremental signal message to obtain the signal identifier corresponding to the incremental signal;

[0036] Obtain the incremental signal according to the signal identifier corresponding to the incremental signal.

[0037] It can be seen that the embodiments of the present application only need to process the incremental signal, which greatly improves the efficiency of data processing and saves network bandwidth resources at the same time.

[0038] In a third aspect, an embodiment of the present application provides a data transmission device, including the following parts:

[0039] An acquisition module, configured to acquire vehicle signals of a target vehicle, where one signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal;

[0040] A comparison module, configured to compare the vehicle signal with the previously acquired vehicle signal to obtain an incremental signal;

[0041] A generation module, configured to generate an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal;

[0042] A reporting module, configured to report the incremental signal message to a server.

[0043] In a fourth aspect, an embodiment of the present application provides another data transmission device, including the following parts:

[0044] A receiving module, configured to receive an incremental signal message;

[0045] An analysis module, configured to analyze the incremental signal message to obtain the signal identifier corresponding to the incremental signal;

[0046] An obtaining module, configured to obtain the incremental signal according to the signal identifier corresponding to the incremental signal.

[0047] In a fifth aspect, an embodiment of the present application provides a computer device, including a processor, a memory, and a communication interface, where the memory stores one or more programs, which are configured to be executed by the processor, and the programs are instructions for performing some or all of the steps described in the first aspect and the second aspect.

[0048] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute to implement some or all of the steps described in the first aspect and the second aspect. Description of the Drawings

[0049] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings. Among them:

[0050] Figure 1 It is a schematic diagram of a system architecture provided by an embodiment of the present application;

[0051] Figure 2 It is a schematic flowchart of a method for data transmission provided by an embodiment of the present application;

[0052] Figure 3 It is a schematic flowchart of another method for data transmission provided by an embodiment of the present application;

[0053] Figure 4 It is a schematic diagram of the structure of a device for data transmission provided by an embodiment of the present application;

[0054] Figure 5 It is a schematic diagram of the structure of another device for data transmission provided by an embodiment of the present application;

[0055] Figure 6 It is a schematic diagram of the structure of a computer device provided by an embodiment of the present application. Specific embodiments

[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0057] The terms "first", "second", "third", "fourth", etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products or devices.

[0058] References to "embodiments" in this specification mean that a particular feature, result, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment each time, nor are they independent or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0059] To better understand the technical solutions of the embodiments of the present application, the system architecture that the embodiments of the present application may involve will be introduced first. Please refer to Figure 1 , a schematic diagram of a system architecture provided by an embodiment of the present application. The system architecture may include: an in-vehicle terminal 100 and a server 200. The in-vehicle terminal 100 and the server 200 can communicate with each other through a network. The network communication can be based on any wired and wireless networks, including but not limited to the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), and wireless communication network, etc.

[0060] The in-vehicle terminal 100, also known as an in-vehicle device, in-vehicle computer, or car head unit. In the embodiments of the present application, it can be used to collect vehicle signals, generate signal messages from the vehicle signals, and communicate with the server 200, specifically for reporting the signal messages to the server 200.

[0061] The in-vehicle terminal 100 may include a processor, a memory, a communication interface, and a bus. The processor, memory, and communication interface can be interconnected with each other through the bus. Among them, the memory can be used to store software programs and data. The processor can execute various functional applications and data processing of the in-vehicle terminal 100 by running the software programs and data stored in the memory. In the embodiments of the present application, the processor can be used to collect vehicle signals. The communication interface can be used to communicate with the server 200, for example, reporting signal messages to the server 200.

[0062] The telematics box (T-box or also known as TCU) is a very important component in the in-vehicle terminal 100, mainly used for communication between the outside of the vehicle and the server and other terminals (such as mobile phones). The T-box can obtain data of each electronic control unit (ECU) through the controller area network (CAN) bus, such as vehicle condition reports, driving reports, fuel consumption statistics, traffic violation inquiries, location tracks, driving behaviors, etc., and transmit the data to the server through the network to achieve real-time monitoring of the vehicle, or facilitate subsequent testing of the vehicle's performance and analysis of the user's driving behavior.

[0063] It should be noted that the vehicle terminal 100 may further include devices not involved above. For example, a vehicle computing unit, a Bluetooth module, an audio module, a video module, a battery system, a map module, and other possible functional modules, which will not be elaborated here.

[0064] The server 200 may be a single server or a server cluster composed of multiple servers. In the embodiments of the present application, the server 200 can communicate with the vehicle terminal 100. Specifically, it can be used to receive the incremental signal message sent by the vehicle terminal 100, and can also be used to parse the incremental signal message to obtain the incremental signal. The server 200 can be a cloud server, a vehicle networking cloud platform, a vehicle networking cloud server, an Internet of Things device, a data center network device, a cloud computing device, a computer supporting the 802.11 protocol, and network devices in a future evolved public land mobile network (PLMN), etc. The embodiments of the present application do not make specific limitations.

[0065] It can be understood that Figure 1 The system architecture shown is only an exemplary implementation manner in the embodiments of the present application. The system architecture in the embodiments of the present application includes but is not limited to the above system architecture.

[0066] Currently, new energy vehicles mainly use the national standard 32960 protocol or the ministry standard 808 protocol, etc. to complete data reporting. These protocols usually use full-volume reporting, that is, all data collected by the vehicle needs to be reported. In the case of too many signal volumes, it is easy to cause waste of network resources.

[0067] In view of this, the embodiments of the present application provide a data transmission method, device, computer device, and storage medium, aiming to improve data transmission efficiency and save network bandwidth resources.

[0068] Combined with the above system architecture, a data transmission method provided by the embodiments of the present application will be described below. Please refer to Figure 2 , Figure 2 is a flowchart of a data transmission method provided by the embodiments of the present application. As Figure 2 shown, taking the vehicle terminal as the execution subject of the method as an example for illustration, the method may include steps S201 - step S204.

[0069] Step S201: The vehicle terminal collects vehicle signals of the target vehicle.

[0070] In the embodiments of the present application, the target vehicle is the vehicle for which vehicle signals are to be collected. The vehicle signals may include control data and driving data generated during the operation of the target vehicle. For example, driving mileage, cruising range, average fuel consumption, vehicle speed, remaining battery power, and so on. The vehicle signals may also include position information, remaining fuel, air-conditioning temperature, side light status, and so on, or other operation data that can reflect the status of the target vehicle, which is not limited herein. It can be understood that each vehicle signal includes at least a signal name and a corresponding status value. For example, if the vehicle signal is the remaining battery power, the corresponding status value may be 80%.

[0071] In the embodiments of the present application, one signal in the vehicle signals corresponds to one signal identifier, and this signal identifier is used to determine the type of the vehicle signal. By way of example, the signal identifier for driving mileage may be "0x7E01", and the signal identifier for cruising range may be "0x7E02". Conversely, "0x7E01" may represent driving mileage, and "0x7E02" may represent cruising range. That is to say, each vehicle signal has a unique signal identifier, and the type of the vehicle signal can be determined according to the signal identifier.

[0072] In some possible implementation manners, collecting the vehicle signals of the target vehicle specifically includes the following steps: obtaining the identification information of the target vehicle; determining the type of the vehicle signals to be collected according to the identification information, where the type of the vehicle signals includes driving mileage, cruising range, average fuel consumption, or vehicle speed; and collecting the vehicle signals according to the type of the vehicle signals to be collected.

[0073] In the embodiments of the present application, the identification information may be a vehicle identification number (VIN), or a license plate number, or other identifiers representing the vehicle identity. It can be understood that each target vehicle has a unique VIN and a unique license plate number. According to the identification information of the target vehicle, the vehicle type of the target vehicle is identified, and the type of the vehicle signals to be collected is determined, so that the vehicle signals required by the target vehicle can be known.

[0074] By way of example, the data structure defines 80 types of vehicle signals. The in-vehicle terminal obtains the VIN of the target vehicle through an in-vehicle network (such as a CAN network). According to the VIN, it is determined that there are 60 types of vehicle signals to be collected for the target vehicle. Then, the in-vehicle terminal only specifically collects 60 vehicle signals of the target vehicle, and does not collect the remaining 20 vehicle signals that do not exist for the target vehicle. It can be seen that the vehicle signal collection strategy obtained in the embodiments of the present application is configured on demand. The vehicle signals in the collection strategy correspond to the identification information, and there will be no redundant or non-existent vehicle signals for the target vehicle, making the collection of vehicle signals more targeted, thereby improving the collection efficiency of vehicle signals.

[0075] Step S202: The in-vehicle terminal compares the vehicle signal with the previously reported vehicle signal to obtain an incremental signal.

[0076] In the embodiment of the present application, the incremental signal is the vehicle signal with changed data when the vehicle signal collected this time is compared with the previously reported vehicle signal. For example, in the vehicle signal collected this time, the driving mileage is 35 km and the remaining battery power is 98%. In the previously reported vehicle signal, the driving mileage is 30 km and the remaining battery power is 98%. It can be understood that compared with the previously reported vehicle signal, among the collected vehicle signals, the data of the driving mileage has changed, while the data of the remaining battery power has not changed. Then the incremental signal is only the driving mileage. For example, if 80 vehicle signals are successfully collected this time and 60 vehicle signals have changed compared with the previously reported vehicle signal, then the incremental signal is 60.

[0077] In some possible implementation manners, before performing step S202, the following steps may further be included: in response to the failure of collecting the vehicle signal, uploading a signal exception message to the server, where the signal exception message is used to indicate the exception of collecting the vehicle signal.

[0078] In the embodiment of the present application, the failure of collecting the vehicle signal may mean that no data is collected for one or more signals to be collected, or it may mean that the data collected for one or more signals to be collected is abnormal. For example, the data of the remaining battery power is usually 0-100%, and if the remaining battery power is collected as 120%, then the data of the remaining battery power is abnormal at this time. For example, if there are 80 vehicle signals to be collected for the target vehicle and only 60 are successfully collected this time, and the remaining 20 vehicle signals fail to be collected. For the vehicle signals that fail to be collected, the signal exception message may be set to "0000", and the in-vehicle terminal uploads the signal exception message to the server.

[0079] It can be seen that if the in-vehicle terminal detects the failure of collecting the vehicle signal, it reports a signal exception message to the server to prompt the server that some vehicle signals are abnormally collected, which is convenient for the server to process the signal exception message of the failed collection subsequently.

[0080] Optionally, if the in-vehicle terminal detects that the collected signal data is abnormal, it may also directly delete the abnormal data to save storage space.

[0081] In some possible implementation manners, if the number of times that there is no incremental signal when the vehicle signal is compared with the previously reported vehicle signal reaches a preset threshold, the reporting frequency is adjusted so that the adjusted reporting frequency is less than the preset reporting frequency.

[0082] Exemplarily, the preset reporting frequency of the remaining power is once every 3 seconds, and the number of times there is no incremental signal reaches the preset threshold (assumed to be 5 times). That is to say, the data of the remaining power has not changed for 5 consecutive times. At this time, the reporting frequency is adjusted so that the adjusted reporting frequency is less than the preset reporting frequency. For example, the reporting frequency of the remaining power is adjusted from the preset once every 3 seconds to once every 5 seconds.

[0083] It can be seen that when it is determined that the number of times there is no incremental signal reaches the preset threshold, adjusting the reporting frequency so that the adjusted reporting frequency is less than the preset reporting frequency can avoid the problem of waste of network bandwidth resources caused by the reporting frequency being too fast and the vehicle signal not having time to change.

[0084] It should be noted that the reporting frequencies of each vehicle signal can be the same or different, and the present application does not make any limitations in this regard. The specific values are set by technicians according to the actual situation.

[0085] Step S203: The in-vehicle terminal generates an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal.

[0086] In some possible implementation manners, generating an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal may include the following steps: determining the type of the incremental signal according to the signal identifier corresponding to the incremental signal; determining the reporting order and byte length of the incremental signal according to the type of the incremental signal; performing format conversion on the incremental signal according to the byte length to obtain a reporting message body; and combining the reporting message bodies according to the reporting order to obtain an incremental signal message.

[0087] The embodiments of the present application use a custom protocol to report vehicle signals. The data structure of the reporting message body can be referred to in the following table. Among them, one signal identifier corresponds to one vehicle signal. Exemplarily, if the data structure defines 80 types of vehicle signals, then the signal identifiers can be "0x7E01, 0x7E02, 0x7E03... 0x7E4F, 0x7E50". The byte length is determined according to the data length of the vehicle signal. The larger the data length of the vehicle signal, the larger the byte length. For example, the byte length of the driving mileage is 4 bytes; conversely, if the data length of the vehicle signal is smaller, the byte length of the remaining fuel amount is represented by 1 byte.

[0088] It should be noted that the signal identifiers in the data structure shown in the following table are only examples. In the embodiments of the present application, only one vehicle signal corresponds to one signal identifier, and the format of the signal identifier is not limited. It can be other permutations and combinations of numbers, letters, or symbols, and this is not limited. The vehicle signal types in the embodiments of the present application may include, but are not limited to, the vehicle signal types listed in the following table. In some possible implementation manners, it may also include vehicle speed, remaining power, location information, air-conditioning temperature, side light status, etc., or other operating data that can reflect the state of the target vehicle, which is not limited here, and the corresponding data structure can refer to the following table.

[0089] Signal identifier Byte length Vehicle signal Data type 0x7E01 4 Driving mileage byte 0x7E02 2 Endurance mileage byte 0x7E03 1 Remaining fuel byte … … … …

[0090] Exemplarily, the obtained incremental signal is the driving mileage, and the corresponding status value is 1222 km. The signal identifier corresponding to the driving mileage is "0x7E01", and the byte length is 4 bytes. If a hexadecimal message is selected, then the incremental signal message can be "7E01000004c6". In the embodiments of the present application, the message takes hexadecimal as an example, and octal and binary can also be used, which is not limited here. Among them, "0x" in the signal identifier indicates that hexadecimal numbering is used, and it can be omitted in the message.

[0091] Exemplarily, the obtained incremental signals are the driving mileage and the remaining fuel. The status value corresponding to the driving mileage is 1222 km, and the status value corresponding to the remaining fuel is 69 L. According to the byte length of the type of the incremental signal, the incremental signal is format-converted to obtain the reported message body. Here, the reported message body of the driving mileage can be "7E01000004c6", and the reported message body of the remaining fuel can be "7E0345". Then, according to the reporting order (exemplarily, the reporting order can be in the order of the signal identifier), the reported message bodies are combined to obtain the incremental signal message "7E01000004c67E0345".

[0092] In some possible implementation manners, the reported message bodies can also be reported in any combination. The incremental signal message of the driving mileage and the remaining fuel can also be "7E03457E01000004c6". It can be seen that adopting the above incremental signal message generation strategy is simpler and more flexible compared to the national standard 32960 protocol or the ministry standard 808 protocol.

[0093] In some possible embodiments, the incremental signal message may further include identification information of the target vehicle, and the identification information may include, but is not limited to, information such as VIN, license plate number, etc. that can identify the identity of the target vehicle. In the embodiments of the present application, the identification information of the target vehicle can be used as the header of the incremental signal message. When the server parses the message, it can quickly identify the identity of the target vehicle, which is convenient for classifying and organizing data or subsequent calls to test the performance of the vehicle and analyze the driving behavior of users.

[0094] Step S204: The in-vehicle terminal reports the incremental signal message to the server.

[0095] The in-vehicle terminal reports the incremental signal message to the server through the T-box for the server to read and analyze the reported incremental signal data. Optionally, when the in-vehicle terminal collects vehicle signal data, it can also store the collected vehicle signal data in the in-vehicle terminal to facilitate the in-vehicle terminal to use the stored vehicle signal data for other processing.

[0096] It can be seen that the in-vehicle terminal reports vehicle signal data to the server by adopting the incremental reporting method, that is, reports the vehicle signals with changed collected data, and does not report the unchanged data. This can reduce the data transmission volume, improve the data transmission efficiency, and save network bandwidth resources.

[0097] Combined with the above system architecture, another data transmission method provided by the embodiments of the present application will be described below. Please refer to Figure 3 , Figure 3 is a schematic flowchart of another data transmission method provided by the embodiments of the present application. As Figure 3 shown, taking the execution subject of the method as the server as an example for illustration, the method may include step S301, step 302, and step S303.

[0098] Step S301: The server receives the incremental signal message.

[0099] Step S302: The server parses the incremental signal message to obtain the signal identifier corresponding to the incremental signal.

[0100] Step S303: The server obtains the incremental signal according to the signal identifier corresponding to the incremental signal.

[0101] Specifically, after receiving the incremental signal message sent by the in-vehicle terminal, the server parses the incremental signal message. In the embodiments of the present application, the signal identifier of the incremental signal can be obtained from the incremental signal message, and the signal identifier is used as a query index to determine the type of the incremental signal. Then, the byte length is determined according to the type of the incremental signal, and further the parsing of the incremental signal message is completed to obtain the incremental signal and the corresponding data. The server can store, forward, or perform other processing on the obtained incremental signal and the corresponding data, which is not limited herein.

[0102] For the reference description of the signal identifier, reference can be made to the foregoing definition, which will not be elaborated herein. It can be seen that in the embodiments of the present application, the server only needs to process the incremental signal, which greatly improves the data processing efficiency and saves network bandwidth resources at the same time.

[0103] In some possible implementation manners, if the server identifies that the message is a signal exception message, the message can be discarded to save network resources.

[0104] Optionally, the server can also obtain the identification information of the target vehicle from the incremental signal message, and can quickly identify the identity of the target vehicle according to the identification information, which is convenient for classifying and organizing the incremental data or subsequent calls to test the performance of the vehicle and analyze the driving behavior of the user.

[0105] The method of the embodiments of the present application is elaborated in detail above, and the device of the embodiments of the present application is provided below.

[0106] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of a data transmission device provided by the embodiments of the present application. As Figure 4 shown, when the data transmission device is an in-vehicle terminal, the data transmission device 400 includes:

[0107] An acquisition module 401, configured to acquire vehicle signals of a target vehicle, where one signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal;

[0108] A comparison module 402, configured to compare the vehicle signal with the vehicle signal acquired last time to obtain an incremental signal;

[0109] A generation module 403, configured to generate an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal;

[0110] A reporting module 404, configured to report the incremental signal message to the server.

[0111] In some possible embodiments, the acquisition module 401 is specifically configured to obtain the identification information of the target vehicle; determine the type of vehicle signal to be acquired according to the identification information, where the type of vehicle signal includes driving mileage, cruising range, average fuel consumption, or vehicle speed; and acquire the vehicle signal according to the type of vehicle signal to be acquired.

[0112] In some possible embodiments, the data transmission device 400 further includes a judgment module 405, configured to determine whether the vehicle signal is acquired successfully. If so, the comparison module 402 is called. If not, the reporting module 404 is called to execute the step of uploading a signal exception message to the server, where the signal exception message is used to indicate that the acquisition of the vehicle signal is abnormal.

[0113] In some possible embodiments, the generation module 403 is specifically configured to determine the type of the incremental signal according to the signal identifier corresponding to the incremental signal; determine the reporting order and byte length of the incremental signal according to the type of the incremental signal; convert the format of the incremental signal according to the byte length to obtain a reporting message body; and combine the reporting message bodies according to the reporting order to obtain an incremental signal message.

[0114] In some possible embodiments, the data transmission device 400 further includes an adjustment module 406, configured to adjust the reporting frequency if the number of times without incremental signals reaches a preset threshold, so that the adjusted reporting frequency is less than the preset reporting frequency.

[0115] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of another data transmission device provided by an embodiment of the present application. As Figure 5 shown, when the data transmission device is a server, the data transmission device 500 includes a receiving module 501, an analysis module 502, and an obtaining module 503. The detailed descriptions of each module are as follows:

[0116] The receiving module 501 is configured to receive an incremental signal message;

[0117] The analysis module 502 is configured to analyze the incremental signal message to obtain a signal identifier corresponding to the incremental signal;

[0118] The obtaining module 503 is configured to obtain an incremental signal according to the signal identifier corresponding to the incremental signal.

[0119] It should be noted that Figure 4 and Figure 5 the implementation of each module can also be correspondingly referred to the corresponding descriptions in the method embodiments shown in Figure 2 or Figure 3 shown.

[0120] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of a computer device provided by an embodiment of the present application. As Figure 6 shown, the computer device 600 includes a processor 601, a memory 602, and a communication interface 603, where the memory 602 stores one or more programs 604. The processor 601, the memory 602, and the communication interface 603 can be connected through a bus 605.

[0121] When the computer device is an in-vehicle terminal, the above program 604 is used to execute the instructions for the following steps:

[0122] Collect vehicle signals of the target vehicle, where one signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal;

[0123] Compare the vehicle signals with the previously reported vehicle signals to obtain incremental signals;

[0124] Generate an incremental signal message according to the incremental signals and the signal identifiers corresponding to the incremental signals;

[0125] Report the incremental signal message to the server.

[0126] In some possible implementation manners, in terms of collecting the vehicle signals of the target vehicle, the above program 604 is specifically used to execute the instructions for the following steps:

[0127] Obtain the identification information of the target vehicle;

[0128] According to the identification information, determine the type of the vehicle signals to be collected, and the type of the vehicle signals includes driving mileage, cruising range, average fuel consumption, or vehicle speed;

[0129] Collect the vehicle signals according to the type of the vehicle signals to be collected.

[0130] In some possible implementation manners, before comparing the vehicle signals with the previously reported vehicle signals to obtain incremental signals, the above program 604 is further used to execute the instructions for the following steps:

[0131] In response to the failure of collecting the vehicle signals, upload a signal exception message to the server, where the signal exception message is used to indicate the abnormality of collecting the vehicle signals; or

[0132] In response to the success of collecting the vehicle signals, execute the step of comparing the vehicle signals with the previously reported vehicle signals to obtain incremental signals.

[0133] In some possible implementation manners, in terms of generating an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal, the above program 604 is specifically used to execute the instructions of the following steps:

[0134] Determine the type of the incremental signal according to the signal identifier corresponding to the incremental signal;

[0135] Determine the reporting order and byte length of the incremental signal according to the type of the incremental signal;

[0136] According to the byte length, perform format conversion on the incremental signal to obtain a reporting message body;

[0137] Combine the reporting message bodies according to the reporting order to obtain an incremental signal message.

[0138] In some possible implementation manners, the above program 604 is further used to execute the instructions of the following steps:

[0139] If the number of times that there is no incremental signal reaches a preset threshold when comparing the vehicle signal with the vehicle signal reported last time, adjust the reporting frequency so that the adjusted reporting frequency is less than the preset reporting frequency.

[0140] When the computer device is a server, the above program 604 is used to execute the instructions of the following steps:

[0141] Receive an incremental signal message;

[0142] Parse the incremental signal message to obtain the signal identifier corresponding to the incremental signal;

[0143] Obtain an incremental signal according to the signal identifier corresponding to the incremental signal.

[0144] Those skilled in the art can understand that, for the sake of convenience of description, Figure 6 only one memory and one processor are shown in the figure. In an actual terminal or server, there may be multiple processors and memories. The memory 602 may also be referred to as a storage medium or a storage device, etc., and the embodiments of the present application do not make any restrictions in this regard.

[0145] It should be understood that in the embodiments of the present application, the processor 601 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0146] It should also be understood that the memory 602 mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronized link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0147] It should be noted that when the processor 601 is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated in the processor.

[0148] It should be noted that the memory 602 described herein is intended to include but not be limited to these and any other suitable types of memory.

[0149] In addition to the data bus, the bus 605 may further include a power bus, a control bus, a status signal bus, etc. However, for the sake of clear illustration, all kinds of buses are labeled as buses in the figure.

[0150] In the implementation process, each step of the above method can be completed by the integrated logic circuit in the hardware of the processor or the instructions in the form of software. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by the hardware processor, or executed and completed by the combination of the hardware and software modules in the processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.

[0151] In various embodiments of the present application, the magnitudes of the serial numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0152] Those of ordinary skill in the art can realize that the various illustrative logical blocks (ILBs) and steps described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0153] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be in an electrical, mechanical, or other form.

[0154] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0155] In addition, each functional unit in various embodiments of the present application may be integrated in a processing unit, may exist physically separately for each unit, or two or more units may be integrated in one unit.

[0156] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive), etc.

[0157] The embodiments of the present application also provide a computer storage medium. The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement part or all of the steps of any one of the data transmission methods described in the above method embodiments.

[0158] The embodiments of the present application also provide a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the data transmission methods described in the above method embodiments.

[0159] As described above, it is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims described.

Claims

1. A method for data transmission, characterized in that, Including the following steps: Collect vehicle signals of a target vehicle, where one signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal; Compare the vehicle signals with the vehicle signals reported last time to obtain incremental signals. If the number of times when there are no incremental signals reaches a preset threshold when comparing the vehicle signals with the vehicle signals reported last time, adjust the reporting frequency so that the adjusted reporting frequency is less than the preset reporting frequency; Generate an incremental signal message based on the incremental signals and the signal identifiers corresponding to the incremental signals. Among them, determine the type of the incremental signals according to the signal identifiers corresponding to the incremental signals; determine the reporting order and byte length of the incremental signals according to the types of the incremental signals; convert the format of the incremental signals according to the byte length to obtain a reporting message body; combine the reporting message body according to the reporting order to obtain the incremental signal message; Report the incremental signal message to the server.

2. The method according to claim 1, wherein the collecting vehicle signals of the target vehicle includes the following steps: Obtain the identification information of the target vehicle; Determine the types of vehicle signals to be collected according to the identification information, and the types of vehicle signals include driving mileage, cruising range, average fuel consumption or vehicle speed; Collect the vehicle signals according to the types of vehicle signals to be collected.

3. The method according to claim 1, before comparing the vehicle signals with the vehicle signals reported last time to obtain incremental signals, further including the following steps: In response to the failure of collecting the vehicle signals, upload a signal exception message to the server, and the signal exception message is used to indicate the exception of collecting the vehicle signals; Or In response to the successful collection of the vehicle signals, execute the step of comparing the vehicle signals with the vehicle signals reported last time to obtain incremental signals.

4. A method for data transmission, characterized in that, Including the following steps: Receive an incremental signal message, and the incremental signal message is determined by the following method: collect vehicle signals of a target vehicle, where one signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal; compare the vehicle signals with the vehicle signals reported last time to obtain incremental signals. If the number of times when there are no incremental signals reaches a preset threshold when comparing the vehicle signals with the vehicle signals reported last time, adjust the reporting frequency so that the adjusted reporting frequency is less than the preset reporting frequency; generate the incremental signal message based on the incremental signals and the signal identifiers corresponding to the incremental signals. Among them, determine the type of the incremental signals according to the signal identifiers corresponding to the incremental signals; determine the reporting order and byte length of the incremental signals according to the types of the incremental signals; convert the format of the incremental signals according to the byte length to obtain a reporting message body; combine the reporting message body according to the reporting order to obtain the incremental signal message; Analyze the incremental signal message to obtain the signal identifier corresponding to the incremental signal; Obtain the incremental signal according to the signal identifier corresponding to the incremental signal.

5. A device for data transmission, characterized in that, It includes the following parts: An acquisition module, configured to acquire vehicle signals of a target vehicle. One signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal; A comparison module, configured to compare the vehicle signal with the vehicle signal acquired last time to obtain an incremental signal. If the number of times when there is no incremental signal reaches a preset threshold when the vehicle signal is compared with the vehicle signal reported last time, adjust the reporting frequency so that the adjusted reporting frequency is less than the preset reporting frequency; A generation module, configured to generate an incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal. Among them, determine the type of the incremental signal according to the signal identifier corresponding to the incremental signal; determine the reporting order and byte length of the incremental signal according to the type of the incremental signal; perform format conversion on the incremental signal according to the byte length to obtain a reported message body; combine the reported message bodies according to the reporting order to obtain the incremental signal message; A reporting module, configured to report the incremental signal message to the server.

6. A device for data transmission, characterized in that, It includes the following parts: A receiving module, configured to receive an incremental signal message. The incremental signal message is determined in the following manner: acquire vehicle signals of a target vehicle. One signal in the vehicle signals corresponds to one signal identifier, and the signal identifier is used to determine the type of the vehicle signal; compare the vehicle signal with the vehicle signal reported last time to obtain an incremental signal. If the number of times when there is no incremental signal reaches a preset threshold when the vehicle signal is compared with the vehicle signal reported last time, adjust the reporting frequency so that the adjusted reporting frequency is less than the preset reporting frequency; generate the incremental signal message according to the incremental signal and the signal identifier corresponding to the incremental signal. Among them, determine the type of the incremental signal according to the signal identifier corresponding to the incremental signal; determine the reporting order and byte length of the incremental signal according to the type of the incremental signal; perform format conversion on the incremental signal according to the byte length to obtain a reported message body; combine the reported message bodies according to the reporting order to obtain the incremental signal message; An analysis module, configured to analyze the incremental signal message to obtain the signal identifier corresponding to the incremental signal; An acquisition module, configured to obtain the incremental signal according to the signal identifier corresponding to the incremental signal.

7. A computer device, characterized in that, It includes a processor, a memory, and a communication interface. Among them, the memory stores one or more programs, which are configured to be executed by the processor. The programs include instructions for executing the steps in any one of the methods in claims 1-4.

8. A computer storage medium, characterized in that, Instructions are stored in the computer-readable storage medium. When the computer program is executed by the processor, the method described in any one of claims 1-4 above is implemented.

Citation Information

Patent Citations

  • Message configuration and output method and device

    CN106528823A

  • Vehicle signal acquisition method and device, cloud server and vehicle

    CN109495547A

  • Data acquisition method and device, equipment and medium

    CN113192233A