Information processing method of communication middleware, storage medium and vehicle

By designing a communication middleware, it automatically detects and converts the information format between the domain controller and the single-function controller, the problem of low information processing accuracy is solved and efficient, safe and complete communication is achieved.

CN119561958AActive Publication Date: 2025-03-04CHINA FAW CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411604196.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-03-04
Estimated Expiration
2044-11-11

AI Technical Summary

Technical Problem

In the prior art, communication between a domain controller and a single-function controller is difficult to ensure the security and integrity of the communication due to the different information formats, resulting in low accuracy of information processing.

Method used

By designing a communication middleware, it connects the sending and receiving ends, automatically detects and converts the information format, ensures the information format compatibility, and performs logical processing to improve information integrity when compatibility is low.

Benefits of technology

It realizes efficient, secure and complete communication between the domain controller and the single-function controller, improves the accuracy of information processing, and solves the problem of low information processing accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561958A_ABST
    Figure CN119561958A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method of communication middleware, a storage medium and a vehicle. The method comprises the steps that communication middleware is used for connecting a sending end and a receiving end, the information format of the sending end is different from the information format of the receiving end, and the method comprises the steps that initial information from the sending end is obtained through the communication middleware, and the information format of the initial information corresponds to the information format of the sending end; the initial information is converted into target information in response to the fact that the compatibility between the sending end and the receiving end is larger than a compatibility threshold value, the compatibility is used for representing the cooperative work and communication capacity of the sending end and the receiving end, and the information format of the target information corresponds to the information format of the receiving end; in response to the condition that the compatibility is smaller than or equal to a compatibility threshold value, performing logic processing on the initial information, and converting the processed initial information into target information; and controlling the communication middleware to transmit the target information to a receiving end. The technical problem of low information processing accuracy is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to an information processing method of communication middleware, a storage medium and a vehicle. Background Art

[0002] Currently, for two different types of controllers, for example, domain controllers for services and single-function controllers for signals, domain controllers usually communicate based on service-oriented protocols, while single-function controllers communicate based on traditional signal transmission protocols. The communication between domain controllers and single-function controllers faces the problem of using different information formats for communication, which makes it difficult to ensure the security and integrity of the communication between domain controllers and single-function controllers. Therefore, there is still a technical problem of low accuracy in information processing.

[0003] Currently, no effective solution has been proposed to the above-mentioned technical problem of low accuracy in information processing. Summary of the invention

[0004] Embodiments of the present invention provide an information processing method, device, storage medium and vehicle for communication middleware, so as to at least solve the technical problem of low accuracy of information processing.

[0005] According to one aspect of an embodiment of the present invention, a communication middleware information processing method is provided. The method may include: the communication middleware is used to connect a sending end and a receiving end, and the information format of the sending end is different from the information format of the receiving end, including: obtaining initial information from the sending end through the communication middleware, wherein the information format of the initial information corresponds to the information format of the sending end; in response to the compatibility between the sending end and the receiving end being greater than the compatibility threshold, converting the initial information into target information, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in coordination, and the information format of the target information corresponds to the information format of the receiving end; in response to the compatibility being less than or equal to the compatibility threshold, performing logical processing on the initial information, and converting the processed initial information into the target information, wherein the integrity of the processed initial information is higher than the integrity of the initial information before processing; and controlling the communication middleware to transmit the target information to the receiving end.

[0006] Optionally, converting the initial information into the target information includes: in response to the communication middleware receiving the initial information, converting the initial information format into the target information format to obtain the corresponding target information.

[0007] Optionally, the sending end is a domain controller in the vehicle or a single-function controller in the vehicle, the receiving end is the domain controller or the single-function controller, the information format includes a signal format and a service format, the information format corresponding to the domain controller is the service format, and the information format corresponding to the single-function controller is the service format, wherein, in response to the communication middleware receiving the initial information, the initial information format of the initial information is converted into a target information format to obtain the corresponding target information, including: in response to the communication middleware receiving the initial information from the domain controller, the service format is converted into a signal format to obtain the target information; in response to the communication middleware receiving the initial information from the single-function controller, the signal format is converted into a service format to obtain the target information.

[0008] Optionally, the communication middleware includes a signal interface and a service interface, the signal interface is used to receive initial information from the single function controller, and the service interface is used to receive initial information from the domain controller.

[0009] Optionally, in response to the compatibility between the transmitting end and the receiving end being greater than a compatibility threshold, the initial information is converted into target information, including: in response to the compatibility being greater than the compatibility threshold, verifying the initial information to obtain a verification result, wherein the verification result is at least used to indicate whether the security of the initial information is higher than the security threshold; in response to the verification result being that the initial information verification is successful, the initial information is converted into target information.

[0010] Optionally, the communication middleware includes mapping logic information between the receiving end and the sending end, and the mapping logic information is used to represent the correspondence between the signal interface and the service interface corresponding to the receiving end and the sending end, wherein, in response to the compatibility being less than or equal to the compatibility threshold, the initial information is logically processed, and the processed initial information is converted into target information, including: in response to the compatibility being less than or equal to the compatibility threshold, the initial information is logically processed based on the conversion rules in the mapping logic information; and the initial information after logical processing is converted into target information.

[0011] Optionally, controlling the communication middleware to transmit the target information to the receiving end includes: encapsulating the target information, and controlling the communication middleware to transmit the encapsulated target information.

[0012] Optionally, the communication middleware is used to connect the sending end and the receiving end, and the information format of the sending end is different from the information format of the receiving end, including: an information processing module, used to respond to the compatibility between the sending end and the receiving end being less than or equal to the compatibility threshold, to perform logical processing on the initial information from the sending end, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate collaboratively, the information format of the initial information corresponds to the information format of the sending end, and the integrity of the processed initial information is higher than the integrity of the initial information before processing; an information conversion module, used to convert the initial information when the compatibility is greater than the compatibility threshold, or the processed initial information, into target information, wherein the information format of the target information corresponds to the information format of the receiving end; a sending module, used to transmit the target information to the receiving end.

[0013] Optionally, the sending end is a domain controller in the vehicle or a single-function controller in the vehicle, the receiving end is the domain controller or the single-function controller, the information format includes a signal format and a service format, the information format corresponding to the domain controller is the service format, and the information format corresponding to the single-function controller is the service format, wherein the information conversion module includes: a signal to service conversion module, used to convert the initial information in the signal format sent by the single-function controller into target information in the service format; a service to signal conversion module, used to convert the initial information in the service format sent by the domain controller into initial information in the information format.

[0014] Optionally, the communication middleware is a software module deployed on a domain controller.

