Scene creation method and device, corresponding vehicle, computer device and medium
Through the methods of voice input analysis and scene description generation, the problem of complex and limited use of existing vehicle scene creation tools is solved, and scene creation is realized without parking in various situations, providing a user-friendly scene creation experience.
Patent Information
- Application Number
- CN202311809053.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-06-27
AI Technical Summary
The existing vehicle scene creation tools are complex and difficult to use in various situations, limiting the user's freedom to create scenes.
By receiving voice input from vehicle users, analyzing and judging the intent of voice input, obtaining description information related to the scene, and generating scene files to create scenes.
It enables scene creation to be triggered and implemented through natural language without parking, providing a user-friendly scene creation method, avoiding restrictions on security conditions.
Smart Images

Figure CN120215913A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicles, and more particularly, to a method and device for creating scenarios for vehicles, as well as corresponding vehicles, computer devices, and non-transitory computer-readable storage media. Background Art
[0002] Current vehicles usually provide scenarios / modes that include combinations of some services. When a user turns on such scenarios / modes in a specific environment, it will trigger relevant in-vehicle devices to be adjusted to the desired state. Most of these current scenarios / modes are pre-set by vehicle manufacturers. When creating and generating such scenarios / modes, vehicle manufacturers generally rely on some visual editing tools. Such tools generally require a certain understanding of system terms and need to have a certain degree of professionalism and strong logical ability or programming skills. If such tools are opened to users to create scenarios / modes, they can be presented in a visual scenario through a mobile phone app for users to perform drag-and-drop operations.
[0003] However, although existing visual editing tools (such as Zone-Lite of Zero Beam and the scenario editor of NIO) provide users with a certain degree of custom editing ability, they are still complex for ordinary users. In addition, existing visual editing tools usually need to be used when the vehicle is parked or under some relatively safe conditions, which imposes restrictions on vehicle users for creating scenarios. Summary of the Invention
[0004] The object of the present invention is to provide a scenario creation solution for vehicles to solve at least part of the above problems.
[0005] According to a first aspect of the present invention, there is provided a method for creating a scenario for a vehicle, including:
[0006] A receiving step: receiving a voice input from a user of the vehicle;
[0007] A parsing and judging step: parsing the voice input and judging whether the voice input indicates a scenario creation intention to create a scenario;
[0008] An obtaining step: when the judgment result is affirmative, obtaining scenario description information related to the scenario to be created;
[0009] A generating step: generating a scenario file based on the scenario description information for creating a scenario.
[0010] According to a second aspect of the present invention, there is provided a device for creating a scenario for a vehicle, including:
[0011] A receiving device configured to: receive a voice input from a user of the vehicle;
[0012] A parsing and determination device, configured to: parse the voice input and determine whether the voice input indicates a scene creation intention of expecting to create a scene;
[0013] An acquisition device, configured to: when the determination result is affirmative, acquire scene description information related to the scene expected to be created;
[0014] A generation device, configured to: generate a scene file based on the scene description information for creating a scene.
[0015] According to a third aspect of the present invention, a vehicle is provided, including the scene creation device according to the second aspect of the present invention.
[0016] According to a fourth aspect of the present invention, a computer device is provided, including a memory and a processor, where computer instructions are stored on the memory, and when the computer instructions are executed by the processor, the method according to the first aspect of the present invention is caused to be executed.
[0017] According to a fifth aspect of the present invention, a non-transitory computer-readable storage medium is provided, on which computer instructions are stored, and when the computer instructions are executed by a processor, the method according to the first aspect of the present invention is caused to be executed.
[0018] With the solution of the present invention, a vehicle user only needs to provide a voice input to achieve scene creation, and can trigger and implement scene creation in natural language unrestrictedly in various situations. Therefore, the present invention avoids the requirements for parking or other safety conditions in existing scene creation solutions, and at the same time provides a user-friendly scene creation method. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The non-limiting and non-exhaustive embodiments of the present invention are described by way of example with reference to the following drawings, where:
[0020] Figure 1 shows a flowchart of a scene creation method for a vehicle according to an embodiment of the present invention;
[0021] Figure 2 shows a block diagram of a scene creation device for a vehicle according to an embodiment of the present invention;
[0022] Figure 3 shows a scene creation application for a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] To make the above and other features and advantages of the present invention more clear, the present invention will be further described below with reference to the accompanying drawings. The accompanying drawings form a part of this application and, together with the embodiments of the present invention, are used to illustrate the present invention. For the purpose of clarity and simplicity, detailed descriptions of the known functions and structures of the devices, apparatuses, and / or equipment described herein will be omitted when they may obscure the subject matter of the present invention. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are merely exemplary, not restrictive.
[0024] The features described herein may be embodied in different forms and should not be construed as limited to the embodiments described herein. Instead, the embodiments described herein are provided only to illustrate some of the many possible ways of implementing the devices and / or systems described herein, which will be apparent after understanding the disclosure of this application.
[0025] As used herein, the term "and / or" includes any one of the associated listed items and any combination of any two or more of the associated listed items.
[0026] Although terms such as "first", "second", and "third" may be used herein to describe various components, parts, portions, or elements, these components, parts, portions, or elements are not limited by these terms. Instead, these terms are only used to distinguish one component, part, portion, or element from another. Thus, a first component, part, portion, or element referred to herein may also be referred to as a second component, part, portion, or element without departing from the teachings of the present invention.
[0027] The terms used herein are only for describing the respective embodiments and are not used to limit the present disclosure. Unless the context clearly indicates otherwise, "a", "an", and "the" are also intended to include the plural forms. The terms "comprising", "including", and "having" specify the presence of the stated features, operations, components, elements, and / or combinations thereof, but do not preclude the presence or addition of one or more other features, operations, components, elements, and / or combinations thereof.
[0028] In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention. However, it will be apparent to those of ordinary skill in the art that the specific details need not be employed to practice the present invention. In other instances, well-known steps or operations have not been described in detail to avoid obscuring the present invention.
[0029] Reference Figure 1, which shows a flowchart of a scenario creation method 100 for a vehicle according to an embodiment of the present invention. The method 100 may include: a receiving step S101, a parsing and judging step S102, an obtaining step S103, and a generating step S104.
[0030] In the receiving step S101, a voice input from a user of the vehicle may be received. In one embodiment, the voice input from the user of the vehicle may be received through a voice receiving device (e.g., a microphone) on the vehicle side.
[0031] In the parsing and judging step S102, the voice input may be parsed and it may be judged whether the voice input indicates a scenario creation intention to create a scenario. This parsing and judging may be implemented in various possible ways.
[0032] For example, in one embodiment, the parsing and judging step S102 may include: identifying the vocabulary included in the voice input and judging whether the vocabulary indicates a scenario creation intention to create a scenario. Here, there is a conversion from audio (voice) to text; in this regard, there are various existing implementation technologies, such as automatic speech recognition (ASR, Automatic Speech Recognition). There is also a multi-intent understanding of the text; in this regard, there are various existing implementation technologies, such as natural language understanding (NLU, Natural Language Understanding).
[0033] When a positive judgment result is obtained in the parsing and judging step S102, the obtaining step S103 may be executed. In the obtaining step S103, scenario description information related to the expected scenario to be created may be obtained. The scenario description information may be obtained in various possible ways.
[0034] In one embodiment, information related to scenario creation is extracted from the voice input as the scenario description information. Here, there is a conversion from audio (voice) to text; in this regard, there are various existing implementation technologies, such as ASR. There may also be a multi-intent understanding of the text; in this regard, there are various existing implementation technologies, such as NLU.
[0035] In another embodiment, alternatively or additionally, the scenario description information is obtained by: asking the user for information related to scenario creation and extracting, from the user's response to the question, information related to scenario creation as the scenario description information. Advantageously, the question is asked in a voice manner, and the user's response to the question is a voice response. In this case, audio (voice) to text conversion is involved; in this regard, there are various existing implementation technologies, such as ASR. There may also be involved multi-intent understanding of the text; in this regard, there are various existing implementation technologies, such as NLU. It can be expected that the question can be initiated when the scenario description information extracted from the voice input is insufficient; additionally, the question-answer can be carried out multiple times until the obtained scenario description information is sufficient. However, the present invention is not limited thereto.
[0036] In one embodiment, when the obtained scenario description information includes information indicating the following items, it can be considered sufficient: 1) expected scenario creation conditions; 2) at least one expected scenario construction element; and 3) the expected control manner in which each expected scenario construction element is expected to be controlled. However, the present invention is not limited thereto. For example, it can be expected that when the obtained scenario description information indicates one or two of 1) expected scenario creation conditions, 2) expected scenario construction elements, and 3) expected control manners, the obtained scenario description information is supplemented in a predetermined default manner to obtain scenario description information indicating each of 1) expected scenario creation conditions, 2) expected scenario construction elements, and 3) expected control manners.
[0037] Here, "expected scenario creation conditions" means the expected conditions for creating a scenario, which can be various possible conditions that trigger scenario creation. For example, the expected scenario creation conditions can be a certain time, a certain location, etc. "Expected scenario construction elements" means the expected elements involved in constructing a scenario, which can be various possible constituent elements of the expected scenario to be created. For example, "expected scenario construction elements" can be a certain vehicle component or in-vehicle device (such as a seat, ambient light, air conditioner, etc.), a certain entertainment element (such as music, video, etc.), etc. For an expected scenario construction element, its "expected control manner" means the manner in which the expected scenario construction element is expected to be controlled, which can involve the control of various aspects of the expected scenario construction element. For example, the "expected control manner" can involve the control of the state (such as the on / off state of the air conditioner, the tilt angle / height of the seat), characteristics or parameters (such as the track / volume of music, the color / brightness of the ambient light), activation time (such as the activation time of the air conditioner), etc. of the corresponding expected scenario construction element.
[0038] In the generation step S104, a scene file can be generated based on the acquired scene description information for creating a scene. In one embodiment, the acquired scene description information is further processed to obtain a scene file. For example, as shown, the generation step S104 may include steps S1041, S1042, S1043, S1044, and S1045. Nevertheless, it is contemplated in the present invention that a scene file can be directly generated from the acquired scene description information.
[0039] In step S1041, preliminary scene data is generated based on the acquired scene description information, and the preliminary scene data indicates: 1) desired scene creation conditions; 2) at least one desired scene construction element; and 3) a desired control mode in which each desired scene construction element is desired to be controlled.
[0040] In step S1042, it is checked whether the preliminary scene data meets a predetermined standard related to vehicle control safety. In one embodiment, this check may specifically include: checking whether controlling each of the one or more desired scene construction elements in the corresponding desired control mode meets a predetermined standard related to vehicle control safety. In another embodiment, this check may specifically include: checking whether controlling each of the one or more desired scene construction elements in the corresponding desired control mode under the desired scene creation conditions meets a predetermined standard related to vehicle control safety. The predetermined standard can be various possible standards related to vehicle control safety and can involve various possible elements, such as the above-mentioned scene construction elements. In one embodiment, when controlling a certain desired scene construction element in the corresponding desired control mode violates the regulations regarding vehicle safety or may cause risks in vehicle safety, it can be considered that it does not meet the predetermined standard related to vehicle control safety. In another embodiment, when controlling a certain desired scene construction element in the corresponding desired control mode while controlling another desired scene construction element in the corresponding desired control mode violates the regulations regarding vehicle safety or may cause risks in vehicle safety, it can be considered that it does not meet the predetermined standard related to vehicle control safety.
[0041] If the check result in step S1042 is affirmative, proceed to step S1044, and use the preliminary scene data as the final scene data.
[0042] If the check result in step S1042 is negative, proceed to step S1043 to optimize the preliminary scene data to generate the final scene data. The preliminary scene data can be optimized in various possible ways.
[0043] In one embodiment, when the check result is negative, the preliminary scene data can be automatically optimized to generate the final scene data.
[0044] In another embodiment, in the case where the inspection result is negative, suggestions related to scenario creation can be provided to the user, feedback from the user on the suggestions can be received, the preliminary scenario data can be optimized based on the feedback, and final scenario data can be generated based on the optimized preliminary scenario data. In one embodiment, the optimization of the preliminary scenario data is achieved through voice interaction via voice interactive confirmation and / or modification instructions, and both the suggestions provided to the user and the feedback from the user on the suggestions are in voice form. In this case, audio (voice) to text conversion is involved; in this regard, there are various existing implementation technologies, such as ASR. Multi-intent understanding of the text may also be involved; in this regard, there are various existing implementation technologies, such as NLU. In other embodiments, alternatively or additionally, suggestions related to scenario creation can be provided to the user in a visual manner and feedback from the user on the suggestions can be received.
[0045] The final scenario data can indicate: 1)' actual scenario creation conditions; 2)' at least one actual scenario construction element; and, 3)' the actual control mode in which each actual scenario construction element will actually be controlled. The automatic optimization of the preliminary scenario data and the suggestions provided to the user can be based on a predetermined standard related to vehicle control safety, such that the resulting final scenario data complies with the predetermined standard related to vehicle control safety, that is, controlling each of the at least one actual scenario construction element in the corresponding actual control mode under the actual scenario creation conditions complies with the predetermined standard related to vehicle control safety.
[0046] Here, "actual scenario creation conditions" means the actual conditions for creating a scenario, which can be various possible actual conditions that trigger scenario creation. For example, the actual scenario creation conditions can be a certain time, a certain location, etc. "Actual scenario construction elements" means the actual elements involved in constructing a scenario, which can be various possible components that make up the scenario to be created. For example, "actual scenario construction elements" can be a certain vehicle component or in-vehicle device (such as a seat, ambient light, air conditioner, etc.), a certain entertainment element (such as music, video, etc.), etc. For an actual scenario construction element, its "actual control mode" means the way in which the actual scenario construction element will actually be controlled, which can involve controlling various aspects of the actual scenario construction element. For example, the "actual control mode" can involve controlling the state (such as the on / off state of the air conditioner, the tilt angle / height of the seat), characteristics or parameters (such as the track / volume of music, the color / brightness of the ambient light), activation time (such as the activation time of the air conditioner), etc. of the corresponding actual scenario construction element.
[0047] In step S1045, a scenario file is generated based on the final scenario data for creating a scenario. This can be achieved in various possible ways.
[0048] In one embodiment, generating a scenario file based on the final scenario data includes storing the final scenario data as an executable scenario file.
[0049] In another embodiment, the final scenario data is in the form of natural language, and the scenario file adopts the text structure of JSON. In this case, step S1045 may include the following sub-steps: the first sub-step of converting the final scenario data into a syntax tree; the second sub-step of performing a relationship mapping between the converted syntax tree (natural language syntax tree) and a domain-specific language (DSL) for describing the scenario to construct a scenario DSL syntax tree, and serializing the constructed scenario DSL syntax tree into the domain-specific language description content of the scenario as the scenario file, where the domain-specific language description content may be a text structure of JSON. The first sub-step involves syntactic analysis of natural language, more specifically, syntactic analysis techniques for converting natural language into a syntax tree; in this regard, there are various existing implementation techniques, such as the syntax parser in existing compilation systems. The second sub-step can also adopt existing implementation techniques, which will not be elaborated here.
[0050] It can be expected that the scenario creation method of the present invention may further include: when the actual scenario creation condition is satisfied, creating a scenario in the vehicle using the scenario file so that each of the one or more actual scenario construction elements is controlled in the corresponding actual control manner in the created scenario. In one embodiment, the scenario file is the domain-specific language description content of the scenario (such as a text structure of JSON); in this case, by parsing the domain-specific language description content of the scenario and executing various operations defined therein (such as controlling each actual scenario construction element), a scenario is created, which can be implemented by a corresponding DSL language execution module.
[0051] Reference Figure 2 , a block diagram of a scenario creation device 200 for a vehicle according to an embodiment of the present invention is shown. The device 200 may include: a receiving device 201, a parsing and judging device 202, an obtaining device 203, and a generating device 204.
[0052] The receiving device 201 may be configured to: receive a voice input from a user of the vehicle.
[0053] The parsing and judging device 202 may be configured to: parse the voice input and judge whether the voice input indicates a scenario creation intention to create a scenario. In one embodiment, the parsing and judging device 202 may be configured to: identify the vocabulary included in the voice input and judge whether the vocabulary indicates a scenario creation intention to create a scenario.
[0054] The obtaining device 203 may be configured to: when the judgment result is affirmative, obtain scenario description information related to the expected scenario to be created. In one embodiment, the obtaining device 203 may be configured to: when the judgment result is affirmative, extract information related to scenario creation from the voice input as scenario description information related to the expected scenario to be created; and / or, when the judgment result is affirmative, ask the user for information related to scenario creation, and extract information related to scenario creation from the user's reply to the question as scenario description information related to the expected scenario to be created.
[0055] The generating device 204 may be configured to: generate a scenario file based on the scenario description information for creating a scenario. In one embodiment, the generating device 204 may be configured to: generate preliminary scenario data based on the scenario description information, the preliminary scenario data indicating expected scenario creation conditions, one or more expected scenario construction elements, and an expected control manner in which each of the expected scenario construction elements is expected to be controlled; check whether controlling each of the one or more expected scenario construction elements in the corresponding expected control manner complies with a predetermined standard related to vehicle control safety; when the check result is negative, optimize the preliminary scenario data to generate final scenario data; generate a scenario file based on the final scenario data for creating a scenario. The final scenario data may indicate: 1)' actual scenario creation conditions; 2)' at least one actual scenario construction element; and, 3)' an actual control manner in which each actual scenario construction element will actually be controlled.
[0056] It can be expected that the scenario creation device of the present invention may further include a scenario creation means, which is configured to: when the actual scenario creation conditions are met, use the scenario file to create a scenario in the vehicle such that each of the one or more actual scenario construction elements is controlled in the corresponding actual control manner in the created scenario.
[0057] Figure 3 Shows a scenario creation application for a vehicle according to an embodiment of the present invention.
[0058] At block 301, the user can provide a voice input indicating the intention of creating a scene, such as "I want to create a scene to turn on the music when I get off work", via a voice receiving device (such as a microphone) of the vehicle. A voice processing device (not shown) of the vehicle can parse the user's voice input, identify the intention of creating the scene, and obtain relevant scene description information (corresponding to steps S101 and S102 above). In terms of obtaining the scene description information, information related to scene creation can be extracted from the user's voice input as the scene description information, and when necessary, the scene description information can be obtained through an interactive dialogue - that is, the vehicle's voice output device (not shown) asks the user for information related to scene creation in a voice manner, and the vehicle's voice receiving device receives the user's voice reply to the question and the vehicle's voice processing device extracts information related to scene creation from the voice reply as the scene description information; for details, reference can be made to the relevant description above. In this case, the vehicle's voice receiving device, voice processing device, and voice output device constitute an interactive dialogue system (which can also be referred to as a "vehicle scene dialogue system").
[0059] After obtaining the relevant scene description information, at block 302, preliminary scene data is generated based on the scene description information. The preliminary scene data indicates the expected scene creation conditions, one or more expected scene construction elements, and the expected control methods for each of the expected scene construction elements to be controlled. Here, a trained AI model can be used to generate the preliminary scene data from the scene description information, so that the generated preliminary scene data can be used to automatically create a scene. In this sense, block 302 can constitute a vehicle scene generator.
[0060] Then, at block 303, it is checked whether controlling each of the one or more expected scene construction elements in the corresponding expected control method complies with a predetermined standard related to vehicle control safety. In this sense, block 303 can constitute a vehicle control configuration safety check module.
[0061] In the case where the check result is negative, then, at block 304, suggestions related to scene creation are provided to the user in a visual manner, the user's feedback on the suggestions is received, and the preliminary scene data is optimized based on the feedback to generate final scene data. As understood by those skilled in the art, the suggestions can be displayed on an existing visual editor, and the user can make manual adjustments on the visual editor to input feedback. In this sense, block 304 can constitute a visual editor. Similarly, a trained AI model can be used here, and the generated final scene data can be used to automatically create a scene.
[0062] The obtained final scene data can be stored as a scene file for being called to create a scene when the actual scene creation conditions are met.
[0063] The present invention further provides a vehicle, which includes a scene creation device for a vehicle according to the present invention.
[0064] It should be understood that the specific features, operations and details described above regarding the scene creation method of the present invention can also be similarly applied to the scene creation device of the present invention, or vice versa. In addition, each step of the scene creation method of the present invention described above can be executed by the corresponding components or devices of the scene creation device of the present invention.
[0065] It should be understood that each device of the scene creation device of the present invention can be implemented in whole or in part by software, hardware, firmware or a combination thereof. Each of the devices can be embedded in the processor of a computer device in the form of hardware or firmware or independent of the processor, or can be stored in the memory of the computer device in the form of software for the processor to call to execute the operations of each device. Each of the devices can be implemented as an independent component or module, or two or more devices can be implemented as a single component or module.
[0066] Those of ordinary skill in the art should understand that Figure 2 the schematic diagram of the device shown in [[ ]] only shows a block diagram of an exemplary illustration of some structures related to the solution of the present invention, and does not constitute a limitation on the computer device, processor or computer program embodying the solution of the present invention. The specific computer device, processor or computer program may include more or fewer components or modules than those shown in the figure, or combine or split some components or modules, or may have a different arrangement of components or modules.
[0067] In one embodiment, a computer device is provided, which includes a memory and a processor. Computer instructions executable by the processor are stored on the memory. When executed by the processor, the computer instructions direct the processor to perform the various steps of the method of the present invention. The above vehicle may include this computer device. The computer device can generally be a server, an in-vehicle terminal, or any other electronic device with the necessary computing and / or processing capabilities. In one embodiment, the computer device may include a processor, a memory, a network interface, a communication interface, etc., connected via a system bus. The processor of the computer device can be used to provide the necessary computing, processing, and / or control capabilities. The memory of the computer device may include a non-volatile storage medium and an internal memory. An operating system, a computer program, etc. may be stored in or on the non-volatile storage medium. The internal memory can provide an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the computer device can be used to connect and communicate with external devices via a network. When executed by the processor, the computer program performs the various steps of the method of the present invention.
[0068] The present invention can be implemented as a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program causes the steps of the method of the present invention to be executed. The above vehicle may include this computer-readable storage medium and a processor. In one embodiment, the computer program is distributed across a plurality of network-coupled computer devices or processors such that the computer program is stored, accessed, and executed in a distributed manner by one or more computer devices or processors. A single method step / operation, or two or more method steps / operations, can be executed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / operations can be executed by one or more computer devices or processors, and one or more other method steps / operations can be executed by one or more other computer devices or processors. One or more computer devices or processors can execute a single method step / operation, or execute two or more method steps / operations.
[0069] Those of ordinary skill in the art can understand that all or part of the operations of the method of the present invention can be completed by a computer program instructing relevant hardware such as a computer device or a processor. The computer program can be stored in a non-transitory computer-readable storage medium. When the computer program is executed, the operations of the method of the present invention are caused to be executed. Depending on the circumstances, any reference herein to a memory, storage, database, or other medium may include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc. The various technical features described above can be combined arbitrarily.
[0070] The various technical features described above can be combined arbitrarily. Although all possible combinations of these technical features have not been described, any combination of these technical features should be considered to be covered by this specification as long as such a combination does not exist in contradiction.
[0071] Although the present invention has been described in conjunction with the embodiments, those skilled in the art should understand that the above description and the accompanying drawings are merely exemplary and not restrictive, and the present invention is not limited to the disclosed embodiments. Various modifications and variations are possible without departing from the spirit of the present invention.
Claims
1. A method for creating a scenario for a vehicle, comprising: A receiving step: receiving a voice input from a user of the vehicle; A parsing and judging step: parsing the voice input and judging whether the voice input indicates a scenario creation intention of expecting to create a scenario; An obtaining step: when the judgment result is affirmative, obtaining scenario description information related to the expected scenario to be created; A generating step: generating a scenario file based on the scenario description information for creating a scenario.
2. The scenario creation method according to claim 1, wherein, The parsing and judging step includes: Identifying the vocabulary included in the voice input and judging whether the vocabulary indicates a scenario creation intention of creating a scenario.
3. The method for creating a scenario according to claim 1 or 2, wherein, The obtaining step includes: When the judgment result is affirmative, extracting information related to scenario creation from the voice input as scenario description information related to the expected scenario to be created; and / or, When the judgment result is affirmative, asking the user for information related to scenario creation and extracting information related to scenario creation from the user's reply to the question as scenario description information related to the expected scenario to be created.
4. The scenario creation method according to claim 1, wherein, The generating step includes: Generating preliminary scenario data based on the scenario description information, the preliminary scenario data indicating expected scenario creation conditions, one or more expected scenario construction elements, and an expected control mode for each of the expected scenario construction elements to be controlled; Checking whether controlling each of the one or more expected scenario construction elements in the corresponding expected control mode complies with a predetermined standard related to vehicle control safety; When the check result is negative, optimizing the preliminary scenario data to generate final scenario data; Generating a scenario file based on the final scenario data for creating a scenario.
5. The scenario creation method according to claim 4, wherein When the check result is negative, optimizing the preliminary scenario data to generate final scenario data includes: When the check result is negative, providing the user with suggestions related to scenario creation, receiving the user's feedback on the suggestions, optimizing the preliminary scenario data based on the feedback, and generating final scenario data based on the optimized preliminary scenario data; and / or, When the check result is negative, automatically optimizing the preliminary scenario data to generate final scenario data.
6. The scenario creation method according to claim 4 or 5, wherein, The final scenario data indicates actual scenario creation conditions, one or more actual scenario construction elements, and an actual control mode for each of the actual scenario construction elements to be actually controlled. The scenario creation method further includes: When the actual scenario creation conditions are met, using the scenario file to create a scenario in the vehicle so that each of the one or more actual scenario construction elements in the created scenario is controlled in the corresponding actual control mode.
7. A scenario creation device for a vehicle, comprising: A receiving device configured to: receive a voice input from a user of the vehicle; A parsing and judging device configured to: parse the voice input and judge whether the voice input indicates a scenario creation intention of expecting to create a scenario; An obtaining device configured to: when the judgment result is affirmative, obtain scenario description information related to the expected scenario to be created; A generation device, configured to: generate a scene file based on the scene description information for creating a scene.
8. The scenario creation device according to claim 7, wherein, The parsing and judging device is configured to: Identify the vocabulary included in the voice input and judge whether the vocabulary indicates an intention of creating a scene for creating a scene.
9. The scene creation device according to claim 7 or 8, wherein, The obtaining device is configured to: When the judgment result is affirmative, extract information related to scene creation from the voice input as scene description information related to the expected scene to be created; and / or, When the judgment result is affirmative, ask the user for information related to scene creation, and extract information related to scene creation from the user's reply to the question as scene description information related to the expected scene to be created.
10. The scene creation device according to claim 7, wherein, The generation device is configured to: Generate preliminary scene data based on the scene description information, where the preliminary scene data indicates expected scene creation conditions, one or more expected scene construction elements, and an expected control manner in which each of the expected scene construction elements is expected to be controlled; Check whether controlling each of the one or more expected scene construction elements in the corresponding expected control manner complies with a predetermined standard related to vehicle control safety; When the check result is negative, optimize the preliminary scene data to generate final scene data; Generate a scene file based on the final scene data for creating a scene.
11. The scene creation device according to claim 10, wherein, When the check result is negative, optimizing the preliminary scene data to generate final scene data includes: When the check result is negative, provide the user with suggestions related to scene creation, receive the user's feedback on the suggestions, optimize the preliminary scene data based on the feedback, and generate final scene data based on the optimized preliminary scene data; and / or, When the check result is negative, automatically optimize the preliminary scene data to generate final scene data.
12. The scene creation device according to claim 10 or 11, wherein, The final scene data indicates actual scene creation conditions, one or more actual scene construction elements, and an actual control manner in which each of the actual scene construction elements will actually be controlled. The scene creation device further includes a scene creation means, which is configured to: When the actual scene creation conditions are met, use the scene file to create a scene in the vehicle such that each of the one or more actual scene construction elements is controlled in the corresponding actual control manner in the created scene.
13. A vehicle, comprising the scene creation device according to any one of claims 7-12.
14. A computer device, comprising a memory and a processor, where computer instructions are stored on the memory, and when the computer instructions are executed by the processor, the method according to any one of claims 1-6 is caused to be executed.
15. A non-transitory computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the method according to any one of claims 1-6 is caused to be executed.