Conflict scenario processing method and device, computer device and storage medium
By detecting vehicle environment and processing information, combining priority and execution items to detect conflict scenarios, and using a conflict relationship table and user interaction to select the target scenario, the problem of multi-scenario vehicle conflicts is solved, improving processing efficiency and user experience.
Patent Information
- Application Number
- CN202310752895.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-25
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-06-25
AI Technical Summary
As the number of scenarios defined on a vehicle increases, multiple scenarios may conflict when executed simultaneously, affecting the user's driving experience. Existing technologies struggle to effectively handle such conflicting scenarios.
By detecting the target vehicle environment, processing information of the scenario to be executed is obtained, including processing priority and execution items. Conflict scenario detection is performed, and the scenario to be executed is processed based on the detection results. Conflict relationship table is used for conflict detection and user interaction to select the target scenario.
It improves the reliability and processing effectiveness of conflict scenario detection, ensures that users select the appropriate scenario for execution, reduces the complexity of user operations, and improves processing efficiency.
Smart Images

Figure CN116729294B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle control, and more specifically to methods, apparatus, computer equipment, and storage media for handling conflict scenarios. Background Technology
[0002] In the automotive industry, to facilitate convenient vehicle use, many scenarios are defined in the car, or users can define their own scenarios. These scenarios can be executed manually or based on user-defined conditions. When the conditions are met, the corresponding actions are executed automatically, creating a convenient driving experience for the car owner.
[0003] However, as more and more scenarios are defined, problems arise. For example, multiple scenarios may need to be met simultaneously, and these scenarios should theoretically not be executed at the same time. If they are executed simultaneously, it will cause a very bad user experience. Therefore, handling conflicting scenarios is an urgent problem to be solved. Summary of the Invention
[0004] One objective of this invention is to provide a method for handling conflict scenarios to solve the problem of conflict scenario handling; another objective is to provide a method for handling conflict scenarios; a third objective is to provide a computer device; a fourth objective is to provide a computer-readable storage medium; and a fifth objective is to provide a vehicle.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] A method for handling conflict scenarios, the method comprising:
[0007] Detect the current vehicle environment of the target vehicle to determine the scenario to be executed;
[0008] Obtain the processing information corresponding to the scenario to be executed, the processing information including processing priority and execution item, the execution item being the execution action of the vehicle component in the target vehicle;
[0009] Based on the number of scenarios to be executed and the processing information, conflict scenarios are detected to obtain detection results;
[0010] The scenario to be executed is processed based on the detection results.
[0011] Based on the above technical means, the current vehicle environment of the target vehicle is detected to obtain the scene to be executed and its corresponding processing information. Then, the number of scenes to be executed and the processing information are combined to detect conflict scenes. Since the processing information includes processing priority and execution items, multiple types of information are used to detect conflict scenes, so as to ensure the reliability of the conflict scene detection results. On this basis, the detection results are used to process the scenes to be executed, thereby improving the processing effect of the scenes to be executed.
[0012] Furthermore, the step of detecting conflict scenarios based on the number of scenarios to be executed and the processing information to obtain detection results includes:
[0013] If the number of scenarios to be executed is greater than 1, compare the priorities of the scenarios to be executed to determine the target scenario with the highest priority;
[0014] If the number of the highest priority target scenarios is greater than 1, obtain the interface for the execution item corresponding to the target scenario;
[0015] Execution item conflict detection is performed based on the interface to obtain the detection result.
[0016] Based on the aforementioned technical methods, when the number of pending execution scenarios is greater than one, the priorities of the pending execution scenarios are compared, and the target scenario with the highest priority is processed first. If the number of target scenarios with the highest priority is greater than one, since there may be conflicts in execution items under different scenarios, scenarios with conflicting execution items are also considered conflicting scenarios. Therefore, conflict detection based on the interface of the execution item corresponding to the target scenario can further improve the accuracy of the detection results.
[0017] Further, the execution item conflict detection based on the interface to obtain the detection result includes:
[0018] Obtain a conflict relationship table, which is used to represent first interfaces and second interfaces that have conflict relationships in different scenarios;
[0019] Based on the interface of the execution item corresponding to the target scenario, the conflict relationship table is queried to determine the detection result.
[0020] Based on the above technical means, since the execution item is represented by an interface, by obtaining the first interface and the second interface that record conflict relationships under different scenarios, and by using the interface of the execution item corresponding to the target scenario to query the conflict relationship table, the efficiency of determining the detection result is improved.
[0021] Furthermore, obtaining the conflict relationship table includes:
[0022] After the target vehicle is started, a message to obtain the conflict relationship table is sent to the cloud.
[0023] The system receives the conflict relationship table from the cloud based on the obtained message feedback and stores it locally, so as to read the conflict relationship table from the local storage space.
[0024] Based on the aforementioned technical methods, the conflict relationship table is maintained in the cloud, enabling it to be accessed by multiple vehicles and thus achieving table sharing. Simultaneously, the conflict relationship table is retrieved from the cloud upon vehicle startup, ensuring that the locally stored table is the latest version, achieving timely updates to the local conflict relationship table.
[0025] Furthermore, if the number of the highest priority target scenarios is greater than 1, the processing of the scenario to be executed based on the detection result includes:
[0026] If the detection result indicates a conflict in execution items, a prompt message is issued to select the target scenario in order to determine the target scenario to be executed;
[0027] Control the target vehicle to execute the execution item of the target scenario to be executed.
[0028] Based on the above technical means, if the detection result indicates that there is a conflict in the execution items, a prompt message is issued to select the target scenario for the user to choose from, thereby determining the target scenario to be executed based on the selection.
[0029] Furthermore, the processing of the scenario to be executed based on the detection results further includes:
[0030] If the target scenario to be executed is all the target scenarios, it is determined that there is no conflict between the interfaces of the execution items corresponding to each target scenario;
[0031] Control the target vehicle to execute the execution items of each of the target scenarios;
[0032] The conflict relationship table is updated, which represents the first interface and the second interface that have conflict relationships in different scenarios.
[0033] Based on the above technical means, if the selected result is that all target scenarios are target scenarios to be executed, that is, the user believes that there is no conflict between the execution items at this time, then it is determined that there is no conflict between the interfaces of the execution items corresponding to each target scenario, the target vehicle is controlled to execute the execution items of each target scenario, and the conflict relationship table is updated in order to further improve the reliability of the conflict detection results.
[0034] Furthermore, issuing a prompt message to select the target scenario to determine the target scenario to be executed includes:
[0035] The interface displays a selection screen for the target scene. The interface includes a first prompt message and a selection control. The first prompt message is used to prompt that only one execution scene can be selected.
[0036] Obtain the selection result of the selection control to determine the target scenario to be executed.
[0037] Based on the aforementioned technical means, when the detection result indicates a conflict in execution items, an interface for selecting a target scenario is pushed to the user. This interface includes a first prompt suggesting that only one execution scenario be selected. Correspondingly, the user's selection result on the selection control is obtained to determine the target scenario to be executed. In other words, in the event of a conflict in execution items, the target scenario to be executed is determined interactively, ensuring that the determined target scenario is based on the user's selection.
[0038] Furthermore, the interface for selecting the target scene includes:
[0039] If the number of target scenarios is greater than the preset number, obtain the configuration time of the target scenarios;
[0040] Select a preset number of candidate scenarios with the most recent configuration time from the target scenario;
[0041] The interface for selecting the desired scenario is displayed.
[0042] Based on the above technical means, if there are a large number of target scenarios, in order to facilitate user selection, a preset number of selectable scenarios with the most recent configuration time are selected from the target scenarios and provided to the user for selection. Since the scenario with the most recent configuration time is most relevant to the user's expectations, the selection of target scenarios can reduce the number of selectable scenarios for the user while ensuring the user's needs.
[0043] Further, obtaining the selection result of the selection control to determine the target scenario to be executed includes:
[0044] Acquire and store the selection result of the selection control to determine the target scenario to be executed;
[0045] A second prompt message is issued to obtain the processing result of the second prompt message, which is used to prompt whether to automatically handle scene conflicts;
[0046] If the processing result is automatic handling of scene conflicts, in the event of a next scene conflict, a target scene to be executed corresponding to the next scene conflict will be recommended.
[0047] Based on the above technical means, by storing the selection result of the selection control and issuing a second prompt message on whether to automatically handle scene conflicts, if the selected result is to automatically handle scene conflicts, then when a scene conflict occurs again, the user's current selection will be used to recommend the scene to be executed, which simplifies the user operation and improves the efficiency of handling conflict scenes.
[0048] Furthermore, if the number of the highest priority target scenarios is greater than 1, the processing of the scenario to be executed based on the detection result includes:
[0049] If the detection result indicates that there is no conflict in the execution items, the target vehicle is controlled to execute the execution items of each target scenario.
[0050] Based on the above technical means, in the absence of execution item conflicts, the execution items of each target scenario are executed separately, which improves the reliability of handling conflict scenarios.
[0051] Further, if the number of the highest priority target scenarios is 1, the processing of the scenario to be executed based on the detection result includes:
[0052] Control the target vehicle to execute the execution items of the target scenario.
[0053] Based on the above technical means, when the number of the highest priority target scenarios is 1, the highest priority target scenario is processed directly.
[0054] Further, obtaining the processing information corresponding to the scenario to be executed includes:
[0055] Based on the identifier of the scenario to be executed, query the correspondence between the scenario and the priority to determine the priority of the scenario to be executed;
[0056] Based on the identifier of the scenario to be executed, the correspondence between the scenario and the execution item is queried to determine the execution item of the scenario to be executed.
[0057] Based on the above technical means, the priority and execution item of the scenario to be executed can be queried from the correspondence between scenario and priority, and the correspondence between scenario and execution item, respectively, using the identifier of the scenario to be executed. Since the correspondence has been determined, querying the correspondence using the identifier of the scenario to be executed can improve the efficiency of obtaining processing information.
[0058] A conflict scenario handling apparatus, the apparatus comprising:
[0059] The environment detection module is used to detect the current vehicle environment of the target vehicle in order to determine the scenario to be executed;
[0060] The information acquisition module is used to acquire the processing information corresponding to the scenario to be executed. The processing information includes processing priority and execution item, and the execution item is the execution action of the vehicle component in the target vehicle.
[0061] The conflict detection module is used to detect conflict scenarios based on the number of scenarios to be executed and the processing information, and obtain the detection results;
[0062] The scene processing module is used to process the scene to be executed based on the detection results.
[0063] A computer device includes: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the conflict scenario handling method of the first aspect or any corresponding embodiment described above.
[0064] A computer-readable storage medium storing computer instructions for causing a computer to execute a conflict scenario handling method according to the first aspect described above or any corresponding embodiment thereof.
[0065] A vehicle comprising:
[0066] Vehicle body;
[0067] The computer device described in the third aspect is disposed within the vehicle body.
[0068] The beneficial effects of this invention are:
[0069] This invention detects the current vehicle environment of the target vehicle to obtain the scene to be executed and its corresponding processing information. Then, it combines the number of scenes to be executed and the processing information to detect conflict scenes. Since the processing information includes processing priority and execution items, it realizes the detection of conflict scenes using multiple types of information to ensure the reliability of the conflict scene detection results. On this basis, the detection results are used to process the scenes to be executed, thereby improving the processing effect of the scenes to be executed.
[0070] It should be noted that the beneficial effects of the aforementioned conflict scenario handling device, computer equipment, computer-readable storage medium, and vehicle are described in the above description of the corresponding beneficial effects of the conflict scenario handling method, and will not be repeated here. Attached Figure Description
[0071] Figure 1 This is a flowchart illustrating a method for handling conflict scenarios according to an embodiment of the present invention;
[0072] Figure 2 This is a schematic diagram of a scene definition according to an embodiment of the present invention;
[0073] Figure 3 This is a flowchart illustrating another method for handling conflict scenarios according to an embodiment of the present invention;
[0074] Figure 4 This is a schematic diagram illustrating the priority definition according to an embodiment of the present invention;
[0075] Figure 5 This is a schematic diagram of a conflict relationship table according to an embodiment of the present invention;
[0076] Figure 6 This is a flowchart illustrating another method for handling conflict scenarios according to an embodiment of the present invention;
[0077] Figure 7 This is a flowchart illustrating another method for handling conflict scenarios according to an embodiment of the present invention;
[0078] Figure 8 This is a structural block diagram of a conflict scenario processing device according to an embodiment of the present invention;
[0079] Figure 9 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0080] The embodiments of the present invention will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.
[0081] In related technologies, conflict scenarios are handled based on priority; that is, if conflict scenarios exist, the scenario with the highest priority is processed. Specifically, the detection of conflict scenarios simply involves checking whether two or more scenarios exist simultaneously. If so, a scenario conflict is considered to exist, and the scenario with the highest priority is executed.
[0082] However, even if two or more scenarios exist simultaneously in the above approach, these scenarios are not necessarily conflicting. Furthermore, in the case of multiple scenarios, there may be multiple scenarios with the highest priority, which still cannot resolve the issue of conflicting scenarios.
[0083] Based on this, the conflict scenario handling method provided in this embodiment of the invention detects conflict scenarios by combining the processing information corresponding to the scenario to be executed, including processing priority and execution items. That is, it detects conflict scenarios by combining multiple parameters and processes the scenario to be processed based on the detection results of the conflict scenarios.
[0084] This invention also provides a vehicle, including but not limited to electric vehicles and fuel-powered vehicles, with the specific vehicle type set according to actual needs. The vehicle includes a vehicle body and a computer device, with the computer device housed within the vehicle body. The computer device is used to execute the conflict scenario handling method provided in this invention to process conflict scenarios occurring in the target vehicle.
[0085] To better describe this solution, the terms used in this solution will be explained below:
[0086] (1) Scene: A specific scene consisting of certain task actions or object relationships occurring within a certain time and space, uniquely identified by a scene identifier (i.e., scene ID). A scene comprises three main components: triggering conditions, preconditions, and execution items. Execution items include interfaces 1 through N. Triggering conditions are the triggering nodes of the scene; subsequent confirmation only occurs after this information is detected, for example, the driver's door opens. Preconditions are the conditions that need to be judged subsequently; the process continues only after these conditions are met, for example, the vehicle is in parking gear. Execution items refer to the actions performed by vehicle components within the scene, including multiple interfaces. Scenes can be vehicle-preset, user-defined, etc.
[0087] For example, if the current scenario is named "Rest Mode," then the following actions are executed: the driver's seat is reclined, the ambient lighting and dome lights are all turned off, sleep music is played, all doors and windows are closed, and the air conditioning is set to external air circulation. The corresponding interfaces are as follows:
[0088] Driver's seat recline: Driver's seat control, this interface parameter can adjust the seat's fore-and-aft sliding distance and backrest tilt;
[0089] Interior ambient lighting: Controls the ambient lighting of the entire vehicle. The parameters of this interface can be turned on or off.
[0090] All dome lights off: Front dome light control, the parameters of this interface can be turned on to turn off the front dome lights; Rear dome light control, the parameters of this interface can be turned on to turn off the rear dome lights.
[0091] Play sleep music: Music search control. The parameters of this interface can be used to search for the keyword "sleep" and automatically play the first song in that type of playlist.
[0092] All doors can be closed: control of the left front door, control of the right front door, control of the left rear door, control of the right rear door, and parameters of all interfaces can be opened and closed to the corresponding doors;
[0093] All windows closed: Controls for the left front window, right front window, left rear window, and right rear window. Parameters for all interfaces can be enabled (e.g., all windows can be enabled, or windows can be enabled by a percentage). Air conditioning on / off: Controls the air conditioning recirculation mode. Parameters for this interface can be selected as external or internal recirculation, and the air conditioning will perform the corresponding action.
[0094] (2) Scene conflict: Scenes of the same priority may conflict, while scenes of different priorities do not conflict. For scenes of the same priority, if there is an execution item conflict, it means that there is a scene conflict; if there is no execution item conflict, it means that there is no scene conflict.
[0095] (3) Conflict Relationship Table: The original data is stored in the cloud and maintained according to actual needs. The vehicle obtains the latest conflict relationship table from the cloud through communication and stores it locally, so that conflict scenarios can be detected locally.
[0096] (4) Priority definition table: It is divided according to the scenarios of the whole vehicle, including but not limited to safety scenarios, driving scenarios, rest scenarios, entertainment scenarios, etc. The specific settings are based on actual needs.
[0097] According to an embodiment of the present invention, a method for handling conflict scenarios is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0098] This embodiment provides a method for handling conflict scenarios, which can be used in the aforementioned computer equipment, such as a controller in a vehicle. Figure 1 This is a flowchart of a conflict scenario handling method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:
[0099] Step S101: Detect the current vehicle environment of the target vehicle to determine the scenario to be executed.
[0100] The correspondence between the vehicle environment and the scenario to be executed is determined when configuring each scenario. For example, for scenario 1, the vehicle environment includes open windows, open roof lights, open speakers, etc.; for scenario 2, the vehicle environment includes closed headlights, reclined seats, open windows to one-third of their opening, etc.
[0101] The current vehicle environment is determined by detecting the current operating status of various vehicle components or by detecting user-inputted commands. The current operating status of each component is obtained through corresponding detection devices; for example, a gear position detector determines the current gear, and a window detector determines the current window status. The specific detection method is set according to actual needs and is not limited here. User-inputted commands can be voice commands, commands sent by the user to the vehicle via communication between the user's mobile device and the vehicle, or commands input through interactive devices provided on the vehicle, etc.
[0102] Of course, the detection of the current vehicle environment is not limited to what has been described above, and other methods can also be used. The specific settings should be made according to actual needs, and no restrictions are imposed here.
[0103] The scenarios to be executed are those satisfied by the current vehicle environment. There can be one or more scenarios, depending on the correspondence between the vehicle environment and the scenarios to be executed. Specifically, after obtaining the current vehicle environment, the current vehicle environment is compared with the vehicle environments corresponding to each scenario to determine the scenarios to be executed corresponding to the current vehicle environment.
[0104] In some alternative implementations, Figure 2 The definitions of scenario 1 and scenario 2 are shown. Specifically, scenario 1 includes trigger condition 1, precondition 1 and execution item, and the execution item includes interface 1 to interface N; scenario 2 includes trigger condition 2, precondition 2 and execution item, and the execution item includes interface 1 to interface M.
[0105] After obtaining the current vehicle environment, the current vehicle environment is compared with the triggering conditions and preconditions of Scenario 1 and Scenario 2 respectively to determine whether the conditions are met. If the triggering conditions and preconditions of Scenario 1 and Scenario 2 are met in the current vehicle environment, then the scenarios to be executed can be determined to be Scenario 1 and Scenario 2.
[0106] Step S102: Obtain the processing information corresponding to the scenario to be executed.
[0107] The processing information includes processing priority and execution items, where the execution items are the actions performed by vehicle components in the target vehicle.
[0108] The processing priority and execution items in the processing information corresponding to the scenario to be executed are given together when the scenario is defined. Among them, the processing priority is set according to actual needs. Of course, users can also adjust the processing priority of each scenario according to their actual needs to meet personalized settings.
[0109] As mentioned above, the execution items, triggering conditions, and preconditions are all determined when defining the scenario. The definition results of each scenario can be maintained through data tables or databases. After determining the scenario to be executed, the scenario ID of the scenario to be executed is used to query the maintained data table or database to determine the processing information corresponding to the scenario to be executed.
[0110] Step S103: Based on the number of scenarios to be executed and the processing information, detect conflict scenarios and obtain detection results.
[0111] As described in step S101 above, the number of scenarios to be executed, determined based on the current vehicle environment, may be one or more. As described in step S102 above, the processing information includes processing priority and execution items. Based on this, conflict scenarios are detected using the number of scenarios to be executed and the processing information, and detection results are obtained.
[0112] If there is only one scenario to be executed, there is no scenario conflict. If there are multiple scenarios to be executed, conflict detection is performed using priority and execution items.
[0113] Step S104: Process the scenario to be executed based on the detection results.
[0114] If the detection result indicates a conflict, an interactive interface can be provided, allowing the user to select the scenario to be executed from the pending scenarios; alternatively, scenarios can be automatically recommended to the user. If the detection result indicates no conflict, then all pending scenarios should be executed. The absence of conflict includes situations where there is only one pending scenario, or where the execution of multiple pending scenarios does not conflict.
[0115] The conflict scenario handling method provided in this embodiment detects the current vehicle environment of the target vehicle to obtain the scenario to be executed and its corresponding processing information. Then, it combines the number of scenarios to be executed and the processing information to detect the conflict scenario. Since the processing information includes processing priority and execution items, it realizes the detection of conflict scenarios using multiple information to ensure the reliability of the conflict scenario detection results. On this basis, it uses the detection results to process the scenario to be executed, thereby improving the processing effect of the scenario to be executed.
[0116] This embodiment provides a method for handling conflict scenarios, which can be used in the aforementioned computer equipment, such as a controller in a vehicle. Figure 3 This is a flowchart of a conflict scenario handling method according to an embodiment of the present invention, such as... Figure 3 As shown, the process includes the following steps:
[0117] Step S301: Detect the current vehicle environment of the target vehicle to determine the scenario to be executed. For details, please refer to [link to relevant documentation]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.
[0118] Step S302: Obtain the processing information corresponding to the scenario to be executed. For details, please refer to [link to relevant documentation]. Figure 1 Step S102 of the illustrated embodiment will not be described again here.
[0119] Step S303: Based on the number of scenarios to be executed and the processing information, detect conflict scenarios and obtain detection results.
[0120] Specifically, step S303 includes:
[0121] Step S3031: If the number of scenarios to be executed is greater than 1, compare the priorities of the scenarios to be executed to determine the target scenario with the highest priority.
[0122] If the number of pending scenarios is greater than one, the priorities of each pending scenario are compared to determine the target scenario with the highest priority. It should be noted that the number of target scenarios may be one or more, depending on the specific circumstances.
[0123] For example, Figure 4 A priority definition table is shown, with priority levels ranging from 1 to 3. The smaller the number for each priority level, the higher the priority. Each priority level corresponds to at least one scenario. Figure 4 In the example shown, each priority level corresponds to one scenario.
[0124] After identifying the scenarios to be executed, the priority definition table can be queried using the identifier of the scenarios to be executed, and the target scenario with the highest priority can be identified among the scenarios to be executed.
[0125] Step S3032: If the number of target scenarios with the highest priority is greater than 1, obtain the interface of the execution item corresponding to the target scenario.
[0126] If the number of highest priority target scenarios is greater than 1, it indicates a potential scenario conflict, requiring further evaluation based on the interfaces of the execution items corresponding to the target scenarios. If there are conflicts between the interfaces of execution items in different scenarios, then an execution item conflict is considered to exist.
[0127] The interface of the execution item corresponding to the target scenario is also determined when the scenario is defined. For example, Figure 2 The interfaces for the execution items are shown in two scenarios.
[0128] Step S3033: Perform execution item conflict detection based on the interface and obtain the detection results.
[0129] Execution item conflict detection is performed using the interfaces of the execution items corresponding to the target scenario; that is, interface conflict detection is performed to obtain the detection results. These results include whether execution item conflicts exist or not.
[0130] Interface conflicts can be detected by analyzing the interfaces or by querying a pre-defined conflict interface table.
[0131] In some alternative implementations, step S3033 includes:
[0132] Step a1: Obtain the conflict relationship table. The conflict relationship table is used to represent the first interface and the second interface that have conflict relationships in different scenarios.
[0133] Step a2: Based on the interface of the execution item corresponding to the target scenario, query the conflict relationship table to determine the detection result.
[0134] Conflict relationships are maintained according to actual definitions. Some conflict relationships are determined by hardware, while others are defined by software or requirements. For example, the conflict relationship of the driver's door opening and closing is determined by hardware; the driver's door can only be opened or closed, not both at the same time.
[0135] For example, a user can customize scenarios. Scenario 1: A month ago, the user customized a "Rest Mode 1," where pressing the horn button on the steering wheel and being in Park (P) causes the seat to recline and the driver's side window to lower 90%. A month later, the user customized a "Rest Mode 2," where pressing the horn button on the steering wheel and being in Park causes the seat to recline, the driver's side window to close, and the air conditioning to activate external air circulation. In this case, the user might need to lower and close the window simultaneously. While these customized scenarios are intended for user entertainment, with multiple scenarios, a user might forget they previously customized one and create a new one, but their current needs might differ from the previous one. Alternatively, the previous scenario might have been defined by someone else, while the current one is the user's own definition. Since two different people will have different needs, conflicts can arise in the execution items within the pending scenarios corresponding to the current vehicle environment.
[0136] For example, playing music and broadcasting voice messages using different channels doesn't conflict with the hardware architecture, but it's listed as a conflict during product definition. This type of conflict is defined by requirements. Conflicts determined by hardware are maintained at the factory, while conflicts defined by software or requirements can be changed later based on specific circumstances. For instance, adding or deleting functions can change the execution conflict relationship. Therefore, the conflict relationship table can be stored in the cloud for convenient subsequent operation and management.
[0137] In some alternative implementations, Figure 5 An example of a conflict relationship table is shown. Interface 11 in scenario 1 conflicts with interface 21 in scenario 2, interface 12 in scenario 1 conflicts with interface 22 in scenario 2, and interface 13 in scenario 1 conflicts with interface 23 in scenario 2.
[0138] Since the execution items are represented by interfaces, by obtaining the first and second interfaces that record conflict relationships under different scenarios, and querying the conflict relationship table using the interface of the execution item corresponding to the target scenario, the efficiency of determining the detection results is improved.
[0139] In some alternative implementations, step a1 includes:
[0140] Step a11: After the target vehicle starts, send a message to the cloud to obtain the conflict relationship table.
[0141] Step a12: Receive the conflict relationship table from the cloud based on the message feedback and store it locally, so as to read the conflict relationship table from the local storage space.
[0142] The conflict relationship table is stored in the cloud. When adjustments are needed, the table can be adjusted online via a communication connection to the cloud, or it can be adjusted offline and then uploaded to the cloud, etc. There are no restrictions on the adjustment method; it can be configured according to actual needs.
[0143] Because the conflict relationship table stored in the cloud can be adjusted, the target vehicle needs to communicate with the cloud to obtain the latest conflict relationship table. Specifically, after starting up, the target vehicle sends a request for the conflict relationship table to the cloud. Correspondingly, the cloud provides feedback on the conflict relationship table based on the received message; that is, the target vehicle receives the conflict relationship table from the cloud and stores it locally. Subsequent conflict detection can then directly retrieve the conflict relationship table from its local storage.
[0144] The conflict relationship table is maintained in the cloud to ensure that it can be accessed by multiple vehicles, thus enabling table sharing. Simultaneously, upon vehicle startup, the conflict relationship table is retrieved from the cloud to guarantee that the locally stored table is the latest version, ensuring timely updates to the local conflict relationship table.
[0145] Step S304: Process the scenario to be executed based on the detection results.
[0146] Specifically, step S204 includes:
[0147] Step S3041: If the number of target scenarios with the highest priority is greater than 1 and the detection result is that there is an execution item conflict, a prompt message is issued to select a target scenario to determine the target scenario to be executed.
[0148] As described in step S303 above, when the number of the highest priority target scenarios is greater than 1, execution item conflict detection is performed by combining the interface of the execution item corresponding to the target scenario. If there is an execution item conflict, a prompt message is issued to select a target scenario so as to select a scenario from the target scenarios as the target scenario to be executed.
[0149] The methods for sending notifications include, but are not limited to, pop-ups, text messages, or voice messages. The specific settings should be configured according to actual needs.
[0150] Taking voice as an example, the target scene is output through the speaker of the target vehicle, and the target scene is selected through voice interaction with the user. Accordingly, the user's selected voice is collected, and voice analysis is performed on the selected voice to determine the target scene to be executed.
[0151] In some optional implementations, step S3041 above includes:
[0152] Step b1: Display an interface for selecting a target scene. The interface includes a first prompt message and a selection control. The first prompt message is used to suggest that only one execution scene can be selected.
[0153] Step b2: Obtain the selection result of the selection control to determine the target scenario to be executed.
[0154] The notification can be sent via a display interface, whereby the user selects a target scenario from the vehicle's onboard display screen. The interface includes a first notification message and selection controls. The first notification message informs the user that only one scenario can be selected for execution at any given time.
[0155] There are no restrictions on the layout of the interface; it can be set according to actual needs.
[0156] After the user interacts with the selection controls on the interface, the system can obtain the selection result of the selection controls by responding to the user's interaction and thus determine the target scenario to be executed.
[0157] If the detection result indicates a conflict in execution items, an interface for selecting a target scenario is pushed to the user. This interface includes a first prompt suggesting that only one execution scenario be selected. Correspondingly, the user's selection result is obtained to determine the target scenario to be executed. In other words, in the event of a conflict, the target scenario to be executed is determined interactively, ensuring that the determined target scenario is based on the user's selection.
[0158] In some alternative implementations, step b1 includes:
[0159] Step b11: If the number of target scenes is greater than the preset number, obtain the configuration time of the target scenes.
[0160] Step b12: Select the preset number of candidate scenarios with the most recent configuration time from the target scenarios.
[0161] Step b13 displays the interface for selecting the scene to be selected.
[0162] If there are many target scenarios, in order to facilitate user selection, a preset number of scenarios with the most recent configuration time are selected from the target scenarios and provided to the user for selection. Since the scenarios with the most recent configuration time are most relevant to the user's expectations, the selection of target scenarios can reduce the number of scenarios available to the user while ensuring the user's needs are met.
[0163] Specifically, the number of target scenarios is compared with a preset number. If the number exceeds the preset number, the configuration time for each target scenario is obtained. The configuration time is the time taken to configure the target scenario, and this time is recorded for each scenario during configuration. Then, using the configuration times of the target scenarios, the preset number of candidate scenarios with the closest configuration times are selected. For example, if there are 5 target scenarios and the preset number is 3, the configuration times of these 5 target scenarios are compared, and the 3 candidate scenarios with the closest current time are selected. These 3 candidate scenarios are then displayed on the interface for the user to choose from, resulting in the target scenario to be executed.
[0164] In some alternative implementations, step b2 includes:
[0165] Step b21: Obtain and store the selection result of the selection control to determine the target scenario to be executed.
[0166] Step b22: Issue a second prompt message to obtain the processing result of the second prompt message. The second prompt message is used to prompt whether to automatically handle scene conflicts.
[0167] Step b23: If the processing result is automatic handling of scene conflicts, in the event of a scene conflict in the next instance, a target scene to be executed corresponding to the next scene conflict will be recommended.
[0168] As mentioned above, after the user selects a control, the target scenario to be executed is determined. The second prompt message can be issued by recording the number of times the user selects a conflicting scenario. If the number of selections exceeds a preset value, a second prompt message is issued to ask whether to automatically handle the scenario conflict. If the user chooses to automatically handle the scenario conflict, the target scenario to be executed will be automatically recommended based on the user's selection the next time the same scenario conflict occurs.
[0169] For example, initially, all conflicts are left to the user's choice, and the user's choices are tracked and analyzed. After a period of time, the user's choices are analyzed, and the system directly recommends the corresponding scenario to the user. That is, a second prompt message is given to the user to choose whether to execute the scenario directly based on the tracked data analysis results. If the user chooses yes, the system will make the choice directly without further user input; if the user chooses no, the current state is saved, and the user chooses which scenario to execute each time.
[0170] By storing the selection results of the selection control and issuing a second prompt message on whether to automatically handle scene conflicts, if the selection result is to automatically handle scene conflicts, then when a scene conflict occurs again, the system will recommend a scene to be executed based on the user's current selection, which simplifies user operation and improves the efficiency of handling conflict scenes.
[0171] Step S3042: Control the target vehicle to execute the execution item of the target scenario to be executed.
[0172] After identifying the target scenario to be executed, the corresponding vehicle components in the target vehicle are controlled to perform actions, thereby executing the execution items of the target scenario.
[0173] Step S3043: If the number of target scenarios with the highest priority is greater than 1 and the detection result is that there is no conflict of execution items, control the target vehicle to execute the execution items of each target scenario.
[0174] In this scenario, although the number of target scenarios is greater than one, there are no execution conflicts, meaning that the multiple target scenarios do not affect each other and can be executed simultaneously. Therefore, the target vehicle is controlled to execute the execution items of each target scenario.
[0175] Step S3044: If the number of target scenarios with the highest priority is 1, control the target vehicle to execute the execution item of the target scenario.
[0176] When the number of the highest priority target scenarios is 1, there is no scenario conflict, so the target vehicle is directly controlled to execute the execution item of the target scenario.
[0177] The conflict scenario handling method provided in this embodiment compares the priorities of the scenarios to be executed when the number of scenarios to be executed is greater than one, and prioritizes the highest priority target scenario. If the number of highest priority target scenarios is greater than one, since there may be conflicts in execution items under different scenarios, scenarios with execution item conflicts are also considered conflict scenarios. Therefore, conflict detection based on the interface of the execution item corresponding to the target scenario can further improve the accuracy of the detection results. If the detection result indicates that there is an execution item conflict, a prompt message is issued to select a target scenario for the user to choose from, thereby determining the target scenario to be executed. When there is no execution item conflict, the execution items of each target scenario are executed separately, improving the reliability of conflict scenario handling. When the number of highest priority target scenarios is one, the highest priority target scenario is processed directly.
[0178] In some optional implementations, step S204 above further includes:
[0179] Step c1: If the target scenario to be executed is all target scenarios, determine that there are no conflicts between the interfaces of the execution items corresponding to each target scenario.
[0180] Step c2: Control the target vehicle to execute the execution items of each target scenario.
[0181] Step c3: Update the conflict relationship table, which is used to represent the first interface and the second interface that have conflict relationships in different scenarios.
[0182] As mentioned above, the user is provided with an interface to select the target scenario to be executed, and the interface includes a first prompt to inform the user that only one scenario can be selected as the target scenario at this time. If the user selects all target scenarios as the target scenarios, it means that the user believes there are no conflicts between the interfaces of the execution items corresponding to each target scenario, and the target vehicle is then controlled to execute the execution items of each target scenario.
[0183] Accordingly, the conflict relationship table within the target vehicle is updated to facilitate subsequent conflict scenario detection. It should be noted that this modification pertains to the conflict relationship table within the target vehicle; the changes can be synchronized to the cloud or stored locally, depending on the specific requirements.
[0184] If the selected result is that all target scenarios are target scenarios to be executed, that is, the user believes that there is no conflict between the execution items at this time, then it is determined that there is no conflict between the interfaces of the execution items corresponding to each target scenario, the target vehicle is controlled to execute the execution items of each target scenario, and the conflict relationship table is updated in order to further improve the reliability of the conflict detection results.
[0185] This embodiment provides a method for handling conflict scenarios, which can be used in the aforementioned mobile terminals, such as mobile phones and tablets. Figure 6 This is a flowchart of a conflict scenario handling method according to an embodiment of the present invention, such as... Figure 6 As shown, the process includes the following steps:
[0186] Step S601: Detect the current vehicle environment of the target vehicle to determine the scenario to be executed.
[0187] Step S602: Obtain the processing information corresponding to the scenario to be executed.
[0188] Specifically, step S602 includes:
[0189] Step S6021: Based on the identifier of the scenario to be executed, query the correspondence between the scenario and the priority to determine the priority of the scenario to be executed.
[0190] Step S6022: Based on the identifier of the scenario to be executed, query the correspondence between the scenario and the execution item to determine the execution item of the scenario to be executed.
[0191] As mentioned above, each scenario is assigned a unique identifier during scenario definition. Correspondingly, after identifying the scenario to be executed, the identifier is used to query the correspondence between scenarios and priorities, thus determining the priority of the scenario to be executed.
[0192] By using the identifier of the scenario to be executed to query the correspondence between scenarios and execution items, the execution item for the scenario to be executed can be determined. The correspondence between scenarios and priorities can be established through... Figure 4 The priority definition table shown indicates that the correspondence between scenarios and execution items can be established through... Figure 2 The scene definition shown is as follows.
[0193] Step S603: Based on the number of scenarios to be executed and the processing information, conflict scenarios are detected to obtain detection results. For details, please refer to [link to relevant documentation]. Figure 3 The description of step S303 in the illustrated embodiment will not be repeated here.
[0194] Step S604: Process the scenario to be executed based on the detection results. For details, please refer to [link to relevant documentation]. Figure 3 The description of step S304 in the illustrated embodiment will not be repeated here.
[0195] The conflict scenario handling method provided in this embodiment uses the identifier of the scenario to be executed to query the priority and execution item of the scenario to be executed from the correspondence between scenario and priority, and the correspondence between scenario and execution item. Since the correspondence has been determined, querying the correspondence using the identifier of the scenario to be executed can improve the efficiency of obtaining processing information.
[0196] As a specific application embodiment of the present invention, Figure 7 This example illustrates conflict scenario handling. After obtaining the current vehicle environment, it is determined that both Scenario 1 and Scenario 2 satisfy their respective triggering and preconditions. Then, the priorities and execution items of the two scenarios are determined. For Scenario 1 and Scenario 2, the scenario IDs are queried from the priority definition table and the scenario library to obtain their respective priorities and execution items. After obtaining the execution items for Scenario 1 and Scenario 2, the execution conflict relationship table is queried using the interface name of the execution item to obtain the conflicting interfaces for the execution items of the two scenarios. Based on the above information, it is determined whether a scenario conflict exists. Specifically, if Scenario 1 and Scenario 2 have different priorities, the scenario with the higher priority is executed. If Scenario 1 and Scenario 2 have the same priority and no execution item conflict, it indicates that there is no scenario conflict, and each scenario is executed separately. If Scenario 1 and Scenario 2 have the same priority and execution item conflict, both scenarios are displayed, allowing the user to actively choose which scenario to execute.
[0197] This embodiment also provides a conflict scenario processing apparatus, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0198] This embodiment provides a device for handling conflict scenarios, such as... Figure 8 As shown, it includes:
[0199] The environment detection module 801 is used to detect the current vehicle environment of the target vehicle in order to determine the scenario to be executed.
[0200] The information acquisition module 802 is used to acquire the processing information corresponding to the scenario to be executed. The processing information includes the processing priority and the execution item, which is the execution action of the vehicle component in the target vehicle.
[0201] The conflict detection module 803 is used to detect conflict scenarios based on the number of scenarios to be executed and the processing information, and obtain the detection results.
[0202] The scene processing module 804 is used to process the scene to be executed based on the detection results.
[0203] In some alternative implementations, the collision detection module 803 includes:
[0204] The priority comparison unit is used to compare the priorities of the scenarios to be executed if the number of scenarios to be executed is greater than 1, so as to determine the target scenario with the highest priority.
[0205] The interface retrieval unit is used to retrieve the interface of the execution item corresponding to the target scenario if the number of the highest priority target scenarios is greater than 1.
[0206] The conflict detection unit is used to perform execution item conflict detection based on the interface and obtain the detection results.
[0207] In some optional implementations, the collision detection unit includes:
[0208] The relationship table retrieval sub-unit is used to retrieve the conflict relationship table, which represents the first interface and the second interface that have conflicting relationships in different scenarios.
[0209] The query subunit is used to query the conflict relationship table based on the interface of the execution item corresponding to the target scenario, and determine the detection result.
[0210] In some optional implementations, the relation table retrieval subunit includes:
[0211] The sending subunit is used to send a message to the cloud to retrieve the conflict relationship table after the target vehicle starts.
[0212] The receiving subunit is used to receive the conflict relationship table based on the message feedback from the cloud and store it locally, so as to read the conflict relationship table from the local storage space.
[0213] In some optional implementations, if the number of target scenes with the highest priority is greater than 1, the scene processing module 804 includes:
[0214] The prompting unit is used to issue a prompting message to select the target scenario if the detection result indicates that there is an execution item conflict, so as to determine the target scenario to be executed.
[0215] The first control unit is used to control the target vehicle to execute the execution items of the target scenario to be executed.
[0216] In some alternative implementations, the collision detection module 803 further includes:
[0217] The conflict determination unit is used to determine whether there are any conflicts between the interfaces of the execution items corresponding to each target scenario if the target scenario to be executed is all target scenarios.
[0218] The second control unit is used to control the target vehicle to execute the execution items of each target scenario.
[0219] The update unit is used to update the conflict relationship table, which represents the first interface and the second interface that have conflict relationships in different scenarios.
[0220] In some optional implementations, the notification information issuing unit includes:
[0221] The interface display sub-unit is used to display the interface for selecting the target scene. The interface includes a first prompt message and a selection control. The first prompt message is used to prompt that only one execution scene can be selected.
[0222] The selection result retrieval sub-unit is used to retrieve the selection result of the selection control in order to determine the target scenario to be executed.
[0223] In some alternative implementations, the interface display subunit includes:
[0224] The configuration time acquisition sub-unit is used to acquire the configuration time of the target scene if the number of target scenes is greater than the preset number.
[0225] The filtering sub-unit is used to filter out a preset number of candidate scenes from the target scene that have the most recent configuration time.
[0226] The display sub-unit is used to display the interface for selecting the scene to be selected.
[0227] In some optional implementations, the selection result acquisition subunit includes:
[0228] The Get and Store sub-unit is used to get and store the selection result of the selection control in order to determine the target scenario to be executed.
[0229] The prompt message issuing subunit is used to issue a second prompt message in order to obtain the processing result of the second prompt message. The second prompt message is used to prompt whether to automatically handle scene conflicts.
[0230] The recommendation subunit is used to recommend the target scenario to be executed corresponding to the next scenario conflict if the processing result is automatic handling of scenario conflicts.
[0231] In some optional implementations, if the number of target scenes with the highest priority is greater than 1, the scene processing module 804 includes:
[0232] The third control unit is used to control the target vehicle to execute the execution items of each target scenario if the detection result shows that there is no conflict in the execution items.
[0233] In some optional implementations, if the number of the highest priority target scenes is 1, the scene processing module 804 includes:
[0234] The fourth control unit is used to control the target vehicle to execute the execution items of the target scenario.
[0235] In some optional implementations, the information acquisition module 802 includes:
[0236] The priority query unit is used to query the correspondence between the scenario and the priority based on the identifier of the scenario to be executed, and to determine the priority of the scenario to be executed.
[0237] The execution item query unit is used to query the correspondence between the scenario to be executed and the execution item based on the identifier of the scenario to be executed, and to determine the execution item of the scenario to be executed.
[0238] In this embodiment, the conflict scenario processing device is presented in the form of a functional unit. Here, a unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0239] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0240] This invention also provides a computer device having the above-described features. Figure 8 The device for handling conflict scenarios shown.
[0241] Please see Figure 9 , Figure 9 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 9 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 9 Take a processor 10 as an example.
[0242] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0243] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0244] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0245] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0246] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0247] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0248] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for handling conflict scenarios, characterized in that, The method includes: Detect the current vehicle environment of the target vehicle to determine the scenario to be executed; Obtain the processing information corresponding to the scenario to be executed, the processing information including processing priority and execution item, the execution item being the execution action of the vehicle component in the target vehicle; Based on the number of scenarios to be executed and the processing information, conflict scenarios are detected to obtain detection results; The scenario to be executed is processed based on the detection results; The step of detecting conflict scenarios based on the number of scenarios to be executed and the processing information to obtain detection results includes: If the number of scenarios to be executed is greater than 1, compare the priorities of the scenarios to be executed to determine the target scenario with the highest priority; If the number of the highest priority target scenarios is greater than 1, obtain the interface for the execution item corresponding to the target scenario; Execution item conflict detection is performed based on the interface to obtain the detection result; The execution item conflict detection based on the interface, and the resulting detection, include: Obtain a conflict relationship table, which is used to represent first interfaces and second interfaces that have conflict relationships in different scenarios; Based on the interface of the execution item corresponding to the target scenario, the conflict relationship table is queried to determine the detection result.
2. The method according to claim 1, characterized in that, The process of obtaining the conflict relationship table includes: After the target vehicle is started, a message to obtain the conflict relationship table is sent to the cloud. The system receives the conflict relationship table from the cloud based on the obtained message feedback and stores it locally, so as to read the conflict relationship table from the local storage space.
3. The method according to claim 1, characterized in that, If the number of the highest priority target scenarios is greater than 1, the processing of the scenarios to be executed based on the detection results includes: If the detection result indicates a conflict in execution items, a prompt message is issued to select the target scenario in order to determine the target scenario to be executed; Control the target vehicle to execute the execution item of the target scenario to be executed.
4. The method according to claim 3, characterized in that, The process of processing the scenario to be executed based on the detection results further includes: If the target scenario to be executed is all the target scenarios, it is determined that there is no conflict between the interfaces of the execution items corresponding to each target scenario; Control the target vehicle to execute the execution items of each of the target scenarios; The conflict relationship table is updated, which represents the first interface and the second interface that have conflict relationships in different scenarios.
5. The method according to claim 3, characterized in that, The step of issuing a prompt message to select the target scenario, in order to determine the target scenario to be executed, includes: The interface displays an option to select the target scene. The interface includes a first prompt message and a selection control. The first prompt message is used to prompt that only one execution scene can be selected. Obtain the selection result of the selection control to determine the target scenario to be executed.
6. The method according to claim 5, characterized in that, The interface for selecting the target scene includes: If the number of target scenarios is greater than the preset number, obtain the configuration time of the target scenarios; Select a preset number of candidate scenarios with the most recent configuration time from the target scenario; The interface for selecting the desired scenario is displayed.
7. The method according to claim 5, characterized in that, The step of obtaining the selection result of the selection control to determine the target scenario to be executed includes: Acquire and store the selection result of the selection control to determine the target scenario to be executed; A second prompt message is issued to obtain the processing result of the second prompt message, which is used to prompt whether to automatically handle scene conflicts; If the processing result is automatic handling of scene conflicts, in the event of a next scene conflict, a target scene to be executed corresponding to the next scene conflict will be recommended.
8. The method according to claim 1, characterized in that, If the number of the highest priority target scenarios is greater than 1, the processing of the scenarios to be executed based on the detection results includes: If the detection result indicates that there is no conflict in the execution items, the target vehicle is controlled to execute the execution items of each of the target scenarios.
9. The method according to claim 1, characterized in that, If the number of the highest priority target scenarios is 1, the processing of the scenario to be executed based on the detection result includes: Control the target vehicle to execute the execution items of the target scenario.
10. The method according to any one of claims 1 to 9, characterized in that, The step of obtaining the processing information corresponding to the scenario to be executed includes: Based on the identifier of the scenario to be executed, query the correspondence between the scenario and the priority to determine the priority of the scenario to be executed; Based on the identifier of the scenario to be executed, the correspondence between the scenario and the execution item is queried to determine the execution item of the scenario to be executed.
11. A device for processing conflict scenarios, characterized in that, The device includes: The environment detection module is used to detect the current vehicle environment of the target vehicle in order to determine the scenario to be executed; The information acquisition module is used to acquire the processing information corresponding to the scenario to be executed. The processing information includes processing priority and execution item, and the execution item is the execution action of the vehicle component in the target vehicle. The conflict detection module is used to detect conflict scenarios based on the number of scenarios to be executed and the processing information, and obtain the detection results; A scene processing module is used to process the scene to be executed based on the detection results; The collision detection module includes: A priority comparison unit is used to compare the priorities of the scenarios to be executed if the number of scenarios to be executed is greater than 1, so as to determine the target scenario with the highest priority. An interface acquisition unit is used to acquire the interface of the execution item corresponding to the target scenario if the number of the highest priority target scenarios is greater than 1. A conflict detection unit is used to perform execution item conflict detection based on the interface and obtain the detection result; The collision detection unit includes: The relationship table acquisition subunit is used to acquire the conflict relationship table, which represents the first interface and the second interface that have conflicting relationships in different scenarios. The query subunit is used to query the conflict relationship table based on the interface of the execution item corresponding to the target scenario, and determine the detection result.
12. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the conflict scenario handling method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method for handling the conflict scenario according to any one of claims 1 to 10.
14. A vehicle, characterized in that, include: Vehicle body; The computer device of claim 12, wherein the computer device is disposed within the vehicle body.
Citation Information
Patent Citations
Vehicle-mounted message pushing method and device and vehicle
CN116319975A