Vehicle scene risk detection method and device, server, and vehicle-mounted equipment

By detecting and alerting users to conflicts between scenarios to be created and those already created, the system resolves unreasonable issues in user-defined vehicle scenario settings, improves user experience, and avoids safety risks and mechanical failures.

CN122173154APending Publication Date: 2026-06-09PETAL CLOUD TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PETAL CLOUD TECH CO LTD
Filing Date
2024-12-09
Publication Date
2026-06-09

Smart Images

  • Figure CN122173154A_ABST
    Figure CN122173154A_ABST
Patent Text Reader

Abstract

The application provides a vehicle scene risk detection method and device, a server and a vehicle-mounted equipment, and relates to the technical field of automobile services. The method comprises the following steps: acquiring a first scene of a vehicle, the first scene being a to-be-created scene, the first scene comprising at least one first trigger condition and at least one first action information, wherein the at least one first action information is executed when the at least one first trigger condition is met; determining whether there is a conflict between the first scene and at least one second scene of the vehicle, the at least one second scene being a created scene, the second scene comprising at least one second trigger condition and at least one second action information, wherein the at least one second action information is executed when the at least one second trigger condition is met; and outputting first conflict prompt information in the case that there is a conflict between the first scene and the at least one second scene. The above scheme can improve user experience by detecting scene conflicts and giving conflict prompts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automotive service technology, and more specifically, to a vehicle scenario risk detection method, device, server, and in-vehicle equipment. Background Technology

[0002] With the continuous development of intelligent vehicles, more and more car manufacturers are opening up the capabilities of their vehicles to users. Users can customize and combine various functions of the vehicle according to their own preferences, driving habits and needs to achieve customized scenarios.

[0003] Users may configure vehicle functions in an unreasonable way. For example, a user might create a scenario where seat ventilation is activated when the driver's seat is occupied, and another scenario where seat heating is activated when the driver's seat is occupied. Since ventilation and heating of seat components are mutually exclusive, the vehicle might not activate either seat ventilation or seat heating when the driver's seat is occupied. Clearly, unreasonable configurations between scenarios can lead to a poor user experience, and may even pose safety risks or cause functional disruptions to the vehicle's infotainment system. Summary of the Invention

[0004] This application provides a vehicle scene risk detection method, device, server, and in-vehicle equipment, which can improve user experience by detecting scene conflicts and providing conflict prompts.

[0005] Firstly, a vehicle scene risk detection method is provided, which can be applied to servers, in-vehicle devices, or terminal devices. The method includes: acquiring a first scene of the vehicle, the first scene being a scene to be created, the first scene including at least one first trigger condition and at least one first action information, wherein the at least one first action information is executed when all at least one first trigger condition is met; determining whether there is a conflict between the first scene and at least one second scene of the vehicle, the at least one second scene being a created scene, the second scene including at least one second trigger condition and at least one second action information, wherein the at least one second action information is executed when all at least one second trigger condition is met; and outputting a first conflict warning message when a conflict exists between the first scene and at least one second scene.

[0006] It should be understood that the first conflict warning information indicates a conflict between the first scenario and the at least one second scenario. The method provided in this application embodiment can be executed by a server, an in-vehicle device, or a terminal device. When the method provided in this application embodiment is executed by a server, the server can output the first warning information to the in-vehicle device or terminal device (e.g., a mobile phone or tablet). After receiving the first conflict warning information, the vehicle or terminal device can display the first conflict warning information on the display screen.

[0007] The method provided in this application improves the user experience during scene creation by detecting conflicts between a scene to be created and an existing scene, and provides a conflict warning when conflicts exist. This enhances the user's sense of intelligence when using the vehicle's infotainment system. Furthermore, by modifying conflicting scenes according to the conflict warning, users can better avoid safety risks and mechanical malfunctions caused by conflicts between scenes.

[0008] In one possible implementation, determining whether a conflict exists between a first scenario and at least one second scenario of the vehicle includes: determining whether a loopback conflict exists between the first scenario and at least one second scenario of the vehicle. A loopback conflict indicates that the execution of a target first action information in the at least one first action information leads to the execution of a target second action information in the at least one second action information, and the execution of the target second action information leads to the execution of the target first action information.

[0009] In other words, if the fulfillment of the triggering condition of the first scenario causes the system to enter an infinite loop, that is, to repeatedly execute the action information in the first scenario and the action information in the second scenario, it indicates that there is a loop conflict between the first scenario and the at least one second scenario.

[0010] Loop conflicts can lead to execution errors or execution disorder. According to the solution provided in the embodiments of this application, by detecting whether there is a loop conflict between the first scenario and at least one second scenario and providing a conflict prompt, users can modify the scenario settings in a timely manner based on the conflict prompt to avoid the occurrence of loop conflicts.

[0011] In one possible implementation, determining whether a loop conflict exists between the first scenario and the at least one second scenario includes: identifying action information-trigger condition pairs in the first scenario and the at least one second scenario, which consist of action information and trigger conditions belonging to different scenarios; determining whether the identified at least one action information-trigger condition pair includes a negatively associated action information-trigger condition pair, wherein a negatively associated action information-trigger condition pair indicates that the trigger condition is not satisfied after the action information is executed; if the at least one action information-trigger condition pair does not include a negatively associated action information-trigger condition pair, determining that a loop conflict exists between the first scenario and the at least one second scenario.

[0012] Based on the above implementation method, it can be determined whether there is a loop conflict between the first scenario and the at least one second scenario.

[0013] In one possible implementation, determining whether there is a conflict between the first scenario and the at least one second scenario includes: determining whether there is a repetitive execution conflict between the first scenario and the at least one second scenario, wherein a repetitive execution conflict means that action information for the same object is executed multiple times within a preset control time interval.

[0014] Action information for the same object includes action information from the same non-mechanical control and action information from the same mechanical control. In one example, if the same non-mechanical control action information is executed multiple times within a preset control time interval, the user is allowed to create a first scene. If the same mechanical control action information is executed multiple times within a preset control time interval, the user is not allowed / prohibited from creating a first scene.

[0015] If the same mechanical control action information is executed multiple times within a preset control time interval, i.e., frequently controlling the same machine within a time period shorter than the preset control time interval, it may cause mechanical failure and affect the machine's lifespan. For example, frequently raising and lowering the suspension within a short period of time may cause suspension failure. In this embodiment, by detecting whether there is a repeated execution conflict between the first scene and the at least one second scene and providing a conflict warning, the user can adjust the scene settings in a timely manner to avoid repeated execution conflicts, thereby preventing mechanical failures caused by repeated execution conflicts.

[0016] In one possible implementation, determining whether there is a duplicate execution conflict between the first scenario and the at least one second scenario includes: obtaining multiple execution time intervals associated with third action information, wherein an execution time interval associated with an action information indicates that the action information is executed after a delay of the execution time interval, the third action information is action information for the same object in the first scenario and the at least one second scenario, and the third action information includes at least two different action information; and determining whether there is a duplicate execution conflict between the first scenario and the at least one second scenario based on the multiple execution time intervals.

[0017] In one possible implementation, determining whether there is a repeated execution conflict between the first scenario and the at least one second scenario based on the plurality of execution time intervals includes: determining whether there is a repeated execution conflict between the first scenario and the at least one second scenario based on the plurality of execution time intervals and a preset control time interval; if the average value of the plurality of execution time intervals is greater than the preset control time interval, determining that there is a repeated execution conflict between the first scenario and the at least one second scenario.

[0018] In one possible implementation, the first conflict warning message indicates a risk of mechanical failure.

[0019] According to this prompt, users can modify the scene settings to avoid potential mechanical failures.

[0020] In one possible implementation, the first conflict alert information includes information about the existence of a conflict and / or suggestions for resolving the conflict.

[0021] In one possible implementation, before determining whether there is a conflict between the first scene and at least one second scene of the vehicle, the method further includes: during the creation of the second scene, acquiring first information and second information, wherein the first information is information already added to the first scene, and the second information is information to be added to the first scene, the first information including a fourth trigger condition and / or fourth action information, wherein the fourth action information is executed when the fourth trigger condition is met, and the second information including a fifth trigger condition or fifth action information; determining whether there is a conflict between the first information and the second information; and outputting a second conflict prompt information if there is a conflict between the first information and the second information.

[0022] The method provided in this application improves the user experience during scene creation by detecting conflicts within the scene during scene creation and providing conflict alerts when conflicts exist. This enhances the user's sense of intelligence when using the vehicle's infotainment system. Furthermore, by modifying conflicting information based on the conflict alerts, users can better avoid safety risks and mechanical malfunctions caused by conflicts within the scene.

[0023] In one possible implementation, determining whether there is a conflict between the first information and the second information includes: determining that there is a conflict between the first information and the second information if one or more of the following conditions are met: the fifth action information is not executable when the fourth triggering condition is met, the fourth triggering condition and the fifth triggering condition are mutually exclusive, or the execution of the fourth action information makes the fifth action information not executable.

[0024] Based on the above implementation method, it can be determined whether there is a conflict between the first information and the second information.

[0025] In one implementation, determining whether there is a conflict between the first and second information includes: if the object corresponding to the fourth triggering condition is a dependent object of the fifth action information, and the dependency relationship between the fourth triggering condition and the fifth action information is a negative dependency, then a conflict exists between the fourth triggering condition and the fifth action information. Specifically, a negative dependency between an action information and the state of its dependent object indicates that the action information cannot be executed when the vehicle is in the state of the dependent object.

[0026] In one possible implementation, when the first information includes a fourth triggering condition, determining whether there is a conflict between the first information and the second information includes: determining whether the fourth action information and the fifth action information are action information for the same object; if the fourth action information and the fifth action information are action information for the same object, determining that there is a conflict between the first information and the second information; or, if the fourth action information and the fifth action information are different action information for the same object, and the execution time interval between the fourth action information and the fifth action information is less than a preset control time interval, determining that there is a conflict between the first information and the second information.

[0027] Based on the above implementation method, it can be determined whether there is a conflict between the first information and the second information. Furthermore, if the conflicting action information is the same mechanical control action information, a conflict warning can be issued to avoid unloading failures.

[0028] In one possible implementation, before determining whether a conflict exists between the first scenario and at least one second scenario of the vehicle, the method further includes: determining whether a conflict exists between the second scenarios in response to a user action that creates the second scenario.

[0029] The method provided in this application improves the user experience during scene creation by detecting conflicts within the scene during scene creation and providing conflict alerts when conflicts exist. This enhances the user's sense of intelligence when using the vehicle's infotainment system. Furthermore, by modifying conflicting information based on the conflict alerts, users can better avoid safety risks and mechanical malfunctions caused by conflicts within the scene.

[0030] In one possible implementation, determining whether a conflict exists in the second scenario includes: determining that a conflict exists in the second scenario if the second scenario satisfies one or more of the following: there is at least one triggering condition in the second scenario that makes at least one action information unexecutable, there are mutually exclusive triggering conditions in the second scenario, or the execution of one action information in the second scenario causes the other action information to become unexecutable.

[0031] Based on the above implementation method, it can be determined whether there is a conflict between the first information and the second information.

[0032] In one possible implementation, determining whether a conflict exists in the second scenario includes: determining whether the second scenario includes multiple action information for the same object; if the second scenario includes multiple action information for the same object, or if the second scenario includes multiple action information for the same object and the average execution time interval between the multiple action information is less than a preset control time interval, then the second scenario is determined to have a conflict.

[0033] Based on the above implementation method, it can be determined whether there is a conflict between the first information and the second information. Furthermore, if the conflicting action information is the same mechanical control action information, a conflict warning can be issued to avoid unloading failures.

[0034] Secondly, a vehicle scenario risk detection device is provided, which includes units for implementing the steps of the method in the first aspect or any possible implementation of the first aspect.

[0035] For example, the device may be a server, a vehicle-mounted device, or a terminal device.

[0036] Thirdly, a vehicle scenario risk detection device is provided. The device includes at least one processor and a memory coupled together. The memory stores program instructions. When the program instructions stored in the memory are executed by the processor, the method in the first aspect or any possible implementation of the first aspect is executed.

[0037] For example, the device may be a server, a vehicle-mounted device, or a terminal device.

[0038] Fourthly, a vehicle scene risk detection device is provided, the device including at least one processor and interface circuit, wherein the at least one processor is used to execute the method in the first aspect or any possible implementation of the first aspect.

[0039] For example, the device may be a server, a vehicle-mounted device, or a terminal device.

[0040] Fifthly, a vehicle scenario risk detection system is provided, which is used to execute the methods in the first aspect or any possible implementation of the first aspect.

[0041] In a sixth aspect, a computer program product is provided, the computer program product including computer program instructions, which, when executed, cause the method in the first aspect or any possible implementation thereof to be performed.

[0042] In a seventh aspect, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when the computer program is executed, the method in the first aspect or any possible implementation thereof is performed.

[0043] Eighthly, a chip is provided, the chip comprising: a processor for calling and running a computer program from a memory, such that the method in the first aspect or any possible implementation thereof is executed. Attached Figure Description

[0044] Figures 1A to 1J This is a schematic diagram illustrating the process of creating a scene in a customized manner as provided in the embodiments of this application;

[0045] Figures 2A to 2D This is a schematic diagram illustrating the process of creating a scene by adding a sharing code, as provided in an embodiment of this application.

[0046] Figures 3A to 3C This is a schematic diagram illustrating the process of creating a scene by adding officially recommended scenes, as provided in an embodiment of this application.

[0047] Figure 4A and Figure 4B This is a schematic diagram of a scenario for triggering scenario conflict detection and providing conflict prompts, provided in an embodiment of this application.

[0048] Figures 5A to 5C This is another scenario diagram illustrating the triggering of scenario conflict detection and conflict notification provided in the embodiments of this application;

[0049] Figure 6 This is a schematic diagram of a system architecture provided in an embodiment of this application;

[0050] Figure 7 This is a schematic flowchart of the vehicle scenario risk detection method provided in this application;

[0051] Figure 8 This is a schematic diagram illustrating the positive and negative associations provided in this application;

[0052] Figure 9 This is a schematic diagram illustrating the relationship between action information and triggering condition pairs between scenes provided in the embodiments of this application;

[0053] Figure 10 This is a schematic diagram of the second scenario provided in the embodiments of this application;

[0054] Figure 11 This is a schematic diagram of the second scenario provided in the embodiments of this application;

[0055] Figure 12 This is another system architecture diagram provided in the embodiments of this application;

[0056] Figure 13 This is a schematic flowchart of the vehicle scenario risk detection method provided in the embodiments of this application;

[0057] Figures 14A to 14D This is a schematic diagram of a scenario for triggering scenario conflict detection and providing conflict prompts, provided in an embodiment of this application.

[0058] Figure 15A and Figure 15BThis is another scenario diagram illustrating the triggering of scenario conflict detection and conflict notification provided in the embodiments of this application;

[0059] Figure 15C This is a schematic diagram illustrating scene setting modification based on conflict prompts provided in an embodiment of this application;

[0060] Figures 16A to 16C This is another scenario diagram illustrating the triggering of scenario conflict detection and conflict notification provided in the embodiments of this application;

[0061] Figure 17 This is a schematic flowchart of the vehicle scenario risk detection method provided in the embodiments of this application;

[0062] Figure 18 This is a schematic flowchart of the vehicle scenario risk detection method provided in the embodiments of this application;

[0063] Figure 19 and Figure 20 This is a schematic diagram of two conflict detection rules provided in an embodiment of this application;

[0064] Figures 21A to 21C This is a schematic diagram of a scenario where a modified existing scenario triggers scenario conflict detection and provides a conflict warning, as provided in an embodiment of this application.

[0065] Figure 22 This is a schematic diagram of the structure of an in-vehicle device, terminal device, or server provided in an embodiment of this application;

[0066] Figure 23 This is a software structure block diagram of an in-vehicle device, terminal device, or server according to an embodiment of this application;

[0067] Figure 24 This is a schematic diagram of a chip system provided in an embodiment of this application. Detailed Implementation

[0068] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0069] In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Additionally, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the words "first" and "second" do not limit the quantity or the order of execution, and that the words "first" and "second" do not necessarily imply that they are different.

[0070] In the various method embodiments of this application, the order of the sequence numbers does not imply the order of execution. The execution order should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0071] It is understood that in this application, descriptions such as "under the circumstances," "if," "when," and "if..." can be used interchangeably. Furthermore, these descriptions all refer to the corresponding actions that will be taken under certain objective circumstances, and are not time-limited, nor do they require any judgment action during implementation, nor do they imply any other limitations.

[0072] It is understood that some optional features in the embodiments of this application can be implemented independently in certain scenarios without relying on other features, such as the current solution on which they are based, to solve the corresponding technical problems and achieve the corresponding effects. Alternatively, they can be combined with other features as needed in certain scenarios. Correspondingly, the apparatus given in the embodiments of this application can also implement these features or functions, which will not be elaborated here.

[0073] In this application, unless otherwise specified, the same or similar parts between the various embodiments can be referred to each other. In the various embodiments of this application, and in the various implementation methods / methods / implementations within each embodiment, unless otherwise specified or logically conflicting, the terminology and / or descriptions between different embodiments and between the various implementation methods / methods / implementations within each embodiment are consistent and can be mutually referenced. The technical features in different embodiments and the various implementation methods / methods / implementations within each embodiment can be combined according to their inherent logical relationships to form new embodiments, implementation methods, methods, or implementation approaches. The embodiments described below do not constitute a limitation on the scope of protection of this application.

[0074] First, let me explain some of the concepts involved in this application.

[0075] 1. ECA: Event-condition-action (ECA) is a rule or logical structure used to define a specific action to be performed when a specific event occurs and certain conditions are met.

[0076] 2. Triggering conditions: also known as triggering information, equivalent to "events" or "conditions" in ECA.

[0077] If a scene includes multiple triggering conditions, one of the triggering conditions is equivalent to an "event" in an ECA, and the other triggering conditions are equivalent to "conditions" in an ECA. If a scene includes only one triggering condition, that triggering condition is equivalent to an "event" in an ECA.

[0078] 3. Action information: Equivalent to "action" in ECA.

[0079] In this embodiment of the application, the triggering condition is used to trigger the execution of action information, that is, when the triggering condition is met, the action information is executed.

[0080] 4. Scenes to be Created: Before a scene is successfully saved / added to a vehicle, it is called a scene to be created. A scene to be created can also be called the currently edited scene or a scene in edit mode.

[0081] 5. Created Scene: When a scene is successfully saved / added to a vehicle, it is called a created scene.

[0082] Vehicle manufacturers are opening up vehicle capabilities to users, allowing them to create scenarios based on their preferences, driving habits, and needs. For example, users can create scenarios in a custom way, add scenarios shared by community users as their own via share codes, or select scenarios of interest from an officially recommended scenario marketplace.

[0083] In some embodiments, users can create scenes through an interface provided by the display screen of the in-vehicle device. Alternatively, users can create scenes through a vehicle-related application (App) on a terminal device (such as a mobile phone or tablet).

[0084] In-vehicle equipment, also known as vehicle infotainment systems, can be installed in the vehicle's center console. It's a shorthand for in-vehicle entertainment products that enable communication between people and the vehicle, between the vehicle and the outside world, or between vehicles. Responding to user actions such as clicking, swiping, and touching on the in-vehicle device's display screen, or in response to voice commands, the device can display corresponding content or provide relevant functions, such as playing audio and video.

[0085] The following example illustrates the process of creating a scene using the interface provided by the display screen in the vehicle's equipment.

[0086] For example, Figures 1A to 1J This diagram illustrates the process of a user creating a scene in a customized way. First, the user enters... Figure 1A The user then clicks the "Custom Creation" option 111 on the interface 11. In response to clicking the "Custom Creation" option 111, the vehicle-mounted device displays... Figure 1B Interface 12 is shown. Users can add trigger conditions through the "Add Condition" option 121 in interface 12. Figure 1B The "Add Task" option 122 in the interface shown allows you to add action information.

[0087] For example, when a user clicks Figure 1B After selecting the "Add Conditions" option 121 in the interface 12 shown, the vehicle-mounted device displays... Figure 1C Interface 13, as shown, includes cards 131. Card 131 displays seven options: Seat, Doors & Windows, Lights, Driving Control, Environment, Energy, and Connectivity. Each option corresponds to a subsystem of the vehicle, which forms the basic framework and is responsible for fulfilling various functional requirements. For example, the "Seat" subsystem can perform the same functions as the vehicle's seats, such as seat unfolding, seat ventilation, and seat heating. The "Doors & Windows" subsystem can perform functions related to doors and windows, such as door opening, door closing, window opening, and window closing. Each subsystem includes one or more objects; for example, the Doors & Windows subsystem includes four objects: doors, windows, door locks, and child locks. Different functions are defined for each object, and users can select and combine these functions. For example, if a user clicks the "Child Lock" option 131a, in response to this click, the in-vehicle equipment displays... Figure 1D The interface 14 shown is shown. Interface 14 includes cards 141. Users can select different functions by sliding up and down on cards 141. For example, after selecting "Second Row Left Side" and "Open," and clicking the "OK" control 141a, the in-vehicle device displays the following... Figure 1E Interface 15 is shown.

[0088] Next, see Figure 1E When the user clicks the "Add Task" option 122, the in-vehicle device displays the following in response to the user's click on the "Add Task" option 122: Figure 1F The interface 16 shown includes a card 161. When the user clicks the "Window" option 161a in card 161, the in-vehicle device displays the following... Figure 1G The interface 17 shown includes a card 171. Users can select and combine functions by sliding up and down on the card 171. For example, after selecting "Second Row Left Side" and "Open," and clicking the "OK" control 171a, the in-vehicle device displays... Figure 1H Interface 18 is shown. Users can modify the scene name, for example, see [link to interface]. Figure 1I As shown in interface 19, the user changed the default scene name "Scene 1" to "Open window when second-row left child lock is open". Then, the user clicked the "Save" control 191a in interface 19, triggering the vehicle's onboard equipment to... Figure 1I The scene shown is saved. The scene was successfully saved on the in-vehicle device. Figure 1I In the scenario shown, the display is as follows: Figure 1J The scenario "Opening the window when the second-row left child lock is open" shown on interface 20 is a created scenario. It should be understood that before the vehicle device successfully saves the "Opening the window when the second-row left child lock is open" scenario, the scenario is called a scenario to be created.

[0089] Figures 2A to 2D This diagram illustrates the process of a user creating a scene by adding a share code. First, the user enters... Figure 2A Interface 21 shown (interface 21 and Figure 1A (The interface shown is the same as 11). Then, the user clicks the "Add Share Code" option 211. In response to the click of the "Add Share Code" option 211, the vehicle device displays as shown. Figure 2B The interface 22 shown is shown. Interface 22 includes a card 221. The user enters a sharing code "XXXX" for a scene shared by another user in the community into the card 221, and after clicking the "OK" control 221a, the in-vehicle device displays the following... Figure 2CThe interface 23 is shown. When the user clicks the "Add" control 231 on interface 23, in response to this click, the in-vehicle device adds the "Second-row left window opens for 5 seconds and then closes" scenario as the user's own scenario. Upon successfully adding the "Second-row left window opens for 5 seconds and then closes" scenario, the in-vehicle device displays the following... Figure 2D As shown in interface 24, the scenario "Second row left window opens for 5 seconds and then closes" is now a created scenario. It should be understood that before the in-vehicle device successfully adds the scenario "Second row left window opens for 5 seconds and then closes," the scenario is called a scenario to be created.

[0090] Figures 3A to 3C This diagram illustrates the process of a user creating a scene by adding officially recommended scenes. First, the user enters... Figure 3A Interface 31 shown (interface 31 and Figure 1A The interface shown in 11 and Figure 2A (The interface shown is the same as 21). By swiping up and down on interface 31, the user can select options in interface 31. For example, if the user clicks the "Children Get Out of the Car" option 311 in the recommended scenarios, in response to the click of the "Children Get Out of the Car" option 311, the in-vehicle device displays as follows: Figure 3B Interface 32, as shown, displays the officially recommended "Child Disembarking" scenario. When the user clicks the "Add" control 321 on interface 32, the in-vehicle device adds the "Child Disembarking" scenario to the user's own scenario in response to this click. Upon successfully adding the "Child Disembarking" scenario, the in-vehicle device displays the following... Figure 3C As shown in interface 33, the "Children Getting Out of the Car" scenario has been successfully created. It should be understood that before the "Children Getting Out of the Car" scenario is successfully added to the in-vehicle device, it is referred to as a scenario to be created.

[0091] Users can create scenarios using any of the methods described above or other methods not mentioned earlier (such as voice commands). During scenario creation, users may configure vehicle functions in ways that are unreasonable. For example, one scenario might be to activate seat ventilation when the driver's seat is occupied, while another might be to activate seat heating. Since ventilation and heating of seat components are mutually exclusive, the vehicle might not activate either when the driver's seat is occupied. Therefore, unreasonable scenarios can lead to a poor user experience, and may even pose safety risks or disrupt the vehicle's infotainment system.

[0092] In view of this, this application provides a relevant technical solution that improves the user experience during scene creation by detecting conflicts between scenes to be created and already created scenes and providing conflict alerts, thereby enhancing the user's sense of intelligence when using the vehicle's infotainment system. Furthermore, by modifying conflicting scenes according to the conflict alerts, users can better avoid safety risks and mechanical malfunctions caused by conflicts between scenes.

[0093] For example, Figure 4A and Figure 4B This diagram illustrates a scenario where conflict detection is triggered and a conflict warning is displayed. It assumes the user has already created a scenario like... Figure 1J The scene shown is "opening the window when the left child lock in the second row is open" and Figure 2D The scenario shown is "the second-row left window opens for 5 seconds and then closes," and it is hoped that this will be implemented... Figure 4A The scene shown is "children getting off the bus". Figure 4A The scene shown and Figure 3B Add the scene shown (which is the same as the one shown) as your own. See also Figure 4A When a user clicks the "Add" control 321 on interface 32, conflict detection is triggered between the "Child Exiting the Car" scenario, the "Opening the Window When the Second-Row Left Child Lock is Opened" scenario, and the "Closing the Second-Row Left Window After 5 Seconds" scenario. Because there is a conflict between these three scenarios, after the user clicks the "Add" control 321, the in-vehicle device displays the following... Figure 4B The interface 40 shown is included. Interface 40 includes a card 401, and the content of the prompt box 401a in card 401 is a prompt message, which allows the user to understand the conflict situation. Furthermore, based on the prompt message, the user can modify the scene configuration to avoid conflicts between scenes. For example, the user can click the "Return to Modify" control 401b. In response to clicking the "Return to Modify" control 401b, the in-vehicle device will display something like... Figure 4A As shown in interface 32, users can modify the trigger conditions and / or action information in interface 32.

[0094] Figures 5A to 5C This diagram illustrates another scenario that triggers conflict detection and provides a conflict alert. See also... Figure 5A Interface 51 shown shows a scenario where the "suspension height adjustment greater than 40 yards" is a scenario that the user has already created, and the user is currently creating a scenario like this. Figure 5B The interface shown in Figure 52 displays the "Suspension Height Adjustment for Less Than 40 Yards" scenario. The user clicks... Figure 5B The "Save" control 521 in the context triggers a conflict detection between the "suspension height adjustment greater than 40 yards" and "suspension height adjustment less than 40 yards" scenarios. Because of the conflict between these two scenarios, the user clicks... Figure 5BAfter clicking the "Save" control 521, the in-vehicle device displays the following: Figure 5C The interface 53 shown is shown. Interface 53 includes a card 531, and the content of the prompt box 531a in card 531 is a prompt message, which allows the user to understand the conflict situation. Furthermore, based on the prompt message, the user can modify the scene configuration to avoid conflicts between scenes. For example, the user can click the "Return to Modify" control 531b. In response to clicking the "Return to Modify" control 531b, the in-vehicle device will display as follows: Figure 5B As shown in interface 52, users can modify the triggering conditions and / or action information. The system architecture and method provided in this application will be described in detail below, using the scenario of triggering conflict detection and providing conflict alerts as described above.

[0095] Figure 6 This is a schematic diagram of a system architecture provided in this application. See also... Figure 6 The system architecture includes a vehicle 610 and a server 620, which can communicate with each other. The server 620 can execute the methods provided in this application, such as method 700 described below. Alternatively, the vehicle 610, such as an on-board device within the vehicle 610, can execute the methods provided in this application. Alternatively, the methods provided in this application can be executed jointly by the vehicle 610 and the server 620.

[0096] In some embodiments, the method provided in this application may also be executed by a terminal device (such as a mobile phone or tablet), or by a terminal device communicating with server 620 and server 620 jointly executing the method provided in this application.

[0097] For example, server 620 can be a physical server or a cloud server. This application does not specifically limit the form of server 620.

[0098] Figure 7 This is a schematic flowchart of the vehicle scenario risk detection method provided in this application. The following explanation uses the example of method 700 being executed by a server to illustrate each step of method 700.

[0099] S710, acquiring the first scene of the vehicle.

[0100] In this application, obtaining a scene can also be described as obtaining the script (or script information) of a scene. For example, obtaining the first scene can also be described as obtaining the script of the first scene.

[0101] S720, determine whether there is a conflict between the first scenario and at least one second scenario of the vehicle.

[0102] The first scenario is the scenario to be created. The first scenario includes at least one first trigger condition and at least one first action information. At least one first action information is executed when all at least one first trigger condition is met. It should be understood that the at least one first trigger condition is the trigger condition for the first scenario, and the at least one first action information is the action information for the first scenario.

[0103] At least one second scenario is a created scenario. A second scenario includes at least one second trigger condition and at least one second action information; at least one second action information is executed when all at least one second trigger condition is met. It should be understood that at least one second trigger condition is a trigger condition for the second scenario, and at least one second action information is action information for the second scenario.

[0104] It should be understood that the embodiments of this application do not limit the method of creating the first scenario and the at least one second scenario. For example, the first scenario or any second scenario can be created by user customization, by adding a share code, or by adding from officially recommended scenarios. The at least one second scenario can be all scenarios that the user has currently created, or it can be a portion of the scenarios that the user has currently created.

[0105] This application does not limit the timing of obtaining the first scene in its embodiments. In some embodiments, the first scene can be obtained when the user triggers the addition or saving of the first scene.

[0106] For example, the first scenario could be Figure 4A In the "child getting out of the car" scenario shown, at least one first triggering condition is "the left side of the second row of windows is closed," and at least one first action information is "the left side of the second row of child locks is opened." This at least one second scenario can be... Figure 1J The "open window when the second row left child lock is open" and Figure 2D The scenario shown is "the second-row left window opens for 5 seconds and then closes." For Figure 1J In the scenario shown, "the window opens when the second-row left child lock is engaged," the at least one second triggering condition is "the second-row left child lock is engaged," and the at least one second action information is "the second-row left window is engaged." For Figure 2D The scenario shown, "Second-row left window opens for 5 seconds and then closes," requires at least two triggering conditions: "Second-row left window opens," and at least one second action information: "delay of 0 minutes and 5 seconds" and "Second-row left window closes." (See also...) Figure 4A When a user clicks "Add" control 321, the server can be triggered to retrieve the first scene.

[0107] For example, the first scenario could be Figure 5BThe "suspension height adjustment below 40 km / h" scenario shown has at least one first trigger condition of "vehicle speed below 40 km / h" and at least one first action information of "suspension height high (i.e., adjust the suspension height high)". This at least one second scenario can be... Figure 5A The scenario shown, "suspension height adjustment above 40 km / h," requires at least one second trigger condition: "vehicle speed above 40 km / h," and at least one first action information: "suspension height low (i.e., adjusting the suspension height lower)." See also... Figure 5B When a user clicks the "Save" control 521, the server can be triggered to retrieve the first scene.

[0108] In some embodiments, in S720, the server can determine whether a conflict exists between the first scenario and the at least one second scenario based on the script of the first scenario, the script of the at least one second scenario, and conflict detection rules. Conflict detection rules represent the method used to determine conflicts between scenarios and can also be called conflict rule definitions. These conflict detection rules can be pre-stored in the server.

[0109] S730, if there is a conflict between the first scene and the at least one second scene, output a first conflict prompt message.

[0110] It is understood that the first conflict warning information indicates a conflict between the first scenario and the at least one second scenario. After the vehicle or terminal device obtains the first conflict warning information, it can display the first conflict warning information on the display screen.

[0111] Those skilled in the art will understand that the first conflict warning information acquired by the vehicle (e.g., in-vehicle equipment) or terminal device is a code, and the first conflict warning information displayed on the screen is the user interface information corresponding to the code. Furthermore, when method 700 is executed by the in-vehicle equipment or terminal device, the first conflict warning information can be user interface information, such as... Figure 4B The content of the prompt box 401a shown.

[0112] In some embodiments, the first conflict notification information includes information about the existence of a conflict and / or suggestions for resolving the conflict.

[0113] For example, see Figure 4B The prompt box 401a shown contains the first conflict prompt information. The conflicting information is that "the current configuration scenario has a repeated execution conflict with the scenarios of "opening the window when the second row left child lock is open" and "closing the second row left window after 5 seconds". The suggestion to resolve the conflict is "please adjust".

[0114] For example, see Figure 5CThe prompt box 531a shown contains the first conflict prompt information, in which the conflicting information is "The current configuration scenario and the "suspension height adjustment greater than 40 yards" scenario are frequently adjusted in a short period of time during execution", and the suggestion to resolve the conflict is "Please adjust".

[0115] Optionally, the first conflict warning message also indicates a risk of mechanical failure.

[0116] For example, see Figure 5C The prompt box 531a shown in the image has a first prompt message that reads "There is a risk of mechanical failure".

[0117] In some embodiments, if there is a conflict between the first scene and the at least one second scene, the user-triggered save / add first scene fails.

[0118] According to the vehicle scenario risk detection method provided in this application, by detecting conflicts between scenarios and providing conflict prompts during the scenario creation process, the user experience during scenario creation can be improved, and the user's sense of intelligence in using the vehicle system can be enhanced.

[0119] The S720 will be described in detail below.

[0120] In some embodiments, conflicts between scenarios include loop conflicts.

[0121] Accordingly, S720 may include: determining whether there is a loopback conflict between the first scenario and at least one second scenario of the vehicle.

[0122] A loop conflict indicates that the execution of at least one first action information leads to the execution of at least one second action information, and the execution of the second action information leads to the execution of the first action information. It should be understood that the target first action information is some or all of the first action information in the at least one first action information.

[0123] In other words, if the fulfillment of the triggering condition of the first scenario causes the system to enter an infinite loop, that is, to repeatedly execute the action information in the first scenario and the action information in the second scenario, it indicates that there is a loop conflict between the first scenario and the at least one second scenario.

[0124] For example, the first scenario is Figure 4A The "children getting off the bus" scenario shown includes at least one secondary scenario. Figure 1J The scene shown is "opening the window when the left child lock in the second row is open" and Figure 2D The scenario shown is "the second-row left window opens for 5 seconds and then closes." The execution of action information in the "child getting out of the car" scenario... Figure 1JThe trigger condition for the scenario "opening the window when the second row left child lock is open" is met, thus executing the action. Figure 1J The action information shown is for the scene where "the window opens when the left child lock in the second row is opened". Figure 1J The execution of the action information in the scene "opening the window when the second row left child lock is opened" shows that... Figure 2D The trigger condition for the scenario "second row left window opens for 5 seconds and then closes" is met, thus executing the action. Figure 2D The action information shown is for the scene where "the left window of the second row opens for 5 seconds and then closes". Figure 2D The execution of the action information in the scenario shown, "the second-row left window opens for 5 seconds and then closes," enables... Figure 4A The triggering conditions for the "child getting out of the car" scenario shown are met, thus executing... Figure 4A The action information in the "child getting out of the car" scenario is shown. Therefore, if the triggering condition of the "child getting out of the car" scenario is met, the action information in the above three scenarios will be executed in the following order: the action information in the "child getting out of the car" scenario, the action information in the "opening the window when the second-row left child lock is open" scenario, and the action information in the "closing the second-row left window after 5 seconds" scenario. In this case, it is considered that there is a loop conflict between the "child getting out of the car" scenario and the "opening the window when the second-row left child lock is open" and "closing the second-row left window after 5 seconds" scenarios.

[0125] Loop conflicts can lead to execution errors or execution disorder. According to the solution provided in the embodiments of this application, by detecting whether there is a loop conflict between the first scenario and at least one second scenario and providing a conflict prompt, users can modify the scenario settings in a timely manner based on the conflict prompt to avoid the occurrence of loop conflicts.

[0126] In one implementation, determining whether there is a loop conflict between a first scene and at least one second scene of the vehicle includes: identifying action information-trigger condition pairs in the first scene and at least one second scene, which consist of action information and trigger conditions belonging to different scenes; determining whether the identified at least one action information-trigger condition pair includes a negatively associated action information-trigger condition pair; if the at least one action information-trigger information pair does not include a negatively associated action information-trigger information pair, determining that there is a loop conflict between the first scene and at least one second scene.

[0127] In this context, a negative association between an action information and a trigger condition means that executing the action information causes the trigger condition to be unmet. Conversely, a positive association means that executing the action information causes the trigger condition to be met.

[0128] In this implementation, the relationships between action information and triggering conditions can be pre-marked and stored according to the service dimension (equivalent to subsystems on a vehicle, such as seat subsystems or door and window subsystems). These relationships are essentially the relationships between Actions and Events / Conditions. The relationships include associated Actions and Events / Conditions, as well as the association types between them, including positive and negative associations.

[0129] For example, see Figure 8 Since the Action "Switch to Park" satisfies the Event "When switched to Park", the Action and the Event are positively correlated. Since the Action "Switch to Park" dissipates the Condition "Currently in D", the Action and the Condition "Currently in D" are negatively correlated.

[0130] For example, "Set temperature 20℃" as an Action and "When temperature > 15℃" as an Event are positively correlated.

[0131] Combination Figure 4A The scene shown is "children getting off the bus". Figure 1J The scene shown is "opening the window when the left child lock in the second row is open" and Figure 2D The scenario shown is "the second-row left window opens for 5 seconds and then closes". For example, for the "door and window" subsystem, the relationship between Action and Event is shown in Table 1, and the relationship between Action and Condition is shown in Table 2.

[0132] Table 1

[0133]

[0134] Table 2

[0135]

[0136] Based on the association between Action and Event / Condition, the action information-trigger condition pairs identified in the first scene and at least one second scene, and the backhaul conflict detection rules, it can be determined whether a loop conflict exists between the first scene and at least one second scene. The backhaul conflict detection rules can be understood as follows: if there is a negatively correlated action information-trigger condition pair among the identified action information-trigger condition pairs, then there is no loop conflict; otherwise, a loop conflict exists.

[0137] Assuming the first scenario is Figure 4A The "children getting off the bus" scenario shown includes at least one secondary scenario. Figure 1J The "open window when the second row left child lock is open" and Figure 2D The scenario shown, "the second-row left window opens for 5 seconds and then closes," identifies action information-trigger condition pairs composed of action information and trigger conditions belonging to different scenarios. Figure 9 As shown. Due to Figure 9 The three action information-trigger condition pairs shown are all positively correlated, meaning there are no negatively correlated action information-trigger condition pairs among the three action information-trigger condition pairs. Therefore, there is a loop conflict between the first scene and at least one second scene.

[0138] Upon detecting a loopback conflict, the server can output a first conflict alert message. Based on this message, the vehicle or terminal device displays the corresponding user interface, such as... Figure 4B The interface 40 shown. Based on the content of the prompt box 401a in the interface 40, the user can modify the scene to be created to avoid conflicts between scenes.

[0139] In some embodiments, conflicts between scenarios include conflicts involving repeated execution.

[0140] Accordingly, S720 may include: determining whether there is a duplicate execution conflict between the first scenario and the at least one second scenario.

[0141] Repeated execution conflict means that the same action information is executed multiple times within a preset control time interval.

[0142] Action information for the same object includes, for example: opening and closing a music app; turning on and off the radio; raising and lowering the suspension; opening and closing the driver's side window; and heating and ventilating the passenger seat.

[0143] The aforementioned action information for the same object includes action information from the same non-mechanical control and action information from the same mechanical control. In one example, if the same non-mechanical control action information is executed multiple times within a preset control time interval, the user is allowed to create a first scene. If the same mechanical control action information is executed multiple times within a preset control time interval, the user is not allowed / prohibited from creating a first scene.

[0144] In this embodiment, allowing a user to create a first scenario can be understood as the vehicle successfully saving / adding the first scenario based on a user-triggered save / add. Disallowing / prohibiting a user from creating a first scenario can be understood as the vehicle failing to successfully save / add the first scenario based on a user-triggered save / add.

[0145] If the same mechanical control action information is executed multiple times within a preset control time interval, i.e., frequently controlling the same machine within a time period shorter than the preset control time interval, it may cause mechanical failure and affect the machine's lifespan. For example, frequently raising and lowering the suspension within a short period of time may cause suspension failure. In this embodiment, by detecting whether there is a repeated execution conflict between the first scene and the at least one second scene and providing a conflict warning, the user can adjust the scene settings in a timely manner to avoid repeated execution conflicts, thereby preventing mechanical failures caused by repeated execution conflicts.

[0146] In one implementation, determining whether there is a duplicate execution conflict between the first scenario and the at least one second scenario includes: obtaining multiple execution time intervals associated with third action information, and determining whether there is a duplicate execution conflict between the first scenario and the at least one second scenario based on the multiple execution time intervals.

[0147] Among them, the execution time interval associated with an action information indicates that the action information is executed after a delay of the execution time interval, and the third action information is the action information for the same object in the first scene and the at least one second scene, and the third action information includes at least two different action information.

[0148] For example, the first scenario is Figure 5A The scenario shown, "suspension height adjustment greater than 40 yards," includes at least one second scenario. Figure 5B In the scenario shown, "suspension height adjustment less than 40 yards", the third action information is: Figure 5A Action information and Figure 5B Action information in the middle, Figure 5A Action information and Figure 5B The execution time interval for the action information in the code is 0.

[0149] For example, the first scenario is Figure 2D The scenario shown includes at least one second scenario. Figure 1J In the scenario shown, the third action information is Figure 2D The "second row left-side window closed" and Figure 1J Action information in the middle, Figure 2D The execution time interval associated with "close the left side of the second row of windows" is 5 seconds. Figure 1J The execution time interval associated with the action information in the data is 0.

[0150] In one example, determining whether there is a duplicate execution conflict between a first scenario and at least one second scenario based on the multiple execution time intervals includes: determining whether there is a duplicate execution conflict between the first scenario and at least one second scenario based on the multiple execution time intervals and a preset control time interval; if the average of the multiple execution time intervals is greater than the preset control time interval, determining that there is a duplicate execution conflict between the first scenario and at least one second scenario.

[0151] In the above scheme, if the average of multiple execution time intervals is greater than the preset control time interval, it indicates that the control time interval of the object corresponding to the third action information is greater than the preset control time interval; if the average of multiple execution time intervals is less than or equal to the preset control time interval, it indicates that the object corresponding to the third action information is frequently controlled to execute related action information within the preset control time interval. The following example, with a preset control time interval of 150 seconds, illustrates the above scheme.

[0152] For example, the first scenario is Figure 5A The scenario shown, "suspension height adjustment greater than 40 yards," includes at least one second scenario. Figure 5B In the scenario of "suspension height adjustment less than 40 yards" shown, since the multiple execution time intervals are all 0, it is considered that there is a duplicate execution conflict between the first scenario and at least one second scenario.

[0153] For example, the first scenario is Figure 5A The scenario shown, "suspension height adjustment greater than 40 yards," includes at least one second scenario. Figure 10 In the scenario shown, "suspension height adjustment with a 100-second delay for speeds less than 40 yards," the third action information is... Figure 5A The motion information and action information shown in the "suspension height adjustment greater than 40 yards" scenario Figure 10 The "suspension height is high" in the scenario shown as "less than 40 yards, 100-second delay for suspension height adjustment". This is because... Figure 5A The execution time interval associated with the action information in the "suspension height adjustment greater than 40 yards" scenario shown is 0. Figure 10The execution time interval associated with "suspension height high" in the scenario "less than 40 yards delay 100 seconds suspension height adjustment" is 100 seconds. The average execution time interval associated with the two third action information is 100 seconds, which is less than the preset control time interval. Therefore, it is considered that there is a repeated execution conflict between the first scenario and at least one second scenario.

[0154] For example, the first scenario is Figure 10 The scenario shown, "suspension height adjustment delayed by 100 seconds for speeds less than 40 yards," includes at least one second scenario. Figure 11 In the scenario shown, "suspension height adjustment delayed by 240 seconds for distances greater than 40 yards," the third action information is... Figure 10 The "suspension height high" option in the scenario shown is "suspension height adjustment with a 100-second delay for speeds less than 40 yards". Figure 11 The "suspension height is low" scenario shown is in the "suspension height adjustment with a delay of 240 seconds for a distance greater than 40 yards". Figure 10 In the scenario shown, "Suspension height adjustment with a delay of 100 seconds for less than 40 yards," the execution time interval associated with "high suspension height" is 100 seconds. Figure 11 The execution time interval associated with "low suspension height" in the scenario shown in the example of "suspension height adjustment with a delay of 240 seconds and a speed greater than 40 yards" is 240 seconds. The average execution time interval associated with the two third action information is 170 seconds, which is greater than the preset control time interval. Therefore, it is considered that there is no repeated execution conflict between the first scenario and at least one second scenario.

[0155] If a duplicate execution conflict is detected, the server can output a first conflict warning message. Based on this message, the vehicle or terminal device can display the corresponding user interface, such as displaying... Figure 5C The interface 53 is shown. Based on the content of the prompt box 531a in interface 53, the user can modify the scene to be created to avoid conflicts between scenes.

[0156] In one possible implementation, in the event of a conflict of repeated execution, the first conflict warning message also indicates a risk of mechanical failure.

[0157] For example, see Figure 5C The prompt box 531a includes the information indicating a risk of mechanical failure: "There is a risk of mechanical failure."

[0158] According to this prompt, users can modify the scene settings to avoid potential mechanical failures.

[0159] In summary, the vehicle scenario risk detection method provided in this application can detect conflicts between scenarios during the scenario creation process, such as loop conflicts and repeated execution conflicts. When conflicts are detected between scenarios, a conflict notification can inform the user, allowing them to modify the scenario to be created and eliminate the conflicts. Based on this solution, the user experience during scenario creation can be improved, enhancing the user's perception of the intelligence of the vehicle's infotainment system.

[0160] This application also provides, as follows: Figure 12 The system architecture shown below will be discussed in more detail below. Figure 12 The system architecture shown is explained, and combined with... Figure 12 The system architecture shown further illustrates the method 700 described above.

[0161] Figure 12 This is another system architecture diagram provided in this application. See also... Figure 12 The system architecture includes a scene orchestration unit 1210 and a scene engine 1220.

[0162] The scene arrangement unit 1210 is used for: (1) providing an editing interface, where users can create scenes and modify scenes to be created based on the editing interface; (2) sending scenes (i.e., scene scripts) to the scene engine 1220 at appropriate times; (3) receiving conflict detection results from the scene engine 1220 and prompting the results to the user, such as receiving the first prompt information and displaying the first prompt information to the user.

[0163] In one implementation, the scene engine 1220 receives a scene sent by the scene orchestration unit 1210 and performs scene conflict detection by default. In another implementation, when sending a scene to the scene engine 1220, the scene orchestration unit 1210 also sends a conflict detection request, and the scene engine 1220 responds to the conflict detection request and performs conflict detection based on the received scene.

[0164] The scene engine 1220 is used to detect conflicts between scenes and send the conflict detection results to the scene orchestration unit 1210, such as sending the first prompt message.

[0165] It should be noted that the first prompt message sent by the scene engine 1220 is a code, and the first prompt message displayed by the scene orchestration unit 1210 is the user interface corresponding to the code.

[0166] In some embodiments, the scene orchestration unit 1210 can be deployed in Figure 6 The vehicle shown is 610.

[0167] In some embodiments, the scene engine 1220 can be deployed in Figure 6 Method 700 can be executed in the server 620 shown.

[0168] In some embodiments, the scene engine 1220 may include a scene risk detection unit 1221 and a rule base 1222.

[0169] The scene risk detection unit 1221 can be used to: (1) parse the script of the scene from the scene orchestration unit 1210; (2) perform conflict detection in combination with predefined detection rules; and (3) feed back the detection results to the scene orchestration unit 1210.

[0170] Rule base 1222: Can be configured in advance to store ECA rule definitions and conflict detection rules.

[0171] Figure 13 Based on Figure 12 The system architecture shown is a schematic flowchart illustrating the vehicle scenario risk detection method provided in this application. The following section... Figure 13 The method shown in 1300 will be explained.

[0172] S1301, the scene orchestration unit sends the first scene to the scene risk detection unit.

[0173] S1302, the scene risk detection unit receives the first scene from the scene orchestration unit.

[0174] In some embodiments, when the scene orchestration unit sends the first scene, it also sends the at least one second scene. Accordingly, the scene risk detection unit receives the at least one second scene.

[0175] In some embodiments, the at least one second scenario is stored in a server, and the scenario risk detection unit can obtain the at least one second scenario from the server.

[0176] The timing for sending the first scene is the same as the timing for acquiring the first scene described in S710, which can be referred to in S710. The timing for sending the at least one second scene is the same as the timing for sending the first scene.

[0177] Assuming the first scenario is Figure 4A In the "child getting out of the car" scenario shown, in one example, the first scenario sent by the scenario orchestration unit is as follows:

[0178] "scenarioName":"Child disembarking",

[0179]

[0180] S1303, the scenario risk detection unit sends a request message to the rule base, which is used to request ECA rule definitions and conflict detection rules.

[0181] S1304, the rule base receives the request message from the scenario risk detection unit.

[0182] S1305, the rule base sends ECA rule definitions and conflict detection rules to the scenario risk detection unit.

[0183] Specifically, in response to the request information in S1304, the rule base sends ECA rule definitions and conflict detection rules to the scenario risk detection unit.

[0184] For example, the ECA rule definition includes the relationship between Action and Event shown in Table 1 and the relationship between Action and Condition shown in Table 2. The conflict rule definition includes the postback conflict detection rules described above.

[0185] For example, the ECA rule definition includes the content shown in Table 3. The conflict rule definition includes repetitive execution conflict detection rules. For instance, a repetitive execution conflict detection rule might state: if the average of multiple execution time intervals associated with the third action information is greater than a preset control time interval, then there is a repetitive execution conflict between the first scenario and at least one second scenario; otherwise, there is no repetitive execution conflict between the first scenario and at least one second scenario. For details on repetitive execution conflict detection rules, please refer to the previously described methods for detecting repetitive execution conflicts.

[0186] Table 3

[0187] Action Preset control time interval Raise / Lower Suspension 300 seconds

[0188] S1306, the scenario risk detection unit receives ECA rule definitions and conflict detection rules from the rule base.

[0189] S1307, the scenario risk detection unit detects whether there is a conflict between the first scenario and the at least one second scenario according to the ECA rule definition and conflict detection rules.

[0190] For details on this step, please refer to the explanation of S720 above; it will not be repeated here.

[0191] S1308, the scenario risk detection unit generates a first prompt message based on the detection of whether there is a conflict between the first scenario and the at least one second scenario.

[0192] For example, the first prompt information may include the detection result, conflict type, conflict's ECA capability, conflict description information, and suggested solutions. The detection result, conflict type, conflict's ECA capability, conflict description information, and suggested solutions can be seen in Table 4, for example.

[0193] Table 4

[0194]

[0195] For example, taking the first scenario as Figure 4A The "children getting off the bus" scenario shown includes at least one secondary scenario. Figure 1J The "open window when the second row left child lock is open" and Figure 2D Taking the scenario of "the second-row left window opens for 5 seconds and then closes" as an example, the first prompt message is as follows:

[0196]

[0197]

[0198] For example, taking the first scenario as an example Figure 5A The scenario shown includes at least one second scenario. Figure 5B Taking the scenario shown as an example, the first prompt message is as follows:

[0199]

[0200] S1309, the scene risk detection unit sends the first prompt information to the scene orchestration unit.

[0201] S1310, the scene orchestration unit receives the first prompt information from the scene risk detection unit.

[0202] S1311, the scene arrangement unit displays the first prompt information to the user.

[0203] According to the vehicle scenario risk detection method provided in this application, by detecting loop conflicts and repeated execution conflicts between scenarios and providing conflict prompts during the creation of vehicle scenarios, the user experience during scenario creation can be improved, and the user's sense of intelligence in using the vehicle system can be enhanced.

[0204] The preceding text described a scheme for risk detection between scenarios. In one design, conflict detection and warnings can be provided during the creation of a vehicle scenario. For example, during the creation of any of the second scenarios described earlier, i.e., for the second scenario to be created, the system can detect whether there are any conflicts within the second scenario. If there are no conflicts within the second scenario to be created, the second scenario to be created is saved / added, and at this point, the second scenario to be created is considered created. If there are conflicts within the second scenario to be created, the user can modify the second scenario to eliminate the conflicts, thus obtaining the created second scenario.

[0205] For example, Figures 14A to 14D This diagram illustrates a scenario where conflict detection is triggered and a conflict warning is displayed. See also... Figure 14AInterface 1400 displays the "Second Row Seating" scenario that the user is currently creating. This scenario already includes the trigger condition "Passenger Seat Assigned" and the action information "Passenger Seat Moved to the Back." When the user clicks the "Add Task" option 1400a, the in-vehicle device displays the following in response: Figure 14B The interface 1401 shown includes a card 1401-1. When the user clicks the "Seat Position" option 1401-1a in card 1401-1, the in-vehicle device displays the following... Figure 14C The interface 1402 shown includes a card 1402-1. Users can select and combine functions by sliding up and down on card 1402-1. For example, a user can select "Second Row Right Zero Gravity" and "Expand," and then click the "OK" control 1402-1a. Clicking the "OK" control 1402-1a triggers a conflict detection between the pending trigger conditions / actions and already added trigger conditions / actions in the "Second Row Seating" scenario. Because there is a conflict between the pending trigger conditions / actions and already added trigger conditions / actions in the "Second Row Seating" scenario, the in-vehicle device displays the following... Figure 14D The interface 1403 is shown. Interface 1403 includes card 1403-1, and the content of the prompt box 1403-1a in card 1403-1 is a prompt message, which allows the user to know the conflict situation.

[0206] Furthermore, based on the prompts, users can modify the scene configuration to avoid conflicts within the scene. For example, a user can click the "Cancel" control 1403-1b, and in response to this click, the in-vehicle device will display something like... Figure 14A As shown in interface 1400, users can re-add action information by clicking the "Add Task" option 1400a in interface 1400.

[0207] For example, Figure 15A and Figure 15B This diagram illustrates another scenario that triggers conflict detection and provides a conflict alert. See also... Figure 15A Interface 1500 displays the "Second Row Left Child Lock" scenario that the user is currently creating. This scenario already includes the trigger condition "Second Row Left Child Lock Open" and two action messages: "Second Row Left Window Open" and "Second Row Left Window Close." When the user clicks the "Save" control 1500a, a conflict detection is triggered between the added trigger conditions and / or action messages in the "Second Row Left Child Lock" scenario. Because there is a conflict between the trigger conditions and / or action messages in the "Second Row Left Child Lock" scenario, the in-vehicle device displays the following... Figure 15BThe interface 1501 is shown. Interface 1501 includes card 1501-1. The content of the prompt box 1501-1a in card 1501-1 is a prompt message, which allows the user to know the conflict situation.

[0208] Furthermore, based on the prompts, users can modify the scene configuration to avoid conflicts within the scene. For example, a user can click the "Return to Modify" control 1501-1b. In response to clicking the "Return to Modify" control 1501-1b, the in-vehicle device will display something like this. Figure 15C The interface shown is 1503, which is the same as interface 1500. For example, if a user wants to modify the action information "Second row of windows on the left side closes", they can click option 1503a to make the modification.

[0209] For example, Figures 16A to 16C This diagram illustrates another scenario that triggers conflict detection and provides a conflict alert. See also... Figure 16A When a user clicks on control 1600a on interface 1600, the in-vehicle device displays the following in response to the click on control 1600a: Figure 16B Interface 1601 is shown, and the "Relax in the Car" scenario shown in Interface 1601 is the officially recommended scenario. When the user clicks the "Add" control 1601a, it triggers conflict detection between the added trigger conditions and / or action information in the "Relax in the Car" scenario. Because there are conflicts between the trigger conditions and / or action information in the "Relax in the Car" scenario, the in-vehicle device displays as follows: Figure 16C The interface 1602 shown is included in the interface 1602. The interface 1602 includes a card 1602-1, and the content of the prompt box 1602-1a in the card 1602-1 is a prompt message, which allows the user to know the conflict situation.

[0210] Furthermore, based on the prompts, users can modify the scene configuration to avoid conflicts within the scene. For example, a user can click the "Return to Modify" control 1602-1b. In response to clicking the "Return to Modify" control 1602-1b, the in-vehicle device will display something like this. Figure 16B As shown in interface 1601, users can modify the action information in interface 1601.

[0211] It should be noted that the trigger condition in the "Get on the bus and relax" scenario is user-triggered, that is, the trigger condition of the "Get on the bus and relax" scenario is met when the user clicks control 1601b.

[0212] The following example illustrates the method for detecting conflicts within a scene, using the example of detecting whether there are conflicts within scene A to be created. It should be understood that scene A to be created can be a scene that occurs during the creation of any of the second scenes described above.

[0213] Figure 17 This is a schematic flowchart of the vehicle scenario risk detection method provided in this application. The following explanation uses the execution of method 1700 by a server as an example to illustrate each step of method 1700.

[0214] S1710, during the creation of scenario A, obtain the first information and the second information.

[0215] The first information is information that has been added to the first scene, and the second information is information that is to be added to the first scene. The first information includes a fourth trigger condition and / or a fourth action information. When the fourth trigger condition is met, the fourth action information is executed. The second information includes a fifth trigger condition or a fifth action information.

[0216] For example, scenario A is Figure 14A The "Second Row Seating" scenario being created shows the following: the first piece of information is the trigger condition "Passenger Seat Enters the Seat" and the action information "Passenger Seat Moves to the Back" that have been added to the "Second Row Seating" scenario; the second piece of information is... Figure 14C The action information to be added to the "Second Row Seating" scene is "Second Row Right Zero Gravity Deployment".

[0217] It should be noted that, Figure 14A This illustrates a scenario where the information added to the scene consists of a trigger condition and an action. In practice, the information added to the scene can be an action, a trigger condition, or both. Similarly, Figure 14C This shows the case where the information to be added to the scene is an action information. In fact, the information to be added to the scene can also be a trigger condition.

[0218] In some embodiments, in response to a user determining to add second information as a trigger condition or action information for scenario C, the server obtains the first information and the second information. For example, in response to... Figure 14C As shown, when the user clicks the "OK" control 1402-1a, the server obtains the first and second information.

[0219] S1720, determine whether there is a conflict between the first information and the second information.

[0220] S1730, if there is a conflict between the first information and the second information, output the second conflict prompt information.

[0221] It is understood that the second conflict warning message indicates a conflict between the first and second pieces of information. After the vehicle or terminal device receives the second conflict warning message, it can display the message on the screen.

[0222] Those skilled in the art will understand that the second conflict warning information obtained by the vehicle or terminal device is a code, and the second conflict warning information displayed on the screen is the user interface information corresponding to the code.

[0223] In some embodiments, the second conflict alert information includes information about the existence of a conflict and / or suggestions for resolving the conflict.

[0224] For example, see Figure 14D The prompt box 1403-1a shown contains the second conflict prompt information. The conflicting information is "There is a risk of squeezing when the second-row right zero-gravity seat is unfolded and the front passenger seat is moved to the back". The suggestion to resolve the conflict is "Adjustment is recommended".

[0225] In some embodiments, if there is a conflict between the first information and the second information, the user-triggered determination to add the second information as a trigger condition or action information for scenario C fails.

[0226] According to the vehicle scenario risk detection method provided in this application, by detecting and alerting users to conflicts within a scenario during the scenario creation process, the user experience during scenario creation can be improved, and the user's sense of intelligence in using the vehicle system can be enhanced.

[0227] The following is a detailed description of S1720.

[0228] In some embodiments, S1720 specifically includes: determining that there is a conflict between the first information and the second information if one or more of the following conditions are met:

[0229] (1) The fifth action information cannot be executed if the fourth triggering condition is met;

[0230] (2) The fourth triggering condition and the fifth triggering condition are mutually exclusive;

[0231] (3) The execution of the fourth action information makes the fifth action information unexecutable.

[0232] For example, the fourth trigger condition is "the front passenger seat is moved to the back", and the fifth action information is "the second row right zero gravity unfolds". When "the front passenger seat is moved to the back" is met, "the second row right zero gravity unfolds" cannot be executed. Therefore, there is a conflict between the first and second information.

[0233] For example, the fourth trigger condition is "the second row left window is open" and the fifth trigger condition is "the second row left window is closed". Since the above two trigger conditions are mutually exclusive, that is, the above two trigger conditions cannot be met at the same time, there is a conflict between the first information and the second information.

[0234] For example, the fourth action information is Figure 14A The fifth action information in the interface 1400 shown is "Move the passenger seat to the back". Figure 14C In the interface 1402 shown, the "Second row right zero gravity unfold" function cannot be executed because the "passenger seat moved to the back" function is executed. Therefore, there is a conflict between the first and second information.

[0235] In one implementation, the dependency relationship between action information and the state of the dependent object of the action information can be predefined. If the object corresponding to the fourth triggering condition is the dependent object of the fifth action information, and the dependency relationship between the fourth triggering condition and the fifth action information is a negative dependency, then it is determined that there is a conflict between the fourth triggering condition and the fifth action information.

[0236] The dependencies include positive and negative dependencies. A negative dependency between an action and the state of its dependent object means that the action cannot be executed when the vehicle is in the state of the dependent object. A positive dependency between an action and the state of its dependent object means that the action can be executed when the vehicle is in the state of the dependent object.

[0237] The object corresponding to the fourth trigger condition refers to the object associated with the fourth trigger condition. For example, if the fourth trigger condition is "move the front passenger seat to the back", then the object corresponding to the fourth trigger condition is the front passenger seat. Similarly, if the fourth trigger condition is "open the second-row left window", then the object corresponding to the fourth trigger condition is the second-row left window.

[0238] For example, Table 5 shows an example of the correspondence between actions (i.e., action information), dependent objects (the objects that the action information depends on), the states of dependent objects, and the dependencies.

[0239] Table 5

[0240] Action Dependency objects The state of dependent objects Dependency type Second row zero gravity deployment Passenger seat Foremost positive Second row zero gravity deployment Passenger seat at last negative Second row zero gravity deployment Passenger seat fold positive

[0241] Referring to Table 5, the "second row zero-gravity deployment" depends on the front passenger seat. When the front passenger seat is in the "last" position, the "second row zero-gravity deployment" cannot be executed. Therefore, if the fourth trigger condition is "front passenger seat moved to the last position" and the fifth action information is "second row right zero-gravity deployment", there is a conflict between the first and second information.

[0242] In one implementation, the dependency relationship between action information and the state of the dependent object can be predefined. If the state after the execution of the fourth action information makes the dependency relationship between the fifth action information and the state after the execution of the fourth action information negative, then it is determined that there is a conflict between the fourth action information and the fifth action information.

[0243] For example, the correspondence shown in Table 5 can be predefined, and the content shown in Table 6 can be predefined.

[0244] Table 6

[0245] object Action Post-execution status Passenger seat Move the passenger seat to the frontmost position. Foremost Passenger seat Move the passenger seat to the back. at last Passenger seat Folding the passenger seat fold

[0246] Referring to Table 6, the execution of "moving the front passenger seat to the back" makes the front passenger seat state "back". Referring to Table 5, the front passenger seat being back is negatively dependent on "second row right zero gravity unfold". Therefore, if the fourth action information is "moving the front passenger seat to the back" and the fifth action information is "second row right zero gravity unfold", then there is a conflict between the first and second information.

[0247] In some embodiments, S1720 specifically includes: determining whether the fourth action information and the fifth action information are action information for the same object; if the fourth action information and the fifth action information are action information for the same object, determining that there is a conflict between the first information and the second information; or, if the fourth action information and the fifth action information are different action information for the same object, and the execution time interval between the fourth action information and the fifth action information is less than a preset control time interval, then determining that there is a conflict between the first information and the second information.

[0248] For example, if the fourth and fifth action information are both action information related to the suspension, such as both being to raise the suspension, then it is determined that there is a conflict between the first and second information.

[0249] For example, the fourth action information is to raise the suspension, and the fifth action information is to lower the suspension, and the fifth action information is set to be executed 100 seconds after the fourth action information is executed (that is, the execution time interval between the fourth and fifth action information is 100 seconds). Then, if the preset control time interval is greater than 100 seconds, it is determined that there is a conflict between the first and second information.

[0250] The aforementioned action information for the same object includes action information from the same non-mechanical control and action information from the same mechanical control. In one example, if the execution time interval of the same non-mechanical control action information is less than a preset control time interval, the user is allowed to add a fifth action information. If the execution time interval of the same mechanical control action information is less than a preset control time interval, the user is not allowed / prohibited from adding a fifth action information. This avoids mechanical failures caused by repeated execution within a short period of time.

[0251] Optionally, the second conflict warning message also indicates a risk of mechanical failure.

[0252] The previous section described a scheme that triggers a conflict detection between the first and second pieces of information when adding second information. Unlike the scheme described earlier, in one design, the server can determine whether a conflict exists in scenario A based on the user's action of creating scenario A.

[0253] That is, in response to a user's action to create scenario A, the server can determine whether scenario A has a conflict. Scenario A includes at least two triggering conditions and at least one action information; the at least one action information is executed when both triggering conditions are met. Alternatively, scenario A includes at least one triggering condition and at least two action information; the at least two action information is executed when the at least one triggering condition is met. Both the action information and the triggering conditions mentioned above are information that has already been added to scenario A.

[0254] Scene A can be created in any of the ways described above, such as by creating scene A in a custom way, adding scene A shared by other users as your own scene via a share code, or adding scene A recommended by the official website as your own scene.

[0255] For example, scenario A could be Figure 15A The "second row left child lock" scenario shown can be used as the user operation for creating scenario A. Figure 15A The image shows the user clicking the "Save" control 1500a.

[0256] For example, scenario A could be Figure 16B The "Take a break and relax" scenario shown can be used as the user action for creating scenario A. Figure 16B The image shows the user clicking the "Add" control 1601a.

[0257] In some embodiments, determining whether a conflict exists in scenario A includes: determining that a conflict exists in scenario A if scenario A satisfies one or more of the following: (1) there is at least one triggering condition in scenario A that makes at least one action information unexecutable; (2) there are mutually exclusive triggering conditions in scenario A; (3) the execution of one action information in scenario A causes the other action information to become unexecutable.

[0258] For example, in scenario A, one of the trigger conditions is "the front passenger seat is moved to the back" and one of the action information is "the second row right zero gravity unfolds". Since "the front passenger seat is moved to the back" makes "the second row right zero gravity unfolds" impossible to execute, there is a conflict in scenario A.

[0259] For example, scenario A includes the triggering conditions "second row left window open" and "second row left window closed". Since the two triggering conditions are mutually exclusive, meaning that the two triggering conditions cannot be met at the same time, scenario A has a conflict.

[0260] For example, scenario A is Figure 16B The scenario "Get in the car and relax" shown in the diagram has a conflict because the execution of "moving the front passenger seat to the back" prevents the "second row right side zero gravity unfolding" from being executed.

[0261] Regarding how to determine whether there is a conflict between the triggering condition and the action information, as well as whether there is a conflict between the action information and the action information, you can refer to the methods for judging the conflict between the fourth triggering condition and the fifth action information, as well as the methods for judging the conflict between the fourth action information and the fifth action information, which will not be repeated here.

[0262] In some embodiments, determining whether a conflict exists in scenario A includes: if scenario A includes multiple action information for the same object, or if scenario A includes multiple action information for the same object and the average execution time interval between the multiple action information is less than a preset control time interval, then it is determined that a conflict exists in scenario A.

[0263] For example, scenario A is Figure 16A The “second row left child lock” scenario shown is determined to have a conflict because it includes two action information related to the left side window of the second row.

[0264] For example, scenario A includes two actions: raising the suspension and lowering the suspension. The suspension is set to lower after 100 seconds of raising (i.e., the execution time interval between the two actions is 100 seconds). If the preset control time interval is greater than 100 seconds, then scenario A is determined to have a conflict.

[0265] The aforementioned action information for the same object includes action information from the same non-mechanical control and action information from the same mechanical control. In one example, if the execution time interval of the same non-mechanical control action information is less than a preset control time interval, the user is allowed to save / add scene A. If the execution time interval of the same mechanical control action information is less than a preset control time interval, the user is not allowed / prohibited from saving / adding scene A. This avoids mechanical failures caused by repeated execution within a short period of time.

[0266] Optionally, the second conflict warning message also indicates a risk of mechanical failure.

[0267] Figure 18 Based on Figure 12 The system architecture shown is a schematic flowchart illustrating the vehicle scenario risk detection method provided in this application. Method 1800 is a specific example based on Method 1700, and the following describes... Figure 18 The method shown in 1800 will be explained.

[0268] S1810, the scene orchestration unit sends scene A to the scene risk detection unit.

[0269] Sending Scene A means sending the trigger conditions and action information that have already been added to Scene A, as well as the trigger conditions and action information that are to be added to Scene A.

[0270] Sending scenario A could be triggered by the user adding the second piece of information described above, or by the user saving or adding scenario A.

[0271] For example, in response to Figure 14C As shown, when the user clicks the "OK" control 1402-1a, the scene orchestration unit sends scene A to the scene risk detection unit.

[0272] For example, responding to Figure 15A As shown, when the user clicks the "Save" control 1500a, the scene orchestration unit sends scene A to the scene risk detection unit.

[0273] For example, responding to Figure 16B As shown, when the user clicks the "Add" control 1601a, the scene orchestration unit sends scene A to the scene risk detection unit.

[0274] S1820, the scene risk detection unit receives scene A from the scene orchestration unit.

[0275] In one example, the first scene sent by the scene orchestration unit is as follows (see Figures 14A to 14C ):

[0276] "scenarioName":"Second row seating",

[0277]

[0278] S1830, the scenario risk detection unit sends a request message to the rule base, which is used to request ECA rule definitions and conflict detection rules.

[0279] S1840, the rule base sends ECA rule definitions and conflict detection rules to the scenario risk detection unit.

[0280] Specifically, in response to the request information in S1830, the rule base sends ECA rule definitions and conflict detection rules to the scenario risk detection unit.

[0281] For example, the ECA rule definition includes actions (i.e., action information), dependent objects (the objects that the action information depends on), the states of dependent objects, and the correspondence between dependencies, as well as the correspondence between objects, actions, and their post-execution states. For example, the correspondence between actions, dependent objects (the objects that the action information depends on), the states of dependent objects, and dependencies includes the content shown in Table 5, and the correspondence between objects, actions, and their post-execution states includes the content shown in Table 6.

[0282] Conflict detection rules include, for example: Conflict detection rule (1) If there is action information and triggering condition with negative dependency in the scene, then there is a conflict in the scene; Conflict detection rule (2) If there is action information in the scene that makes the state after execution negatively dependent on another action information, then there is a conflict in the scene.

[0283] For example, Figure 19 and Figure 20 The two conflict detection rules mentioned above are shown respectively.

[0284] For example, see Figure 14D and Figure 16C If the scene hits the conflict detection rule (2), then it is determined that there is a conflict in the scene.

[0285] S1850, the scenario risk detection unit detects whether there is a conflict between the first scenario and the at least one second scenario, according to the ECA rule definition and conflict detection rules.

[0286] For details on this step, please refer to the explanation of S1720 above; it will not be repeated here.

[0287] S1860, the scene risk detection unit generates a second prompt message based on the detection of whether there is a conflict in scene A.

[0288] For example, the second prompt information may include the detection result, conflict type, conflict ECA capability, conflict description information, and suggested solutions. The detection result, conflict type, conflict ECA capability, conflict description information, and suggested solutions can be found in Table 4 above.

[0289] For example, in the case of Figure 14C In the conflict detection scenario triggered by the user clicking the "OK" control 1402-1a, the second prompt message is as follows:

[0290]

[0291] S1870, the scene risk detection unit sends a second prompt message to the scene orchestration unit.

[0292] S1880, the scene arrangement unit displays a second prompt to the user.

[0293] According to the vehicle scenario risk detection method provided in this application, by performing conflict detection and providing conflict prompts during the creation of vehicle scenarios, the user experience during scenario creation can be improved, and the user's sense of intelligence in using the vehicle system can be enhanced.

[0294] It should be noted that when a user modifies the triggering conditions or action information in an existing scene, it is also considered that the user has created a scene, and the user's actions will trigger conflict detection within the scene. For example, see... Figure 21A Users can modify the action information "Move the second row right zero gravity to the back" by clicking option 2100a in interface 2100. For example, after the user clicks control 2100a, the in-vehicle device displays as follows: Figure 21B The interface 2101 shown includes a card 2101-1. After the user selects "Second Row Right Zero Gravity" and "Expand" from card 2101-1, and clicks the "OK" control 2101-1a, a conflict detection is triggered between "Second Row Right Zero Gravity Expand" and other information in the scene. See also... Figure 21C Because there is a conflict between "second row right zero gravity unfolding" and "front passenger seat moved to the back," the in-vehicle equipment displays a prompt message in interface 2102, specifically in prompt box 2102-1a. Users can understand the conflict based on this prompt and then modify the information within the scenario accordingly to resolve the conflict.

[0295] It should be understood that the user interface and method flowcharts involved in the embodiments of this application are only to help those skilled in the art better understand the embodiments of this application, and are not intended to limit the scope of the embodiments of this application. Based on the above examples, those skilled in the art can obviously make various equivalent modifications or changes. For example, some steps in the above process (method embodiments) may be unnecessary, or new steps may be added, etc. Alternatively, any combination of two or more of the above embodiments may be used. Such modifications, changes, or combinations also fall within the scope of the embodiments of this application.

[0296] It should also be understood that the methods, situations, categories, and classifications of embodiments in this application are for the convenience of description only and should not constitute a special limitation. Various methods, categories, situations, and features in embodiments can be combined without contradiction.

[0297] It should also be understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers described above does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0298] It should also be understood that the above description of the embodiments of this application focuses on highlighting the differences between the various embodiments. Any similarities or differences not mentioned can be referred to each other. For the sake of brevity, they will not be repeated here.

[0299] According to the above method embodiments, various devices (including servers) can be divided into functional modules. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0300] It should be noted that the relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0301] The vehicle-mounted device, terminal device, or server provided in this application embodiment may include a processing module, a storage module, and a communication module. The processing module can be used to control and manage the actions of the vehicle-mounted device, terminal device, or server. The storage module can be used to support the storage of program code and data. The communication module can be used to support communication between the vehicle-mounted device, terminal device, or server and other devices.

