CN115840396B - Driving mode control method, system and storage medium based on SOA architecture - Google Patents
Driving mode control method, system and storage medium based on SOA architecture Download PDFInfo
- Publication number
- CN115840396B CN115840396B CN202211535161.1A CN202211535161A CN115840396B CN 115840396 B CN115840396 B CN 115840396B CN 202211535161 A CN202211535161 A CN 202211535161A CN 115840396 B CN115840396 B CN 115840396B
- Authority
- CN
- China
- Prior art keywords
- service
- mode setting
- driving mode
- mode
- service layer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000006870 function Effects 0.000 claims abstract description 47
- 238000013461 design Methods 0.000 claims abstract description 9
- 238000012795 verification Methods 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 8
- 238000011084 recovery Methods 0.000 claims description 5
- 238000012986 modification Methods 0.000 abstract description 4
- 230000004048 modification Effects 0.000 abstract description 4
- 230000006798 recombination Effects 0.000 abstract description 2
- 238000005215 recombination Methods 0.000 abstract description 2
- 230000001133 acceleration Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Control Of Transmission Device (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention belongs to the technical field of server software architecture, and particularly relates to a driving mode control method, a driving mode control system and a storage medium based on an SOA architecture. A driving mode control system based on SOA architecture comprises a mode setting end, a mode setting service of a basic service layer, a driving mode setting service of a system service layer, and mode state services of other controllers and the basic service layer. According to the general principle of the design of the service software architecture, the functions which should be completed by each layer of service, interfaces between each layer of service and related data types are defined by combining the actual software and hardware design scheme and functional or performance requirements of the driving mode system, and software components are split according to the functions and are arranged on different service layers, so that the purposes of flexible modification, recombination and calling are achieved.
Description
Technical Field
The invention belongs to the technical field of server software architecture, and particularly relates to a driving mode control method, a driving mode control system and a storage medium based on an SOA architecture.
Background
Along with the rapid propulsion of the automobile in 'new four' (intelligent, networking, electric and sharing), the functions of the automobile become more and more complex, the electronic control units on the automobile also become more and more, the signals of each ECU must be statically planned and routed in design, the driving mode control software commonly used at present adopts a non-SOA software architecture, the software modules are strongly coupled, the reusability is low, when the new hardware equipment is added to the whole automobile or the updating iteration is carried out on the whole automobile, the whole automobile software is inevitably changed, the workload is high, the efficiency is low, the software reusability is low, the development cost is high, and the delivery period is long.
Disclosure of Invention
The purpose of the invention is that: the driving mode control method, the driving mode control system and the storage medium based on the SOA architecture are used for packaging each functional module into an interoperable service component which can be used in a plurality of independent systems under the SOA architecture, so that the flexibility of software deployment is improved, the reusability is enhanced, and the development cost is reduced.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
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 the SOA architecture, where the system includes a mode setting end, a mode setting service of a base service layer, a driving mode setting service of a system service layer, other controllers, and a mode status service of the base service layer, and the method includes:
Inputting a driving mode signal at the mode setting end, sending a calling 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 judges 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, a driving mode setting module of the system service layer performs the driving mode adapting operation and outputs a preset control value in the driving mode to the other controllers;
And the other controllers perform control operation and output actual control values to the mode state service of the basic service layer.
With reference to the first aspect, in some optional embodiments, inputting a driving mode signal at the mode setting end, sending a call request to a mode setting service of the basic service layer includes:
The driving mode signals comprise preset driving mode signals and user-defined mode signals; when the preset driving mode signal is input, the mode setting end sends a corresponding calling request to the mode setting service of the basic service layer;
when the user-defined mode signal is input, a 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.
With reference to the first aspect, in some optional embodiments, the determining, by the mode setting service of the base service layer according to a preset algorithm, and sending a notification of the driving mode setting base service to the driving mode setting service of the system service layer includes:
And the mode setting service of the basic service layer respectively carries out priority judgment and parameter entering verification, and after the priority judgment and parameter entering verification meet the judgment standards, a notification of the driving mode setting basic service is sent to the driving mode setting service of the system service layer.
With reference to the first aspect, in some optional embodiments, the mode setting service of the basic service layer performs priority judgment and parameter entry verification, and after the mode setting service meets the judgment standard, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, where the notification includes:
The mode setting service of the basic service layer carries out priority judgment and determines whether the called mode setting service of the current basic service layer is running or not;
When the same mode setting basic service interface function receives a plurality of call requests from a mode setting end, if the mode setting service is running, the call request which is currently executed is preferentially executed;
and if no mode setting service is operated, executing the call request sent by the mode setting end.
With reference to the first aspect, in some optional embodiments, the mode setting service of the basic service layer performs priority judgment and parameter entry verification, and after the mode setting service meets the judgment standard, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, where the notification includes:
The priority determination includes a priority of the safety demand over the experiential demand and a priority of the driver demand over the system demand.
With reference to the first aspect, in some optional embodiments, the mode setting service of the basic service layer performs priority judgment and parameter entry verification, and after the mode setting service meets the judgment standard, sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, where the notification includes:
The parameter entering verification is to judge the input driving mode signals, the vehicle has multiple driving modes, different driving modes are represented by different driving mode signals, and parameters of the input driving mode signals are verified, so that the signals of the input driving modes correspond to correct driving modes.
With reference to the first aspect, in some optional embodiments, the driving mode setting service of the system service layer performs the driving mode adapting operation, and outputs a preset control value in the driving mode to the other controller, including:
And the driving mode setting service of the system service layer receives a notification of the driving mode setting basic service, sets other modes in linkage according to the driving mode and the user-defined various modes, and outputs a preset control value in the driving mode to the other controllers.
In a second aspect, the embodiment of the application also provides a driving mode control system based on an SOA architecture, wherein the system comprises a mode setting end, 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 the basic service layer and a storage module;
The mode setting end is used for inputting requests for different modes; the mode setting service of the basic service layer is used for providing service calling interface functions for the mode setting end; the driving mode setting service of the system service layer is used for setting 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 for receiving the setting request of the system service layer, controlling each mode by combining other preconditions, and outputting the actual control value of each mode; the mode state service of the basic service layer is used for receiving actual state values of all modes fed back by other controllers; and 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.
In a third aspect, embodiments of the present application also provide a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to perform the above-described method.
The invention adopting the technical scheme has the following advantages:
the functions of a mode setting end in a driving mode control system based on an SOA architecture, a mode setting service of a basic service layer, a driving mode setting service of a system service layer, mode state services of other controllers and the basic service layer and the like are packaged into interoperable service components which can be used in a plurality of independent systems, so that flexible deployment of software is facilitated, reusability of the software is improved, and development cost is reduced.
Drawings
The invention can be further illustrated by means of non-limiting examples given in the accompanying drawings;
fig. 1 is a block diagram of a driving mode control system based on an SOA architecture according to an embodiment of the present application.
Fig. 2 is a flow chart of a driving mode control method based on an SOA architecture according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a service call flow when a driving mode of the driving mode control system based on the SOA architecture provided by the embodiment of the present application is a motion mode;
Fig. 4 is a schematic service call flow diagram of a driving mode control system based on an SOA architecture according to an embodiment of the present application when a driving mode is a custom mode;
The main reference numerals are as follows:
10. a driving mode control system based on an SOA architecture; 11. a mode setting end; 12. a mode setting service of the basic service layer; 13. a driving mode setting service of the system service layer; 14. other controllers; 15. the mode state service of the base service layer.
Detailed Description
The present invention will be described in detail below with reference to the drawings and the specific embodiments, wherein like or similar parts are designated by the same reference numerals throughout the drawings or the description, and implementations not shown or described in the drawings are in a form well known to those of ordinary skill in the art. In addition, directional terms such as "upper", "lower", "top", "bottom", "left", "right", "front", "rear", etc. in the embodiments are merely directions with reference to the drawings, and are not intended to limit the scope of the present invention.
As shown in fig. 1, an embodiment of the present application provides a driving mode control system 10 based on an SOA architecture, where 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 the basic service layer, and a storage module.
Wherein, the mode setting terminal 11 makes setting requests for various modes, and each mode setting comprises driving mode setting, accelerating mode setting, creeping function setting, energy recovery mode setting, braking mode setting, steering assistance mode setting and the like.
In this embodiment, the mode setting terminal 11 may be an automobile center control screen or a mobile terminal.
The mode setting service 12 of the basic service layer is used for providing service call interface functions to the mode setting terminal 11. The service is unified to the external interface, when the same mode setting basic service interface function receives a call request sent by a mode setting end, priority judgment is carried out on the call request, and after pre-condition inspection, priority judgment and checking-in, the driving mode setting system service execution setting request is informed according to a judgment result; and the system also comprises a power-down memory function, and when the system is powered up again after power-down, the memory value is used before the mode setting terminal 11 is not set. The specific service calling interface function comprises 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, a steering power assisting mode setting interface function and the like.
The driving mode setting service 13 of the system service layer is used for setting each mode according to the notification of setting the basic service of each mode of the basic service layer, and comprises the functions of setting other modes in a linkage manner according to the driving mode and customizing each mode by a user, wherein the specific driving modes comprise a comfort mode, a sport mode, an economic mode, a custom mode, an ATS mode, a super power saving mode and the like; and also includes a function of transferring the service to the signal.
The other controller 14 is configured to receive a setting request of the system service layer, perform control of each mode in combination with other preconditions, and output actual control values of each mode.
In this embodiment, the other controller 14 may be VCU, EPS, IBCU or the like.
The mode status service 15 of the basic service layer is configured to receive the actual status value of each mode fed back by the other controller 14, and implement the signal conversion service.
In this embodiment, a driving mode signal is input from the mode setting end 11, a driving mode setting basic service of a basic service layer is invoked, the mode setting service 12 of the basic service layer performs priority judgment and parameter entry verification, then a notification of the driving mode setting basic service is sent 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, a preset control value in the driving mode is output to the other controllers 14, the other controllers 14 perform a control operation, the automobile is driven in the driving mode, an actual control value is output to the mode state service 15 of the basic service layer, and the implementation of the signal conversion service is completed.
The driving mode control system 10 based on the SOA architecture defines the functions which each layer of service should complete, interfaces between each layer of service and related data types according to the overall principle of the design of the service software architecture and by combining the actual software and hardware design scheme and the functional or performance requirements of the driving mode system, splits the software components according to the functions and arranges the software components on different service layers, thereby achieving the purposes of flexible modification, recombination and calling.
The basic service of the driving mode control system 10 based on the SOA architecture is not affected by the number of modes, the change of the mode values and the increase of functions, and even if the mode associated with the driving mode is increased, the value representing different modes is changed or the number of modes contained in a certain performance is increased or decreased, the original basic service is not modified.
The driving mode control system 10 based on the SOA architecture realizes software and hardware decoupling based on the SOA concept, improves the software multiplexing rate, and definitely defines and standardizes service functions and interfaces of each layer without interference.
The storage module stores a computer program that, when executed by the mode setting service 12 of the basic service layer or the driving mode setting service 13 of the system service layer, causes the driving mode control system 10 based on the SOA architecture to execute the method described below.
As shown in fig. 2, the present application further provides a driving mode control method based on an SOA architecture, where the driving mode control method based on the SOA architecture may include the following steps:
inputting a driving mode signal at the mode setting end 11, sending a calling request to the mode setting service 12 of the basic service layer, and calling the driving mode setting basic service of the basic service layer;
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;
According to the driving mode, the driving mode setting module of the system service layer performs the driving mode adapting operation and outputs a preset control value in the driving mode to the other controller 14;
the other controller 14 performs a control operation and outputs an actual control value to the mode status service 15 of the base service layer.
In the above embodiment, the driving mode signal is input from the mode setting end 11, the driving mode setting basic service of the basic service layer is invoked, the mode setting service 12 of the basic service layer performs priority judgment and parameter entry verification, then the notification of the driving mode setting basic service is sent 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, the preset control value in the driving mode is output to the other controllers 14, the other controllers 14 perform the control operation, the automobile runs in the driving mode, the actual control value is output to the mode state service 15 of the basic service layer, and the implementation of the signal conversion service is completed.
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 calling request to the mode setting service of the basic service layer;
when the user-defined mode signal is input, a 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.
In this embodiment, the driving mode signal input by the user at the mode setting end may be a preset driving mode or a driving mode customized by the user, so as to enhance the use experience of the user.
As an alternative embodiment, 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:
the mode setting service 12 of the basic service layer performs priority judgment and parameter entry verification, and sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer after the priority judgment and parameter entry verification meet the judgment standards.
In the present embodiment, priority determination and check-in are performed to ensure that the driving mode can be normally executed by the other controller 14.
As an optional implementation manner, the mode setting service 12 of the basic service layer performs priority judgment and parameter entry verification, and after the priority judgment and parameter entry verification meet the judgment standards, sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer, including:
The mode setting service of the basic service layer carries out priority judgment and determines whether the called mode setting service of the current basic service layer is running or not;
When the same mode setting basic service interface function receives a plurality of call requests from a mode setting end, if the mode setting service is running, the call request which is currently executed is preferentially executed;
and if no mode setting service is operated, executing the call request sent by the mode setting end.
In the present embodiment, the service being operated in the mode setting service 12 of the basic service layer is prioritized, and after no other service has been operated before, a notification of the driving mode setting basic service is sent to the driving mode setting service 13 of the system service layer
As an optional implementation manner, the mode setting service 12 of the basic service layer performs priority judgment and parameter entry verification, and after the priority judgment and parameter entry verification meet the judgment standards, sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer, including:
The priority determination includes a priority of the safety demand over the experiential demand and a priority of the driver demand over the system demand.
In the present embodiment, the priority determination criteria also need to consider that the safety requirement is prioritized over the experience requirement and the driver requirement is prioritized over the system requirement.
As an optional implementation manner, the mode setting service 12 of the basic service layer performs priority judgment and parameter entry verification, and after the priority judgment and parameter entry verification meet the judgment standards, sends a notification of the driving mode setting basic service to the driving mode setting service 13 of the system service layer, including:
The parameter entering verification is to judge the input driving mode signals, the vehicle has multiple driving modes, different driving modes are represented by different driving mode signals, and parameters of the input driving mode signals are verified, so that the signals of the input driving modes correspond to correct driving modes.
In this embodiment, the specific driving modes include a comfort mode, a sport mode, an economy mode, a custom mode, an ATS mode and a super power saving mode, the first code to the sixth code are set in the system to represent different driving mode signals, the input parameters are checked, if the parameter signals are in the first code to the sixth code, the normal operation is performed, if the parameter signals are not in the first code to the sixth code, the service error is judged, and the system is reported.
As an alternative embodiment, the driving mode setting service 13 of the system service layer performs the driving mode adapting operation, and outputs a preset control value in the driving mode to the other controller 14, including:
The driving mode setting service 13 of the system service layer receives notification of the driving mode setting basic service, sets other modes in linkage according to the driving mode and the user-defined modes, and outputs a preset control value in the driving mode to the other controller 14.
In order to more clearly illustrate the scheme of the application, the operation of the service-based driving mode control system in two modes, namely a driving mode as a sport mode and a custom mode, is illustrated:
When the driving mode is a custom mode, the mode setting terminal 11 may set an acceleration mode, an energy recovery mode, a creeping function state, and the like, and when the driving mode is a non-custom mode, other modes are set in a linkage mode according to the driving mode, and the mode setting terminal 11 may not set.
As shown in fig. 3, at the mode setting end 11, setting the driving mode to the sport mode through a soft switch, that is, calling the driving mode of the basic service layer to set the basic service; setting a driving mode of a basic service layer, setting a basic service, receiving a calling request, carrying out priority judgment, parameter entering verification, pre-condition judgment and the like, and then sending a notification; the driving mode setting system service of the system service layer receives a notification of a driving mode setting basic service, sets other modes such as acceleration, energy recovery and the like in a linkage manner according to a motion driving mode, and then outputs setting values of the modes; the other controllers 14 receive the mode values output by the driving mode setting system service to control and output actual control values of the modes; each mode state service of the basic service layer receives the mode feedback value output by the other controller 14, and implements signal transfer service.
As shown in fig. 4, at the mode setting end 11, the driving mode is set to be a custom mode through a soft switch, and meanwhile, only the acceleration mode is modified to be fast and the creeping function state is 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 calling request, perform priority judgment, parameter entering verification, pre-condition judgment and the like, and then send out a notification; the driving mode setting system service of the system service layer receives a notification of a driving mode setting basic service, an acceleration mode setting basic service and a creeping function state setting basic service, sets a driving mode as self-definition, sets an acceleration mode as fast, sets a creeping function state as on, and uses a default value for other unset modes; then outputting the set value of each mode; the other controllers 14 receive the mode values output by the driving mode setting system service to control and output actual control values of the modes; each mode state service of the basic service layer receives the mode feedback value output by the other controller 14, and implements signal transfer service.
In this embodiment, the memory 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 configured to store parameters corresponding to various driving mode signals, priority determination criteria, operation states of the services, and the like. 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.
It is understood that the driving mode control system 10 based on the SOA architecture shown in fig. 1 is only a schematic structural diagram, and the driving mode control system 10 based on the SOA architecture may further include more components than those shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium has stored therein a computer program which, when run on a computer, causes the computer to execute the driving mode control method based on the SOA architecture as described in the above embodiments.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented in hardware, or by means of software plus a necessary general hardware platform, and based on this understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disc, a mobile hard disk, etc.), and includes several instructions for causing a computer device (may be a personal computer, or a network device, etc.) to execute the method described in the respective implementation scenario of the present application.
In summary, the embodiment of the application provides a driving mode control method, a driving mode control system and a storage medium based on an SOA architecture. In the scheme, a driving mode signal is input from a mode setting end 11, a driving mode setting basic service of a basic service layer is called, the mode setting service 12 of the basic service layer carries out priority judgment and parameter entering verification, then a notification of the driving mode setting basic service is sent to a driving mode setting service 13 of a system service layer, a driving mode setting module of the system service layer carries out corresponding adaptation operation of a driving mode, a preset control value in the driving mode is output to other controllers 14, the other controllers 14 carry out control operation, an automobile runs in the driving mode, an actual control value is output to a mode state service 15 of the basic service layer, and the realization of signal conversion service is completed.
In the embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other manners as well. The above described system and method embodiments are merely illustrative, for example, of the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (7)
1. A driving mode control method based on SOA architecture is characterized in that: the driving mode control system applied to the SOA architecture comprises a mode setting end, 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 the basic service layer, wherein the method comprises the following steps:
Inputting a driving mode signal at the mode setting end, sending a calling 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 judges 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, a driving mode setting module of the system service layer performs the driving mode adapting operation and outputs a preset control value in the driving mode to the other controllers;
The other controllers perform control operation and output actual control values to the mode state service of the basic service layer;
According to the general principle of the design of the service software architecture, the actual software and hardware design scheme and the functional or performance requirements of the driving mode system are combined, the functions which are required to be completed by each layer of service, interfaces between each layer of service and related data types are defined, and software components are split according to the functions and are arranged on different service layers;
The mode setting service of the basic service layer is used for providing service calling interface functions for a mode setting end, the service calling interface functions comprise a driving mode setting interface function, an accelerating 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 power assisting mode setting interface function, and the driving modes comprise a comfort mode, a motion mode, an economic mode, an ATS mode and a super power saving mode;
the mode setting service of the basic service layer judges and sends a notification of the driving mode setting basic service to the driving mode setting service of the system service layer, and the method comprises the following steps:
The mode setting service of the basic service layer respectively carries out priority judgment and parameter entering verification, and after the priority judgment and parameter entering verification meet the judgment standards, a notification of the driving mode setting basic service is sent to the driving mode setting service of the system service layer;
the mode setting service of the basic service layer respectively carries out priority judgment and parameter entering verification, and after the mode setting service accords with the judgment standard, a notification of the driving mode setting basic service is sent to the driving mode setting service of the system service layer, and the method comprises the following steps:
The mode setting service of the basic service layer carries out priority judgment and determines whether the called mode setting service of the current basic service layer is running or not;
When the same mode setting basic service interface function receives a plurality of call requests from a mode setting end, if the mode setting service is running, the call request which is currently executed is preferentially executed;
and if no mode setting service is operated, executing the call request sent by the mode setting end.
2. The driving mode control method based on the SOA architecture as claimed in claim 1, wherein: 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, wherein the call request comprises:
The driving mode signals comprise preset driving mode signals and user-defined mode signals; when the preset driving mode signal is input, the mode setting end sends a corresponding calling request to the mode setting service of the basic service layer;
when the user-defined mode signal is input, a 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 the SOA architecture as claimed in claim 1, wherein: the mode setting service of the basic service layer respectively carries out priority judgment and parameter entering verification, and after the mode setting service accords with the judgment standard, a notification of the driving mode setting basic service is sent to the driving mode setting service of the system service layer, and the method comprises the following steps:
The priority determination includes a priority of the safety demand over the experiential demand and a priority of the driver demand over the system demand.
4. The driving mode control method based on the SOA architecture as claimed in claim 1, wherein: the mode setting service of the basic service layer respectively carries out priority judgment and parameter entering verification, and after the mode setting service accords with the judgment standard, a notification of the driving mode setting basic service is sent to the driving mode setting service of the system service layer, and the method comprises the following steps:
the parameter entering verification is to judge the input driving mode signals, the vehicle has multiple driving modes, different driving modes are represented by different driving mode signals, and parameters of the input driving mode signals are verified, so that the signals of the input driving modes correspond to correct driving modes.
5. The driving mode control method based on the SOA architecture as claimed in claim 1, wherein: the driving mode setting service of the system service layer performs the driving mode adapting operation and outputs a preset control value in the driving mode to the other controller, including:
And the driving mode setting service of the system service layer receives a notification of the driving mode setting basic service, sets other modes in linkage according to the driving mode and the user-defined various modes, and outputs a preset control value in the driving mode to the other controllers.
6. The driving mode control system based on the SOA architecture is characterized in that: the system comprises a mode setting end, 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 the basic service layer and a storage module;
The mode setting end is used for inputting requests for different modes; the mode setting service of the basic service layer is used for providing service calling interface functions for the mode setting end; the driving mode setting service of the system service layer is used for setting 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 for receiving the setting request of the system service layer, controlling each mode by combining other preconditions, and outputting the actual control value of each mode; the mode state service of the basic service layer is used for receiving actual state values of all modes fed back by other controllers;
The driving mode control system based on the SOA architecture defines the functions which the services of each layer should complete, interfaces among the services of each layer and related data types according to the overall principle of the design of the service software architecture and by combining the actual software and hardware design scheme and the functional or performance requirements of the driving mode system, splits the software components according to the functions and arranges the software components on different service layers;
The storage module stores a computer program which, when executed by a mode setting service of the basic service layer or a driving mode setting service of the system service layer, causes the driving mode control system based on SOA architecture to execute the method according to any one of claims 1 to 4.
7. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when run on a computer, causes the computer to perform the method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211535161.1A CN115840396B (en) | 2022-11-30 | 2022-11-30 | Driving mode control method, system and storage medium based on SOA architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211535161.1A CN115840396B (en) | 2022-11-30 | 2022-11-30 | Driving mode control method, system and storage medium based on SOA architecture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115840396A CN115840396A (en) | 2023-03-24 |
CN115840396B true CN115840396B (en) | 2024-08-27 |
Family
ID=85577833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211535161.1A Active CN115840396B (en) | 2022-11-30 | 2022-11-30 | Driving mode control method, system and storage medium based on SOA architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115840396B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114070880A (en) * | 2021-11-12 | 2022-02-18 | 上汽通用五菱汽车股份有限公司 | Vehicle user-defined mode implementation method and device, electronic equipment and storage medium |
CN114809855A (en) * | 2022-04-28 | 2022-07-29 | 重庆长安汽车股份有限公司 | Vehicle window control system based on SOA framework |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102018206720A1 (en) * | 2018-05-02 | 2019-11-07 | Audi Ag | Method for performing a software update in a control unit of a motor vehicle and a correspondingly configured motor vehicle |
US20220297635A1 (en) * | 2020-03-06 | 2022-09-22 | Sonatus, Inc. | System, method, and apparatus for managing vehicle data collection |
US11420656B2 (en) * | 2020-07-13 | 2022-08-23 | GM Global Technology Operations LLC | Security system and method for disabling vehicle functions |
CN114416076A (en) * | 2022-01-30 | 2022-04-29 | 重庆长安汽车股份有限公司 | Service-based vehicle thermal management software architecture |
CN114866586B (en) * | 2022-04-28 | 2023-09-19 | 岚图汽车科技有限公司 | Intelligent driving system, method, equipment and storage medium based on SOA architecture |
CN115334110A (en) * | 2022-08-08 | 2022-11-11 | 小米汽车科技有限公司 | System architecture, communication method, vehicle, medium and chip for vehicle control |
-
2022
- 2022-11-30 CN CN202211535161.1A patent/CN115840396B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114070880A (en) * | 2021-11-12 | 2022-02-18 | 上汽通用五菱汽车股份有限公司 | Vehicle user-defined mode implementation method and device, electronic equipment and storage medium |
CN114809855A (en) * | 2022-04-28 | 2022-07-29 | 重庆长安汽车股份有限公司 | Vehicle window control system based on SOA framework |
Also Published As
Publication number | Publication date |
---|---|
CN115840396A (en) | 2023-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102631121B1 (en) | Power and data center (pdc) for automotive applications | |
CN110971453B (en) | Network topology determination method and device, vehicle network topology structure and vehicle | |
CN108312893B (en) | Double-motor coordination control system and method | |
CN108781350B (en) | Motor vehicle with the communication unit for multiple control units | |
US20230382385A1 (en) | Braking force control device | |
CN106240493A (en) | Electric automobile wire-controlled apparatus based on CAN | |
CN113806109A (en) | Cabin system for realizing SOA (service oriented architecture) based on ROS2 and operation method thereof | |
CN115840396B (en) | Driving mode control method, system and storage medium based on SOA architecture | |
CN114274896A (en) | Load throwing method and vehicle control system | |
CN108657087B (en) | Chassis control system for vehicle | |
WO2022087811A1 (en) | Model inference abnormality processing method, and apparatus | |
CN113254220A (en) | Networked automobile load cooperative control method, device, equipment and storage medium | |
CN114051040A (en) | SOA-based communication architecture and fusion method for vehicle body domain and cockpit domain | |
CN113179052A (en) | Multi-unit motor control method, device, medium, and electronic apparatus | |
CN113212333B (en) | Domain controller and vehicle | |
CN114454719B (en) | Vehicle control method and device, medium, equipment and vehicle | |
KR20160087274A (en) | An Electronic Control Unit multi-core architecture based on AUTOSAR(AUTomotive Open System Architecture) and Vehicle including the same | |
CN116527745A (en) | Multi-virtual machine communication method of automobile centralized EE architecture | |
CN114954305A (en) | Vehicle domain controller system, decoupling method and medium | |
CN114407917A (en) | Driving mode switching method and device, vehicle and readable storage medium | |
CN113518479A (en) | Multi-mode compatible control method and system based on electric automobile heater | |
CN115923686A (en) | Double-machine hot backup whole vehicle control system and method and new energy vehicle | |
CN115214698B (en) | Wire control multi-auxiliary vehicle control system, method and device and vehicle | |
CN216526831U (en) | Cabin domain controller and vehicle | |
CN115848287A (en) | Electric framework and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |