Vehicle-mounted communication system, vehicle-mounted communication method, and vehicle

By employing a layered design and modular interfaces, the in-vehicle communication system addresses the issues of limited functionality and protocol incompatibility in existing systems, achieving efficient, stable, and multifunctional in-vehicle communication and enhancing system integration and user experience.

CN120512489BActive Publication Date: 2026-07-07CRRC NANJING PUZHEN CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CRRC NANJING PUZHEN CO LTD
Filing Date
2025-07-02
Publication Date
2026-07-07

Smart Images

  • Figure CN120512489B_ABST
    Figure CN120512489B_ABST
Patent Text Reader

Abstract

The application discloses a kind of vehicle communication system, vehicle communication method and vehicle, it is related to rail transit communication technical field, the vehicle communication system includes application layer, middle layer and base layer sequentially arranged from top to bottom;Wherein, application layer and middle layer are arranged on each host of vehicle;Application layer is used to provide a variety of vehicle service components, and each vehicle service component is used to realize at least one specified function;Middle layer is used to process the message of vehicle service component, and according to the host identification of sender and vehicle service component identification, and the host identification of receiver and vehicle service component identification, the message is transmitted;Base layer is used to provide hardware interface and communication interface.The application can solve the problem of single function, communication protocol incompatible and other problems of existing vehicle communication system, and can meet the communication demand of efficient, stable and multi-functional modern train.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of rail transit communication technology, and in particular to an on-board communication system, an on-board communication method, and a vehicle. Background Technology

[0002] With the rapid development of intelligent trains, the communication needs between various systems within the train (such as control systems, monitoring systems, and passenger information systems) are increasing daily. Existing onboard communication systems mostly use RS-485 and CAN bus to achieve data transmission between devices, but their functions are limited, only enabling simple command issuance and status feedback, and cannot meet the user's needs for transmitting complex data such as navigation and vehicle status monitoring. Furthermore, different brands of vehicles often use their own independent onboard communication systems, and the communication protocols of these systems may be incompatible, making information sharing and interoperability difficult.

[0003] Therefore, with the rapid development of intelligent trains and the increasing complexity of business scenarios, how to solve the problems of limited functionality and incompatible communication protocols in existing onboard communication systems, and meet the modern trains' demand for efficient, stable, and multifunctional communication, has become an urgent issue to be addressed. Summary of the Invention

[0004] This invention provides a vehicle-mounted communication system to solve the problems of limited functionality and incompatible communication protocols in existing vehicle-mounted communication systems, and can meet the modern train's communication needs for high efficiency, stability, and multiple functions. The vehicle-mounted communication system includes, from top to bottom, an application layer, an intermediate layer, and a base layer; wherein the application layer and the intermediate layer are deployed on each host unit of the vehicle.

[0005] The application layer is used to provide a variety of in-vehicle service components, each of which is used to implement at least one specified function.

[0006] The middle layer is used to process messages from the vehicle service component and transmit the messages according to the host identifier and vehicle service component identifier of the sender, and the host identifier and vehicle service component identifier of the receiver.

[0007] The base layer provides hardware and communication interfaces.

[0008] In one embodiment, the intermediate layer includes a message encapsulation module, a message parsing module, a routing and distribution module, and a service distribution module, wherein...

[0009] The message encapsulation module is used to encapsulate messages sent by the application layer vehicle service components of the sender.

[0010] The routing and distribution module is used to call the communication interface of the base layer and transmit the encapsulated message to the intermediate layer of the receiving host according to the host identifier of the receiving message.

[0011] The message parsing module is used to parse and process the received encapsulated messages;

[0012] The service distribution module is used to transmit the parsed message to the recipient's application layer vehicle service component based on the recipient's vehicle service component identifier in the parsed message.

[0013] In one embodiment, the message encapsulation module is specifically used to encapsulate the sender's host identifier and vehicle service component identifier, the receiver's host identifier and vehicle service component identifier, the message event number, the message length, and the message checksum as a header, together with the message to be sent, according to a preset message encapsulation format.

[0014] In one embodiment, the routing and distribution module is specifically used to query at least one IP address and protocol information corresponding to the host identifier of the receiver in the encapsulated message, select a target IP address and target protocol information from the at least one IP address and protocol information, and call the communication interface of the base layer to transmit the encapsulated message to the intermediate layer of the receiver's host according to the target IP address and target protocol information.

