A driving mode control method, system and storage medium based on SOA architecture
By adopting SOA architecture in car driving mode control software and encapsulating functional modules into interoperable service components, the problems of strong coupling and low reusability of software modules in the existing technology are solved, and more flexible deployment and updates are achieved. , reducing development costs and delivery cycles.
Patent Information
- Application Number
- CN202211535161.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-11-30
AI Technical Summary
Existing car driving mode control software adopts a non-SOA architecture, resulting in strong coupling between software modules and low reusability. When adding hardware equipment or updating, the entire vehicle software needs to be changed, resulting in heavy workload, low efficiency, high development cost, and delivery cycle. long.
The driving mode control method based on SOA architecture is adopted to encapsulate the functional modules into interoperable service components. Through the mode setting end, basic service layer, system service layer and other controllers, the flexible deployment and reuse of driving modes can be realized, reducing the cost of driving. development costs.
It improves the flexibility and reusability of software, reduces development costs, simplifies the software deployment and update process, and shortens the delivery cycle.
Smart Images

Figure CN115840396B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of service-oriented software architecture, and specifically relates to a driving mode control method, system and storage medium based on SOA architecture. Background Art
[0002] With the rapid advancement of the "new four modernizations" of automobiles (intelligence, networking, electrification, and sharing), the functions of automobiles have become more and more complex, and there are more and more electronic control units on automobiles. The signals of each ECU must be statically planned and routed during the design. The commonly used driving mode control software now adopts a non-SOA software architecture. The software modules are strongly coupled and have low reusability. When new hardware equipment is added to the vehicle or updated, the vehicle software will inevitably be changed, resulting in a large workload and low efficiency, low software reusability, high development costs, and a long delivery cycle. Summary of the invention
[0003] The purpose of the present invention is to provide a driving mode control method, system and storage medium based on SOA architecture, encapsulating each functional module into an interoperable service component that can be used in multiple independent systems under the SOA architecture, thereby improving the flexibility of software deployment, enhancing reusability and reducing development costs.
[0004] In order to achieve the above technical objectives, the technical solution adopted by the present invention is as follows:
[0005] In a first aspect, an embodiment of the present application provides a driving mode control method based on an SOA architecture, which is applied to a driving mode control system based on an SOA architecture, wherein the system includes a mode setting terminal, a mode setting service of a basic service layer, a driving mode setting service of a system service layer, other controllers, and a mode state service of a basic service layer, and the method includes:
[0006] Inputting a driving mode signal at the mode setting end, sending a call request to the mode setting service of the basic service layer, and calling the driving mode setting basic service of the basic service layer;
[0007] The mode setting service of the basic service layer makes a judgment and sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer;
[0008] According to the driving mode, the driving mode setting module of the system service layer performs the driving mode adaptation operation and outputs a preset control value under the driving mode to the other controllers;
[0009] The other controllers perform control operations and output actual control values to the mode status service of the basic service layer.
[0010] In combination with the first aspect, in some optional implementations, inputting a driving mode signal at the mode setting end and sending a call request to the mode setting service of the basic service layer includes:
[0011] The driving mode signal includes a preset driving mode signal and a user-defined mode signal; when the preset driving mode signal is input, the mode setting end sends a corresponding call request to the mode setting service of the basic service layer;
[0012] When the user-defined mode signal is input, the user can perform multiple mode settings at the mode setting end and send a corresponding call request to the mode setting service of the basic service layer.
[0013] In combination with the first aspect, in some optional implementations, according to a preset algorithm, the mode setting service of the basic service layer makes a judgment and sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, including:
[0014] The mode setting service of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer.
[0015] In combination with the first aspect, in some optional implementations, the mode setting service of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, including:
[0016] The mode setting service of the basic service layer performs priority judgment to determine whether the called mode setting service of the current basic service layer is running;
[0017] When the same mode setting basic service interface function receives multiple call requests from the mode setting end, if the mode setting service is running, the currently executing call request will be executed first;
[0018] If no mode setting service is running, the call request sent by the mode setting terminal is executed.
[0019] In combination with the first aspect, in some optional implementations, the mode setting service of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, including:
[0020] The priority judgment includes that safety requirements take precedence over experience requirements, and driver requirements take precedence over system requirements.
[0021] In combination with the first aspect, in some optional implementations, the mode setting service of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, including:
[0022] The input parameter verification is to judge the input driving mode signal. The vehicle has multiple driving modes, and different driving mode signals represent different driving modes. The parameters of the input driving mode signal are verified so that the input driving mode signal corresponds to the correct driving mode.
[0023] In combination with the first aspect, in some optional implementations, the driving mode setting service of the system service layer performs the driving mode adaptation operation and outputs a preset control value in the driving mode to the other controller, including:
[0024] The driving mode setting service of the system service layer receives a notification from the driving mode setting basic service, and outputs a preset control value under the driving mode to the other controllers according to the settings of other modes linked to the driving mode and various modes customized by the user.
[0025] In a second aspect, an embodiment of the present application further provides a driving mode control system based on an SOA architecture, the system comprising a mode setting terminal, a mode setting service of a basic service layer, a driving mode setting service of a system service layer, other controllers, a mode state service of a basic service layer, and a storage module;
[0026] The mode setting end is used to input requests for different modes; the mode setting service of the basic service layer is used to provide a service call interface function to the mode setting end; the driving mode setting service of the system service layer is used to set each mode according to the notification of the basic service of each mode setting basic service of the basic service layer; the other controllers are used to receive the setting request of the system service layer, and control each mode in combination with other preconditions, and output the actual control value of each mode; the mode status service of the basic service layer is used to receive the actual status value of each mode fed back by other controllers; the storage module stores a computer program, and when the computer program is executed by the mode setting service of the basic service layer or the driving mode setting service of the system service layer, the driving mode control system based on the SOA architecture executes the above method.
[0027] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed on a computer, the computer executes the above method.
[0028] The invention adopting the above technical solution has the following advantages:
[0029] The mode setting end in the driving mode control system based on the SOA architecture, the mode setting service of the basic service layer, the driving mode setting service of the system service layer, other controllers and the mode status service of the basic service layer are encapsulated as interoperable service components that can be used in multiple independent systems, which facilitates flexible software deployment, improves software reusability, and reduces development costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The present invention can be further illustrated by the non-limiting examples given in the accompanying drawings;
[0031] Figure 1 A block diagram of a driving mode control system based on an SOA architecture provided in an embodiment of the present application.
[0032] Figure 2 A flowchart of a driving mode control method based on an SOA architecture provided in an embodiment of the present application.
[0033] Figure 3 A schematic diagram of a service call flow when the driving mode of a driving mode control system based on an SOA architecture provided in an embodiment of the present application is a sports mode;
[0034] Figure 4 A schematic diagram of a service call flow when the driving mode of a driving mode control system based on an SOA architecture provided in an embodiment of the present application is a custom mode;
[0035] The main component symbols are described as follows:
[0036] 10. Driving mode control system based on SOA architecture; 11. Mode setting terminal; 12. Mode setting service of basic service layer; 13. Driving mode setting service of system service layer; 14. Other controllers; 15. Mode status service of basic service layer. DETAILED DESCRIPTION
[0037] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that in the drawings or descriptions of the specification, similar or identical parts use the same figure numbers, and the implementation methods not shown or described in the drawings are forms known to ordinary technicians in the relevant technical field. In addition, the directional terms mentioned in the embodiments, such as "upper", "lower", "top", "bottom", "left", "right", "front", "back", etc., are only referenced to the directions of the drawings and are not used to limit the scope of protection of the present invention.
[0038] like Figure 1As shown, an embodiment of the present application provides a driving mode control system 10 based on the SOA architecture. The driving mode control system 10 based on the SOA architecture may include a mode setting terminal 11, a mode setting service 12 of a basic service layer, a driving mode setting service 13 of a system service layer, other controllers 14, a mode status service 15 of a basic service layer, and a storage module.
[0039] Among them, setting requests for various modes are made through the mode setting terminal 11, and each mode setting includes driving mode setting, acceleration mode setting, creep function setting, energy recovery mode setting, braking mode setting, steering assist mode setting, etc.
[0040] In this embodiment, the mode setting terminal 11 may be a central control screen of a car or a mobile terminal.
[0041] The mode setting service 12 of the basic service layer is used to provide a service call interface function to the mode setting terminal 11. The service external interface is unified. When the same mode setting basic service interface function receives a call request sent by the mode setting terminal, it determines the priority of the call request. After the precondition check, priority determination and input parameter verification, the driving mode setting system service is notified to execute the setting request according to the determination result. It also includes a power-off memory function. When the power is turned on again after powering off, the memory value is used before the mode setting terminal 11 is set. Among them, the specific service call interface function includes the driving mode setting interface function, the acceleration mode setting interface function, the creeping function state setting interface function, the energy recovery mode setting interface function, the braking mode setting interface function and the steering assist mode setting interface function.
[0042] The driving mode setting service 13 of the system service layer is used to set each mode according to the notification of the basic service of the basic service layer, including the setting of other modes in linkage with the driving mode and the function of user-defined modes. Specific driving modes include comfort mode, sports mode, economy mode, custom mode, ATS mode, super power saving mode, etc.; it also includes the function of converting the service into a signal.
[0043] The other controllers 14 are used to receive the setting request of the system service layer, and control each mode in combination with other preconditions, and output the actual control value of each mode.
[0044] In this embodiment, other controllers 14 may be controllers such as VCU, EPS, and IBCU.
[0045] The mode status service 15 of the basic service layer is used to receive the actual status values of each mode fed back by other controllers 14 and implement the signal conversion service.
[0046] In this embodiment, a driving mode signal is input from the mode setting terminal 11, and the driving mode setting basic service of the basic service layer is called. The mode setting service 12 of the basic service layer performs priority judgment and input parameter verification, and then sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer. The driving mode setting module of the system service layer performs an adaptation operation corresponding to the driving mode, and outputs a preset control value in the driving mode to other controllers 14. The other controllers 14 perform control operations to make the car travel in the driving mode, and output the actual control value to the mode status service 15 of the basic service layer to complete the implementation of the signal conversion service.
[0047] The driving mode control system 10 based on the SOA architecture follows the general principles of service-oriented software architecture design, combines the actual software and hardware design scheme and functional or performance requirements of the driving mode system, defines the functions that each layer of service should complete, the interfaces between each layer of service, and the related data types, splits the software components according to their functions, and arranges them on different service layers to achieve the purpose of flexible modification, reorganization, and calling.
[0048] The basic services of the driving mode control system 10 based on the SOA architecture are not affected by the number of modes, changes in mode values, and increased functions. Even if the modes associated with the driving mode are increased or the values representing different modes are changed, or the number of modes included in a certain performance increases or decreases, the original basic services will not be modified.
[0049] The driving mode control system 10 based on the SOA architecture is based on the SOA concept, realizes the decoupling of software and hardware, improves the software reuse rate, and clearly defines and standardizes the service functions and interfaces of each layer without interfering with each other.
[0050] The storage module stores a computer program, and when the computer program is executed by the mode setting service 12 of the basic service layer or the driving mode setting service 13 of the system service layer, the driving mode control system 10 based on the SOA architecture executes the following method.
[0051] like Figure 2 As shown, the present application also provides a driving mode control method based on the SOA architecture, and the driving mode control method based on the SOA architecture may include the following steps:
[0052] Input a driving mode signal at the mode setting terminal 11, send a call request to the mode setting service 12 of the basic service layer, and call the driving mode setting basic service of the basic service layer;
[0053] The mode setting service 12 of the basic service layer makes a judgment and sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer;
[0054] According to the driving mode, the driving mode setting module of the system service layer performs the driving mode adaptation operation and outputs a preset control value under the driving mode to the other controller 14;
[0055] The other controllers 14 perform control operations and output actual control values to the mode status service 15 of the basic service layer.
[0056] In the above embodiment, a driving mode signal is input from the mode setting terminal 11, and the driving mode setting basic service of the basic service layer is called. The mode setting service 12 of the basic service layer performs priority judgment and input parameter verification, and then sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer. The driving mode setting module of the system service layer performs an adaptation operation corresponding to the driving mode, and outputs a preset control value in the driving mode to other controllers 14. The other controllers 14 perform control operations to make the car travel in the driving mode, and output the actual control value to the mode status service 15 of the basic service layer to complete the implementation of the signal conversion service.
[0057] As an optional implementation manner, the driving mode signal includes a preset driving mode signal and a user-defined mode signal; when the preset driving mode signal is input, the mode setting end sends a corresponding call request to the mode setting service of the basic service layer;
[0058] When the user-defined mode signal is input, the user can perform multiple mode settings at the mode setting end and send a corresponding call request to the mode setting service of the basic service layer.
[0059] In this embodiment, the driving mode signal selected and input by the user at the mode setting end may be a preset driving mode or a user-defined driving mode to enhance the user's experience.
[0060] As an optional implementation manner, the mode setting service 12 of the basic service layer makes a judgment and sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer, including:
[0061] The mode setting service 12 of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer.
[0062] In this embodiment, priority determination and input parameter verification are performed to ensure that the driving mode can be executed normally by other controllers 14 .
[0063] As an optional implementation manner, the mode setting service 12 of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer, including:
[0064] The mode setting service of the basic service layer performs priority judgment to determine whether the called mode setting service of the current basic service layer is running;
[0065] When the same mode setting basic service interface function receives multiple call requests from the mode setting end, if the mode setting service is running, the currently executing call request will be executed first;
[0066] If no mode setting service is running, the call request sent by the mode setting terminal is executed.
[0067] In this embodiment, the service currently running in the mode setting service 12 of the basic service layer is given priority, and after no other service is running before, a notification of the driving mode setting basic service is sent to the driving mode setting service 13 of the system service layer.
[0068] As an optional implementation manner, the mode setting service 12 of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer, including:
[0069] The priority judgment includes that safety requirements take precedence over experience requirements, and driver requirements take precedence over system requirements.
[0070] In this embodiment, the priority judgment criteria also need to consider that safety requirements take precedence over experience requirements and driver requirements take precedence over system requirements.
[0071] As an optional implementation manner, the mode setting service 12 of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer, including:
[0072] The input parameter verification is to judge the input driving mode signal. The vehicle has multiple driving modes, and different driving mode signals represent different driving modes. The parameters of the input driving mode signal are verified so that the input driving mode signal corresponds to the correct driving mode.
[0073] In this embodiment, specific driving modes include comfort mode, sports mode, economy mode, custom mode, ATS mode and super power saving mode. The first code to the sixth code are set in the system to represent different driving mode signals, and the input parameters are checked. If the parameter signal is within the range of the first code to the sixth code, it runs normally. If the parameter signal is not within the range of the first code to the sixth code, it is judged that the service is wrong and reported to the system.
[0074] As an optional implementation manner, the driving mode setting service 13 of the system service layer performs the driving mode adaptation operation and outputs a preset control value under the driving mode to the other controller 14, including:
[0075] The driving mode setting service 13 of the system service layer receives the notification of the driving mode setting basic service, and outputs the preset control value under the driving mode to the other controller 14 according to the settings of other modes linked with the driving mode and various modes customized by the user.
[0076] In order to more clearly illustrate the solution of the present application, the operation of the service-based driving mode control system in two driving modes, namely, the sports mode and the custom mode, is described respectively:
[0077] Among them, when the driving mode is customized, the mode setting terminal 11 can set the acceleration mode, energy recovery mode, creep function status, etc. When the driving mode is non-customized, other modes are set in linkage according to the driving mode, and the mode setting terminal 11 cannot be set.
[0078] like Figure 3 As shown, at the mode setting end 11, the driving mode is set to the sports mode through the soft switch, that is, the driving mode setting basic service of the basic service layer is called; the driving mode setting basic service of the basic service layer receives the call request, performs priority judgment, parameter verification, precondition judgment, etc., and then issues a notification; the driving mode setting system service of the system service layer receives the notification of the driving mode setting basic service, and sets other modes such as acceleration and energy recovery according to the sports driving mode linkage, and then outputs the setting values of each mode; other controllers 14 receive the various mode values output by the driving mode setting system service for control, and output the actual control values of each mode; each mode status service of the basic service layer receives the mode feedback value output by other controllers 14, and implements the signal conversion service.
[0079] like Figure 4As shown, at the mode setting end 11, the driving mode is set to the custom mode through the soft switch, and only the acceleration mode is changed to fast and the creeping function state is changed to on, that is, the driving mode setting basic service, the acceleration mode setting basic service and the creeping function state setting basic service of the basic service layer are called; the driving mode setting basic service, the acceleration mode setting basic service and the creeping function state setting basic service of the basic service layer receive the call request, perform priority judgment and parameter verification, precondition judgment, etc., and then issue a notification; the driving mode setting system service of the system service layer receives the notification of the driving mode setting basic service, the acceleration mode setting basic service and the creeping function state setting basic service, sets the driving mode to custom, the acceleration mode to fast, the creeping function state to on, and other unset modes use the default values; then outputs the setting values of each mode; other controllers 14 receive the mode values output by the driving mode setting system service for control, and output the actual control values of each mode; each mode state service of the basic service layer receives the mode feedback value output by other controllers 14, and implements the signal conversion service.
[0080] In this embodiment, the storage module may be, but is not limited to, a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc. In this embodiment, the storage module may be used to store parameters corresponding to various driving mode signals, priority judgment criteria, and operating status of each service, etc. Of course, the storage module may also be used to store a program, and the processing module executes the program after receiving the execution instruction.
[0081] Understandably, Figure 1 The driving mode control system 10 based on the SOA architecture shown in FIG. 1 is only a schematic diagram of a structure. The driving mode control system 10 based on the SOA architecture may also include Figure 1 More components are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0082] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer executes the driving mode control method based on the SOA architecture as described in the above embodiment.
[0083] Through the description of the above implementation methods, technical personnel in this field can clearly understand that the present application can be implemented through hardware, and can also be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0084] In summary, the embodiment of the present application provides a driving mode control method, system and storage medium based on SOA architecture. In this solution, a driving mode signal is input from the mode setting terminal 11, and the driving mode setting basic service of the basic service layer is called. The mode setting service 12 of the basic service layer performs priority judgment and input parameter verification, and then sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer. The driving mode setting module of the system service layer performs the adaptation operation corresponding to the driving mode, and outputs the preset control value in the driving mode to other controllers 14. The other controllers 14 perform control operations to make the car drive in the driving mode, and output the actual control value to the mode state service 15 of the basic service layer, completing the implementation of the signal conversion service.
[0085] In the embodiments provided in the present application, it should be understood that the disclosed system and method can also be implemented in other ways. The system and method embodiments described above are merely schematic, for example, the flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or a code, and a part of the module, program segment or code includes one or more executable instructions for implementing the specified logical function. It should also be noted that each box in the block diagram and / or the flow chart, and the combination of the boxes in the block diagram and / or the flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.
[0086] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A driving mode control method based on SOA architecture, characterized in that: Applied to a driving mode control system based on an SOA architecture, the system includes a mode setting terminal, a mode setting service of a basic service layer, a driving mode setting service of a system service layer, other controllers, and a mode status service of a basic service layer, and the method includes: Inputting a driving mode signal at the mode setting end, sending a call request to the mode setting service of the basic service layer, and calling the driving mode setting basic service of the basic service layer; The mode setting service of the basic service layer makes a judgment and sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer; According to the driving mode, the driving mode setting module of the system service layer performs the driving mode adaptation operation and outputs a preset control value under the driving mode to the other controllers; The other controllers perform control operations and output actual control values to the mode status service of the basic service layer; According to the general principles of service-oriented software architecture design, combined with the actual software and hardware design scheme and functional or performance requirements of the driving mode system, define the functions that each layer of service should complete, the interfaces between each layer of services, and the relevant data types, split the software components according to their functions, and arrange them on different service layers; The mode setting service of the basic service layer is used to provide a service calling interface function to the mode setting end, wherein the service calling interface function includes a driving mode setting interface function, an acceleration mode setting interface function, a creeping function state setting interface function, an energy recovery mode setting interface function, a braking mode setting interface function, and a steering assist mode setting interface function, and the driving modes include a comfort mode, a sports mode, an economy mode, an ATS mode, and a super power saving mode; The mode setting service of the basic service layer makes a judgment and sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, including: The mode setting service of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer; The mode setting service of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, including: The mode setting service of the basic service layer performs priority judgment to determine whether the called mode setting service of the current basic service layer is running; When the same mode setting basic service interface function receives multiple call requests from the mode setting end, if the mode setting service is running, the currently executing call request will be executed first; If no mode setting service is running, the call request sent by the mode setting terminal is executed.
2. The driving mode control method based on SOA architecture according to claim 1, characterized in that: Inputting a driving mode signal at the mode setting end and sending a call request to the mode setting service of the basic service layer include: The driving mode signal includes a preset driving mode signal and a user-defined mode signal; when the preset driving mode signal is input, the mode setting end sends a corresponding call request to the mode setting service of the basic service layer; When the user-defined mode signal is input, the user can perform multiple mode settings at the mode setting end and send a corresponding call request to the mode setting service of the basic service layer.
3. The driving mode control method based on SOA architecture according to claim 1, characterized in that: The mode setting service of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, including: The priority judgment includes that safety requirements take precedence over experience requirements, and driver requirements take precedence over system requirements.
4. The driving mode control method based on SOA architecture according to claim 1, characterized in that: The mode setting service of the basic service layer performs priority judgment and input parameter verification respectively, and after meeting the judgment criteria, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, including: The input parameter verification is to judge the input driving mode signal. The vehicle has multiple driving modes, and different driving mode signals represent different driving modes. The parameters of the input driving mode signal are verified so that the input driving mode signal corresponds to the correct driving mode.
5. The driving mode control method based on SOA architecture according to claim 1, characterized in that: The driving mode setting service of the system service layer performs the driving mode adaptation operation and outputs a preset control value under the driving mode to the other controller, including: The driving mode setting service of the system service layer receives a notification from the driving mode setting basic service, and outputs a preset control value under the driving mode to the other controllers according to the settings of other modes linked to the driving mode and various modes customized by the user.
6. A driving mode control system based on SOA architecture, characterized in that: The system includes a mode setting terminal, a mode setting service of a basic service layer, a driving mode setting service of a system service layer, other controllers, a mode status service of a basic service layer, and a storage module; The mode setting end is used to input requests for different modes; The mode setting service of the basic service layer is used to provide a service calling interface function to the mode setting terminal; The driving mode setting service of the system service layer is used to set each mode according to the notification of each mode setting basic service of the basic service layer; the other controllers are used to receive the setting request of the system service layer, and control each mode in combination with other preconditions, and output the actual control value of each mode; the mode state service of the basic service layer is used to receive the actual state value of each mode fed back by other controllers; The driving mode control system based on the SOA architecture defines the functions that each layer of service should complete, the interfaces between each layer of service, and the relevant data types according to the general principles of service-oriented software architecture design, combined with the actual software and hardware design scheme and functional or performance requirements of the driving mode system, and splits the software components according to their functions and arranges them on different service layers; The storage module stores a computer program, and when the computer program is executed by the mode setting service of the basic service layer or the driving mode setting service of the system service layer, the driving mode control system based on the SOA architecture executes the method as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 4.