[0302] The processing module can be a processor or a controller. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, or other devices that interact with other devices.

[0303] This application provides a vehicle scene risk detection device, which is used to perform the steps involved in the vehicle scene risk detection method provided in this application.

[0304] For example, the device may be a server, a terminal device, or a vehicle-mounted device.

[0305] This application provides a vehicle scenario risk detection system, which is used to perform the steps involved in the vehicle scenario risk detection method provided in this application.

[0306] For example, the system may include a server and an in-vehicle device. For instance, the server may perform the operations performed by the server in the aforementioned method embodiments, and the in-vehicle device may perform the operations performed by the in-vehicle device in the aforementioned method embodiments.

[0307] Figure 22 This is a schematic diagram of the structure of an in-vehicle device, terminal device, or server provided in an embodiment of this application. The in-vehicle device, terminal device, or server can perform the operations executed in any of the foregoing method embodiments.

[0308] like Figure 22 As shown, the vehicle-mounted device, terminal device, or server 2200 may include a processor 2210, a memory 2220, a communication module 2230, a sensor module 2240, and a display screen 2250.

[0309] Processor 2210 may include one or more processing units. For example, processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.

[0310] The memory 2220 is used to store program code and data. In this embodiment, the processor 2210 can execute the program code stored in the memory 2220 to manage the vehicle-mounted device, terminal device, or server 2200.

