CN115694874A - Vehicle-mounted big data transmission method, system, equipment and medium - Google Patents

Vehicle-mounted big data transmission method, system, equipment and medium Download PDF

Info

Publication number
CN115694874A
CN115694874A CN202211033967.0A CN202211033967A CN115694874A CN 115694874 A CN115694874 A CN 115694874A CN 202211033967 A CN202211033967 A CN 202211033967A CN 115694874 A CN115694874 A CN 115694874A
Authority
CN
China
Prior art keywords
data
vehicle
transmission
authentication
machine system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211033967.0A
Other languages
Chinese (zh)
Other versions
CN115694874B (en
Inventor
王晓伟
向明芳
叶欢
黄楚敏
杨森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202211033967.0A priority Critical patent/CN115694874B/en
Publication of CN115694874A publication Critical patent/CN115694874A/en
Application granted granted Critical
Publication of CN115694874B publication Critical patent/CN115694874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a transmission method, a system, equipment and a medium of vehicle-mounted big data, which are characterized in that the required cache size is determined, the cache data volume is subjected to redundancy design, the data volume generated in unit time is ensured not to overflow, and the cache data volume redundancy design comprises a data generation volume part and a data consumption part; establishing a virtualized transmission channel, verifying a BB (base station) end through the system, initiating authentication by the MCU (micro control unit) end after the system passes the authentication of the BB end, wherein the authentication flow is the same as the authentication flow of the BB end, and when the BB end and the MCU end both pass the system authentication, successfully authenticating the MCU end and the BB end and establishing the system virtualized transmission channel; designing a transmission control-white list, defining the ID attribute of each sample, and sending and uploading the ID attribute configuration; and a transmission protocol is established to ensure the encryption and the integrity of the transmission data.

Description

Vehicle-mounted big data transmission method, system, equipment and medium
Technical Field
The application relates to the technical field of automobile software, in particular to a method, a system, equipment and a medium for transmitting vehicle-mounted big data.
Background
In the background of the intelligent internet automobile, the automobile is not used as a single carrier, is a physical product (terminal), but is used as an intelligent vehicle-mounted terminal, is provided for a user as a service, and generates new value (value extension). Under such a background, it is a key to perform value extension around a specific object and perform data representation on the object; furthermore, the data can provide the possibility of value extension only by flowing, gathering and gathering in a specific carrier, and extracting and analyzing information.
In a cloud path of finished automobile data, the problems that the data volume is large, the time characteristics and the space characteristics of the data cannot be guaranteed not to be lost in the transmission process, the data is compressed and lost, the data integrity of a channel before establishment cannot be guaranteed, the information safety of the data is easy to make mistakes and the like are solved.
Disclosure of Invention
In view of the above disadvantages of the prior art, the present invention provides a method, a system, a device, and a medium for transmitting vehicle-mounted big data, so as to solve the problems in the prior art that in a cloud path of data, the data volume is large, the time characteristics and the space characteristics of the data cannot be guaranteed not to be lost in the transmission process, the data is compressed, the data is lost, the integrity of the data before the channel is established cannot be guaranteed, and the information security of the data is prone to error.
The invention provides a method, which comprises the following steps:
a transmission method of vehicle-mounted big data comprises the following steps:
determining the required cache size, acquiring the data generation amount and the data consumption amount of the vehicle-mounted machine system in unit time, and determining the cache size based on the difference value between the data generation amount and the data consumption amount of the vehicle-mounted machine system in unit time;
the method comprises the steps that a power-on signal of the vehicle-mounted machine system is obtained, authentication is initiated on a platform end through the vehicle-mounted machine system, after the platform end passes the authentication, the vehicle-mounted machine system initiates authentication on a cloud end, the cloud end authentication flow is the same as the platform end authentication flow, and when the platform end and the cloud end both pass the vehicle-mounted machine system authentication, a vehicle-mounted machine system data transmission channel is established between the cloud end and the platform end;
designing a transmission control-white list, performing multiple sampling data through the vehicle-mounted machine system, acquiring a data sampling mode, sampling time and an identity attribute of each data sampling defined by a sampling area, marking the identity attribute, and uploading the multiple sampling data to a cloud end through a data transmission channel of the vehicle-mounted machine system after marking is completed;
and establishing a transmission protocol, and adding the transmission protocol to the data transmitted through the transmission channel through the vehicle-mounted machine system.
In an embodiment of the present invention, the determining the cache size based on the data generation amount and the data memory consumption amount in the car machine system unit time includes:
calculating a transmission limit value of the data volume of the input port in unit time when the rate is fixed;
calculating the maximum data volume transmission limit value of the data of the output port in unit time when the rate is fixed;
and calculating the difference value between the two transmission limit values, and obtaining the required cache size after superimposing a preset data processing loss value.
In an embodiment of the present invention, the establishing the data transmission channel of the in-vehicle machine system includes:
within the preset times, the platform side initiates authentication once every preset time, and judges whether feedback information is received within the preset time; if the authentication information is received, the platform side is authenticated successfully; if the feedback information is received within the preset times, the authentication fails;
after the platform side succeeds in authentication, the cloud side initiates authentication once within a preset number of times and every preset time, and whether feedback information is received within the preset time is judged; if the authentication information is received, the cloud authentication is successful; if the feedback information is received within the preset times, the authentication fails;
and after the cloud authentication is successful, establishing a data transmission channel between the platform end and the cloud.
In an embodiment of the present invention, the establishing a transmission protocol includes obtaining a data transmission protocol code, a data transmission physical channel number, an encryption identification code, and a data body, establishing a data transmission protocol, performing encryption marking on data according to the transmission protocol, and transmitting the data encrypted by using the transmission protocol from the vehicle system data transmission channel to a cloud.
In an embodiment of the present invention, the step of transmitting the data encrypted by using the transmission protocol from the in-vehicle system data transmission channel to the cloud further includes:
the vehicle machine system verifies the vehicle machine data, verifies the goodness of fit between the encrypted vehicle machine data and the vehicle machine data before encryption, and ensures the integrity of the data.
In an embodiment of the present invention, the establishing the transmission protocol further includes:
processing original data received by a serial port, wherein the original data is a byte array and is processed into frame data;
preprocessing a byte array buffer;
adding effective data to the byte data buffer;
the byte data is processed into structure data.
In an embodiment of the present invention, the first and second electrodes are arranged in a circular shape,
the data generation amount is based on CAN message data generated by the whole vehicle CAN network, and the generation time interval is 5ms;
the consumption of the data is based on communication data generated by a serial port network, and the generation time interval is 5ms.
The invention also provides a transmission system of vehicle-mounted big data, which comprises:
the cache module is used for determining the required cache size;
the virtual channel establishing module is used for establishing a virtual transmission channel;
a white list design module for designing a transmission control-white list;
and the transmission protocol design module is used for establishing a transmission protocol and ensuring the encryption and integrity of the transmission data.
The present invention also provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic apparatus to implement the transmission method of in-vehicle big data according to any one of claims 1 to 7.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the transmission method of vehicle-mounted big data according to any one of claims 1 to 7.
The invention has the beneficial effects that:
the invention ensures the encryption and integrity of the transmitted data. By the cache design, the integrity of the data is ensured, and particularly under the worst working condition, the data can be restored to the real working condition; meanwhile, the design of a white list protocol ensures that the received CAN message is dynamically configured, and the effective uploading of the whole vehicle data under the limited bandwidth is ensured; and the integrity, the encryption and the transmission reliability of the data in the transmission process of the cloud and the platform are ensured through protocol and authentication management.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
fig. 1 is a schematic flow chart diagram illustrating a method for transmitting vehicle-mounted big data according to the present invention.
Fig. 2 shows the cache design of the present invention.
Fig. 3 is a schematic diagram illustrating an authentication process according to the present invention.
Fig. 4 is a schematic structural diagram of white list information according to the present invention.
Fig. 5 shows a processing procedure of processing the original data received from the serial port into frame data in the present invention.
FIG. 6 shows the process of preprocessing the byte array buffer in the present invention.
Fig. 7 shows a process of adding valid data processing to byte data buffer in the present invention.
Fig. 8 shows a process of processing byte data into structure data in the present invention.
FIG. 9 is a schematic diagram of the system of the present invention.
FIG. 10 illustrates a schematic structural diagram of a computer system suitable for use to implement the electronic device of the embodiments of the subject application.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the disclosure herein, wherein the embodiments of the present invention are described in detail with reference to the accompanying drawings and preferred embodiments. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be understood that the preferred embodiments are illustrative of the invention only and are not limiting upon the scope of the invention.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present invention, however, it will be apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details, and in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring embodiments of the present invention.
As shown in fig. 1 to 8, fig. 1 is a schematic flow chart diagram illustrating a method for transmitting vehicle-mounted big data according to the present invention. Fig. 2 shows the cache design of the present invention. Fig. 3 is a schematic diagram illustrating an authentication process according to the present invention. Fig. 4 is a schematic structural diagram of white list information according to the present invention. Fig. 5 shows a processing procedure of processing the original data received from the serial port into frame data in the present invention. FIG. 6 shows the process of preprocessing the byte array buffer in the present invention. Fig. 7 shows the process of adding valid data processing to the byte data buffer in the present invention. Fig. 8 shows a process of processing byte data into structure data in the present invention. Wherein CAN represents a controller area network; SPI stands for synchronous transmission bus; ID represents a number; BB stands for baseband module; TBOX stands for telematics terminal. The embodiment provides a transmission method of vehicle-mounted big data, which comprises the following steps:
s110, determining a required cache size, acquiring the data generation amount and the data consumption amount of the vehicle-mounted machine system in unit time, and determining the cache size based on a difference value between the data generation amount and the data consumption amount of the vehicle-mounted machine system in unit time; in an embodiment of the present invention, the step S110 includes the steps of: calculating a transmission limit value of the data volume of the input port in unit time when the rate is fixed; calculating the maximum data volume transmission limit value of the data of the output port in unit time when the rate is fixed; and calculating the difference value between the two transmission limit values, and obtaining the required cache size after superimposing a preset data processing loss value. As shown in fig. 2, in a processing cycle of 5ms, the amount of data generated per unit is 403 bytes more than the amount of data consumed, and the buffer is set to 512 bytes in consideration of processing delay and cycle jitter.
S120, establishing a data transmission channel, acquiring a power-on signal of the vehicle-mounted device system, authenticating a platform end through the vehicle-mounted device system, authenticating a cloud end through the vehicle-mounted device system after the platform end passes the authentication, wherein the cloud end authentication flow is the same as the platform end authentication flow, and establishing the vehicle-mounted device system data transmission channel between the cloud end and the platform end after the platform end and the cloud end both pass the vehicle-mounted device system authentication; the platform end is a BB end, and the cloud end is an MCU end, and further, the step S120 includes the steps of: within the preset times, the BB terminal initiates authentication every other preset time, and judges whether feedback information is received within the preset time; if the authentication information is received, the BB end succeeds in authentication; if the feedback information is received within the preset times, the authentication fails; after the BB end succeeds in authentication, the MCU end initiates authentication every other preset time within preset times, and judges whether feedback information is received within the preset time or not; if the authentication information is received, the MCU end successfully authenticates; if the feedback information is received within the preset times, the authentication fails; and after the MCU terminal successfully authenticates, establishing a virtual transmission channel between the BB terminal and the MCU terminal. As shown in fig. 3, after the system starts to work (power on or wake up), the BB initiates authentication first, as shown in fig. 3, if feedback information is received in 1S, the BB authentication succeeds, otherwise, the BB transmits once per 1S, three times in total; then, the MCU end initiates authentication, and the processes are the same; and when the handshake between the two parties is successful, a virtual communication channel is established.
S130, designing a transmission control-white list, performing multiple sampling on data through the vehicle-mounted machine system, acquiring a data sampling mode, sampling time and an identity attribute of each data sampling defined by a sampling area, marking the identity attribute, and uploading the multiple sampling data to a cloud end through a data transmission channel of the vehicle-mounted machine system after marking is completed; preferably, the step S130 includes the steps of: defining a white list receiving rule when data acquisition is carried out on the whole vehicle CAN message; the white list reception rule includes: collecting ID, sampling mode, sampling time and sampling area to define the attribute of ID of each sample; and uploading the white list receiving rule for data sampling and sending. Fig. 4 shows a white list, and the attribute of each sampled ID is defined by the collection ID, the sampling mode, the sampling time, and the sampling area, and such attribute configuration is transmitted to the processing unit for data sampling and sending, so that it is ensured that all the vehicle-wide CAN messages CAN be dynamically uploaded under limited resources.
S140, establishing a transmission protocol, and adding the transmission protocol to data transmitted through a transmission channel through the vehicle-mounted machine system; the encryption and integrity of the transmitted data are guaranteed. The transmission protocol generally comprises a protocol head, a physical channel number, an encryption identifier, a data body, check data and other contents, and the encryption of the protocol is carried out through the encryption identifier so as to ensure the encryption of information; by checking the data, the integrity of the data is ensured. Specifically, the results are shown in Table 1.
BB and MCU transmission data structure description
Field data type field description
Header 2 message Header 0x550xaa
Channel Number 1 Channel numbers 0x11, 0x12, 0x10, 0x13
Reserve 7bit reservation
EncryptFlag 1bit (low order) encryption flag is not encrypted: 0 encryption: 1 (only 11 channels of downstream messages need to be encrypted)
Count1 upstream Count bits 0x 00-0 xFF (for 11 upstream messages only)
Lenth 2 message Length Only the Length of Data is calculated
The specific content of the Data BYTE [ n ] message conforms to the MUX communication message protocol
CRC 2 message tail whole message body check
Table 1 is a structural description of the processing protocol in the present invention
In one embodiment, the step 140 includes the steps of: processing original data received by a serial port into frame data; as shown in fig. 5, this sub-function does not perform processing such as escape; preprocessing a byte array buffer; as shown in fig. 6; adding valid data to the byte data buffer; as shown in fig. 7; the byte data is processed into structure data as shown in fig. 8. Therefore, the acquired data is transmitted to the TBOX through a regularized transmission protocol, and the encryption and integrity of the transmitted data are guaranteed.
The present invention also provides a transmission system for vehicle-mounted big data, as shown in fig. 9, including: a cache module 910, configured to determine a required cache size; a virtual channel establishing module 920, configured to establish a virtualized transmission channel; a white list design module 930 for designing a transmission control-white list; the transmission protocol design module 940 establishes a transmission protocol to ensure the encryption and integrity of the transmission data.
In one embodiment, the caching module 910 includes: the input end calculating unit is used for calculating the transmission limit value of the data volume of the input end in unit time when the data rate is fixed; the output end calculating unit is used for calculating the maximum data volume transmission limit value of the data of the output end in unit time when the rate is fixed; and the cache calculating unit is used for calculating the difference between the two transmission limit values, and acquiring the required cache size after superimposing the preset data processing loss value. As shown in fig. 2, in a processing cycle of 5ms, the amount of data generated per unit is 403 bytes more than the amount of data consumed, and the buffer is set to 512 bytes in consideration of processing delay and cycle jitter.
Further, the virtual channel establishing module 920 includes: the BB terminal authentication unit is used for initiating authentication by the BB terminal every other preset time within preset times, confirming that the authentication of the BB terminal is successful when feedback information is received within the preset time, and confirming that the authentication is failed when the feedback information is received within the preset times; the MCU terminal authentication unit is used for initiating authentication by the MCU terminal every other preset time within preset times, judging whether the MCU terminal successfully authenticates when receiving feedback information within the preset time or not, and determining that the authentication fails when receiving the feedback information within the preset times; and the channel establishing unit is used for establishing the virtual transmission channels of the BB end and the MCU end. As shown in fig. 3, after the system starts to work (power on or wake up), the BB first initiates authentication, as shown in fig. 3, if feedback information is received in 1S, the BB succeeds in authentication, otherwise, BB transmits once every 1S for a total of three times; then, the MCU terminal initiates authentication, and the processes are the same; and when the handshake between the two parties is successful, a virtual communication channel is established.
Preferably, the white list design module 930 includes: the definition unit is used for defining a white list receiving rule when data acquisition is carried out on the whole vehicle CAN message; the white list reception rule includes: collecting ID, sampling mode, sampling time and sampling area to define the attribute of ID of each sample; and the uploading unit is used for uploading the white list receiving rule and is used for sampling and sending data. Fig. 4 shows a white list setting rule, and an ID collection, a sampling mode, a sampling time, and a sampling area are used to define attributes of each sampled ID, and such attributes are configured and transmitted to a data sampling and sending processing unit, so that all dynamic vehicle-wide CAN messages CAN be uploaded under limited resources.
The transmission protocol generally comprises a protocol head, a physical channel number, an encryption identifier, a data body, check data and other contents, and the encryption of the protocol is carried out through the encryption identifier so as to ensure the encryption of information; by checking the data, the integrity of the data is ensured. Specifically, the results are shown in Table 1. The transmission protocol design module comprises: the first processing unit is used for processing the original data received by the serial port into frame data; as shown in fig. 5, this sub-function does not perform processing such as escape; the second processing unit is used for preprocessing the byte array buffer; as shown in fig. 6. The third processing unit is used for adding effective data to the byte data buffer; as shown in fig. 7. And the fourth processing unit is used for processing the byte data into structural body data. As shown in fig. 8. Therefore, the acquired data is transmitted to the TBOX through a regularized transmission protocol, and the encryption and integrity of the transmitted data are ensured;
according to the vehicle-mounted big data transmission method and system, the integrity of the data is guaranteed through the cache design, and particularly under the worst working condition, the data can be restored to the real working condition; meanwhile, the design of a white list protocol ensures that the received CAN message is dynamically configured, and the effective uploading of the whole vehicle data under the limited bandwidth is ensured; and through protocol and authentication management, the integrity and the encryption of the data in the transmission process are ensured.
It should be noted that the method for transmitting vehicle-mounted big data provided in the foregoing embodiment and the method for transmitting vehicle-mounted big data provided in the foregoing embodiment belong to the same concept, and specific ways for each module and unit to perform operations have been described in detail in the method embodiment, and are not described again here. In practical applications, the road condition refreshing apparatus provided in the above embodiment may distribute the above functions through different functional modules according to needs, that is, divide the internal structure of the apparatus into different functional modules to complete all or part of the above described functions, which is not limited herein.
An embodiment of the present application further provides an electronic device, including: one or more processors; and a storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the electronic device to implement the method for transmitting vehicle-mounted big data provided in the foregoing embodiments.
FIG. 10 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application. It should be noted that the computer system 1000 of the electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU) 1001, which can perform various appropriate actions and processes, such as executing the method described in the above embodiment, according to a program stored in a Read-Only Memory (ROM) 1002 or a program loaded from a storage portion 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for system operation are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An Input/Output (I/O) interface 1005 is also connected to the bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. When the computer program is executed by a Central Processing Unit (CPU) 1001, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the foregoing method of transmitting vehicle-mounted big data. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist separately without being incorporated in the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the transmission method of the vehicle-mounted big data provided in the above-described embodiments.
The foregoing embodiments are merely illustrative of the principles of the present invention and its efficacy, and are not to be construed as limiting the invention. Those skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention are covered by the claims of the present invention.

