Display method, central control equipment and computer readable storage medium
By monitoring and synchronizing the status of virtual controls and hard devices in the on-board system, the problem of inconsistency caused by communication delay or signal loss is solved, and the accuracy of user operations is improved.
Patent Information
- Application Number
- CN202510147369.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2045-02-11
AI Technical Summary
In prior art In the event of communication delay or signal loss, the state of the virtual control may be inconsistent with the actual state of the hardware device, resulting in inaccuracy of user operations.
By monitoring the actual working status of the hardware within the preset time threshold and actively obtaining the latest status when necessary, ensure that the display status of the virtual control is consistent with the actual status of the hardware device. The specific implementation includes responding to user operations, determining the corresponding hardware adjustment status and control display status, sending a status signal and starting timing logic, obtaining the actual working status and adjusting the virtual control display status.
It effectively reduces the problem of display errors in the central control device caused by the failure of hardware execution device status update, improves the synchronization between the virtual control display and the hardware execution device status, thereby improving the accuracy of user operations.
Smart Images

Figure CN119611055A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a display method, a central control device and a computer-readable storage medium. Background Art
[0002] With the popularization of intelligent in-vehicle systems, central control devices interact with hardware devices through virtual controls to achieve precise control of in-vehicle functions. The display status of virtual controls needs to be synchronized with the actual status of hardware devices to improve user experience and intuitive operation.
[0003] Existing technologies usually update the display status of virtual controls by periodic query or real-time feedback. However, when there is communication delay or signal loss, the status of virtual controls may be inconsistent with the actual status of hardware devices. In addition, when users operate virtual controls quickly and continuously, the vehicle system may not be able to accurately synchronize the status due to multiple signal conflicts. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a display method, a central control device and a computer-readable storage medium, which can reduce the problem of display errors of the central control device caused by the failure to update the status of the hardware execution device, thereby improving the synchronization between the virtual control display and the status of the hardware execution device, and further improving the accuracy of user operations.
[0005] In a first aspect, an embodiment of the present invention provides a display method, which is applied to a central control device in a vehicle-mounted system, wherein the vehicle-mounted system further includes a control execution module and a hardware execution device, wherein the control execution module can receive a status signal sent by the central control device to control the working status of the hardware execution device, and feed back the actual working status of the hardware execution device to the central control device; the central control device includes a display screen and a signal pool, and a virtual control capable of adjusting the working status of the hardware execution device is displayed on the display screen; the method includes: in response to a first state adjustment operation acting on the virtual control, determining a first hardware adjustment state matching the first state adjustment operation, and a first control corresponding to the first hardware adjustment state display status; controlling the virtual control to display according to the first control display status; sending the first hardware adjustment status to the control execution module, and starting the timing logic to obtain the first timing duration; when the first timing duration reaches the preset first time threshold, obtaining the actual working status of the hardware execution device received from the control execution module from the signal pool; the signal pool stores the working status of multiple hardware execution devices, and the actual working status is the most recent working status among the multiple working statuses; if the working status of the hardware execution device indicated by the first control display status is inconsistent with the actual working status, the virtual control is adjusted to the corresponding second control display state according to the actual working status.
[0006] Furthermore, the step of adjusting the virtual control to a corresponding second control display state according to the actual working status includes: sending the first hardware adjustment status to the control execution module again, and restarting the timing logic to update the first timing duration; when the updated first timing duration reaches a preset second time threshold, determining whether the real-time working status sent by the control execution module is received; if the real-time working status is not received, adjusting the virtual control to a corresponding second control display state according to the actual working status.
[0007] Furthermore, after the step of determining whether the real-time working status sent by the control execution module is received, the method also includes: if the real-time working status is received, determining that the real-time working status is the actual working status; determining whether the working status of the hardware execution device indicated by the first control display status is consistent with the actual working status; if not, adjusting the virtual control to the corresponding second control display status according to the actual working status.
[0008] Furthermore, the control execution module can obtain the working status sent by the hardware execution device in real time or according to a preset feedback cycle, and when it is determined that the working status is different from the previous working status, it can feed back the working status to the central control device; when the first timing duration reaches the preset first time threshold, before the step of obtaining the actual working status of the hardware execution device received from the control execution module from the signal pool, the method also includes: when the first timing duration does not reach the preset first time threshold, judging whether the real-time working status sent by the received control execution module is the same as the working status of the hardware execution device indicated by the display status of the first control; if the real-time working status is the same as the working status of the hardware execution device indicated by the display status of the first control, keep the virtual control displayed according to the display status of the first control, and stop the timing logic.
[0009] Furthermore, the virtual control is a control switch; after the step of controlling the virtual control to be displayed according to the first control display state, the method further includes: adjusting the virtual control to an unadjustable state.
[0010] Furthermore, if after the step of not receiving the actual working status, the method further includes: keeping the virtual control in an unadjustable state.
[0011] Furthermore, after the step of obtaining from the signal pool the actual working state of the hardware execution device received from the control execution module, the method also includes: if the working state of the hardware execution device indicated by the display state of the first control is consistent with the actual working state, keeping the virtual control in the display state of the first control, and releasing the unadjustable state of the virtual control.
[0012] Furthermore, the virtual control is an adjustment control; a plurality of gear values are sequentially arranged on the adjustment control; in response to a first state adjustment operation acting on the virtual control, after determining a first hardware adjustment state matching the first state adjustment operation and a first control display state corresponding to the first hardware adjustment state, the method further includes: assigning the first control display state to the gear parameter; the initial value of the gear parameter is -1.
[0013] Furthermore, after the step of sending the first hardware adjustment state to the control execution module and starting the timing logic to obtain the first timing duration, the method also includes: if a second state adjustment operation acting on the virtual control is received, in response to the second state adjustment operation, determining the second hardware adjustment state corresponding to the second state adjustment operation and the third control display state corresponding to the second hardware adjustment state; updating the gear parameters based on the third control display state to obtain the updated gear parameters; controlling the virtual control to display according to the third control display state; sending the second hardware adjustment state to the control execution module, and updating the first timing duration.
[0014] Furthermore, when the first timing duration reaches a preset first time threshold, after the step of obtaining from the signal pool the actual working status of the hardware execution device received from the control execution module, the method also includes: determining whether the gear parameter is consistent with the actual working status; if the gear parameter is inconsistent with the actual working status, determining that the display status of the first control corresponding to the gear parameter is inconsistent with the actual working status.
[0015] In a second aspect, an embodiment of the present invention provides a central control device, which is applied to a vehicle-mounted system, and the vehicle-mounted system also includes a control execution module and a hardware execution device; the central control device includes a display screen and a signal pool, and a virtual control capable of adjusting the working state of the hardware execution device is displayed on the display screen; the central control device includes: a response unit, which is used to determine a first hardware adjustment state matching the first state adjustment operation and a first control display state corresponding to the first hardware adjustment state in response to a first state adjustment operation acting on the virtual control; a display unit, which is used to control the virtual control to be displayed according to the first control display state; a timing unit, which is used to send the first hardware adjustment state to the control execution module and start the timing logic to obtain a first timing duration; a storage unit, which is used to obtain the actual working state of the hardware execution device received from the control execution module from the signal pool when the first timing duration reaches a preset first time threshold; the signal pool stores the working states of multiple hardware execution devices, and the actual working state is the working state with the closest time among the multiple working states; the display unit is also used to adjust the virtual control to the corresponding second control display state according to the actual working state if the working state of the hardware execution device indicated by the first control display state is inconsistent with the actual working state.
[0016] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the program code enables the processor to execute the method as described above.
[0017] The embodiment of the present invention provides a display method, a central control device and a computer-readable storage medium. The vehicle-mounted system further includes a control execution module and a hardware execution device. The control execution module can receive a status signal sent by the central control device to control the working state of the hardware execution device, and feed back the actual working state of the hardware execution device to the central control device. The central control device includes a display screen and a signal pool. A virtual control capable of adjusting the working state of the hardware execution device is displayed on the display screen. The method includes: in response to a first state adjustment operation acting on the virtual control, determining a first hardware adjustment state matching the first state adjustment operation and a first control display state corresponding to the first hardware adjustment state; controlling the virtual control to display according to the first control display state; sending the first hardware adjustment state to the control execution module, and starting the timing logic to obtain a first timing duration; when the first timing duration reaches a preset first time threshold, obtaining the actual working state of the hardware execution device received from the control execution module from the signal pool; the signal pool stores the working states of multiple hardware execution devices, and the actual working state is the working state with the closest time among the multiple working states; if the working state of the hardware execution device indicated by the first control display state is inconsistent with the actual working state, adjusting the virtual control to the corresponding second control display state according to the actual working state. In this method, the actual working status of the hardware is monitored within the preset time threshold, and the latest status is actively obtained when necessary, ensuring that the display status of the virtual control is consistent with the actual status of the hardware device, effectively avoiding the problem of state asynchrony caused by communication delays or signal loss. The introduction of timing logic and signal pool mechanism enables the system to verify and update the status through historical status records when the hardware feedback is abnormal or delayed, thereby improving the reliability and anti-interference ability of the system. The display status of the virtual control reflects the working status of the hardware in real time, reducing the possibility of misleading the user. At the same time, users can obtain accurate status feedback without additional operations, which improves the intuitiveness of the interaction and the convenience of operation. By starting the timing logic and verifying the status only when necessary, frequent active queries and redundant signal processing are avoided, and the utilization efficiency of system resources is optimized.
[0018] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0019] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 A flow chart of a display method provided by an embodiment of the present invention; Figure 2 A schematic diagram of a vehicle-mounted system provided by an embodiment of the present invention; Figure 3 A flow chart of a method for adjusting a virtual control to a second control display state provided by an embodiment of the present invention; Figure 4 A flow chart of a method for adjusting a control to a third control display state provided by an embodiment of the present invention; Figure 5 A flow chart of a gear parameter comparison method provided by an embodiment of the present invention; Figure 6 A flow chart of a control switch display method provided by an embodiment of the present invention; Figure 7 A flow chart of a progress bar display method provided by an embodiment of the present invention; Figure 8 A schematic diagram of a central control device provided in an embodiment of the present invention.
[0022] Icons: 1-central control device; 2-control execution module; 3-hardware execution device; 4-display screen; 5-signal pool; 6-virtual control; 11-response unit; 12-display unit; 13-timing unit; 14-storage unit. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] To facilitate understanding of this embodiment, the embodiment of the present invention is described in detail below.
[0025] Embodiment 1: Figure 1 A flow chart of a display method provided by an embodiment of the present invention.
[0026] Figure 2 A schematic diagram of a vehicle-mounted system provided in an embodiment of the present invention.
[0027] The display method is applied to a central control device 1 in a vehicle-mounted system, referring to Figure 2 The vehicle-mounted system further includes a control execution module 2 and a hardware execution device 3. The control execution module 2 can receive a status signal sent by the central control device 1 to control the working state of the hardware execution device 3, and feed back the actual working state of the hardware execution device 3 to the central control device 1. The central control device 1 includes a display screen 4 and a signal pool 5. The display screen 4 displays a virtual control 6 that can adjust the working state of the hardware execution device 3. The signal pool 5 stores the working states of multiple hardware execution devices 3, and the actual working state is the most recent working state among the multiple working states.
[0028] Here, the central control device is used to display and control virtual controls, is responsible for signal interaction with the control execution module, and updates its own display according to the status information returned by the hardware. The central control device is connected to the control execution module through a communication interface.
[0029] The control execution module may be an MCU (Micro Control Unit), which is used to filter the hardware status signal, select the status change signal and forward it to the central control device; receive the control signal sent by the central control device and forward it to the hardware execution device.
[0030] The hardware execution device is a specific device that executes the control instructions issued by the central control device and updates its own status, and at the same time feeds back the current status to the central control device through the control execution module.
[0031] The control execution module can obtain the working status sent by the hardware execution device 3 in real time or according to a preset feedback cycle, and when it is determined that the working status is different from the previous working status, it feeds back the working status to the central control device.
[0032] The hardware execution device will continuously send its actual working status (such as the current switch status or value) to the control execution module. The control execution module is preset to obtain the hardware status in one of two modes: Real-time mode: Whenever the hardware status changes, the actual working status of the hardware execution device is obtained immediately.
[0033] Periodic mode: The actual working status of the hardware execution device is obtained in a preset feedback period (such as 500 milliseconds or 1 second). The feedback period can be the same as or different from the preset first time threshold and the preset second time threshold.
[0034] Specifically, if the hardware execution device is a volume adjuster, the hardware execution device will send its current volume value (such as the volume is 6); if the hardware execution device is a switch, it will send its current state (such as on or off).
[0035] The control execution module determines whether the actual working state is the same as the previous actual working state.
[0036] Among them, the control execution module compares the actual working state currently sent by the hardware execution device with its previous stored state. If they are the same, it means that the working state of the hardware execution device has not changed, and no feedback is given to avoid redundant information occupying the communication bandwidth. If they are different, it means that the working state of the hardware execution device has changed, and the latest state needs to be notified to the central control device.
[0037] When the control execution module determines that the current hardware state is inconsistent with the previous state, the latest actual working state is fed back to the central control device through the communication interface so that the central control device can update the display state of the virtual control. After receiving the state, the central control device will store the new actual working state in the signal pool.
[0038] Specifically, the current state of the hardware execution device is that the volume is 6, and the previous state is also that the volume is 6, and the control execution module does not need to send this information to the central control device.
[0039] If the current state is updated to volume 7, the control execution module recognizes that the state has changed and needs to pass it to the central control device.
[0040] The control execution module sends the status to the central control device, which stores the status in the signal pool after receiving it.
[0041] Reference Figure 1 , the display methods include: Step S101 , in response to a first state adjustment operation acting on a virtual control, determining a first hardware adjustment state matching the first state adjustment operation and a first control display state corresponding to the first hardware adjustment state.
[0042] Here, the user operates a virtual control (such as a control switch or an adjustment control) through a software interface to trigger a first state adjustment operation. According to the user's operation, a target hardware state (i.e., a first hardware adjustment state) matching the operation is determined, for example, a switch is set to on or a progress bar is adjusted to a certain gear value.
[0043] According to the first hardware adjustment state, a corresponding virtual control display state (first control display state) is generated, such as a display-on state or a position change of a progress bar.
[0044] Step S102, controlling the virtual control to be displayed according to the first control display state.
[0045] Here, the central control device updates the display effect of the virtual control according to the display state of the first control. For example, the icon color or text of the switch control changes to indicate on or off. The slider position of the progress bar is adjusted to a new position corresponding to the user operation. Through timely visual feedback, the user can initially perceive that his operation has been received by the central control device.
[0046] Specifically, the user clicks the control switch, the central control device displays it as a closed state (first control display state) and determines that the first hardware adjustment state is closed, and controls the control switch to display off.
[0047] When the user drags the progress bar to a value of 6, the first hardware adjustment state is determined to be 6, and the progress bar display is updated to 6 in real time.
[0048] Step S103: Send the first hardware adjustment state to the control execution module, and start the timing logic to obtain a first timing duration.
[0049] Here, the first hardware adjustment state (such as on, off or a certain gear value) is sent as a state signal to the control execution module, and the control execution module then transmits the instruction to the hardware execution device. At the same time, the timing logic is started to record the duration (first timing duration) starting from the time point of sending the signal.
[0050] The purpose of the timing logic is to enable the central control device to actively obtain the actual status of the hardware for synchronous display after the timing expires when the hardware feedback is delayed or abnormal.
[0051] Step S104, when the first timing duration reaches the preset first time threshold, the actual working status of the hardware execution device received from the control execution module is obtained from the signal pool; the signal pool stores the working status of multiple hardware execution devices, and the actual working status is the most recent working status among the multiple working statuses.
[0052] Here, the preset first time threshold can be preset according to actual conditions, and can be set to 2s.
[0053] If the timing time reaches the preset first time threshold, the central control device reads the most recent actual working state of the hardware from the signal pool. The signal pool is a cache module used to record multiple working states fed back by the hardware execution device through the control execution module and sort them according to the receiving time.
[0054] The central control device selects the most recent actual working status as a reference for the current hardware status.
[0055] In one embodiment, before step S104, the method further includes: When the first timing duration does not reach the preset first time threshold, it is determined whether the real-time working state received from the control execution module is the same as the working state of the hardware execution device indicated by the first control display state.
[0056] Here, during the timing process, the central control device continuously monitors the real-time working status sent by the control execution module and compares it with the status displayed by the current virtual control: If the real-time working status is the same as the display status of the first control, it means that the user operation has been synchronized with the hardware status and no additional adjustment is required.
[0057] If the real-time working state is different from the first control display state, continue to wait for the timing to complete, or take further synchronization operations.
[0058] If the real-time working state is the same as the working state of the hardware execution device indicated by the first control display state, the virtual control is kept displayed according to the first control display state, and the timing logic is stopped.
[0059] Here, when it is detected that the real-time working state is consistent with the display state of the first control, the timing logic is terminated immediately to avoid wasting system resources. The virtual control maintains the current display state without further updating to ensure the stability of the interface display.
[0060] Step S105: If the working state of the hardware execution device indicated by the first control display state is inconsistent with the actual working state, the virtual control is adjusted to the corresponding second control display state according to the actual working state.
[0061] Here, the current display state of the virtual control (first control display state) and the actual working state of the hardware are compared.
[0062] If the two do not match (for example, the user setting is on, but the hardware state is still off), the hardware state was not updated correctly.
[0063] The display state of the virtual control is adjusted to the second control display state according to the actual working state, so as to synchronize the actual state of the user interface with the hardware.
[0064] Specifically, if the user operates the switch to display on, but the hardware is not actually turned on, and within the preset first time threshold, the central control device does not receive any feedback from the control execution module, after 2 seconds the central control device obtains the actual hardware status as on from the signal pool, and controls the control switch to rebound to the off state.
[0065] If the gear value of the hardware is not successfully adjusted to the target value, the slider position displayed in the progress bar will return to the actual gear value of the hardware.
[0066] In one embodiment, referring to Figure 3 In step S105, the step of adjusting the virtual control to the corresponding second control display state according to the actual working state includes: Step S201, sending the first hardware adjustment state to the control execution module again, and restarting the timing logic to update the first timing duration.
[0067] Here, after the first timing logic ends, if the first control display state displayed by the virtual control is inconsistent with the actual working state, the central control device resends the previously determined first hardware adjustment state (such as on, off or a specific gear value) to the control execution module to ensure that the hardware can receive clear adjustment instructions and reduce state asynchrony caused by communication anomalies.
[0068] While resending the first hardware adjustment state, the timing logic is restarted to start a new timing duration (first timing duration).
[0069] The new timing duration may be different from the first time threshold, and the preset second time threshold can be adjusted according to system performance or hardware response time (for example, from 2 seconds to 1 second). By updating the timing logic, the central control device can flexibly adapt to different hardware and communication conditions.
[0070] Step S202: When the updated first timing duration reaches a preset second time threshold, it is determined whether the real-time working status sent by the control execution module is received.
[0071] Here, after restarting the timing logic, the central control device continuously monitors the real-time working status of the hardware sent by the control execution module.
[0072] When the timing duration reaches the second time threshold, the central control device will check whether the real-time working status is successfully received.
[0073] If the real-time working status is received, it is determined whether the current virtual control display status needs to be updated according to the real-time working status. If it is inconsistent, the virtual control display status is adjusted immediately.
[0074] If the real-time working status is not received, it may be due to hardware communication anomalies or other external factors causing delays. Further processing measures are required to ensure that the display of the virtual control is consistent with the actual status of the hardware.
[0075] Step S203: If the real-time working status is not received, the virtual control is adjusted to a corresponding second control display state according to the actual working status.
[0076] Here, in the case of not receiving the real-time working status, the central control device extracts the last received actual working status of the hardware from the signal pool as a reference, and uses the reference status to update the display effect of the virtual control, that is, adjust the virtual control to the corresponding second control display state.
[0077] Specifically, if the actual state of the hardware is off, but the virtual control is still displayed as on, adjust it to off. If the actual gear value of the hardware is 5, and the virtual control is displayed as 6, adjust it to 5. Ensure that the display state of the virtual control is synchronized with the hardware state in the event of communication anomalies or signal delays.
[0078] In one embodiment, after determining in step S202 whether the real-time working status sent by the control execution module is received, the method further includes: If the real-time working status is received, determine that the real-time working status is the actual working status; determine whether the working status of the hardware execution device indicated by the first control display status is consistent with the actual working status; if they are inconsistent, adjust the virtual control to the corresponding second control display status according to the actual working status.
[0079] Here, the real-time working status is the current real status of the hardware execution device fed back by the control execution module.
[0080] After receiving the real-time working status, the central control device determines it as the actual working status and uses it as the only basis for updating the display status of the virtual control.
[0081] The central control device updates the actual working status to the signal pool, ensuring that the status becomes the latest reference in subsequent operations and provides accurate data support for future synchronization and status checks.
[0082] First control display state: the state of the current virtual control displayed on the user interface, usually based on user operation settings.
[0083] Actual working status: The actual working status of the hardware execution device, obtained through feedback from the control execution module.
[0084] By comparing the first control display state with the actual working state, it is determined whether the display of the virtual control is synchronized with the hardware state.
[0085] If the two are consistent, it means that the virtual control display status is accurate and no further adjustment is required.
[0086] If the two are inconsistent, it means that the display status is not synchronized with the actual hardware status, and the display status of the virtual control needs to be adjusted.
[0087] When it is found that the display state of the first control is inconsistent with the actual working state, the display state of the virtual control is updated immediately. The adjusted display state (ie, the display state of the second control) accurately reflects the actual working state of the hardware execution device.
[0088] After adjustment, the central control device informs the user that the display status has been updated through interface prompts or color changes.
[0089] In one embodiment, the virtual control may be a control switch. The control switch is used to control the state of the hardware execution device (e.g., on / off). The switch control is usually presented in the user interface in the form of a button, displays the current state, and allows the user to click to switch the state.
[0090] When the virtual control is a control switch, after step S102, the method further includes: Adjust the virtual controls to an unadjustable state.
[0091] Here, after the user operates the switch control, the control display is updated to the first control display state, for example, the user clicks on, the control switch display is immediately updated to the on state. The user clicks off, the control switch display is immediately updated to the off state.
[0092] After the control updates the display status, the central control system temporarily sets it to an unadjustable state, that is, the control becomes gray or invalid, and the user cannot operate it again. This prevents users from performing multiple quick operations before the hardware status is updated. This prevents the hardware from receiving repeated instructions multiple times due to frequent clicks, which increases the system load.
[0093] Specifically, the user clicks on, and the control switch is displayed as on, but because the central control device is waiting for hardware feedback, the control switch temporarily becomes gray, and the user cannot click it again until the central control device completes verification.
[0094] In one embodiment, when the virtual control is a control switch, after the step of not receiving the actual working state, the method further includes: Keep virtual controls non-adjustable.
[0095] Here, if the control execution module fails to return to the actual working state within the preset time, the communication between the central control device and the control execution module may fail, or the hardware execution device may fail, and the central control device controls the virtual control to remain in an unadjustable state, and does not allow the user to perform the next operation. This state will continue until the actual working state of the hardware execution device is correctly synchronized by other means, or the central control device and the control execution module are reconnected.
[0096] Keeping the control switch in the unadjustable state is used to prompt the user that there may be a problem with the communication between the current central control device and the hardware execution device, and to prevent the user from mistakenly believing that the operation has been completed. At the same time, it can protect the central control device from further invalid operations.
[0097] In one embodiment, when the virtual control is a control switch, after the step of acquiring from the signal pool the actual working state of the hardware execution device received from the control execution module in step S104, the method further includes: If the working state of the hardware execution device indicated by the first control display state is consistent with the actual working state, the virtual control is kept in the first control display state, and the non-adjustable state of the virtual control is released.
[0098] Here, after the timing duration ends or the real-time feedback arrives, the latest status of the hardware execution device is obtained from the signal pool.
[0099] Compare the control display state (first control display state) with the actual working state of the hardware.
[0100] If the two are consistent, it means that the hardware has been successfully updated to the target state set by the user. The display state of the first control is maintained, and the virtual control does not need to adjust the display state, and the current state remains unchanged.
[0101] After confirming that the control display state is consistent with the hardware state, the control switch is released from the non-adjustable state. The control returns to the operable state, allowing the user to interact again.
[0102] The central control device controls the switch of the control to return from the gray state to the highlighted or normal state. The user can observe the change of the control state through the interface.
[0103] In one embodiment, the virtual control may also be an adjustment control. The adjustment control is used to set the working state of the hardware execution device, such as volume adjustment, wind speed adjustment, etc. The adjustment control is presented in the form of a slide bar or button, and the user can select a specific gear value.
[0104] The gear values of the adjustment controls are arranged in a fixed order (such as 1, 2, 3, 4, 5). Each gear value corresponds to a specific hardware state, for example: gear 1 represents the minimum volume, and gear 5 represents the maximum volume. Gear changes trigger hardware adjustments.
[0105] When the virtual control is an adjustment control, in step S101, after the step of determining a first hardware adjustment state matching the first state adjustment operation in response to a first state adjustment operation acting on the virtual control, the method further includes: Assign the display state of the first control to the gear parameter; the initial value of the gear parameter is -1.
[0106] Here, the gear parameter is a temporary variable used to store the current target gear value. The initial value is set to -1, indicating that no specific gear is currently set.
[0107] The central control device assigns the gear value of the first control display state generated by the user operation to the gear parameter as a reference for subsequent hardware state synchronization and display adjustment. For example, if the user selects gear 3, the gear parameter is updated to 3.
[0108] In one embodiment, referring to Figure 4 After step S103, the method further includes: Step S301, if a second state adjustment operation acting on the virtual control is received, in response to the second state adjustment operation, a second hardware adjustment state corresponding to the second state adjustment operation and a third control display state corresponding to the second hardware adjustment state are determined.
[0109] Here, the second state adjustment operation is when the user operates the adjustment control again when the first operation is not completed, such as quickly sliding to a new gear position. This operation will overwrite the previous operation and generate a new hardware adjustment state.
[0110] The central control device calculates a new target gear value according to the second operation of the user and generates a second hardware adjustment state.
[0111] The third control display state is to update the display state of the adjustment control according to the new target gear value (such as moving the slider to a new position).
[0112] Step S302, updating the gear parameters based on the display state of the third control to obtain updated gear parameters.
[0113] Here, the central control device assigns the gear value of the new third control display state to the gear parameter. For example, if the user slides from gear 3 to gear 5, the gear parameter is updated to 5.
[0114] Each user operation will overwrite the previous gear parameter value to ensure that the system records the latest target gear.
[0115] When the user selects the desired gear value by dragging, it is not a single operation, but a continuous operation process. Every time the slider position changes, a new gear value (such as 1, 2, 3, 4, 5, 6) is generated, and these gear values are assigned to the gear parameters one by one.
[0116] Step S303, controlling the virtual control to be displayed according to the third control display state.
[0117] Here, the central control device immediately updates the adjustment control to the third control display state, and the visual feedback of the adjustment control reflects the user's latest operation in real time, improving the user experience and enabling the user to intuitively perceive the operation results.
[0118] Step S304: Send the second hardware adjustment status to the control execution module and update the first timing duration.
[0119] Here, the central control device sends the new second hardware adjustment state to the control execution module, instructing the hardware execution device to update to the latest gear position.
[0120] When the user selects the desired gear value by dragging, each gear value generates a hardware adjustment state, and each hardware adjustment state is sent to the control execution module one by one in the form of an independent signal. For example, when the user drags the slider from value 1 to value 6, the control execution module will receive 6 independent signals in sequence.
[0121] When dragging the progress bar quickly, each time the central control device generates and sends a new hardware adjustment status, the timing logic will be triggered, and the first timing duration will be updated to record the time when the current signal is sent, so as to ensure that the hardware execution device feedback is completed within the set time. Among them, if the timing logic has not been started, a new timing task will be created; if the timing logic has been started, the timing task will be refreshed to ensure effective monitoring of status synchronization during rapid changes.
[0122] In one embodiment, when the virtual control is an adjustment control, refer to Figure 5 After step S104, the method further includes: Step S401, determining whether the gear parameter is consistent with the actual working state.
[0123] Here, the gear parameter records the user's last operation target for the virtual control (such as the target gear value). The central control device compares the value of the gear parameter with the actual working state obtained from the signal pool.
[0124] If the two are consistent, it means that the hardware execution device has been successfully adjusted to the target state expected by the user and no further operation is required.
[0125] If the two are inconsistent, it means that the status of the hardware execution device has not been successfully updated, or an exception has occurred during the communication process.
[0126] Step S402: If the gear parameter is inconsistent with the actual working state, determine that the display state of the first control corresponding to the gear parameter is inconsistent with the actual working state.
[0127] Here, it is determined whether the display state of the first control corresponding to the gear parameter (target state) is consistent with the actual working state.
[0128] If they are inconsistent, it means that the display of the virtual control fails to accurately reflect the current state of the hardware. The display state of the virtual control is adjusted to ensure that the interface is consistent with the actual operating state of the hardware execution device.
[0129] In one embodiment, when the virtual control is an adjustment control, after step S105, the method further includes: Reset the gear parameters to the initial values.
[0130] Here, after completing the display adjustment, the central control device resets the gear parameter to its initial value -1 to clear the last operation record to avoid interfering with subsequent operations, indicating that the current hardware status and display status are synchronized and no further tracking and adjustment is required.
[0131] After the gear parameters are reset, the central control device enters the initial state and is ready to accept the next operation from the user.
[0132] Specifically, the user drags the progress bar to value 6 (gear parameter = 6), and the actual working state in the signal pool is 5. The actual working state is compared with the gear parameter and found to be inconsistent, and the hardware adjustment state with the progress bar value 6 is sent to the control execution module again.
[0133] If the feedback information sent by the control execution module is not received, the central control device adjusts the display of the virtual control from 6 to 5 based on the actual working status in the signal pool. At the same time, the gear parameter is reset to -1.
[0134] If the feedback information sent by the control execution module is received, the central control device determines that the actual working state in the feedback information is the actual working state, and compares the updated actual working state with the gear parameter. If they are consistent, the display remains unchanged; if they are inconsistent, the display of the virtual control is adjusted based on the updated actual working state. At the same time, the gear parameter is reset to -1.
[0135] In a specific application scenario, refer to Figure 6 , when the virtual control is a control switch, its corresponding hardware execution device is the air conditioner, and the control execution module is the MCU, the user clicks the control switch on the central control device of the vehicle system, intending to switch the state of the air conditioner from off to on. During the whole process, the central control device needs to ensure that the control display state is consistent with the actual state of the hardware execution device.
[0136] 1. Central control equipment: The user clicks the control switch to trigger the first state adjustment operation.
[0137] The control display state is immediately updated to on (the first control display state), indicating that the switch has been activated, and the control switch is grayed out.
[0138] The central control device generates the first hardware adjustment state (on) according to the user's operation and sends it to the MCU. At the same time, the 2-second timing logic is started to prepare to check the hardware state within the preset time.
[0139] 2.MCU receives and processes the signal: After receiving the on-state signal sent by the central control device, the MCU immediately forwards the command to the air conditioner.
[0140] The air conditioner switches state from off to on according to the command received.
[0141] The air conditioner feeds back the current status (on) to the MCU.
[0142] The MCU determines whether the status signal returned by the air conditioner is the same as the status fed back last time. If they are the same, redundant signal transmission is avoided. If they are different, the latest status signal is sent back to the central control device.
[0143] 3.Signal feedback and verification Receive the real-time hardware status signal (on) fed back by the MCU, and determine whether the real-time hardware status signal is consistent with the control switch display status.
[0144] If the control switch display state (on) is consistent with the feedback state, the timing logic is stopped.
[0145] If they are inconsistent, the central control device continues to receive the signal sent by the MCU until the 2-second timer ends. The central control device obtains the most recent hardware status record from the signal pool as the actual working status.
[0146] If the signal sent by the MCU is not received within 2 seconds, the 2-second timing logic is started again. If no real-time feedback is received after the 2-second timing, the central control device obtains the most recent hardware status record from the signal pool as the actual working status.
[0147] 4. Status adjustment If the display state (on) of the control switch is consistent with the feedback state, determine that the display state of the current control switch is correct, and change the control switch from gray to highlighted.
[0148] If the actual state of the signal pool (off) is inconsistent with the displayed state of the current control switch (on), adjust the displayed state of the control switch to the actual state (off). At the same time, keep the control switch in gray state until the actual working state of the air conditioner is correctly synchronized through other means, or the central control device re-establishes a connection with the MCU.
[0149] In a specific application scenario, refer to Figure 7, when the virtual control is a progress bar, its corresponding hardware execution device is a light, and the control execution module is an MCU, the user drags the progress bar on the central control device of the vehicle system to adjust the light brightness. During the whole process, the central control device needs to ensure that the control display status is consistent with the actual status of the hardware execution device.
[0150] 1. Central control equipment: The user quickly drags the progress bar on the central control device to adjust the light brightness from gear 1 to gear 6. During the dragging process, 6 first hardware adjustment states are generated and sent in sequence: 1, 2, 3, 4, 5, 6. At the same time, the control progress bar displays the gear corresponding to the dragging.
[0151] Each time a value is generated, the gear parameter is immediately updated to the current gear value. For example, when the gear is adjusted to 6, the gear parameter is 6.
[0152] The central control device sends each first hardware adjustment state to the MCU once, and starts the 2-second timing logic at the same time. If the timing logic is already in progress (for example, starting from the target value 1), the timing is refreshed and the timing is restarted for 2 seconds.
[0153] 2.MCU receives the target values in sequence and sends them to the hardware: The MCU receives six first hardware adjustment states (1, 2, 3, 4, 5, 6) in sequence, and sends the received first hardware adjustment state to the hardware execution device each time.
[0154] After receiving each target value, the hardware adjusts the light brightness in sequence. For example, the hardware updates the brightness in the order of 1→2→3→4→5→6.
[0155] After each hardware adjustment is completed, the current brightness value (1, 2, 3, 4, 5, 6) will be fed back to the MCU in sequence.
[0156] 3. MCU gradually transmits the feedback value to the central control device: The MCU sends each value (1, 2, 3, 4, 5, 6) of the hardware feedback to the central control device one by one to ensure that the central control device receives the hardware status in a timely manner.
[0157] The central control device receives feedback values in the following order: 1, 2, 3, 4, 5, 6.
[0158] 4. The central control device compares the signals through the gear parameters: The central control device compares each feedback value received with the current gear parameter (6). If the feedback value is not equal to the gear parameter, the value is ignored and the display state of the virtual control is not updated. For example, when the feedback value is 1, 2, 3, 4, 5, unlike 6, these values are directly discarded.
[0159] If the feedback value is equal to 6, the update progress bar is displayed as the final state 6.
[0160] When the feedback value 6 is received, the timing logic stops and the gear parameter is reset to -1, indicating that the current operation is completed.
[0161] If no feedback value consistent with the gear parameter is received before the timing ends (for example, the feedback is finally stuck at 5), the timeout logic is triggered.
[0162] If no signal is received from the MCU when the timing ends, the disconnection logic is triggered.
[0163] 5. Timeout logic processing (if there is a delay) If the timing duration reaches 2 seconds and no feedback value consistent with 6 is received, the central control device obtains the most recent hardware status (for example, feedback value 5) from the signal pool.
[0164] Update the actual state value 5 in the signal pool to the progress bar display to ensure that the interface is synchronized with the hardware status. The timing logic stops, and the gear parameter is reset to -1, ready to accept new operations.
[0165] 6. Disconnection logic processing (if there is a connection interruption) If no signal is received from the MCU when the timing ends, the last first hardware adjustment state (6) is resent to the MCU and the timing starts again.
[0166] If the signal sent by the MCU is still not received at the end of the timing, the central control device obtains the most recent hardware status (for example, feedback value 1) from the signal pool. The actual status value 1 in the signal pool is updated to the progress bar display to ensure that the interface is synchronized with the hardware status. The timing logic stops, and the gear parameter is reset to -1, ready to accept new operations.
[0167] An embodiment of the present invention provides a display method, which is applied to a central control device in a vehicle-mounted system. The vehicle-mounted system also includes a control execution module and a hardware execution device. The control execution module can receive a status signal sent by the central control device to control the working state of the hardware execution device, and feed back the actual working state of the hardware execution device to the central control device; the central control device includes a display screen and a signal pool, and a virtual control capable of adjusting the working state of the hardware execution device is displayed on the display screen; the method includes: in response to a first state adjustment operation acting on the virtual control, determining a first hardware adjustment state matching the first state adjustment operation, and a first control display state corresponding to the first hardware adjustment state; controlling the virtual control to display according to the first control display state; sending the first hardware adjustment state to the control execution module, and starting a timing logic to obtain a first timing duration; when the first timing duration reaches a preset first time threshold, obtaining the actual working state of the hardware execution device received from the control execution module from the signal pool; the signal pool stores the working states of multiple hardware execution devices, and the actual working state is the working state with the closest time among the multiple working states; if the working state of the hardware execution device indicated by the first control display state is inconsistent with the actual working state, adjusting the virtual control to a corresponding second control display state according to the actual working state. In this way, the problem of central control device display errors caused by failure to update the hardware execution device status can be reduced, thereby improving the synchronization between the virtual control display and the hardware execution device status, thereby improving the accuracy of user operations.
[0168] Embodiment 2: Figure 8 A schematic diagram of a central control device provided in an embodiment of the present invention.
[0169] Reference Figure 2 The central control device 1 is applied to the vehicle system, and the vehicle system also includes a control execution module 2 and a hardware execution device 3; the central control device 1 includes a display screen 4 and a signal pool 5, and the display screen 4 displays a virtual control 6 that can adjust the working state of the hardware execution device 3.
[0170] Reference Figure 8 , the central control device 1 includes: The response unit 11 is used to determine a first hardware adjustment state matching the first state adjustment operation and a first control display state corresponding to the first hardware adjustment state in response to a first state adjustment operation acting on the virtual control.
[0171] The display unit 12 is used to control the virtual control to be displayed according to the first control display state.
[0172] The timing unit 13 is used to send the first hardware adjustment state to the control execution module and start the timing logic to obtain a first timing duration.
[0173] The storage unit 14 is used to obtain the actual working status of the hardware execution device received from the control execution module from the signal pool when the first timing duration reaches a preset first time threshold; the signal pool stores the working status of multiple hardware execution devices, and the actual working status is the most recent working status among the multiple working statuses.
[0174] The display unit 12 is further used to adjust the virtual control to a corresponding second control display state according to the actual working state if the working state of the hardware execution device indicated by the first control display state is inconsistent with the actual working state.
[0175] In one embodiment, the display unit 12 is further configured to: The first hardware adjustment state is sent to the control execution module again, and the timing logic is restarted to update the first timing duration.
[0176] When the updated first timing duration reaches the preset second time threshold, it is determined whether the real-time working status sent by the control execution module is received.
[0177] If the real-time working status is not received, the virtual control is adjusted to the corresponding second control display state according to the actual working status.
[0178] In one embodiment, the display unit 12 is further configured to: If the real-time working status is received, determine that the real-time working status is the actual working status; determine whether the working status of the hardware execution device indicated by the first control display status is consistent with the actual working status; if they are inconsistent, adjust the virtual control to the corresponding second control display status according to the actual working status.
[0179] In one embodiment, the control execution module can obtain the working status sent by the hardware execution device in real time or according to a preset feedback cycle, and when it is determined that the working status is different from the previous working status, the working status is fed back to the central control device. The storage unit 14 is also used to: When the first timing duration does not reach the preset first time threshold, it is determined whether the real-time working state received from the control execution module is the same as the working state of the hardware execution device indicated by the first control display state.
[0180] If the real-time working state is the same as the working state of the hardware execution device indicated by the first control display state, the virtual control is kept displayed according to the first control display state, and the timing logic is stopped.
[0181] In one embodiment, when the virtual control is a control switch, the display unit 12 is further used to: Adjust the virtual controls to an unadjustable state.
[0182] In one embodiment, the display unit 12 is further configured to: If the working state of the hardware execution device indicated by the first control display state is consistent with the actual working state, the virtual control is kept in the first control display state, and the non-adjustable state of the virtual control is released.
[0183] In one embodiment, the virtual control is an adjustment control; a plurality of gear values are sequentially arranged on the adjustment control. When the virtual control is an adjustment control, the display unit 12 is further used to: Assign the display state of the first control to the gear parameter; the initial value of the gear parameter is -1.
[0184] In one embodiment, the display unit 12 is further configured to: If a second state adjustment operation acting on the virtual control is received, in response to the second state adjustment operation, a second hardware adjustment state corresponding to the second state adjustment operation and a third control display state corresponding to the second hardware adjustment state are determined.
[0185] The gear parameter is updated based on the third control display state to obtain an updated gear parameter.
[0186] The virtual control is controlled to be displayed according to the third control display state.
[0187] The second hardware adjustment state is sent to the control execution module, and the first timing duration is updated.
[0188] In one embodiment, the storage unit 14 is further configured to: Determine whether the gear parameters are consistent with the actual working status.
[0189] If the gear parameter is inconsistent with the actual working state, it is determined that the display state of the first control corresponding to the gear parameter is inconsistent with the actual working state.
[0190] An embodiment of the present invention provides a central control device, in which the problem of central control device display errors caused by failure to update the hardware execution device status can be reduced, thereby improving the synchronization between the virtual control display and the hardware execution device status, and further improving the accuracy of user operations.
[0191] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. The computer-readable medium stores a computer program, and when the computer program is executed by a processor, the steps of the display method of the above embodiment are executed.
[0192] The computer program product provided in the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment and will not be repeated here.
[0193] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0194] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0195] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0196] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0197] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A display method, characterized in that: A central control device applied to an in-vehicle system, the in-vehicle system further comprising a control execution module and a hardware execution device, the control execution module being capable of receiving a status signal sent by the central control device to control the working status of the hardware execution device, and feeding back the actual working status of the hardware execution device to the central control device; the central control device comprising a display screen and a signal pool, the display screen displaying a virtual control capable of adjusting the working status of the hardware execution device; the method comprising: In response to a first state adjustment operation acting on the virtual control, determining a first hardware adjustment state matching the first state adjustment operation and a first control display state corresponding to the first hardware adjustment state; Controlling the virtual control to be displayed according to the display state of the first control; Sending the first hardware adjustment state to the control execution module, and starting the timing logic to obtain a first timing duration; When the first timing duration reaches a preset first time threshold, obtaining from the signal pool the actual working state of the hardware execution device received from the control execution module; the signal pool stores the working states of multiple hardware execution devices, and the actual working state is the working state with the closest time among the multiple working states; If the working state of the hardware execution device indicated by the first control display state is inconsistent with the actual working state, the virtual control is adjusted to a corresponding second control display state according to the actual working state.
2. The display method according to claim 1, characterized in that: The step of adjusting the virtual control to a corresponding second control display state according to the actual working state includes: Sending the first hardware adjustment state to the control execution module again, and restarting the timing logic to update the first timing duration; When the updated first timing duration reaches a preset second time threshold, determining whether the real-time working status sent by the control execution module is received; If the real-time working status is not received, the virtual control is adjusted to a corresponding second control display state according to the actual working status.
3. The display method according to claim 2, characterized in that: After the step of determining whether the real-time working status sent by the control execution module is received, the method further includes: If the real-time working status is received, determine that the real-time working status is the actual working status; determine whether the working status of the hardware execution device indicated by the first control display status is consistent with the actual working status; if they are inconsistent, adjust the virtual control to the corresponding second control display status according to the actual working status.
4. The display method according to claim 1, characterized in that: The control execution module can obtain the working status sent by the hardware execution device in real time or according to a preset feedback cycle, and when it is determined that the working status is different from the previous working status, feed back the working status to the central control device; Before the step of acquiring, from the signal pool, the actual working state of the hardware execution device received from the control execution module when the first timing duration reaches a preset first time threshold, the method further includes: When the first timing duration does not reach the preset first time threshold, determining whether the received real-time working state sent by the control execution module is the same as the working state of the hardware execution device indicated by the first control display state; If the real-time working state is the same as the working state of the hardware execution device indicated by the first control display state, the virtual control is kept displayed according to the first control display state, and the timing logic is stopped.
5. The display method according to claim 1, characterized in that: The virtual control is a control switch; After the step of controlling the virtual control to be displayed according to the first control display state, the method further includes: The virtual control is adjusted to an unadjustable state.
6. The display method according to claim 5, characterized in that: After the step of acquiring from the signal pool the actual working state of the hardware execution device received from the control execution module, the method further includes: If the working state of the hardware execution device indicated by the first control display state is consistent with the actual working state, the virtual control is kept in the first control display state, and the non-adjustable state of the virtual control is released.
7. The display method according to claim 1, characterized in that: The virtual control is an adjustment control; a plurality of gear values are arranged in sequence on the adjustment control; After the step of determining, in response to a first state adjustment operation acting on the virtual control, a first hardware adjustment state matching the first state adjustment operation and a first control display state corresponding to the first hardware adjustment state, the method further includes: Assign the first control display state to the gear parameter; the initial value of the gear parameter is -1.
8. The display method according to claim 7, characterized in that: After the step of sending the first hardware adjustment state to the control execution module and starting the timing logic to obtain the first timing duration, the method further includes: If a second state adjustment operation acting on the virtual control is received, in response to the second state adjustment operation, determining a second hardware adjustment state corresponding to the second state adjustment operation and a third control display state corresponding to the second hardware adjustment state; Update the gear parameter based on the display state of the third control to obtain an updated gear parameter; Controlling the virtual control to be displayed according to the third control display state; The second hardware adjustment state is sent to the control execution module, and the first timing duration is updated.
9. The display method according to claim 7, characterized in that: After the step of acquiring, from the signal pool, the actual working state of the hardware execution device received from the control execution module when the first timing duration reaches a preset first time threshold, the method further includes: Determining whether the gear parameter is consistent with the actual working state; If the gear parameter is inconsistent with the actual working state, it is determined that the first control display state corresponding to the gear parameter is inconsistent with the actual working state.
10. A central control device, characterized in that: Applied to an in-vehicle system, the in-vehicle system further includes a control execution module and a hardware execution device; the central control device includes a display screen and a signal pool, and the display screen displays a virtual control capable of adjusting the working state of the hardware execution device; the central control device includes: a response unit, configured to, in response to a first state adjustment operation acting on the virtual control, determine a first hardware adjustment state matching the first state adjustment operation and a first control display state corresponding to the first hardware adjustment state; A display unit, used for controlling the virtual control to be displayed according to the first control display state; A timing unit, configured to send the first hardware adjustment state to the control execution module and start a timing logic to obtain a first timing duration; a storage unit, configured to obtain, from the signal pool, the actual working state of the hardware execution device received from the control execution module when the first timing duration reaches a preset first time threshold; the signal pool stores a plurality of working states of the hardware execution devices, and the actual working state is a working state with the closest time among the plurality of working states; The display unit is further used to adjust the virtual control to a corresponding second control display state according to the actual working state if the working state of the hardware execution device indicated by the first control display state is inconsistent with the actual working state.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the display method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Parameter setting apparatus, audio signal processing apparatus, and parameter setting method
CN105607846A
Display equipment and method for presenting multimedia screensaver information
CN110708581A
Display driving method and device of display screen, equipment and medium
CN115188326A
Search processing method, device and equipment
CN116842245A
Signal processing method and device, storage medium and vehicle
CN117193578A