Interface update methods, devices, vehicles, and storage media

By sending operation commands from the vehicle cockpit system to the control unit and updating the interface display content according to user operations, the problem of unresponsive interface display is solved, the smoothness and accuracy of interface display are achieved, and the human-computer interaction experience is improved.

CN119883312BActive Publication Date: 2026-05-19CHENGDU GREAT WALL MOTOR R&D CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHENGDU GREAT WALL MOTOR R&D CO LTD
Filing Date
2024-12-17
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In vehicle cockpit systems, user operation speed is faster than the processing speed of electronic control units, resulting in unresponsive interface updates, frequent jumps, and interface lag.

Method used

When a user touches the screen, the system sends an operation command to the control unit. While waiting for the processing result, it updates the content displayed on the screen based on the user's subsequent operations until the result matches the control unit's processing result. Then, it switches to signal following mode to ensure the accuracy of the content displayed on the screen.

Benefits of technology

With frequent user operations, it avoids frequent interface transitions and lag, improves the smoothness and accuracy of interface display, and enhances the human-computer interaction experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883312B_ABST
    Figure CN119883312B_ABST
Patent Text Reader

Abstract

This application provides an interface update method, apparatus, vehicle, and storage medium. The method is applied in the vehicle field. The method includes: generating a first operation instruction upon receiving a first touch operation on a target control in an interactive interface, sending it to a backend control unit for processing, and simultaneously determining that the interactive interface is in an operation-following state, that is, in this state, the displayed content of the interactive interface is determined according to the touch operation, and the displayed content can be updated in real time when the user operates frequently. After receiving the processing result of the control unit, that is, the first displayed content, the first displayed content is compared with the second displayed content determined based on the current second touch operation. If they are consistent, it indicates that the processing result of the control unit is consistent with the current touch operation result expected by the user, and the system can switch back to the signal-following mode to confirm the displayed content according to the actual processing feedback of the control unit, so as to ensure the correctness of the displayed content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicles, and more particularly to interface updating methods, apparatus, vehicles, and storage media. Background Technology

[0002] With the upgrading of vehicle cockpit systems and human-machine interfaces, more and more cockpit human-machine interfaces are replacing physical buttons with large-size touchscreens. After each operation on the touchscreen, the user needs to wait for the vehicle's electronic control unit to process the operation and provide feedback before the content displayed on the screen refreshes. During this waiting period, the user may frequently operate the screen, and the speed of the user's operation may be faster than the processing speed of the electronic control unit. Under such frequent sending of commands to the electronic control unit, problems such as unresponsive screen updates and abrupt changes in the screen display may occur. Summary of the Invention

[0003] This application provides a method, apparatus, vehicle, and storage medium for updating an interface, aiming to improve the smoothness of interface display and thus enhance the human-computer interaction experience. The technical solution is as follows:

[0004] Firstly, a method for updating an interface is provided, which includes:

[0005] In response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in an operation-following state; the operation-following state means that the display content of the interactive interface is determined by the touch operation.

[0006] When the first display content generated by the control unit based on the first operation instruction is obtained, the second display content generated based on the second touch operation is obtained; the second touch operation is a touch operation after the first touch operation or is the first touch operation;

[0007] If the first displayed content is consistent with the second displayed content, the interactive interface is switched from the operation follow state to the signal follow state; the signal follow state means that the displayed content of the interactive interface is determined by the control unit.

[0008] The above technical solution proposes a method for updating the interface. When the target control in the interactive interface receives a first touch operation, it sends a first operation command corresponding to the first touch operation to the control unit. The control unit processes the first operation to obtain the first display content to be displayed on the interactive interface. During the time from receiving the first touch operation to returning the first display content, the interactive interface is in an operation-following state. When there is a user touch operation, the interactive interface updates the display content according to the second touch operation, without needing to receive signal feedback before proceeding to the next operation. This achieves a responsive operation, especially under high-frequency user operation. If the response speed of the control unit cannot keep up with the operation speed, there will be no flickering or interface lag. Simultaneously, the interface waits for the processing result of the control unit. When the first display content returned by the control unit is obtained, it can be compared with the second display content corresponding to the current second touch operation. If they match, the interactive interface switches to a signal-following state. The display content of the interface is controlled by the signal processing result returned by the control unit, ensuring that the display content of the interactive interface is synchronized with the backend processing result, and ensuring the accuracy of the displayed content even when there is no rapid user operation.

[0009] In conjunction with the first aspect, in some possible implementations, the response to a touch operation on a target control in the interactive interface, sending a first operation instruction corresponding to the first touch operation to the control unit, and determining that the interactive interface is in an operation-following state, includes: in response to a first touch operation on a target control in the interactive interface, if the first touch operation corresponds to an instruction sending interval, determining the waiting time between the receiving time of the first touch operation and the end time of the timing task; the end time of the timing task is set based on the sending time of the previous operation instruction and the instruction sending interval; if the waiting time is less than or equal to zero, sending the first operation instruction corresponding to the first touch operation to the control unit.

[0010] The above technical solution specifically proposes a method for controlling the frequency of command transmission. In response to a first touch operation on a target control in the interactive interface, it is determined whether a command transmission interval is set for that first touch operation. If so, it is determined whether the reception time of the first touch operation has reached the end time of the timing task, i.e., whether the waiting time from the reception time to the end is less than or equal to zero. If so, a first operation command corresponding to the first touch operation is sent to the control unit for processing by the background unit. Using this method, the command processing load of the control unit can be reduced during high-frequency operations.

[0011] In conjunction with the first aspect, in some possible implementations, the method further includes: if the waiting time is greater than zero, updating the cache instruction based on the first touch operation; and when the end time of the timing task is reached, sending the cache instruction to the control unit.

[0012] The above technical solution specifically proposes a method for updating the instruction cache. For cases where the waiting time is greater than zero, the first touch operation will be used to update the cached instructions. That is, touch operations received before the end time are stored in the cache and sent to the control unit at the end of the timing task. This way, the control unit does not need to process each touch operation within the instruction sending interval; it only needs to process the instruction corresponding to the most recent touch operation at the end time. This reduces the instruction processing load of the control unit while ensuring that the control unit processes the most recent instructions.

[0013] In conjunction with the first aspect, in some possible implementations, the operation-following state includes a processing state and a paused state; the response to a first touch operation on a target control in the interactive interface, sending a first operation instruction corresponding to the first touch operation to the control unit, and determining that the interactive interface is in the operation-following state, includes: in response to a first touch operation on a target control in the interactive interface, sending a first operation instruction corresponding to the first touch operation to the control unit, and determining that the interactive interface is in the processing state; the step of switching the interactive interface from the operation-following state to the signal-following state if the first displayed content is consistent with the second displayed content includes: in response to The interactive interface is in a processing state. If the first displayed content is consistent with the second displayed content, the interactive interface is switched from the processing state to the signal following state. In response to the interactive interface being in a processing state, if the first displayed content is inconsistent with the second displayed content, the interactive interface is switched from the processing state to the waiting state. In response to the interactive interface being in the waiting state, if the preset duration of the waiting state is exceeded or if the third displayed content generated by the control unit based on the third operation command corresponding to the third touch operation is obtained and the third displayed content is consistent with the first displayed content, the interactive interface is switched to the signal following state.

