CN108995614B - Information transmission method and information transmission device - Google Patents

Information transmission method and information transmission device Download PDF

Info

Publication number
CN108995614B
CN108995614B CN201811146608.XA CN201811146608A CN108995614B CN 108995614 B CN108995614 B CN 108995614B CN 201811146608 A CN201811146608 A CN 201811146608A CN 108995614 B CN108995614 B CN 108995614B
Authority
CN
China
Prior art keywords
vehicle
parameter
information
parameters
data
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.)
Active
Application number
CN201811146608.XA
Other languages
Chinese (zh)
Other versions
CN108995614A (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 Xibu Automobile Proving Ground Management Co ltd
China Automotive Engineering Research Institute Co Ltd
Original Assignee
Chongqing Xibu Automobile Proving Ground Management Co ltd
China Automotive Engineering Research Institute 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 Xibu Automobile Proving Ground Management Co ltd, China Automotive Engineering Research Institute Co Ltd filed Critical Chongqing Xibu Automobile Proving Ground Management Co ltd
Priority to CN201811146608.XA priority Critical patent/CN108995614B/en
Publication of CN108995614A publication Critical patent/CN108995614A/en
Application granted granted Critical
Publication of CN108995614B publication Critical patent/CN108995614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mechanical Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the application provides an information transmission method and an information transmission device, and relates to the field of Internet of vehicles. The method is applied to a vehicle information transmission terminal, the vehicle information transmission terminal is respectively connected with a vehicle to be acquired and a vehicle monitoring server, and the method comprises the following steps: obtaining vehicle data parameters of a vehicle in a running state; coding vehicle data parameters to a first data bit in vehicle parameter monitoring information, and coding related parameters of the vehicle parameter monitoring information to at least one second data bit in the vehicle parameter monitoring information to obtain vehicle parameter monitoring information to be sent; and sending the vehicle parameter monitoring information to be sent to the vehicle monitoring server. The vehicle monitoring server can directly obtain corresponding information from corresponding data bits when obtaining and decoding the vehicle parameter monitoring information, and the corresponding information is obtained without a large amount of searching and matching, so that the timeliness of obtaining the information is improved.

Description

Information transmission method and information transmission device
Technical Field
The application relates to the field of Internet of vehicles, in particular to an information transmission method and an information transmission device.
Background
With the popularization and use of unmanned technologies, the automatic driving vehicle is widely applied. At present, the running state of each automatic driving vehicle is recorded through each data acquisition device, although the running state can meet the test running requirement of the automatic driving vehicle, the monitored data volume is large in the current monitoring process, the analysis query efficiency of the data output by the traditional data acquisition devices is low, and therefore the timeliness cannot be required when a large amount of data are transmitted.
Disclosure of Invention
The present application is directed to an information transmission method and an information transmission apparatus, so as to effectively overcome the above technical drawbacks.
The embodiment of the application is realized by the following steps:
in a first aspect, an embodiment of the present application provides an information transmission method, which is applied to a vehicle information transmission terminal, where the vehicle information transmission terminal is respectively connected to a vehicle and a vehicle monitoring server of data to be collected; the method comprises the following steps: obtaining vehicle data parameters of a vehicle in a running state; coding vehicle data parameters to a first data bit in the vehicle parameter monitoring information, and coding related parameters of the vehicle parameter monitoring information to at least one second data bit in the vehicle parameter monitoring information to obtain vehicle parameter monitoring information to be sent; and sending the vehicle parameter monitoring information to be sent to a vehicle monitoring server.
With reference to the technical solution provided by the first aspect, in some possible implementation manners, the vehicle data parameter includes a plurality of vehicle state parameters, and the encoding of the vehicle data parameter to the first data bit in the vehicle parameter monitoring information includes: sequentially encoding various vehicle state parameters in the vehicle data parameters to obtain encoded various vehicle state parameters; and writing the encoded multiple vehicle state parameters into a first data bit in the vehicle parameter monitoring information in sequence according to the encoding sequence.
With reference to the technical solution provided by the first aspect, in some possible implementations, the encoded multiple vehicle state parameters include: the vehicle first part state parameter and the vehicle second part state parameter, and the vehicle first part state parameter comprises: the vehicle login state parameters and the time state parameters of the collected data when the vehicle information transmission terminal logs in the vehicle monitoring server, and the state parameters of the second part of the vehicle comprise: the time state parameter and the speed state parameter, the position state parameter, the working state parameter and the environment identification parameter of the vehicle component of the data to be collected under the vehicle advancing state are written into the first data bit in the vehicle parameter monitoring information in sequence according to the coded sequence, and the method comprises the following steps: writing the temporal status parameters in the encoded order to a first field in a first data bit and writing the vehicle entry status parameters in the first part of the status parameters of the vehicle to a second field in the first data bit; writing a temporal status parameter of the second portion of the vehicle status parameters to a third field of the first data bit, writing the speed status information to a fourth field of the first data bit, writing the positional status parameter to a fifth field of the first data bit, writing the operating status parameter of the vehicle component to a sixth field of the first data bit, and again writing the environment identification parameter to a seventh field of the first data bit in the encoded order.
With reference to the technical solution provided by the first aspect, in some possible implementations, after encoding a vehicle data parameter into a first data bit in vehicle parameter monitoring information and encoding a related parameter of the vehicle parameter monitoring information into at least one second data bit in the vehicle parameter monitoring information, and obtaining the vehicle parameter monitoring information to be sent, and before sending the vehicle parameter monitoring information to be sent to a vehicle monitoring server, the method further includes: judging whether login is initiated to the vehicle monitoring server and the login is successful; if not, generating a vehicle login request, and sending the vehicle login request to a vehicle monitoring server; judging whether a login request confirmation returned by the vehicle monitoring server according to the vehicle login request is received within a preset time period after the vehicle login request is sent; if yes, executing the following steps: and sending the vehicle parameter monitoring information to be sent to a vehicle monitoring server.
With reference to the technical solution provided by the first aspect, in some possible implementation manners, after determining whether a login request confirmation returned by the vehicle monitoring server according to the vehicle login request is received within a preset time period after the vehicle login request is sent, the method further includes: the method comprises the steps that a login request confirmation returned by a vehicle monitoring server is not received within a preset time period, and abnormal communication with the vehicle monitoring server is determined; and locally storing the vehicle parameter monitoring information to be sent obtained in a preset time period.
In a second aspect, an embodiment of the present application provides an information transmission device, which is applied to a vehicle information transmission terminal, where the vehicle information transmission terminal is respectively connected to a vehicle and a vehicle monitoring server, where the vehicle and the vehicle monitoring server are to acquire data; the device comprises: the acquisition module is used for acquiring vehicle data parameters of a vehicle to be acquired in a running state; the encoding module is used for encoding the vehicle data parameters into a first data bit in the vehicle parameter monitoring information and encoding related parameters of the vehicle parameter monitoring information into at least one second data bit in the vehicle parameter monitoring information to obtain the vehicle parameter monitoring information to be sent; and the sending module is used for sending the vehicle parameter monitoring information to be sent to the vehicle monitoring server.
In some possible implementation manners, in combination with the technical solution provided by the second aspect, the encoding module is further configured to sequentially encode multiple vehicle state parameters in the vehicle data parameters to obtain the encoded multiple vehicle state parameters, and then correspondingly and sequentially write the encoded multiple vehicle state parameters into the first data bit in the vehicle parameter monitoring information according to the encoding sequence.
With reference to the technical solution provided by the second aspect, in some possible implementations, the encoded multiple vehicle state parameters include: the vehicle first part state parameter and the vehicle second part state parameter, and the vehicle first part state parameter comprises: the vehicle login state parameters and the time state parameters of the collected data when the vehicle information transmission terminal logs in the vehicle monitoring server, and the state parameters of the second part of the vehicle comprise: the time state parameters, the speed state parameters and the position state parameters of the data to be collected under the vehicle running state, the working state parameters of the vehicle components and the environment identification parameters; the encoding module is further used for writing the vehicle login status parameters in the first part of the vehicle status parameters into a first byte section in a first data bit and writing the time status parameters into a second byte section in the first data bit in the encoding sequence; the encoding module is further configured to write, in the encoded order, a temporal status parameter of the second portion of the vehicle status parameters to a third byte in the first data bit, to write the speed status information to a fourth byte in the first data bit, to write the location status parameter to a fifth byte in the first data bit, to write the operating status parameter of the vehicle component to a sixth byte in the first data bit, and to write the environment identification parameter to a seventh byte in the first data bit.
With reference to the technical solution provided by the second aspect, in some possible implementation manners, the information transmission apparatus further includes: the judgment processing device is used for judging whether the information transmission device initiates login to the vehicle monitoring server and the login is successful; if not, the information transmission device generates a vehicle login request and sends the vehicle login request to the vehicle monitoring server; judging whether a login request confirmation returned by the vehicle monitoring server according to the vehicle login request is received within a preset time period after the information transmission device sends the vehicle login request; and if so, the sending module sends the vehicle parameter monitoring information to be sent to a vehicle monitoring server.
With reference to the technical solution provided by the second aspect, in some possible implementation manners, the judgment processing device is further configured to judge whether the information transmission device receives a login request acknowledgement returned by the vehicle monitoring server according to the vehicle login request within a preset time period after sending the vehicle login request, judge that the information transmission device does not receive the login request acknowledgement returned by the vehicle monitoring server within the preset time period, and determine that communication between the information transmission device and the vehicle monitoring server is abnormal; the information transmission device locally stores the vehicle parameter monitoring information to be sent, which is obtained in a preset time period.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
the vehicle parameter monitoring information to be sent can be obtained by uniformly encoding the vehicle data parameters to the first data bit in the vehicle parameter monitoring information and uniformly encoding the related parameters of the vehicle parameter monitoring information to at least one second data bit in the vehicle parameter monitoring information. When the server obtains and decodes the vehicle parameter monitoring information sent by the vehicle information transmission terminal, the server can directly obtain corresponding information from the corresponding data bit without searching and matching a large number of corresponding information because the vehicle data parameters are all located in the first data bit and the related parameters are all located in at least one second data bit, so that the timeliness of obtaining the information is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a block diagram illustrating an information transmission system according to a first embodiment of the present application;
fig. 2 is a block diagram showing a configuration of a vehicle information transmission terminal according to a first embodiment of the present application;
fig. 3 is a timing flow chart illustrating an information transmission method according to a second embodiment of the present application;
fig. 4 is a block diagram showing a configuration of an information transmission apparatus according to a third embodiment of the present application;
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. The terms "first," "second," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
First embodiment
Referring to fig. 1, an embodiment of the present application provides a vehicle information transmission system 10, where the vehicle information transmission system 10 includes: a vehicle information transmission terminal 11 and a vehicle monitoring server 12.
The vehicle information transmission terminal 11 may be a Personal Computer (PC), a tablet PC, a smart phone, a Personal Digital Assistant (PDA), or the like. The vehicle monitoring server 30 may be a web server, a database server, a cloud server, or a server assembly composed of a plurality of sub servers, or the like.
As shown in fig. 2, the vehicle information transmission terminal 11 may include: memory 111, communication module 112, bus 113, and processor 114. Wherein the processor 114, the communication module 112 and the memory 111 are connected by a bus 113. The processor 114 is used to execute executable modules, such as computer programs, stored in the memory 111. The components and structure of the vehicle information transmission terminal 11 shown in fig. 1 are merely exemplary and not restrictive, and the vehicle information transmission terminal 11 may have other components and structures as necessary.
The Memory 111 may include a high-speed Random Access Memory (Random Access Memory RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. In this embodiment, the memory 21 stores the vehicle parameter monitoring information to be transmitted, which is obtained during the period when the data communication link is abnormal.
The bus 113 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 1, but this does not indicate only one bus or one type of bus.
The processor 114 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 114. The processor 114 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art.
The method performed by the apparatus or the plug flow process disclosed in any of the embodiments of the present invention may be applied to the processor 114, or may be implemented by the processor 114. After receiving the response command from the vehicle monitoring server 12, the processor 114 controls the communication module 112 via the bus 113 to complete the encoded transmission of the vehicle parameter monitoring information.
Second embodiment
Referring to fig. 3, a timing flow chart of an information transmission method according to a first embodiment of the present application is provided. The present embodiment describes an information transmission method from a vehicle information transmission terminal side, the information transmission method including: step S11, step S12 and step S13.
Step S11: vehicle data parameters of the vehicle in a traveling state are obtained.
Step S12: and coding the vehicle data parameters to a first data bit in the vehicle parameter monitoring information, and coding related parameters of the vehicle parameter monitoring information to at least one second data bit in the vehicle parameter monitoring information to obtain the vehicle parameter monitoring information to be sent.
Step S13: and sending the vehicle parameter monitoring information to be sent to a vehicle monitoring server.
The flow of the information transmission method will be described in detail below.
Step S11: vehicle data parameters of the vehicle in a traveling state are obtained.
The data acquisition device for acquiring the vehicle data parameters of the vehicle in the traveling state may be a camera, a T-BOX (Telematics BOX), or any other vehicle-mounted data acquisition terminal, and optionally, in this embodiment, a CAN data acquisition port of the T-BOX is connected to a vehicle OBD interface to acquire the vehicle data parameters in the traveling state of the vehicle and a camera is used to acquire a video to record a video stream of a surrounding environment in the traveling state of the vehicle. CAN information cannot be transmitted to a vehicle monitoring server through a network and needs to be encoded again; and the video stream can directly transmit the acquired video to the vehicle monitoring server through the network without encoding.
Step S12: and coding the vehicle data parameters to a first data bit in the vehicle parameter monitoring information, and coding related parameters of the vehicle parameter monitoring information to at least one second data bit in the vehicle parameter monitoring information to obtain the vehicle parameter monitoring information to be sent.
The vehicle data parameters include a plurality of vehicle state parameters, which may include: the first part state parameter of the vehicle and the second part state parameter of the vehicle. The vehicle first part state parameters may include: the vehicle logging state parameters and the time state parameters of the collected data when the vehicle information transmission terminal logs in the vehicle monitoring server; the vehicle second part state parameters may include: the time state parameters, the speed state parameters and the position state parameters of the data to be collected under the vehicle running state, the working state parameters of the vehicle components and the environment identification parameters. The plurality of vehicle state parameters are coded and then correspondingly written into the first data bit in the vehicle parameter monitoring information in sequence according to the coding sequence.
The vehicle information transmission terminal writes the time state parameter of the collected data in the first part of the state parameters of the vehicle into a first byte section in a first data bit, wherein the time state parameter is used for recording the time when the vehicle information transmission terminal sends a login request to the vehicle monitoring server. The data type of the first byte section is a byte, and the first byte section may include a first byte section first byte bit, a first byte section second byte bit, a first byte section third byte bit, a first byte section fourth byte bit, a first byte section fifth byte bit, and a first byte section sixth byte bit. The vehicle information transmission terminal writes the year information in the time status parameter into the first byte bit of the first byte section, and the valid value range of the year information in the time status parameter can be 0-99. The vehicle information transmission terminal writes the month information in the parameter into the second byte bit of the first byte section, and the effective value range of the month information in the parameter can be 1-12. The vehicle information transmission terminal writes the date information in the time status parameter into the third byte bit of the first byte, and the valid value range of the date information in the time status parameter can be 1-31. The vehicle information transmission terminal writes the clock information in the time state parameter into the fourth byte bit of the first byte section, and the valid value range of the clock information in the time state parameter can be 0-23. The vehicle information transmission terminal writes the minute information in the time status parameter into the fifth byte bit of the first byte section, and the valid value range of the minute information in the time status parameter can be 0-59. The vehicle information transmission terminal writes the second information in the time status parameter into the sixth byte bit of the first byte section, and the valid value range of the second information in the time status parameter can be 0-59.
And the vehicle information transmission terminal writes the vehicle login state parameters in the first part of the vehicle state parameters when the vehicle logs in the vehicle monitoring server into a second byte section in the first data bit, and the data type in the second byte section is unsigned double-byte integer. The vehicle login state parameter is added with one to the original data value every time the vehicle information transmission terminal initiates a login request to the vehicle monitoring server, and the maximum value is 65531.
And the vehicle information transmission terminal writes the time state parameter of the acquired data in the second part of the vehicle state parameters into a third byte section in the first data bit, wherein the time state parameter is used for recording the time when the vehicle data parameters report to the vehicle monitoring server. The data type of the third byte segment is byte, and the third byte segment includes a third byte segment first byte bit, a third byte segment second byte bit, a third byte segment third byte bit, a third byte segment fourth byte bit, a third byte segment fifth byte bit, and a third byte segment sixth byte bit. The vehicle information transmission terminal writes the year information in the time status parameter into the first byte bit of the third byte, and the valid value range of the year information in the time status parameter can be 0-99. The vehicle information transmission terminal writes the month information in the parameter into the second byte bit of the third byte section, and the effective value range of the month information in the parameter can be 1-12. The vehicle information transmission terminal writes the date information in the time status parameter into the third byte bit of the third byte section, and the valid value range of the date information in the time status parameter can be 1-31. The vehicle information transmission terminal writes the clock information in the time state parameter into the fourth byte bit of the third byte section, and the valid value range of the clock information in the time state parameter can be 0-23. The vehicle information transmission terminal writes the minute information in the time status parameter into the fifth byte bit of the third byte, and the range of the valid value of the minute information in the time status parameter can be 0-59. The vehicle information transmission terminal writes the second information in the time status parameter into the sixth byte bit of the third byte, and the valid value range of the second information in the time status parameter can be 0-59.
And the vehicle information transmission terminal writes the speed state parameters of the data to be acquired in the second part of the vehicle state parameters into the fourth byte section in the first data bit in the coded sequence. The fourth byte section has a data type of byte and includes a fourth sub-byte section and another fourth sub-byte section, and the header is written to the fourth sub-byte section and the information content is written to the another fourth sub-byte section. The information head is an information type mark 0x01 of the speed state parameter, and each piece of sub information in the information content comprises real-time vehicle speed, heading angle, acceleration, longitudinal acceleration and transverse acceleration. Wherein the other fourth sub-byte section has a plurality of bytes, and each sub-information in the information content is written into at least one of the plurality of bytes in sequence.
And the vehicle information transmission terminal writes the position state parameters of the data to be acquired in the second part of the vehicle state parameters into the fifth byte section in the first data bit in the vehicle traveling state according to the coding sequence. The fifth byte section comprises a fifth sub-byte section and a further fifth sub-byte section, the header being written to the fifth sub-byte section and the information content being written to the further fifth sub-byte section. The information header is an information type flag 0x02 of the position state parameter, and each sub-information in the information content comprises a positioning state, a longitude at the current position, a latitude at the current position, a speed and an azimuth angle. Wherein the fifth sub-byte section has a plurality of bytes, and each sub-information in the information content is written into at least one of the plurality of bytes in sequence.
And the vehicle information transmission terminal writes the working state parameters of the data to be acquired in the second part of the vehicle state parameters into the sixth byte section in the first data bit in the coded sequence. The sixth byte section comprises a sixth sub-byte section and a further sixth sub-byte section, the header being written to the sixth sub-byte section and the information content being written to the further sixth sub-byte section. The information header is an information type mark 0x03 of the working state parameter, and each piece of sub information in the information content comprises driving mode information, data recording system state information, adjacent vehicle information, automatic driving control system state information, gear information, steering lamp state information, high beam information, low beam information, accelerator pedal travel value information, brake pedal state information, starting state information and environment state information acquired by an environment perception sensor. Wherein the other sixth sub-byte segment has a plurality of bytes, and each sub-information within the information content is written into each at least one byte of the plurality of bytes in turn.
And the vehicle information transmission terminal writes the environment identification parameters of the second part of the vehicle state parameters to be acquired in the vehicle traveling state into the seventh byte section in the first data bit according to the coding sequence. The seventh byte section includes a seventh sub-byte section and another seventh sub-byte section, the seventh sub-byte section having a plurality of bytes, the header being sequentially written to at least one of the plurality of bytes, and the information content being written to the another seventh sub-byte section. The information header comprises a signpost identification 0x04, a function enabling 0x05 and an obstacle identification 0x06, and each piece of sub information in the function enabling information content comprises: the system comprises active cruise information, steering auxiliary information, vehicle tracking information, lane changing auxiliary information, dynamic obstacle avoidance information, vehicle following information, emergency braking information, remote control parking information and manual active intervention frequency information. Wherein the seventh sub-byte section has a plurality of bytes, and each sub-information in the information content is written into at least one byte of the plurality of bytes in turn.
The relevant parameters of the vehicle parameter monitoring information comprise an initial symbol, a command identifier, a response identifier, an identification code, an encryption mode of vehicle data parameters, a data length and a check code. And relevant parameters of the coded vehicle parameter monitoring information are sequentially and correspondingly written into at least one second data bit in the vehicle parameter monitoring information.
In this embodiment, the at least one second data bit may be 7, which are respectively a data bit a, a data bit B, a data bit C, a data bit D, a data bit E, a data bit F, and a data bit G, and the relevant parameters of the encoded vehicle parameter monitoring information are sequentially written into the 7 second data bits according to the encoding sequence.
The start character is written into the data bit A in the order of encoding, the start character is used for the vehicle monitoring server to verify whether the information transmitted by the vehicle information transmission terminal is received, and the start character is fixedly represented by characters of '0 x23,0x 23'.
And writing a command identifier into the data bit B, wherein the command identifier is used for reminding the vehicle monitoring server of what action is to be performed by the vehicle information transmission terminal next. The command identification comprises vehicle login, real-time information reporting, reissue information reporting, vehicle logout and heartbeat messages. The vehicle login information type flag is 0x 01; the real-time information reporting command identification information type mark is 0x 02; the type mark of the command identification information reported by the reissue information is 0x 03; the vehicle logout command identification information type flag is 0x 04; the heartbeat message is used for monitoring whether the vehicle is abnormal in the vehicle login, real-time information reporting, reissue information reporting and vehicle logout processes, and the information type mark is 0x 07.
And writing a response identifier into the data bit C, wherein the response identifier comprises a successful instruction which is returned by the vehicle monitoring server after receiving the correct vehicle parameter monitoring information, a modification error instruction which is returned by the vehicle monitoring server to the vehicle information transmission terminal unsuccessfully, and a command instruction which is remotely sent by the vehicle monitoring server to the vehicle information transmission terminal to execute actions.
And writing an identification code into the data bit D, wherein the identification code is a unique identifier for identifying the vehicle information transmission terminal by the vehicle monitoring server and is formed by a 17-bit word code.
And writing the encryption mode of the vehicle data parameters into the data bit E, wherein the encryption mode of the vehicle data parameters comprises non-encryption, RSA algorithm encryption and AES 128-bit algorithm encryption. The unencrypted information type flag is 0x 01; the type mark of the information encrypted by the RSA algorithm is 0x 02; the information type mark of AES128 bit algorithm encryption is 0x03, and the information type mark is 0xFE which indicates that the encryption is abnormal; the information type flag is 0xFF indicating that the vehicle data parameter is invalid. And writing the encryption modes of the vehicle data parameters into the data bit E in sequence according to the coding sequence.
And writing a data length into the data bit F, wherein the data length is used for representing the total byte number of the vehicle data parameter, and the effective value range is 0-65531.
And writing a check code into the data bit G, wherein the check code is used for verifying the correctness of the transmission data format content and whether the packet is lost in the transmission process in the received data by the vehicle monitoring server.
And the relevant parameters of the coded vehicle parameter monitoring information are sequentially written into 7 second data bits according to the coding sequence, and the coded vehicle data parameters are correspondingly and sequentially written into the first data bits in the vehicle parameter monitoring information according to the coding sequence to obtain the vehicle parameter monitoring information to be sent.
After step S12, in order to ensure that the vehicle information transmission terminal and the vehicle monitoring server have established a normal data communication link, the vehicle information transmission terminal may further include a judgment processing device that judges whether the vehicle information transmission terminal has initiated a login to the vehicle monitoring server and the login is successful. If the judgment result is that the vehicle information transmission terminal is not successfully logged in, the vehicle information transmission terminal generates a vehicle login request and sends the vehicle login request to the vehicle monitoring server; if the vehicle information transmission terminal is successfully registered as a result of the determination, the vehicle information transmission terminal may continue to perform step S13.
In detail, the judgment processing device judges whether the vehicle information transmission terminal receives a login request confirmation returned by the vehicle monitoring server according to the vehicle login request within a preset time period after the vehicle information transmission terminal sends the vehicle login request. If the judgment result is that the vehicle monitoring server receives the login request confirmation returned by the vehicle login request within the preset time period after sending the vehicle login request, the vehicle information transmission terminal may continue to execute step S13; and if the judgment result is that the login request confirmation returned by the vehicle monitoring server according to the vehicle login request is not received within a preset time period after the vehicle login request is sent, determining that the communication with the vehicle monitoring server is abnormal, and locally storing the vehicle parameter monitoring information to be sent obtained within the preset time period.
Step S13: sending vehicle parameter monitoring information to be sent to a vehicle monitoring server
The vehicle information transmission terminal encodes the vehicle parameter monitoring information according to a certain encoding sequence, writes the encoded vehicle parameter monitoring information into a first data bit in the vehicle parameter monitoring information and at least one second data bit in the vehicle parameter monitoring information according to the encoding sequence, receives a login request confirmation sent by the connection of the vehicle monitoring server at the vehicle information transmission terminal, and establishes a data communication link between the vehicle information transmission terminal and the vehicle monitoring server. Optionally, in this embodiment, a TCP/IP network control protocol is used as the underlying communication bearer protocol. When the data communication link is normal, the vehicle monitoring server determines whether the data is received or not according to the initial symbol, and when the initial symbol conforms to the receiving format of the vehicle monitoring server, the vehicle parameter monitoring information to be sent formed after coding can be sent to the vehicle monitoring server.
The vehicle parameter monitoring information is encoded according to a certain sequence, and the decoding process is also performed according to the encoding sequence and format. The same format is adopted for encoding and decoding, so that the transcoding efficiency in the analysis process is improved, and the transmission efficiency of the vehicle parameter monitoring information can be improved.
Third embodiment
Referring to fig. 4, fig. 4 is a block diagram of an information transmission device 20 according to the present embodiment, where the information transmission device 20 includes:
the collecting module 210 is configured to collect vehicle data parameters of a vehicle to be collected in a traveling state.
The encoding module 220 is configured to encode a vehicle data parameter into a first data bit of the vehicle parameter monitoring information, and encode a related parameter of the vehicle parameter monitoring information into at least one second data bit of the vehicle parameter monitoring information, so as to obtain vehicle parameter monitoring information to be sent.
A judgment processing means 230 for judging whether the information transmission apparatus has initiated a login to the vehicle monitoring server and the login is successful; if not, the information transmission device generates a vehicle login request and sends the vehicle login request to the vehicle monitoring server; judging whether a login request confirmation returned by the vehicle monitoring server according to the vehicle login request is received within a preset time period after the information transmission device sends the vehicle login request; if so, the sending module sends the vehicle parameter monitoring information to be sent to the vehicle monitoring server.
A sending module 240, configured to send the vehicle parameter monitoring information to be sent to the vehicle monitoring server.
The encoding module 220 is further configured to sequentially encode multiple vehicle state parameters in the vehicle data parameters to obtain multiple encoded vehicle state parameters, and then sequentially write the multiple encoded vehicle state parameters into a first data bit in the vehicle parameter monitoring information according to the encoding sequence.
The encoding module 220 is further configured to write the vehicle entry status parameter in the first part of the vehicle status parameters to a first byte in the first data bit and write the time status parameter to a second byte in the first data bit in the encoded order.
The encoding module 220 is further configured to write the time status parameter of the second portion of the vehicle status parameters to the third byte in the first data bit, the speed status information to the fourth byte in the first data bit, the position status parameter to the fifth byte in the first data bit, the operating status parameter of the vehicle component to the sixth byte in the first data bit, and the environment identification parameter to the seventh byte in the first data bit in the encoded order.
It should be noted that, as those skilled in the art can clearly understand, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In summary, the embodiments of the present application provide an information transmission method and an information transmission apparatus. The method comprises the following steps: obtaining vehicle data parameters of a vehicle in a running state; coding vehicle data parameters to a first data bit in the vehicle parameter monitoring information, and coding related parameters of the vehicle parameter monitoring information to at least one second data bit in the vehicle parameter monitoring information to obtain vehicle parameter monitoring information to be sent; and sending the vehicle parameter monitoring information to be sent to a vehicle monitoring server.
The vehicle parameter monitoring information to be sent can be obtained by uniformly encoding the vehicle data parameters to the first data bit in the vehicle parameter monitoring information and uniformly encoding the related parameters of the vehicle parameter monitoring information to at least one second data bit in the vehicle parameter monitoring information. When the server obtains and decodes the vehicle parameter monitoring information sent by the vehicle information transmission terminal, the server can directly obtain corresponding information from the corresponding data bit without searching and matching a large number of corresponding information because the vehicle data parameters are all located in the first data bit and the related parameters are all located in at least one second data bit, so that the timeliness of obtaining the information is improved. Therefore, the invention solves the technical problem that the monitoring data volume is large and the timeliness cannot meet the requirement.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (6)

1. The information transmission method is characterized by being applied to a vehicle information transmission terminal, wherein the vehicle information transmission terminal is respectively connected with a vehicle to be acquired and a vehicle monitoring server; the method comprises the following steps:
obtaining vehicle data parameters of the vehicle with the data to be acquired in a running state;
coding the vehicle data parameters to a first data bit in vehicle parameter monitoring information, and coding related parameters of the vehicle parameter monitoring information to at least one second data bit in the vehicle parameter monitoring information to obtain vehicle parameter monitoring information to be sent;
sending the vehicle parameter monitoring information to be sent to the vehicle monitoring server;
after obtaining the vehicle parameter monitoring information to be sent and before sending the vehicle parameter monitoring information to be sent to the vehicle monitoring server, the method further includes:
judging whether login is initiated to the vehicle monitoring server and login is successful;
if not, generating a vehicle login request, and sending the vehicle login request to the vehicle monitoring server;
judging whether a login request confirmation returned by the vehicle monitoring server according to the vehicle login request is received within a preset time period after the vehicle login request is sent;
if yes, executing the following steps: the vehicle parameter monitoring information to be sent is sent to the vehicle monitoring server;
determining that the communication with the vehicle monitoring server is abnormal when the login request confirmation returned by the vehicle monitoring server is not received within the preset time period;
and locally storing the vehicle parameter monitoring information to be sent obtained in the preset time period.
2. The information transmission method according to claim 1, wherein the vehicle data parameter includes a plurality of vehicle state parameters, and the encoding the vehicle data parameter into the first data bit of the vehicle parameter monitoring information includes:
sequentially encoding the multiple vehicle state parameters in the vehicle data parameters to obtain the encoded multiple vehicle state parameters;
and writing the coded multiple vehicle state parameters into a first data bit in the vehicle parameter monitoring information in sequence according to the coding sequence.
3. The information transmission method according to claim 2, wherein the encoded plurality of vehicle state parameters include: the vehicle first part state parameter and the vehicle second part state parameter, and the vehicle first part state parameter comprises: the vehicle login state parameters and the time state parameters of the collected data when the vehicle monitoring server is logged in, wherein the vehicle second part state parameters comprise: the time state parameter, the speed state parameter of the vehicle to be acquired in the vehicle running state, the position state parameter, the working state parameter of the vehicle component and the environment identification parameter are obtained by correspondingly writing the encoded multiple vehicle state parameters into a first data bit in the vehicle parameter monitoring information in sequence according to the encoding sequence, and the method comprises the following steps:
writing said temporal status parameter in a first part of vehicle status parameters to a first field in said first data bit and said vehicle entry status parameter to a second field in said first data bit in an encoded order;
writing the temporal status parameter of the vehicle second portion status parameters to a third byte in the first data bit, the speed status information to a fourth byte in the first data bit, the location status parameter to a fifth byte in the first data bit, the operating status parameter of the vehicle component to a sixth byte in the first data bit, and the environment identification parameter to a seventh byte in the first data bit in an encoded order.
4. The information transmission device is characterized by being applied to a vehicle information transmission terminal, wherein the vehicle information transmission terminal is respectively connected with a vehicle to be acquired and a vehicle monitoring server; the device comprises:
the acquisition module is used for acquiring vehicle data parameters of the vehicle with the data to be acquired in a running state;
the encoding module is used for encoding the vehicle data parameters into a first data bit in vehicle parameter monitoring information and encoding related parameters of the vehicle parameter monitoring information into at least one second data bit in the vehicle parameter monitoring information to obtain vehicle parameter monitoring information to be sent;
the sending module is used for sending the vehicle parameter monitoring information to be sent to the vehicle monitoring server;
the information transmission apparatus further includes:
the judgment processing device is used for judging whether the information transmission device initiates login to the vehicle monitoring server and the login is successful;
if not, the information transmission device generates a vehicle login request and sends the vehicle login request to the vehicle monitoring server;
judging whether a login request confirmation returned by the vehicle monitoring server according to the vehicle login request is received within a preset time period after the information transmission device sends the vehicle login request;
if so, the sending module sends the vehicle parameter monitoring information to be sent to the vehicle monitoring server;
the judgment processing device is further configured to judge whether the information transmission device receives a login request acknowledgement returned by the vehicle monitoring server according to the vehicle login request within a preset time period after sending the vehicle login request, judge that the information transmission device does not receive the login request acknowledgement returned by the vehicle monitoring server within the preset time period, and determine that communication between the information transmission device and the vehicle monitoring server is abnormal; and the information transmission device locally stores the vehicle parameter monitoring information to be sent obtained in the preset time period.
5. The information transmission apparatus according to claim 4,
the encoding module is further configured to sequentially encode multiple vehicle state parameters in the vehicle data parameters to obtain encoded multiple vehicle state parameters, and then sequentially write the encoded multiple vehicle state parameters into a first data bit in the vehicle parameter monitoring information according to the encoding sequence.
6. The information transmission apparatus according to claim 5, wherein the encoded plurality of vehicle state parameters include: the vehicle first part state parameter and the vehicle second part state parameter, and the vehicle first part state parameter comprises: the vehicle login state parameters and the time state parameters of the collected data when the vehicle information transmission terminal logs in the vehicle monitoring server, wherein the vehicle second part state parameters comprise: the time state parameter, the speed state parameter and the position state parameter of the data to be acquired under the vehicle running state, the working state parameter of the vehicle component and the environment identification parameter;
the encoding module is further configured to write the time status parameter of the first part of the vehicle status parameters to a first byte in the first data bit and write the vehicle entry status parameter to a second byte in the first data bit in an encoded order; writing the temporal status parameter of the vehicle second portion status parameters to a third byte in the first data bit, the speed status information to a fourth byte in the first data bit, the location status parameter to a fifth byte in the first data bit, the operating status parameter of the vehicle component to a sixth byte in the first data bit, and the environment identification parameter to a seventh byte in the first data bit in an encoded order.
CN201811146608.XA 2018-09-29 2018-09-29 Information transmission method and information transmission device Active CN108995614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811146608.XA CN108995614B (en) 2018-09-29 2018-09-29 Information transmission method and information transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811146608.XA CN108995614B (en) 2018-09-29 2018-09-29 Information transmission method and information transmission device

Publications (2)

Publication Number Publication Date
CN108995614A CN108995614A (en) 2018-12-14
CN108995614B true CN108995614B (en) 2020-10-13

Family

ID=64589042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811146608.XA Active CN108995614B (en) 2018-09-29 2018-09-29 Information transmission method and information transmission device

Country Status (1)

Country Link
CN (1) CN108995614B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385340B (en) * 2018-12-29 2021-09-24 北京航迹科技有限公司 Data processing method and system
CN110796763A (en) * 2019-09-24 2020-02-14 北京汽车集团有限公司 Vehicle state data processing method, device and system
CN113542333B (en) * 2020-04-22 2023-12-29 广州汽车集团股份有限公司 Method for monitoring vehicle signals
CN111775864B (en) * 2020-06-28 2021-10-12 广州橙行智动汽车科技有限公司 Remote debugging method and system and vehicle
CN113347756A (en) * 2021-06-23 2021-09-03 上海电科智能系统股份有限公司 Vehicle semaphore system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001295325A1 (en) * 2000-10-13 2002-04-22 Paxgrid Telemetric Systems Inc. Automotive telemetry protocol
PL2929740T3 (en) * 2012-12-07 2018-01-31 Nokia Technologies Oy Handling packet data units
CN104954374B (en) * 2015-06-15 2018-11-20 上海网车科技有限公司 A kind of design method of car networking communication protocol
CN108076121A (en) * 2016-11-17 2018-05-25 中兴通讯股份有限公司 A kind of car-mounted terminal, terminal, information of vehicles is sent and acquisition method
CN106603565A (en) * 2016-12-30 2017-04-26 上海浦东软件园汇智软件发展有限公司 Data transmission and display method and equipment thereof
CN107426198A (en) * 2017-07-05 2017-12-01 北京辰安信息科技有限公司 A kind of method and system of communication

Also Published As

Publication number Publication date
CN108995614A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN108995614B (en) Information transmission method and information transmission device
US20190012488A1 (en) Method, apparatus and device for storing vehicle travelling data
US20180074202A1 (en) Data acquisition method and apparatus for driverless vehicle
JP7286327B2 (en) Information processing device and information processing method
CN109741482B (en) Information sharing method and device
JP7209592B2 (en) Intelligent driving vehicle data transmission method, apparatus and device
WO2022078353A1 (en) Vehicle driving state determination method and apparatus, and computer device and storage medium
CN109895815B (en) Train operation data acquisition method and system
CN111694828A (en) Data processing method, device, system and storage medium
JP7286326B2 (en) Information processing device and information processing method
CN111161448B (en) Data storage method, data verification method, device, equipment and storage medium
CN114095521A (en) Storage method, device, equipment and storage medium of remote sensing data
CN114550342B (en) Unmanned vehicle accident responsibility judgment method and device based on black box and electronic equipment
CN110913038A (en) IP address determination method, device, server and computer readable storage medium
CN113985854B (en) Data processing method and device and electronic equipment
CN113824724B (en) Method and device for judging tampered sensor data of intelligent substation and storage medium
CN110784742B (en) Method and system for preventing historical video playback data from being tampered
CN112003867B (en) Communication method of vehicle-mounted T-BOX and cloud server and related equipment
CN111798591B (en) Method and device for determining total mileage of vehicle, computer equipment and storage medium
CN112804288A (en) Vehicle-end data processing method and device, electronic equipment and computer storage medium
CN115810227B (en) Method and system for rapidly identifying abnormality of vehicle-mounted equipment
CN111542028B (en) Identity verification method, device, storage medium, mobile terminal and server
CN109640054A (en) A kind of non power driven vehicle based on block chain technology occupies the monitoring method of fast traffic lane
CN117061588B (en) Device access method, electronic device, and computer-readable storage medium
CN109960922B (en) Method and device for identifying newly activated equipment

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