CN109525363B - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN109525363B
CN109525363B CN201811150944.1A CN201811150944A CN109525363B CN 109525363 B CN109525363 B CN 109525363B CN 201811150944 A CN201811150944 A CN 201811150944A CN 109525363 B CN109525363 B CN 109525363B
Authority
CN
China
Prior art keywords
data
transmission
message
vehicle
bit
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
CN201811150944.1A
Other languages
Chinese (zh)
Other versions
CN109525363A (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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201811150944.1A priority Critical patent/CN109525363B/en
Publication of CN109525363A publication Critical patent/CN109525363A/en
Application granted granted Critical
Publication of CN109525363B publication Critical patent/CN109525363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • H04L1/001Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding applied to control information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0094Bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Quality & Reliability (AREA)

Abstract

The application discloses a data transmission method and device, which are applied to a controller, wherein the controller is respectively in communication connection with vehicle-mounted equipment and an automobile bus, and is used for controlling data transmission between the vehicle-mounted equipment and the automobile bus, and the method comprises the following steps: acquiring communication data sent by a sender; coding and decoding the communication data according to the structure of the data received by a receiver corresponding to the communication data in the transmission process; and transmitting the data after the coding and decoding processing to the receiving party. Therefore, data transmission between the automobile bus and the vehicle-mounted equipment can be realized without additionally modifying programs and the like in the vehicle-mounted equipment, and the efficiency of data transmission is greatly improved.

Description

Data transmission method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
Background
Vehicle-mounted equipment in the automobile, such as a fuel control system, a transmission control system, a fuel injection system and the like, controls corresponding vehicle-mounted equipment according to messages transmitted on an automobile bus during operation. Because the data type processed by the vehicle-mounted device in the processing process is byte data, and the message transmitted on the vehicle bus comprises the effective data required by the vehicle-mounted device, and also comprises the response message specified by the transmission protocol, the bus transmission domain and other messages, the vehicle-mounted device cannot directly identify and process the message on the vehicle bus when in work. In the prior art, in order to enable the vehicle-mounted device to recognize and process the message transmitted on the vehicle bus, a program on the vehicle-mounted device needs to be modified according to the structure of the vehicle-mounted device and the communication protocol on the vehicle bus, so that the vehicle-mounted device can recognize and process the message corresponding to the communication protocol. The vehicle-mounted device needs to be updated and upgraded continuously due to reasons such as optimization, and in order to enable the vehicle-mounted device to process messages, a program in the vehicle-mounted device needs to be reprogrammed, so that the programming and debugging of the vehicle-mounted device need to be performed repeatedly, on one hand, the performance of the vehicle-mounted device is reduced due to repeated modification of the program in the vehicle-mounted device, and on the other hand, the working time of the vehicle-mounted device, which is greatly occupied by repeated modification and debugging of the program of the vehicle-mounted device, is shortened.
From the above, how to realize the data transmission between the vehicle bus and the vehicle-mounted device without additional modification of the vehicle-mounted device is still to be solved.
Disclosure of Invention
In order to solve the problems in the related art, the application provides a data transmission method and a data transmission device.
A first aspect of an embodiment of the present application provides a data transmission method, where the method is applied to a controller, where the controller establishes communication connections with an onboard device and an automobile bus, respectively, and is used to control data transmission between the onboard device and the automobile bus, and the method includes:
acquiring communication data sent by a sender;
coding and decoding the communication data according to the structure of the data received by a receiver corresponding to the communication data in the transmission process;
and transmitting the data after the coding and decoding processing to the receiving party.
With reference to the first aspect, in a first possible implementation, the communication data includes byte data output by the vehicle-mounted device, the communication data is the byte data output by the vehicle-mounted device, the data received by the vehicle bus is a packet of a specified protocol, and the encoding and decoding processing of the communication data is performed according to a structure of data received by a receiver corresponding to the communication data in a transmission process, and includes:
decoding the byte data to obtain bit type data corresponding to the byte type data;
generating a message containing the bit type data according to the structure of the message received by the automobile bus in the transmission process;
the transmitting the data after the encoding and decoding processing to the receiving party includes:
and transmitting the message containing the bit type data to the automobile bus.
With reference to the first aspect, in a second possible implementation, before the transmitting the message including the bit pattern data to the automobile bus, the method further includes:
generating a check code according to the byte data;
and adding the check code into the message according to the structure of the message.
With reference to the first aspect, in a third possible implementation, before the obtaining communication data is stored in a sending data buffer, and performing encoding and decoding processing on the communication data according to a structure of data received by a receiving side to which the communication data corresponds in a transmission process, the method further includes:
and according to the data length of the bit pattern data transmitted by each frame of the message, extracting byte pattern data corresponding to the bit pattern data with the data length from the sending data buffer.
With reference to the first aspect, in a fourth possible implementation, the processing, performed by the communication data according to a structure of data received by a receiver corresponding to the communication data in a transmission process, of the communication data including a packet output by the automobile bus includes:
extracting bit type effective transmission data in the message according to the structure of the message;
decoding the bit type effective transmission data to obtain byte type transmission data corresponding to the bit type effective transmission data;
the transmitting the data after the encoding and decoding processing to the receiving party includes:
and transmitting the decoded byte type transmission data to the vehicle-mounted equipment.
With reference to the first aspect, in a fifth possible implementation, before the decoding the bit-type effective transmission data to obtain byte-type transmission data corresponding to the bit-type effective transmission data, the method further includes:
extracting a check code in the message according to the structure of the message;
checking the bit type effective transmission data according to the extracted check code;
if the transmission error of the bit type effective transmission data is checked, extracting the bit type effective transmission data in the next frame of message; and if the transmission of the bit type effective transmission data is verified to be accurate, decoding the bit type effective transmission data to obtain byte type transmission data corresponding to the bit type effective transmission data.
With reference to the first aspect, in a sixth possible implementation, the method further includes:
monitoring the state of the transmission on the automobile bus;
and if the automobile bus is monitored to be in a busy transmission state, adjusting the rate of acquiring the messages from the automobile bus or the rate of transmitting the messages to the automobile bus.
A second aspect of the embodiments of the present application provides a data transmission device, which is applied to a controller, where the controller establishes communication connection with an onboard device and an automobile bus, respectively, and is used to control transmission of data between the onboard device and the automobile bus, and the device includes:
an acquisition module for acquiring the transmitted communication data;
the processing module is used for carrying out coding and decoding processing on the communication data according to the structure of the data received by the receiver corresponding to the communication data in the transmission process;
and the transmission module is used for transmitting the data after the coding and decoding processing to the receiving party.
In one possible implementation, the communication data includes byte data output by the vehicle-mounted device, the data received by the vehicle bus is a message of a specified protocol, and the processing module includes:
and the decoding unit is used for decoding the byte data to obtain the bit type data corresponding to the byte type data.
And the message generating unit is used for generating a message containing bit type data according to the structure of the message received by the automobile bus in the transmission process.
A transmission module comprising:
and the message transmission unit is used for transmitting the message containing the bit type data to the automobile bus.
In one possible implementation, the data transmission apparatus further includes:
and the check code generating unit is used for generating the check code according to the byte data.
And the check code adding unit is used for adding the check code into the message according to the structure of the message.
In one possible implementation, the communication data acquired by the acquiring module is stored in a sending data buffer, and the data transmission apparatus further includes:
and the extraction module is used for extracting byte type data corresponding to the bit type data with the data length from the sending data buffer according to the data length of the bit type data transmitted by each frame of message before the processing module executes corresponding action.
In one possible implementation, the communication data includes messages output by an automobile bus, and the processing module includes:
and the extraction unit is used for extracting the bit type effective transmission data in the message according to the structure of the message.
And the decoding unit is used for decoding the bit type effective transmission data to obtain byte type transmission data corresponding to the bit type effective transmission data.
A transmission module comprising:
and the byte type transmission data transmission unit is used for transmitting the decoded byte type transmission data to the vehicle-mounted equipment.
In a possible implementation, the data transmission apparatus further includes a unit configured to perform a corresponding operation before the decoding unit performs the corresponding operation, wherein:
and the check code extracting unit is used for extracting the check code in the message according to the structure of the message.
And the checking unit is used for checking the bit type effective transmission data according to the extracted checking code.
The first processing unit is used for extracting the bit type effective transmission data in the next frame of message if the check unit checks that the bit type effective transmission data is sent wrongly; and
and the second processing unit is used for decoding the bit-type effective transmission data to obtain byte-type transmission data corresponding to the bit-type effective transmission data if the check unit checks that the bit-type effective transmission data is accurately sent.
In one possible implementation, the data transmission apparatus further includes:
and the state monitoring module is used for monitoring the state of the transmission on the automobile bus.
And the rate adjusting module is used for adjusting the rate of acquiring the messages from the automobile bus or the rate of transmitting the messages to the automobile bus if the automobile bus is monitored to be in a busy transmission state.
A data transmission device is applied to a controller, the controller is respectively in communication connection with vehicle-mounted equipment and a vehicle bus and is used for controlling data transmission between the vehicle-mounted equipment and the vehicle bus, and the device comprises:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement a data transfer method as in any one of the above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the data transmission method of any one of the preceding claims.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the method comprises the steps of encoding and decoding communication data transmitted between the vehicle-mounted equipment and the vehicle bus, namely decoding a message output by the vehicle bus into byte transmission data which can be processed by the vehicle-mounted equipment, encoding the byte data output by the vehicle-mounted equipment into bit type data, and generating the message meeting the requirements of a communication protocol on the vehicle bus according to the bit type data. Therefore, the vehicle-mounted equipment can directly receive and decode the byte transmission data to process, the vehicle bus can directly receive the generated message, additional modification on the vehicle-mounted equipment is not needed, data transmission between the vehicle-mounted equipment and the vehicle bus is realized, and the efficiency of data transmission is greatly improved.
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 invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic illustration of an implementation environment according to the present application;
FIG. 2 is a block diagram illustrating a controller in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of data transmission according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of data transmission according to another exemplary embodiment;
FIG. 5 is a flowchart of steps prior to step S250 of the corresponding embodiment of FIG. 4;
FIG. 6 is a flow chart illustrating a method of data transmission according to another exemplary embodiment;
FIG. 7 is a flowchart of steps prior to step S332 of the corresponding embodiment of FIG. 6;
FIG. 8 is a flow chart illustrating a method of data transmission according to another exemplary embodiment;
FIG. 9 is a block diagram illustrating a data transmission apparatus according to an example embodiment;
FIG. 10 is a schematic diagram of a bus message structure of the J1850 protocol;
FIG. 11 is a block diagram illustrating a data transmission apparatus according to another exemplary embodiment;
fig. 12 is a state switching diagram of a finite state machine, shown in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1 is a schematic illustration of an implementation environment according to the present application. This application is applicable to car terminal, includes in this car terminal: a transmitting side 100, a receiving side 300, and a controller 200 that performs data transmission control of the transmitting side and the receiving side. In the technical scheme of the application, the sender and the receiver are correspondingly adjusted according to different data transmission directions. When the vehicle-mounted device transmits communication data to the vehicle bus, the sender 100 is the vehicle-mounted device, and the receiver 300 is the vehicle bus; when the vehicle bus transmits data to the vehicle-mounted device, the sender 100 is the vehicle bus, and the receiver 300 is the vehicle-mounted device. For data transmission between the vehicle bus and the vehicle-mounted device, the vehicle-mounted device may be one or more devices, and is not particularly limited herein.
In a specific embodiment, the sender communicates with the controller, and the controller communicates with the receiver through a data interface; in other embodiments, the two parties may also communicate through the wireless communication module thereon, which is not limited in detail herein.
Fig. 2 is a block diagram illustrating a controller 200 according to an exemplary embodiment. The controller 200 may be used in the implementation environment of fig. 1 for controlling data transmission between a sender and a receiver. The controller 200 may be a separate chip or an electronic device with data processing capability, such as a single chip. It should be noted that the controller 200 is only an example adapted to the present invention, and should not be considered as providing any limitation to the scope of the present invention. The controller 200 also cannot be construed as requiring reliance on, or necessity of, one or more components of the exemplary controller 200 shown in fig. 2.
The hardware structure of the controller 200 may be greatly different due to different configurations or performances, as shown in fig. 3, the controller 200 includes: a power supply 210, an interface 230, at least one memory 250, and at least one processor (CPU) 270.
The power supply 210 is used to provide operating voltage for each hardware device on the controller 200.
The interface 230 includes at least one wired or wireless network interface 231, at least one serial-to-parallel conversion interface 233, at least one input/output interface 235, at least one USB interface 237, and the like, for communicating with external devices, such as data transmission with a processor and data transmission with a vehicle bus.
The storage 250 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon include an operating system 251, a program 253 or data 255, etc., and the storage manner may be a transient storage or a permanent storage. The operating system 251 is used to manage and control each hardware device and program 253 on the controller 200, so as to realize the calculation and processing of the mass data 255 by the processor 270, which may be Windows server, Mac OS XTM, UnixTM, linux, FreeBSDTM, FreeRTOS, and the like. The program 253 is a computer program that performs at least one specific task on the operating system 251, and may include at least one module (not shown in fig. 2), each of which may contain a series of computer readable instructions for the controller 200. The data 255 may be pictures stored in a disk, etc.
The processor 270 may include one or more processors and is configured to communicate with the memory 250 via a bus for computing and processing the mass data 255 in the memory 250.
As described in detail above, a controller 200 to which the present invention is applicable will accomplish the data transfer method by the processor 270 reading a series of computer readable instructions stored in the memory 250.
Furthermore, the present invention can be implemented by hardware circuitry or by a combination of hardware circuitry and software instructions, and thus, implementation of the present invention is not limited to any specific hardware circuitry, software, or combination of both.
Fig. 3 is a flowchart illustrating a data transmission method according to an exemplary embodiment, which is applied to a controller that establishes communication connections with an in-vehicle device and a vehicle bus respectively and is used for controlling data transmission between the in-vehicle device and the vehicle bus. As shown in fig. 3, the data transmission method, which may be executed by the controller 200 in the implementation environment of fig. 1, may include the following steps:
step S110, communication data sent by the sender is acquired.
Step S130, according to the structure of the data received by the receiver corresponding to the communication data in the transmission process, the communication data is coded and decoded.
Step S150, transmitting the coded and decoded data to the receiving side.
In the automobile terminal, each subsystem works in cooperation to realize normal operation of the automobile, wherein each subsystem is an on-board device in the automobile, and the on-board device can be a fuel control system, a transmission control system, a fuel injection system, an anti-lock brake system (ABS), an anti-slip control system (ASR), an exhaust gas recirculation system and other subsystems, which are not particularly limited herein.
For different data transmission directions, a sender and a receiver corresponding to communication data are different. In the technical scheme of the application, if the data transmission is carried out from the vehicle-mounted equipment to the vehicle bus, the vehicle-mounted equipment is a sender of communication data correspondingly, and the vehicle bus is a receiver of the communication data; if the data transmission is carried out by the automobile bus to the vehicle-mounted equipment, correspondingly, the automobile bus is a sender of the communication data, and the vehicle-mounted equipment is a receiver of the communication data.
For different recipients, the recipients are limited by the communication protocol or hardware conditions, with corresponding requirements on the structure of the received data. The data received by the vehicle-mounted device or the data output from the vehicle-mounted device are byte type data, and the data received by the vehicle bus or the data sent out from the vehicle bus are messages conforming to a communication protocol on the vehicle bus, such as messages of a J1850 protocol.
The method comprises the steps of carrying out coding and decoding processing on communication data transmitted by a sender and a receiver, converting the communication data transmitted by the sender into data in a data structure (namely coding and decoding processing) form which can be received by the receiver, namely decoding a message output by an automobile bus into byte type transmission data which can be directly processed by vehicle-mounted equipment, coding the byte type data output by the vehicle-mounted equipment into bit type data, and generating the message meeting the requirement of a communication protocol on the automobile bus according to the bit type data. Therefore, the vehicle-mounted equipment can directly receive and process the byte transmission data obtained by decoding, the vehicle bus can directly receive the generated message without additional modification on the vehicle-mounted equipment, the data transmission between the processor and the vehicle bus is realized, and the data transmission efficiency is greatly improved.
The coding and decoding processes performed on the communication data by the controller are different for different data structures in which the receiver can receive the data. The following discusses the data transmission method of the present application in detail for the receiver as the vehicle-mounted device and the receiver as the vehicle bus, respectively.
Firstly, communication data are transmitted from the vehicle-mounted equipment to the automobile bus:
in an exemplary embodiment, as shown in fig. 4, the communication data includes byte type data output by the vehicle-mounted device, and the data received by the vehicle bus is a message of a specified protocol, then in step S110, the obtained communication data is the byte type data output by the vehicle-mounted device.
In this embodiment, step S130 includes:
in step S231, the byte data is decoded to obtain bit data corresponding to the byte data.
Step S232, according to the structure of the message received by the automobile bus in the transmission process, a message containing the bit type data is generated.
Fig. 10 shows a schematic diagram of a structure of a message based on the J1850 protocol, in which data transmitted in the message is located in a data field, so that after decoding to obtain bit pattern data, the bit pattern data is added to the data field of the message. After the bit pattern data is transmitted to the other party by means of a message via the vehicle bus, the other party extracts the data in the data field of the message according to the message structure specified by the J1850 protocol.
In this embodiment, step S150 includes: step S250, transmitting a message containing the bit type data to the vehicle bus.
In an exemplary embodiment, step S250 further includes:
and transmitting and monitoring the message transmitted to the automobile bus.
And if the message transmission error is monitored, stopping the transmission of the message and retransmitting the message.
The message transmission error may be a message sending error at a certain position in the message, for example, the information sending error of the normalized bit and the intra-frame response field in fig. 10, which is not limited in this respect.
In a specific embodiment, transmission monitoring is performed in combination with a message sending clock signal generated by a protocol finite state machine and a clock sender. And if the change of the state corresponding to the protocol finite state machine does not correspond to the message sent by the message sending clock, the message is considered to be a message transmission error. And if the message transmission error is detected, immediately stopping the transmission of the message and restarting to transmit the message.
By carrying out transmission monitoring on the transmission process of the message, the method ensures that a party receiving the message can accurately receive the message.
In an exemplary embodiment, as shown in fig. 5, before step S250, the method further includes:
step S241 generates a check code according to the byte data.
Step S242, add the verification code to the message according to the structure of the message.
The check code is used for judging whether the extracted bit type data is consistent with the transmitted byte type data or not according to the check code after one side extracting the bit type data in the message extracts the bit type data, and if so, the check code further processes according to the extracted bit type data, thereby ensuring the accuracy and the effectiveness of data transmission.
In a specific embodiment, the check code is different according to a different algorithm of the check code, where the algorithm of the check code may be a code distance, a parity check, a hamming check, a cyclic redundancy check, and the like, and is not limited specifically herein. In the protocol J1850, a Cyclic Redundancy Check (CRC) code is calculated by a Cyclic Redundancy algorithm and used for checking the bit-type data.
The position of the check code in the message is also different based on different communication protocols. As shown in the message structure of the J1850 protocol in fig. 10, if the check bits are located in adjacent bits of the data field, the generated CRC check code is added to the corresponding position in the message. Therefore, when the message containing the bit type data is sent to the automobile bus, the check code added to the message is also sent at the same time.
In an exemplary embodiment, the step of storing the acquired communication data (i.e. the byte type data byte type output from the in-vehicle device) in the transmission data buffer further includes, before executing step S231 and step S232:
according to the data length of the bit pattern data transmitted by each frame message, byte pattern data corresponding to the bit pattern data of the data length is extracted from the transmission data buffer.
In the vehicle bus, the messages are sent in frames, and the data length of the bit pattern data transmitted in each frame of message is determined by the data field of the message. The obtained communication data, namely byte type data, is temporarily stored through the sending data buffer, so that the byte type data with the corresponding data length is extracted from the sending data buffer according to the length of the bit type data transmitted by each frame of message. Therefore, real-time information exchange between the vehicle-mounted equipment and the controller is not needed, multi-byte data can be put into the sending data buffer at one time, and when the sending data buffer is empty or the byte type data in the sending data buffer does not meet the data length of one frame of message sending, the obtained byte type data is stored into the sending data buffer. The time overhead and the management burden of the vehicle-mounted equipment are reduced, and the data processing efficiency of the vehicle-mounted equipment is improved.
Secondly, transmitting communication data from the automobile bus to the vehicle-mounted equipment
In this process, the communication data is a message output by the vehicle bus, that is, the sender is the vehicle bus, and the receiver is the vehicle-mounted device, in this embodiment, as shown in fig. 6, step S110 is step S310: acquiring a message output by an automobile bus, wherein step S130 corresponding to fig. 1 includes:
step S331, extracting the bit type effective transmission data in the message according to the structure of the message.
The bit-type efficient transmission data is data in the data field of the above-mentioned message.
Step S332, decoding the bit-type effective transmission data to obtain byte-type transmission data corresponding to the bit-type effective transmission data.
Accordingly, step S150 in fig. 1 is step S350: and transmitting the decoded byte type transmission data to the vehicle-mounted equipment.
In an exemplary embodiment, step S350 includes:
and filtering the decoded byte transmission data.
And storing the filtered byte-type data in a receive data buffer.
And correspondingly extracting the filtered byte type transmission data with the corresponding data length from the received data buffer according to the length of the data which can be received by the vehicle-mounted equipment, and transmitting the byte type transmission data to the vehicle-mounted equipment.
The length of the data that can be received by the vehicle-mounted device is the length of the data that can be received by the vehicle-mounted device each time, wherein the length is limited by the operation speed of the vehicle-mounted device, and is limited by the external interface of the vehicle-mounted device in terms of physical hardware. By arranging the received data buffer, real-time information exchange between the vehicle-mounted equipment and the controller is not needed, and the time overhead and the management burden of the vehicle-mounted equipment are reduced.
In an exemplary embodiment, as shown in fig. 7, before step S332, the method further includes:
step S321, extracting the check code in the message according to the structure of the message.
Namely, the check code is extracted from the corresponding position according to the position of the check code in the message.
In a specific embodiment, various information in a message is extracted in sequence by combining a clock signal generated by a clock transmitter through a protocol finite state machine, wherein when the information in the message is extracted, the protocol finite state machine is changed when one information in the message is extracted, the adjacent information in the message is extracted according to the clock signal generated by the clock generator, and after the information is extracted, the state of the protocol finite state machine is changed again. Wherein the extracted information is, for example, the bit pattern in the message effectively transmits data, check codes, etc.
The clock signals generated by the protocol finite state machine and the clock generator ensure the accurate extraction of various information in the message and improve the accuracy of information extraction.
Step S322, according to the extracted check code, checking the bit type effective transmission data.
And checking the bit type effective data by generating an algorithm corresponding to the check code. For example, if the cyclic redundancy check code is generated by the cyclic redundancy check algorithm as mentioned above, the check of the bit-type-available transmission data is performed according to the corresponding cyclic redundancy check algorithm in combination with the extracted check code and the bit-type-available transmission data.
If the transmission error of the bit-type valid transmission data is checked, step S323 is executed to extract the bit-type valid transmission data in the next frame of message.
That is, when the transmission error of the bit-type effective transmission data in the message is obtained by checking, the bit-type effective transmission data in the next frame of message is extracted without further decoding processing on the bit-type effective transmission data but neglecting the bit-type effective transmission data in the frame of message.
If the check bit type valid transmission data is accurately transmitted, step S332 is performed.
In an exemplary embodiment, as shown in fig. 7, before sending a message to the car bus or receiving a message output by the car bus, the method further includes:
and step S010, performing state monitoring on transmission on the automobile bus.
And step S020, if the automobile bus is monitored to be in a busy transmission state, adjusting the rate of acquiring the message from the automobile bus or the rate of transmitting the message to the automobile bus.
The busy transmission state in the automobile bus can be determined through idle transmission channels in the automobile bus, for example, if no idle transmission channels exist in the automobile bus or the number of the idle transmission channels is less than a set value, the automobile bus is considered to be in the busy transmission state.
Before sending a message containing bit type data to an automobile bus, if the automobile bus is monitored to be in a busy transmission state, the rate of sending the message is reduced, for example, the sending of the message is delayed or the interval time of sending adjacent frame messages is increased.
Before the message is acquired from the automobile bus, if the automobile bus is monitored to be in a busy transmission state, the message acquisition rate is increased.
By adjusting the rate of sending data or acquiring/sending messages according to the transmission state of the automobile bus, message transmission errors and the like caused by congestion of message transmission on the automobile bus can be avoided.
The following is an embodiment of the apparatus of the present application, which can be used to execute the embodiment of the data transmission method executed by the controller 200 of the present application. For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the data transmission method of the present application.
The data transmission method of the present application will be further described with reference to the state diagram of the protocol finite machine shown in fig. 11 and the state diagram of the protocol finite machine shown in fig. 12, and the data transmission device can be applied to the controller 200 for executing all or part of the steps in the above data transmission method.
In this embodiment, the message transmission is performed according to the J1850 protocol on the automobile bus, where the message structure of the J1850 protocol is shown in fig. 10:
the message structure of the J1850 protocol includes:
an Idle Bus (Idle Bus), a Start of Frame (SOF), a Data field (Data bytes, wherein the Data length of the Data field is 8bits), a Detection Byte field (also called CRC Error Detection Byte field), an End of Data field (End of Data), a Normalization Bit (10.4Kbps only), NB), an intra-Frame Response field (In-Frame Response), an End of Frame field (End of Frame, EOF), an Inter-Frame Separation, IFS, an Idle Bus (outer Frame of SOF after IFS))
As shown in fig. 11, the structure of the data transmission device for performing data interaction with the in-vehicle device and the vehicle bus includes: the system comprises an SPI interface used for communicating with the vehicle-mounted equipment. The sender is used for transmitting a message obtained by coding the byte data output by the vehicle-mounted equipment to the vehicle bus, and the receiver is used for acquiring the message output by the vehicle bus. The working principle of each part in the data transmission device is discussed respectively aiming at the processes that the vehicle-mounted equipment transmits communication data to the vehicle bus and the vehicle bus transmits the communication data to the vehicle-mounted equipment.
The vehicle-mounted equipment transmits communication data to the automobile bus:
the byte data output by the vehicle-mounted equipment enters the sending data buffer through the SPI interface of the data transmission device, the message queue controller controls the sending byte sequence generator to send the byte data with the corresponding data length according to the data length of the bit data transmitted by each frame of message, for example, the above mentioned byte data with 8bits is transmitted in each frame, wherein 1byte is 8bits, and then the message queue controller controls the sending byte sequence generator to extract the byte data with 1byte each time and transmit the byte data to the next unit/module. Each time the extracted byte pattern is CRC checked (i.e., CRC <7:0>) a CRC check code is generated and placed in the temporary receiver, after which the CRC check code is transferred to the TX shift register via the protocol finite state machine and bit timing logic. Under the control of a protocol finite state machine, the byte type data extracted each time is placed in a TX shift register after being encoded into bit type data. Finally, the bit sequential logic controls the TX shift register to generate a message containing bit pattern data and a CRC check code according to the message structure shown in fig. 10 in combination with the signal output by the protocol finite state machine and the transmission clock signal generated by the clock transmitter, and transmits the message to the vehicle bus through the transmitter. In fig. 11, transmission <7:0> is 8-bit byte data output from the transmission byte sequencer, and similarly, reception <7:0> is 8-bit byte data output from the RX shift register.
In the general process of generating messages by a TX shift register and transmitting the messages to an automobile through a transmitter, a protocol finite state machine monitors the state of transmission of each message in the messages and changes the state correspondingly according to the transmission of each message. As shown in fig. 12, in this process, at the start of message transmission, the protocol finite state machine changes to the S1 state, so that at the start of bit pattern data transmission according to the transmission clock signal, the protocol finite state machine changes to the S2 state (transmission data); after the transmission of the bit type data is finished, the CRC check code is further transmitted, the protocol finite state machine is changed to the state of S3, and then the protocol finite state machine is sequentially changed among the states of S4, S5, S6 and the like according to the transmission sequence of each message in the message. Similar to the process of sending the message to the vehicle bus, when the message transmitted from the vehicle bus by the receiver is received, and in the process of extracting each information in the message, the state of the protocol finite state machine is also changed correspondingly to the message sending process, and details are not repeated below.
Further, before the generated message is transmitted to the automobile bus, the transmission state on the automobile bus is monitored through bit sequential logic, and if the automobile bus is monitored to be in a busy transmission state, the transmission rate of the message to the automobile bus is adjusted through a configuration register and a clock transmitter. When the message transmitted by the vehicle bus is acquired from the vehicle bus, the bit timing logic also has corresponding transmission state monitoring, which is not described in detail below.
Wherein, in the process of transmitting communication data to the vehicle-mounted equipment by the automobile bus:
after the receiver receives the message output by the automobile bus, the bit sequence logic extracts all information in the message by combining with a clock signal generated by a protocol finite state machine and a clock transmitter, wherein the extracted information comprises bit type effective transmission data in the message and a CRC check code. And then, checking whether the bit type effective insertion loss data is sent wrongly or not according to the extracted bit type effective transmission data and the CRC check code under the control of a protocol finite state machine, and if the bit type effective transmission data is sent accurately, decoding the bit type effective transmission data to obtain byte type transmission data corresponding to the bit type effective transmission data. And the byte type transmission data obtained by decoding is placed in a receiving filter, the byte type transmission data in the receiving filter is filtered through a filtering setting register, the filtered byte type transmission data is placed in a receiving data buffer, and the byte type transmission data in the receiving data buffer is transmitted to the vehicle-mounted equipment for processing through an SPI interface of the data transmission device.
In a specific embodiment, the data transmission device is realized by a Field Programmable Gate Array (FPGA) and a hardware description language (VHDL), and has a parallel processing function, so that the data transmission device can perform high-speed coding and decoding processing in the data transmission process of an automobile bus and vehicle-mounted equipment. Meanwhile, the vehicle-mounted equipment is communicated with the vehicle-mounted equipment through the SPI interface, hardware and software of the vehicle-mounted equipment need to be updated due to optimization and upgrading in the using process of the vehicle-mounted equipment, the vehicle-mounted equipment is communicated by being connected with the vehicle-mounted equipment through the marked SPI interface, the hardware and software of the transmission control device cannot be influenced by updating of the vehicle-mounted equipment, and therefore the universality of the data transmission device is high.
Fig. 9 is a block diagram illustrating a data transfer device according to an exemplary embodiment, which may be used in a controller of the implementation environment shown in fig. 1 to perform all or some of the steps in the above data transfer method embodiments. The device is used for being applied to a controller, the controller is respectively in communication connection with the vehicle-mounted equipment and the automobile bus, and the controller is used for controlling data transmission between the vehicle-mounted equipment and the automobile bus. In a specific embodiment, the data transmission device and the vehicle-mounted device establish a communication connection through an interface, such as an SPI interface. As shown in fig. 9, the apparatus includes, but is not limited to: an obtaining module 110, a processing module 130, and a transmitting module 150, wherein:
and an obtaining module 110, which is used for obtaining the transmitted communication data by the vehicle-mounted equipment.
And a processing module 130, connected to the obtaining module 110, for performing encoding and decoding processing on the communication data according to the structure of the data received by the receiver corresponding to the communication data in the transmission process.
And a transmission module 150, connected to the processing module 130, for transmitting the data after the codec processing to the receiving side.
In an exemplary embodiment, the communication data includes byte data output by the vehicle-mounted device, the data received by the vehicle bus is a message of a specified protocol, and the processing module 130 includes:
and the decoding unit is used for decoding the byte data to obtain the bit type data corresponding to the byte type data.
And the message generating unit is used for generating a message containing bit type data according to the structure of the message received by the automobile bus in the transmission process.
A transmission module 150 comprising:
and the message transmission unit is used for transmitting the message containing the bit type data to the automobile bus.
The detailed implementation process of the functions and actions of each module in the above device is shown in fig. 4 and the implementation process of the corresponding steps in the above data transmission method, which are not described herein again.
In an exemplary embodiment, the data transmission apparatus further includes:
and the check code generating unit is used for generating the check code according to the byte data.
And the check code adding unit is used for adding the check code into the message according to the structure of the message.
In an exemplary implementation, the communication data acquired by the acquiring module 110 is stored in a sending data buffer, and the data transmission apparatus further includes:
and the extraction module is used for extracting byte type data corresponding to the bit type data with the data length from the sending data buffer according to the data length of the bit type data transmitted by each frame of message before the processing module executes corresponding action.
In an exemplary embodiment, the communication data includes messages output by the vehicle bus, and the processing module 130 includes:
and the extraction unit is used for extracting the bit type effective transmission data in the message according to the structure of the message.
And the decoding unit is used for decoding the bit type effective transmission data to obtain byte type transmission data corresponding to the bit type effective transmission data.
A transmission module 150 comprising:
and the byte type transmission data transmission unit is used for transmitting the decoded byte type transmission data to the vehicle-mounted equipment.
In an exemplary embodiment, the data transmission apparatus further includes a unit for performing corresponding operations before the decoding unit performs the corresponding operations, wherein:
and the check code extracting unit is used for extracting the check code in the message according to the structure of the message.
And the checking unit is used for checking the bit type effective transmission data according to the extracted checking code.
The first processing unit is used for extracting the bit type effective transmission data in the next frame of message if the check unit checks that the bit type effective transmission data is sent wrongly; and
and the second processing unit is used for decoding the bit-type effective transmission data to obtain byte-type transmission data corresponding to the bit-type effective transmission data if the check unit checks that the bit-type effective transmission data is accurately sent.
In an exemplary embodiment, the data transmission apparatus further includes:
and the state monitoring module is used for monitoring the state of the transmission on the automobile bus.
And the rate adjusting module is used for adjusting the rate of acquiring the messages from the automobile bus or the rate of transmitting the messages to the automobile bus if the automobile bus is monitored to be in a busy transmission state.
The implementation process of the functions and actions of each module/unit in the above device is specifically described in the implementation process of the corresponding step in the above data transmission method, and is not described herein again.
It is understood that these modules may be implemented in hardware, software, or a combination of both. When implemented in hardware, these modules may be implemented as one or more hardware modules, such as one or more application specific integrated circuits. When implemented in software, the modules may be implemented as one or more computer programs executing on one or more processors, such as the programs stored in memory 253 executed by processor 270 of FIG. 2.
Optionally, the present application further provides a data transmission device, which is applied to a controller, where the controller establishes communication connection with an on-board device and an automobile bus respectively, and is used to control data transmission between the on-board device and the automobile bus, and the data transmission device may be used in the controller 200 in the implementation environment shown in fig. 1, and executes all or part of steps of any one of the data transmission methods shown in the above data transmission method embodiments. The device comprises:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement a method as any one of the above data transmission method implementations.
The specific manner in which the processor of the apparatus performs the operations in this embodiment has been described in detail in the embodiment related to the data transmission method, and will not be elaborated upon here.
In an exemplary embodiment, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above data transmission method embodiments. The computer readable storage medium includes, for example, the memory 250 of a program that is executable by the processor 270 of the controller 200 to perform the data transfer method described above.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (9)