Claims (10)

1. A transmission method of vehicle-mounted big data is characterized by comprising the following steps:
determining the required cache size, acquiring the data generation amount and the data consumption amount of the vehicle-mounted machine system in unit time, and determining the cache size based on the difference value between the data generation amount and the data consumption amount of the vehicle-mounted machine system in unit time;
acquiring a power-on signal of the vehicle-mounted machine system, initiating authentication on a platform end through the vehicle-mounted machine system, after the platform end passes the authentication, initiating authentication on a cloud end by the vehicle-mounted machine system, wherein the cloud end authentication flow is the same as the platform end authentication flow, and when the platform end and the cloud end both pass the vehicle-mounted machine system authentication, a vehicle-mounted machine system data transmission channel is established between the cloud end and the platform end;
designing a transmission control-white list, performing multiple sampling data through the vehicle-mounted machine system, acquiring a data sampling mode, sampling time and an identity attribute of each data sampling defined by a sampling area, marking the identity attribute, and uploading the multiple sampling data to a cloud end through a data transmission channel of the vehicle-mounted machine system after marking is completed;
and establishing a transmission protocol, and adding the transmission protocol to the data transmitted through the transmission channel through the vehicle-mounted machine system.
2. The method for transmitting the vehicle-mounted big data according to claim 1, wherein the step of determining the cache size based on the data generation amount and the data memory consumption amount of the vehicle-mounted machine system in unit time comprises the steps of:
calculating a transmission limit value of the data volume of the input port in unit time when the rate is fixed;
calculating the maximum data volume transmission limit value of the data in the output port in unit time when the rate is fixed;
and calculating the difference value between the two transmission limit values, and obtaining the required cache size after superimposing a preset data processing loss value.
3. The method for transmitting the vehicle-mounted big data according to claim 1, wherein the step of establishing the vehicle-mounted machine system data transmission channel comprises the steps of:
within the preset times, the platform side initiates authentication once every preset time, and judges whether feedback information is received within the preset time; if the authentication information is received, the platform side succeeds in authentication; if the feedback information is received within the preset times, the authentication fails;
after the platform side succeeds in authentication, the cloud side initiates authentication once within a preset number of times and every preset time, and whether feedback information is received within the preset time is judged; if the authentication information is received, the cloud authentication is successful; if the feedback information is received within the preset times, the authentication fails;
and after the cloud authentication is successful, establishing a data transmission channel between the platform end and the cloud.
4. The method for transmitting the vehicle-mounted big data according to claim 1, wherein the establishing of the transmission protocol comprises obtaining a data transmission protocol code, a data transmission physical channel number, an encryption identification code and a data body to establish the data transmission protocol, carrying out encryption marking on the data according to the transmission protocol, and transmitting the data encrypted by using the transmission protocol to a cloud end through the vehicle-mounted system data transmission channel.
5. The method for transmitting the vehicle-mounted big data according to claim 4, wherein the step of transmitting the data encrypted by using the transmission protocol from the vehicle-mounted system data transmission channel to the cloud further comprises the steps of:
the vehicle machine system verifies the vehicle machine data, verifies the goodness of fit between the encrypted vehicle machine data and the vehicle machine data before encryption, and ensures the integrity of the data.
6. The method for transmitting the vehicle-mounted big data according to claim 5, wherein the establishing of the transmission protocol further comprises the steps of:
processing original data received by a serial port, wherein the original data is a byte array and is processed into frame data;
preprocessing a byte array buffer;
adding effective data to the byte data buffer;
the byte data is processed into structure data.
7. The transmission method of vehicle-mounted big data according to claim 1,
the data generation amount is based on CAN message data generated by the CAN network of the whole vehicle, and the generation time interval is 5ms;
the data consumption is based on communication data generated by a serial port network, and the generation time interval is 5ms.
8. A transmission system for vehicle-mounted big data is characterized by comprising:
the cache module is used for determining the required cache size;
the virtual channel establishing module is used for establishing a virtual transmission channel;
a white list design module for designing a transmission control-white list;
and the transmission protocol design module is used for establishing a transmission protocol and ensuring the encryption and integrity of transmission data.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic apparatus to implement the transmission method of in-vehicle big data according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when executed by a processor of a computer, causes the computer to execute the transmission method of vehicle-mounted big data of any one of claims 1 to 7.
CN202211033967.0A 2022-08-26 2022-08-26 Vehicle-mounted big data transmission method, system, equipment and medium Active CN115694874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211033967.0A CN115694874B (en) 2022-08-26 2022-08-26 Vehicle-mounted big data transmission method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211033967.0A CN115694874B (en) 2022-08-26 2022-08-26 Vehicle-mounted big data transmission method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN115694874A true CN115694874A (en) 2023-02-03
CN115694874B CN115694874B (en) 2024-06-11

Family

ID=85061305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211033967.0A Active CN115694874B (en) 2022-08-26 2022-08-26 Vehicle-mounted big data transmission method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN115694874B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191112A (en) * 2019-05-22 2019-08-30 北京百度网讯科技有限公司 Auth method, device, mobile unit and server
CN111740808A (en) * 2019-03-25 2020-10-02 华为技术有限公司 Data transmission method and device
CN112600908A (en) * 2020-12-07 2021-04-02 南京指掌易信息科技有限公司 Method, device, equipment and storage medium for acquiring communication link
WO2022052727A1 (en) * 2020-09-09 2022-03-17 华为技术有限公司 Data transmission method and electronic device
CN114765753A (en) * 2021-01-04 2022-07-19 广州汽车集团股份有限公司 Communication method and device of vehicle-mounted terminal, terminal equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111740808A (en) * 2019-03-25 2020-10-02 华为技术有限公司 Data transmission method and device
CN110191112A (en) * 2019-05-22 2019-08-30 北京百度网讯科技有限公司 Auth method, device, mobile unit and server
WO2022052727A1 (en) * 2020-09-09 2022-03-17 华为技术有限公司 Data transmission method and electronic device
CN112600908A (en) * 2020-12-07 2021-04-02 南京指掌易信息科技有限公司 Method, device, equipment and storage medium for acquiring communication link
CN114765753A (en) * 2021-01-04 2022-07-19 广州汽车集团股份有限公司 Communication method and device of vehicle-mounted terminal, terminal equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李大卫;杨兆元;王斌;: "面向移动虚拟化应用的安全传输协议研究与设计", 计算机工程与设计, no. 12, 16 December 2018 (2018-12-16) *

