Interaction control method and device, vehicle-mounted equipment, vehicle and storage medium

By monitoring and processing the execution status information of control instructions, the problems of command conflicts and repetition are solved, and the user interaction experience and device operation efficiency are improved.

CN119987618APending Publication Date: 2025-05-13SHANGHAI JIDU AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311502676.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the case where the processor receives multiple control instructions, it may cause repeated or conflicts of instructions, resulting in poor user interaction experience and increased device operation pressure.

Method used

By receiving the first control instructions and triggering their response actions, monitoring the execution status information of the second control instructions, determining the processing mode of the first and second control instructions, and then executing or ignoring these instructions to avoid conflicts and repeated execution.

Benefits of technology

Effective deduplication instructions to avoid errors or repeated execution, improve user interaction experience, and reduce device operation pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987618A_ABST
    Figure CN119987618A_ABST
Patent Text Reader

Abstract

The invention provides an interaction control method and device, vehicle-mounted equipment, a vehicle and a storage medium, and the method comprises the steps: receiving a first control instruction for a target function; triggering a response action of the first control instruction according to the first control instruction; when the first monitoring condition is met, monitoring execution state information of the second control instruction; the second control instruction is a control instruction having an instruction conflict with the first control instruction; the second control instruction is received before the first control instruction; based on the execution state information of the second control instruction, determining a first processing mode of the first control instruction and a second processing mode of the second control instruction; and executing the first control instruction and / or the second control instruction based on the first processing mode and the second processing mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of human-computer interaction technology, and in particular to an interactive control method, device, vehicle-mounted equipment, vehicle, and storage medium. Background Art

[0002] In some current human-computer interaction scenarios, the processor receives control instructions triggered by the user, and then sends control instructions to the execution device one by one. The execution device performs the corresponding action according to the control instruction, and returns the execution result to the processor after the execution is completed. At the same time, the processor needs to provide feedback to the user on the display device according to the user's trigger instruction. However, in actual application scenarios, especially in scenarios where instructions are processed frequently, the processor may receive a new control instruction before an instruction is executed on the target device. If it is still executed one by one, it is easy to cause instruction duplication or instruction conflict problems. There will also be problems such as hysteresis and slow response in the interactive experience, resulting in a poor user experience. Summary of the invention

[0003] The embodiments of the present disclosure at least provide an interactive control method, device, vehicle-mounted equipment, vehicle and storage medium.

[0004] In a first aspect, an embodiment of the present disclosure provides an interactive control method, comprising: receiving a first control instruction for a target function; triggering a response action of the first control instruction according to the first control instruction; monitoring execution status information of a second control instruction when a first monitoring condition is met; the second control instruction is a control instruction in which there is an instruction conflict with the first control instruction; the second control instruction is received before the first control instruction; based on the execution status information of the second control instruction, determining a first processing method for the first control instruction and a second processing method for the second control instruction; and executing the first control instruction and / or the second control instruction based on the first processing method and the second processing method.

[0005] In this way, when the first control instruction for the target function is received, feedback is given to the user by triggering a response action of the first control instruction, so that the user can understand the effect of triggering the control instruction.

[0006] At the same time, it is determined whether there is a second control instruction that conflicts with the first control instruction, and different processing methods are determined according to the execution status information of the second control instruction. In this way, some control instructions with command conflicts can be deduplicated to avoid erroneous execution or repeated execution, which effectively reduces the operating pressure of the device while improving the user's interactive experience.

[0007] In an optional implementation, based on the execution status information of the second control instruction, a first processing method for the first control instruction and a second processing method for the second control instruction are determined, including: when the execution status information of the second control instruction indicates that it has not been issued, the first processing method for the first control instruction includes: execution or pending execution; the second processing method for the second control instruction includes: ignore; when the execution status information of the second control instruction indicates that it has been issued but not completely executed, the first processing method for the first control instruction includes: execution or ignore; the second processing method for the second control instruction includes: stop execution and ignore.

[0008] In this way, by determining the two processing methods of the first control instruction and the second control instruction through the execution status information of the second control instruction, it is possible to effectively deduplicate instructions and facilitate the timely issuance of the first control instruction to the target device, thereby enhancing the user's perception of instruction switching and improving the user's interactive experience.

[0009] In an optional embodiment, when the execution status information of the second control instruction is issued but not executed, the method also includes: sending a stop signal to the target device for stopping the execution of the second control instruction; in response to receiving a feedback signal from the target device for the stop signal, determining whether the current state of the target device matches the target execution status information of the first control instruction; in response to the current state of the target device matching the target execution status information of the first control instruction, ignoring the first control instruction; in response to the current state of the target device not matching the target execution status information of the first control instruction, executing the first control instruction.

[0010] In this way, by comparing the current state of the target device with the target execution state information of the first control instruction, the first processing mode of the first control instruction can be determined, thereby further reducing the number of instruction execution times of the target device.