[0015] In one embodiment, the service distribution module is specifically used to query the service entry address corresponding to the recipient's vehicle service component identifier based on the recipient's vehicle service component identifier in the parsed message, and transmit the parsed message to the recipient's application layer vehicle service component based on the service entry address corresponding to the recipient's vehicle service component identifier.

[0016] This invention also provides a vehicle-mounted communication method to solve the problems of limited functionality and incompatible communication protocols in existing vehicle-mounted communication systems, thereby meeting the modern train's demand for efficient, stable, and multifunctional communication. This vehicle-mounted communication method is applied to the aforementioned vehicle-mounted communication system, and the method includes:

[0017] The application layer vehicle service component of the sending host generates a message and transmits it to the middle layer of the sending host;

[0018] The middle layer of the sending host processes the messages of the vehicle service component, and transmits the messages to the receiving host and the vehicle application component of the receiving application layer according to the sender host identifier and vehicle service component identifier corresponding to the message, as well as the receiver host identifier and vehicle service component identifier.

[0019] In one embodiment, the intermediate layer of the sending host processes the messages of the in-vehicle service component, and transmits the messages to the receiving host and the in-vehicle application component of the receiving application layer according to the sender's host identifier and the in-vehicle service component identifier corresponding to the message, as well as the receiver's host identifier and the in-vehicle service component identifier. Specifically, this includes:

[0020] The middleware layer of the sending host encapsulates the message sent by the sending host's vehicle service component; it calls the communication interface of the base layer and transmits the encapsulated message to the middleware layer of the receiving host according to the receiver's host identifier in the encapsulated message; so that the middleware layer of the receiving host can parse the received encapsulated message; and transmit the parsed message to the vehicle service component of the receiving application layer according to the receiver's vehicle service component identifier in the parsed message.

[0021] In one embodiment, the middleware layer of the sending host encapsulates the messages sent by the sending host's in-vehicle service component, specifically including:

[0022] According to the preset message encapsulation format, the sender's host identifier and vehicle service component identifier, the receiver's host identifier and vehicle service component identifier, the message event number, the message length, and the message checksum are used as headers and encapsulated together with the message to be sent.

[0023] In one embodiment, the communication interface of the base layer is invoked to transmit the encapsulated message to the intermediate layer of the recipient's host, based on the recipient's host identifier in the encapsulated message. Specifically, this includes:

[0024] Based on the host identifier of the recipient in the encapsulated message, query at least one IP address and protocol information corresponding to the host identifier of the recipient, select the target IP address and target protocol information from the at least one IP address and protocol information, call the communication interface of the base layer, and transmit the encapsulated message to the middle layer of the recipient's host according to the target IP address and target protocol information.

[0025] This invention also provides a vehicle equipped with the aforementioned vehicle communication system.

[0026] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described vehicle communication method.

[0027] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described vehicle communication method.

[0028] The vehicle-mounted communication system provided in this embodiment of the invention includes an application layer, a middleware layer, and a base layer arranged sequentially from top to bottom. The application layer and middleware layer are deployed on each host unit of the vehicle. The application layer provides various vehicle-mounted service components, each of which implements at least one specified function. The middleware layer processes the messages from the vehicle-mounted service components and transmits the messages based on the sender's host identifier and the vehicle-mounted service component identifier, as well as the receiver's host identifier and the vehicle-mounted service component identifier. The base layer provides hardware interfaces and communication interfaces. Compared with existing vehicle-mounted communication systems, the vehicle-mounted communication system of this embodiment of the invention provides various functional vehicle-mounted service components in the application layer, various types of hardware interfaces and communication interfaces in the base layer, and unified processing of messages from various functional vehicle-mounted service components in the middleware layer. It also transmits the messages based on the sender's host identifier and the vehicle-mounted service component identifier, as well as the receiver's host identifier and the vehicle-mounted service component identifier. This solves the problems of limited functionality and incompatible communication protocols in existing vehicle-mounted communication systems, thereby meeting the modern train's demand for efficient, stable, and multifunctional communication. Attached Figure Description

[0029] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0030] In the attached diagram:

[0031] Figure 1 This is a structural diagram of a vehicle-mounted communication system provided in an embodiment of the present invention;

[0032] Figure 2 A flowchart of a vehicle communication method provided in an embodiment of the present invention;

[0033] Figure 3 A flowchart of another vehicle communication method provided in an embodiment of the present invention. Detailed Implementation

