A method and system for generating a custom protocol template for Internet of Vehicles

Through the custom protocol template generation method, the transmission encoding format with rich information but small data volume is used to convert the detection data into the transmission encoding format, which solves the problem of low communication protocol identification and conversion efficiency in the Internet of Vehicles and improves the Internet of Vehicles system communication efficiency.

CN117938318BActive Publication Date: 2024-12-13天津布尔科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410338020.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2024-12-13
Estimated Expiration
2044-03-25

AI Technical Summary

Technical Problem

The increase in the communication protocol identification and conversion workload of detection devices in the Internet of Vehicles, resulting in a decrease in communication efficiency.

Method used

By obtaining the device identification and detection data range of the detection device, determining the device encoding format, and using the transmission encoding format with rich information but small data volume, converting the detection data into a transmission encoding format, reflecting the device identification and detection data, and improving communication efficiency .

Benefits of technology

It improves the communication efficiency of the Internet of Vehicles, efficient transmission of detection data through encoding formats with large amounts of information, reduces the amount of data, and improves the performance of the Internet of Vehicles system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117938318B_ABST
    Figure CN117938318B_ABST
Patent Text Reader

Abstract

The present application provides a method and system for generating a custom protocol template for use in the Internet of Vehicles, which belongs to the field of the Internet of Vehicles and is used to solve the problem of low Internet of Vehicles communication efficiency in related technologies. In the method and system, the device identification and detection data range of the detection device are obtained; the device coding format is determined according to the detection data range; the transmission coding format is determined according to the device identification and the device coding format, and the coding position in the transmission coding format corresponds to the device identification. The method and system can convert the detection data of the detection device into a transmission coding format for transmission, with the coding position reflecting the device identification and the coding content reflecting the detection data. The transmission coding format has rich information but a small amount of data, which is conducive to the efficient transmission of the detection data, thereby improving the communication efficiency of the Internet of Vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Vehicles, and in particular to a method and system for generating a custom protocol template applied to the Internet of Vehicles. Background Art

[0002] With the continuous development of Internet of Vehicles technology, the information and functions of vehicle terminal systems are becoming more and more abundant. Different information in the vehicle terminal system is generally obtained based on detection of detection devices. Different detection devices have different communication protocols. When transmitting relevant information, it is necessary to identify and convert the communication protocol of the detection device, and finally obtain the data format under the application protocol uploaded to the server. As the workload of identifying and converting the communication protocol increases, the efficiency of communication also decreases. Summary of the invention

[0003] The present application provides a method and system for generating a custom protocol template for use in an Internet of Vehicles, which can improve the communication efficiency of the Internet of Vehicles.

[0004] In a first aspect, the present application provides a method for generating a custom protocol template for use in an Internet of Vehicles. The method comprises:

[0005] Obtaining the device identification and detection data range of the detection device;

[0006] Determining a device encoding format according to the detection data range;

[0007] The transmission coding format is determined according to the device identification and the device coding format, and the coding position in the transmission coding format corresponds to the device identification.

[0008] By adopting the above technical solution, the detection data of the detection device is converted into a transmission coding format for transmission, the device identification is reflected by the coding position, and the detection data is reflected by the coding content. The transmission coding format has rich information but a small amount of data, which is conducive to the efficient transmission of detection data, thereby improving the communication efficiency of the Internet of Vehicles.

[0009] Further, determining the device coding format according to the detection data range includes:

[0010] Based on the accuracy requirement pre-acquired relative to each detection device, scaling the detection data range to obtain the transmission data range;

[0011] The upper limit of the transmission data range is converted into a hexadecimal code to determine a device code format, wherein the device code format is a hexadecimal code and the length of the device code format is equal to the length of the upper limit of the range converted into the hexadecimal code.

[0012] Furthermore, before determining the device coding format according to the detection data range, the method further includes: obtaining an accuracy requirement relative to each detection device;