[0011] In an optional implementation, it also includes: the second control instruction is a control instruction that has an instruction conflict with the first control instruction, including: the second control instruction has the same instruction content as the first control instruction, and the method also includes: determining whether there is a second control instruction with the same instruction content as the first control instruction; in response to the existence of the second control instruction, performing an ignore operation on the first control instruction.

[0012] In this way, the first control instruction having the same instruction content as the second control instruction can be ignored, and when the control instructions are repeated, the repeated control instructions are deleted.

[0013] In an optional embodiment, the response action of triggering the first control instruction according to the first control instruction includes: in response to receiving the first control instruction, stopping the response screen for executing the second control instruction displayed on the display component, and displaying the response screen for executing the first control instruction.

[0014] In an optional implementation, the following method is used to determine the second control instruction that has an instruction conflict with the first control instruction: determine the instruction content of the second control instruction; compare the instruction content of the second control instruction with the instruction content of the first control instruction; in response to the fact that the instruction content corresponding to any of the second control instructions that have not been issued is different from the instruction content of the first control instruction, or there is any of the second control instructions that have been issued but not fully executed, determine the second control instruction as the second control instruction that has an instruction conflict with the first control instruction.

[0015] In an optional embodiment, the method also includes: in response to receiving a third control instruction; the third control instruction is a control instruction received after receiving the first control instruction and within the instruction window period; treating the third control instruction as a new first control instruction, and treating the first control instruction as a second control instruction, and returning to the step of monitoring the execution status information of the second control instruction when the first monitoring condition is met.

[0016] In a second aspect, an optional implementation of the present disclosure further provides an interactive control device, including:

[0017] A receiving module, configured to receive a first control instruction for a target function;

[0018] A triggering module, configured to trigger a response action of the first control instruction according to the first control instruction;

[0019] A monitoring module, configured to monitor execution status information of a second control instruction when a first monitoring condition is met; the second control instruction is a control instruction that conflicts with the first control instruction; the second control instruction is received before the first control instruction;

[0020] a determination module, configured to determine a first processing method for the first control instruction and a second processing method for the second control instruction based on the execution state information of the second control instruction;

[0021] An execution module is used to execute the first control instruction and / or the second control instruction based on the first processing method and the second processing method.

[0022] In an optional embodiment, when the determination module determines the first processing method for the first control instruction and the second processing method for the second control instruction based on the execution status information of the second control instruction, it is used to: when the execution status information of the second control instruction indicates that it has not been issued, the first processing method for the first control instruction includes: execution or pending execution; the second processing method for the second control instruction includes: ignore; when the execution status information of the second control instruction indicates that it has been issued but not completely executed, the first processing method for the first control instruction includes: execution or ignore; the second processing method for the second control instruction includes: stop execution and ignore.

[0023] In an optional embodiment, when the execution status information of the second control instruction is issued but not completely executed, the determination module is used to: send a stop signal to the target device for stopping the execution of the second control instruction; in response to receiving a feedback signal from the target device for the stop signal, determine whether the current state of the target device matches the target execution status information of the first control instruction; in response to the current state of the target device matching the target execution status information of the first control instruction, ignore the first control instruction; in response to the current state of the target device not matching the target execution status information of the first control instruction, execute the first control instruction.

[0024] In an optional implementation, the execution module is further used to: determine whether there is a second control instruction having the same instruction content as the first control instruction; and in response to the existence of the second control instruction, perform an ignore operation on the first control instruction.

[0025] In an optional embodiment, when the trigger module triggers a response action to the first control instruction according to the first control instruction, it is used to: in response to receiving the first control instruction, stop displaying a response screen for executing the second control instruction on the display component, and display a response screen for executing the first control instruction.

[0026] In an optional implementation, the determination module is also used to: compare the instruction content of the second control instruction with the instruction content of the first control instruction; in response to the instruction content corresponding to any of the second control instructions that have not been issued being different from the instruction content of the first control instruction, or the existence of any of the second control instructions that have been issued but not fully executed, determine the second control instruction as a second control instruction that has an instruction conflict with the first control instruction.

[0027] In an optional embodiment, the device also includes a loop module, which is used to: respond to receiving a third control instruction; the third control instruction is a control instruction received after receiving the first control instruction and within the instruction window period; regard the third control instruction as a new first control instruction, and regard the first control instruction as a second control instruction, and return to the step of monitoring the execution status information of the second control instruction when the first monitoring condition is met.

[0028] In a third aspect, an embodiment of the present disclosure further provides a vehicle-mounted device, which includes the first aspect, or any possible interactive control method in the first aspect.

[0029] In a fourth aspect, an embodiment of the present disclosure further provides a vehicle, comprising the interactive control device provided in the second aspect, or the vehicle-mounted equipment provided in the third aspect.

[0030] In a fifth aspect, an optional implementation of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run, it executes the steps performed by the above-mentioned first aspect, or any possible interactive control method in the first aspect, or the interactive control device provided in the above-mentioned second aspect, or the vehicle-mounted device provided in the third aspect.

[0031] For a description of the effects of the above-mentioned interactive control device, vehicle and computer program-readable storage medium, please refer to the description of the above-mentioned interactive control method, which will not be repeated here.