[0034] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0035] In the description of this specification, the terms "comprising," "including," "having," and "containing" are open-ended terms, meaning that they include but are not limited to. The terms "an embodiment," "a specific embodiment," "some embodiments," and "for example," etc., refer to specific features, structures, or characteristics described in connection with that embodiment or example that are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, or characteristics described can be combined in any suitable manner in one or more embodiments or examples. The order of steps involved in the various embodiments is used to illustrate the implementation of this application, and the order of steps is not limited and can be adjusted appropriately as needed.

[0036] Research has revealed that existing vehicle communication systems mostly use RS-485, CAN bus, and other similar technologies to achieve data transmission between devices. This type of vehicle communication system has the following problems:

[0037] Limited functionality: Current in-vehicle communication systems often only have basic call and music playback functions, and can only issue simple commands and provide status feedback, which cannot meet users' needs for navigation, vehicle status monitoring and other aspects.

[0038] Poor compatibility: Vehicles from different brands often use their own independent in-vehicle communication systems, and the communication protocols of these systems may be incompatible, making it difficult to achieve information sharing and interoperability.

[0039] Poor scalability: Current in-vehicle communication systems typically adopt a closed design, which cannot support the access and customization of third-party applications, thus limiting the system's scalability and flexibility.

[0040] Poor user experience: Current in-vehicle communication systems have shortcomings in user interface design and interaction methods, resulting in a poor user experience and affecting users' acceptance and satisfaction with the in-vehicle communication system.

[0041] Based on this, embodiments of the present invention provide an in-vehicle communication system to solve the above problems.

[0042] like Figure 1 The diagram shown is a structural diagram of a vehicle-mounted communication system provided in an embodiment of the present invention. The vehicle-mounted communication system includes an application layer, a middleware layer, and a base layer arranged sequentially from top to bottom. The application layer and the middleware layer are deployed on each host unit of the vehicle.

[0043] The application layer is used to provide a variety of in-vehicle service components, each of which is used to implement at least one specified function.

[0044] The middle layer is used to process messages from the vehicle service component and transmit the messages according to the host identifier and vehicle service component identifier of the sender, and the host identifier and vehicle service component identifier of the receiver.

[0045] The base layer provides hardware and communication interfaces.

[0046] Specifically, the vehicle communication system provided in this embodiment of the invention adopts a layered design, comprising an application layer, an intermediate layer, and a base layer arranged sequentially from top to bottom. The application layer and the intermediate layer are deployed on each host unit of the vehicle, for example... Figure 1 In this architecture, host A corresponds to the application layer and the middleware layer, and host B corresponds to the application layer and the middleware layer. The application layer provides various in-vehicle service components; the middleware layer provides unified message encapsulation, message parsing, routing distribution, service distribution, and other intermediate services; and the foundation layer provides hardware and communication interfaces. This layered, decoupled design clarifies the boundaries and interfaces of each layer, achieving hardware independence and software reusability.

[0047] Specifically, the vehicle communication system provided in this embodiment of the invention adopts an open architecture and modular design. At the application layer, the functions of the vehicle communication platform can be decoupled and encapsulated to form reusable vehicle service components (functional modules). Each vehicle service component can be used to implement one or more specified functions, for example... Figure 1 In this architecture, the application layer of host A includes vehicle service component A, vehicle service component B, and vehicle service component C, while the application layer of host B includes vehicle service component 1, vehicle service component 2, and vehicle service component 3. The vehicle service components in the application layers of host A and host B can be the same or different. Furthermore, vehicle service components between different hosts or between the same hosts can communicate and collaborate via a message bus (located in the base layer) to achieve dynamic combination and scheduling of functions. Each vehicle service component adopts an independent software development and testing process to ensure its stability and reliability. Moreover, the open architecture also supports the dynamic addition, deletion, and updating of service components, improving the flexibility and scalability of the vehicle communication system.

[0048] Above the application layer, a user interface layer can be set up to interact with users and provide an intuitive and easy-to-use interface. Moreover, the user interface layer supports multiple interaction methods, such as web-based human-computer interaction and AI-based early warning analysis, to improve the convenience and comfort of user operation. At the same time, intelligent recommendation and personalized settings functions can be introduced to provide a personalized service experience based on users' usage habits and preferences.

[0049] The middle layer can include message encapsulation modules, message parsing modules, routing and distribution modules, and service distribution modules. Each module also adopts an independent software development and testing process. In addition, the middle layer can also include HTTP server modules, RESTful interface operation modules, WebSocket interaction modules, unified database operation modules, etc.