[0013] The obtaining of an accuracy requirement relative to each detection device includes:

[0014] Obtaining basic accuracy requirements and accuracy concern coefficients of the detection device;

[0015] The accuracy requirement is determined based on the basic accuracy requirement and the accuracy concern coefficient.

[0016] Further, the determining of the transmission coding format according to the device identification and the device coding format comprises:

[0017] Obtaining a utilization frequency data and a frequency attention coefficient for each detection device;

[0018] Determine the attention frequency data according to the utilization frequency data and the frequency attention coefficient;

[0019] Clustering the device identification into a specified number of classes according to the attention frequency data, each class of device identification corresponds to a class application frequency, and the difference between the class application frequency and each attention frequency data in the corresponding class of device identification is greater than zero and not greater than a frequency difference threshold;

[0020] A transmission coding format is determined relative to each type of device identification, and the transmission coding format includes a class code corresponding to a type of device identification, a device coding format corresponding to a type of device identification, and coding positions of the class code and the device coding format.

[0021] Further, the determining a transmission coding format relative to each type of device identification includes:

[0022] Based on the pre-built universal combination rules relative to each type of device identification and the pre-acquired user setting parameters, the application combination rules are determined, and the application combination rules are used to combine the class code and the device code format into a transmission code format. The application combination rules are also used to determine the coding position of the class code and the device code format.

[0023] In a second aspect, the present application provides a system for generating a custom protocol template for use in an Internet of Vehicles. The system comprises:

[0024] A data acquisition module, used to acquire a device identification and a detection data range of a detection device;

[0025] A device coding module, used to determine a device coding format according to the detection data range; and

[0026] The transmission coding module is used to determine the transmission coding format according to the device identification and the device coding format, and the coding position in the transmission coding format corresponds to the device identification.

[0027] Furthermore, the device coding module is further configured such that the determining of the device coding format according to the detection data range includes:

[0028] Based on the accuracy requirement pre-acquired relative to each detection device, scaling the detection data range to obtain the transmission data range;

[0029] The upper limit of the transmission data range is converted into a hexadecimal code to determine a device code format, wherein the device code format is a hexadecimal code and the length of the device code format is equal to the length of the upper limit of the range converted into the hexadecimal code.

[0030] Furthermore, the data acquisition module is further configured to, before determining the device coding format according to the detection data range, acquire an accuracy requirement relative to each detection device;

[0031] The obtaining of an accuracy requirement relative to each detection device includes:

[0032] Obtaining basic accuracy requirements and accuracy concern coefficients of the detection device;

[0033] The accuracy requirement is determined based on the basic accuracy requirement and the accuracy concern coefficient.

[0034] Furthermore, the transmission coding module is further configured such that the determining of the transmission coding format according to the device identification and the device coding format comprises:

[0035] Obtaining a utilization frequency data and a frequency attention coefficient for each detection device;

[0036] Determine the attention frequency data according to the utilization frequency data and the frequency attention coefficient;

[0037] Clustering the device identification into a specified number of classes according to the attention frequency data, each class of device identification corresponds to a class application frequency, and the difference between the class application frequency and each attention frequency data in the corresponding class of device identification is greater than zero and not greater than a frequency difference threshold;

[0038] A transmission coding format is determined relative to each type of device identification, and the transmission coding format includes a class code corresponding to a type of device identification, a device coding format corresponding to a type of device identification, and coding positions of the class code and the device coding format.

[0039] Furthermore, the transmission coding module is further configured such that the determining of a transmission coding format relative to each type of device identification includes:

[0040] Based on the pre-built universal combination rules relative to each type of device identification and the pre-acquired user setting parameters, the application combination rules are determined, and the application combination rules are used to combine the class code and the device code format into a transmission code format. The application combination rules are also used to determine the coding position of the class code and the device code format.

[0041] In summary, this application at least has the following beneficial effects:

[0042] A method and system for generating a custom protocol template for use in an Internet of Vehicles (IoV) are provided, which can utilize a transmission coding format with a large amount of information but a small amount of data to transmit detection data of the IoV, thereby improving the communication efficiency of the IoV.

[0043] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0045] Figure 1 A flowchart of a method for generating a custom protocol template applied to a vehicle network in an embodiment of the present application is shown;

[0046] Figure 2 A block diagram of a custom protocol template generation system applied to the Internet of Vehicles in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0048] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0049] The embodiments of the present application provide a method and system for generating a custom protocol template for use in the Internet of Vehicles, which can utilize a transmission coding format with a large amount of information but a small amount of data to transmit detection data of the Internet of Vehicles, thereby improving the communication efficiency of the Internet of Vehicles.

[0050] In the first aspect, the embodiment of the present application provides a method for generating a custom protocol template for use in the Internet of Vehicles. The method can be executed by an on-board terminal system or server in the Internet of Vehicles. The on-board terminal system is connected to all detection devices of the vehicle and can obtain device description information of all detection devices. The on-board terminal system or server can intelligently generate a custom protocol template based on the device description information of all detection devices, and use the custom protocol template to transmit the detection data of the detection device, which is conducive to improving communication efficiency.

[0051] Figure 1 A flowchart of a method for generating a custom protocol template applied to an Internet of Vehicles in an embodiment of the present application is shown.

[0052] Reference Figure 1 , the method specifically comprises the following steps:

[0053] S110: Obtain a device identification and a detection data range of a detection device.

[0054] The device identification and detection data range are included in the device description information. The vehicle terminal system or server can obtain the device description information and analyze the device description information to obtain the device identification and detection data range. The device identification is the unique ID of the detection device, and the detection data range is the set of all possible values ​​of the data obtained by the detection device.

[0055] S120: Determine a device encoding format according to the detection data range.

[0056] The method of this step includes: based on the accuracy requirements pre-acquired relative to each detection device, scaling the detection data range to obtain the transmission data range; converting the upper limit of the transmission data range into a hexadecimal code to determine the device coding format, the device coding format is a hexadecimal code, and the length of the device coding format is equal to the length of the range upper limit converted into the hexadecimal code.

[0057] Specifically, after determining the accuracy requirements of the detection device, the accuracy requirements of the detection data range of the detection device can be scaled to units through data scaling. For example, if the accuracy requirement of the detection data is a percentile (0.01 bit), each value in the detection data range needs to be magnified 100 times. If the accuracy requirement of the detection data is a tenth (10 bits), each value in the detection data range needs to be reduced by 10 times to obtain the transmission data range.

[0058] It should be understood that the detection data range generally does not include negative values, so the above processing method can be used. If the detection data range includes negative values, the values ​​in the detection data range should first be added to a certain data to make the detection data range a preprocessing range with 0 as the lower limit of the range, and then perform the above conversion to avoid the need to carry a sign bit in subsequent conversions, resulting in a waste of data bits.

[0059] Similarly, the detection data range generally needs to start from 0 to the maximum value. If the detection data range does not start from 0 but from a larger positive value, you can first subtract a certain data from the values ​​of the detection data range to make the detection data range a preprocessing range with 0 as the lower limit of the range, and then perform the above conversion to avoid low utilization of the transmission data range.

[0060] Before the method of this step, it also includes: obtaining an accuracy requirement for each detection device. The obtaining an accuracy requirement for each detection device includes: obtaining the basic accuracy requirement and the accuracy concern coefficient of the detection device; and determining the accuracy requirement according to the basic accuracy requirement and the accuracy concern coefficient.