[0032] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present disclosure.

[0033] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A flowchart of an interactive control method provided by some embodiments of the present disclosure is shown;

[0035] Figure 2 A structural example diagram showing an interactive control method provided by some embodiments of the present disclosure;

[0036] Figure 3a One of the scene example diagrams of the interactive control method provided by some embodiments of the present disclosure is shown;

[0037] Figure 3b A second scene example diagram showing the interactive control method provided in some embodiments of the present disclosure;

[0038] Figure 3c A third example diagram of a scenario of an interactive control method provided by some embodiments of the present disclosure is shown;

[0039] Figure 4 A schematic diagram of the structure of an interactive control device provided in some embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure more clear, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure.

[0041] As cars develop towards intelligence, more and more functions can be realized through the car system. The processor of the car system generates control instructions by processing the user's trigger operation and sends them to the corresponding electronic control unit (ECU). The ECU generates a control signal to control the target device action. For example, in an interactive scenario of adjusting the window opening, the user adjusts the window opening by voice or clicking on the central control screen. The processor generates a control instruction based on the user's trigger operation and sends it to the ECU that controls the window lifting motor. The ECU generates a control signal to the lifting motor based on the control instruction for the window opening in the control instruction, and then adjusts the window to the target opening.

[0042] However, when the processor generates multiple control instructions in response to the user's trigger, it is usually necessary to send the control instructions to the target device one by one. Due to the processing speed of the target device and the instruction transmission time between the device and the processor, the control instructions will be backlogged in the processor waiting to be sent. This will increase the number of times the device processes instructions, thereby increasing the operating pressure or causing device operation errors. In some scenarios, receiving new control instructions will make the previously received instructions unnecessary to execute. At the same time, the reception of each instruction needs to give the user feedback in a timely manner to meet the user's interactive experience. Therefore, there is an urgent need for an instruction deduplication solution that can give users timely feedback while deleting control instructions with instruction conflicts and reducing the number of times the device processes instructions.

[0043] Based on the above research, the present disclosure provides an interactive control method, which feeds back to the user a response action of triggering a first control instruction, so that the user can understand the effect of triggering the control instruction.

[0044] At the same time, it is determined whether there is a second control instruction that conflicts with the first control instruction, and different processing methods are determined according to the execution status information of the second control instruction. In this way, some control instructions with command conflicts can be deduplicated to avoid erroneous execution or repeated execution, which effectively reduces the operating pressure of the device while improving the user's interactive experience.

[0045] The solutions described in this specification and in the examples, if they involve the processing of personal information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0046] The interactive control method provided by the embodiment of the present disclosure is described below.

[0047] See also Figure 1 FIG. 1 is a flowchart of an interactive control method provided by an embodiment of the present disclosure, wherein the interactive control method includes S101 to S105, wherein:

[0048] S101: Receive a first control instruction for a target function.

[0049] S102: trigger a response action of the first control instruction according to the first control instruction.

[0050] Here, the response action may be to display the execution status of the first control instruction through a screen, voice, light, etc. The target function may be air conditioning temperature adjustment, window opening adjustment, seat angle adjustment, etc. that can be realized on the vehicle.

[0051] Exemplarily, taking the display of the execution status of the first control instruction through the screen as an example, after receiving the first control instruction for the target function, the execution status of the instruction is displayed on the central control screen of the vehicle. For example, the user can view the air-conditioning temperature, window opening, door switch, seat ventilation and heating level and other response screens through these display screens.

[0052] In some possible embodiments provided by the present disclosure, the response action includes at least one of the following: displaying a response picture on a display component, playing a response audio on an audio component, and displaying a response light effect on an indication component.

[0053] The triggering of the response action of the first control instruction according to the first control instruction includes: in response to receiving the first control instruction, stopping the response screen for executing the second control instruction displayed on the display component, and displaying the response screen for executing the first control instruction.

[0054] Exemplarily, the first control instruction is represented as the currently received control instruction, or as the control instruction generated by the user's most recent trigger operation. After receiving the first control instruction, a response screen is displayed on the display screen according to the first control instruction. For example, taking the target device as a vehicle air conditioner, when the user adjusts the air conditioner temperature on the vehicle's central control screen, multiple continuous control instructions will be triggered. When the electronic control unit receives these control instructions, it will display a response screen corresponding to each control instruction on the display screen, for example, a temperature control progress bar is displayed on the central control screen; the user can select the temperature and direction of the air conditioner by dragging the progress bar. If the progress bar is dragged multiple times in a short period of time, the central control screen will respond to the user's dragging, and the control progress bar will change.

[0055] In addition, the speaker included in the audio component, the indicator light included in the indication component, etc. can also generate a response action in response to the user's triggering operation, which will not be elaborated here.

[0056] Following the above S101 or S102, after receiving the first control instruction for the target function, or after triggering a response action of the first control instruction according to the first control instruction, the method provided by the present disclosure further includes the following steps.

