System, method, equipment, medium and product based on LIN multi-channel parallel communication

By designing a multi-channel parallel communication system based on LIN in industrial field applications, the problem of difficulty in real-time and deterministic communication in the existing technology is solved, and efficient, flexible and intelligent data transmission is achieved.

CN119316251AActive Publication Date: 2025-01-14北京力控元通科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411372617.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-14
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

The existing communication methods are difficult to meet the real-time and deterministic communication requirements of industrial field applications, and it is difficult to achieve parallel processing.

Method used

A multi-channel parallel communication system based on LIN is designed, including a LIN communication unit, a multi-channel processing unit, a data processing unit and a data storage unit. By configuring multiple parallel LIN communication modules, data processing and analysis are carried out to achieve conflicts and errors. Detection and resolution to ensure real-time data transmission.

Benefits of technology

It realizes communication requirements that meet the real-time and certainty of industrial field applications, and is characterized by high efficiency, flexibility and intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316251A_ABST
    Figure CN119316251A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-channel parallel communication system, method and device based on LIN, a medium and a product, and relates to the field of parallel communication processing. The system comprises an LIN communication unit, a multi-channel processing unit, a data processing unit, a data storage unit and a data acquisition unit. The LIN communication unit obtains LIN data and configures an LIN communication module based on the data. The multi-channel processing unit is connected with the LIN communication unit, and designs and stores an MFC interface of communication data to obtain multiple pieces of LIN channel data; the data processing unit is connected with the multi-channel processing unit and is used for processing and analyzing the LIN channel data to obtain analyzed data; the data storage unit is connected with the data processing unit and stores the analysis data; and the data acquisition unit is connected with the data storage unit and the LIN communication unit, and is used for receiving, storing and displaying the analyzed data. According to the application, parallel processing can be carried out, and the communication requirements of real-time performance and certainty required by industrial field application are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of parallel communication processing, and in particular to a system, method, device, medium and product based on LIN multi-channel parallel communication. Background Art

[0002] Local Interconnect Network (LIN) is a low-cost serial communication network used to implement distributed electronic system control in automobiles. The goal of LIN is to provide auxiliary functions for existing automotive networks. It supports high data transmission rates and low power consumption. LIN is a simple, low-cost local bus system that can realize data exchange in the vehicle's internal control system. When a large number of LIN buses are required to interact with the automotive network during the industrial automation acquisition process, the existing communication methods cannot meet the real-time and deterministic communication requirements required by industrial field applications, and it is difficult to achieve parallel processing. Summary of the invention

[0003] The purpose of this application is to provide a system, method, device, medium and product based on LIN multi-channel parallel communication, which can perform parallel processing and meet the real-time and deterministic communication requirements required for industrial field applications.

[0004] To achieve the above objectives, this application provides the following solutions:

[0005] In a first aspect, the present application provides a system based on LIN multi-channel parallel communication, comprising:

[0006] A LIN communication unit, comprising a plurality of parallel LIN communication modules, for acquiring LIN data; the LIN data comprising: communication requirements and communication data of a communication object; the communication data comprising one or more of communication speed, communication data volume and communication priority;

[0007] A multi-channel processing unit is connected to the LIN communication unit, and is used to configure the LIN communication module based on the LIN data, and is used to design and store the MFC interface of the communication data to obtain multiple LIN channel data; the MFC interface includes LIN message content, data length and sending node; each LIN channel data includes multiple LIN messages and LIN message commands;

[0008] A data processing unit connected to the multi-channel processing unit, used to process and parse multiple LIN channel data to obtain parsed data; the processing includes adding headers, performing verification, time synchronization processing, conflict mechanism processing and data filtering processing;

[0009] A data storage unit, connected to the data processing unit, and used to store the parsed data;

[0010] The data acquisition unit is connected to the data storage unit and the LIN communication unit respectively, and is used to send LIN data to the LIN communication unit, and to receive, store and display the parsed data.

[0011] Optionally, a plurality of parallel LIN communication modules are connected to the multi-channel processing unit via a LIN bus.

[0012] Optionally, each LIN bus follows the same communication protocol; the communication protocol includes message, frame and signal definitions.

[0013] Optionally, before each data transmission on the LIN bus, a conflict detection request is sent to the multi-channel processing unit, and the data processing unit receives the conflict detection request and performs conflict and error detection on the transmitted data;

