Automobile chassis soa architecture, communication method, device, medium and automobile
By using the communication conversion unit and interface conversion unit of the automotive chassis SOA architecture, the communication protocol and interface adaptation between the upper body and the chassis are realized, which solves the reuse problem of SOA architecture when EEA changes, improves development efficiency and adaptability, and supports diverse upper body designs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 悠跑科技(合肥)有限公司
- Filing Date
- 2023-06-19
- Publication Date
- 2026-05-29
AI Technical Summary
The existing SOA architecture design needs to be changed synchronously when the EEA architecture changes, which is not conducive to reuse across multiple models and platforms, resulting in increased development costs and time.
An SOA architecture for automotive chassis is provided, including an SOA adaptation module and an SOA service collection module. The communication conversion unit and interface conversion unit realize the adaptation and conversion of communication protocols and interfaces between the vehicle body and the chassis. The SomeIP protocol stack is used to shield system heterogeneity, and the service requirements are determined by the judgment module and the services are encapsulated into the corresponding collection module.
It achieves stability and development efficiency of chassis SOA services, adapts to various upper body SOA architectures, saves development cycle and cost, breaks through the binding restrictions of SOA architecture and EEA architecture, and supports the adaptation of the same chassis to multiple different upper bodies.
Smart Images

Figure CN116633973B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and more particularly to an automotive chassis SOA architecture, communication method, device, medium, and automobile. Background Technology
[0002] SOA (Service-Oriented Architecture) defines a method for reusing software components through service interfaces. These interfaces use common communication standards that can be quickly incorporated into new applications without requiring deep integration each time; each service in SOA contains complete, independent business functions.
[0003] However, existing SOA architecture designs are all geared towards the overall vehicle design and development scheme, which integrates the upper and lower body. The SOA architecture and EEA architecture are deeply bound together. When the EEA architecture changes, the SOA architecture must also be changed accordingly, which is not conducive to reuse across multiple vehicle models and platforms. Summary of the Invention
[0004] This invention provides an automotive chassis SOA architecture, communication method, device, medium, and vehicle. The automotive chassis SOA architecture provided by this invention can ensure the stability of chassis SOA services and the efficiency of development while adapting to various upper vehicle SOA architectures, saving automakers development time and costs.
[0005] According to a first aspect of the present invention, an automotive chassis SOA architecture is provided for enabling SOA communication with different upper body structures, comprising:
[0006] SOA adaptation module and SOA service collection module;
[0007] The SOA adaptation module includes: a communication conversion unit, an interface conversion unit, and a judgment module;
[0008] The SOA service collection module includes: a first collection module and a second collection module;
[0009] The communication conversion unit is configured to: receive a communication request from the upper body, wherein the communication request includes the communication protocol used by the upper body; determine whether the communication protocol used by the upper body is consistent with the communication protocol used by the chassis; if they are inconsistent, convert the communication protocol of the upper body to a communication protocol that matches the chassis, and transmit the communication request after communication conversion to the interface conversion unit; if they are consistent, directly transmit the communication request to the interface conversion unit.
[0010] The interface conversion unit is used to: receive a communication request from the communication conversion unit and determine whether the service interface of the upper body and the service interface of the chassis are consistent; if they are inconsistent, the service interface of the upper body is converted into a communication interface that matches the chassis, and the communication request after interface conversion is transmitted to the SOA service collection module; if they are consistent, the communication request from the communication conversion unit is directly transmitted to the SOA service collection module.
[0011] The judgment module is used to: receive a communication request from the interface conversion unit, and determine whether the service in the first set module meets the service required by the communication request; if yes, the service in the first set module is directly transmitted to the vehicle body; if no, the service required by the communication request is encapsulated into the second set module.
[0012] Optionally, the chassis uses the SomeIP protocol for communication.
[0013] Optionally, the communication conversion unit includes at least a DDS protocol stack or a SomeIp protocol stack.
[0014] Optionally, the interface conversion unit may include at least: converting the interface definition, data type, and priority of the communication request.
[0015] Optionally, the second set of modules includes: an S2S signal conversion service unit and a non-S2S signal conversion service unit.
[0016] According to a second aspect of the present invention, a communication method is provided, which realizes SOA communication of the upper chassis through the automotive chassis SOA architecture described in the first aspect of the present invention, comprising:
[0017] S1: The upper body sends a communication request to the chassis, the communication request being used to obtain services from the chassis, wherein the communication request includes the communication protocol used by the upper body;
[0018] S2: After receiving the communication request, the chassis determines whether the communication protocol of the upper body and the communication protocol of the lower body are consistent; if they are consistent, proceed to step S3; if they are inconsistent, convert the communication protocol of the upper body to a communication protocol that matches the chassis, and proceed to step S3.
[0019] S3: Receive the communication request and determine whether the service interface of the upper body and the service interface of the chassis are consistent; if they are consistent, proceed to step S4; if they are inconsistent, convert the service interface of the upper body to a communication interface that matches the chassis, and proceed to step S4.
[0020] S4: Determine whether the chassis includes the services required for the communication request. If yes, upload the services in the chassis to the upper body; otherwise, encapsulate the services required for the communication request into the chassis.
[0021] Optionally, encapsulating the services required for the communication request into the chassis includes:
[0022] Obtain information about the services required for the communication request from within the chassis;
[0023] The information is encapsulated into a service and saved to the chassis.
[0024] According to a third aspect of the present invention, an electronic device is provided, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the method described in the third aspect of the present invention.
[0025] According to a fourth aspect of the present invention, a storage medium is provided having a program stored thereon, which, when executed by a processor, implements the steps of the method described in the third aspect of the present invention.
[0026] According to a fifth aspect of the present invention, an automobile is provided, including the vehicle chassis SOA architecture described in the first aspect of the present invention.
[0027] The automotive chassis SOA architecture provided by this invention not only isolates and transforms SOA communication between the lower vehicle bodies, achieving different communication security for the upper and lower vehicle bodies, but also adapts to various upper vehicle body SOA architectures while ensuring the stability of chassis SOA services and the efficiency of development, saving development time and costs. Furthermore, the automotive chassis SOA architecture provided by this invention overcomes the shortcomings of the binding between SOA and EEA architectures, enabling the same chassis to adapt to multiple different upper vehicle bodies. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This is a schematic diagram of the SOA architecture of an automobile chassis in one embodiment of the present invention;
[0030] Figure 2 This is a flowchart illustrating a communication method in one embodiment of the present invention;
[0031] Figure 3 This is a schematic diagram of the encapsulation service process in one embodiment of the present invention;
[0032] Figure 4 This is a schematic diagram of the structure of an electronic device for a communication method according to an exemplary embodiment of the present invention. Detailed Implementation
[0033] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. 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 are within the scope of protection of the present invention.
[0034] The terms “first,” “second,” “third,” “fourth,” etc. (if present) 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 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.
[0035] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0036] Due to the evolution of skateboard chassis technology, the upper body has been developed separately. Therefore, in the design process of using a single chassis for multiple purposes and adapting a single universal chassis to multiple upper bodies, it is necessary to coordinate the different SOA modes of the upper and lower bodies.
[0037] In view of this, the present invention provides a kind of automotive chassis SOA architecture that can adapt to various upper vehicle SOA architectures while ensuring the stability of chassis SOA services and the efficiency of development, thereby saving automakers development cycle and cost.
[0038] Please refer to Figure 1 An automotive chassis SOA architecture for enabling SOA communication with different vehicle bodies, wherein the automotive chassis SOA architecture includes:
[0039] SOA adaptation module 100 and SOA service collection module 200;
[0040] In one specific embodiment of the present invention, the SOA adaptation module 100 includes: a communication conversion unit 101, an interface conversion unit 102, and a judgment module 103.
[0041] The SOA service collection module 200 includes: a first collection module 201 and a second collection module 202.
[0042] The communication conversion unit 101 is configured to: receive a communication request from the upper body, wherein the communication request includes the communication protocol used by the upper body; determine whether the communication protocol used by the upper body is consistent with the communication protocol used by the chassis based on the communication request; if they are inconsistent, convert the communication protocol of the upper body to a communication protocol that matches the chassis, and transmit the communication request after communication conversion to the interface conversion unit; if they are consistent, directly transmit the communication request to the interface conversion unit.
[0043] In one specific embodiment, the communication conversion unit includes at least a DDS protocol stack or a SomeIp protocol stack.
[0044] If the upper body uses the SomeIP protocol, then the SOA service of the upper body directly communicates through the SomeIP protocol stack within the communication conversion unit. SomeIP then sends the necessary requests or data to the interface conversion unit. If the upper body uses the DDS protocol, then the SOA service of the upper body communicates through the DDS protocol stack within the communication conversion unit. The necessary requests or data are converted from DDS messages to SomeIP messages before data delivery to the chassis is achieved.
[0045] The communication conversion unit enables the chassis to adapt to different SOA architectures of the upper body, effectively solving the problem of inconsistent communication protocols between the upper body and the chassis during transmission.
[0046] In a specific embodiment of the present invention, the communication protocol used by the chassis is the SomeIP protocol.
[0047] The SomeIp protocol is a communication protocol defined specifically for the in-vehicle environment. Communication via the SomeIp protocol can mask system heterogeneity and achieve interoperability. Furthermore, the SomeIp protocol only sends the data needed by the receiver when requested, thus avoiding excessive and unnecessary data transmission and reducing load.
[0048] Because the rules and services defined by the upper bodies produced by different manufacturers are inconsistent, the service interfaces between the upper bodies and the chassis are inconsistent, making it impossible to achieve data interaction between the upper body and the chassis. Therefore, after the communication protocol between the upper body and the chassis is unified, when the communication request of the upper body is transmitted to the chassis, it is also necessary to unify the interface between the upper body and the chassis through the interface conversion unit.
[0049] Therefore, the interface conversion unit 102 in this embodiment of the invention is used to: receive a communication request from the communication conversion unit and determine whether the service interface of the upper body and the service interface of the chassis are consistent; if they are inconsistent, the service interface of the upper body is converted into a communication interface matching the chassis, and the communication request after interface conversion is transmitted to the SOA service collection module; if they are consistent, the communication request from the communication conversion unit is directly transmitted to the SOA service collection module.
[0050] In a specific embodiment of the present invention, the interface conversion unit includes at least: converting the interface definition, converting the data type, and converting the priority of the communication request.
[0051] The judgment module 103 is used to: receive a communication request from the interface conversion unit 102, and determine whether the service in the first set module meets the service required by the communication request; if yes, then directly transmit the service in the first set module 201 to the vehicle body; if no, then encapsulate the service required by the communication request into the second set module 202.
[0052] The services within the first set module are pre-packaged SOA services that can meet the communication requests of most vehicle bodies, such as services for controlling chassis movement, torque control services, vehicle speed services, and motion status services.
[0053] When the judgment module receives the communication request from the vehicle body and determines that the first set module includes services that can satisfy the communication request, it directly transmits the corresponding services in the first set module back to the vehicle body.
[0054] When the judgment module receives the communication request from the vehicle body and determines that the first set module does not include a service that satisfies the communication request, it means that the service in the first set module cannot meet the needs of the vehicle body and more functional services are needed to meet the needs of the vehicle body. Then, the communication request from the vehicle body is transmitted to the second set module, which encapsulates the service that satisfies the communication request.
[0055] In a specific embodiment of the present invention, the second set module includes: an S2S signal conversion service unit and a non-S2S signal conversion service unit. The S2S signal conversion service unit is used to process data and signals transmitted from the upper body to the chassis, and the non-S2S signal conversion service unit is used to process data and signals between chassis. For the services within the second set module, it is also necessary to manually evaluate whether the services within the second set module are likely to be used in batches. If so, the corresponding services are transferred to the first set module.
[0056] The automotive chassis SOA architecture provided by this invention not only isolates and transforms SOA communication between the lower vehicle bodies, achieving different communication security for the upper and lower vehicle bodies, but also adapts to various upper vehicle body SOA architectures while ensuring the stability of chassis SOA services and the efficiency of development, saving development time and costs. Furthermore, the automotive chassis SOA architecture provided by this invention overcomes the shortcomings of the binding between SOA and EEA architectures, enabling the same chassis to adapt to multiple different upper vehicle bodies.
[0057] Please refer to Figure 2 In another embodiment of the present invention, a communication method is also provided, wherein the communication method realizes SOA communication of the upper chassis through the vehicle chassis SOA architecture in the above embodiments, including:
[0058] S1: The upper body sends a communication request to the chassis, the communication request being used to obtain services from the chassis, wherein the communication request includes the communication protocol used by the upper body.
[0059] S2: After receiving the communication request, the chassis determines whether the communication protocol of the upper body and the communication protocol of the lower body are consistent. If they are consistent, proceed to step S3. If they are inconsistent, convert the communication protocol of the upper body to a communication protocol that matches the chassis and proceed to step S3.
[0060] S3: Receive the communication request and determine whether the service interface of the upper body and the service interface of the chassis are consistent; if they are consistent, proceed to step S4; if they are inconsistent, convert the service interface of the upper body to a communication interface that matches the chassis, and proceed to step S4.
[0061] S4: Determine whether the chassis includes the services required for the communication request. If yes, upload the services in the chassis to the upper body; otherwise, encapsulate the services required for the communication request into the chassis.
[0062] Please refer to the following: Figure 3 In this embodiment of the invention, encapsulating the services required for the communication request into the chassis includes:
[0063] S41: Obtain information about the service required for the communication request from the chassis;
[0064] S42: Encapsulate the information into a service and save it to the chassis.
[0065] In one specific embodiment, if the first set module does not contain the service required for the communication request, such as the vehicle body needing to obtain chassis speed service, then the corresponding data signal for the speed service is obtained through the S2S signal-to-service unit in the second set module. The corresponding data signal is then converted into a service and saved in the second set module, and the service is returned to the vehicle body. Simultaneously, it is determined whether the service is likely to be used in large quantities; if so, the service is transferred to the first set module. That is, the communication method provided by this invention can meet various personalized service needs of users, improving the functional expandability of the automotive chassis.
[0066] Please refer to Figure 4 The present invention also provides an electronic device 30, comprising:
[0067] Processor 31; and
[0068] Memory 32 is used to store the executable instructions of the processor;
[0069] The processor 31 is configured to execute the methods described above by executing the executable instructions.
[0070] The processor 31 can communicate with the memory 32 via the bus 33.
[0071] This invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the methods described above.
[0072] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0073] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0074] The present invention also provides an automobile, the automobile comprising the above-described automobile chassis SOA architecture.
[0075] In the description of this specification, the references to terms such as "an embodiment," "an example," "a specific implementation process," and "an example" indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An automotive chassis SOA architecture for enabling SOA communication with different upper body structures, characterized in that, include: SOA adaptation module and SOA service collection module; The SOA adaptation module includes: a communication conversion unit, an interface conversion unit, and a judgment module; The SOA service collection module includes: a first collection module and a second collection module; The communication conversion unit is configured to: receive a communication request from the upper body, wherein the communication request includes the communication protocol used by the upper body; determine whether the communication protocol used by the upper body is consistent with the communication protocol used by the chassis; if they are inconsistent, convert the communication protocol of the upper body to a communication protocol that matches the chassis, and transmit the communication request after communication conversion to the interface conversion unit; if they are consistent, directly transmit the communication request to the interface conversion unit. The interface conversion unit is used to: receive a communication request from the communication conversion unit and determine whether the service interface of the upper body and the service interface of the chassis are consistent; if they are inconsistent, the service interface of the upper body is converted into a communication interface that matches the chassis, and the communication request after interface conversion is transmitted to the SOA service collection module; if they are consistent, the communication request from the communication conversion unit is directly transmitted to the SOA service collection module. The judgment module is used to: receive a communication request from the interface conversion unit, and determine whether the service in the first set module meets the service required by the communication request; if yes, the service in the first set module is directly transmitted to the vehicle body; if no, the service required by the communication request is encapsulated into the second set module.
2. The automotive chassis SOA architecture according to claim 1, characterized in that, The chassis uses the SomeIP protocol for communication.
3. The automotive chassis SOA architecture according to claim 2, characterized in that, The communication conversion unit includes at least: a DDS protocol stack or a SomeIp protocol stack.
4. The automotive chassis SOA architecture according to claim 1, characterized in that, The interface conversion unit includes at least the following functions: converting the interface definition, converting the data type, and converting the priority of the communication request.
5. The automotive chassis SOA architecture according to claim 1, characterized in that, The second set of modules includes: an S2S signal conversion service unit and a non-S2S signal conversion service unit.
6. A communication method, which implements SOA communication of the upper chassis through the automotive chassis SOA architecture according to any one of claims 1-5, characterized in that, include: S1: The upper body sends a communication request to the chassis, the communication request being used to obtain services from the chassis, wherein the communication request includes the communication protocol used by the upper body; S2: After receiving the communication request, the chassis determines whether the communication protocol of the upper body and the communication protocol of the lower body are consistent; if they are consistent, proceed to step S3; if they are inconsistent, convert the communication protocol of the upper body to a communication protocol that matches the chassis, and proceed to step S3. S3: Receive the communication request and determine whether the service interface of the upper body and the service interface of the chassis are consistent; if they are consistent, proceed to step S4; if they are inconsistent, convert the service interface of the upper body to a communication interface that matches the chassis, and proceed to step S4. S4: Determine whether the chassis includes the service required for the communication request. If so, upload the service in the chassis to the upper body. If not, the services required for the communication request are encapsulated within the chassis.
7. The communication method according to claim 6, characterized in that, The step of encapsulating the services required for the communication request into the chassis includes: Obtain information about the services required for the communication request from within the chassis; The information is encapsulated into a service and saved to the chassis.
8. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 6-7.
9. A storage medium having a program stored thereon, characterized in that, When the program is executed by a processor, it implements the steps of the method according to any one of claims 6-7.
10. A car, characterized in that, Including the automotive chassis SOA architecture as described in any one of claims 1-5.