[0057] S103. When the first monitoring condition is met, monitor the execution status information of a second control instruction; the second control instruction is a control instruction that conflicts with the first control instruction; and the second control instruction is received before the first control instruction.

[0058] Here, the first monitoring condition is expressed as monitoring the second control instruction within a certain time window, that is, monitoring the effective time of the execution status information of the second control instruction. After receiving the first control instruction, the instruction reception time can be determined according to the first instruction reception time and the second instruction reception time. If the instruction reception time is greater than the effective time, the instruction execution status information of the detected second control instruction is invalid. Or the instruction execution status information of the second control instruction cannot be detected.

[0059] The second control instruction may be a control instruction received before the first control instruction, or may be a control instruction generated by a historical trigger operation of a user; the second control instruction has triggered a response action.

[0060] For example, if multiple control instructions are received in a short period of time, the control instructions are stored in an instruction cache. They can be stored in the instruction cache in order of the reception time of each of the multiple second control instructions, and the electronic control unit then reads the control instructions from the instruction cache in sequence for execution.

[0061] In some possible implementations of the present disclosure, the following steps S21 to S23 are used to determine a second control instruction that conflicts with the first control instruction:

[0062] S21. Determine the instruction content of the second control instruction.

[0063] Here, the instruction content includes information such as the movement amplitude, angle, and degree of the target device controlled by the instruction, which is determined according to the type of the target device. For example, if the target device is a lifting motor in a window lifting system, the instruction content may include the lifting amplitude of the window.

[0064] In a specific embodiment, when the user adjusts the window lifting range through the display screen, a variety of lifting opening trigger controls can be provided on the display screen, such as full open, full closed, half open, 30% open, 70% open, etc. The user generates a control instruction for controlling the window lifting range by clicking the trigger control. The window lifting opening that the user wants to control can also be determined by the trigger duration.

[0065] S22: Compare the instruction content of the second control instruction with the instruction content of the first control instruction.

[0066] S23. In response to the fact that the instruction content corresponding to any of the second control instructions that have not been issued is different from the instruction content of the first control instruction, or there is any of the second control instructions that have been issued but not fully executed, determine the second control instruction as a second control instruction that has an instruction conflict with the first control instruction.

[0067] Exemplarily, the instruction content of the first control instruction is read and compared with the instruction content of the second control instruction. For example, if the instruction content of the second control instruction is to control the window to drop to 30%, and the instruction content of the first control instruction is to control the window to drop to 100%, then it can be considered that there is an instruction conflict between the second control instruction and the first control instruction. For another example, if the instruction content of the second control instruction is to control the vehicle suspension system to drop to 50%, and the instruction content of the first control instruction is to control the vehicle suspension system to rise to 100%, then it can be considered that there is an instruction conflict between the second control instruction and the first control instruction.

[0068] In another possible implementation, the instructions may be encoded according to different instruction contents, and the encoding does not mark the receiving time, but is only related to the movement amplitude, angle, and degree of the control target device. When comparing, if the instruction encoding of the second control instruction is different from that of the first control instruction, it is considered that there is an instruction conflict between the second control instruction and the first control instruction.

[0069] Following the above S103, after determining that there is a second control instruction that conflicts with the first control instruction, the method provided by the present disclosure further includes the following steps.

[0070] S104: Determine a first processing method for the first control instruction and a second processing method for the second control instruction based on the execution status information of the second control instruction.

[0071] The execution status information of the second control instruction includes that the second control instruction has been issued but not completely executed, or has not been issued. Different first processing methods and second processing methods are determined according to different execution status information.

[0072] Exemplarily, the second control instruction is stored in the instruction cache, and there are two types of execution status information, one is the issued status, and the other is the unissued status. For the issued status, after the control instruction is issued, the control instruction is marked as issued in the instruction cache. Subsequently, when the target device completes executing the control instruction, it sends a signal indicating that the instruction is executed. After receiving the signal, the instruction cache deletes the control instruction.

[0073] In another example, two instruction buffers can be set up, instruction buffer A is used to store control instructions that have not been issued, and instruction buffer B is used to store control instructions that have been issued but not fully executed. When a control instruction is issued, the control instruction is read from instruction buffer A and stored in instruction buffer B. When the instruction is executed, the control instruction in instruction buffer B is deleted.

[0074] For the unissued state, the control instruction is marked as unissued in the electronic control unit, waiting for reading and execution, or an ignored operation is performed.

[0075] In some possible implementations provided by the present disclosure, based on the execution state information of the second control instruction, a first processing mode for the first control instruction and a second processing mode for the second control instruction are determined, including the following two modes M1 and M2:

[0076] M1. When the execution status information of the second control instruction indicates that the second control instruction has not been issued, a first processing method for the first control instruction includes: execution or pending execution; and a second processing method for the second control instruction includes: ignoring.

[0077] Here, the first processing method includes the pending execution, which means storing the first control instruction in the instruction execution queue, waiting for the electronic control unit to read it; the second processing method includes the ignoring, which means deleting the second control instruction or marking the second control instruction, and skipping the marked second control instruction when reading the control instruction for execution.

[0078] M2. When the execution status information of the second control instruction indicates that the second control instruction has been issued but not completely executed, a first processing method for the first control instruction includes: executing or ignoring; a second processing method for the second control instruction includes: stopping execution and ignoring.

[0079] Here, the first processing method includes execution or ignoring, and there is a specific judgment method in the following example, which will not be repeated here.

[0080] Exemplarily, if the second control instruction has been issued, but the signal sent by the target device indicating that the control instruction has been executed has not been received, the control instruction is considered to be in a state of having been issued but not being executed. For the execution status information, the electronic control unit sends a stop signal to the target device, and the target device stops the action after receiving the stop signal. After the target device stops the action, the execution result is sent to the electronic control unit, and the electronic control unit deletes the second control instruction after receiving the execution result.

[0081] In some possible implementations provided in the present disclosure, when the execution status information of the second control instruction is issued but not completely executed, it includes: sending a stop signal to the target device for stopping the execution of the second control instruction; in response to receiving a feedback signal from the target device for the stop signal, determining whether the current state of the target device matches the target execution status information of the first control instruction; in response to the current state of the target device matching the target execution status information of the first control instruction, ignoring the first control instruction; in response to the current state of the target device not matching the target execution status information of the first control instruction, executing the first control instruction.

[0082] For example, the target device is a control device for controlling the lifting motor in the window lifting system. After receiving the control instruction 1, the control device controls the lifting motor to start executing the action. For example, the instruction content of the control instruction 1 is to control the window to open by 50%. When the lifting motor executes the action indicated by the control instruction 1, the electronic control unit receives the control instruction 2. The instruction content of the control instruction 2 is to control the window to open by 20%. The electronic control unit determines that there is a command conflict between the control instruction 1 and the control instruction 2, and the control instruction 1 is in a state of being issued but not executed. Based on the current state, the electronic control unit sends a stop signal to the control device. The control device receives the stop signal and controls the lifting motor to stop the action. A feedback signal including the current state of the window is generated and sent to the electronic control unit. For example, the feedback signal indicates that the window has been opened by 20%. The electronic control unit compares the feedback signal with the target execution state information of the first control instruction and the current state of the window, determines that the current state of the target device matches the target execution state information of the first control instruction, and deletes the control instruction 2.

[0083] In another possible example, if the feedback signal indicates that the window is already open by 30%, the electronic control unit compares the feedback signal and the target execution state information of the first control instruction with the current state of the window, determines that the current state of the target device does not match the target execution state information of the first control instruction, and sends control instruction 2 to the control device. After receiving control instruction 2, the control device executes the corresponding action.

[0084] In addition, in some possible implementations provided by the present disclosure, the second control instruction is a control instruction that has an instruction conflict with the first control instruction, including: the second control instruction has the same instruction content as the first control instruction, and the method further includes: determining whether there is a second control instruction with the same instruction content as the first control instruction; in response to the existence of the second control instruction, performing an ignore operation on the first control instruction.

[0085] For example, if the second control instruction has a command content of controlling the window to open by 30%, and if the command content of the first control instruction is also controlling the window to open by 30%, then the second control instruction is considered to be the second control instruction. Similarly, the above example can also be used to encode the control instruction according to the control content of the control instruction, so as to determine whether the instruction content is the same according to the encoding, which will not be repeated here.

[0086] After the second control instruction exists, the following two modes, M3 and M4, are included.

[0087] M3. In response to the existence of the second control instruction, ignore the first control instruction.

[0088] Exemplarily, the control instruction is stored in the instruction buffer, and when the first control instruction is received, the instruction content of the first control instruction is compared with the instruction content of the control instruction in the instruction buffer. If the instruction content in the instruction buffer is the same as the first control instruction, the first control instruction is not stored in the instruction buffer. Alternatively, the received first control instruction is stored in the instruction buffer, and then the instruction content of the first control instruction is compared with the instruction content of the second control instruction in the instruction buffer. When it is determined that there is a second control instruction with the same instruction content as the first control instruction in the instruction buffer, the first control instruction in the instruction buffer is deleted.

[0089] M4. In response to the existence of the second control instruction, determine the execution status information of the second control instruction; in response to the execution status information of the second control instruction being not issued, perform a deletion operation on the second control instruction; in response to the execution status information of the second control instruction being issued but not completely executed, perform a deletion operation on the first control instruction.

[0090] Exemplarily, the execution status information of the second control instruction in the instruction cache is determined. If the execution status information of the second control instruction in the instruction cache is not issued, the second control instruction can be deleted. If the execution status information of the second control instruction is issued but not executed, the first control instruction can be deleted.

[0091] In another example, if there are two instruction caches as in the above example, the execution status information of the second control instruction can be determined based on whether the second control instruction is stored in different instruction caches. If the second control instruction is stored in instruction cache A, that is, in an instruction cache that stores the execution status information as not being issued, you can choose to delete the first control instruction or delete any one of the second control instructions. If the second control instruction is stored in instruction cache B, that is, in an instruction cache that stores the execution status information as having been issued but not yet executed, delete the first control instruction.

[0092] Following the above S104, after determining the first processing method for the first control instruction and the second processing method for the second control instruction, the method provided by the present disclosure further includes the following steps.

[0093] S105: Execute the first control instruction and / or the second control instruction based on the first processing method and the second processing method.

[0094] Exemplarily, when a condition for issuing a control instruction is met, the control instruction is issued to the target device, and the control device performs a corresponding action.

[0095] Among them, the sending condition may be, for example, that no new control instructions for the target device are received within a preset time. The preset time here can be set according to the user's perception and the deduplication effect. If the user needs to be imperceptible to the delay, the preset time needs to be set shorter. If a better deduplication effect is required, the preset time needs to be set longer. The specific setting is based on actual needs.

[0096] Exemplarily, when issuing a control instruction, a preset time period is waited for, and if no new control instruction for the target device is received within the preset time period, the corresponding control instruction is issued.

[0097] In a possible implementation manner, a control instruction with delay information may also be directly sent to the target device, and the target device executes the action of the control instruction after delaying for a preset time according to the delay information.

[0098] In some possible implementations provided by the present disclosure, the method also includes: in response to receiving a third control instruction; the third control instruction is a control instruction received after receiving the first control instruction and within the instruction window period; treating the third control instruction as a new first control instruction, and treating the first control instruction as a second control instruction, and returning to the step of monitoring the execution status information of the second control instruction when the first monitoring condition is met.

[0099] Here, the third control instruction is a new control instruction received again after the electronic control unit receives the first control instruction. At this time, the first control instruction is regarded as the second control instruction, and the third control instruction is regarded as the new first control instruction. The steps in the above example are executed according to the new first control instruction.

[0100] Also, see Figure 2 The structure example diagram of an interactive control method shown in the figure, the interactive control device is applied to a vehicle, wherein the interactive control device includes an electronic control unit 11 and an instruction buffer 12; the vehicle includes a target device 13 for controlling the lifting of the window, and a central control screen 14, the processor establishes a connection relationship with the target device 13 and the central control screen 14, the user sends a first control instruction to the electronic control unit 11 by triggering the central control screen 14, and the electronic control unit 11 controls the central control screen 14 to display a response screen according to the first control instruction; at the same time, the electronic control unit 11 determines whether there is a second control instruction in the instruction buffer that has a conflict with the first control instruction or has the same instruction content and has not been executed. And when the conditions for issuing the first control instruction are met, the first control instruction is issued to the target device 13. Wherein, determining whether there is a second control instruction that conflicts with the first control instruction and has not been executed includes: comparing the instruction content of the first control instruction with the instruction content of the second control instruction in the instruction buffer 12, if the instruction content is different, deleting the second control instruction, storing the first control instruction in the instruction buffer 12, and if the instruction content is the same, not storing the first control instruction in the instruction buffer 12. The electronic control unit 11 reads the control instruction in the instruction buffer 12, compares the target state of the control target device 13 indicated by the control instruction with the current state of the target device 13, and if the current state of the target device 13 is different from the target state, sends the control instruction to the target device 13. If the current state of the target device 13 is the same as the target state, the control instruction is not sent.

[0101] Specifically, the central control screen 14 responds to the user's first control (opening the window 100%), generates a first control instruction, and sends the first control instruction to the target device 13 that controls the window lifting motor, and the target device 13 controls the window movement. During the process of the target device 13 controlling the window movement, within 0.3s (preset time) of the first control, the user's second control (opening the window 50%) is received, and a second control instruction (new first control instruction) is generated. First, the second control instruction is stored in the instruction buffer 12, and a stop signal is sent to the electronic control unit 11, and the electronic control unit 11 controls the lifting motor to stop the action, so that the window stops moving; at the same time, the electronic control unit 11 will detect whether the current state of the window is consistent with the window target state indicated by the second control instruction; if consistent, the second control instruction will not be sent; if inconsistent, the second control instruction will be sent to the target device 13 again to control the window opening degree to be adjusted to 50%.

[0102] For example, see Figure 3a In one of the scenario example diagrams of the interactive control method, in response to the user's first voice control, a voice instruction generated according to the user's first voice control is displayed on the central control screen 14: "Please lower all the main driving windows". The processor displays a display screen corresponding to the voice instruction on the central control screen 14 according to the voice instruction, and generates a first control instruction to control the window action.

[0103] When the window lift motor is controlled to execute the first control command to control the window to be lowered to 60%, when the voice command generated by the user's second voice control is received, refer to Figure 3b In the second example of a scenario of the interactive control method, the user's second voice control generates a voice command: "Please open the main driving window halfway". The processor displays the display screen corresponding to the voice command on the central control screen 14 according to the voice command, and generates a second control command, and stores the second control command in the command buffer 12. The electronic control unit 11 detects whether the current state of the window is consistent with the target state of the window indicated by the second control command.

[0104] If the detected window status is inconsistent with the target window status, refer to Figure 3c In the third scene example diagram of an interactive control method shown in FIG. 1 , the electronic control unit detects that the current state of the window has dropped to 60%, which is inconsistent with the target window state of 50% open indicated by the second control instruction. The execution screen of the second control instruction is displayed on the central control screen 14, and the second control instruction is sent to the target device 13, so that the target device 13 controls the movement of the lifting motor to adjust the window to 50%.

[0105] In addition, the interactive control device provided by the present invention can also be used in application scenarios such as smart homes. The target device can be a device that controls air conditioners, doors and windows, refrigerators, lights, etc. to perform corresponding actions, and executes the steps in the above examples, which will not be elaborated here.

[0106] The description of the processing flow of each component in the interactive control method, and the interaction flow between each component, does not mean that a strict processing flow and interaction flow will constitute any limitation on the implementation process. The processing flow and interaction flow of each component should be determined by its function and possible internal logic.

[0107] Based on the same inventive concept, an interactive control device corresponding to the interactive control method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned interactive control method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0108] Reference Figure 4 FIG. 4 is a schematic diagram of the structure of an interactive control device provided by an embodiment of the present disclosure, wherein the device includes a receiving module 41, a triggering module 42, a monitoring module 43, a determining module 44, and an executing module 45, wherein:

[0109] A receiving module 41, configured to receive a first control instruction for a target function;

[0110] A trigger module 42, configured to trigger a response action of the first control instruction according to the first control instruction;

[0111] The monitoring module 43 is used to monitor the execution status information of the second control instruction when the first monitoring condition is met; the second control instruction is a control instruction that conflicts with the first control instruction; the second control instruction is received before the first control instruction;

[0112] A determination module 44, configured to determine a first processing method for the first control instruction and a second processing method for the second control instruction based on the execution state information of the second control instruction;

[0113] The execution module 45 is used to execute the first control instruction and / or the second control instruction based on the first processing mode and the second processing mode.

[0114] In an optional embodiment, when the determination module 44 determines the first processing method for the first control instruction and the second processing method for the second control instruction based on the execution status information of the second control instruction, it is used to: when the execution status information of the second control instruction indicates that it has not been issued, the first processing method for the first control instruction includes: execution or pending execution; the second processing method for the second control instruction includes: ignore; when the execution status information of the second control instruction indicates that it has been issued but not completely executed, the first processing method for the first control instruction includes: execution or ignore; the second processing method for the second control instruction includes: stop execution and ignore.

[0115] In an optional embodiment, when the execution status information of the second control instruction is issued but not executed, the determination module 44 is used to: send a stop signal to the target device for stopping the execution of the second control instruction; in response to receiving a feedback signal from the target device for the stop signal, determine whether the current state of the target device matches the target execution status information of the first control instruction; in response to the current state of the target device matching the target execution status information of the first control instruction, ignore the first control instruction; in response to the current state of the target device not matching the target execution status information of the first control instruction, execute the first control instruction.

[0116] In an optional implementation, the execution module 45 is further used to: determine whether there is a second control instruction having the same instruction content as the first control instruction; and in response to the existence of the second control instruction, perform an ignore operation on the first control instruction.

[0117] In an optional embodiment, when the trigger module 42 triggers the response action of the first control instruction according to the first control instruction, it is used to: in response to receiving the first control instruction, stop displaying the response screen for executing the second control instruction on the display component, and display the response screen for executing the first control instruction.

[0118] In an optional implementation manner, the determining module 44 is further configured to:

[0119] Compare the instruction content of the second control instruction with the instruction content of the first control instruction; in response to the instruction content corresponding to any of the second control instructions that have not been issued being different from the instruction content of the first control instruction, or there being any of the second control instructions that have been issued but not fully executed, determine the second control instruction as a second control instruction that has an instruction conflict with the first control instruction.

[0120] In an optional embodiment, the device also includes a loop module 46, which is used to: respond to receiving a third control instruction; the third control instruction is a control instruction received after receiving the first control instruction and within the instruction window period; regard the third control instruction as a new first control instruction, and regard the first control instruction as a second control instruction, and return to the step of monitoring the execution status information of the second control instruction when the first monitoring condition is met.

[0121] The embodiment of the present disclosure feeds back the response action of triggering the first control instruction to the user, so that the user can understand the effect of triggering the control instruction.

[0122] At the same time, it is determined whether there is a second control instruction that conflicts with the first control instruction, and different processing methods are determined according to the execution status information of the second control instruction. In this way, some control instructions with command conflicts can be deduplicated to avoid erroneous execution or repeated execution, which effectively reduces the operating pressure of the device while improving the user's interactive experience.

[0123] The embodiment of the present disclosure further provides a vehicle-mounted device, comprising the interactive control device described in any of the above embodiments of the present disclosure, or the steps of executing the above interactive control method,

[0124] An embodiment of the present disclosure further provides a vehicle, comprising the interactive control device or vehicle-mounted equipment described in any of the above embodiments of the present disclosure.

[0125] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the execution steps of the interactive control method described in the above method embodiment are executed, or the above interactive control device and vehicle-mounted equipment are included. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0126] An embodiment of the present disclosure also provides a computer program product, including a computer program / instruction, which, when executed by a processor of the computer program / instruction, implements the execution steps of the interactive control device provided in each embodiment of the present disclosure, or executes the steps of the above-mentioned interactive control method, or executes the execution steps of the above-mentioned vehicle-mounted device.

[0127] The method in the embodiments of the present disclosure may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM or other programmable device.

[0128] The computer program or instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.

[0129] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. An interactive control method, characterized in that: include: receiving a first control instruction for a target function; According to the first control instruction, trigger a response action of the first control instruction; When the first monitoring condition is met, monitoring the execution status information of a second control instruction; the second control instruction is a control instruction that conflicts with the first control instruction; the second control instruction is received before the first control instruction; Determining a first processing method for the first control instruction and a second processing method for the second control instruction based on the execution state information of the second control instruction; Based on the first processing method and the second processing method, the first control instruction and / or the second control instruction are executed.

2. The method according to claim 1, characterized in that Determining a first processing method for the first control instruction and a second processing method for the second control instruction based on the execution state information of the second control instruction includes: When the execution status information of the second control instruction indicates that the second control instruction has not been issued, the first processing method for the first control instruction includes: execution or pending execution; the second processing method for the second control instruction includes: ignoring; When the execution status information of the second control instruction indicates that it has been issued but not completely executed, a first processing method for the first control instruction includes: execution or neglect; and a second processing method for the second control instruction includes: stopping execution and neglect.

3. The method according to claim 2, characterized in that When the execution status information of the second control instruction is that the second control instruction has been issued but has not been executed, the method further includes: Sending a stop signal for stopping execution of the second control instruction to the target device; In response to receiving a feedback signal from the target device in response to the stop signal, determining whether a current state of the target device matches target execution state information of the first control instruction; In response to a match between a current state of the target device and the target execution state information of the first control instruction, ignoring the first control instruction; In response to a mismatch between a current state of the target device and target execution state information of the first control instruction, executing the first control instruction.

4. The method according to any one of claims 1 to 3, characterized in that: The second control instruction is a control instruction that conflicts with the first control instruction, including: the second control instruction has the same instruction content as the first control instruction, and the method further includes: Determining whether there is a second control instruction having the same instruction content as the first control instruction; In response to the existence of the second control instruction, an ignoring operation is performed on the first control instruction.

5. The method according to claim 1, characterized in that The response action includes at least one of the following: displaying a response picture on the display component, playing a response audio on the audio component, and displaying a response light effect on the indication component.

6. The method according to claim 5, characterized in that The triggering a response action to the first control instruction according to the first control instruction includes: In response to receiving the first control instruction, the response screen for executing the second control instruction displayed on the display component is stopped, and the response screen for executing the first control instruction is displayed.

7. The method according to claim 1, characterized in that The second control instruction that conflicts with the first control instruction is determined in the following manner: Determining the instruction content of the second control instruction; comparing the instruction content of the second control instruction with the instruction content of the first control instruction; In response to the fact that the instruction content corresponding to any of the second control instructions that have not been issued is different from the instruction content of the first control instruction, or there is any of the second control instructions that have been issued but not fully executed, the second control instruction is determined as a second control instruction that has an instruction conflict with the first control instruction.

8. The method according to claim 1, characterized in that The method further comprises: In response to receiving a third control instruction; the third control instruction is a control instruction received after receiving the first control instruction and within the instruction window period; The third control instruction is regarded as a new first control instruction, and the first control instruction is regarded as a second control instruction, and the process returns to the step of monitoring the execution status information of the second control instruction when the first monitoring condition is met.

9. An interactive control device, characterized in that: include: A receiving module, configured to receive a first control instruction for a target function; A triggering module, configured to trigger a response action of the first control instruction according to the first control instruction; A monitoring module, configured to monitor execution status information of a second control instruction when a first monitoring condition is met; the second control instruction is a control instruction that conflicts with the first control instruction; the second control instruction is received before the first control instruction; a determination module, configured to determine a first processing method for the first control instruction and a second processing method for the second control instruction based on the execution state information of the second control instruction; An execution module is used to execute the first control instruction and / or the second control instruction based on the first processing method and the second processing method.

10. A vehicle-mounted device, characterized in that: It comprises a processor, wherein the processor is used to execute the interactive control method according to any one of claims 1 to 8.

11. A vehicle, characterized in that: The vehicle comprises the interactive control device as claimed in any one of claims 9 or the in-vehicle equipment as claimed in claim 10.

12. A computer-readable storage medium, characterized in that: A computer program is stored on the computer-readable storage medium. When the computer program is executed by a computer device, the computer device executes the steps of the interactive control method as described in any one of claims 1 to 8, or the computer device includes the interactive control device as described in claim 9, or includes the vehicle-mounted device as described in claim 10.