[0061] The basic accuracy requirement is pre-set in the vehicle terminal system or server. The accuracy concern coefficient reflects the owner's concern about the accuracy of the detection device. The higher the accuracy concern coefficient, the higher the owner's accuracy requirement for the detection data of the detection device. In an example, there are multiple preset accuracy concern coefficients, and the owner can select an accuracy concern coefficient based on the attention paid to the detection device. The specific method of determining the accuracy requirement based on the basic accuracy requirement and the accuracy concern coefficient is to divide the accuracy digit of the basic accuracy requirement by the accuracy concern coefficient to obtain the accuracy digit of the accuracy requirement. For example, the accuracy digit of the basic accuracy requirement is the unit digit (1 digit), and the accuracy concern coefficient is 10, then the accuracy requirement is the tenth digit (0.1 digit).

[0062] S130: Determine a transmission coding format according to the device identification and the device coding format.

[0063] The encoding position in the transmission encoding format corresponds to the device identification.

[0064] The method of this step includes: obtaining a utilization frequency data and a frequency attention coefficient for each detection device; determining the attention frequency data according to the utilization frequency data and the frequency attention coefficient; clustering the device identification into a specified number of classes according to the attention frequency data, each class of device identification corresponds to a class application frequency, and the difference between the class application frequency and each attention frequency data in the corresponding class of device identification is greater than zero and not greater than the frequency difference threshold; determining a transmission coding format for each class of device identification, the transmission coding format includes a class code corresponding to a class of device identification, a device coding format corresponding to a class of device identification, and a coding position of the class code and the device coding format.

[0065] In the method of this step, the frequency data can be pre-acquired based on data experience, or determined by the server operator based on big data experience analysis. The frequency attention coefficient is pre-set by the car owner. The setting process of the frequency attention coefficient and who determines the attention frequency data based on the frequency attention coefficient and the utilization frequency can be specifically analogous to the above description of obtaining the accuracy requirement based on the basic accuracy requirement and the accuracy attention coefficient, which will not be repeated here.

[0066] In the method of this step, the clustering process may specifically utilize the K-Means clustering algorithm, and the designated number is pre-set by the vehicle owner.

[0067] In the method of this step, all possibilities of a type of device identification are pre-stored in the vehicle terminal system or server (because the amount of data is large, it is preferably stored in the server), and a general combination rule is also pre-stored for the possibility of each type of device identification. The general combination rule includes the device coding format corresponding to a type of device identification and the combination method of the class code. The device coding format and the class code are both hexadecimal codes. The general combination rule can be obtained by combining the device coding format and the class code. The general combination rule contains the corresponding relationship between the code position in the obtained transmission coding format and the device coding format and the class code. For example, if the class code is a one-bit hexadecimal code, it is placed in the fifth position of the transmission coding format when combined. A certain device coding format is a three-bit hexadecimal code. When combined, the first position of the device coding format is located in the sixth position of the transmission coding format, the second position is located in the third position of the transmission coding format, and the third position is located in the twentieth position of the transmission coding format.

[0068] The general combination rule applied in the embodiment of the present application is that the class code is located first in the transmission coding format, and the device coding format of the device identification of this class occupies the coding position of the transmission coding format in sequence according to the order of the device identification of this class in the pre-built list and the length of the device coding format.

[0069] In the method of this step, determining a transmission coding format relative to each type of device identification includes: determining an application combination rule based on a pre-constructed general combination rule relative to each type of device identification and a pre-acquired user setting parameter, the application combination rule being used to combine the class code and the device coding format into a transmission coding format, and the application combination rule being further used to determine the coding position of the class code and the device coding format.

[0070] The user setting parameters are constants set by the user. The constants are used to change the coding positions of the class coding and device coding formats in the general combination rules that occupy the transmission coding formats, so that the coding methods of specific applications of different vehicle terminal systems are different. On the one hand, it can avoid mutual interference in communications between different vehicle terminal systems, and on the other hand, it can avoid data leakage of the vehicle terminal systems.

[0071] Specifically, under the premise of the aforementioned general combination rule, in one example, the user sets the parameter as an integer, ranging from 1 to 15. If the user sets the parameter to 1, the class code is removed from the first position and moved to the end, and the position occupied by the device code format of the detection device is moved forward in sequence. If the user sets the parameter to 3, the coding position occupied by the device code format of the second detection device is moved to the end, and the detection code sequence of the third and subsequent detection devices is moved forward. When the user sets the parameter to take other values, it can be determined by analogy, so that the application combination rule can be obtained by using the general combination rule.