[0015] According to another aspect of an embodiment of the present invention, there is also provided an information processing device of a communication middleware. The device may include: an acquisition unit, used to acquire initial information from a sending end, wherein the information format of the initial information corresponds to the information format of the sending end; a first conversion unit, used to convert the initial information into target information in response to the compatibility between the sending end and the receiving end being greater than a compatibility threshold, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in collaboration, and the information format of the target information corresponds to the information format of the receiving end; a second conversion unit, used to logically process the initial information in response to the compatibility being less than or equal to the compatibility threshold, and convert the processed initial information into target information, wherein the integrity of the processed initial information is higher than the integrity of the initial information before processing; a control unit, used to control the communication middleware to transmit the target information to the receiving end.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, which includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the information processing method of the communication middleware of the present invention.

[0017] According to another aspect of an embodiment of the present invention, a processor is provided, which is used to run a program, wherein the information processing method of the communication middleware of the embodiment of the present invention is executed when the program is run.

[0018] According to another aspect of the present invention, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, the information processing method of the communication middleware of the present invention is implemented.

[0019] According to another aspect of the embodiment of the present invention, a vehicle is provided, which is used to implement the information processing method of the communication middleware of the embodiment of the present invention.

[0020] In an embodiment of the present invention, a communication middleware is used to connect a sending end and a receiving end, and an information format of the sending end is different from an information format of the receiving end. Initial information from the sending end can be obtained through the communication middleware, wherein the information format of the initial information corresponds to the information format of the sending end; when the compatibility between the sending end and the receiving end is greater than a compatibility threshold, the initial information can be converted into target information, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in coordination, and the information format of the target information corresponds to the information format of the receiving end; when the compatibility is less than or equal to the compatibility threshold, the initial information can be logically processed and the processed initial information can be converted into target information, wherein the integrity of the processed initial information is higher than the integrity of the initial information before processing; the control communication middleware can transmit the target information to the receiving end.

[0021] In this embodiment, by setting a communication middleware, two controllers with different information formats can be connected, for example, a domain controller and a single-function controller. If the sending end needs to send information to the receiving end, the initial information sent can be converted into target information that meets the information format of the receiving end. By further determining the compatibility between the sending end and the receiving end, when the compatibility is large, the initial information can be directly transparently transmitted. When the compatibility is small, the integrity of the target information decreases, and direct transparent transmission will affect the accuracy of communication between the sending end and the receiving end. The target information can be processed and the target information with improved integrity after processing is transmitted to the receiving end. The purpose of communication between the domain controller and the single-function controller is achieved to achieve the technical effect of improving the accuracy of information processing, and solve the technical problem of low accuracy of information processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0023] Figure 1 is a flow chart of an information processing method of a communication middleware according to an embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of a functional implementation method of a communication middleware according to an embodiment of the present invention;

[0025] Figure 3 is a schematic diagram of deployment and implementation on a classic platform-side microcontroller unit according to an embodiment of the present invention;

[0026] Figure 4 is a schematic diagram of a deployment and implementation process on a system-level chip on an adaptive platform side according to an embodiment of the present invention;

[0027] Figure 5 is a schematic diagram of deployment of a functional device driver and its interactive relationship according to an embodiment of the present invention;

[0028] Figure 6 is a schematic diagram of a communication middleware according to an embodiment of the present invention;

[0029] Figure 7 It is a schematic diagram of an information processing device of a communication middleware according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] According to an embodiment of the present invention, an embodiment of an information processing method of a communication middleware is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0033] Figure 1 is a flow chart of an information processing method of a communication middleware according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:

[0034] Step S102, obtaining initial information from the sending end through the communication middleware.

[0035] In the technical solution provided in the above step S102 of the present invention, the communication middleware can connect the sending end and the receiving end, and the information format of the sending end is different from the information format of the receiving end. Among them, the information format of the initial information corresponds to the information format of the sending end.

[0036] In this embodiment, the communication middleware can transmit and process messages between different systems, and control data exchange and communication between different systems. The initial information from the sender can be obtained through the communication middleware. For example, in the vehicle's electronic and electrical architecture, the communication middleware (Signal to Service Function Device Driver, referred to as S2SFDD) can perform signal and service conversion between the domain controller and the single-function electronic control unit (Electronic Control Unit, referred to as ECU) in a service-oriented architecture (Service-Oriented Architecture, referred to as SOA) environment. It can ensure the two-way flow of information without interrupting system functions due to format mismatch. The initial information can be the corresponding service information and signal information, and the information format can be the service format and the signal format.

[0037] Optionally, the information format of the initial information corresponds to the information format of the sender, and can understand and adapt to the native information format of the sender without causing any misunderstanding or damage to the information. For example, if the sender uses the Controller Area Network (CAN) protocol, then the S2S FDD processes signal information in the CAN frame format at this stage.

[0038] Step S104: in response to the compatibility between the transmitting end and the receiving end being greater than the compatibility threshold, converting the initial information into target information.

[0039] In the technical solution provided in the above step S104 of the present invention, after obtaining the initial information from the sender through the communication middleware, if it is determined that the compatibility between the sender and the receiver is greater than the compatibility threshold, the initial information can be converted into target information. The compatibility is used to indicate the ability of the sender and the receiver to work and communicate in coordination, and the information format of the target information corresponds to the information format of the receiver.

[0040] In this embodiment, the compatibility between the sending end and the receiving end can be evaluated through the communication middleware to determine whether to directly transmit the information or to convert the mapping logic. The compatibility threshold can be determined based on factors such as the mapping rules between the signal and the service, the matching degree of the data type, and the compatibility of the communication protocol. The information format of the target information corresponds to the information format of the receiving end, that is, the target information after conversion will fully conform to the expected format of the receiving end, ensuring the integrity and accuracy of the target information, so that the target information can be directly understood and processed by the receiving end.

[0041] Optionally, compatibility can be the degree of match between the signal format of the sender and the service format of the receiver, which is used to measure the specific compatibility between the sender and the receiver, and standardization can provide a framework and rules for compatibility. Compatibility can be the ability of the communication middleware to adapt and process different information formats, that is, to enable effective communication between a signal-based single-function ECU and a service-based domain controller. The compatibility threshold can be a preset indicator used to determine the difficulty of information conversion.

[0042] Optionally, the compatibility threshold may be set based on experience or may be dynamically adjusted according to system requirements and performance requirements, so as to find a balance between information completeness and efficiency. This is only for illustration and is not specifically limited here.

[0043] Alternatively, high compatibility means that there is a direct or simple mapping relationship between signals and services, and communication can be achieved directly or with slight conversion. Standardization can improve compatibility and reduce the complexity of integration and maintenance. For example, defining a standardization of a service interface can ensure that all domain controllers use the same data format and communication rules to interact with ECUs, thereby improving software reusability and overall efficiency. The realization of compatibility often relies on standardized interfaces and protocols, as well as the intelligent conversion logic of the communication middleware. High compatibility means that the communication middleware can seamlessly handle various information formats even if there are significant differences.