[0014] When a conflict is detected in the sent data, a conflict resolution mechanism is triggered, and the data is sent according to the conflict resolution mechanism; the conflict resolution mechanism includes a frame priority processing mechanism, a backoff mechanism and / or a retry mechanism;

[0015] When errors are detected in the sent data, the data is retransmitted or an error report is generated;

[0016] When it is detected that there is no conflict or error in the transmitted data, the data is sent normally.

[0017] Optionally, the frame priority processing mechanism includes:

[0018] Generate data transmission queue information according to the priority of the frame for transmitting data, and after the current data transmission is completed, transmit the data according to the data transmission queue information; the lower the message identifier value of the frame, the higher the priority of the frame;

[0019] The backoff mechanism includes: randomly generating a delay time, and sending data again according to the delay time;

[0020] The retry mechanism includes: when conflicts are detected multiple times in succession, extending the delay time or setting a backoff time, and sending data again according to the extended delay time or the backoff time.

[0021] In a second aspect, the present application provides a method based on LIN multi-channel parallel communication, comprising:

[0022] Receive LIN data, and configure a LIN communication module based on the LIN data; the LIN data includes: communication requirements and communication data of a communication object; the communication data includes one or more of communication speed, communication data volume and communication priority;

[0023] The configured LIN communication module is used for communication, and during the communication process, an MFC interface for storing communication data is designed to obtain multiple LIN channel data;

[0024] Processing and parsing multiple LIN channel data to obtain parsed data; the processing includes adding headers, performing verification, time synchronization processing, conflict mechanism processing, and data filtering processing;

[0025] The analyzed data is stored and collected.

[0026] Optionally, collecting the parsed data specifically includes:

[0027] Obtaining the start frame of the parsed data, and after detecting the frame synchronization field of the start frame, comparing whether a message identifier in the frame synchronization field of the start frame matches a message identifier in a stored identifier list;

[0028] If there is a match, continue collecting the parsed data;

[0029] If there is no match, the collection of the parsed data is terminated.

[0030] In a third aspect, the present application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned LIN multi-channel parallel communication method.

[0031] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for LIN multi-channel parallel communication.

[0032] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above-mentioned method based on LIN multi-channel parallel communication.

[0033] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0034] The present application provides a system, method, device, medium and product based on LIN multi-channel parallel communication, which can perform parallel processing by setting a multi-channel processing unit. And by setting a data processing unit, multiple LIN channel data are processed and analyzed by adding headers, checking, time synchronization processing, conflict mechanism processing and data filtering, so as to meet the real-time and deterministic communication requirements required for industrial field applications, and have the characteristics of high efficiency, flexibility and intelligence. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 A schematic diagram of functional modules of a system based on LIN multi-channel parallel communication provided in one embodiment of the present application;

[0037] Figure 2 A flowchart of a method for LIN multi-channel parallel communication provided in one embodiment of the present application;

[0038] Figure 3 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0040] In order to make the purpose, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0041] In an exemplary embodiment, a system based on LIN multi-channel parallel communication is provided, such as Figure 1 As shown, the system includes: a LIN communication unit, a multi-channel processing unit, a data processing unit, a data storage unit and a data acquisition unit. The LIN communication unit includes multiple parallel LIN communication modules. The multi-channel processing unit manages all LIN communication modules. Each data read by the LIN communication module is first passed to the multi-channel processing unit, and then the multi-channel processing unit transmits the data to the data processing unit. The data processing unit processes the data and filters out unnecessary data, and passes the normal data that needs to be processed to the data storage unit, which is then displayed by the data acquisition unit. Specifically:

[0042] The LIN communication unit is mainly used to obtain LIN data. LIN data includes: communication requirements and communication data of the communication object. Communication data includes one or more of communication speed, communication data volume and communication priority.

[0043] The multi-channel processing unit is connected to the LIN communication unit. The multi-channel processing unit is mainly used to configure the LIN communication module based on the LIN data, design and store the MFC (Microsoft Foundation Classes) interface of the communication data, and obtain multiple LIN channel data. The MFC interface includes the LIN message content, data length and sending node. Each LIN channel data includes multiple LIN messages and LIN message commands. Among them, each channel in the multi-channel processing unit is independent and can store multiple LIN message commands. In each channel, the content, data length, sending node, etc. of the LIN message can be set.

[0044] The data processing unit is connected to the multi-channel processing unit. The data processing unit is mainly used to process and parse multiple LIN channel data to obtain parsed data. The processing includes adding headers, checking, time synchronization processing, conflict mechanism processing and data filtering processing. In the actual application process, the data processed by the multi-channel processing unit is transferred to the data storage unit for storage. The data processing unit adds headers and checks to the LIN message, and processes the time synchronization and conflict mechanism on the LIN bus, processes and filters out the unnecessary parts of the message, and parses the data part and transfers it to the data storage unit.

[0045] The data storage unit is connected to the data processing unit. The data storage unit is used to store the parsed data. In the actual application process, the parsed data can be saved as N groups of LIN data.

[0046] The data acquisition unit is connected to the data storage unit and the LIN communication unit respectively. The data acquisition unit is used to send LIN data to the LIN communication unit, and to receive, store and display parsed data.

[0047] In another embodiment of the present application, the LIN protocol is usually a single bus protocol, so each LIN bus has only one physical channel. Each physical channel can have a master controller (Master) and multiple slave controllers (Slave), but these controllers share the same bus. Therefore, in traditional LIN communication, there is only one channel on each bus, so this application introduces the concept of multiple devices. Among them:

[0048] Multiple devices: In automotive electronic systems, various control units need to communicate. Each control unit is connected to the LIN bus, forming multiple channels.

[0049] LIN bus: LIN bus is used as the communication medium, and each channel is connected to the LIN bus. That is, multiple parallel LIN communication modules are connected to the multi-channel processing unit through the LIN bus.

[0050] Communication protocol: LIN communication usually uses a specific communication protocol. Devices on each channel must follow the same communication protocol in order to coordinate data transmission. The communication protocol includes message, frame and signal definitions to describe how the data is transmitted and what it means.

[0051] Data frame transmission: Each device on the channel can send and receive data frames. The data frame includes a message identifier (Message ID), a data field, and a checksum. Parallel communication means that multiple devices can send and receive data frames at the same time, thereby improving communication efficiency.

[0052] Time synchronization: Devices on the LIN bus require strict time synchronization to ensure that data is sent and received within the scheduled time. The devices on the channel are coordinated by a multi-channel processing unit to ensure that they send data at the appropriate time.

[0053] Conflict resolution: In multi-channel parallel communication, data conflicts may occur. If two devices try to send data at the same time, a conflict may occur. Before each data is sent on the LIN bus, a request is made to the multi-channel processing unit to determine whether it can be sent at the moment. Only when it is returned as being sendable can the data be sent normally, thereby achieving conflict detection and conflict resolution to ensure the integrity and accuracy of the data. Based on this, in actual application, before each data is sent on the LIN bus, a conflict detection request is sent to the multi-channel processing unit. The data processing unit receives the conflict detection request and performs conflict and error detection on the sent data.

[0054] When a conflict is detected in the transmitted data, a conflict resolution mechanism is triggered and the data transmission is completed according to the conflict resolution mechanism. The conflict resolution mechanism includes a frame priority processing mechanism, a backoff mechanism and / or a retry mechanism.

[0055] When an error is detected in the sent data, the data is retransmitted or an error report is generated.

[0056] When it is detected that there is no conflict or error in the transmitted data, the data is sent normally.

[0057] Error handling: In communication, errors may occur. The LIN communication protocol includes error detection and correction mechanisms to ensure reliable transmission of data. When errors occur, devices should be able to handle them, for example, retransmit or report the error.

[0058] In another embodiment of the present application, taking the parallel communication of automobile equipment as an example, the implementation process of the system based on LIN multi-channel parallel communication provided by the present application is described, specifically:

[0059] Step 1: Understand the communication requirements of each subsystem in the data acquisition unit, and understand the communication speed, data volume and priority of each subsystem. Place the data of each subsystem in the data storage unit and select the appropriate LIN communication module according to the configuration of the subsystem.

[0060] Step 2: Pack the data of the LIN communication module. The data of the LIN communication module includes the content of the LIN message, data length, sending node, etc.

[0061] Verify the LIN message header under each channel, and process information such as time synchronization and conflict mechanism on the LIN bus.

[0062] Step 3: Error handling and conflict detection mechanisms for LIN communication. Contains the following:

[0063] Frame Sync Field: Each LIN frame starts with a frame sync field, which is used to synchronize all devices. When the signal on the bus matches the frame sync field, the device starts receiving the frame.