[0014] The above technical solution specifically proposes a method for switching the interactive interface state. The operation-following state includes a processing state and a waiting state. When a touch operation is received, the interactive interface is in the processing state, indicating that the control unit is processing the operation command corresponding to the touch operation. If the first display content returned by the control unit is received, it will be compared and verified with the second display content on the interface. If the verification is successful, it indicates that the operation is closed, and the interface switches back to the signal-following state. If the verification fails, it indicates that the control unit has not yet completed the command processing; it may have received the result of the previous command processing, or the control unit may be malfunctioning and unable to provide the display content that the user expects. In this case, the interface enters the waiting state. The waiting state indicates that the interface is waiting for the control unit to update the display content for a preset duration. If the preset duration is exceeded without receiving the display content returned by the control unit, or if the preset duration is exceeded with the return of the third display content returned by the control unit, the interface switches to the signal-following state, and the display content of the interactive interface is based on the most recently received display content returned by the control unit.

[0015] In conjunction with the first aspect, in some possible implementations, the response to a first touch operation on a target control in the interactive interface, sending a first operation instruction corresponding to the first touch operation to the control unit, and determining that the interactive interface is in a processing state includes: in response to the interactive interface being in a processing state, if a first touch operation on a target control in the interactive interface is received, sending a first operation instruction corresponding to the first touch operation to the control unit, and maintaining the interactive interface in the processing state.

[0016] The above technical solution specifically proposes a method for determining the processing state. In the processing state, if a first touch operation is performed on the target control in the interactive interface, a first operation command corresponding to the first touch operation is sent to the control unit, and the interactive interface remains in the processing state. That is, as soon as a user's touch operation is received, the system enters the processing state; if it is already in the processing state, it will remain so. This allows the displayed content to switch promptly with the user's rapid operations without waiting for the control unit's processing result to return before updating the displayed content.

[0017] In conjunction with the first aspect, in some possible implementations, the operation-following state includes a processing state and a paused state; the response to a first touch operation on a target control in the interactive interface, sending a first operation instruction corresponding to the first touch operation to the control unit, and determining that the interactive interface is in an operation-following state, includes: in response to a first touch operation on a target control in the interactive interface, sending a first operation instruction corresponding to the first touch operation to the control unit, and determining that the interactive interface is in a processing state; in response to the interactive interface being in a processing state, if a touch end operation is received on the target control in the interactive interface, then the interactive interface is taken over by the processing... The interface is switched from the operation-following state to the signal-following state if the first displayed content is consistent with the second displayed content. This includes: if the first displayed content is consistent with the second displayed content, the interface is switched from the operation-following state to the signal-following state; if the first displayed content is inconsistent with the second displayed content, the interface remains in the operation-following state; if the preset duration of the operation-following state is exceeded or the third displayed content generated by the control unit based on the third operation command corresponding to the third touch operation is obtained and the third displayed content is consistent with the first displayed content, the interface is switched to the signal-following state.

[0018] The above technical solution provides an interface state switching scheme for situations where a touch operation is received followed by a touch-ending operation. Touch operations can be single or continuous. Continuous touch operations include, for example, swiping. When a touch operation is continuous, the interface is in a processing state from the moment the touch operation is received, and the interface displays information following the user's continuous operation. When a touch-ending operation is received (i.e., the user lifts their hand to cancel the touch operation), the interface enters a waiting state. In the waiting state, the interface verifies the second display content returned by the control unit. If they match, the interface switches back to the signal-following state; otherwise, it remains in the waiting state, waiting for the control unit to return a new processing result for verification, or switches back to the signal-following state after a preset duration of the waiting state. This ensures that the interface updates its display content in real time following the user's continuous operation, and that it switches back to the signal-following state based on the control unit's processing result after the user ends the continuous operation.

[0019] In conjunction with the first aspect, in some possible implementations, the method further includes: in response to the interactive interface being in the paused state, if a fourth touch operation is received on a target control in the interactive interface, switching the interactive interface to the processing state.

[0020] The above technical solution provides a specific scheme for state switching. In the pause / wait state, if there is a touch operation, the interface switches to the processing state, allowing the displayed content to follow the touch operation even with rapid actions, resulting in a smooth interface display.

[0021] Secondly, embodiments of this specification provide an interface updating device, comprising:

[0022] An operation response unit is configured to respond to a first touch operation on a target control in the interactive interface, send a first operation instruction corresponding to the first touch operation to the control unit, and determine that the interactive interface is in an operation-following state; the operation-following state is that the display content of the interactive interface is determined by the touch operation.

[0023] The signal acquisition unit is configured to acquire a second display content generated based on a second touch operation when the control unit acquires the first display content generated based on the first operation instruction; the second touch operation is either a touch operation following the first touch operation or the first touch operation itself.

[0024] The verification unit is used to switch the interactive interface from the operation-following state to the signal-following state if the first displayed content is consistent with the second displayed content; the signal-following state is when the displayed content of the interactive interface is determined by the control unit.

[0025] Thirdly, embodiments of this specification provide a vehicle, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the method described above.

[0026] Fourthly, embodiments of this specification provide a computer-readable storage medium storing a computer program that, when executed, performs the steps of the method described above. Attached Figure Description

[0027] Figure 1 This is a schematic diagram of a scenario for an interface update method provided in the embodiments of this specification;

[0028] Figure 2 This is a flowchart illustrating an interface update method provided in an embodiment of this specification;

[0029] Figure 3 This is a flowchart illustrating an interface update method provided in an embodiment of this specification;

[0030] Figure 4 This is a flowchart illustrating an interface update method provided in an embodiment of this specification;

[0031] Figure 5This is a flowchart illustrating an interface update method provided in an embodiment of this specification;

[0032] Figure 6 This is a flowchart illustrating an interface update method provided in an embodiment of this specification;

[0033] Figure 7 This is a flowchart illustrating an interface update method provided in an embodiment of this specification;

[0034] Figure 8 This is a flowchart illustrating an interface update method provided in an embodiment of this specification;

[0035] Figure 9 This is a schematic diagram of the structure of an interface updating device provided in the embodiments of this specification;

[0036] Figure 10 This is a structural schematic diagram of a vehicle provided in the embodiments of this specification. Detailed Implementation

[0037] The technical solutions in this application will now be described clearly and in detail with reference to the accompanying drawings. In the description of the embodiments in this specification, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments in this specification, "multiple" refers to two or more than two.

[0038] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0039] Figure 1 This is a schematic diagram of a scenario for an interface update method provided in the embodiments of this specification.