[0072] Of course, the user setting parameters can also reflect the disrupting effect of the coding position of the transmission coding format occupied by the class code and the device coding format in other ways. For example, instead of changing the position occupied by the class code and the device coding format of the detection device, it is to change the position of the specified character in the transmission coding format obtained by the general combination rule. For example, when the user setting parameter is 1, the position of the first character is changed, and when it is 2, the position of the second character is changed. In addition, the coding position occupied by the changed character or device coding format can be migrated to the end as agreed or inserted into the specified position as agreed, and the positions of other characters in the transmission coding format can be adaptively adjusted. In short, in the embodiment of the present application, the user setting parameters can be used to convert the general combination rules into personalized and private application combination rules. It is impossible to list other specific implementation methods. Those skilled in the art can infer other implementation methods based on the disclosure of this application. In specific communications, the application combination rules and identity information can be used to parse the data in the corresponding transmission coding format.

[0073] Based on the above disclosure, the aforementioned method in the embodiment of the present application can generate a custom protocol template, and using the template for communication is conducive to improving the communication efficiency of the Internet of Vehicles. And when constructing a custom protocol template, the user's personalized settings, the frequency of use of the detection device and other data are considered, so that the final custom protocol template is personalized, secure and usable.

[0074] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0075] In a second aspect, the present application provides a custom protocol template generation system for use in an Internet of Vehicles. The system may be included in an onboard terminal system or server of the Internet of Vehicles, or implemented as an onboard terminal system or server of the Internet of Vehicles.

[0076] Figure 2 A block diagram of a custom protocol template generation system applied to the Internet of Vehicles in an embodiment of the present application is shown.

[0077] Reference Figure 2 , the system specifically includes:

[0078] The data acquisition module 210 is used to acquire the device identification and the detection data range of the detection device;

[0079] A device coding module 220, configured to determine a device coding format according to the detection data range; and

[0080] The transmission coding module 230 is used to determine the transmission coding format according to the device identification and the device coding format, and the coding position in the transmission coding format corresponds to the device identification.

[0081] Furthermore, the device coding module 220 is further configured such that the determining of the device coding format according to the detection data range includes:

[0082] Based on the accuracy requirement pre-acquired relative to each detection device, scaling the detection data range to obtain the transmission data range;

[0083] The upper limit of the transmission data range is converted into a hexadecimal code to determine a device code format, wherein the device code format is a hexadecimal code and the length of the device code format is equal to the length of the upper limit of the range converted into the hexadecimal code.

[0084] Furthermore, the data acquisition module 210 is further configured to, before determining the device coding format according to the detection data range, acquire an accuracy requirement relative to each detection device;

[0085] The obtaining of an accuracy requirement relative to each detection device includes:

[0086] Obtaining basic accuracy requirements and accuracy concern coefficients of the detection device;

[0087] The accuracy requirement is determined based on the basic accuracy requirement and the accuracy concern coefficient.

[0088] Furthermore, the transmission coding module 230 is further configured such that the determining of the transmission coding format according to the device identification and the device coding format includes:

[0089] Obtaining a utilization frequency data and a frequency attention coefficient for each detection device;

[0090] Determine the attention frequency data according to the utilization frequency data and the frequency attention coefficient;

[0091] Clustering the device identification into a specified number of classes according to the attention frequency data, each class of device identification corresponds to a class application frequency, and the difference between the class application frequency and each attention frequency data in the corresponding class of device identification is greater than zero and not greater than a frequency difference threshold;

[0092] A transmission coding format is determined relative to each type of device identification, and the transmission coding format includes a class code corresponding to a type of device identification, a device coding format corresponding to a type of device identification, and coding positions of the class code and the device coding format.