1. A data transmission method is applied to a controller, the controller is respectively in communication connection with an on-board device and an automobile bus and is used for controlling data transmission between the on-board device and the automobile bus, and the method comprises the following steps:
acquiring communication data sent by a sender;
coding and decoding the communication data according to the structure of the data received by a receiver corresponding to the communication data in the transmission process;
transmitting the data after the coding and decoding processing to the receiving party;
wherein the communication data comprises byte type data output by the vehicle-mounted equipment; the encoding and decoding processing of the communication data according to the structure of the data received by the receiver corresponding to the communication data in the transmission process includes:
decoding the byte data to obtain bit type data corresponding to the byte type data;
generating a message containing the bit type data according to the structure of the message received by the automobile bus in the transmission process;
the transmitting the data after the encoding and decoding processing to the receiving party includes:
and transmitting the message containing the bit type data to the automobile bus.
2. The method of claim 1, wherein prior to transmitting the message including the bit pattern data to the vehicle bus, further comprising:
generating a check code according to the byte data;
and adding the check code into the message according to the structure of the message.
3. The method according to claim 1, wherein the acquired communication data is stored in a transmission data buffer, and before performing the communication data encoding and decoding processing according to a structure of data received by a receiver corresponding to the communication data in a transmission process, the method further comprises:
and according to the data length of the bit pattern data transmitted by each frame of the message, extracting byte pattern data corresponding to the bit pattern data with the data length from the sending data buffer.
4. The method according to claim 1, wherein the communication data further includes a message output by the vehicle bus, and the encoding and decoding processing of the communication data is performed according to a structure of data received by a receiver corresponding to the communication data in a transmission process, further comprising:
extracting bit type effective transmission data in the message output by the automobile bus according to the structure of the message output by the automobile bus;
decoding the bit type effective transmission data to obtain byte type transmission data corresponding to the bit type effective transmission data;
the transmitting the data after the encoding and decoding processing to the receiving side further includes:
and transmitting the decoded byte type transmission data to the vehicle-mounted equipment.
5. The method according to claim 4, wherein before the decoding the bit-type valid transmission data to obtain the byte-type transmission data corresponding to the bit-type valid transmission data, further comprising:
extracting a check code in the message output by the automobile bus according to the structure of the message output by the automobile bus;
checking the bit type effective transmission data according to the extracted check code;
if the transmission error of the bit type effective transmission data is checked, extracting the bit type effective transmission data in the next frame of message; and if the transmission of the bit type effective transmission data is verified to be accurate, decoding the bit type effective transmission data to obtain byte type transmission data corresponding to the bit type effective transmission data.
6. The method of claim 1, further comprising:
monitoring the state of the transmission on the automobile bus;
and if the automobile bus is monitored to be in a busy transmission state, adjusting the rate of acquiring the messages from the automobile bus or the rate of transmitting the messages to the automobile bus.
7. A data transmission device is applied to a controller, the controller is respectively in communication connection with vehicle-mounted equipment and a vehicle bus and is used for controlling data transmission between the vehicle-mounted equipment and the vehicle bus, and the device comprises:
an acquisition module for acquiring the transmitted communication data;
the processing module is used for carrying out coding and decoding processing on the communication data according to the structure of the data received by the receiver corresponding to the communication data in the transmission process;
the transmission module is used for transmitting the data after the coding and decoding processing to the receiving party;
wherein the communication data comprises byte type data output by the vehicle-mounted equipment; the processing module comprises:
the decoding unit is used for decoding the byte data to obtain bit type data corresponding to the byte type data;
the message generating unit is used for generating a message containing the bit type data according to the structure of the message received by the automobile bus in the transmission process;
the transmission module includes: and the message transmission unit is used for transmitting the message containing the bit type data to the automobile bus.
8. A data transmission device is applied to a controller, the controller is respectively in communication connection with vehicle-mounted equipment and a vehicle bus and is used for controlling data transmission between the vehicle-mounted equipment and the vehicle bus, and the device comprises:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN201811150944.1A 2018-09-29 2018-09-29 Data transmission method and device Active CN109525363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811150944.1A CN109525363B (en) 2018-09-29 2018-09-29 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811150944.1A CN109525363B (en) 2018-09-29 2018-09-29 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN109525363A CN109525363A (en) 2019-03-26
CN109525363B true CN109525363B (en) 2021-07-06

Family

ID=65771631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811150944.1A Active CN109525363B (en) 2018-09-29 2018-09-29 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN109525363B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848790A (en) * 2005-04-14 2006-10-18 上海德科电子仪表有限公司 Vehicle instruments internal data transmitting method based on CAN technology
CN101895549A (en) * 2010-07-21 2010-11-24 中国北车股份有限公司大连电力牵引研发中心 Conversion gateway and conversion method of vehicle communication network data
CN104579885A (en) * 2015-02-05 2015-04-29 青岛四方车辆研究所有限公司 Protocol converter and conversion method of CPCI bus and ISA bus
CN105446910A (en) * 2015-11-24 2016-03-30 东软集团股份有限公司 Data transmission methods and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8165160B2 (en) * 2006-09-29 2012-04-24 Intel Corporation Method and system to validate a write for a device on a serial bus
CN102955474A (en) * 2011-08-26 2013-03-06 中国航空工业集团公司第六三一研究所 Measurement control method and system of automobile ECU (electronic control unit)
CN104460429B (en) * 2014-11-04 2017-07-21 盛瑞传动股份有限公司 The analysis method and device of CAN signal
CN104834276B (en) * 2014-12-19 2017-12-08 北汽福田汽车股份有限公司 Automobile CAN-bus network and its from node and automobile

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848790A (en) * 2005-04-14 2006-10-18 上海德科电子仪表有限公司 Vehicle instruments internal data transmitting method based on CAN technology
CN101895549A (en) * 2010-07-21 2010-11-24 中国北车股份有限公司大连电力牵引研发中心 Conversion gateway and conversion method of vehicle communication network data
CN104579885A (en) * 2015-02-05 2015-04-29 青岛四方车辆研究所有限公司 Protocol converter and conversion method of CPCI bus and ISA bus
CN105446910A (en) * 2015-11-24 2016-03-30 东软集团股份有限公司 Data transmission methods and apparatus