[0064] Identifier identification: The message identifier field of the frame contains the identifier of the message. When the device starts receiving frames and detects the frame synchronization field, it compares the message identifier in the frame with the identifier list stored in itself. If the message identifier matches, the device considers the frame to be a message of interest to it and continues to receive it.

[0065] Detecting conflicts: If multiple devices try to send a message and start sending frames on the bus, conflicts may occur. This is because only one frame of data can be transmitted on the LIN bus, and when there are multiple competing frames at the same time, the transmission cannot be carried out. When transmitting a frame, the device will constantly detect the voltage level on the LIN bus to see if there are other devices sending data. If so, it will wait for the other device to finish sending before requesting to send.

[0066] Non-zero priority: There is a frame priority in LIN communication. Frames with lower message identifier values ​​usually have higher priority. Therefore, frames with lower message identifiers usually wait for other frames to complete transmission before transmission to avoid conflicts. If data is requested to be sent at the same time, it is sent in priority order. If there are other devices currently transmitting data, wait for other devices to complete transmission before transmitting data according to priority.

[0067] Step 4: The data acquisition unit collects the data returned by the multi-channel processing unit communication, collects the data of each channel and saves it to the database.

[0068] In another embodiment of the present application, the conflict resolution mechanism includes:

[0069] 1. Frame priority: When multiple devices send frames at the same time and a conflict occurs, the devices will compare the message identifiers. The frames with lower message identifier values ​​will have higher priorities. Other devices will usually temporarily give up sending until there are no higher priority frames, and then send data to wait for the conflicting frames to complete transmission.

[0070] For example, data transmission queue information is generated according to the priority of the frame for transmitting data, and after the current data transmission is completed, data transmission is performed according to the data transmission queue information. The lower the message identifier value of the frame, the higher the priority of the frame.

[0071] 2. Backoff mechanism: If a device detects a conflict, it will randomly generate a delay time and then wait for a period of time before trying to send again. This backoff time is random to reduce the possibility of a conflict occurring again.

[0072] 3. Retry mechanism: If a device encounters conflicts multiple times in a row, it may increase the backoff time or wait longer before trying to send again. This helps reduce the chance of repeated conflicts. For example, when conflicts are detected multiple times in a row, extend the delay time or set the backoff time, and send the data again according to the extended delay time or backoff time.

[0073] 4. Frame count: Each LIN communication module in LIN communication can be configured with a frame counter to track the number of frames sent. If the number of consecutively sent frames reaches the upper limit of the device's frame count, the device can stop sending to reduce conflicts.

[0074] Based on the above description, the multi-channel LIN network provided by the present application allows different subsystems to be isolated on different channels, which means that different LIN communication systems can run on independent channels, thereby reducing the possibility of communication conflicts.

[0075] Each channel can have a different communication speed and priority, which allows high-priority tasks (such as safety functions) to get a response in a shorter time, while low-priority tasks can run on slower channels, improving communication efficiency and flexibility to achieve intelligent communication based on LIN multi-channel parallelism.

[0076] Based on the same inventive concept, the embodiment of the present application also provides a method for implementing the above-mentioned LIN multi-channel parallel communication method. The implementation solution provided by the method is similar to the implementation solution recorded in the above-mentioned system, so the specific limitations in one or more LIN multi-channel parallel communication method embodiments provided below can refer to the above-mentioned limitations on the LIN multi-channel parallel communication system, which will not be repeated here.

[0077] In an exemplary embodiment, a method based on LIN multi-channel parallel communication is provided, such as Figure 2 As shown, the method includes:

[0078] Step 200: Receive LIN data. The LIN data includes: communication requirements and communication data of the communication object. The communication data includes one or more of communication speed, communication data volume and communication priority.

[0079] Step 201: Use the configured LIN communication module to communicate, and during the communication process, design and store the MFC interface of the communication data to obtain multiple LIN channel data.

[0080] Step 202: Process and parse multiple LIN channel data to obtain parsed data. The processing includes adding headers, performing verification, time synchronization processing, conflict mechanism processing, and data filtering processing.

[0081] Step 203: Store and collect parsed data.

[0082] As an optional implementation, the process of collecting and analyzing data in step 203 can be described as follows:

[0083] After obtaining the start frame of the parsed data and detecting the frame synchronization field of the start frame, compare the message identifier in the frame synchronization field of the start frame with the message identifier in the stored identifier list to see whether they match.

[0084] If they match, the collection of parsed data will continue. If they do not match, the collection of parsed data will be interrupted.