[0311] The communication module 2230 may include one or more of the following: audio devices, radio frequency circuits, Bluetooth chips, wireless fidelity (Wi-Fi) chips, and near-field communication (NFC) modules, and can enable interaction between the vehicle-mounted device, terminal device, or server 2200 and other devices in a variety of different ways.

[0312] The sensor module 2240 may include a gyroscope sensor 180B, a barometric pressure sensor 180C, an accelerometer sensor 180, a distance sensor, etc.

[0313] The display screen 2250 can display text, images, or videos from the human-computer interaction interface, such as the scenes and prompts provided in the embodiments of this application. The display screen 2250 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), a quantum dot light-emitting diode (QLED), or the like.

[0314] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the vehicle-mounted device, terminal device, or server 2200. In other embodiments of this application, the vehicle-mounted device, terminal device, or server 2200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0315] Figure 22 The vehicle-mounted equipment, terminal equipment, or server 2200 shown may be equipped with, but is not limited to, the following: Operating system, etc.

[0316] For example, the following describes an in-vehicle device, terminal device, or server 2200 equipped with... Taking the operating system as an example, the software structure of the vehicle-mounted device, terminal device, or server 2200 will be illustrated.

[0317] Figure 23 This is a software structure block diagram of the vehicle-mounted device, terminal device, or server 2200 according to an embodiment of this application.