[0040] For example, such as Figure 1As shown, when a user interacts with the touchscreen, the software on the touchscreen triggers the corresponding touch control signal and sends it to the underlying hardware. It's important to note that after sending the touch control signal, the application software cannot immediately confirm whether the signal was successfully executed. Instead, it waits asynchronously for the underlying hardware to respond and return a feedback signal. Since the feedback speed may vary due to network or other factors, the signal feedback delay is uncertain. After the signal feedback, the application software will also display its interface based on the feedback status, resulting in a display delay.

[0041] The current in-vehicle infotainment system's operation logic is as follows: when a user performs an operation, the state of controls on the interface is immediately updated upon the click, and a control signal is immediately sent. However, if the user clicks rapidly and continuously, and the clicking speed exceeds the processing speed of the underlying feedback, the delayed signal feedback may cause the interface state to become disordered after multiple clicks. Specifically, the interface displays a new state immediately after each click based on the user's action, while the underlying hardware returns multiple state information at different times. This state information causes the interface to automatically switch back to the previous state while displaying the user's operation result, resulting in frequent transitions.

[0042] For example, when a user quickly operates a switch, the interface may flicker. Assuming the initial state is "Off," if the user quickly clicks the switch to switch to "On," the interface will immediately display "On." At this point, although the interface shows "On," the underlying hardware feedback signal has not yet arrived. If the user then clicks the switch again to switch back to "Off," the interface will immediately update to "Off." Again, the underlying "On" feedback signal has not arrived, but the interface will again display "On," and then, after the "Off" feedback signal arrives, it will update to "Off." This cycle repeats, and the user will see a process from the first "On" to the first "Off," then to the second "On," and then to the second "Off," causing frequent state jumps.

[0043] Based on the above, this specification proposes an interface update method. Upon receiving a first touch operation on a target control in the interactive interface, a first operation instruction is generated and sent to the backend control unit for processing. Simultaneously, the interactive interface is determined to be in an operation-following state, meaning the displayed content is determined based on the touch operation and can change instantly when the user operates frequently. After receiving the processing result from the control unit (i.e., the first displayed content), the first displayed content is compared with the second displayed content determined based on the current second touch operation. If they match, it indicates that the control unit's processing result matches the user's expected touch operation result, and the interface can switch back to signal-following mode to confirm the displayed content based on the actual processing feedback from the control unit, ensuring the correctness of the displayed content. This method, while ensuring smooth operation, prevents flickering and display anomalies, improves the accuracy of interface content display, and thus enhances the human-computer interaction experience.

[0044] The interface update method provided in this specification will be described in detail below with reference to specific embodiments.

[0045] Figure 2 This is a flowchart illustrating an interface update method provided in an embodiment of this specification. It should be understood that this method can be applied to vehicles, specifically to the Electronic Control Unit (ECU) within a vehicle.

[0046] like Figure 2 As shown, the method in the embodiments of this specification may include the following steps S101-S103.

[0047] S101, in response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in an operation follow state.

[0048] In one embodiment, when a first touch operation is triggered on a target control in the interactive interface, the touchscreen generates a corresponding first operation command for the control unit, so that the control unit can respond according to the first operation command and return the command processing result. In a vehicle, the control unit can be an ECU. Simultaneously, the interactive interface is determined to be in an operation-following state. It is understood that if the current interactive interface is already in an operation-following state, it can remain in that state; if the current interactive interface is in a signal-following state, it switches to the operation-following state. It should be noted that the target control is a low-level control control in the vehicle system, which has a corresponding button control on the front-end interface. The user controls the low-level target control by operating the button control. Typically, the target control is a setting control, such as a "seat heating switch button," a "volume adjustment slider," and a "seat tilt adjustment button," etc.

[0049] In one feasible implementation, the update of the interactive interface's displayed content can be controlled based on a state machine; that is, the state of the interactive interface is determined according to the state of the state machine. The state machine defines multiple states and transitions between them. The state machine operates in response to a series of events. When certain triggering conditions are met, the state machine transitions from its current state to the next state, starting from its normal state. The normal state of the state machine can be a signal-following state; that is, under normal circumstances, the content displayed on the interactive interface is determined based on signals fed back from the control unit.

[0050] The operation follows the state, meaning the content displayed on the interactive interface is determined by the touch operation. It's understandable that if other touch operations are received after the first touch operation, the touch operation commands and displayed content will be sent according to those received touch operations.

[0051] When a user frequently interacts with a target control, each touch operation generates a corresponding first operation command. In one feasible implementation, the first operation command can be sent to the control unit immediately. In another feasible implementation, the operation command generated by the first touch operation can be sent to the control unit, and subsequent commands can be sent at preset intervals, thereby avoiding situations where the control unit cannot process the commands in time when the user interacts frequently.

[0052] S102, when the first display content generated by the control unit based on the first operation instruction is obtained, the second display content generated based on the second touch operation is obtained.

[0053] In one embodiment, when the interactive interface receives the first display content generated based on the first operation instruction returned by the control unit, it compares the first display content with the second display content corresponding to the second touch operation. The second touch operation is either a touch operation following the first touch operation or the first touch operation itself. The second touch operation can be the current touch operation. It is understood that after receiving the first touch operation, the interactive interface enters an operation-following state, where the displayed content follows the touch operation. Upon receiving feedback from the control unit, it obtains the second display content in the interactive interface at this time for comparison with the first display content.

[0054] For example, the content displayed on the interactive interface is determined based on interface values. Therefore, the second display content can be determined based on the signal value determined by the second touch operation. In signal following mode, interface values ​​are updated using signal values. For example, if a function has an on and off state, the function's state is updated using signal values. The signal value is the processing result returned by the control unit, and the first display content is determined based on the signal value obtained from the processing of the first touch operation.

[0055] S103, if the first displayed content is consistent with the second displayed content, then the interactive interface is switched from the operation follow state to the signal follow state.

[0056] In one embodiment, the signal following state means that the content displayed on the interactive interface is determined by the control unit. If the first displayed content is consistent with the second displayed content, it indicates that the current processing result of the control unit matches the front-end display result, and the system switches to the signal following state to ensure that the displayed content of the interactive interface is consistent with the underlying vehicle system. If the touch command fails to be sent or the response is unsuccessful, the returned first displayed content will be inconsistent with the second displayed content triggered by the user's operation. In this case, the interactive interface will jump back to the underlying real state, and the user can also observe the control failure at this time, so that the user can perform subsequent control.

[0057] The first touch operation is either an operation preceding or following the second touch operation. For example, when a user touches the seat heating switch control and clicks "On," the switch control displays "On" on the interface. Then, the user clicks "Off," and then clicks "On" again. When the interface receives the first display content ("On") generated by the control unit based on the first "On" operation, which is consistent with the second display content corresponding to the last "On" operation, the control unit does not need to respond to the subsequent second "Off" operation and third "On" operation, thus reducing the processing load on the control unit.

[0058] Using the example above, when the interactive interface receives the first display content "on" generated by the control unit based on the third "on" operation, it is consistent with the second display content corresponding to the current "on" operation. At this time, it can also switch to signal following mode and update the display content of the interactive interface according to the first display content. It can be understood that since the second display content is consistent with the first display content, the display content in the interactive interface does not change in the user's perception.