[0050] At the foundational layer, hardware and communication interfaces can be provided. A unified interface standard can be set for the foundational layer. For example, communication interfaces can include a message bus, which uses a unified API (Application Programming Interface). Each in-vehicle service component only needs to implement the API to handle business logic. An HTTP RESTful standard interface can also be provided, using standardized HTTP protocols and JSON data formats to ensure data transmission between different in-vehicle service components. Communication interfaces can also include TCP and UDP channels. TCP channels provide reliable, connection-oriented data transmission; UDP channels provide connectionless transmission, offering high speed and suitability for scenarios with high real-time requirements and tolerance for minor packet loss. Hardware interfaces can include database interfaces, timer interfaces, etc. By setting a unified interface standard, system compatibility and scalability can be improved.

[0051] In one embodiment, the middle layer is mainly used to process messages from the vehicle service component and transmit the messages according to the host identifier and vehicle service component identifier of the sender, and the host identifier and vehicle service component identifier of the receiver.

[0052] The message encapsulation module is used to encapsulate messages sent by the application layer vehicle service component, which acts as the sender.

[0053] The routing and distribution module is used to call the communication interface of the base layer and transmit the encapsulated message to the intermediate layer of the receiving host according to the host identifier of the receiving message.

[0054] The message parsing module is used to parse and process the received encapsulated messages;

[0055] The service distribution module is used to transmit the parsed message to the recipient's application layer vehicle service component based on the recipient's vehicle service component identifier in the parsed message.

[0056] In one embodiment, the message encapsulation module is specifically used to encapsulate the sender's host identifier and vehicle service component identifier, the receiver's host identifier and vehicle service component identifier, the message event number, the message length, and the message checksum as a header, together with the message to be sent, according to a preset message encapsulation format.

[0057] In practice, the message encapsulation format can be:

[0058] Receiver (sender's host identifier, vehicle service component identifier) ​​+ Sender (receiver's host identifier, vehicle service component identifier) ​​+ Event (message event number) + Message Length (message length) + Message CRC (message checksum) + Original message (message to be sent).

[0059] In one embodiment, the routing and distribution module is specifically used to query at least one IP address and protocol information corresponding to the host identifier of the receiver in the encapsulated message, select a target IP address and target protocol information from the at least one IP address and protocol information, and call the communication interface of the base layer to transmit the encapsulated message to the intermediate layer of the receiver's host according to the target IP address and target protocol information.

[0060] In practice, firstly, the host identifier in the receiver can be selected as the addressing target. From the host identifier, IP address, and protocol information mapping table shown in Table 1, at least one IP address and protocol information corresponding to the receiver's host identifier can be queried. If the same host identifier can match multiple IP addresses and protocol information, the route with higher network availability should be selected first; and lines with availability of 0 can be removed from Table 1.

[0061] Table 1. Correspondence between Host Identifier, IP Address, and Protocol Information

[0062]

[0063] In one embodiment, the service distribution module is specifically used to query the service entry address corresponding to the recipient's vehicle service component identifier based on the recipient's vehicle service component identifier in the parsed message, and transmit the parsed message to the recipient's application layer vehicle service component based on the service entry address corresponding to the recipient's vehicle service component identifier.

[0064] In practice, the vehicle service component identifier in the receiver can be selected as the addressing target. The service entry address corresponding to the receiver's vehicle service component identifier can be found in Table 2, which shows the mapping between vehicle service component identifiers and service entry addresses. The vehicle service component identifier is used to distinguish each vehicle service component.

[0065] Table 2. Correspondence between in-vehicle service component identifiers and service entry addresses

[0066]

[0067] In this way, communication between services is achieved by using the host identifier and the vehicle service component identifier as the source address and destination address, without the need for complex network and service structures. At the same time, the network topology and service topology are decoupled, and network element nodes and service nodes can be deployed arbitrarily according to functional requirements. It also supports dynamic configuration and can flexibly and quickly build new service requirements.

[0068] In summary, the vehicle communication system of this invention has the following beneficial effects:

[0069] 1. High integration and compatibility: Through modular design and standardized interfaces, the functional modules of the vehicle communication platform are highly integrated, improving the system's integration, compatibility and reliability;

[0070] 2. High scalability: The system adopts an open architecture and standardized interfaces to support the access and customization of third-party applications, enabling the system to flexibly expand new functions and services.

[0071] 3. High stability: Independent software development and testing processes are adopted for each in-vehicle service component to ensure the stability and reliability of the system and reduce the failure rate;