[0318] The software structure of the vehicle-mounted equipment, terminal equipment, or server 2200 can adopt a layered architecture. The layered architecture can divide the software into several layers, each with a clear role and division of labor; the layers can communicate with each other through software interfaces.

[0319] In some embodiments, it can be The system is divided into four layers, from top to bottom: application layer, application framework layer, and Android runtime. The system layer includes system libraries and the kernel layer. The application layer can include a series of application packages.

[0320] like Figure 23As shown, the application package can include applications such as calendar, calling, navigation, Bluetooth, and music.

[0321] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0322] like Figure 23 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0323] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0324] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0325] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0326] The phone manager is used to provide communication functions for in-vehicle devices, terminal devices, or server 2200. For example, it manages call status (including connection and disconnection).

[0327] File Explorer provides applications with various resources, such as icons, images, layout files, video files, and more.

[0328] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.

[0329] The runtime includes the core libraries and the virtual machine. The runtime is responsible for scheduling and management of the Android system.

[0330] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0331] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0332] The system library can include multiple functional modules, such as: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES for embedded systems) and 2D graphics engines (e.g., Skia graphics library (SGL)).

[0333] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0334] The media library supports playback and recording of various audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, Moving Picture Experts Group Audio Layer III (MP3), Advanced Audio Coding (AAC), Adaptive Multi-rate (AMR), Joint Photographic Experts Group (JPG), and Portable Network Graphics (PNG).