[0059] Using the example above, when the interactive interface receives the first display content generated by the control unit based on the second "off" operation as "off", which is consistent with the second display content corresponding to the last "on" operation, then it can continue to wait for the processing result of the control unit until the processing result of the third "on" operation is obtained. During the waiting period, the interactive interface continues to display the content of the function being enabled according to the third "on" operation.

[0060] In this embodiment, upon receiving a first touch operation on a target control in the interactive interface, a first operation command is generated and sent to the backend control unit for processing. Simultaneously, the interactive interface is determined to be in an operation-following state, meaning the displayed content is determined based on the touch operation. This allows for real-time updates to the displayed content when the user frequently interacts with the interface. Upon receiving the processing result from the control unit (i.e., the first displayed content), the first displayed content is compared with the second displayed content determined based on the current second touch operation. If they match, it indicates that the control unit's processing result matches the user's expected touch operation result, and the interface can switch back to signal-following mode to confirm the displayed content based on the actual processing feedback from the control unit, ensuring the correctness of the displayed content. This method ensures that flickering and display anomalies do not occur while allowing for easy operation, improving the accuracy of the interface content display and thus enhancing the human-computer interaction experience.

[0061] Please see Figure 3 This is a flowchart illustrating an interface update method provided in an embodiment of this specification. Figure 3 As shown, the method in the embodiments of this specification may include the following steps S201-S204.

[0062] S201, in response to a first touch operation on a target control in the interactive interface, if the first touch operation corresponds to a command sending interval, then determine the waiting time between the receiving time of the first touch operation and the end time of the timing task.

[0063] In one embodiment, for the provided operation controls, it is possible to set whether a command sending interval needs to be set. For example, for operation controls that are frequently operated by users, the command sending interval can be set according to the processing time of the control unit to control the command sending frequency. In one feasible implementation, it can be determined whether the target control needs to have a command sending interval set based on historical operation records. In another feasible implementation, the trigger frequency of touch operations on the target control can be detected in real time. When the trigger frequency is greater than a preset frequency, a command sending interval is set for the target control, so that when the target control is frequently operated, it will not send commands to the control unit frequently, causing the control unit to malfunction or be slow to process. Specifically, when a command sending interval is set for the first touch operation, the waiting time between the reception time of the first touch operation and the end time of the timing task is determined.

[0064] The timing task is used to initiate timing and stops when the timing duration reaches the instruction sending interval. It then sends the operation instruction corresponding to the most recent touch operation before the end time to the control unit for processing. The end time of the timing task is set based on the sending time of the last operation instruction and the instruction sending interval. It can be understood that when the first touch operation is the first operation requiring the setting of the instruction sending interval, i.e., before a timing task has been created, the first operation instruction corresponding to the first touch operation is sent first, and a timing task is generated according to the instruction sending interval.

[0065] S202, if the waiting time is less than or equal to zero, then send the first operation instruction corresponding to the first touch operation to the control unit.

[0066] In one embodiment, when a timing task exists, if the waiting time between the touch operation and the end time is less than or equal to zero, the first operation instruction corresponding to the first touch operation is sent to the control unit. That is, when the end time is reached, the operation instruction is sent to the control unit; or, if the first touch operation is received after the end time has elapsed, the first operation instruction corresponding to the first touch operation is sent to the control unit.

[0067] S203, if the waiting time is greater than zero, then update the cache instruction to the first operation instruction based on the first touch operation.

[0068] In one embodiment, when the waiting time is greater than zero, the operation command is not sent to the control unit immediately. Instead, the operation command corresponding to the first touch operation is cached, that is, the cached command is updated according to the first touch operation. Specifically, an instruction storage unit can be set up to store the operation commands corresponding to touch operations obtained during the instruction sending interval. The cached command is updated with the latest obtained touch operation continuously. It is understood that touch operations can continue to be received after the first touch operation, and the step of updating the cached command can be performed according to the newly received touch operation until the waiting time is zero.

[0069] S204, when the end time of the timing task is reached, the buffer instruction is sent to the control unit.

[0070] In one embodiment, when the end time of the timing task is reached, a cache instruction is sent to the control unit. At this time, the cache instruction received by the control unit is the operation instruction corresponding to the touch operation collected closest to the end time.

[0071] Please see Figure 4 , Figure 4 This document provides a flowchart illustrating an interface update method according to an embodiment. It is understood that, for touch operations on different target controls, it is possible to choose whether to set a command sending interval. After acquiring a first touch operation, it is determined whether the first touch operation has a set command sending interval, or whether the command sending interval is greater than 0. If greater than 0, the waiting time T between the reception time of the first touch operation and the end time of the corresponding timing task is determined based on the set command sending interval. If T ≤ 0, a first operation command corresponding to the first touch operation is issued. Specifically, a setting value can be generated based on the first touch operation and sent as a first operation command to the control unit. If T > 0, the cached command is updated based on the first touch operation, and the cached command is issued after the end time of the timing task arrives.

[0072] In the embodiments of this specification, by controlling the frequency of the timing task control command issuance, the instruction processing time of the control unit can be adapted to reduce the instruction processing load of the vehicle control unit when there are high-frequency operations.

[0073] Please see Figure 5 This is a flowchart illustrating an interface update method provided in an embodiment of this specification. Figure 5 As shown, the method in the embodiments of this specification may include the following steps S301-S306.

[0074] S301, in response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in a processing state.

[0075] In one embodiment, the operation-following state specifically includes a processing state and a waiting state. When a touch operation is received, the interface is in the processing state, indicating that the control unit is processing the operation command corresponding to the touch operation, and the interface follows the touch operation to determine the displayed content. The waiting state indicates that it is waiting for the control unit to update the displayed content, and the waiting time is a preset duration.

[0076] It should be noted that in the embodiments of this specification, the first touch operation is a non-continuous operation, such as a single operation like a click. A single operation can obtain the result needed by the user, such as switch control. Correspondingly, in other embodiments, the first touch operation can be a continuous operation, such as a swipe operation. The user needs to swipe and touch the screen continuously for a period of time until the swipe ends to obtain the result needed by the user, such as adjusting the volume.

[0077] S302, when the first display content generated by the control unit based on the first operation instruction is obtained, the second display content generated based on the second touch operation is obtained.

[0078] Specifically, in the processing state, when the first display content is received, the second display content of the interactive interface at this time is obtained.

[0079] S303, in response to the interactive interface being in a processing state, if the first displayed content is consistent with the second displayed content, then the interactive interface is switched from the processing state to the signal following state.

[0080] In one embodiment, if the first display content returned by the control unit is received, the first display content is compared and verified with the second display content on the interface. If the verification is successful, it indicates that the operation is closed, and the system switches back to signal following state.

[0081] S304, in response to the interactive interface being in a processing state, if the first displayed content is inconsistent with the second displayed content, the interactive interface is switched from the processing state to a paused state.

