Vehicle operation scene processing method and device, equipment, storage medium and vehicle
By employing a waiting logic strategy in the vehicle to handle multiple triggered running scenarios, the problems of low execution efficiency and conflicts are solved, achieving more efficient and accurate scenario execution.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2022-12-02
- Publication Date
- 2026-04-10
AI Technical Summary
Existing technologies have low execution efficiency and are prone to conflicts in vehicle operation scenarios.
A waiting logic strategy is adopted to handle vehicle operation scenarios. After receiving the triggering of at least two scenarios, the triggering status is determined and the target scenario is selected for execution based on the determination result, while other scenarios wait.
It improves the execution efficiency of vehicle operation scenarios, avoids conflicts between scenarios, and ensures the accurate determination of target scenarios.
Smart Images

Figure CN115730250B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of vehicle control, and particularly relates to a vehicle running scene processing method and device, equipment, storage medium and vehicle. BACKGROUND
[0002] With the development of the vehicle industry, the vehicle running scenes stored in advance are various. However, when multiple vehicle running scenes are triggered, the execution efficiency of the vehicle running scenes is reduced, and the problem of vehicle running scene conflict is prone to occur.
[0003] Therefore, how to improve the execution efficiency of the vehicle running scenes and avoid the vehicle running scene conflict has become an important research problem. SUMMARY
[0004] Therefore, the purpose of the present disclosure is to provide a vehicle running scene processing method, device, equipment, storage medium and vehicle to solve the problem of reduced execution efficiency of the vehicle running scenes and the problem of vehicle running scene conflict prone to occur in the prior art.
[0005] To achieve the above purpose, a first aspect of the present disclosure provides a vehicle running scene processing method, comprising:
[0006] receiving that at least two vehicle running scenes are triggered;
[0007] determining that a vehicle running scene execution strategy is a waiting logic strategy, and the at least two vehicle running scenes are executed according to the waiting logic strategy;
[0008] the waiting logic strategy execution process comprises:
[0009] judging the trigger state of the at least two vehicle running scenes to obtain a trigger judgment result, determining a target vehicle running scene from the at least two vehicle running scenes according to a preset selection strategy corresponding to the trigger judgment result, and executing the target vehicle running scene and waiting for other vehicle running scenes; wherein the other vehicle running scenes are vehicle running scenes other than the target vehicle running scene in the at least two vehicle running scenes.
[0010] Based on the same inventive concept, a second aspect of the present disclosure provides a vehicle running scene processing device, comprising:
[0011] a receiving module configured to receive that at least two vehicle running scenes are triggered;
[0012] an execution module configured to determine that a vehicle running scene execution strategy is a waiting logic strategy, and the at least two vehicle running scenes are executed according to the waiting logic strategy;
[0013] The waiting logic strategy execution process comprises:
[0014] A trigger state of the at least two vehicle operation scenes is determined to obtain a trigger determination result, and a target vehicle operation scene is determined from the at least two vehicle operation scenes according to a preset selection strategy corresponding to the trigger determination result to be executed, and other vehicle operation scenes are waiting; the other vehicle operation scenes are vehicle operation scenes other than the target vehicle operation scene in the at least two vehicle operation scenes.
[0015] Based on the same inventive concept, a third aspect of the present disclosure provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.
[0016] Based on the same inventive concept, a fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method described above.
[0017] Based on the same inventive concept, a fifth aspect of the present disclosure provides a vehicle comprising the vehicle operation scene processing apparatus of the second aspect, the electronic device of the third aspect, or the storage medium of the fourth aspect.
[0018] As can be seen from the above, the vehicle operation scene processing method, apparatus, device, storage medium, and vehicle provided by the present disclosure receive at least two vehicle operation scenes being triggered; determine that a vehicle operation scene execution strategy is a waiting logic strategy, and the at least two vehicle operation scenes are executed according to the waiting logic strategy. When at least two vehicle operation scenes are triggered, the execution efficiency of the vehicle operation scene can be improved, and conflicts between vehicle operation scenes can be avoided. The waiting logic strategy execution process comprises determining a trigger state of the at least two vehicle operation scenes to obtain a trigger determination result, and determining a target vehicle operation scene from the at least two vehicle operation scenes according to a preset selection strategy corresponding to the trigger determination result to be executed, and other vehicle operation scenes are waiting. Different trigger determination results correspond to different preset selection strategies, and the target vehicle operation scene is determined according to the preset selection strategy corresponding to the trigger determination result, so that the determined target vehicle operation scene is more accurate. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present disclosure or the related art, the drawings needed to be used in the embodiments or the related description will be briefly introduced. Obviously, the drawings in the following description only constitute the embodiments of the present disclosure, and for those skilled in the art, other drawings can also be obtained without creative effort based on these drawings.
[0020] Figure 1 A flow chart of a processing method of a vehicle running scenario according to an embodiment of the present disclosure;
[0021] Figure 2 A structural schematic diagram of a processing device of a vehicle running scenario according to an embodiment of the present disclosure;
[0022] Figure 3 A structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below with reference to specific embodiments and drawings.
[0024] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood as the general meaning understood by those skilled in the art to which the present disclosure belongs. The terms "first", "second" and the like used in the embodiments of the present disclosure do not represent any order, number or importance, but are only used to distinguish different components. The terms "include" or "contain" and the like mean that the elements or objects before the terms cover the elements or objects listed after the terms and their equivalents, and do not exclude other elements or objects. The terms "connect" or "connected" and the like do not mean physical or mechanical connection, but can include electrical connection, whether direct or indirect. The terms "up", "down", "left", "right" and the like are only used to represent relative positional relationships, and when the absolute positions of the described objects change, the relative positional relationships may also change accordingly.
[0025] As described above, how to improve the execution efficiency of the vehicle running scenario and avoid the conflict of the vehicle running scenario has become an important research problem.
[0026] Based on the above description, as shown in the figure, the processing method of the vehicle running scenario proposed in the present embodiment includes: Figure 1
[0027] Step 101, receiving that at least two vehicle running scenarios are triggered.
[0028] In specific implementation, the vehicle running scene is a running process of the vehicle according to corresponding scene configuration parameters when the trigger is triggered and the trigger condition is met. The scene configuration parameters include at least one of the following: air conditioning setting, light, temperature, music, seat setting, fragrance and voice broadcast.
[0029] In specific implementation, the vehicle running scene includes a general scene and a skill pocket. The trigger, trigger condition and corresponding execution action in the general scene are pre-set; the trigger, trigger condition and corresponding execution action in the skill pocket can be set by the user as needed. The vehicle running scene is pre-set and stored in a server (for example, a cloud platform). In this embodiment, the vehicle running scene executed according to the waiting logic strategy is preferably a general scene.
[0030] The vehicle running scene includes at least one of the following: hot summer, warm winter, air butler, vehicle service, help me drive, high-speed intelligent driving, congestion intelligent driving, call service, karaoke recommendation, movie watching recommendation, music hall, lunch break time, physical and mental relaxation mode, meet the goddess after work, surprise time, star watching and vehicle speed reminder.
[0031] The vehicle running scene includes corresponding sub-scenes, and the sub-scenes need corresponding trigger conditions and execution contents for execution. The trigger conditions and execution contents can be pre-set. For example, the trigger conditions can be set as triggering within a specific time, trigger repetition period, trigger temperature, trigger location, voice trigger, gear trigger and vehicle speed trigger. The execution contents include TTS broadcast, remote control, navigation control, air conditioning control, seat control, sunroof control, music setting, fragrance setting and component display.
[0032] When the trigger is triggered, the trigger condition is judged, and when the trigger condition of the vehicle running scene is met, the execution content corresponding to the vehicle running scene is executed. For example, the hot summer vehicle running scene includes corresponding sub-scenes: early cooling, extreme cooling, summer work, comfortable configuration and summer off work. The trigger conditions of the early cooling sub-scene include: a specific time, such as 8 am; a repetition period, such as Monday to Friday; an outside temperature greater than a preset temperature threshold, such as a temperature threshold of 30 degrees Celsius; and a vehicle location, such as a preset location of the user's home. When the trigger of the early cooling sub-scene is triggered and the above trigger conditions are met, the execution content of the early cooling sub-scene is executed. The execution content of the early cooling sub-scene after being triggered is: remote control of extreme cooling.
[0033] Step 102, determining that the vehicle running scene execution strategy is a waiting logic strategy, and the at least two vehicle running scenes are executed according to the waiting logic strategy;
[0034] The waiting logic strategy execution process includes:
[0035] determining a trigger state of the at least two vehicle operation scenes to obtain a trigger determination result, and determining a target vehicle operation scene from the at least two vehicle operation scenes according to a preset selection strategy corresponding to the trigger determination result for execution, and other vehicle operation scenes for waiting; wherein the other vehicle operation scenes are vehicle operation scenes other than the target vehicle operation scene in the at least two vehicle operation scenes.
[0036] In a specific implementation, the vehicle operation scene execution strategy includes a waiting logic strategy and a parallel logic strategy.
[0037] Before step 101, a user selects a vehicle operation scene execution strategy as needed, and the selected vehicle operation scene execution strategy in this scheme is the waiting logic strategy. After receiving that the at least two vehicle operation scenes are triggered, the user-selected waiting logic strategy is called as the determined strategy for execution.
[0038] The process of the user preselecting the waiting logic strategy is as follows: the vehicle operation scene execution strategies pre-stored in the vehicle scene engine are displayed through a vehicle screen, the selection interface of the vehicle operation scene execution strategies is popped up on the vehicle screen, and the waiting logic strategy and the parallel logic strategy pre-stored in the vehicle scene engine are displayed on the interface for the user to select. The user selects the waiting logic strategy through manual or voice as needed. The user selects the waiting logic strategy through manual clicking of the waiting logic strategy on the vehicle screen interface or through intelligent voice.
[0039] After the user selection is completed, the user-selected waiting logic strategy is sent to the vehicle scene engine, and the vehicle screen displays that the current vehicle operation scene execution strategy is the waiting logic strategy. When it is received that the at least two vehicle operation scenes are triggered, it is determined whether the vehicle operation scene execution strategy preselected by the user is the waiting logic strategy or the parallel logic strategy. It is determined that the vehicle operation scene execution strategy preselected by the user is the waiting logic strategy, and the at least two vehicle operation scenes are executed according to the waiting logic strategy selected by the user.
[0040] The waiting logic strategy represents that the triggered vehicle operation scene needs to wait for the execution of the previous vehicle operation scene to be completed before execution.
[0041] The execution process of the waiting logic strategy is: determining a trigger state of the at least two vehicle running scenes to obtain a trigger determination result. The trigger determination result includes that the at least two vehicle running scenes are triggered at the same time and that one vehicle running scene is executing. Different trigger results correspond to different preset selection strategies. According to the preset selection strategy corresponding to the trigger determination result, a target vehicle running scene is determined from the at least two vehicle running scenes to be executed, and the vehicle running scenes other than the target vehicle running scene in the at least two vehicle running scenes wait.
[0042] In the above embodiment, at least two vehicle running scenes are triggered, it is determined that the vehicle running scene execution strategy is a waiting logic strategy, and the at least two vehicle running scenes are executed according to the waiting logic strategy. When at least two vehicle running scenes are triggered, the execution efficiency of the vehicle running scene can be improved, and conflicts between vehicle running scenes can be avoided. The execution process of the waiting logic strategy includes: determining a trigger state of the at least two vehicle running scenes to obtain a trigger determination result, and according to the preset selection strategy corresponding to the trigger determination result, a target vehicle running scene is determined from the at least two vehicle running scenes to be executed, and other vehicle running scenes wait. Different trigger determination results correspond to different preset selection strategies, and according to the preset selection strategy corresponding to the trigger determination result, a target vehicle running scene is determined to be executed, so that the determined target vehicle running scene is more accurate.
[0043] In some embodiments, step 102 includes:
[0044] Step 1021, determining a trigger state of the at least two vehicle running scenes.
[0045] Step 1022, in response to determining that the at least two vehicle running scenes are triggered at the same time, determining a target vehicle running scene from the at least two vehicle running scenes according to a first preset selection strategy.
[0046] Step 1023, in response to determining that one vehicle running scene is executing in the at least two vehicle running scenes, determining a target vehicle running scene from the at least two vehicle running scenes according to a second preset selection strategy.
[0047] Step 1024, executing the target vehicle running scene, and the other vehicle running scenes wait.
[0048] In specific implementation, different trigger results correspond to different preset selection strategies, and according to the preset selection strategy corresponding to the trigger determination result, a target vehicle running scene is determined from the at least two vehicle running scenes to be executed.
[0049] The trigger result includes that at least two vehicle running scenes are triggered at the same time and one vehicle running scene is being executed. The at least two vehicle running scenes are triggered at the same time, that is, there is no vehicle running scene being executed at present, and only the triggers of the at least two vehicle running scenes are triggered at the same time. The one vehicle running scene is being executed, that is, there is one vehicle running scene being executed at present after the trigger of the vehicle running scene is triggered, and there is at least one trigger of the vehicle running scene being triggered at the same time.
[0050] Both the above two trigger results indicate that there are at least two vehicle running scenes to be executed, and a target vehicle running scene that meets a corresponding preset selection strategy is determined from the at least two vehicle running scenes to be executed according to a waiting logic strategy, and other vehicle running scenes in the at least two vehicle running scenes except the target vehicle running scene wait.
[0051] When the at least two vehicle running scenes are triggered at the same time, a target vehicle running scene is determined from the at least two vehicle running scenes according to a corresponding preset selection strategy of the at least two vehicle running scenes being triggered at the same time; and when there is one vehicle running scene being executed in the at least two vehicle running scenes, a target vehicle running scene is determined from the at least two vehicle running scenes according to a corresponding preset selection strategy of the one vehicle running scene being executed.
[0052] In the above scheme, different preset selection strategies correspond to different trigger determination results, and a target vehicle running scene is determined for execution according to the preset selection strategy corresponding to the trigger determination result, so that the determined target vehicle running scene is more accurate. The at least two vehicle running scenes except the target vehicle running scene are waiting for execution, which can ensure that the at least two triggered vehicle running scenes are executed in turn according to the waiting logic strategy when the time is appropriate, avoid conflicts between vehicle running scenes, and improve the execution efficiency of the vehicle running scenes.
[0053] In some embodiments, step 1022 includes:
[0054] Step 10221, in response to determining that the at least two vehicle running scenes are triggered at the same time, the at least two vehicle running scenes enter a queue and obtain a queuing time of the at least two vehicle running scenes.
[0055] Step 10222, determining whether the triggers of the at least two vehicle running scenes are consistent.
[0056] In step 10223, in response to determining that the triggers of the at least two vehicle operation scenarios are inconsistent, the queuing times of the at least two vehicle operation scenarios are compared, and the vehicle operation scenario with the longest queuing time among the at least two vehicle operation scenarios is determined as the target vehicle operation scenario.
[0057] In step 10224, in response to determining that the triggers of the at least two vehicle operation scenarios are consistent, the weights of the at least two vehicle operation scenarios are determined, and the vehicle operation scenario with the highest weight among the at least two vehicle operation scenarios is determined as the target vehicle operation scenario.
[0058] In specific implementation, after the trigger of the vehicle operation scenario is triggered, the triggering condition is determined, and when the triggering condition is also met, the vehicle operation scenario enters the queue. When the triggers of the at least two vehicle operation scenarios are triggered at the same time, the at least two vehicle operation scenarios enter the queue, and the target vehicle operation scenario is determined from the at least two vehicle operation scenarios in the queue according to the preset selection strategy corresponding to the simultaneous triggering. The preset selection strategy corresponding to the simultaneous triggering is: determining whether the triggers of the at least two vehicle operation scenarios are consistent, when the triggers of the at least two vehicle operation scenarios are inconsistent, determining the queuing times of the at least two vehicle operation scenarios, and taking the vehicle operation scenario with the longest queuing time among the at least two vehicle operation scenarios as the target vehicle operation scenario; when the triggers of the at least two vehicle operation scenarios are consistent, determining the weights of the at least two vehicle operation scenarios, and taking the vehicle operation scenario with the highest weight among the at least two vehicle operation scenarios as the target vehicle operation scenario.
[0059] In specific implementation, the trigger of the vehicle operation scenario can passively receive a change of a state or continuously monitor a state for a period of time. For example, the trigger obtains information such as a current position, voice content, and a current vehicle speed. After the trigger of the vehicle operation scenario is triggered, it is determined whether the above information meets the preset triggering condition, that is, it is determined whether the current position is consistent with the triggering position, whether the voice content is consistent with the voice triggering condition, and whether the current vehicle speed is consistent with the vehicle speed triggering condition.
[0060] In specific implementation, the process of triggering and executing the vehicle operation scenario is as follows: first, the trigger of the vehicle operation scenario is triggered; second, the triggering condition of the vehicle operation scenario is determined; and finally, when the trigger of the vehicle operation scenario is triggered and the current environment and the vehicle state meet the triggering condition of the vehicle operation scenario, the execution content corresponding to the vehicle operation scenario is executed.
[0061] The queuing time is calculated from the time when the trigger condition is met to the time when the vehicle enters the queue. Different triggers correspond to different trigger conditions. Although the triggers are triggered at the same time, the time for judging the trigger conditions is different due to the different trigger conditions, and thus the time for entering the queue is different. For example, the time for judging each trigger condition is one unit of time. The trigger condition of scenario A is that three conditions are met at the same time, and the trigger condition of scenario B is that five conditions are met at the same time. Although the triggers of scenario A and scenario B are triggered at the same time, the time for judging the trigger condition of scenario A is three units of time, and the time for judging the trigger condition of scenario B is five units of time. Therefore, the time for judging the trigger condition of scenario A is less than that of scenario B, and scenario A enters the queue earlier than scenario B. When the trigger condition of scenario A is that three conditions, i.e., condition a, condition b and condition c, are met at the same time, the time for judging the trigger condition is 0.3 seconds, and scenario A enters the queue at 0.3 seconds. When the trigger condition of scenario B is that five conditions, i.e., condition a, condition b, condition c, condition d and condition e, are met at the same time, the time for judging the trigger condition is 0.5 seconds, and scenario B enters the queue at 0.5 seconds. Therefore, scenario A enters the queue earlier than scenario B.
[0062] When the queuing times of the at least two vehicle operation scenarios are different, the vehicle operation scenario with the longest queuing time among the at least two vehicle operation scenarios is taken as the target vehicle operation scenario, i.e., the vehicle operation scenario that enters the queue first is taken as the target vehicle operation scenario for execution, and the other vehicle operation scenarios continue to queue and wait.
[0063] When the triggers of the at least two vehicle operation scenarios are consistent, the at least two vehicle operation scenarios are triggered at the same time, and the triggers of the at least two scenarios are consistent, i.e., the trigger conditions are the same. Therefore, the time for judging the trigger conditions of the at least two vehicle operation scenarios is the same, and thus the time for entering the queue is also the same. When the queuing times of the at least two vehicle operation scenarios are the same, the weights of the at least two vehicle operation scenarios are compared, the vehicle operation scenario with the highest weight among the at least two vehicle operation scenarios is taken as the target vehicle operation scenario for execution, and the other vehicle operation scenarios continue to queue and wait. The weight can be preset.
[0064] For example, when the triggers of the vehicle running scene A and the vehicle running scene B are triggered at the same time, and the triggers (for example, root triggers) of the vehicle running scene A and the vehicle running scene B are inconsistent, the vehicle running scene with the longest queuing time is selected from the vehicle running scene A and the vehicle running scene B to perform, and the other vehicle running scene continues to queue. Wherein, the vehicle running scene with the longest queuing time is the vehicle running scene that enters the queue first. Wherein, the root trigger refers to a specific trigger that receives a specific trigger condition. For example, when the root trigger is a voice trigger, the voice trigger condition can be identified and judged.
[0065] When the triggers of the vehicle running scene A and the vehicle running scene B are triggered at the same time, and the triggers (for example, root triggers) of the vehicle running scene A and the vehicle running scene B are consistent, the vehicle running scene with the highest weight is selected from the vehicle running scene A and the vehicle running scene B to perform, and the other vehicle running scene continues to queue.
[0066] In the above scheme, when the triggers of the at least two vehicle running scenes are triggered at the same time, it is determined whether the triggers of the at least two vehicle running scenes are consistent, and a target vehicle running scene is determined according to a preset selection strategy corresponding to a determination result. A variety of cases existing when the triggers of the at least two vehicle running scenes are triggered at the same time are provided with corresponding preset selection strategies, so that the corresponding preset selection strategies are more comprehensive, and the target vehicle running scene determined is more accurate.
[0067] In some embodiments, step 1023 comprises:
[0068] Step 10231, in response to determining that there is a vehicle running scene being executed in the at least two vehicle running scenes, at least one vehicle running scene in the at least two vehicle running scenes except the vehicle running scene being executed enters the queue and the queuing time of the at least one vehicle running scene is obtained.
[0069] Step 10232, determining that the execution of the vehicle running scene being executed is completed, and comparing the queuing time of the at least one vehicle running scene with a preset time threshold.
[0070] Step 10233, in response to determining that there is a first vehicle running scene in the at least one vehicle running scene, the queuing time of which is greater than or equal to the preset time threshold, the first vehicle running scene is discarded.
[0071] Step 10234, in response to determining that there is a second vehicle running scene in the at least one vehicle running scene, the queuing time of which is less than the preset time threshold, it is determined whether the trigger of the second vehicle running scene meets a preset condition to determine a target vehicle running scene.
[0072] In implementation, the vehicle operation scenario enters the queue when the trigger condition of the vehicle operation scenario is met. When one of the at least two vehicle operation scenarios is being executed, the at least two vehicle operation scenarios except the one being executed enter the queue, and the target vehicle operation scenario is determined from the at least two vehicle operation scenarios in the queue according to the preset selection strategy corresponding to the one being executed.
[0073] The at least one vehicle operation scenario except the one being executed enters the queue, and the queuing time of the at least one vehicle operation scenario is obtained.
[0074] The vehicle operation scenario with the longest queuing time is determined from the at least one vehicle operation scenario, and the queuing time of the vehicle operation scenario with the longest queuing time is compared with a preset time threshold. When the queuing time is greater than or equal to the time threshold, the vehicle operation scenario with the longest queuing time is abandoned, i.e., is removed from the queue, to avoid the problem that the vehicle operation scenario triggered later cannot enter the queue, and to avoid scenario conflict. The above process is repeated. When the queuing time is less than the time threshold, it is judged whether the trigger of the vehicle operation scenario with the longest queuing time meets the preset selection strategy, and the target vehicle operation scenario is determined.
[0075] The queuing time is calculated from when the vehicle operation scenario enters the queue. The time threshold is preset, for example, the preset time threshold can be 5 minutes.
[0076] The queuing team level is the maximum number of vehicle operation scenarios in the queue, and when the number of triggered vehicle operation scenarios is greater than the queuing team level, the prohibition logic strategy is executed on the triggered vehicle operation scenario. The queuing team level is also preset, for example, the queuing team level can be set to 5.
[0077] In the above scheme, when one of the at least two vehicle operation scenarios is being executed, the queuing time of the vehicle operation scenario in the queue is judged, and the target vehicle operation scenario is determined according to the preset selection strategy corresponding to the determination result. The corresponding preset selection strategy is set for various cases when one of the at least two vehicle operation scenarios is being executed, so that the corresponding preset selection strategy is more comprehensive, and the target vehicle operation scenario determined is more accurate.
[0078] In some embodiments, step 10234 includes:
[0079] Step 10234A, it is judged whether the trigger of the second vehicle operation scenario meets the preset condition.
[0080] Step 10234B, in response to determining that the trigger of the second vehicle operation scenario does not satisfy the preset condition, discarding the second vehicle operation scenario.
[0081] Step 10234C, in response to determining that the trigger of the second vehicle operation scenario satisfies the preset condition, taking the second vehicle operation scenario as the target vehicle operation scenario.
[0082] In a specific implementation, when the queuing time of the second vehicle operation scenario satisfies the time threshold, it is determined whether the trigger of the second vehicle operation scenario satisfies the preset condition. The preset condition is that it is determined that the trigger is triggered and the current environment and vehicle state satisfy the trigger condition of the vehicle operation scenario. When the trigger is triggered and it is determined that the current environment and vehicle state satisfy the trigger condition of the vehicle operation scenario, the execution content corresponding to the vehicle operation scenario is executed.
[0083] For example, when the vehicle operation scenario A is being executed, the trigger of the vehicle operation scenario B is triggered and satisfies the trigger condition, the vehicle operation scenario B enters the queue and obtains the queuing time of the vehicle operation scenario B. When the execution of the vehicle operation scenario A is completed, the queuing time of the vehicle operation scenario B is compared with the preset time threshold (i.e., the time limit). When the queuing time of the vehicle operation scenario B is greater than or equal to the preset time threshold, i.e., the queuing time exceeds the time limit, the vehicle operation scenario B is discarded. When the queuing time of the vehicle operation scenario B is less than the preset time threshold, i.e., the queuing time does not exceed the time limit, it is determined whether the trigger of the vehicle operation scenario B satisfies the preset selection strategy. If the preset selection strategy is satisfied, the vehicle operation scenario B is taken as the target vehicle operation scenario and is executed. If the preset selection strategy is not satisfied, the vehicle operation scenario B is discarded.
[0084] For example, when the vehicle running scene A is being executed, the triggers of the vehicle running scene B, the vehicle running scene C and the vehicle running scene D are triggered and the trigger conditions are met, the vehicle running scene B, the vehicle running scene C and the vehicle running scene D enter the queue and obtain the corresponding queuing time. When the vehicle running scene A is executed, the vehicle running scene B with the longest queuing time (i.e., the first to enter the queue) is determined from the vehicle running scene B, the vehicle running scene C and the vehicle running scene D, and the time threshold and the trigger of the vehicle running scene B are judged. If the vehicle running scene B meets the preset selection strategy corresponding to the time threshold and the trigger, the vehicle running scene B is executed as the target vehicle running scene, and the vehicle running scene C and the vehicle running scene D continue to wait. If the vehicle running scene B does not meet the preset selection strategy corresponding to one of the time threshold and the trigger, the vehicle running scene B is discarded, the vehicle running scene with the longest queuing time is determined from the vehicle running scene C and the vehicle running scene D, and the time threshold and the trigger of the vehicle running scene with the longest queuing time are judged.
[0085] In the above scheme, when the queuing time is less than the time threshold, the trigger is further judged to avoid the situation that the trigger of the determined second vehicle running scene no longer meets the preset condition but is executed as the target vehicle running scene due to the long queuing time. The obtained target vehicle running scene is more accurate, and misjudgment is avoided.
[0086] In some embodiments, the flag that the executing vehicle running scene is executed is completed is that a prompt that the executing vehicle running scene is executed is received, or it is detected that the component corresponding to the executing vehicle running scene disappears.
[0087] In specific implementation, the executing vehicle running scene is executed is completed is that there is a corresponding standard. For example, there is a corresponding script in the vehicle running scene, if the last plot in the script of the executing vehicle running scene has a voice broadcast (e.g., TTS broadcast, Text To Speech) or a component, the component refers to an icon displayed on the desktop related to the vehicle running scene. When the executing vehicle running scene is executed is completed, the corresponding icon disappears. When the TTS broadcast that the executing vehicle running scene is completed or the component corresponding to the executing vehicle running scene disappears, the executing vehicle running scene is executed is completed.
[0088] In addition, after the executing vehicle running scene is executed is completed, a preset time is waited before the target vehicle running scene is executed. For example, the preset time can be 1 minute.
[0089] In the above scheme, according to the TTS broadcast or component, the user can learn in time that the current vehicle running scene execution is completed, and the user experience is improved. Moreover, after the vehicle running scene execution is completed, the target vehicle running scene is executed after waiting for a preset time. If the user finds that the target vehicle running scene is not the vehicle running scene that the user wants to execute, the user can select the vehicle running scene that the user wants to execute in time within the time period, and the user experience is improved.
[0090] In the above embodiment, at least two vehicle running scenes are triggered, and a vehicle running scene execution strategy is determined as a waiting logic strategy. The at least two vehicle running scenes are executed according to the waiting logic strategy. When the at least two vehicle running scenes are triggered, the execution efficiency of the vehicle running scene can be improved, and conflicts between the vehicle running scenes can be avoided. The waiting logic strategy execution process includes: determining a trigger state of the at least two vehicle running scenes to obtain a trigger determination result, determining a target vehicle running scene from the at least two vehicle running scenes according to a preset selection strategy corresponding to the trigger determination result, and executing the target vehicle running scene and waiting for other vehicle running scenes. Different trigger determination results correspond to different preset selection strategies. The target vehicle running scene is determined according to the preset selection strategy corresponding to the trigger determination result, so that the determined target vehicle running scene is more accurate.
[0091] It should be noted that the method of the embodiment of the present disclosure can be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed vehicle running scene, and completed by multiple devices cooperating with each other. In the case of such a distributed vehicle running scene, one of the multiple devices can only execute one or more steps in the method of the embodiment of the present disclosure, and the multiple devices can interact with each other to complete the method.
[0092] It should be noted that some embodiments of the present disclosure have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than the order described above and still achieve desirable results. In addition, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous.
[0093] Based on the same inventive concept, the present disclosure also provides a vehicle running scene processing apparatus corresponding to the method of any of the above embodiments.
[0094] Reference Figure 2 The vehicle running scene processing apparatus includes:
[0095] The receiving module 201 is configured to receive that at least two vehicle operation scenarios are triggered;
[0096] The execution module 202 is configured to determine that the vehicle operation scenario execution strategy is a waiting logic strategy, and the at least two vehicle operation scenarios are executed according to the waiting logic strategy;
[0097] The waiting logic strategy execution process includes:
[0098] The trigger state of the at least two vehicle operation scenarios is determined to obtain a trigger determination result, a target vehicle operation scenario is determined from the at least two vehicle operation scenarios according to a preset selection strategy corresponding to the trigger determination result, and other vehicle operation scenarios are waiting; wherein the other vehicle operation scenarios are vehicle operation scenarios in the at least two vehicle operation scenarios except the target vehicle operation scenario.
[0099] In some embodiments, the execution module 202 includes:
[0100] The trigger state determination unit is configured to determine the trigger state of the at least two vehicle operation scenarios;
[0101] The first target vehicle operation scenario determination unit is configured to determine the target vehicle operation scenario from the at least two vehicle operation scenarios according to a first preset selection strategy in response to determining that the at least two vehicle operation scenarios are triggered at the same time;
[0102] The second target vehicle operation scenario determination unit is configured to determine the target vehicle operation scenario from the at least two vehicle operation scenarios according to a second preset selection strategy in response to determining that one vehicle operation scenario in the at least two vehicle operation scenarios is being executed;
[0103] The target vehicle operation scenario execution unit is configured to execute the target vehicle operation scenario, and the other vehicle operation scenarios are waiting.
[0104] In some embodiments, the first target vehicle operation scenario determination unit includes:
[0105] The queuing time obtaining sub-unit is configured to determine that the at least two vehicle operation scenarios are triggered at the same time, the at least two vehicle operation scenarios enter a queue, and obtain the queuing time of the at least two vehicle operation scenarios;
[0106] The trigger judgment sub-unit is configured to judge whether the triggers of the at least two vehicle operation scenarios are consistent;
[0107] The queuing time determining sub-unit is configured to, in response to determining that the triggers of the at least two vehicle operation scenes are inconsistent, compare the queuing times of the at least two vehicle operation scenes, and determine the vehicle operation scene with the longest queuing time in the at least two vehicle operation scenes as the target vehicle operation scene.
[0108] The weight determining sub-unit is configured to, in response to determining that the triggers of the at least two vehicle operation scenes are consistent, determine the weights of the at least two vehicle operation scenes, and determine the vehicle operation scene with the highest weight in the at least two vehicle operation scenes as the target vehicle operation scene.
[0109] In some embodiments, the second target vehicle operation scene determining unit comprises:
[0110] The queuing time obtaining sub-unit is configured to, in response to determining that one vehicle operation scene in the at least two vehicle operation scenes is being executed, and that at least one vehicle operation scene in the at least two vehicle operation scenes other than the vehicle operation scene being executed is in a queue, obtain the queuing time of the at least one vehicle operation scene;
[0111] The queuing time determining sub-unit is configured to determine that the execution of the vehicle operation scene being executed is completed, and compare the queuing time of the at least one vehicle operation scene with a preset time threshold;
[0112] The first vehicle operation scene processing sub-unit is configured to, in response to determining that there is a first vehicle operation scene in the at least one vehicle operation scene with the queuing time being greater than or equal to the preset time threshold, discard the first vehicle operation scene;
[0113] The second vehicle operation scene processing sub-unit is configured to, in response to determining that there is a second vehicle operation scene in the at least one vehicle operation scene with the queuing time being less than the preset time threshold, determine whether the trigger of the second vehicle operation scene meets a preset condition, and determine a target vehicle operation scene.
[0114] In some embodiments,
[0115] The second vehicle operation scene processing sub-unit is configured to: determine whether the trigger of the second vehicle operation scene meets a preset condition; in response to determining that the trigger of the second vehicle operation scene does not meet the preset condition, discard the second vehicle operation scene; and in response to determining that the trigger of the second vehicle operation scene meets the preset condition, determine the second vehicle operation scene as the target vehicle operation scene.
[0116] In some embodiments, the sign that the vehicle running scene execution is being performed is completed is receiving a prompt that the vehicle running scene execution is being performed is ended, or detecting that a component corresponding to the vehicle running scene execution is disappeared.
[0117] For the convenience of description, the above apparatus is described in various modules in terms of functions. Of course, the functions of the modules can be implemented in one or more software and / or hardware when implementing the present disclosure.
[0118] The apparatus of the above embodiments is used to implement the processing method of the corresponding vehicle running scene in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described here again.
[0119] Based on the same inventive concept, the present disclosure also provides an electronic device corresponding to the method of any of the above embodiments, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the processing method of the vehicle running scene according to any of the above embodiments when executing the program.
[0120] Figure 3 A more specific hardware structure of an electronic device provided by the present embodiment is shown, which can include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040 and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030 and the communication interface 1040 are connected to each other through the bus 1050 for communication within the device.
[0121] The processor 1010 can be implemented in the form of a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit) or one or more integrated circuits, etc., for executing related programs to implement the technical solutions provided by the present embodiment.
[0122] The memory 1020 can be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1020 can store an operating system and other application programs, and when the technical solutions provided by the present embodiment are implemented by software or firmware, the related program codes are stored in the memory 1020 and executed by the processor 1010.
[0123] The input / output interface 1030 is configured to connect an input / output module to realize information input and output. The input / output module can be configured in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. The input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.
[0124] The communication interface 1040 is configured to connect a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired manner (such as a USB (Universal Serial Bus), a network cable, etc.) or a wireless manner (such as a mobile network, WIFI (Wireless Fidelity), Bluetooth, etc.).
[0125] The bus 1050 includes a channel to transmit information between various components (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040) of the device.
[0126] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device can also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device can also only include components necessary for implementing the embodiments of the present disclosure, and does not necessarily include all components shown in the figure.
[0127] The electronic device of the above embodiments is used to implement the processing method of the corresponding vehicle operation scene in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described here.
[0128] Based on the same inventive concept, the disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the processing method of the vehicle operation scene according to any of the above embodiments.
[0129] The computer readable medium of the embodiments can include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. The information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device, or any other non-transmission medium that can be used to store information accessible by a computing device.
[0130] The storage medium of the above embodiments stores computer instructions for causing the computer to execute the processing method of the vehicle running scene as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which are not repeated here.
[0131] Based on the same inventive concept, the present application also provides a vehicle corresponding to the method of any of the above embodiments, comprising the processing device of the vehicle running scene, or the electronic device, or the storage medium of the above embodiments, and the vehicle device implements the processing method of the vehicle running scene as described in any of the above embodiments.
[0132] The vehicle of the above embodiments is used to implement the processing method of the vehicle running scene as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which are not repeated here.
[0133] Those skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the present disclosure (including claims) is limited to these examples; under the idea of the present disclosure, the above embodiments or technical features in different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes of different aspects of the embodiments of the present disclosure as described above. In order to be brief, they are not provided in detail.
[0134] Additionally, to simplify the description and discussion, and so as not to obscure the embodiments of the disclosure with details that are well known to those skilled in the art, some conventional attributes of integrated circuit (IC) chips and other components can or can not be shown in the drawings or discussed below. Furthermore, devices can be shown in block diagram form in order to avoid obscuring the embodiments of the disclosure, and this also acknowledges the fact that the details in regard to how such block devices are implemented are highly dependent on the platform within which an embodiment of the disclosure is being implemented (i.e., such details should be completely evident to those skilled in the art). Where specific details are set forth in order to describe an illustrative embodiment of the disclosure, it will be apparent to one skilled in the art that the embodiment of the disclosure can be practiced without, or with variations of, these specific details. Thus, the description is to be considered as illustrative and not restrictive, and the scope of the disclosure is to be determined not with the assistance of the foregoing description alone.
[0135] While the disclosure has been described in connection with specific embodiments thereof, many alternatives, modifications and variations will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) can use the embodiments discussed.
[0136] Embodiments of the disclosure are intended to cover all such alternatives, modifications and variations as falling within the scope of the appended claims. Accordingly, any omission, modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the disclosure should be included in the protection scope of the disclosure.
Claims
1. A method of processing a vehicle operating scenario, characterized by, The method comprises: receiving that at least two vehicle operation scenes are triggered; determining that a vehicle operation scene execution strategy is a waiting logic strategy, and the at least two vehicle operation scenes are executed according to the waiting logic strategy; the waiting logic strategy execution process comprises: judging trigger states of the at least two vehicle operation scenes to obtain trigger judgment results, determining a target vehicle operation scene from the at least two vehicle operation scenes according to a preset selection strategy corresponding to the trigger judgment results, and executing the target vehicle operation scene and waiting for other vehicle operation scenes; wherein the other vehicle operation scenes are vehicle operation scenes other than the target vehicle operation scene in the at least two vehicle operation scenes; the judging trigger states of the at least two vehicle operation scenes to obtain trigger judgment results, determining a target vehicle operation scene from the at least two vehicle operation scenes according to a preset selection strategy corresponding to the trigger judgment results, and executing the target vehicle operation scene and waiting for other vehicle operation scenes comprises: judging trigger states of the at least two vehicle operation scenes; in response to determining that the at least two vehicle operation scenes are triggered at the same time, determining a target vehicle operation scene from the at least two vehicle operation scenes according to a first preset selection strategy; in response to determining that one vehicle operation scene in the at least two vehicle operation scenes is executing, determining a target vehicle operation scene from the at least two vehicle operation scenes according to a second preset selection strategy; executing the target vehicle operation scene and waiting for the other vehicle operation scenes; the in response to determining that the at least two vehicle operation scenes are triggered at the same time, determining a target vehicle operation scene from the at least two vehicle operation scenes according to a first preset selection strategy comprises: in response to determining that the at least two vehicle operation scenes are triggered at the same time, the at least two vehicle operation scenes enter a queue and obtain queuing times of the at least two vehicle operation scenes; judging whether triggers of the at least two vehicle operation scenes are consistent; in response to determining that the triggers of the at least two vehicle operation scenes are inconsistent, comparing the queuing times of the at least two vehicle operation scenes to determine a vehicle operation scene with the longest queuing time in the at least two vehicle operation scenes as the target vehicle operation scene; in response to determining that the triggers of the at least two vehicle operation scenes are consistent, judging weights of the at least two vehicle operation scenes to determine a vehicle operation scene with the highest weight in the at least two vehicle operation scenes as the target vehicle operation scene; the in response to determining that one vehicle operation scene in the at least two vehicle operation scenes is executing, determining a target vehicle operation scene from the at least two vehicle operation scenes according to a second preset selection strategy comprises: in response to determining that one vehicle operation scene in the at least two vehicle operation scenes is executing, at least one vehicle operation scene other than the executing vehicle operation scene in the at least two vehicle operation scenes enters a queue and obtains queuing times of the at least one vehicle operation scene; determining that the executing vehicle running scene is executed completely, comparing the queuing time of the at least one vehicle running scene with a preset time threshold; in response to determining that there is a first vehicle running scene in the at least one vehicle running scene whose queuing time is greater than or equal to the preset time threshold, discarding the first vehicle running scene; in response to determining that there is a second vehicle running scene in the at least one vehicle running scene whose queuing time is less than the preset time threshold, judging whether a trigger of the second vehicle running scene meets a preset condition to determine a target vehicle running scene.
2. The method of claim 1, wherein, The judging whether the trigger of the second vehicle running scene meets the preset condition to determine the target vehicle running scene comprises: judging whether the trigger of the second vehicle running scene meets the preset condition; in response to determining that the trigger of the second vehicle running scene does not meet the preset condition, discarding the second vehicle running scene; in response to determining that the trigger of the second vehicle running scene meets the preset condition, taking the second vehicle running scene as the target vehicle running scene.
3. The method of claim 1, wherein, The flag that the executing vehicle running scene is executed completely is that a prompt that the executing vehicle running scene is executed completely is received, or it is detected that a component corresponding to the executing vehicle running scene disappears.
4. A processing device of a vehicle operation scenario, characterized by, comprises: a receiving module configured to receive that at least two vehicle running scenes are triggered; an executing module configured to determine that a vehicle running scene execution strategy is a waiting logic strategy, and the at least two vehicle running scenes are executed according to the waiting logic strategy; the waiting logic strategy execution process comprises: judging trigger states of the at least two vehicle running scenes to obtain a trigger judgment result, and determining a target vehicle running scene from the at least two vehicle running scenes according to a preset selection strategy corresponding to the trigger judgment result to execute, and other vehicle running scenes are waiting; wherein the other vehicle running scenes are vehicle running scenes other than the target vehicle running scene in the at least two vehicle running scenes; the executing module comprises: a trigger state judging unit configured to judge trigger states of the at least two vehicle running scenes; a first target vehicle running scene determining unit configured to determine a target vehicle running scene from the at least two vehicle running scenes according to a first preset selection strategy in response to determining that the at least two vehicle running scenes are triggered at the same time; a second target vehicle running scene determining unit configured to determine a target vehicle running scene from the at least two vehicle running scenes according to a second preset selection strategy in response to determining that there is one vehicle running scene being executed in the at least two vehicle running scenes; a target vehicle running scene executing unit configured to execute the target vehicle running scene, and the other vehicle running scenes are waiting; the first target vehicle running scene determining unit comprises: The queuing time obtaining sub-unit is configured to, in response to determining that the at least two vehicle operation scenes are triggered at the same time, make the at least two vehicle operation scenes enter a queue and obtain queuing times of the at least two vehicle operation scenes; The trigger judging sub-unit is configured to judge whether triggers of the at least two vehicle operation scenes are consistent; The queuing time determining sub-unit is configured to, in response to determining that the triggers of the at least two vehicle operation scenes are inconsistent, compare queuing times of the at least two vehicle operation scenes, and determine a vehicle operation scene with the longest queuing time among the at least two vehicle operation scenes as the target vehicle operation scene; The weight determining sub-unit is configured to, in response to determining that the triggers of the at least two vehicle operation scenes are consistent, judge weights of the at least two vehicle operation scenes, and determine a vehicle operation scene with the highest weight among the at least two vehicle operation scenes as the target vehicle operation scene; The second target vehicle operation scene determining unit comprises: The queuing time obtaining sub-unit is configured to, in response to determining that one vehicle operation scene among the at least two vehicle operation scenes is being executed, make at least one vehicle operation scene among the at least two vehicle operation scenes, except the vehicle operation scene being executed, enter a queue and obtain queuing times of the at least one vehicle operation scene; The queuing time determining sub-unit is configured to determine that the vehicle operation scene being executed is executed, compare the queuing times of the at least one vehicle operation scene with a preset time threshold, and determine a first vehicle operation scene with a queuing time greater than or equal to the preset time threshold among the at least one vehicle operation scene; The first vehicle operation scene processing sub-unit is configured to, in response to determining that the first vehicle operation scene exists, discard the first vehicle operation scene. The second vehicle operation scene processing sub-unit is configured to, in response to determining that a second vehicle operation scene with a queuing time less than the preset time threshold exists among the at least one vehicle operation scene, judge whether a trigger of the second vehicle operation scene satisfies a preset condition, and determine a target vehicle operation scene.
5. An electronic device, comprising: The non-transitory computer readable storage medium stores computer instructions for causing a computer to execute the method of any one of claims 1 to 3.
6. A non-transitory computer-readable storage medium, comprising: The non-transitory computer readable storage medium stores computer instructions for causing a computer to execute the method of any one of claims 1 to 3.
7. A vehicle characterized by comprising: The vehicle operation scene processing apparatus of claim 4 or the electronic device of claim 5 or the storage medium of claim 6.
Citation Information
Patent Citations
VPA control method and device, equipment, storage medium and program product
CN114153312A