[0044] In an embodiment of the present invention, if the compatibility between the sending end and the receiving end is greater than the compatibility threshold, it indicates that the information format and communication rules between the sending end and the receiving end are close enough, and the initial information from the sending end can be converted into a target information format that the receiving end can understand through direct transparent transmission.

[0045] Optionally, direct transparent transmission means that when the middleware forwards information, it does not modify or process the content of the information, but directly passes the received information from one interface to another. Direct transparent transmission can be used for signals that do not require any logical processing or conversion, that is, scenarios where signals or services can communicate directly between the domain controller and the single-function ECU. Direct transparent transmission ensures the originality and integrity of the information, reduces communication delays, improves communication efficiency, simplifies the design and implementation of communication middleware, and reduces potential sources of errors.

[0046] For example, in an automotive electronic system, if the mapping relationship between the CAN signal sent by the ECU and the service interface standard of the domain controller is clear and direct, then S2S FDD can directly complete the information conversion by mapping the parameters of the CAN signal to the parameters of the Scalable and Optimized Messaging over Internet Protocol (SOME / IP) service, so as to achieve the technical effect of improving the accuracy of information processing and solve the technical problem of low accuracy of information processing.

[0047] Step S106 , in response to the compatibility being less than or equal to the compatibility threshold, logically processing the initial information, and converting the processed initial information into target information.

[0048] In the technical solution provided in the above step S106 of the present invention, after obtaining the initial information from the sender through the communication middleware, if it is determined that the compatibility is less than or equal to the compatibility threshold, the initial information can be logically processed and the processed initial information can be converted into the target information. The integrity of the processed initial information is higher than the integrity of the initial information before processing.

[0049] In this embodiment, if the compatibility is lower than the compatibility threshold, the communication middleware can perform more complex logic processing. The logic processing makes the information more consistent with the expectations of the receiving end, avoiding data loss or misunderstanding. By performing logic processing on the initial information, the conversion of the mapping logic can be achieved, and the reuse of the software module of the domain controller can be achieved. The initial information from the sending end can be converted into a target information format that can be understood by the receiving end through the mapping logic conversion.

[0050] Optionally, the mapping logic conversion can be the conversion of information by the middleware according to predefined mapping rules when forwarding information to adapt to the specific format or logic requirements of the receiver. The mapping logic conversion can be used when there is protocol incompatibility, data format difference or logic mismatch between the domain controller and the single-function ECU. The mapping logic conversion can include signal to service conversion (Signal to Service), service to signal conversion (Service toSignal), and service to service, signal to signal conversion, etc. Through this mapping logic conversion, the communication middleware can ensure that different types of controllers can understand each other's communication content while maintaining the stability and compatibility of the sender and the receiver.

[0051] Optionally, the logic processing may include operations such as data reorganization, formatting, filtering, calculation, data type conversion, semantic interpretation, etc. It should be noted that the above logic processing operations are only for illustration and are not specifically limited here. As long as they can be used for communication middleware to perform logic processing operations, they are all within the protection scope of the embodiments of the present invention.

[0052] Step S108, controlling the communication middleware to transmit the target information to the receiving end.

[0053] In the technical solution provided in the above step S108 of the present invention, when the initial information is converted into the target information format and the integrity of the processed initial information is higher than the integrity of the initial information before processing, the communication middleware can be controlled to transmit the target information to the receiving end, ensuring that the target information can be transmitted to the receiving end accurately.

[0054] In this embodiment, the transmission in the communication middleware can be direct transparent transmission or mapping logic conversion, both of which are important mechanisms in the information transmission process, serving different scenarios and needs, and can achieve effective communication between the domain controller and the single-function ECU.

[0055] In the embodiment of the present invention, direct transparent transmission and mapping logic conversion complement each other in the communication middleware, which can ensure that while meeting the efficiency and standardization requirements, complex information conversion and logic adaptation problems can also be handled, thereby achieving efficient, stable and compatible communication between the domain controller and the single-function ECU.

[0056] In steps S102 to S108 of the embodiment of the present invention, the communication middleware is used to connect the sending end and the receiving end, and the information format of the sending end is different from the information format of the receiving end. The initial information from the sending end can be obtained through the communication middleware, wherein the information format of the initial information corresponds to the information format of the sending end; when the compatibility between the sending end and the receiving end is greater than the compatibility threshold, the initial information can be converted into target information, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in coordination, and the information format of the target information corresponds to the information format of the receiving end; when the compatibility is less than or equal to the compatibility threshold, the initial information can be logically processed and the processed initial information can be converted into target information, wherein the integrity of the processed initial information is higher than the integrity of the initial information before processing; the control communication middleware can transmit the target information to the receiving end.

[0057] In this embodiment, by setting a communication middleware, two controllers with different information formats can be connected, for example, a domain controller and a single-function controller. If the sending end needs to send information to the receiving end, the initial information sent can be converted into target information that meets the information format of the receiving end. By further determining the compatibility between the sending end and the receiving end, when the compatibility is large, the initial information can be directly transparently transmitted. When the compatibility is small, the integrity of the target information decreases, and direct transparent transmission will affect the accuracy of communication between the sending end and the receiving end. The target information can be processed and the target information with improved integrity after processing is transmitted to the receiving end. The purpose of communication between the domain controller and the single-function controller is achieved to achieve the technical effect of improving the accuracy of information processing, and solve the technical problem of low accuracy of information processing.

[0058] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.

[0059] As an optional implementation manner, step S104, converting the initial information into target information, includes: in response to the communication middleware receiving the initial information, converting the initial information format into the target information format to obtain the corresponding target information.

[0060] In this embodiment, when the communication middleware receives the initial information, the initial information format can be converted into the target information format to obtain the corresponding target information. By converting the initial information into the target information, the information format difference can be overcome, and the effective communication between different controllers can be promoted, while ensuring the security of information transmission and the accuracy of data processing.

[0061] Optionally, the initial information can be in various formats, such as traditional vehicle network protocols such as CAN, Local Interconnect Network (LIN), or non-standardized signal formats specific to a certain ECU. In the process of the communication middleware receiving the initial information from the sender, the communication middleware can identify the format of the information through the built-in parser, such as the signal identifier, data length, signal value encoding rules, etc. The communication middleware can convert the information format into the target information format to obtain the corresponding target information.

[0062] As an optional implementation method, the sending end is a domain controller in a vehicle or a single-function controller in a vehicle, the receiving end is a domain controller or a single-function controller, the information format includes a signal format and a service format, the information format corresponding to the domain controller is the service format, and the information format corresponding to the single-function controller is the service format, wherein, in response to the communication middleware receiving the initial information, the initial information format of the initial information is converted into a target information format to obtain the corresponding target information, including: in response to the communication middleware receiving the initial information from the domain controller, the service format is converted into a signal format to obtain the target information; in response to the communication middleware receiving the initial information from the single-function controller, the signal format is converted into a service format to obtain the target information.

[0063] In this embodiment, when the communication middleware receives the initial information from the domain controller, it can convert the service format into the signal format to obtain the target information, thereby realizing the conversion from service to signal. When the communication middleware receives the initial information from the single-function controller, it converts the signal format into the service format to obtain the target information, thereby realizing the conversion from signal to service. Through the bidirectional conversion function of the communication middleware, the conversion between signal and service is realized.

[0064] Optionally, the domain controller may be a service-oriented domain controller based on Ethernet. The single-function controller may be a signal-oriented traditional single-function controller based on a traditional network.

[0065] As an optional implementation manner, the communication middleware includes an information interface and a service interface, the information interface is used to receive initial information from the single function controller, and the service interface is used to receive initial information from the domain controller.

[0066] In this embodiment, a reliable communication bridge can be established between the domain controller and the single-function ECU through the communication middleware, which can realize the effective transmission and processing of information. The communication middleware can convert the upstream information interface signal interface into a service, and can also convert the downstream control service interface into a signal interface.

[0067] Optionally, the information interface is mainly responsible for receiving the initial information from the single-function controller. The above initial information can be a signal sent through a traditional vehicle network protocol (such as CAN, CAN Flexible Data Rate (Controller Area NetworkFlexible Data Rate, referred to as CAN-FD), LIN). In the uplink direction, the information interface can be abstracted into an information (Information, referred to as Info) type function device driver (Function DeviceDriver, referred to as FDD) module, which can convert the information and status of the single-function controller into a format understandable to the service interface. The service interface is used to receive the initial information from the domain controller, which can be provided in the form of a service. In the downlink direction, the service interface can be abstracted into a control (Control) type FDD module, which can convert the services of the domain controller into signals that the single-function controller can respond to.

[0068] As an optional implementation method, step S104, in response to the compatibility between the sending end and the receiving end being greater than the compatibility threshold, converting the initial information into target information, includes: in response to the compatibility being greater than the compatibility threshold, verifying the initial information to obtain a verification result, wherein the verification result is at least used to indicate whether the security of the initial information is higher than the security threshold; in response to the verification result being that the initial information verification is successful, converting the initial information into target information.

[0069] In this embodiment, according to the compatibility between the transmitting end and the receiving end being greater than the compatibility threshold, the initial information can be checked to obtain a test result of whether the security of the initial information is higher than the security threshold. When the test result is that the initial information test is successful, the initial information can be converted into target information. The test, which can also be called security verification, can prevent the data packet from being tampered with or attacked during the transmission process.

[0070] Optionally, when the compatibility between the sender and the receiver is greater than the compatibility threshold, and the security of the initial information is higher than the security threshold, direct transparent transmission can be performed. During direct transparent transmission, encapsulation and decapsulation operations can be performed to adapt to the network layer requirements of different communication protocols. The data maintains its original form and semantics during transmission and is not changed by any intermediate processing layer. That is, S2S FDD only encapsulates and decapsulates data without any additional data conversion or logical processing.

[0071] Optionally, in S2S FDD, the configuration of files according to the locked service list can ensure the standardization and unification of service interfaces. Based on the locked communication library file, the signal side interface can be configured. In the logic development tool, based on the evaluation results of compatibility and security, if direct transparent transmission is allowed, the configured interface can be used directly for communication, skipping the complex mapping logic. Integrating the developed mapping logic code into the software base of the domain controller and conducting comprehensive testing can ensure that the data packet is not tampered with or attacked during transmission. The test should cover various possible communication scenarios and security threats to verify the reliability and security of direct transparent transmission. Direct transparent transmission, while fully considering compatibility and security, can improve the efficiency and overall performance of communication.

[0072] As an optional implementation method, the communication middleware includes mapping logic information between the receiving end and the sending end, and the mapping logic information is used to represent the correspondence between the signal interface and the service interface corresponding to the receiving end and the sending end, wherein, in response to the compatibility being less than or equal to the compatibility threshold, the initial information is logically processed, and the processed initial information is converted into target information, including: in response to the compatibility being less than or equal to the compatibility threshold, the initial information is logically processed based on the conversion rules in the mapping logic information; and the initial information after logical processing is converted into target information.

[0073] In this embodiment, when the compatibility between the transmitting end and the receiving end is less than or equal to the compatibility threshold, the initial information may be logically processed based on the conversion rule in the mapping logic information, and the logically processed initial information may be converted into target information.

[0074] Optionally, the mapping logic information, which can also be called a mapping relationship table, can include the correspondence between the signal and the service interface between the receiving end and the sending end, as well as the conversion rules between the above interfaces. Connecting the output of the signal-based single-function controller with the input of the service-based domain controller can ensure that the signal-based single-function controller and the service-based domain controller can communicate effectively. The mapping relationship table can provide the communication middleware with specific guidance on how to convert between signals and service interfaces, and guide the communication middleware on how to correctly convert information, which is the basis of logical processing and information conversion. The mapping relationship table can be dynamically adjusted as the demand changes, that is, the communication middleware can flexibly apply appropriate conversion rules in different scenarios or different compatibilities. For example, when connecting different ECUs, the rules in the mapping relationship table can be adjusted to adapt to the new signal format. Through the mapping relationship table, the communication middleware can realize standardized processing of signals and convert them into a unified service interface format, which helps to improve the reusability and portability of the domain controller at the software level.

[0075] As an optional implementation manner, controlling the communication middleware to transmit the target information to the receiving end includes: encapsulating the target information, and controlling the communication middleware to transmit the encapsulated target information.

[0076] In this embodiment, when controlling the communication middleware to transmit the target information to the receiving end, the target information can be encapsulated, and the communication middleware can be controlled to organize and encapsulate the encapsulated target information, that is, organize and encapsulate the information. The organization and encapsulation of information in the direct transparent transmission and mapping logic conversion of the communication middleware can ensure the effective transmission of information between different types of controllers. The organization and encapsulation in direct transparent transmission can adapt to different communication protocols and ensure the security of data; in the mapping logic conversion, in addition to the adaptation protocol and security considerations, complex logical processing is also required to convert the data into a format that the destination controller can understand and respond to.

[0077] Optionally, in direct transparent transmission mode, the communication middleware can ensure that information is transmitted losslessly and without delay between the domain controller and the single-function controller, achieving data format standardization and communication protocol adaptation. Data format standardization can format data while ensuring that the domain controller and the single-function controller can recognize and process the same data, for example, converting specific data types into a format supported by both the domain controller and the single-function controller, or organizing data into a specific structure for easy parsing by the receiver. During the communication protocol adaptation process, the domain controller can use Ethernet communication protocols such as SOME / IP and Data Distribution Service (DDS), while the single-function controller can use CAN, CAN-FD or LIN protocols. In direct transparent transmission, the communication middleware needs to convert between communication protocols, including encapsulating information into the data packet form of the source protocol and decapsulating the data packet into the data format of the destination protocol at the other end.

[0078] Optionally, in the mapping logic conversion scenario, the communication middleware must not only realize the transparent transmission of information, but also complete the conversion from signal to service or from service to signal, which involves complex logical processing. During the logical processing, the communication middleware needs to process and convert information according to the mapping logic, for example, integrating multiple signals into one service, or splitting multiple signals from one service. In the conversion from service to signal, the communication middleware needs to encapsulate the processed service information into a signal format that a single-function controller can understand and respond to. Conversely, in the conversion from signal to service, the signal needs to be encapsulated into the service interface format of the domain controller.

[0079] In summary, the organization and packaging of information helps to achieve the standardization of service interfaces and maintain the uniformity of domain controller service interfaces, which is of great significance to the reuse of software modules and the simplification of domain controller development.

[0080] In an embodiment of the present invention, a communication middleware is used to connect a sending end and a receiving end, and an information format of the sending end is different from an information format of the receiving end. Initial information from the sending end can be obtained through the communication middleware, wherein the information format of the initial information corresponds to the information format of the sending end; when the compatibility between the sending end and the receiving end is greater than a compatibility threshold, the initial information can be converted into target information, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in coordination, and the information format of the target information corresponds to the information format of the receiving end; when the compatibility is less than or equal to the compatibility threshold, the initial information can be logically processed and the processed initial information can be converted into target information, wherein the integrity of the processed initial information is higher than the integrity of the initial information before processing; the control communication middleware can transmit the target information to the receiving end.

[0081] In this embodiment, by setting a communication middleware, two controllers with different information formats can be connected, for example, a domain controller and a single-function controller. If the sending end needs to send information to the receiving end, the initial information sent can be converted into target information that meets the information format of the receiving end. By further determining the compatibility between the sending end and the receiving end, when the compatibility is large, the initial information can be directly transparently transmitted. When the compatibility is small, the integrity of the target information decreases, and direct transparent transmission will affect the accuracy of communication between the sending end and the receiving end. The target information can be processed and the target information with improved integrity after processing is transmitted to the receiving end. The purpose of communication between the domain controller and the single-function controller is achieved to achieve the technical effect of improving the accuracy of information processing, and solve the technical problem of low accuracy of information processing.

[0082] Another optional specific implementation is described in detail below.

[0083] At present, with the gradual promotion and application of SOA in the electronic and electrical architecture of the whole vehicle, there will always be two types of controllers in the in-vehicle network communication: service-oriented domain controllers based on Ethernet and signal-oriented traditional single-function controllers based on traditional networks. Domain controllers are mainly based on Ethernet communication protocols, while single-function controllers are mainly based on CAN, CAN-FD and LIN protocol communications. How to achieve complete information transmission between these two types of controllers in the vehicle is a key issue. In addition, the security of information transmission needs to be guaranteed, for example, to meet the requirements of end-to-end security verification (End to End, referred to as E2E) security verification and secure on-board communication (SecOC).

[0084] In view of the coexistence of domain controllers and single-function controllers in the current vehicle electronic and electrical architecture, the present invention proposes a communication middleware design and implementation method. The communication middleware (Signal to Service Function Device Driver, referred to as S2S FDD / S2S) can perform reliable communication between two types of controllers (domain controllers and single-function ECUs) to achieve the technical effect of improving the accuracy of information processing and solve the technical problem of low accuracy of information processing.

[0085] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.

[0086] Figure 2 is a schematic diagram of a functional implementation method of a communication middleware according to an embodiment of the present invention, such as Figure 2 As shown in the figure, the deployment of S2S FDD can be realized for the classic platform (CP) and adaptive platform (AP) of the current domain controller of the Automotive Open System Architecture (AUTOSAR). Therefore, this method can adapt the functions of the two platforms of AP and CP to interact with the traditional controller. AP uses adaptive applications to communicate in a service-oriented manner and connects to the gateway electronic control unit through Ethernet, that is, the classic platform of the automotive open system architecture. CP is connected to the electronic control unit through the controller area network, and the electronic control unit communicates based on signals through the classic software component (Classic Software Component, Classic SWC). Classic SWC can realize the modularity and reusability of functions in automotive electronic systems, so that software functions can be developed and tested independently of the hardware platform, thereby simplifying the development process and improving software quality and development efficiency.

[0087] Optionally, for the information transmitted by the S2S communication middleware, it is possible to realize direct transparent transmission of information and conversion of mapping logic. While transmitting information, it is possible to realize conversion of basic logic, organization and packaging of information. Since the signals sent by traditional controllers are logically processed and packaged, the standardization of service interfaces can be achieved, and the standardization and unification of domain controller service interfaces can be maintained, which is conducive to the reuse of domain controller software modules, thereby improving the overall development and transplantation efficiency of domain controllers. Similarly, while ensuring that the signal protocol does not change significantly, the domain controller can be adapted to the same single-function controller from different manufacturers by adjusting the mapping relationship of the communication middleware and changing the mapping logic, which greatly improves the upgrade and iteration of products and the security and stability of the supply chain.

[0088] Optionally, the FDD module is designed and deployed on the domain controller as part of the software component to realize the information exchange between the domain controller and the single-function ECU. The FDD module acts as a bridge between the domain controller and the single-function controller, and can perform signal-to-service and / or service-to-signal conversion, so that two different types of controllers can communicate through a standard interface. S2S can realize both service-to-signal conversion and signal-to-service conversion, and has a bidirectional conversion function, which can convert the upstream information interface signal interface into a service, and can also convert the downstream control service interface into a signal interface.

[0089] Optionally, the signal sent by a single-function controller can be abstracted into an Info-type FDD module. The FDD that exposes information and status to the outside is called the uplink FDD. The original service interface received by the single-function controller must be converted into a signal before it can be responded to by the single-function controller. The FDD that receives the service interface internally and converts it into a signal is called the downlink FDD. That is, signal-to-service is called Info-type uplink, and service-to-signal is called Control-type downlink.

[0090] Optionally, a chip-based S2S FDD is established on the domain controller, which can be called a virtual gateway to undertake the conversion of signals and services of all SWCs on the domain controller chip. It can realize and manage the conversion of the transceiver interface between the SWC on the entire domain controller chip and the single-function controller.

[0091] Figure 3 is a schematic diagram of deployment and implementation on a classic platform-side microcontroller unit according to an embodiment of the present invention, such as Figure 3 As shown in Figure 1, the S2S function implements the mapping between signals and services in the application layer software components, and implements signal-based and service-based communication through the communication stack in the Basic Software Layer (BSW). The application layer software components interact with the runtime environment through standardized interfaces, including input and output interfaces, service interfaces, and mode interfaces. The input and output interfaces are used to exchange data with other software components or hardware. The service interface is used to call the services of the BSW. The mode interface is used to manage the running status of the software components.

[0092] Optionally, during the communication process, incompatible communication protocols or interfaces may become system security vulnerabilities because they may not meet unified security standards, such as E2E security verification and SecOC requirements, which will increase the risk of attacks or data leakage. E2E security verification can ensure the security of data during transmission, usually involving encryption, authentication, integrity verification and other technologies to protect data from tampering, theft or forgery. SecOC can be used to protect the security of internal vehicle communications. Through encryption, authentication and integrity verification technologies, it ensures that the communication between various modules inside the vehicle is safe and reliable, preventing malicious attacks or data tampering.

[0093] Figure 4 is a schematic diagram of a deployment and implementation process on a system-level chip on an adaptive platform side according to an embodiment of the present invention, such as Figure 4 As shown in the figure, the Ethernet protocol data unit is used to describe the data packet format exchanged between the domain controller and the single-function ECU through Ethernet communication. Specifically, it can be a data unit formed by encapsulating the signal data from the single-function ECU to the domain controller, or the service data from the domain controller to the single-function ECU through the Ethernet protocol. The CP can encapsulate the PDU data converted from the traditional network (such as CAN, LIN) into the Ethernet protocol data unit (Ethernet Protocol Data Unit, referred to as ETH_PDU) format so as to communicate with the AP through the Ethernet backbone network. The AP side needs to decapsulate the received ETH_PDU, extract the service data, and pass it to the corresponding application layer software component for processing. The CP can realize the function of converting PDU to ETH PDU, and the AP side can realize the conversion between Ethernet protocol data unit and service, and finally realize signal-based and service-based communication interaction.

[0094] Figure 5 FIG. 1 is a schematic diagram of the deployment of a functional device driver and its interactive relationship according to an embodiment of the present invention. Figure 5 As shown, in the system-on-a-chip (SOC) adaptive platform, the software components are connected to the software components through the on-chip SOA interface communication, and the gateway is connected to the electronic control unit through the software components. The gateway is connected to the software components through the on-chip SOA interface communication, and the gateway is connected to the software components through the on-chip SOA interface communication. The microcontroller unit chip classic platform is connected to the electronic control unit through the controller area network. The SOC adaptive platform is connected to the electronic control unit through the local Internet, and is connected to the electronic control unit through the local Internet.

[0095] Optionally, an S2S type FDD can realize information transmission between the domain controller and the single-function ECU in the vehicle's electronic and electrical architecture. The design of the S2S service side can be completed by designing the service list and following the Ethernet service list design template. Based on the locked service list, the ARXML file service side interface can be configured according to the model configuration tool. Among them, the ARXML file represents an XML file format defined in the AUTOSAR standard. In the logic development tool, the mapping can be established based on the S2S mapping table to achieve the mapping logic, and the exported code file can be integrated into the domain controller base to realize the S2S communication function.

[0096] Optionally, the Ethernet service list design template provides a standardized framework for the service side design of S2S FDD. It involves defining the service name, identifier, input and output parameters, service type (such as request / response, subscription / notification), etc. to ensure the standardization and uniformity of the service interface. The locked service list can be a service list determined in the design phase and cannot be changed at will to ensure the consistency of subsequent development and integration. After locking the service list, you can use model configuration tools such as MATLAB / Simulink or Rhapsody to generate ARXML files. ARXML files are files used to describe software component interfaces under the AUTOSAR standard and contain configuration information of service side interfaces. Based on the locked communication library files (such as dbc, ldf), the configuration of the signal side interface can be completed with the help of configuration tools. And export the ARXML file of the software module for the transceiver interface configuration. The dbc and ldf files are databases and description files for CAN and LIN communication protocols, respectively, and can lock the configuration of the communication network, such as signal name, signal identifier, signal sending and receiving nodes, etc. Model configuration can use configuration tools such as Vector CANoe and CANape. After completing the configuration of the signal side interface based on the locked communication library file, export the ARXML file of the configured software module, which may contain detailed information of the signal side interface configuration.

[0097] Through the above analysis, the development and implementation of S2S FDD combines service design, signal configuration and logic mapping to form a complete solution, which can improve the efficiency and security of information transmission in the electronic and electrical architecture of the whole vehicle, and at the same time realize the standardization and reuse of software modules, enhance the adaptability of domain controllers to different controllers, achieve the technical effect of improving the accuracy of information processing, and solve the technical problem of low accuracy of information processing.

[0098] Figure 6 is a schematic diagram of a communication middleware according to an embodiment of the present invention, such as Figure 6As shown, the communication middleware 600 is used to connect a sending end 601 and a receiving end 602. The information format of the sending end is different from the information format of the receiving end. The communication middleware 600 includes:

[0099] The information processing module 603 is used to perform logical processing on the initial information from the sending end in response to the compatibility between the sending end and the receiving end being less than or equal to the compatibility threshold, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in coordination, the information format of the initial information corresponds to the information format of the sending end, and the integrity of the processed initial information is higher than the integrity of the initial information before processing.

[0100] In this embodiment, in response to the compatibility between the sender and the receiver being less than or equal to the compatibility threshold, the initial information from the sender can be logically processed by the information processing module 603. The compatibility can represent the ability of the sender and the receiver to work and communicate in collaboration, the information format of the initial information corresponds to the information format of the sender, and the integrity of the processed initial information is higher than the integrity of the initial information before processing.

[0101] The information conversion module 604 is used to convert the initial information when the compatibility is greater than the compatibility threshold, or the processed initial information, into target information, wherein the information format of the target information corresponds to the information format of the receiving end.

[0102] In this embodiment, the initial information with a compatibility greater than the compatibility threshold or the processed initial information can be converted into target information by the information conversion module 604. The information format of the target information corresponds to the information format of the receiving end.

[0103] The sending module 605 is used to transmit the target information to the receiving end.

[0104] In this embodiment, the target information can be transmitted to the receiving end through the sending module 605, thereby achieving the technical effect of improving the accuracy of information processing and solving the technical problem of low accuracy of information processing.

[0105] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.

[0106] As an optional implementation method, the communication middleware, the sending end is a domain controller in a vehicle or a single-function controller in a vehicle, the receiving end is a domain controller or a single-function controller, the information format includes a signal format and a service format, the information format corresponding to the domain controller is the service format, and the information format corresponding to the single-function controller is the service format, wherein the information conversion module includes: a signal to service conversion module, used to convert the initial information of the signal format sent by the single-function controller into the target information of the service format; a service to signal conversion module, used to convert the initial information of the service format sent by the domain controller into the initial information of the information format.

[0107] In this embodiment, when the transmitting end is a domain controller in a vehicle, the receiving end is a domain controller, and the corresponding information format is a service format; when the transmitting end is a single-function controller in a vehicle, the receiving end is a single-function controller, and the corresponding information format is a service format. The information conversion module can convert the initial information in the signal format sent by the single-function controller into the target information in the service format through the signal-to-service conversion module. The initial information in the service format sent by the domain controller can be converted into the initial information in the information format through the service-to-signal conversion module.

[0108] Optionally, the information conversion module can realize the information format conversion between the domain controller and the single-function controller, so that the sending end and the receiving end can communicate and interact effectively, improve the collaboration and integration between different controllers, and thus achieve more efficient and intelligent operation. The signal-to-service conversion module can convert the information in the signal format sent by the single-function controller into the information in the service format, thereby realizing the communication and data exchange between the single-function controller and the domain controller. The service-to-signal conversion module can convert the information in the service format sent by the domain controller into the information in the message format, thereby realizing the communication and data exchange between the domain controller and the single-function controller.

[0109] As an optional implementation manner, the communication middleware is a software module deployed in a domain controller.

[0110] In this embodiment, the FDD modules are software modules deployed on the domain controller, and through the development of the domain controller base, communication and interaction with the single-function controller can be realized. The deployment and interaction relationship of the FDD module plays a bridging role between different types of electronic control units, especially between service-oriented architecture and traditional signal-based electronic control units.

[0111] Optionally, in a CP environment, the FDD module is deployed on the MCU as a software component to process and convert data to meet the communication requirements between traditional ECUs and service-based ECUs. In the application layer of the domain controller, the FDD module is responsible for converting service requests into signal formats so that they can be transmitted to the corresponding single-function ECUs through traditional communication protocols such as CAN and LIN. When the single-function ECU responds or sends a signal, the FDD module converts the above signal into a service format on the MCU. The FDD module relies on the Communication (COM) module of the BSW layer to implement signal-based communication and service-based communication by using different communication stacks, such as using the CAN communication stack to process signals and using the Ethernet communication stack to process services.

[0112] Optionally, on the AP side, the FDD module may be part of a Protocol Data Unit (PDU) gateway, responsible for converting PDU formatted data packets into SOME / IP or DDS services on Ethernet, enabling the AP side to interact more efficiently with signal-based traditional ECUs. For communication from services to traditional signals, the FDD on the AP side converts service requests into PDU format, which is then further converted into CAN or LIN signals through the PDU gateway and sent to the traditional ECU. In the communication flow from traditional signals to services, the FDD module can receive signals from traditional ECUs, convert the above signals into PDUs through the PDU gateway, and convert them into services in the AP environment.

[0113] In the embodiment of the present invention, by deploying the FDD module on the key communication node and making use of its conversion capability for different protocols, seamless communication between various ECUs in complex automotive electronic systems can be achieved, while ensuring the integrity, correctness and reliability of information transmission, achieving the technical effect of improving the accuracy of information processing and solving the technical problem of low accuracy of information processing.

[0114] According to an embodiment of the present invention, there is also provided an information processing device for communication middleware. It should be noted that the information processing device for communication middleware can be used to execute the information processing method for communication middleware in the above embodiment.

[0115] Figure 7 is a schematic diagram of an information processing device of a communication middleware according to an embodiment of the present invention. Figure 7 As shown, the information processing device 700 of the communication middleware includes: an acquisition unit 702 , a first conversion unit 704 , a second conversion unit 706 and a control unit 708 .

[0116] The acquisition unit 702 is configured to acquire initial information from a sending end, wherein the information format of the initial information corresponds to the information format of the sending end.

[0117] The first conversion unit 704 is used to convert the initial information into target information in response to the compatibility between the sending end and the receiving end being greater than the compatibility threshold, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in coordination, and the information format of the target information corresponds to the information format of the receiving end.

[0118] The second conversion unit 706 is used to perform logical processing on the initial information in response to the compatibility being less than or equal to the compatibility threshold, and convert the processed initial information into target information, wherein the integrity of the processed initial information is higher than the integrity of the initial information before processing.

[0119] The control unit 708 is used to control the communication middleware to transmit the target information to the receiving end.

[0120] Optionally, the first conversion unit 704 may further include: a first conversion module, configured to convert an initial information format of the initial information into a target information format in response to the communication middleware receiving the initial information, so as to obtain corresponding target information.

[0121] Optionally, the device may also include: a first acquisition unit, used to convert the service format into a signal format to obtain target information in response to the communication middleware receiving initial information from the domain controller; a second acquisition unit, used to convert the signal format into a service format to obtain target information in response to the communication middleware receiving initial information from the single-function controller.

[0122] Optionally, the first conversion module may also include: a first conversion sub-module, used to convert the service format into a signal format to obtain target information in response to the communication middleware receiving initial information from the domain controller; a second conversion sub-module, used to convert the signal format into a service format to obtain target information in response to the communication middleware receiving initial information from the single-function controller.

[0123] Optionally, the device may further include: a first interface unit, used to receive initial information from a single function controller; and a second interface unit, used to receive initial information from a domain controller.

[0124] Optionally, the first conversion unit 704 may include: a verification module, used to verify the initial information in response to the compatibility being greater than the compatibility threshold, and obtain a verification result, wherein the verification result is at least used to indicate whether the security of the initial information is higher than the security threshold; a second conversion module, used to convert the initial information into target information in response to the verification result being that the initial information verification is successful.

[0125] Optionally, the second conversion unit 706 may include: a processing module, used to perform logical processing on the initial information based on the conversion rules in the mapping logic information in response to the compatibility being less than or equal to the compatibility threshold; and a third conversion module, used to convert the initial information after logical processing into target information.

[0126] Optionally, the control unit 708 may further include: an encapsulation module, configured to encapsulate the target information and control the communication middleware to encapsulate the target information.

[0127] In an embodiment of the present invention, the initial information from the transmitting end is obtained by the acquisition unit 702, wherein the information format of the initial information corresponds to the information format of the transmitting end. The first conversion unit 704 responds to the compatibility between the transmitting end and the receiving end being greater than the compatibility threshold, and converts the initial information into target information, wherein the compatibility is used to indicate the ability of the transmitting end and the receiving end to work and communicate together, and the information format of the target information corresponds to the information format of the receiving end. The second conversion unit 706 responds to the compatibility being less than or equal to the compatibility threshold, and logically processes the initial information, and converts the processed initial information into target information, wherein the integrity of the processed initial information is higher than the integrity of the initial information before processing. The control unit 708 controls the communication middleware to transmit the target information to the receiving end. The technical effect of improving the accuracy of information processing is achieved, and the technical problem of low accuracy of information processing is solved.

[0128] According to an embodiment of the present invention, a computer-readable storage medium is further provided. The storage medium includes a stored program, wherein the program executes the information processing method of the communication middleware in the above embodiment.

[0129] According to an embodiment of the present invention, a processor is further provided. The processor is used to run a program, wherein the information processing method of the communication middleware in the above embodiment is executed when the program is run.

[0130] The embodiment of the present invention further provides a computer program product. Optionally, in this embodiment, the computer program product may include a computer program, and when the computer program is executed by a processor, the information processing method of the communication middleware of the embodiment of the present invention is implemented.

[0131] According to an embodiment of the present invention, a vehicle is further provided. The vehicle is used to execute the information processing method of the communication middleware of the embodiment of the present invention.

[0132] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0133] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0134] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0135] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0136] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0137] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An information processing method for communication middleware, characterized in that: The communication middleware is used to connect the sending end and the receiving end, and the information format of the sending end is different from the information format of the receiving end, including: Acquiring initial information from the sending end through the communication middleware, wherein the information format of the initial information corresponds to the information format of the sending end; In response to the compatibility between the sending end and the receiving end being greater than a compatibility threshold, converting the initial information into target information, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in collaboration, and the information format of the target information corresponds to the information format of the receiving end; In response to the compatibility being less than or equal to a compatibility threshold, performing logical processing on the initial information, and converting the processed initial information into the target information, wherein the integrity of the processed initial information is higher than the integrity of the initial information before the processing; Control the communication middleware to transmit the target information to the receiving end.

2. The method according to claim 1, characterized in that Converting the initial information into target information includes: In response to the communication middleware receiving the initial information, the initial information format of the initial information is converted into a target information format to obtain the corresponding target information.

3. The method according to claim 2, characterized in that The transmitting end is a domain controller in a vehicle or a single-function controller in the vehicle, the receiving end is the domain controller or the single-function controller, the information format includes a signal format and a service format, the information format corresponding to the domain controller is the service format, and the information format corresponding to the single-function controller is the service format, wherein, in response to the communication middleware receiving the initial information, the initial information format of the initial information is converted into a target information format to obtain the corresponding target information, including: In response to the communication middleware receiving the initial information from the domain controller, converting the service format into the signal format to obtain the target information; In response to the communication middleware receiving the initial information from the single function controller, the signal format is converted into the service format to obtain the target information.

4. The method according to claim 3, characterized in that The communication middleware includes a signal interface and a service interface, the signal interface is used to receive the initial information from the single function controller, and the service interface is used to receive the initial information from the domain controller.

5. The method according to claim 1, characterized in that In response to the compatibility between the transmitting end and the receiving end being greater than a compatibility threshold, converting the initial information into target information includes: In response to the compatibility being greater than the compatibility threshold, verifying the initial information to obtain a verification result, wherein the verification result is at least used to indicate whether the security of the initial information is higher than the security threshold; In response to the verification result indicating that the initial information is successfully verified, the initial information is converted into the target information.

6. The method according to claim 1, characterized in that The communication middleware includes mapping logic information between the receiving end and the sending end, and the mapping logic information is used to represent the corresponding relationship between the signal interface and the service interface corresponding to the receiving end and the sending end, wherein, in response to the compatibility being less than or equal to the compatibility threshold, the initial information is logically processed, and the processed initial information is converted into the target information, including: In response to the compatibility being less than or equal to the compatibility threshold, performing logic processing on the initial information based on a conversion rule in the mapping logic information; The original information after logical processing is converted into the target information.

7. The method according to claim 1, characterized in that Controlling the communication middleware to transmit the target information to the receiving end includes: The target information is encapsulated, and the communication middleware is controlled to encapsulate the target information.

8. A communication middleware, characterized in that: The communication middleware is used to connect the sending end and the receiving end, and the information format of the sending end is different from the information format of the receiving end, including: an information processing module, configured to perform logic processing on the initial information from the sending end in response to the compatibility between the sending end and the receiving end being less than or equal to a compatibility threshold, wherein the compatibility is used to indicate the ability of the sending end and the receiving end to work and communicate in collaboration, the information format of the initial information corresponds to the information format of the sending end, and the integrity of the initial information after processing is higher than the integrity of the initial information before processing; An information conversion module, used to convert the initial information when the compatibility is greater than the compatibility threshold, or the processed initial information, into target information, wherein the information format of the target information corresponds to the information format of the receiving end; A sending module is used to transmit the target information to the receiving end.

9. The communication middleware according to claim 8, characterized in that: The transmitting end is a domain controller in the vehicle or a single-function controller in the vehicle, the receiving end is the domain controller or the single-function controller, the information format includes a signal format and a service format, the information format corresponding to the domain controller is the service format, and the information format corresponding to the single-function controller is the service format, wherein the information conversion module includes: A signal-to-service conversion module, configured to convert the initial information in the signal format sent by the single-function controller into the target information in the service format; The service-to-signal conversion module is used to convert the initial information in the service format sent by the domain controller into the initial information in the information format.

10. The communication middleware according to claim 9, characterized in that: The communication middleware is a software module used to be deployed on the domain controller.

11. A processor, characterized in that: The processor is used to run a program, wherein the program, when run by the processor, executes the information processing method of the communication middleware according to any one of claims 1 to 7.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the information processing method of the communication middleware according to any one of claims 1 to 7.

13. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the information processing method of the communication middleware according to any one of claims 1 to 7.

14. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the information processing method of the communication middleware according to any one of claims 1 to 7.

15. A vehicle, characterized in that: An information processing method for executing the communication middleware described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Vehicle information transmission method, device, electronic equipment and storage medium

    CN113872967A

  • Data processing method and device based on communication application and readable storage medium

    CN117312018A

  • Signal processing method, controller and storage medium

    CN118264525A

  • Intelligent gateway method compatible with multiple protocols, server, medium and program product

    CN118869556A

  • Vehicle signal relay service

    US20240333802A1