Communication protocol stack multiplexing method, communication method, computer equipment and medium
A communication protocol stack and communication method technology, applied in the field of computer equipment and media, communication methods, and communication protocol stack reuse methods, can solve the problems of high memory usage, low function encapsulation and portability, and long data life cycle. Achieve the effect of improving synchronization and reliability, improving reliability and multiplexing rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 This is a flowchart of a communication protocol stack multiplexing method provided in Embodiment 1 of the present invention. This embodiment is applicable to an application scenario where multiple ECUs and vehicle-mounted terminals communicate using multiplexed communication protocol stacks, wherein the ECUs communicate through a bus interface. It is connected with the communication protocol stack, and the vehicle terminal and the communication protocol stack communicate by means of message queue. The method can be performed by a computer device, and the computer device can implement the above multiplexing method in the form of hardware and / or software.
[0026] like figure 1 As shown, the multiplexing method specifically includes the following steps:
[0027] Step S1: Acquire the number of buses connected by the communication protocol stack and the type of the bus communication protocol.
[0028] Wherein, the number of buses is the number of bus interfaces ...
Embodiment 2
[0055] Based on the above embodiment, the second embodiment of the present invention provides a vehicle bus communication method. The communication method is implemented based on the above communication protocol stack multiplexing method, and has functional modules and beneficial effects for executing the above communication protocol stack multiplexing method. The communication protocol A message queue is used for communication between the stack and the vehicle terminal equipment.
[0056] Figure 4 This is a flow chart of a vehicle-mounted bus communication method provided by the second embodiment of the present invention.
[0057] like Figure 4 As shown, the communication method specifically includes the following steps:
[0058] Step S10: Determine whether the communication protocol stack has received the message queue.
[0059] Among them, the message queue reception can be realized by setting the message queue reception function. When the message queue reception funct...
Embodiment 3
[0072] According to another aspect of the present invention, a computer device is provided, comprising a memory, a processor and a computer program stored in the memory and running on the processor, and the processor implements the above-mentioned communication protocol stack multiplexing method when the program is executed; Alternatively, the above-mentioned communication method is implemented when the processor executes the program.
[0073] Figure 5 It is a schematic structural diagram of a computer device according to Embodiment 3 of the present invention. Computer equipment is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Computer equipment may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices (eg, helmets, glasses, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