[0335] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0336] A 3D graphics engine is a graphics engine for 3D drawing.

[0337] The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, audio drivers, and sensor drivers.

[0338] This application also provides a chip system, such as... Figure 24As shown, the chip system includes at least one processor 2401 and at least one interface circuit 2402. The processor 2401 and the interface circuit 2402 are interconnected via lines. For example, the interface circuit 2402 can be used to receive signals from other devices. As another example, the interface circuit 2402 can be used to send signals to other devices (e.g., the processor 2401). Exemplarily, the interface circuit 2402 can read instructions stored in memory and send those instructions to the processor 2401. When the instructions are executed by the processor 2401, the various steps performed by the server or vehicle-mounted device in the above embodiments can be executed. Optionally, the chip system may also include other discrete components, which are not specifically limited in this embodiment.

[0339] This application also provides an apparatus included in an in-vehicle device, which has the function of implementing the in-vehicle device behavior of any of the above embodiments. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes at least one module or unit corresponding to the above function.

[0340] This application also provides an apparatus included in a server, which has the function of implementing the server behavior of any of the above embodiments. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes at least one module or unit corresponding to the above function.

[0341] It should also be understood that the division of units in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, all units in the device can be implemented entirely through software calls from processing elements; all units can be implemented entirely in hardware; or some units can be implemented through software calls from processing elements, while others are implemented in hardware. For example, each unit can be a separate processing element, or it can be integrated into a chip within the device. Alternatively, it can be stored as a program in memory, and its function can be called and executed by a processing element within the device. Here, the processing element can also be called a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above units can be implemented through integrated logic circuits in the processor element or through software calls from processing elements. In one example, a unit in any of the above devices can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), or a combination of at least two of these forms of integrated circuits. As another example, when a unit in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling programs. Furthermore, these units can be integrated together to implement a system-on-a-chip (SOC).

[0342] This application also provides a server, which includes a processor and a memory. The memory is used to store instructions, and the processor is used to read the instructions to execute any of the above-described method embodiments.

[0343] This application also provides an in-vehicle device, which includes a processor and a memory. The memory is used to store instructions, and the processor is used to read the instructions to execute any of the above-described method embodiments.

[0344] This application also provides a terminal device, which includes a processor and a memory. The memory is used to store instructions, and the processor is used to read the instructions to execute any of the above-described method embodiments.

[0345] This application also provides a computer-readable storage medium for storing computer programs or instructions, which, when executed, cause the steps performed by the in-vehicle device, server, or terminal device in any of the embodiments provided in this application to be executed. Exemplarily, the computer-readable medium may be a read-only memory (ROM) or a random access memory (RAM), and this application does not limit this.

[0346] This application also provides a computer program product including instructions that, when executed, cause the steps performed by the vehicle-mounted device, server, or terminal device in any of the above embodiments to be performed.

[0347] This application also provides a chip, including: a processor for calling and running a computer program from a memory, such that the steps performed by the vehicle-mounted device, server, or terminal device in any of the above embodiments are executed.

[0348] Those skilled in the art will readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.

[0349] This application embodiment can divide the above-mentioned vehicle-mounted equipment, server, or terminal equipment into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0350] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0351] In the embodiments of this application, the functional units can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0352] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as flash memory, portable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.

[0353] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for detecting vehicle scene risks, characterized in that, include: The vehicle's first scene is obtained. The first scene is a scene to be created. The first scene includes at least one first trigger condition and at least one first action information. The at least one first action information is executed when all at least one first trigger condition is met. Determine whether there is a conflict between the first scenario and at least one second scenario of the vehicle, wherein the at least one second scenario is an already created scenario, and the second scenario includes at least one second trigger condition and at least one second action information, and executes the at least one second action information when all at least one second trigger condition is met; If there is a conflict between the first scenario and the at least one second scenario, a first conflict warning message is output.

2. The method as described in claim 1, characterized in that, Determining whether there is a conflict between the first scenario and at least one second scenario of the vehicle includes: Determine whether there is a loop conflict between the first scenario and the at least one second scenario. The loop conflict means that the execution of the target first action information in the at least one first action information leads to the execution of the target second action information in the at least one second action information, and the execution of the target second action information leads to the execution of the target first action information.

3. The method as described in claim 2, characterized in that, Determining whether a loop conflict exists between the first scenario and the at least one second scenario includes: Identify action information-trigger condition pairs in the first scenario and the at least one second scenario, which consist of action information and trigger conditions belonging to different scenarios; Determine whether the identified at least one action information-trigger condition pair includes a negatively associated action information-trigger condition pair. A negatively associated action information-trigger condition pair indicates that the execution of the action information causes the trigger condition to be unsatisfied. If the at least one action information-trigger condition pair does not include a negatively associated action information-trigger condition pair, it is determined that there is a loop conflict between the first scenario and the at least one second scenario.

4. The method as described in claim 1, characterized in that, Determining whether there is a conflict between the first scenario and the at least one second scenario includes: Determine whether there is a repetitive execution conflict between the first scenario and the at least one second scenario, wherein the repetitive execution conflict means that action information for the same object is executed multiple times within a preset control time interval.

5. The method as described in claim 4, characterized in that, Determining whether there is a duplicate execution conflict between the first scenario and the at least one second scenario includes: Multiple execution time intervals associated with third action information are obtained. An execution time interval associated with one action information indicates that the action information is executed after a delay of the execution time interval. The third action information is action information for the same object in the first scenario and the at least one second scenario. The third action information includes at least two different action information. Based on the multiple execution time intervals, determine whether there is a duplicate execution conflict between the first scenario and the at least one second scenario.

6. The method as described in claim 5, characterized in that, Determining whether there is a duplicate execution conflict between the first scenario and the at least one second scenario based on the plurality of execution time intervals includes: Based on the plurality of execution time intervals and the preset control time interval, it is determined whether there is a repeated execution conflict between the first scenario and the at least one second scenario; If the average of the multiple execution time intervals is greater than the preset control time interval, it is determined that there is a repeated execution conflict between the first scenario and the at least one second scenario.

7. The method as described in claim 5 or 6, characterized in that, The first conflict warning message indicates a risk of mechanical failure.

8. The method according to any one of claims 1-7, characterized in that, The first conflict notification includes information about the existence of a conflict and / or suggestions for resolving the conflict.

9. The method according to any one of claims 1-8, characterized in that, Before determining whether a conflict exists between the first scenario and at least one second scenario of the vehicle, the method further includes: During the creation of the second scene, first information and second information are obtained. The first information is information that has been added to the first scene, and the second information is information to be added to the first scene. The first information includes a fourth trigger condition and / or a fourth action information. When the fourth trigger condition is met, the fourth action information is executed. The second information includes a fifth trigger condition or a fifth action information. Determine whether there is a conflict between the first information and the second information; If there is a conflict between the first information and the second information, a second conflict prompt message will be output.

10. The method as described in claim 9, characterized in that, Determining whether there is a conflict between the first information and the second information includes: A conflict is determined to exist between the first information and the second information if one or more of the following conditions are met: The fifth action information cannot be executed if the fourth triggering condition is met, the fourth triggering condition and the fifth triggering condition are mutually exclusive, or the execution of the fourth action information makes the fifth action information unexecutable.

11. The method as described in claim 9, characterized in that, When the first information includes the fourth triggering condition, determining whether there is a conflict between the first information and the second information includes: Determine whether the fourth action information and the fifth action information are action information targeting the same object; If the fourth action information and the fifth action information are action information targeting the same object, it is determined that there is a conflict between the first information and the second information; or... If the fourth action information and the fifth action information are different action information for the same object, and the execution time interval between the fourth action information and the fifth action information is less than the preset control time interval, it is determined that there is a conflict between the first information and the second information.

12. The method according to any one of claims 1-8, characterized in that, Before determining whether a conflict exists between the first scenario and at least one second scenario of the vehicle, the method further includes: In response to the user action that creates the second scenario, determine whether there is a conflict in the second scenario.

13. The method as described in claim 12, characterized in that, Determining whether a conflict exists in the second scenario includes: The second scenario is determined to be conflicting if one or more of the following conditions are met: The second scenario has at least one triggering condition that makes at least one action information unexecutable, the second scenario has mutually exclusive triggering conditions, or the execution of one action information in the second scenario causes the other action information to become unexecutable.

14. The method as described in claim 12, characterized in that, Determining whether a conflict exists in the second scenario includes: Determine whether the second scenario includes multiple action information targeting the same object; If the second scenario includes multiple action information for the same object, or if the second scenario includes multiple action information for the same object and the average execution time interval between the multiple action information is less than the preset control time interval, it is determined that there is a conflict in the second scenario.

15. A vehicle scenario risk detection device, characterized in that, The apparatus includes units for performing the steps of the method as described in any one of claims 1-14.

16. A server, characterized in that, The server includes a processor and a memory, the memory being used to store instructions, and the processor being used to read the instructions to perform the method as described in any one of claims 1-14.

17. A vehicle-mounted device, characterized in that, The vehicle-mounted device includes a processor and a memory, the memory being used to store instructions, and the processor being used to read the instructions to perform the method as described in any one of claims 1-14.

18. A terminal device, characterized in that, The terminal device includes a processor and a memory, the memory being used to store instructions, and the processor being used to read the instructions to execute the method as described in any one of claims 1-14.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions that, when executed, cause the method as described in any one of claims 1-14 to be performed.

20. A chip, characterized in that, include: A processor for retrieving and running a computer program from memory, such that the method as described in any one of claims 1-14 is performed.

21. A computer program product, characterized in that, It includes computer program instructions, which, when executed, cause the method as described in any one of claims 1-14 to be performed.