Also Published As

Publication number Publication date
CN109525363A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
RU2596582C2 (en) Method and device for memory size adapted serial data transfer
US8306004B2 (en) Communication network system having high-ranking network and low-ranking networks, interchange terminal connecting high-ranking network and low-ranking network, microcomputer controlling connection between transmission line of low-ranking network and transmission line of high-ranking network, and communication transmitter-receiver connected with transmission line of low-ranking network and transmission line of high-ranking network
RU2678715C2 (en) Data transmission protocol with protocol exception state
CN112347021B (en) Security module for serial communication device
CN112003773A (en) End-to-end checking method and system for CAN bus safety data
KR101334017B1 (en) Apparatus of checking a validity of message on network for a vehicle and method of thereof
CN113645600A (en) Data transmission method, device, terminal and storage medium
CN110266568B (en) Member station of serial bus system and data transmission method in serial bus system
CN109525363B (en) Data transmission method and device
CN112803950A (en) Data compression method, device and equipment and computer storage medium
Serfa Juan et al. Reconfiguration of an FPGA-based time-triggered FlexRay network controller using EEDC
KR20120026501A (en) Semiconductor integrated circuit device
CN116266803A (en) Device for a controller area network
CN112533173B (en) Method for ensuring data integrity to ensure operation safety and device for vehicle-to-external information interaction
KR101704300B1 (en) Method for transmitting/receiving can message and system performing the same
CN115032973A (en) Data transmission system, method, device, equipment and medium
CN114978898A (en) Data transmission control method and device, head-up display and storage medium
US20230327907A1 (en) Relay device, communication network system, and communication control method
CN110381095B (en) System on chip, equipment and communication system
CN107444300B (en) Method for operating a data processing device for a vehicle
CN112118095A (en) Engineering machinery CAN bus random number generation method and system and identity authentication system
CN115361095B (en) Data transmission method, intelligent key, device, control system and medium
Liu et al. A prompt retransmission method for in-vehicle network FlexRay
US20240126629A1 (en) Semiconductor device and serial communication interface control method
CN112492679B (en) Method and system for generating B code time synchronization output by using 5G communication terminal

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