[0093] Furthermore, the transmission coding module 230 is further configured such that the determining of a transmission coding format relative to each type of device identification includes:

[0094] Based on the pre-built universal combination rules relative to each type of device identification and the pre-acquired user setting parameters, the application combination rules are determined, and the application combination rules are used to combine the class code and the device code format into a transmission code format. The application combination rules are also used to determine the coding position of the class code and the device code format.

[0095] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described device can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0096] In summary, this application at least has the following beneficial effects:

[0097] A method and system for generating a custom protocol template for use in an Internet of Vehicles (IoV) are provided, which can utilize a transmission coding format with a large amount of information but a small amount of data to transmit detection data of the IoV, thereby improving the communication efficiency of the IoV.

[0098] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.

Claims

1. A method for generating a custom protocol template for Internet of Vehicles, characterized in that: include: Obtaining the device identification and detection data range of the detection device; Determining a device encoding format according to the detection data range; Determine a transmission coding format according to the device identification and the device coding format, wherein the coding position in the transmission coding format corresponds to the device identification; Determining the device coding format according to the detection data range includes: Based on the accuracy requirement pre-acquired relative to each detection device, scaling the detection data range to obtain the transmission data range; Converting the upper limit of the transmission data range into a hexadecimal code to determine a device code format, wherein the device code format is a hexadecimal code, and the length of the device code format is equal to the length of the upper limit of the range converted into the hexadecimal code; Determining the transmission coding format according to the device identification and the device coding format comprises: Obtain a usage frequency data and a frequency attention coefficient for each detection device. The usage frequency data can be pre-acquired based on data experience, or determined by the server operator based on big data experience analysis; the frequency attention coefficient is pre-set by the car owner; Determine the attention frequency data according to the utilization frequency data and the frequency attention coefficient; Clustering the device identification into a specified number of classes according to the attention frequency data, each class of device identification corresponds to a class application frequency, and the difference between the class application frequency and each attention frequency data in the corresponding class of device identification is greater than zero and not greater than a frequency difference threshold; Determine a transmission coding format for each type of device identification, the transmission coding format including a class code corresponding to a type of device identification, a device coding format corresponding to a type of device identification, and coding positions of the class code and the device coding format; Determining a transmission coding format relative to each type of device identification includes: Based on the pre-constructed universal combination rules for each type of device identification and the pre-acquired user setting parameters, the application combination rules are determined, the application combination rules are used to combine the class code and the device code format into a transmission code format, the application combination rules are also used to determine the coding position of the class code and the device code format, all possibilities of a type of device identification are pre-stored in the vehicle terminal system or server, and a universal combination rule is pre-stored for each possibility of a type of device identification, the universal combination rule includes the device code format corresponding to the type of device identification and the combination method of the class code, in the universal combination rule, the class code is located in the first position of the transmission code format, the device code format corresponding to the type of device identification occupies the coding position of the transmission code format in sequence according to the order of the corresponding type of device identification in the pre-constructed list and the length of the device code format; the user setting parameter is a constant set by the user, and the constant is used to change the coding position of the transmission code format occupied by the class code and the device code format in the universal combination rule.

2. The method according to claim 1, characterized in that Before determining the device coding format according to the detection data range, the method further includes: obtaining an accuracy requirement relative to each detection device; The obtaining of an accuracy requirement relative to each detection device includes: The basic accuracy requirement and accuracy concern coefficient of the detection device are obtained. The basic accuracy requirement is pre-set in the vehicle terminal system or server. The accuracy concern coefficient reflects the owner's attention to the accuracy of the detection device. The higher the accuracy concern coefficient, the higher the owner's accuracy requirement for the detection data of the detection device. There are multiple preset accuracy concern coefficients. The owner can select an accuracy concern coefficient according to the attention he or she pays to the detection device. The specific method of determining the accuracy requirement according to the basic accuracy requirement and the accuracy concern coefficient is to divide the accuracy bit of the basic accuracy requirement by the accuracy concern coefficient to obtain the accuracy bit of the accuracy requirement.