Also Published As

Publication number Publication date
CN115694874B (en) 2024-06-11

Similar Documents

Publication Publication Date Title
CN111628967B (en) Log data transmission method and device, computer equipment and storage medium
CN108255701B (en) Scene testing method and mobile terminal
CN112822678B (en) Method for authorizing service architecture
EP3819802A1 (en) Data consistency checking method and data uploading/downloading apparatus
CN112422551B (en) SSL certificate updating method and device, electronic equipment and storage medium
US20210099432A1 (en) Data consistency verification method, and data uploading and downloading device
WO2021134418A1 (en) Data checking method and apparatus
CN106709768B (en) Method and system for asynchronously downloading invoice
CN111600787B (en) Information processing method, information processing apparatus, electronic device, and medium
CN114221866A (en) Method, device and medium for upgrading terminal
CN115694874B (en) Vehicle-mounted big data transmission method, system, equipment and medium
CN114500508A (en) Gas meter upgrading method and device and electronic equipment
CN115145905A (en) Data processing method, system, electronic equipment and readable storage medium
CN106210031A (en) Service execution method, device, client and server
CN113766020A (en) Remote control system and method for satellite navigation receiver equipment
CN112733101A (en) Cloud server management method, device, storage medium and server terminal
CN114443525A (en) Data processing system, method, electronic equipment and storage medium
CN112055058A (en) Data storage method and device and computer readable storage medium
CN110769027A (en) Service request processing method and device, computer equipment and storage medium
CN114333104B (en) Driving data transmission method and device
CN115955316A (en) Communication method, system, device and medium
CN116170354B (en) Network performance test method, device, equipment and medium
CN113132324B (en) Sample identification method and system
CN113852484B (en) Terminal equipment network distribution method, device, electronic equipment and computer readable medium
CN113821248B (en) Service method of vehicle-end software, vehicle-end software and related equipment thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant