Information processing methods, storage media, and vehicles of communication middleware
By using communication middleware to determine the information format conversion between domain controllers and single-function controllers based on a compatibility threshold, the problem of low information processing accuracy is solved, and efficient and stable information transmission is achieved.
Patent Information
- Application Number
- CN202411604196.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-11-11
AI Technical Summary
The communication between domain controllers and single-function controllers uses different information formats, which makes it difficult to guarantee the security and integrity of the communication and results in low accuracy of information processing.
The communication middleware connects the sending and receiving ends, and determines whether to perform information format conversion based on the compatibility threshold. If the compatibility is high, the information is directly transmitted; if the compatibility is low, logical processing is performed to ensure that the information format matches the receiving end and improve information integrity.
It enables efficient and stable communication between domain controllers and single-function controllers, improving the accuracy and security of information processing.
Smart Images

Figure CN119561958B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and more specifically, to an information processing method for a communication middleware, a storage medium, and a vehicle. Background Technology
[0002] Currently, for two different types of controllers—service-oriented domain controllers and signal-oriented single-function controllers—domain controllers typically communicate based on service-oriented protocols, while single-function controllers communicate based on traditional signal transmission protocols. Communication between domain controllers and single-function controllers faces the challenge of using different information formats, making it difficult to guarantee the security and integrity of communication. Therefore, the technical problem of low accuracy in information processing persists.
[0003] There is currently no effective solution to the technical problem of low accuracy in the aforementioned information processing. Summary of the Invention
[0004] This invention provides an information processing method, apparatus, storage medium, and vehicle for communication middleware, to at least solve the technical problem of low accuracy in information processing.
[0005] According to one aspect of the present invention, an information processing method for a communication middleware is provided. The method may include: the communication middleware connecting a sending end and a receiving end, wherein the information format of the sending end is different from the information format of the receiving end; 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; converting the initial information into target information in response to a compatibility degree between the sending end and the receiving end being greater than a compatibility threshold, wherein the compatibility degree represents the ability of the sending end and the receiving end to work and communicate collaboratively, and the information format of the target information corresponds to the information format of the receiving end; performing logical processing on the initial information in response to a compatibility degree less than or equal to the compatibility threshold, and converting the processed initial information into target information, wherein the completeness of the processed initial information is higher than the completeness of the initial information before processing; and controlling the communication middleware to transmit the target information to the receiving end.
[0006] Optionally, converting initial information into target information includes: in response to the communication middleware receiving initial information, converting the initial information format of the initial information into the target information format to obtain the corresponding target information.
[0007] Optionally, the sending end is a domain controller or a single-function controller in the vehicle, and 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. In response to the communication middleware receiving initial information, the initial information format of the initial information is converted into the target information format to obtain the corresponding target information. This includes: in response to the communication middleware receiving initial information from the domain controller, converting the service format into a signal format to obtain the target information; and in response to the communication middleware receiving initial information from the single-function controller, converting the signal format 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 sender and receiver 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, the initial information is checked to obtain a check result, wherein the check result is used at least to indicate whether the security of the initial information is higher than the security threshold; in response to the check result indicating that the initial information has been successfully checked, the initial information is converted into target information.
[0010] Optionally, the communication middleware includes mapping logic information between the receiver and the transmitter. The mapping logic information is used to represent the correspondence between the signal interfaces and service interfaces corresponding to the receiver and the transmitter. In response to the compatibility degree being less than or equal to a compatibility threshold, the initial information is logically processed and the processed initial information is converted into target information. This includes: in response to the compatibility degree being less than or equal to a compatibility threshold, logical processing of the initial information is performed based on the conversion rules in the mapping logic information; and the logically processed initial information is converted into target information.
[0011] Optionally, controlling the communication middleware to transmit 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 connects the sender and receiver, where the information format of the sender differs from that of the receiver. It includes: an information processing module, used to logically process initial information from the sender in response to a compatibility threshold between the sender and receiver, wherein the compatibility threshold represents the ability of the sender and receiver to work and communicate collaboratively, the information format of the initial information corresponds to that of the sender, and the completeness of the processed initial information is higher than that of the unprocessed initial information; an information conversion module, used to convert the initial information (where the compatibility threshold is greater than the compatibility threshold) or the processed initial information into target information, wherein the information format of the target information corresponds to that of the receiver; and a sending module, used to transmit the target information to the receiver.
[0013] Optionally, the sending end is a domain controller or a single-function controller in the vehicle, and 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. 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; and 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.
[0014] Optionally, the communication middleware is used as a software module deployed on the domain controller.
[0015] According to another aspect of the present invention, an information processing apparatus for a communication middleware is also provided. The apparatus may include: an acquisition unit for acquiring 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 for converting the initial information into target information in response to a compatibility threshold between the sending end and the receiving end, wherein the compatibility represents the ability of the sending end and the receiving end to work and communicate collaboratively, and the information format of the target information corresponds to the information format of the receiving end; a second conversion unit for logically processing the initial information in response to a compatibility threshold less than or equal to the compatibility, and converting the processed initial information into target information, wherein the completeness of the processed initial information is higher than the completeness of the initial information before processing; and a control unit for controlling 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 also provided. The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the information processing method of the communication middleware of the present invention.
[0017] According to another aspect of the present invention, a processor is also provided. The processor is used to run a program, wherein the program executes the information processing method of the communication middleware according to the embodiments of the present invention.
[0018] According to another aspect of the present invention, a computer program product is also provided. This computer program product includes a computer program that, when executed by a processor, implements the information processing method of the communication middleware described in the embodiments of the present invention.
[0019] According to another aspect of the present invention, a vehicle is also provided. This vehicle is used to implement the information processing method of the communication middleware described in the embodiments of the present invention.
[0020] In this embodiment of the invention, a communication middleware is used to connect the sending end and the receiving end. The information format of the sending end is different from that 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 that 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. Here, compatibility represents the ability of the sending end and the receiving end to work and communicate collaboratively, and the information format of the target information corresponds to that 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. Here, the completeness of the processed initial information is higher than that of the initial information before processing. The control communication middleware can transmit the target information to the receiving end.
[0021] In this embodiment, a communication middleware can be used to connect two controllers with different information formats, such as a domain controller and a single-function controller. If the sender needs to send information to the receiver, the initial information can be converted into target information that meets the receiver's information format. By further determining the compatibility between the sender and receiver, when the compatibility is high, the initial information can be directly transmitted. When the compatibility is low, the completeness of the target information decreases, and direct transmission will affect the accuracy of communication between the sender and receiver. Therefore, the target information can be processed, and the processed target information with improved completeness can be transmitted to the receiver. This achieves the goal of communication between the domain controller and the single-function controller, thereby improving the accuracy of information processing and solving the technical problem of low information processing accuracy. Attached Figure Description
[0022] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0023] Figure 1 This is a flowchart of an information processing method for a communication middleware according to an embodiment of the present invention;
[0024] Figure 2 This is a schematic diagram illustrating a functional implementation of a communication middleware according to an embodiment of the present invention;
[0025] Figure 3 This is a schematic diagram illustrating the deployment and implementation on a classic platform-side microcontroller unit according to an embodiment of the present invention;
[0026] Figure 4 This is a schematic diagram illustrating the deployment and implementation process on an adaptive platform-side system-on-a-chip according to an embodiment of the present invention;
[0027] Figure 5 This is a schematic diagram illustrating the deployment and interaction relationships of a functional device driver according to an embodiment of the present invention;
[0028] Figure 6 This is a schematic diagram of a communication middleware according to an embodiment of the present invention;
[0029] Figure 7 This is a schematic diagram of an information processing device for a communication middleware according to an embodiment of the present invention. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort 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, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] According to an embodiment of the present invention, an embodiment of an information processing method for a communication middleware is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0033] Figure 1 This is a flowchart of an information processing method for a communication middleware according to an embodiment of the present invention, such as... Figure 1 As shown, the method may include the following steps:
[0034] Step S102: Obtain initial information from the sender through the communication middleware.
[0035] In the technical solution provided in 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 that of the receiving end. Specifically, 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, controlling data exchange and communication between them. Through the communication middleware, initial information from the sender can be obtained. For example, in a vehicle's electronic and electrical architecture, the communication middleware (Signal to Service Function Device Driver, S2SFDD) can perform signal and service conversion between domain controllers and single-function electronic control units (ECUs) in a service-oriented architecture (SOA) environment. This ensures bidirectional information flow without interrupting system functionality due to format mismatches. The initial information can then be corresponding service information or signal information, and the information format can be either a service format or a signal format.
[0037] Optionally, the initial information format corresponds to the sending end's information format, allowing it to understand and adapt to the sending end's native information format without causing any misunderstanding or damage to the information. For example, if the sending end uses the Controller Area Network (CAN) protocol, then the S2S FDD processes signal information in CAN frame format at this stage.
[0038] Step S104: In response to the compatibility between the sender and receiver being greater than the compatibility threshold, the initial information is converted into target information.
[0039] In the technical solution provided in step S104 of the present invention, after obtaining the initial information from the sending end through the communication middleware, if it is determined that 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. Here, compatibility represents the ability of the sending end and the receiving end to work and communicate collaboratively, and the information format of the target information corresponds to the information format of the receiving end.
[0040] In this embodiment, the compatibility between the sender and receiver can be assessed through communication middleware to determine whether to directly transmit information or perform a mapping logic conversion. The compatibility threshold can be determined based on factors such as signal and service mapping rules, data type matching degree, and communication protocol compatibility. The information format of the target information corresponds to the information format of the receiver; that is, the converted target information will fully conform to the receiver's expected format, ensuring the integrity and accuracy of the target information, enabling the target information to be directly understood and processed by the receiver.
[0041] Optionally, compatibility can be the degree of matching between the signal format of the sending end and the service format of the receiving end, used to measure specific compatibility between the sending and receiving ends. Standardization can provide a framework and rules for compatibility. Compatibility can also refer to the ability of communication middleware to adapt to and process different information formats, that is, to enable effective communication between signal-based single-function ECUs and service-based domain controllers. The compatibility threshold can be a preset index used to judge the ease of information conversion.
[0042] Optionally, the compatibility threshold can be set based on experience or dynamically adjusted according to system requirements and performance needs, finding a balance between information completeness and efficiency. This is merely an example and no specific restrictions are imposed here.
[0043] Optionally, high compatibility means that there is a direct or simple mapping relationship between signals and services, allowing communication to be achieved directly or with slight conversion. Standardization improves compatibility and reduces integration and maintenance complexity. For example, defining a standardized service interface ensures that all domain controllers use the same data format and communication rules to interact with the ECU, thereby improving software reusability and overall efficiency. Achieving compatibility often relies on standardized interfaces and protocols, as well as the intelligent conversion logic of the communication middleware. High compatibility means that even with significant differences, the communication middleware can seamlessly handle various information formats.
[0044] In this embodiment of the 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 sufficiently similar, and the initial information from the sending end can be converted into a target information format that the receiving end can understand through direct pass-through.
[0045] Optionally, direct pass-through allows middleware to forward information without modifying or processing its content, directly transmitting received information from one interface to another. Direct pass-through can be used for signals that do not require any logical processing or conversion, i.e., signals or services that can communicate directly between domain controllers and single-function ECUs. Direct pass-through ensures the originality and integrity of information, reduces communication latency, improves communication efficiency, simplifies the design and implementation of communication middleware, and reduces potential sources of error.
[0046] For example, in automotive electronic systems, if the mapping 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, thereby improving the technical effect of improving the accuracy of information processing and solving the technical problem of low accuracy in information processing.
[0047] Step S106: In response to the compatibility degree being less than or equal to the compatibility degree threshold, the initial information is logically processed, and the processed initial information is converted into target information.
[0048] In the technical solution provided in step S106 of the present invention, after obtaining the initial information from the sending end 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 target information. The completeness of the processed initial information is higher than the completeness of the initial information before processing.
[0049] In this embodiment, if the compatibility is below a compatibility threshold, the communication middleware can perform more complex logic processing. This logic processing makes the information more aligned with the receiver's expectations, preventing data loss or misunderstanding. By processing the initial information logically, mapping logic transformation can be achieved, enabling the reuse of domain controller software modules. Mapping logic transformation can convert initial information from the sender into a target information format that the receiver can understand.
[0050] Optionally, mapping logic conversion allows the middleware to transform information according to predefined mapping rules when forwarding messages, adapting it to the specific format or logical requirements of the receiver. Mapping logic conversion can be used when there are protocol incompatibilities, data format differences, or logical mismatches between domain controllers and single-function ECUs. Mapping logic conversion can include signal-to-service, service-to-signal, and conversions between services and services, and between signals and signals. 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 receiver.
[0051] Optionally, logical processing may include operations such as data reorganization, formatting, filtering, calculation, data type conversion, and semantic interpretation. It should be noted that the above logical processing operations are merely illustrative and are not specifically limited here. Any operation that can be used by communication middleware to perform logical processing is within the protection scope of this invention.
[0052] Step S108: Control the communication middleware to transmit the target information to the receiving end.
[0053] In the technical solution provided by step S108 of the present invention, when the initial information is converted into the target information format and the completeness of the processed initial information is higher than the completeness 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 either direct pass-through or mapping logic conversion, both of which are important mechanisms in the information transmission process, serving different scenarios and needs, and enabling effective communication between the domain controller and the single-function ECU.
[0055] In this embodiment of the invention, direct pass-through and mapping logic conversion complement each other in the communication middleware, which can ensure that while meeting the requirements of efficiency and standardization, it can also handle complex information conversion and logic adaptation problems, thereby realizing efficient, stable and compatible communication between the domain controller and the single-function ECU.
[0056] In steps S102 to S108 of this embodiment of the invention, the communication middleware is used to connect the sending end and the receiving end. The information format of the sending end is different from that 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 that 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. The compatibility is used to represent the ability of the sending end and the receiving end to work and communicate collaboratively, and the information format of the target information corresponds to that 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. The completeness of the processed initial information is higher than that of the initial information before processing. The control communication middleware can transmit the target information to the receiving end.
[0057] In this embodiment, a communication middleware can be used to connect two controllers with different information formats, such as a domain controller and a single-function controller. If the sender needs to send information to the receiver, the initial information can be converted into target information that meets the receiver's information format. By further determining the compatibility between the sender and receiver, when the compatibility is high, the initial information can be directly transmitted. When the compatibility is low, the completeness of the target information decreases, and direct transmission will affect the accuracy of communication between the sender and receiver. Therefore, the target information can be processed, and the processed target information with improved completeness can be transmitted to the receiver. This achieves the goal of communication between the domain controller and the single-function controller, thereby improving the accuracy of information processing and solving the technical problem of low information processing accuracy.
[0058] The technical solutions of the embodiments of the present invention will be illustrated below with reference to preferred embodiments.
[0059] As an optional embodiment, step S104, converting initial information into target information, includes: in response to the communication middleware receiving initial information, converting the initial information format of the initial information into the target information format to obtain the corresponding target information.
[0060] In this embodiment, when the communication middleware receives initial information, it can convert the initial information format into the target information format to obtain the corresponding target information. By converting the initial information into the target information, information format differences can be overcome, promoting effective communication between different controllers, 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 like CAN and Local Interconnect Network (LIN), or non-standardized signal formats specific to a particular ECU. During the process of the communication middleware receiving the initial information from the sender, the middleware uses a built-in parser to identify the information format, such as signal identifiers, data lengths, and signal value encoding rules. The middleware can then convert the information format to the target information format to obtain the corresponding target information.
[0062] As an optional embodiment, the sending end is a domain controller or a single-function controller in the vehicle, and 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. In response to the communication middleware receiving initial information, the initial information format of the initial information is converted into the target information format to obtain the corresponding target information. This includes: in response to the communication middleware receiving initial information from the domain controller, converting the service format into a signal format to obtain the target information; and in response to the communication middleware receiving initial information from the single-function controller, converting the signal format into a service format to obtain the target information.
[0063] In this embodiment, when the communication middleware receives initial information from the domain controller, it can convert the service format into a signal format to obtain the target information, thus realizing the conversion from service to signal. When the communication middleware receives initial information from the single-function controller, it converts the signal format into a service format to obtain the target information, thus 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 can be an Ethernet-based service-oriented domain controller. The single-function controller can be a signal-oriented traditional single-function controller based on a legacy network.
[0065] As an optional implementation, the communication middleware includes an information interface and a service interface. The information interface is used to receive initial information from a single-function controller, and the service interface is used to receive initial information from a domain controller.
[0066] In this embodiment, a reliable communication bridge can be established between the domain controller and the single-function ECU through a communication middleware, enabling efficient information transmission and processing. The communication middleware can convert uplink information-type interface signals into services, and downlink control-type service interfaces into signal interfaces.
[0067] Optionally, the information interface is primarily responsible for receiving initial information from the single-function controller. This initial information can be signals transmitted via traditional vehicular network protocols such as CAN, CAN-FD (Controller Area Network Flexible Data Rate), and LIN. In the uplink direction, the information interface can be abstracted as an Information (Info) type Function Device Driver (FDD) module, which converts the information and status of the single-function controller into a format understandable by the service interface. The service interface receives initial information from the domain controller and can be provided as a service. In the downlink direction, the service interface can be abstracted as a Control type FDD module, which converts the domain controller's services into signals that the single-function controller can respond to.
[0068] As an optional embodiment, step S104, 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, 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 has been successfully verified, converting the initial information into target information.
[0069] In this embodiment, based on the compatibility between the sender and receiver being greater than a compatibility threshold, the initial information can be verified to determine whether its security level exceeds the security threshold. If the verification result indicates successful verification of the initial information, it can be converted into target information. This verification, also known as security check, prevents data packets from being tampered with or attacked during transmission.
[0070] Optionally, direct transparent transmission can be performed when the compatibility between the sender and receiver exceeds a compatibility threshold, and the security of the initial information is higher than a security threshold. During direct transparent transmission, encapsulation and decapsulation operations can be performed to adapt to the network layer requirements of different communication protocols. Data maintains its original form and semantics during transmission and is not altered by any intermediate processing layer. That is, S2S FDD only performs data encapsulation and decapsulation without any additional data conversion or logical processing.
[0071] Optionally, in S2S FDD, configuring files based on a locked service list ensures the standardization and uniformity of service interfaces. Signal-side interfaces can be configured based on locked communication library files. In the logic development tool, based on compatibility and security assessments, if direct pass-through is permitted, the configured interfaces can be used directly for communication, skipping complex mapping logic. Integrating the developed mapping logic code into the domain controller's software foundation and conducting comprehensive testing ensures that data packets are not tampered with or attacked during transmission. Testing should cover various possible communication scenarios and security threats to verify the reliability and security of direct pass-through. With full consideration of compatibility and security, direct pass-through can improve communication efficiency and overall performance.
[0072] As an optional embodiment, the communication middleware includes mapping logic information between the receiver and the transmitter. The mapping logic information is used to represent the correspondence between the signal interfaces and service interfaces corresponding to the receiver and the transmitter. In response to a compatibility degree less than or equal to a compatibility threshold, the initial information is logically processed and the processed initial information is converted into target information. This includes: in response to a compatibility degree less than or equal to a compatibility threshold, logically processing the initial information based on the conversion rules in the mapping logic information; and converting the logically processed initial information into target information.
[0073] In this embodiment, when the compatibility between the sending end and the receiving end is less than or equal to the compatibility threshold, the initial information can be logically processed based on the conversion rules in the mapping logic information, and the logically processed initial information can be converted into target information.
[0074] Optionally, the mapping logic information, also known as a mapping table, can contain the correspondence between signals and service interfaces between the receiving and sending ends, as well as the conversion rules between these interfaces. Connecting the output of a signal-based single-function controller to the input of a service-based domain controller ensures effective communication between them. The mapping table provides specific guidance for the communication middleware on how to convert between signals and service interfaces, guiding it to correctly convert information and forming the basis for logic processing and information conversion. The mapping table can be dynamically adjusted as needs change; that is, the communication middleware can flexibly apply appropriate conversion rules in different scenarios or with different levels of compatibility. For example, when connecting different ECUs, the rules in the mapping table can be adjusted to adapt to new signal formats. Through the mapping table, the communication middleware can achieve standardized signal processing, converting them into a unified service interface format, which helps improve the reusability and portability of the domain controller at the software level.
[0075] As an optional implementation, controlling the communication middleware to transmit 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 the communication middleware transmits target information to the receiving end, the target information can be encapsulated, and the communication middleware can then process and encapsulate the encapsulated target information—that is, organize and encapsulate the information. This organization and encapsulation, achieved through direct pass-through and mapping logic conversion within the communication middleware, ensures effective information transmission between different types of controllers. Direct pass-through organization and encapsulation adapt to different communication protocols and ensure data security; while mapping logic conversion, in addition to protocol adaptation and security considerations, requires complex logical processing to convert the data into a format that the destination controller can understand and respond to.
[0077] Optionally, in direct pass-through mode, the communication middleware can ensure lossless and latency-free information transmission between domain controllers and single-function controllers, achieving data format standardization and communication protocol adaptation. Data format standardization ensures that domain controllers and single-function controllers can recognize and process the same data, while also formatting the data. For example, it can convert specific data types to formats supported by both domain controllers and single-function controllers, or organize data into a specific structure for easy parsing by the receiver. During communication protocol adaptation, domain controllers can use Ethernet communication protocols such as SOME / IP and Data Distribution Service (DDS), while single-function controllers can use CAN, CAN-FD, or LIN protocols. In direct pass-through, the communication middleware needs to convert between communication protocols, including encapsulating information into data packets of the source protocol and decapsulating the data packets into the data format of the destination protocol at the other end.
[0078] Optionally, in the context of mapping logic transformation, the communication middleware not only needs to achieve transparent information transmission but also needs to complete the transformation from signal to service or from service to signal, which involves complex logical processing. During logical processing, the communication middleware needs to process and transform information according to the mapping logic; for example, integrating multiple signals into a single service or splitting a service into multiple signals. In the service-to-signal transformation, 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 signal-to-service transformation, the signal needs to be encapsulated into the service interface format of the domain controller.
[0079] In summary, the organization and encapsulation of information helps to standardize service interfaces, maintain the uniformity of domain controller service interfaces, and is of great significance for the reuse of software modules and the simplification of domain controller development.
[0080] In this embodiment of the invention, a communication middleware is used to connect the sending end and the receiving end. The information format of the sending end is different from that 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 that 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. Here, compatibility represents the ability of the sending end and the receiving end to work and communicate collaboratively, and the information format of the target information corresponds to that 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. Here, the completeness of the processed initial information is higher than that of the initial information before processing. The control communication middleware can transmit the target information to the receiving end.
[0081] In this embodiment, a communication middleware can be used to connect two controllers with different information formats, such as a domain controller and a single-function controller. If the sender needs to send information to the receiver, the initial information can be converted into target information that meets the receiver's information format. By further determining the compatibility between the sender and receiver, when the compatibility is high, the initial information can be directly transmitted. When the compatibility is low, the completeness of the target information decreases, and direct transmission will affect the accuracy of communication between the sender and receiver. Therefore, the target information can be processed, and the processed target information with improved completeness can be transmitted to the receiver. This achieves the goal of communication between the domain controller and the single-function controller, thereby improving the accuracy of information processing and solving the technical problem of low information processing accuracy.
[0082] The following describes in detail another optional implementation method.
[0083] Currently, with the gradual promotion and application of SOA in vehicle electronic and electrical architecture, two types of controllers will continue to coexist in in-vehicle network communication: service-oriented domain controllers based on Ethernet and traditional signal-oriented single-function controllers based on traditional networks. Domain controllers mainly use Ethernet communication protocols, while single-function controllers mainly use CAN, CAN-FD, and LIN protocols. How to achieve complete information transmission between these two types of controllers in the vehicle is a key concern. Furthermore, it is necessary to ensure the security of information transmission, such as meeting the requirements of end-to-end (E2E) security verification and secure on-board communication (SecOC).
[0084] To address the current situation where domain controllers and single-function controllers coexist in the electronic and electrical architecture of vehicles, this invention proposes a communication middleware design and implementation method. The communication middleware (Signal to Service Function Device Driver, abbreviated as S2S FDD / S2S) enables reliable communication between the two types of controllers (domain controllers and single-function ECUs), thereby improving the accuracy of information processing and solving the technical problem of low information processing accuracy.
[0085] The technical solutions of the embodiments of the present invention will be illustrated below with reference to preferred embodiments.
[0086] Figure 2 This is a schematic diagram illustrating a functional implementation of a communication middleware according to an embodiment of the present invention, such as... Figure 2 As shown, S2S FDD deployment can be implemented for both the Classic Platform (CP) and the Adaptive Platform (AP) of the current Automotive Open System Architecture (AUTOSAR) domain controller. Therefore, this method can adapt to the interaction functions between the AP and CP platforms and traditional controllers. The AP communicates via adaptive applications using service-oriented communication, connecting to the gateway electronic control unit (ECU) via Ethernet; that is, the Classic Platform of the Automotive Open System Architecture. The CP connects to the ECU via the Controller Area Network (CAN), and the ECU communicates based on signals using the Classic Software Component (ClassicSWC). ClassicSWC enables modularity and reusability of functions in automotive electronic systems, allowing software functions to be developed and tested independently of the hardware platform, thereby simplifying the development process and improving software quality and development efficiency.
[0087] Optionally, for information transmitted through the S2S communication middleware, both direct information transmission and mapping logic conversion can be implemented. This allows for the simultaneous transmission of basic logic conversion, information organization, and encapsulation. Because the signals emitted by traditional controllers undergo logical processing and encapsulation, service interfaces can be standardized. Maintaining the standardization and uniformity of domain controller service interfaces facilitates the reuse of domain controller software modules, thereby improving the overall development and portability efficiency of domain controllers. Similarly, without significant changes to the signal protocol, adjustments to the mapping relationships and changes to the mapping logic within the communication middleware allow domain controllers to adapt to the same single-function controllers from different manufacturers, significantly improving product upgrades and supply chain security and stability.
[0088] Optionally, the FDD module is designed and deployed on the domain controller as part of a software component to facilitate 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, performing signal-to-service and / or service-to-signal conversions, enabling communication between the two different types of controllers through a standard interface. S2S can perform both service-to-signal and signal-to-service conversions, providing bidirectional conversion capabilities. It can convert uplink information-type interface signals into services, and downlink control-type service interfaces into signal interfaces.
[0089] Optionally, the signal transmission of a single-function controller can be abstracted into an Info-type FDD module. The FDD that exposes information and status externally is called the uplink FDD. The raw service interface received by the single-function controller must be converted into a signal before the single-function controller can respond. The FDD that receives service interfaces internally and converts them into signals is called the downlink FDD. That is, signal-to-service conversion is called Info-type uplink, and service-to-signal conversion is called Control-type downlink.
[0090] Optionally, an S2S FDD (Software-to-Distribution) can be established on the domain controller at the chip level. This can be called a virtual gateway and it handles the conversion of signals and services from all SWCs (Software-to-Consoles) on the domain controller chip. It can implement and manage the conversion of transceiver interfaces between the SWCs on the entire domain controller chip and single-function controllers.
[0091] Figure 3 This is a schematic diagram illustrating the deployment and implementation on a classic platform-side microcontroller unit according to an embodiment of the present invention, as shown below. Figure 3 As shown, the S2S function maps signals to services within application-layer software components, implementing signal-based and service-based communication through the communication stack in the Basic Software Layer (BSW). Application-layer software components interact with the runtime environment through standardized interfaces, including input / output interfaces, service interfaces, and schema interfaces. Input / output interfaces are used for data exchange with other software components or hardware. Service interfaces are used to invoke BSW services. Schema interfaces are used to manage the runtime state of software components.
[0092] Optionally, incompatible communication protocols or interfaces may become vulnerabilities in system security during communication, as they may fail to meet unified security standards, such as E2E security verification and SecOC requirements, increasing the risk of attacks or data breaches. E2E security verification ensures data security during transmission, typically involving encryption, authentication, and integrity checks to protect data from tampering, theft, or forgery. SecOC can be used to protect the security of in-vehicle communications, ensuring secure and reliable communication between various modules within the vehicle through encryption, authentication, and integrity checks, preventing malicious attacks or data tampering.
[0093] Figure 4 This is a schematic diagram illustrating the deployment and implementation process on an adaptive platform-side system-on-a-chip according to an embodiment of the present invention, as shown below. Figure 4 As shown, the Ethernet Protocol Data Unit (ETH_PDU) describes the data packet format exchanged between the domain controller and the single-function ECU via Ethernet communication. Specifically, it can be signal data from the single-function ECU to the domain controller, or service data from the domain controller to the single-function ECU, encapsulated using the Ethernet protocol to form a data unit. The CP can encapsulate PDU data converted from traditional networks (such as CAN and LIN) into Ethernet Protocol Data Unit (ETH_PDU) format for communication with the AP via the Ethernet backbone. The AP, on the other hand, needs to decapsulate the received ETH_PDU, extract the service data, and pass it to the corresponding application layer software components for processing. The CP can convert PDUs to ETH PDUs, and the AP can convert between Ethernet Protocol Data Units and services, ultimately achieving signal-based and service-based communication interaction.
[0094] Figure 5 This is a schematic diagram illustrating the deployment and interaction relationships of a functional device driver according to an embodiment of the present invention, such as... Figure 5 As shown, in a System-on-a-Chip (SOC) adaptive platform, software components communicate with each other via on-chip SOA interfaces. Gateways connect to electronic control units (ECUs) via software components, and vice versa. In a classic microcontroller unit chip platform, the ECU connects to the ECU via a controller area network (CAN). The SOC adaptive platform connects to the ECU via a local area network (LAN).
[0095] Optionally, an S2S type FDD can realize information transfer between the domain controller and a single-function ECU within the vehicle's electronic and electrical architecture. The S2S service side can be designed by following an Ethernet service list design template. Based on the locked service list, the ARXML file service side interface can be configured using a model configuration tool. Here, ARXML represents an XML file format defined in the AUTOSAR standard. In the logic development tool, the mapping can be established and the mapping logic implemented based on the S2S mapping table. The exported code file can then be integrated into the domain controller base, thereby realizing the S2S communication function.
[0096] Optionally, the Ethernet service list design template provides a standardized framework for the service-side design of S2S FDD. This involves defining service names, identifiers, input / output parameters, and service types (such as request / response, subscription / notification) to ensure the standardization and uniformity of service interfaces. The locked service list can be the list determined during the design phase and should not be arbitrarily changed to ensure consistency in subsequent development and integration. After locking the service list, model configuration tools such as MATLAB / Simulink or Rhapsody can be used to generate ARXML files. ARXML files are files used under the AUTOSAR standard to describe the interfaces of software components and contain configuration information for the service-side interfaces. Based on the locked communication library files (such as dbc and ldf), configuration tools can be used to complete the configuration of the signal-side interfaces and export the ARXML file of the software module with the transceiver interface configuration completed. dbc and ldf files are the database and description files for CAN and LIN communication protocols, respectively, and can lock the configuration of the communication network, such as signal names, signal identifiers, and signal sending and receiving nodes. Model configuration can be performed using configuration tools such as Vector CANoe and CANape. After configuring the signal-side interface based on the locked communication library file, export the ARXML file of the configured software module. This file can contain detailed information about the signal-side interface configuration.
[0097] Based on the above analysis, the development and implementation of S2S FDD combines service design, signal configuration, and logic mapping to form a complete solution. This solution can improve the efficiency and security of information transmission in the vehicle's electronic and electrical architecture, while also achieving standardization and reuse of software modules, enhancing the domain controller's adaptability to different controllers, improving the accuracy of information processing, and solving the technical problem of low information processing accuracy.
[0098] Figure 6 This 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 the sending end 601 and the receiving end 602. The information format of the sending end is different from that 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. The compatibility is used to represent the ability of the sending end and the receiving end to work and communicate together. The information format of the initial information corresponds to the information format of the sending end. The completeness of the processed initial information is higher than the completeness of the initial information before processing.
[0100] In this embodiment, the information processing module 603 can 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 a compatibility threshold. Here, compatibility can represent 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 completeness of the processed initial information is higher than the completeness of the initial information before processing.
[0101] The information conversion module 604 is used to convert initial information with a compatibility greater than the compatibility threshold, or 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 information conversion module 604 can convert initial information (where the compatibility is greater than the compatibility threshold) or processed initial information into target information. 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 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 improving the accuracy of information processing and solving the technical problem of low accuracy in information processing.
[0105] The technical solutions of the embodiments of the present invention will be illustrated below with reference to preferred embodiments.
[0106] As an optional embodiment, the communication middleware has a sending end that is a domain controller or a single-function controller in the vehicle, and a receiving end that 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. 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; and 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 sending end is a domain controller in the vehicle, the receiving end is also a domain controller, and the corresponding information format is a service format; when the sending end is a single-function controller in the vehicle, the receiving end is also a single-function controller, and the corresponding information format is a service format. The information conversion module, through the signal-to-service conversion module, can convert the initial information in the signal format sent by the single-function controller into target information in the service format. The service-to-signal conversion module can convert the initial information in the service format sent by the domain controller into the initial information in the information format.
[0108] Optionally, the information conversion module can convert information formats between domain controllers and single-function controllers, enabling effective communication and interaction between the sender and receiver, improving the collaboration and integration between different controllers, and thus achieving more efficient and intelligent operation. The signal-to-service conversion module can convert information in signal format sent by single-function controllers into service format information, thereby enabling communication and data exchange between single-function controllers and domain controllers. The service-to-signal conversion module can convert information in service format sent by domain controllers into information format information, thereby enabling communication and data exchange between domain controllers and single-function controllers.
[0109] As an alternative implementation, the communication middleware is used as a software module deployed on the domain controller.
[0110] In this embodiment, the FDD modules are all software modules deployed on the domain controller. Through the development of the domain controller dock, communication and interaction with single-function controllers can be achieved. The deployment and interaction of the FDD modules act as a bridge between different types of electronic control units, especially between service-oriented architectures and traditional signal-based electronic control units.
[0111] Optionally, in a CP environment, the FDD module is deployed as a software component on the MCU to process and convert data to meet the communication needs between traditional ECUs and service-based ECUs. At the application layer of the domain controller, the FDD module is responsible for converting service requests into signal formats for transmission to the corresponding single-function ECUs via traditional communication protocols such as CAN and LIN. When a single-function ECU responds or sends a signal, the FDD module converts the signal into a service format on the MCU. The FDD module relies on the Communication (COM) module at the BSW layer, employing different communication stacks—for example, using a CAN communication stack to process signals and an Ethernet communication stack to process services—to achieve both signal-based and service-based communication.
[0112] Optionally, on the AP side, the FDD module may function as part of a Protocol Data Unit (PDU) gateway, responsible for converting PDU-formatted data packets into SOME / IP or DDS services over Ethernet, enabling the AP to interact more efficiently with traditional signal-based ECUs. For communication from service to traditional signals, the AP-side FDD converts service requests into PDU format, which is then further converted into CAN or LIN signals via the PDU gateway before being sent to the traditional ECU. In the communication flow from traditional signals to services, the FDD module can receive signals from the traditional ECU, convert these signals into PDUs via the PDU gateway, and then convert them into services within the AP environment.
[0113] In this embodiment of the invention, by deploying the FDD module on key communication nodes and leveraging its ability to convert between different protocols, seamless communication between various ECUs in a complex automotive electronic system can be achieved. At the same time, the integrity, correctness, and reliability of information transmission are ensured, thereby improving the accuracy of information processing and solving the technical problem of low accuracy in information processing.
[0114] According to embodiments of the present invention, an information processing apparatus for communication middleware is also provided. It should be noted that this information processing apparatus for communication middleware can be used to execute the information processing method for communication middleware described in the above embodiments.
[0115] Figure 7 This is a schematic diagram of an information processing device for a communication middleware according to an embodiment of the present invention, such as... 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 used to acquire initial information from the 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 initial information into target information in response to the compatibility between the sender and receiver being greater than a compatibility threshold. The compatibility is used to represent the ability of the sender and receiver to work and communicate together, and the information format of the target information corresponds to the information format of the receiver.
[0118] The second conversion unit 706 is used to perform logical processing on the initial information in response to the compatibility degree being less than or equal to the compatibility degree threshold, and to convert the processed initial information into target information, wherein the completeness of the processed initial information is higher than the completeness of the initial information before processing.
[0119] The control unit 708 is used to control the communication middleware to transmit target information to the receiving end.
[0120] Optionally, the first conversion unit 704 may further include: a first conversion module, configured to convert the initial information format of the initial information into the target information format in response to the communication middleware receiving the initial information, so as to obtain the corresponding target information.
[0121] Optionally, the device may further include: a first acquisition unit, configured to convert a service format into a signal format to obtain target information in response to the communication middleware receiving initial information from a domain controller; and a second acquisition unit, configured to convert a signal format into a service format to obtain target information in response to the communication middleware receiving initial information from a single-function controller.
[0122] Optionally, the first conversion module may further include: a first conversion submodule, configured 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; and a second conversion submodule, configured 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 for receiving initial information from a single-function controller; and a second interface unit for receiving initial information from a domain controller.
[0124] Optionally, the first conversion unit 704 may include: a verification module, configured to verify the initial information in response to the compatibility being greater than a compatibility threshold, and obtain a verification result, wherein the verification result is used at least to indicate whether the security of the initial information is higher than the security threshold; and a second conversion module, configured to convert the initial information into target information in response to the verification result indicating that the initial information has been successfully verified.
[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 logical information in response to the compatibility being less than or equal to the compatibility threshold; and a third conversion module, used to convert the logically processed initial information into target information.
[0126] Optionally, the control unit 708 may further include: an encapsulation module for encapsulating target information and controlling the communication middleware to encapsulate the target information.
[0127] In this embodiment of the invention, initial information from the sending end is acquired by the acquisition unit 702, wherein the information format of the initial information corresponds to the information format of the sending end. The first conversion unit 704 converts the initial information into target information in response to a compatibility threshold between the sending and receiving ends, wherein the compatibility represents the ability of the sending and receiving ends to work and communicate collaboratively, and the information format of the target information corresponds to the information format of the receiving end. The second conversion unit 706 performs logical processing on the initial information in response to a compatibility threshold less than or equal to the compatibility, and converts the processed initial information into target information, wherein the completeness of the processed initial information is higher than that of the initial information before processing. The control unit 708 controls the communication middleware to transmit the target information to the receiving end. This achieves the technical effect of improving the accuracy of information processing and solves the technical problem of low accuracy in information processing.
[0128] According to embodiments of the present invention, a computer-readable storage medium is also provided, the storage medium including a stored program, wherein the program executes the information processing method of the communication middleware in the above embodiments.
[0129] According to an embodiment of the present invention, a processor is also provided for running a program, wherein the program executes the information processing method of the communication middleware in the above embodiments.
[0130] Embodiments of the present invention also provide a computer program product. Optionally, in this embodiment, the computer program product may include a computer program that, when executed by a processor, implements the information processing method of the communication middleware described in the embodiments of the present invention.
[0131] According to an embodiment of the present invention, a vehicle is also provided, which is used to execute the information processing method of the communication middleware of the present invention.
[0132] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0133] In the several embodiments provided by this invention, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection can be through some interfaces; the indirect coupling or communication connection of units or modules can be electrical or other forms.
[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0135] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0136] If the integrated unit is implemented as 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, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0137] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. An information processing method for a communication middleware, characterized in that, The communication middleware is used to connect the sending end and the receiving end, wherein the information format of the sending end is different from the information format of the receiving end, including: The communication middleware is used to obtain initial information from the sending end, wherein the information format of the initial information corresponds to the information format of the sending end. In response to the fact that the compatibility between the sending end and the receiving end is greater than a compatibility threshold, the initial information is converted into target information, wherein the compatibility is used to represent the ability of the sending 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; In response to the compatibility degree being less than or equal to the compatibility degree threshold, the initial information is logically processed, and the processed initial information is converted into the target information, wherein the completeness of the processed initial information is higher than the completeness of the initial information before processing; The communication middleware is controlled to transmit the target information to the receiving end. Wherein, the sending end is a domain controller 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 signal format, wherein converting the initial information into target information includes: 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; and in response to the communication middleware receiving the initial information from the single-function controller, converting the signal format into the service format to obtain the target information.
2. The method according to claim 1, 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.
3. The method according to claim 1, characterized in that, In response to the compatibility between the sending 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, the initial information is examined to obtain a test result, wherein the test result is used to indicate at least whether the security of the initial information is higher than the security threshold; In response to the test result indicating that the initial information has been successfully tested, the initial information is converted into the target information.
4. The method according to claim 1, characterized in that, The communication middleware includes mapping logic information between the receiving end and the sending end. This mapping logic information represents the correspondence between the signal interfaces and service interfaces corresponding to the receiving end and the sending end. Specifically, in response to the compatibility degree being less than or equal to a 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 degree being less than or equal to the compatibility degree threshold, the initial information is logically processed based on the conversion rules in the mapping logic information; The initial information after logical processing is converted into the target information.
5. 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 deliver the encapsulated target information.
6. A communication middleware, characterized in that, The communication middleware is used to connect the sending end and the receiving end, wherein the information format of the sending end is different from the information format of the receiving end, including: An information processing module is used to perform logical processing on 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. The compatibility is used to represent the ability of the sending end and the receiving end to work and communicate together. The information format of the initial information corresponds to the information format of the sending end. The completeness of the processed initial information is higher than the completeness of the initial information before processing. An information conversion module 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; The sending module is used to transmit the target information to the receiving end; Wherein, the sending end is a domain controller 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 signal 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; and 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.
7. The communication middleware according to claim 6, characterized in that, The communication middleware is used to deploy software modules on the domain controller.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the information processing method of the communication middleware according to any one of claims 1 to 5.
9. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the information processing method of the communication middleware according to any one of claims 1 to 5.
10. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the information processing method of the communication middleware according to any one of claims 1 to 5.
Citation Information
Patent Citations
Signal processing method, controller and storage medium
CN118264525A
Vehicle signal relay service
US20240333802A1