3. A custom protocol template generation system applied to Internet of Vehicles, characterized in that: include: A data acquisition module, used to acquire a device identification and a detection data range of a detection device; A device coding module, used to determine a device coding format according to the detection data range; as well as A transmission coding module, used to determine a transmission coding format according to the device identification and the device coding format, wherein the coding position in the transmission coding format corresponds to the device identification; The device coding module is further configured such that determining the device coding format according to the detection data range includes: Based on the accuracy requirement pre-acquired relative to each detection device, scaling the detection data range to obtain the transmission data range; Converting the upper limit of the transmission data range into a hexadecimal code to determine a device code format, wherein the device code format is a hexadecimal code, and the length of the device code format is equal to the length of the upper limit of the range converted into the hexadecimal code; The transmission coding module is further configured such that the determining of the transmission coding format according to the device identification and the device coding format comprises: Obtain a usage frequency data and a frequency attention coefficient for each detection device. The usage frequency data can be pre-acquired based on data experience, or determined by the server operator based on big data experience analysis; the frequency attention coefficient is pre-set by the car owner; Determine the attention frequency data according to the utilization frequency data and the frequency attention coefficient; Clustering the device identification into a specified number of classes according to the attention frequency data, each class of device identification corresponds to a class application frequency, and the difference between the class application frequency and each attention frequency data in the corresponding class of device identification is greater than zero and not greater than a frequency difference threshold; Determine a transmission coding format for each type of device identification, the transmission coding format including a class code corresponding to a type of device identification, a device coding format corresponding to a type of device identification, and coding positions of the class code and the device coding format; The transmission coding module is further configured such that the determining of a transmission coding format relative to each type of device identification comprises: Determine an application combination rule based on a general combination rule pre-constructed relative to each type of device identification and a pre-acquired user setting parameter, the application combination rule is used to combine the class code and the device code format into a transmission code format, the application combination rule is also used to determine the coding position of the class code and the device code format, all possibilities of a type of device identification are pre-stored in the vehicle terminal system or server, a general combination rule is pre-stored relative to the possibility of each type of device identification, the general combination rule includes a device code format corresponding to a type of device identification and a combination method of the class code, in the general combination rule, the class code is located in the first position of the transmission code format, and the device code format corresponding to a type of device identification occupies the coding position of the transmission code format in sequence backward according to the order of the corresponding type of device identification in the pre-constructed list and the length of the device code format; The user setting parameter is a constant set by the user, and the constant is used to change the encoding position occupied by the class encoding and the device encoding format in the general combination rule in the transmission encoding format.

4. The system according to claim 3, characterized in that The data acquisition module is further configured to acquire an accuracy requirement relative to each detection device before determining the device coding format according to the detection data range; The obtaining of an accuracy requirement relative to each detection device includes: The basic accuracy requirement and accuracy concern coefficient of the detection device are obtained. The basic accuracy requirement is pre-set in the vehicle terminal system or server. The accuracy concern coefficient reflects the owner's attention to the accuracy of the detection device. The higher the accuracy concern coefficient, the higher the owner's accuracy requirement for the detection data of the detection device. There are multiple preset accuracy concern coefficients. The owner can select an accuracy concern coefficient according to the attention he or she pays to the detection device. The specific method of determining the accuracy requirement according to the basic accuracy requirement and the accuracy concern coefficient is to divide the accuracy bit of the basic accuracy requirement by the accuracy concern coefficient to obtain the accuracy bit of the accuracy requirement.

Citation Information

Patent Citations

  • Data transmission method and data transmission apparatus

    CN108551475A

  • Laboratory data transmission processing method and device, transmission processing system and medium

    CN117675913A

  • Method, apparatus, device, and medium for verifying vehicle information

    US20210099882A1