[0072] 4. Optimize user experience: Improve user interface design and interaction methods, enhance the convenience and comfort of user operation, and increase user acceptance and satisfaction with the in-vehicle communication system;

[0073] 5. Visualized Network and Service Structures: Communication between services is achieved by using host identifiers and vehicle service component identifiers as source and destination addresses, eliminating the need for complex network and service structures. At the same time, the network topology and service topology are decoupled, and network element nodes and service nodes can be deployed arbitrarily according to functional requirements. Dynamic configuration is also supported, allowing for flexible and rapid construction of new service requirements.

[0074] This invention also provides a vehicle-mounted communication method, as described in the following embodiments. Since the principle by which this method solves the problem is similar to that of the aforementioned vehicle-mounted communication system, the implementation of this method can refer to the implementation of the vehicle-mounted communication system; repeated details will not be elaborated further.

[0075] like Figure 2 The diagram shown is a flowchart of a vehicle communication method provided in an embodiment of the present invention. The method includes:

[0076] Step 201: The application layer vehicle service component of the sending host generates a message and transmits it to the middle layer of the sending host.

[0077] Step 202: The intermediate layer of the sending host processes the message of the vehicle service component, and transmits the message to the receiving host and the vehicle application component of the receiving application layer according to the sending host identifier and vehicle service component identifier corresponding to the message, as well as the receiving host identifier and vehicle service component identifier.

[0078] In one embodiment, Figure 3 A flowchart of another vehicle communication method provided in an embodiment of the present invention is shown below. Figure 3 As shown, step 202 above may specifically include:

[0079] Step 2021: The middle layer of the sending host encapsulates the message sent by the sending vehicle service component; calls the communication interface of the base layer, and transmits the encapsulated message to the middle layer of the receiving host according to the host identifier of the receiving party in the encapsulated message.

[0080] Step 2022: The intermediate layer of the receiving host parses the received encapsulated message; based on the recipient's vehicle service component identifier in the parsed message, the parsed message is transmitted to the vehicle service component of the recipient's application layer.

[0081] In one embodiment, the intermediate layer of the sending host in step 2021 encapsulates the message sent by the sending party's in-vehicle service component, which may specifically include:

[0082] According to the preset message encapsulation format, the sender's host identifier and vehicle service component identifier, the receiver's host identifier and vehicle service component identifier, the message event number, the message length, and the message checksum are used as headers and encapsulated together with the message to be sent.

[0083] In one embodiment, step 2021, which invokes the communication interface of the base layer and transmits the encapsulated message to the intermediate layer of the receiver's host based on the receiver's host identifier in the encapsulated message, may specifically include:

[0084] Based on the host identifier of the recipient in the encapsulated message, query at least one IP address and protocol information corresponding to the host identifier of the recipient, select the target IP address and target protocol information from the at least one IP address and protocol information, call the communication interface of the base layer, and transmit the encapsulated message to the middle layer of the recipient's host according to the target IP address and target protocol information.

[0085] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described vehicle communication method.

[0086] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described vehicle communication method.

[0087] This invention also provides a vehicle equipped with the aforementioned vehicle communication system.

[0088] The vehicle-mounted communication system provided in this embodiment of the invention includes an application layer, a middleware layer, and a base layer arranged sequentially from top to bottom. The application layer and middleware layer are deployed on each host unit of the vehicle. The application layer provides various vehicle-mounted service components, each of which implements at least one specified function. The middleware layer processes the messages from the vehicle-mounted service components and transmits the messages based on the sender's host identifier and the vehicle-mounted service component identifier, as well as the receiver's host identifier and the vehicle-mounted service component identifier. The base layer provides hardware interfaces and communication interfaces. Compared with existing vehicle-mounted communication systems, the vehicle-mounted communication system of this embodiment of the invention provides various functional vehicle-mounted service components in the application layer, various types of hardware interfaces and communication interfaces in the base layer, and unified processing of messages from various functional vehicle-mounted service components in the middleware layer. It also transmits the messages based on the sender's host identifier and the vehicle-mounted service component identifier, as well as the receiver's host identifier and the vehicle-mounted service component identifier. This solves the problems of limited functionality and incompatible communication protocols in existing vehicle-mounted communication systems, thereby meeting the modern train's demand for efficient, stable, and multifunctional communication.

[0089] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0090] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1A device that provides the functions specified in one or more boxes.

