CN-116107554-B - Vehicle-mounted software generation method, system and storage medium
Abstract
The invention discloses a generation method of vehicle-mounted software, which comprises the steps of S10, calling a preset scene library, selecting at least one scene template as a trigger scene, S11, calling a preset interaction library, selecting at least one interaction set to be added to an output port of the trigger scene, S12, calling a preset service library, selecting at least one service set to be added to the trigger scene or the output port of the interaction set, and S13, forming the vehicle-mounted software for the cabin intelligent scene. The invention also discloses a corresponding system and a storage medium. By implementing the invention, the vehicle-mounted software product can be quickly and flexibly generated and obtained, the development cost can be greatly reduced, and the product development efficiency can be improved.
Inventors
- LIAO LEI
- ZHANG JUNYI
- LI HUI
- ZHUANG PEIJIE
- CHEN XIAOLE
- RONG DA
Assignees
- 广州汽车集团股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20211111
Claims (9)
- 1. The generation method of the vehicle-mounted software is characterized by comprising the following steps of: Step S10, calling a preset scene library, and selecting at least one scene template as a trigger scene in the scene library, wherein each scene template consists of at least one meta scene, and the meta scene is an external state, a vehicle state or a vehicle user state signal; step S11, calling a preset interaction library, and selecting at least one interaction set to be added to an output port of the trigger scene; Step S12, calling a preset service library, selecting at least one service set in the service library, and adding the service set to an output port of a trigger scene or an interaction set, wherein the service set is configured with an execution time sequence relation of at least one service or/and a duration time of service execution; Step S13, after being combined according to the scene, the selection service and the interaction mode, vehicle-mounted software for the cabin intelligent scene is formed; Wherein the method further comprises: Generating a scene library, an interaction library and a service library which are suitable for various vehicle types in advance, wherein: the scene constructed in the scene library is composed of at least one scene template, each scene template is composed of one or more meta scenes, and the meta scenes in the scene templates are at least combined by adopting one logic relationship of AND, OR and NOT, and support configuration time sequence relationship; the method comprises the steps of constructing a plurality of interaction sets in an interaction library, wherein each interaction set comprises at least one interaction period, each interaction period comprises an input unit and an output unit, the input unit comprises a function initiation input unit and a willingness option input unit, the output unit comprises a willingness option output unit and a service content output unit, and each interaction period in the same interaction set supports configuration time sequence relation; The service constructed in the service library exists in the form of a service set, the service set consists of one or more meta-services or atomic services, the service support in the service set configures the service execution time sequence relation and the service execution duration, wherein the atomic service corresponds to the vehicle-mounted function service which can be provided by the vehicle, and the meta-service corresponds to the third-party ecological service acquired through the Internet of vehicles; the visual software generating device is used for calling the scene library, the interaction library and the service library, performing visual combination processing and simultaneously providing a simulation starting function.
- 2. The method of claim 1, wherein in the interaction set: the function initiation input unit is expressed by the following formula: The input modes comprise three types of physical key input, voice input and body gesture input, wherein the input points are keys, voice instructions and gesture actions which are carried in the specific input mode and have specific input purposes; The willingness option input unit is expressed by the following formula: In the formula, the service will is represented by 'yes' or 'no', the service options refer to the service options provided by the vehicle-mounted software, and the input mode is the same as that of the function initiation input unit; the willingness option output unit is expressed by the following formula: The method comprises the following steps of judging whether a user selects a service option according to a preset rule, wherein the service option is represented by 'yes' or 'no', wherein the output mode is one of visual output, auditory output and somatosensory output; The service content output unit is expressed by the following formula: 。
- 3. The method according to any one of claims 1 to 2, characterized in that in step S13, before forming the preliminary on-board software for the cabin intellectualization scene, it further comprises a detection step of performing preset product design rules, object connection rules and object triggering rules.
- 4. The method of claim 3, wherein said step S13 further comprises: And performing simulation test on the vehicle-mounted software, and forming the vehicle-mounted software to be released after the simulation test is passed.
- 5. The vehicle-mounted software generation system is characterized by comprising a scene library, an interaction library, a service library and a visualized software generation device, wherein the scene library, the interaction library and the service library are suitable for various vehicle types, and the visualized software generation device further comprises: The system comprises a scene generation unit, a scene generation unit and a control unit, wherein the scene generation unit is used for calling a preset scene library and selecting at least one scene template as a trigger scene; The interaction generating unit is used for calling a preset interaction library and selecting at least one interaction set to be added to an output port of the trigger scene; The system comprises a service generation unit, a trigger scene or interaction set, a service generation unit and a service processing unit, wherein the service generation unit is used for calling a preset service library, selecting at least one service set in the service library and adding the service set to an output port of the trigger scene or interaction set; the vehicle-mounted software obtaining unit is used for forming vehicle-mounted software for the cabin intelligent scene after being combined according to the scene, the selection service and the interaction mode; the scene constructed in the scene Jing Ku is composed of at least one scene template, each scene template is composed of one or more meta scenes, and the meta scenes in the scene template are at least combined by adopting one logic relationship of AND, OR and NOT and support configuration time sequence relationship; the method comprises the steps of constructing a plurality of interaction sets in an interaction library, wherein each interaction set comprises at least one interaction period, each interaction period comprises an input unit and an output unit, the input unit comprises a function initiation input unit and a willingness option input unit, the output unit comprises a willingness option output unit and a service content output unit, and each interaction period in the same interaction set supports configuration time sequence relation; The service constructed in the service library exists in the form of a service set consisting of one or more meta-services or atomic services, wherein the service support in the service set configures the service execution timing relationship and the duration of service execution, the atomic service corresponds to an on-vehicle function service which can be provided by the vehicle itself, and the meta-service corresponds to a third-party ecological service acquired through the internet of vehicles.
- 6. The system of claim 5, wherein in the interaction set: the function initiation input unit is expressed by the following formula: The input modes comprise three types of physical key input, voice input and body gesture input, wherein the input points are keys, voice instructions and gesture actions which are carried in the specific input mode and have specific input purposes; The willingness option input unit is expressed by the following formula: In the formula, the service will is represented by 'yes' or 'no', the service options refer to the service options provided by the vehicle-mounted software, and the input mode is the same as that of the function initiation input unit; the willingness option output unit is expressed by the following formula: The method comprises the following steps of judging whether a user selects a service option according to a preset rule, wherein the service option is represented by 'yes' or 'no', wherein the output mode is one of visual output, auditory output and somatosensory output; The service content output unit is expressed by the following formula: 。
- 7. The system of any one of claims 5 to 6, wherein the visualization software generation means further comprises: And the rule detection unit is used for carrying out detection processes of preset product design rules, object connection rules and object triggering rules before forming the preliminary vehicle-mounted software for the cabin intelligent scene.
- 8. The system as recited in claim 7, further comprising: and the simulation test unit is used for performing simulation test on the vehicle-mounted software obtained by the vehicle-mounted software obtaining unit, and forming the vehicle-mounted software to be released after the simulation test passes.
- 9. A computer readable storage medium having stored therein computer instructions which, when executed by a processor, implement the method of any of claims 1 to 4.
Description
Vehicle-mounted software generation method, system and storage medium Technical Field The invention relates to the technical field of intelligent network automobiles, in particular to a method, a system and a storage medium for generating vehicle-mounted software. Background Software Defined Vehicles (SDV) are new heading for intelligent vehicle development, and in SDV mode, on-board software is managed as independent software by a host factory, so that the design of on-board software becomes an important subject and main task that the host factory must face. Traditional automobile software product development mainly uses functions, and a plurality of ECUs are required to be completed cooperatively, so that assistance of a plurality of suppliers is involved, the development period is long, and the cost is high. Meanwhile, in the prior art, a one-time development mode is mostly adopted, new scenes and new services are developed, the code is required to be rewritten, the efficiency is low, and the cost is high. In addition, the developed products or services also lack complete testing at the whole vehicle level, and certain potential safety hazards and experience defects exist. Therefore, the development mode of soft and hard separation is urgent under the trend of the software-defined automobile, and the separation of software release and automobile release becomes trend, but the current industry lacks a corresponding generation method and development tool for developing the vehicle-mounted software product. Disclosure of Invention The invention aims to provide a method, a system and a storage medium for generating vehicle-mounted software. The vehicle-mounted software product development and the whole vehicle release are separated, and the vehicle-mounted software product can be rapidly and efficiently developed. In order to solve the above technical problems, as one aspect of the present invention, a method for generating vehicle software is provided, including the following steps: step S10, calling a preset scene library, and selecting a scene template related to expected vehicle-mounted software as a trigger scene, wherein each scene template consists of at least one meta scene, and the meta scene is an external state, a vehicle state or a vehicle user state signal; step S11, calling a preset interaction library, and selecting at least one interaction set related to expected vehicle-mounted software to add to an output port of a trigger scene; step S12, calling a preset service library, selecting at least one service set related to expected vehicle-mounted software, and adding the service set to an output port of a trigger scene or an interaction set, wherein the service set is configured with an execution time sequence relation of at least one service or/and a duration time of service execution; And S13, after being combined according to the scene, the selection service and the interaction mode, forming vehicle-mounted software for the cabin intelligent scene. Wherein, further include: Generating a scene library, an interaction library and a service library which are suitable for various vehicle types in advance, wherein: The scene constructed in the scene library is composed of at least one scene template, each scene template is composed of one or more meta scenes, and the meta scenes in the scene templates are at least combined by adopting one logic relationship of AND, OR and NOT, and support configuration time sequence relationship. The method comprises the steps of constructing a plurality of interaction sets in an interaction library, wherein each interaction set comprises at least one interaction period, each interaction period comprises an input unit and an output unit, the input unit comprises a function initiation input unit and a willingness option input unit, the output unit comprises a willingness option output unit and a service content output unit, and each interaction period in the same interaction set supports configuration time sequence relation; The service constructed in the service library exists in the form of a service set, the service set consists of one or more meta-services or atomic services, the service support in the service set configures the service execution time sequence relation and the service execution duration, wherein the atomic service corresponds to the vehicle-mounted function service which can be provided by the vehicle, and the meta-service corresponds to the third-party ecological service acquired through the Internet of vehicles; the visual software generating device is used for calling the scene library, the interaction library and the service library, performing visual combination processing and simultaneously providing a simulation starting function. Wherein, in the interaction set, the function initiation input unit adopts the following formula: { target function: < input mode >, < input point > } The input modes comprise three types of physical key input