[0082] Specifically, a verification failure indicates that the control unit has not yet completed the instruction processing. What it receives may be the result of the previous instruction processing, or the control unit may malfunction and be unable to provide the display content that the user expects to perform. In this case, it enters a stop-and-wait state.

[0083] S305, in response to the interactive interface being in the pause state, if the preset duration of the pause state is exceeded or the third display content generated by the control unit based on the third operation instruction corresponding to the third touch operation is obtained, the interactive interface is switched to the signal following state.

[0084] Specifically, if the user hasn't received the display content from the control unit after the preset timeout period, or if the user receives the third display content from the control unit within the preset timeout period, the system will switch to signal following mode. This will cause the interface to display the content based on the most recently received display content from the control unit. It's understandable that the preset timeout period is determined by the control unit's processing speed. Normally, the control unit can return the processing result of the most recent operation within the preset timeout period. However, if the control unit malfunctions, the processing result of the most recent operation may not be obtained even after the preset timeout period, and the system will still need to switch to signal following mode to update the current display content with the processing result already returned by the control unit. This will still result in interface transitions, but the display content returned by the control unit will reflect the actual backend situation. For example, if the target control is "seat heating function," and the user's last operation was "on," but the control unit still returns "off" after the timeout period ends, it indicates that the seat heating function has not actually been turned on. In this case, the display needs to reflect the actual backend situation to avoid confusion for the user who cannot perceive the function's operation while the interface displays "on."

[0085] If a third display content corresponding to a third operation instruction is obtained within a preset time period, then that third display content is updated in the interactive interface. The third operation instruction differs from the first operation instruction; that is, it can be an instruction corresponding to a touch operation received between the first touch operation and the second touch operation. This third touch operation can actually be the second touch operation. Since the third display content is the latest returned information from the control unit, it represents the latest state of the control unit. Therefore, the display content of the interactive interface is set to the third display content to match the current backend situation.

[0086] S306, in response to the interactive interface being in the paused state, if a fourth touch operation is received on the target control in the interactive interface, the interactive interface is switched to the processing state.

[0087] In one embodiment, if there is a user operation while in the paused state, the interface is switched to the processing state to ensure that the interface display follows the user operation whenever there is a user operation.

[0088] Please see Figure 6 , Figure 6This specification provides a flowchart illustrating an interface update method in an embodiment. The interactive interface includes three states: Signal Following State: This represents the initial state. In this state, the displayed content of the target control is updated synchronously with the signal value returned by the control unit. The signal value is used to update the interface value, thereby determining the displayed content based on the interface value. In this state, if the user clicks on the target control, the interactive interface enters a processing state while issuing the command; Processing State: This indicates that the issued command is being processed. In this state, the displayed content of the settings item updates with the user's click operation. In this state, if the user clicks on the target control again, the state remains unchanged while issuing the command; if a signal value update is received from the control unit, the signal value and the interface value are compared and verified. If the verification is successful, it indicates that the operation has been closed, and the system returns to normal. If the verification fails, it indicates that the vehicle-side electronic control unit has not yet completed the command processing and has received the result of the previous command processing, and the system enters a waiting state; Waiting State: This indicates that the system is waiting for a signal value update or the waiting timeout has occurred. In this state, if the user clicks on the target control, the state machine enters the processing state while issuing the instruction; if a signal value update is received or a timeout occurs, the current signal value is updated to the interface value and the system switches back to the signal following state, displaying the content determined by the control unit.

[0089] In the embodiments of this specification, the operation following state includes a processing state and a paused state. When a touch operation is received, the interactive interface is in a processing state, indicating that the control unit is processing the operation command corresponding to the touch operation. If the first display content returned by the control unit is received, it will be compared with the second display content in the interface. If they match, it means that the operation has been closed, and the interface switches back to the signal following state. If they do not match, it means that the control unit has not yet completed the command processing, and what it received may be the result of the previous command processing, or the control unit may have malfunctioned and be unable to provide the display content that the user expects to achieve. In this case, the interface enters the paused state. The paused state means that the interface is waiting for the control unit to update the display content, and the waiting time is a preset duration. If the display content returned by the control unit is not received after the preset duration, or if the third display content returned by the control unit is received within the preset duration, the interface switches to the signal following state, so that the display content of the interactive interface is displayed according to the most recently received display content returned by the control unit.

[0090] Please see Figure 7 This is a flowchart illustrating an interface update method provided in an embodiment of this specification. Figure 7 As shown, the method in the embodiments of this specification may include the following steps S401-S406.

[0091] S401, in response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in a processing state.

[0092] In the embodiments of this specification, the first touch operation is a continuous operation, such as a swipe operation or a long press operation. The desired operation result for the user is actually determined based on the touch situation after the operation ends, such as the position where the swipe stops or the duration of the press. However, when the user starts a touch operation, it enters a processing state, and the interactive interface displays according to the user's touch operation. For example, for a swipe operation, the swipe trajectory is continuously displayed on the interface; for a long press, the effect of the touch position being continuously selected can be displayed, etc. The specific settings can be configured according to the actual situation of the touch operation.

[0093] S402, in response to the interactive interface being in a processing state, if a touch end operation is received for the target control in the interactive interface, the interactive interface is switched from the processing state to a paused state.

[0094] In one embodiment, when a touch end operation is received, i.e., when the user raises their hand to cancel the current touch operation, the system enters a pause / wait state.

[0095] For example, the volume bar can be adjusted between 0 and 10. Users can control the volume by dragging the volume bar back and forth, and cancel the operation by swiping it when the user lifts their hand, which is the end of the touch operation. If the system returns to the signal follow state immediately after the touch stops, the volume bar may jump back and forth due to the signal return delay. Therefore, the system enters a wait state. During the duration of the wait state, the volume bar is fixed at the last lifted position, waiting for the processing unit to process the control operation during this period.

[0096] S403, when the first display content generated by the control unit based on the first operation instruction is obtained, the second display content generated based on the second touch operation is obtained.

[0097] S404, if the first displayed content is consistent with the second displayed content, then the interactive interface is switched from the paused state to the signal following state.

[0098] Specifically, in the pause / wait state, the second display content returned by the control unit is verified to determine if it is consistent. If it is consistent, the signal follow state is switched back.

[0099] S405, if the first displayed content is inconsistent with the second displayed content, then the pause state is maintained; if the preset duration of the pause state is exceeded, then the interactive interface is switched to the signal following state.

[0100] In one embodiment, if there is a discrepancy, the system remains in a waiting state, waiting for newly returned display content for a preset duration and comparing it with the first display content. If no new display content is received within the preset duration of the waiting state, the system switches back to the signal following state and displays the most recently acquired display content directly.

[0101] S406, in response to the interactive interface being in the paused state, if a fourth touch operation is received on the target control in the interactive interface, the interactive interface is switched to the processing state.

[0102] In one embodiment, if a user's touch operation is received in the paused state, the system switches to the processing state and updates the displayed content in real time following the operation.