[0091] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0092] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0093] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A vehicle-mounted communication system, characterized in that, It includes an application layer, an intermediate layer, and a base layer arranged from top to bottom; wherein the application layer and the intermediate layer are deployed on each host unit of the vehicle; The application layer is used to provide a variety of in-vehicle service components, each of which is used to implement at least one specified function; The intermediate layer is used to process messages from the vehicle service component and transmit the messages according to the host identifier and vehicle service component identifier of the sender, and the host identifier and vehicle service component identifier of the receiver. The base layer is used to provide hardware interfaces and communication interfaces.

2. The vehicle communication system as described in claim 1, characterized in that, The intermediate layer includes a message encapsulation module, a message parsing module, a routing and distribution module, and a service distribution module; wherein... The message encapsulation module is used to encapsulate messages sent by the application layer vehicle service component of the sender. The routing and distribution module is used to call the communication interface of the base layer and transmit the encapsulated message to the intermediate layer of the receiver's host according to the host identifier of the receiver in the encapsulated message. The message parsing module is used to parse and process the received encapsulated messages; The service distribution module is used to transmit the parsed message to the vehicle service component of the application layer of the recipient based on the recipient's vehicle service component identifier in the parsed message.

3. The vehicle communication system as described in claim 2, characterized in that, The message encapsulation module is specifically used to encapsulate the sender's host identifier and vehicle service component identifier, the receiver's host identifier and vehicle service component identifier, message event number, message length, and message checksum as a header, and encapsulate them together with the message to be sent, according to a preset message encapsulation format.

4. The vehicle communication system as described in claim 2, characterized in that, The routing and distribution module is specifically used to query at least one IP address and protocol information corresponding to the host identifier of the receiver in the encapsulated message, and select the target IP address and target protocol information from the at least one IP address and protocol information. The communication interface of the base layer is invoked, and the encapsulated message is transmitted to the middle layer of the receiving host according to the target IP address and target protocol information.

5. The vehicle-mounted communication system as described in claim 2, characterized in that, The service distribution module is specifically used to query the service entry address corresponding to the recipient's vehicle service component identifier based on the recipient's vehicle service component identifier in the parsed message, and transmit the parsed message to the recipient's application layer vehicle service component based on the service entry address corresponding to the recipient's vehicle service component identifier.

6. A vehicle-mounted communication method, characterized in that, Applied to the vehicle communication system as described in any one of claims 1-5, comprising: The application layer vehicle service component of the sending host generates a message and transmits it to the middle layer of the sending host; The middle layer of the sending host processes the messages of the vehicle service component, and transmits the messages to the receiving host and the vehicle application component of the receiving application layer according to the sender host identifier and vehicle service component identifier corresponding to the message, as well as the receiver host identifier and vehicle service component identifier.

7. The vehicle-mounted communication method as described in claim 6, characterized in that, The intermediate layer of the sending host processes the messages of the in-vehicle service component, and transmits the messages to the receiving host and the in-vehicle application component of the receiving host and the receiving application layer according to the sender's host identifier and the in-vehicle service component identifier corresponding to the message, as well as the receiver's host identifier and the in-vehicle service component identifier. Specifically, this includes: The middle layer of the sending host encapsulates the message sent by the sending host's vehicle service component; it calls the communication interface of the base layer and transmits the encapsulated message to the middle layer of the receiving host according to the host identifier of the receiving host in the encapsulated message. The middle layer of the receiving host parses the received encapsulated message; based on the recipient's vehicle service component identifier in the parsed message, the parsed message is transmitted to the recipient's application layer vehicle service component.

8. The vehicle communication method as described in claim 7, characterized in that, The intermediate layer of the sending host encapsulates the messages sent by the sending host's in-vehicle service component, specifically including: According to the preset message encapsulation format, the sender's host identifier and vehicle service component identifier, the receiver's host identifier and vehicle service component identifier, the message event number, the message length, and the message checksum are used as headers and encapsulated together with the message to be sent.

9. The vehicle communication method as described in claim 7, characterized in that, The invocation of the base layer communication interface, based on the recipient's host identifier in the encapsulated message, transmits the encapsulated message to the recipient's host's intermediate layer, specifically including: Based on the host identifier of the recipient in the encapsulated message, query at least one IP address and protocol information corresponding to the host identifier of the recipient, select the target IP address and target protocol information from the at least one IP address and protocol information, call the communication interface of the base layer, and transmit the encapsulated message to the middle layer of the recipient's host according to the target IP address and target protocol information.

10. A vehicle, characterized in that, The vehicle is equipped with an in-vehicle communication system as described in any one of claims 1-5.