[0085] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store multi-channel parallel communication data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method based on LIN multi-channel parallel communication is implemented.

[0086] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0087] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0088] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0089] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0090] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0091] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0092] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0093] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A system based on LIN multi-channel parallel communication, characterized in that: The system based on LIN multi-channel parallel communication includes: A LIN communication unit, comprising a plurality of parallel LIN communication modules, for acquiring LIN data; the LIN data comprising: communication requirements and communication data of a communication object; the communication data comprising one or more of communication speed, communication data volume and communication priority; A multi-channel processing unit is connected to the LIN communication unit, and is used to configure the LIN communication module based on the LIN data, and is used to design and store the MFC interface of the communication data to obtain multiple LIN channel data; the MFC interface includes LIN message content, data length and sending node; each LIN channel data includes multiple LIN messages and LIN message commands; A data processing unit connected to the multi-channel processing unit, used to process and parse multiple LIN channel data to obtain parsed data; the processing includes adding headers, performing verification, time synchronization processing, conflict mechanism processing and data filtering processing; A data storage unit, connected to the data processing unit, and used to store the parsed data; The data acquisition unit is connected to the data storage unit and the LIN communication unit respectively, and is used to send LIN data to the LIN communication unit, and to receive, store and display the parsed data.

2. The system based on LIN multi-channel parallel communication according to claim 1, characterized in that: A plurality of parallel LIN communication modules are connected to the multi-channel processing unit via a LIN bus.

3. The system based on LIN multi-channel parallel communication according to claim 2, characterized in that: Each LIN bus follows the same communication protocol; the communication protocol includes message, frame and signal definitions.

4. The system based on LIN multi-channel parallel communication according to claim 2, characterized in that: Before each data transmission on the LIN bus, a conflict detection request is sent to the multi-channel processing unit, and the data processing unit receives the conflict detection request and performs conflict and error detection on the transmitted data; When a conflict is detected in the sent data, a conflict resolution mechanism is triggered, and the data is sent according to the conflict resolution mechanism; the conflict resolution mechanism includes a frame priority processing mechanism, a backoff mechanism and / or a retry mechanism; When errors are detected in the sent data, the data is retransmitted or an error report is generated; When it is detected that there is no conflict or error in the transmitted data, the data is sent normally.

5. The system based on LIN multi-channel parallel communication according to claim 4, characterized in that: The frame priority processing mechanism includes: Generate data transmission queue information according to the priority of the frame for transmitting data, and after the current data transmission is completed, transmit the data according to the data transmission queue information; the lower the message identifier value of the frame, the higher the priority of the frame; The backoff mechanism includes: randomly generating a delay time, and sending data again according to the delay time; The retry mechanism includes: when conflicts are detected multiple times in succession, extending the delay time or setting a backoff time, and sending data again according to the extended delay time or the backoff time.

6. A method based on LIN multi-channel parallel communication, characterized in that: The method based on LIN multi-channel parallel communication includes: Receive LIN data, and configure a LIN communication module based on the LIN data; the LIN data includes: communication requirements and communication data of a communication object; the communication data includes one or more of communication speed, communication data volume and communication priority; The configured LIN communication module is used for communication, and during the communication process, an MFC interface for storing communication data is designed to obtain multiple LIN channel data; Processing and parsing multiple LIN channel data to obtain parsed data; the processing includes adding headers, performing verification, time synchronization processing, conflict mechanism processing, and data filtering processing; The analyzed data is stored and collected.

7. The method based on LIN multi-channel parallel communication according to claim 6, characterized in that: Collecting the analytical data specifically includes: Obtaining the start frame of the parsed data, and after detecting the frame synchronization field of the start frame, comparing whether a message identifier in the frame synchronization field of the start frame matches a message identifier in a stored identifier list; If there is a match, continue collecting the parsed data; If there is no match, the collection of the parsed data is terminated.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method based on LIN multi-channel parallel communication according to any one of claims 6 to 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method based on LIN multi-channel parallel communication described in any one of claims 6 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method based on LIN multi-channel parallel communication described in any one of claims 6 to 7 is implemented.

Citation Information

Patent Citations

  • Vehicle-mounted wireless multi-system hybrid networking method

    CN111031515A

  • Data processing method, field programmable gate array chip and network security equipment

    CN114884903A

  • Driving control device for vehicle LAN actuator

    JP2017211861A