[0103] Please see Figure 8 , Figure 8 This specification provides a flowchart illustrating an interface update method in an embodiment. The interactive interface includes three states: Signal Following State: This represents the initial state of the interactive interface. The interface value of the target control in this state updates synchronously with the signal value. The display value is used to determine the displayed content. The signal value is also the display content returned by the control unit. In this state, if the user slides a setting item, the state machine enters the processing state simultaneously with the issuance of the command; Processing State: This indicates that the issued command is being processed. The interface value of the target control in this state updates with the user's sliding operation. In this state, if the user continues to slide the target control, the state machine state remains unchanged simultaneously with the issuance of the command; if the user raises their hand to cancel the sliding operation, it enters the waiting state; Waiting State: This indicates that it is waiting for a signal value update or a timeout has occurred. In this state, if the user slides the target control, the interactive interface enters the processing state simultaneously with the issuance of the command; if a signal value update is received, the signal value and the interface value are compared and verified. If the verification is successful, it indicates that the operation is closed, and the interface switches back to the signal following state. If the verification fails, it means that the vehicle-side electronic control unit has not yet completed the instruction processing and is currently receiving the result of the previous instruction processing. The system will remain in a stop-and-wait state. If the timeout occurs, the system will switch back to the signal following state.

[0104] In the embodiments of this specification, when the touch operation is a continuous operation, the interactive interface is in a processing state from the moment the touch operation is received. The interface displays according to the user's continuous operation. When the continuous operation ends (i.e., when the user lifts their hand to cancel the touch operation), it enters a waiting state. In the waiting state, it begins to verify the second display content returned by the control unit to determine if it is consistent. If it is consistent, it switches back to the signal following state; otherwise, it remains in the waiting state, waiting for the control unit to return a new processing result for verification, or it switches back to the signal following state after a preset duration of the waiting state. This ensures that when the user is performing a continuous operation, the interface can update the displayed content in real time according to the user's operation. When the user ends the continuous operation, it determines whether to switch back to the signal following state based on the processing result of the control unit, so that the display can be accurate and timely when the touch type is continuous.

[0105] The following will be combined with the appendix Figure 9 This specification provides a detailed description of the interface update device provided in the embodiments. It should be noted that the appendix... Figure 9 The interface update device in the specification is used to perform the functions described herein. Figures 2-8 The methods shown in the embodiments are illustrated for ease of explanation, showing only the parts related to the embodiments of this specification. For specific technical details not disclosed, please refer to this specification. Figures 2-8 The example shown.

[0106] Please see Figure 9 This diagram illustrates a structural schematic of an interface update apparatus provided in an exemplary embodiment of this specification. The interface update apparatus can be implemented as all or part of a device through software, hardware, or a combination of both. The apparatus 1 includes:

[0107] The operation response unit 11 is used to respond to a first touch operation on a target control in the interactive interface, send a first operation instruction corresponding to the first touch operation to the control unit, and determine that the interactive interface is in an operation following state; the operation following state means that the display content of the interactive interface is determined by the touch operation.

[0108] Signal acquisition unit 12 is configured to acquire second display content generated based on a second touch operation when the control unit acquires the first display content generated based on the first operation instruction; the second touch operation is either a touch operation following the first touch operation or the first touch operation itself; and

[0109] The verification unit 13 is used to switch the interactive interface from the operation follow state to the signal follow state if the first display content is consistent with the second display content; the signal follow state is when the display content of the interactive interface is determined by the control unit.

[0110] Optionally, the operation response unit 11 is specifically configured to: respond to a first touch operation on a target control in the interactive interface; if the first touch operation corresponds to an instruction sending interval, determine the waiting time between the receiving time of the first touch operation and the end time of the timing task; the end time of the timing task is set based on the sending time of the previous operation instruction and the instruction sending interval; if the waiting time is less than or equal to zero, send a first operation instruction corresponding to the first touch operation to the control unit.

[0111] Optionally, the operation response unit 11 is specifically used to: if the waiting time is greater than zero, update the cache instruction to a first operation instruction based on the first touch operation; and when the end time of the timing task is reached, send the cache instruction to the control unit.

[0112] Optionally, the operation follow state includes a processing state and a paused state. The operation response unit 11 is specifically used to: in response to a first touch operation on a target control in the interactive interface, send a first operation instruction corresponding to the first touch operation to the control unit, and determine that the interactive interface is in a processing state.

[0113] Optionally, the verification unit 13 is specifically configured to: in response to the interactive interface being in a processing state, if the first displayed content is consistent with the second displayed content, switch the interactive interface from the processing state to a signal following state; in response to the interactive interface being in a processing state, if the first displayed content is inconsistent with the second displayed content, switch the interactive interface from the processing state to a paused state; in response to the interactive interface being in the paused state, if the preset duration of the paused state is exceeded or the third displayed content generated by the control unit based on the third operation instruction corresponding to the third touch operation is obtained, switch the interactive interface to a signal following state.

[0114] Optionally, the verification unit 13 is further configured to: in response to the interactive interface being in a processing state, if a first touch operation is received on a target control in the interactive interface, send a first operation instruction corresponding to the first touch operation to the control unit, and maintain the interactive interface in the processing state.

[0115] Optionally, the operation follow state includes a processing state and a paused state. The operation response unit 11 is specifically used to respond to a first touch operation on a target control in the interactive interface, send a first operation instruction corresponding to the first touch operation to the control unit, and determine that the interactive interface is in a processing state; in response to the interactive interface being in a processing state, if a touch end operation is received on the target control in the interactive interface, the interactive interface is switched from the processing state to the paused state.

[0116] Optionally, the verification unit 13 is specifically used to: if the first displayed content is consistent with the second displayed content, switch the interactive interface from the pause state to the signal following state; if the first displayed content is inconsistent with the second displayed content, maintain the pause state; if the preset duration of the pause state is exceeded, switch the interactive interface to the signal following state.

[0117] Optionally, the verification unit 13 is specifically used to: in response to the interactive interface being in the paused state, if a fourth touch operation is received on the target control in the interactive interface, switch the interactive interface to the processing state.

[0118] It should be noted that the interface update device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the interface update method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the interface update device and the interface update method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0119] The embodiment numbers in this specification are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0120] This specification also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the above-described functionality. Figures 2-8 The interface update method of the illustrated embodiment can be found in the following document for a detailed execution process. Figures 2-8 The specific details of the illustrated embodiments will not be elaborated here.

[0121] Please refer to Figure 10 This diagram illustrates the structure of a vehicle provided in an exemplary embodiment of this specification. The vehicle in this specification may include one or more components such as a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected via the bus 150.

[0122] Processor 110 may include one or more processing cores. Processor 110 connects to various parts of the vehicle via various interfaces and lines, and executes various functions of terminal 100 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 120, and by calling data stored in memory 120. Optionally, processor 110 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 110 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user page, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 110 and may be implemented separately using a communication chip.

[0123] The memory 120 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 120 may include non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described above, etc. The operating system may be the Android system, including systems deeply developed based on the Android system, the iOS system developed by Apple Inc., including systems deeply developed based on the iOS system, or other systems.

[0124] The memory 120 can be divided into operating system space and user space. The operating system runs in the operating system space, while native and third-party applications run in user space. To ensure that different third-party applications can achieve good running performance, the operating system allocates corresponding system resources for each application. However, different application scenarios within the same third-party application have different requirements for system resources. For example, in local resource loading scenarios, third-party applications have high requirements for disk read speed; in animation rendering scenarios, third-party applications have high requirements for GPU performance. Since the operating system and third-party applications are independent of each other, the operating system often cannot promptly perceive the current application scenario of a third-party application, resulting in the operating system's inability to adapt system resources accordingly.

[0125] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to establish data communication between the third-party applications and the operating system. This would allow the operating system to obtain the current scenario information of the third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.

[0126] The input device 130 is used to receive input instructions or data, and includes, but is not limited to, a keyboard, mouse, camera, microphone, or touch device. The output device 140 is used to output instructions or data, and includes, but is not limited to, a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 can be a touch display screen.

[0127] The touch display screen can be designed as a full-screen, curved screen, or irregularly shaped screen. It can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen; however, this specification does not limit the specific design of the embodiments described herein.

[0128] In addition, those skilled in the art will understand that the vehicle structure shown in the above figures does not constitute a limitation on the vehicle. A vehicle may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, a vehicle may also include radio frequency circuits, input units, sensors, audio circuits, WiFi modules, power supplies, Bluetooth modules, etc., which will not be described in detail here.

[0129] exist Figure 10 In the vehicle shown, the processor 110 can be used to call computer applications stored in the memory 120 and specifically perform the following operations:

[0130] In response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in an operation-following state; the operation-following state means that the display content of the interactive interface is determined by the touch operation.

[0131] When the first display content generated by the control unit based on the first operation instruction is obtained, the second display content generated based on the second touch operation is obtained; the second touch operation is a touch operation after the first touch operation or is the first touch operation;

[0132] If the first displayed content is consistent with the second displayed content, the interactive interface is switched from the operation follow state to the signal follow state; the signal follow state is when the displayed content of the interactive interface is determined by the control unit.

[0133] In one embodiment, when the processor 110 executes a first operation instruction corresponding to the first touch operation to the control unit in response to a touch operation on a target control in the interactive interface, and determines that the interactive interface is in an operation-following state, it specifically performs the following operations:

[0134] In response to a first touch operation on a target control in the interactive interface, if the first touch operation corresponds to a command sending interval, the waiting time between the receiving time of the first touch operation and the end time of the timing task is determined; the end time of the timing task is set based on the sending time of the previous operation command and the command sending interval.

[0135] If the waiting time is less than or equal to zero, then the first operation instruction corresponding to the first touch operation is sent to the control unit.

[0136] In one embodiment, the processor 110 may also perform the following operations:

[0137] If the waiting time is greater than zero, then the cached instruction is updated to the first operation instruction based on the first touch operation;

[0138] When the end time of the timing task is reached, the buffer instruction is sent to the control unit.

[0139] In one embodiment, the operation-following state includes a processing state and a paused state. When the processor 110 executes a first operation instruction corresponding to the first touch operation in response to a first touch operation on a target control in the interactive interface, and determines that the interactive interface is in the operation-following state, it may specifically perform the following operations:

[0140] In response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in a processing state.

[0141] In one embodiment, when the processor 110 executes the command to switch the interactive interface from the operation-following state to the signal-following state if the first displayed content is consistent with the second displayed content, it specifically performs the following operations:

[0142] In response to the interactive interface being in a processing state, if the first displayed content is consistent with the second displayed content, the interactive interface is switched from the processing state to the signal following state.

[0143] In response to the interactive interface being in a processing state, if the first displayed content is inconsistent with the second displayed content, the interactive interface is switched from the processing state to a paused state.

[0144] In response to the interactive interface being in the pause state, if the preset duration of the pause state is exceeded or the third display content generated by the control unit based on the third operation instruction corresponding to the third touch operation is obtained, the interactive interface is switched to the signal following state.

[0145] In one embodiment, when the processor 110 executes a first operation instruction corresponding to the first touch operation to the control unit in response to a first touch operation on a target control in the interactive interface, and determines that the interactive interface is in a processing state, it specifically performs the following operations:

[0146] In response to the interactive interface being in a processing state, if a first touch operation is received on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is maintained in the processing state.

[0147] In one embodiment, when the processor 110 executes a first operation instruction corresponding to the first touch operation to the control unit in response to a first touch operation on a target control in the interactive interface, and determines that the interactive interface is in an operation-following state, it specifically performs the following operations:

[0148] In response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in a processing state.

[0149] In response to the interactive interface being in a processing state, if a touch end operation is received for the target control in the interactive interface, the interactive interface is switched from the processing state to a paused state.

[0150] In one embodiment, when the processor 110 executes the command to switch the interactive interface from the operation-following state to the signal-following state if the first displayed content is consistent with the second displayed content, it specifically performs the following operations:

[0151] If the first displayed content is the same as the second displayed content, then the interactive interface is switched from the paused state to the signal following state;

[0152] If the first displayed content is inconsistent with the second displayed content, the pause state is maintained. If the pause state exceeds a preset duration, the interactive interface is switched to signal following state.

[0153] In one embodiment, the processor 110 may also perform the following operations:

[0154] In response to the interactive interface being in the paused state, if a fourth touch operation is received on the target control in the interactive interface, the interactive interface is switched to the processing state.

[0155] In the embodiments of this specification, in response to a first touch operation on a target control in the interactive interface, a first operation command corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in an operation-following state. In this operation-following state, the display content of the interactive interface is determined by the touch operation. When the control unit obtains the first display content generated based on the first operation command, a second display content generated based on a second touch operation is obtained. The second touch operation is either a touch operation following the first touch operation or the first touch operation itself. If the first display content matches the second display content, the interactive interface is switched from the operation-following state to a signal-following state. In this signal-following state, the display content of the interactive interface is determined by the control unit. This ensures efficient interface updates during frequent user operations, and restores the normal control logic of front-end display controlled by the control unit signal when the control unit's processing result matches the display content corresponding to the operation, ensuring display accuracy.

[0156] Furthermore, in response to a first touch operation on a target control in the interactive interface, if the first touch operation corresponds to a set instruction sending interval, the waiting time between the receiving time of the first touch operation and the end time of the timing task is determined; the end time of the timing task is set based on the sending time of the previous operation instruction and the instruction sending interval; if the waiting time is less than or equal to zero, the first operation instruction corresponding to the first touch operation is sent to the control unit. By controlling the frequency of instruction issuance through the timing task, the instruction processing time of the control unit can be adapted to reduce the instruction processing load of the vehicle control unit when there are high-frequency operations.

[0157] Furthermore, the operation follow state includes a processing state and a pause state. When a touch operation is received, the interface is in the processing state, indicating that the control unit is processing the operation command corresponding to the touch operation. If the first display content returned by the control unit is received, it will be compared with the second display content on the interface. If they match, it means that the operation has been closed, and it switches back to the signal follow state. If they do not match, it means that the control unit has not yet completed the command processing, and what it received may be the result of the previous command processing, or the control unit may be malfunctioning and unable to provide the display content that the user expects to achieve. In this case, it enters the pause state. The pause state means that it is waiting for the control unit to update the display content, and the waiting time is a preset duration. If the display content returned by the control unit is not received after the preset duration, or if the third display content returned by the control unit is received within the preset duration, it will switch to the signal follow state, so that the display content of the interface is displayed according to the most recently received display content returned by the control unit.

[0158] Furthermore, when the touch operation is continuous, the interface is in a processing state from the moment the touch operation is received. The interface displays information following the user's continuous operation. When the continuous touch operation ends (i.e., the user lifts their hand to cancel the touch operation), it enters a waiting state. In the waiting state, it begins to verify the second display content returned by the control unit, determining whether it matches. If they match, it switches back to the signal following state; otherwise, it remains in the waiting state, waiting for the control unit to return a new processing result for verification, or it switches back to the signal following state after a preset duration of the waiting state. This ensures that the interface can update the displayed content in real time according to the user's operation during continuous operation, and that it can switch back to the signal following state based on the control unit's processing result after the user ends continuous operation, thus ensuring accurate and timely display when the touch type is continuous.

[0159] Additionally, embodiments of this specification provide a computer program product, which includes a computer program that, when executed by a vehicle's processor, enables the processor to at least perform the functions described above. Figures 2 to 8 The interface update method provided in the illustrated embodiment.

[0160] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The aforementioned program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The aforementioned storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0161] The above-disclosed embodiments are merely preferred embodiments of this specification and should not be construed as limiting the scope of this specification. Therefore, any equivalent variations made in accordance with the claims of this specification shall still fall within the scope of this specification.

Claims

1. A method for updating an interface, characterized in that, The method includes: In response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in an operation-following state; the operation-following state means that the display content of the interactive interface is determined by the touch operation. When the first display content generated by the control unit based on the first operation instruction is obtained, the second display content generated based on the second touch operation is obtained; the second touch operation is a touch operation after the first touch operation or is the first touch operation; If the first displayed content is consistent with the second displayed content, the interactive interface is switched from the operation follow state to the signal follow state; the signal follow state is when the displayed content of the interactive interface is determined by the control unit. The operation follow-up state includes a processing state and a paused state; The step of responding to a first touch operation on a target control in the interactive interface, sending a first operation command corresponding to the first touch operation to the control unit, and determining that the interactive interface is in an operation-following state, includes: In response to a first touch operation on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is determined to be in a processing state. If the first displayed content is consistent with the second displayed content, then the interactive interface is switched from the operation-following state to the signal-following state, including: In response to the interactive interface being in a processing state, if the first displayed content is consistent with the second displayed content, the interactive interface is switched from the processing state to the signal following state. In response to the interactive interface being in a processing state, if the first displayed content is inconsistent with the second displayed content, the interactive interface is switched from the processing state to a paused state. In response to the interactive interface being in the pause state, if the preset duration of the pause state is exceeded or the third display content generated by the control unit based on the third operation instruction corresponding to the third touch operation is obtained, the interactive interface is switched to the signal following state.

2. The method according to claim 1, characterized in that, The step of responding to a touch operation on a target control in the interactive interface, sending a first operation command corresponding to the first touch operation to the control unit, and determining that the interactive interface is in an operation-following state, includes: In response to a first touch operation on a target control in the interactive interface, if the first touch operation corresponds to a command sending interval, the waiting time between the receiving time of the first touch operation and the end time of the timing task is determined; the end time of the timing task is set based on the sending time of the previous operation command and the command sending interval. If the waiting time is less than or equal to zero, then the first operation instruction corresponding to the first touch operation is sent to the control unit.

3. The method according to claim 2, characterized in that, The method further includes: If the waiting time is greater than zero, then the cached instruction is updated to the first operation instruction based on the first touch operation; When the end time of the timing task is reached, the buffer instruction is sent to the control unit.

4. The method according to claim 1, characterized in that, The step of responding to a first touch operation on a target control in the interactive interface, sending a first operation command corresponding to the first touch operation to the control unit, and determining that the interactive interface is in a processing state includes: In response to the interactive interface being in a processing state, if a first touch operation is received on a target control in the interactive interface, a first operation instruction corresponding to the first touch operation is sent to the control unit, and the interactive interface is maintained in the processing state.

5. The method according to claim 1, characterized in that, The step of responding to a first touch operation on a target control in the interactive interface, sending a first operation command corresponding to the first touch operation to the control unit, and determining that the interactive interface is in an operation-following state, includes: In response to the interactive interface being in a processing state, if a touch end operation is received for the target control in the interactive interface, the interactive interface is switched from the processing state to a paused state. If the first displayed content is consistent with the second displayed content, then the interactive interface is switched from the operation-following state to the signal-following state, including: If the first displayed content is the same as the second displayed content, then the interactive interface is switched from the paused state to the signal following state; If the first displayed content is inconsistent with the second displayed content, the pause state is maintained. If the pause state exceeds a preset duration, the interactive interface is switched to signal following state.

6. The method according to claim 1 or 5, characterized in that, The method further includes; In response to the interactive interface being in the paused state, if a fourth touch operation is received on the target control in the interactive interface, the interactive interface is switched to the processing state.

7. An interface updating device, characterized in that, The device includes: An operation response unit is configured to respond to a first touch operation on a target control in the interactive interface, send a first operation instruction corresponding to the first touch operation to the control unit, and determine that the interactive interface is in an operation-following state; the operation-following state is that the display content of the interactive interface is determined by the touch operation; The signal acquisition unit is used to acquire a second display content generated based on a second touch operation when the control unit acquires the first display content generated based on the first operation instruction; the second touch operation is either a touch operation after the first touch operation or the first touch operation. A verification unit is configured to switch the interactive interface from the operation-following state to the signal-following state if the first displayed content is consistent with the second displayed content; the signal-following state is when the displayed content of the interactive interface is determined by the control unit. The operation follow state includes a processing state and a paused state. The operation response unit is further configured to: in response to a first touch operation on a target control in the interactive interface, send a first operation instruction corresponding to the first touch operation to the control unit, and determine that the interactive interface is in a processing state. The verification unit is further configured to: in response to the interactive interface being in a processing state, if the first displayed content is consistent with the second displayed content, switch the interactive interface from the processing state to a signal following state; in response to the interactive interface being in a processing state, if the first displayed content is inconsistent with the second displayed content, switch the interactive interface from the processing state to a paused state; in response to the interactive interface being in the paused state, if the preset duration of the paused state is exceeded or the third displayed content generated by the control unit based on the third operation instruction corresponding to the third touch operation is obtained, switch the interactive interface to a signal following state.

8. A vehicle, characterized in that, The vehicle includes a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method as claimed in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the method as described in any one of claims 1 to 6.