Vehicle interaction method, apparatus, and storage medium
By predicting and rendering the target display of the interactive interface, detecting and correcting conflicts between the display and the execution result, the problem of frequent UI element jumps caused by conflicts between preset rendering logic and callback rendering logic is solved, thus improving the smoothness and accuracy of in-vehicle interaction.
Patent Information
- Application Number
- CN202611206580.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-10
- Publication Date
- 2026-11-24
AI Technical Summary
In related technologies, when users frequently issue commands such as temperature adjustment, seat ventilation, and seat heating, there is a conflict between the preset rendering logic and the callback rendering logic, causing the UI elements on the temperature control page to change frequently, which affects the user experience.
By responding to the user's vehicle control commands, the system predicts the target display of the interactive interface, detects whether there is a conflict between the target display and the execution result, determines the new target display based on the execution result, controls the display of the interactive interface, and avoids conflicts between the preset rendering logic and the callback rendering logic.
It enables real-time visual feedback for user operations, improving the smoothness, real-time performance, and accuracy of human-computer interaction, avoiding delayed operation feedback and interface state confusion, and enhancing the in-vehicle interactive experience.
Smart Images

Figure CN123157111A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to a vehicle interaction method, device and storage medium. Background Technology
[0002] In related technologies, users issue commands to the vehicle via the temperature control page of the vehicle control module SDK (Software Development Kit), such as temperature adjustment, seat ventilation, and seat heating. The commands are sent along with preset rendering logic and success callback rendering logic to control the UI (User Interface) elements on the temperature control page. The preset rendering logic assumes the command has been successfully executed after being issued and directly renders the UI elements in a successful execution state to improve the user experience. The callback rendering logic re-renders the UI elements based on the execution result after the vehicle executes the command.
[0003] However, in related technologies, when users frequently issue commands such as temperature adjustment, seat ventilation, and seat heating, there is a conflict between the preset rendering logic and the callback rendering logic, causing the UI elements on the temperature control page to change frequently, which urgently needs to be resolved. Summary of the Invention
[0004] This application provides a vehicle interaction method, device, and storage medium to solve the problem in related technologies where conflicts exist between preset rendering logic and callback rendering logic, leading to frequent changes in UI elements on the temperature control page.
[0005] A first aspect of this application provides a vehicle interaction method, comprising the following steps: responding to a user's vehicle control command, determining a target display of an interactive interface based on the vehicle control command; controlling the display of the interactive interface according to the target display, and determining the execution result of the vehicle control command; detecting whether the target display conflicts with the execution result, and if a conflict is detected, determining a new target display according to the execution result, and controlling the display of the interactive interface.
[0006] Based on the above technical means, the embodiments of this application first predict and render the target display of the interactive interface according to the user's vehicle control command, so as to realize the real-time visual feedback of the user operation. At the same time, by comparing the target display pre-rendered on the interface with the actual execution result of the vehicle, error correction and refresh are performed in a targeted manner for display conflict scenarios, effectively eliminating the situation where the front-end prediction rendering is inconsistent with the actual running state of the vehicle. It takes into account the smoothness, real-time performance and accuracy of human-computer interaction and avoids the situation of delayed operation feedback and disordered interface state, thus greatly improving the in-vehicle interaction experience.
[0007] Optionally, in one embodiment of this application, determining the target display of the interactive interface based on the vehicle control command includes: identifying the control type of the vehicle control command; and determining the target display of the interactive interface according to the control type.
[0008] Based on the above technical means, the embodiments of this application, by first distinguishing different vehicle control types and then setting the corresponding interface display content, enable the interactive interface to accurately present the screen according to the corresponding functional rules, adapt to the display requirements of different operations, ensure that the interface display content matches the user's actual operation, and improve the intuitiveness and adaptability of human-computer interaction.
[0009] Optionally, in one embodiment of this application, before determining the execution result of the vehicle control command, the method further includes: determining whether there is an adjustment record within a preset time period; if the adjustment record exists, then prohibiting the issuance of the vehicle control command; if the adjustment record does not exist, then sending the vehicle control command to the corresponding control terminal to determine the execution result of the vehicle control command.
[0010] Based on the above technical means, the embodiments of this application intercept repeated control commands triggered continuously within a short period of time by detecting historical adjustment records within a preset time period. This not only avoids the frequent transmission of a large number of redundant commands and the occupation of network and vehicle terminal resources, but also prevents interface jumps caused by the sequential execution of multiple commands, thus ensuring the stability and smooth operation of the vehicle adjustment process.
[0011] Optionally, in one embodiment of this application, after detecting whether the target display conflicts with the execution result, the method further includes: if the target display does not conflict with the execution result, detecting whether the vehicle meets preset rendering conditions based on the actual issuance status of the vehicle control command, the number of commands, and the current adjustment status; if the preset rendering conditions are met, controlling the display of the interactive interface based on the execution result.
[0012] Based on the above technical means, this application embodiment verifies the preset rendering conditions by combining the actual issuance status, the number of instructions and the current adjustment status when the target display and execution result are consistent. After the conditions are met, the interactive interface is updated, which effectively avoids interface jumps caused by continuous issuance of instructions, ensures the stability of the interactive interface display status, and at the same time takes into account the operation experience of real-time preview on the front end.
[0013] Optionally, in one embodiment of this application, before responding to the user's vehicle control command, the method further includes: identifying the user's interactive action; identifying the user's actual intention based on the interactive action; and controlling the vehicle to enter an interactive mode if the actual intention is an interactive intention.
[0014] Based on the above technical means, the embodiments of this application, by controlling the vehicle to enter the interaction mode when the actual intention is an interaction intention, can distinguish between user active operation and unintentional accidental touch, avoid accidental operation triggering vehicle function response, and at the same time put the vehicle into standby state in advance to ensure that subsequent control commands can be processed normally and in a timely manner, thereby improving the accuracy and stability of the overall interaction.
[0015] A second aspect of this application provides a vehicle interaction device, comprising: a response module, configured to respond to a user's vehicle control command and determine a target display of an interactive interface based on the vehicle control command; a first control module, configured to control the display of the interactive interface according to the target display and determine the execution result of the vehicle control command; and a second control module, configured to detect whether the target display conflicts with the execution result, and if a conflict is detected, determine a new target display based on the execution result and control the display of the interactive interface.
[0016] Based on the above technical means, the embodiments of this application first predict and render the target display of the interactive interface according to the user's vehicle control command, so as to realize the real-time visual feedback of the user operation. At the same time, by comparing the target display pre-rendered on the interface with the actual execution result of the vehicle, error correction and refresh are performed in a targeted manner for display conflict scenarios, effectively eliminating the situation where the front-end prediction rendering is inconsistent with the actual running state of the vehicle. It takes into account the smoothness, real-time performance and accuracy of human-computer interaction and avoids the situation of delayed operation feedback and disordered interface state, thus greatly improving the in-vehicle interaction experience.
[0017] Optionally, in one embodiment of this application, the response module includes: an identification unit for identifying the control type of the vehicle control command; and a determination unit for determining the target display of the interactive interface based on the control type.
[0018] Based on the above technical means, the embodiments of this application, by first distinguishing different vehicle control types and then setting the corresponding interface display content, enable the interactive interface to accurately present the screen according to the corresponding functional rules, adapt to the display requirements of different operations, ensure that the interface display content matches the user's actual operation, and improve the intuitiveness and adaptability of human-computer interaction.
[0019] A third aspect of this application provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to implement the vehicle interaction method as described in the above embodiments.
[0020] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the vehicle interaction method described above.
[0021] A fifth aspect of this application provides a computer program product, including a computer program that, when executed, implements the vehicle interaction method described above.
[0022] This application's embodiment first predicts and renders the target display of the interactive interface based on the user's vehicle control commands, achieving real-time visual feedback for user operations. Simultaneously, by comparing the pre-rendered target display with the actual execution results of the vehicle, it specifically corrects and refreshes display conflicts, effectively eliminating inconsistencies between the front-end's predicted rendering and the vehicle's actual operating state. This balances the smoothness, real-time performance, and accuracy of human-computer interaction, avoiding delayed operation feedback and inconsistent interface states, significantly improving the in-vehicle interactive experience. Therefore, it solves the problem in related technologies where conflicts exist between preset rendering logic and callback rendering logic, leading to frequent changes in UI elements on the temperature control page.
[0023] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0024] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a schematic diagram of the callback rendering logic provided by relevant technologies; Figure 2 This is a flowchart of a vehicle interaction method provided according to an embodiment of this application; Figure 3 This is a schematic diagram of a vehicle interaction method according to an embodiment of the present application for preventing UI element jumps when the temperature control page is rapidly adjusted; Figure 4 This is a flowchart illustrating a vehicle interaction method according to an embodiment of this application; Figure 5 This is a block diagram of a vehicle interaction device provided according to an embodiment of this application; Figure 6 This is a structural schematic diagram of a vehicle provided according to an embodiment of this application.
[0025] Figure label: 50 - Vehicle interaction device; 100 - Response module; 200 - First control module; 300 - Second control module; 601 - Memory; 602 - Processor; 603 - Communication interface. Detailed Implementation
[0026] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0027] It should be noted that, based on the execution result, the callback rendering logic can be divided into two cases: if the execution result is successful, the UI elements on the temperature control page will be rendered according to the issued instructions; if the execution result is unsuccessful, the UI elements on the temperature control page will be reset to the state before the preset rendering logic of the instructions took effect.
[0028] like Figure 1 As shown, for example, when a user adjusts the current temperature from 25°C to a first target temperature of 26°C on the temperature control page, the preset rendering logic immediately takes effect, and the UI element is rendered as 26°C. At this time, the command is being issued, transmitted, and executed by the vehicle. Immediately afterwards, the user adjusts the temperature from 26°C to a second target temperature of 27°C on the temperature control page. The preset rendering logic immediately takes effect, and the UI element is rendered as 27°C. If the first temperature adjustment command is successfully executed, the callback rendering logic takes effect, and the UI element is rendered as 26°C. If the second temperature adjustment command is successfully executed, the callback rendering logic takes effect, and the UI element is rendered as 27°C. Therefore, after the user adjusts the temperature twice consecutively, the UI element jumps between 25°C, 26°C, 27°C, 26°C, and 27°C, which reduces the user experience.
[0029] To address the aforementioned problems, embodiments of this application propose a vehicle interaction method, apparatus, and storage medium. The vehicle interaction method, apparatus, and storage medium of embodiments of this application are described below with reference to the accompanying drawings.
[0030] Figure 2 This is a flowchart of a vehicle interaction method provided according to an embodiment of this application.
[0031] like Figure 2 As shown, the vehicle interaction method includes the following steps: In step S201, in response to the user's vehicle control command, the target display of the interactive interface is determined based on the vehicle control command.
[0032] Specifically, vehicle control commands refer to control commands generated by the user after triggering a control operation on the interactive interface, which are directed at the vehicle's actuators. For example, if the user adjusts the current temperature of 25°C to the first target temperature of 26°C on the temperature control page, the vehicle control command can be understood as a temperature control command for the vehicle's air conditioning.
[0033] The target display is the state or value of the UI elements in the interactive interface that is to be displayed based on the user's operation. For example, if the user adjusts the current temperature of 25 ℃ to the first target temperature of 26 ℃ on the temperature control page, the target display will be 26 ℃.
[0034] like Figure 3 As shown, taking the APP remote temperature control page as an example, before the user issues a temperature control command, this embodiment first initializes the temperature control page of the vehicle control module SDK, suppressing the parameter flags used to suppress temperature jumps: command issuance status Baic TelematicsSDK.isCommandIng, Boolean type, default false, no command is being executed; temperature control command counter tempControlNum, Integer type, default 0, indicating that no command has been issued; user-side temperature control adjustment status tempControlClick, Boolean type, default false, indicating that the user has not clicked the temperature control button.
[0035] After the user clicks the temperature control button and issues a temperature control command, the vehicle control module SDK does not wait for the full command issuance and callback process of "vehicle control module SDK, cloud control, TBOX (Telematics BOX, vehicle remote information processing terminal), cloud control, and vehicle control module SDK". It assumes that the command has been successfully executed and displays the temperature adjusted by the user as the target of the interactive interface.
[0036] In step S202, the target display control interface is displayed, and the execution result of the vehicle control command is determined.
[0037] Specifically, the execution result refers to the actual execution status data returned to the interactive interface by the vehicle actuator after executing or failing to execute a control action according to the vehicle control command. For example, on the temperature control page, a user adjusts the current temperature from 25°C to the first target temperature of 26°C. Through the command distribution process of "vehicle control module SDK, cloud control, and TBOX", the TBOX receives the command and controls the vehicle's air conditioning to heat up. Subsequently, the TBOX feeds back the execution result of the command to the vehicle control module SDK via the cloud control. It can be understood that if the vehicle's air conditioning successfully heats up, the execution result is considered successful; if the vehicle's air conditioning fails to heat up, the execution result is considered unsuccessful.
[0038] Continue as Figure 3As shown, in this embodiment, the user-adjusted temperature is used as the target display of the interactive interface, and UI elements are rendered according to the target display. On the other hand, the full instruction issuance and callback process of "vehicle control module SDK, cloud control, TBOX (Telematics BOX, vehicle remote information processing terminal), cloud control, and vehicle control module SDK" is carried out.
[0039] It should be noted that, to avoid issuing multiple commands in a short period of time and causing UI element jumps, the vehicle control module SDK can first check whether a 500 ms countdown timer exists locally before transmitting commands to the cloud control. If it exists, it means that the user has performed a temperature adjustment operation within 500 ms, which may be considered a frequent operation. The vehicle control module SDK cancels the command issuance process and resets the timer. If it does not exist, it means that the user has not performed a temperature adjustment operation within 500 ms. In this case, the vehicle control module SDK starts the timer.
[0040] After resetting or starting the Timer, the vehicle control module SDK identifies whether the user has triggered a new temperature control command. If no new temperature control command is detected within 500 ms, the vehicle control module SDK executes the command delivery process after the 500 ms timer expires. If a new temperature control command is detected within 500 ms, the new temperature is displayed as the new target and UI elements are rendered. The SDK also re-checks whether the Timer record exists locally and identifies whether the user has triggered a new temperature control command after resetting or starting the Timer.
[0041] It should be noted that the 500 ms countdown timer is mainly used to shield the instruction issuance process within 500 ms, and to filter the user's instructions during the continuous and rapid temperature adjustment process.
[0042] Continue as Figure 3 As shown, in the command issuance process, after the command is successfully sent to the cloud control platform, this embodiment processes the parameter flag bits used to suppress temperature jumps: Command issuance status: isCommanding = true, indicating that the command is in the execution process; Temperature control command counter: tempControlNum += 1, indicating that the number of commands += 1; User-side temperature control adjustment status: tempControlClick = false, indicating that the user stops the temperature control operation. After the cloud control platform sends the command to the TBOX, the cloud control platform receives the execution result of the TBOX and transmits the execution result to the vehicle control module SDK.
[0043] In step S203, it is detected whether there is a conflict between the target display and the execution result. If a conflict is detected, a new target display is determined based on the execution result, and the interactive interface display is controlled.
[0044] Specifically, a conflict between the target display and the execution result refers to a discrepancy between the interface state rendered by the front end based on the user's real-time prediction and the execution result returned by the vehicle terminal. For example, if a user adjusts the current temperature from 25°C to the first target temperature of 26°C on the temperature control page, the target display will be 26°C. If the adjustment command fails to execute and the actual temperature remains at 25°C, then the predicted target display is inconsistent with the vehicle's actual execution result, and this is considered a conflict between the two.
[0045] The new target display refers to the interface display determined based on the execution result when there is a conflict between the target display and the execution result. For example, if a user adjusts the current temperature from 25 ℃ to the first target temperature of 26 ℃ on the temperature control page, the target display will be 26 ℃. If the adjustment command fails and the actual temperature remains at 25 ℃ (the same as the initial current temperature of 25 ℃), the vehicle control module SDK will determine the actual temperature of 25 ℃ as the new target display and control the interactive interface to revert to the original state before the adjustment.
[0046] Continue as Figure 3 As shown, this application embodiment divides the execution result into two cases: if the execution result is a failure, the target display conflicts with the execution result, and the UI elements are directly reverted to the temperature before the user adjusted it; if the execution result is a success, the target display does not conflict with the execution result, and the interface preview state itself is consistent with the actual state of the vehicle, so there is no need to refresh the interface immediately. This application embodiment finally performs rendering alignment, that is, it judges the parameter flag used to suppress temperature jumps, and renders the UI elements only when "tempControlNum == 0 &&!BaicTelematicsSDK.isCommandIng &&!tempControlClick".
[0047] It should be noted that for tempControlNum == 0, since this parameter is the temperature control command counter, this parameter is incremented by 1 when the command is issued and decremented by 1 when the callback is received. Therefore, the parameter is equal to 0, indicating that the currently issued command has been executed on the vehicle side and the callback has been completed to the vehicle control module SDK through the cloud control platform.
[0048] Regarding !BaicTelematicsSDK.isCommandIng, since this parameter represents the command issuance status, it is not in a command issuance status, indicating that there are currently no commands being issued from the vehicle control module SDK to the cloud control platform. This is used to circumvent the command issuance process.
[0049] For !tempControlClick, since this parameter represents the user-side temperature control adjustment state, it is not the user-side temperature control adjustment state. This is used to avoid situations where user adjustments cause command issuance, vehicle-side callbacks, or jumps.
[0050] Optionally, in one embodiment of this application, determining the target display of the interactive interface based on the vehicle control command includes: identifying the control type of the vehicle control command; and determining the target display of the interactive interface according to the control type.
[0051] Specifically, the control type refers to the functional classification of vehicle control commands according to the control scenario, including but not limited to light control adjustment type, window opening and closing control type, door locking control type, and temperature control adjustment type. This application does not impose specific restrictions.
[0052] In actual implementation, this application embodiment first identifies the control type of the vehicle control command, and then determines the target display of the interactive interface based on the control type. Taking the control type as temperature control adjustment as an example, after the user clicks the temperature control button and issues a temperature control command, the vehicle control module SDK recognizes that the command is a temperature control adjustment type. Without waiting for the full command issuance and callback process of "vehicle control module SDK, cloud control, TBOX, cloud control, vehicle control module SDK", it assumes that the command has been successfully executed and uses the temperature adjusted by the user as the target display of the interactive interface, and renders UI elements according to the target display.
[0053] Of course, in another case, taking the control type as the window opening and closing control type as an example, after the user clicks the window closing button and issues the window closing command, the vehicle control module SDK recognizes that the command is the window opening and closing control type. Without waiting for the full command issuance and callback process of "vehicle control module SDK, cloud control, TBOX, cloud control, vehicle control module SDK", it assumes that the command has been successfully executed and uses the window state adjusted by the user as the target display of the interactive interface, so as to render the UI elements according to the target display.
[0054] This application embodiment distinguishes different vehicle control types and then sets the corresponding interface display content, enabling the interactive interface to accurately present the screen according to the corresponding functional rules, adapting to the display requirements of different operations, ensuring that the interface display content matches the user's actual operation, and improving the intuitiveness and adaptability of human-computer interaction.
[0055] Optionally, in one embodiment of this application, before determining the execution result of the vehicle control command, the method further includes: determining whether there is a control record within a preset time period; if there is a control record, then prohibiting the issuance of the vehicle control command; if there is no control record, then sending the vehicle control command to the corresponding control terminal to determine the execution result of the vehicle control command.
[0056] Specifically, the preset duration refers to a time threshold set by those skilled in the art to determine whether a user is performing frequent and continuous operations. This application embodiment does not impose specific limitations; for example, the preset duration is 500 ms.
[0057] In actual implementation, this application embodiment first determines whether there is an adjustment record within a preset time period. If there is an adjustment record, the issuance of vehicle control commands is prohibited. If there is no adjustment record, the vehicle control commands are issued to the corresponding control terminal, thereby determining the execution result of the vehicle control commands.
[0058] Continuing with the example of temperature control adjustment type and a preset duration of 500 ms, to avoid issuing multiple commands in a short period of time and causing UI element jumps, the vehicle control module SDK can first check whether there is a 500 ms countdown timer record locally before transmitting commands to the cloud control. If it exists, it means that the user has performed a temperature adjustment operation within 500 ms, which may be a frequent operation. The vehicle control module SDK cancels the command issuance process and resets the timer. If it does not exist, it means that the user has not performed a temperature adjustment operation within 500 ms. In this case, the vehicle control module SDK starts the timer.
[0059] After resetting or starting the Timer, the vehicle control module SDK identifies whether the user has triggered a new temperature control command. If no new temperature control command is detected within 500 ms, the vehicle control module SDK executes the command delivery process after the 500 ms timer expires. If a new temperature control command is detected within 500 ms, the new temperature is displayed as the new target and UI elements are rendered. The SDK also re-checks whether the Timer record exists locally and identifies whether the user has triggered a new temperature control command after resetting or starting the Timer.
[0060] This application embodiment detects historical adjustment records within a preset time period to intercept repeated control commands triggered continuously within a short period of time. This avoids the frequent transmission of a large number of redundant commands, which would occupy network and vehicle terminal resources. It also prevents interface jumps caused by the sequential execution of multiple commands, thus ensuring the stability and smooth operation of the vehicle adjustment process.
[0061] Optionally, in one embodiment of this application, after detecting whether the target display and the execution result conflict, the method further includes: if the target display and the execution result do not conflict, detecting whether the vehicle meets the preset rendering conditions based on the actual issuance status of the vehicle control command, the number of commands, and the current adjustment status; if the preset rendering conditions are met, controlling the display of the interactive interface based on the execution result.
[0062] Specifically, the actual issuance status is used to mark whether the vehicle control command is in the process of being issued. Taking the control type as temperature control adjustment type as an example, the actual issuance status corresponds to isCommandIng. If this parameter is valid, it means that there is a command being issued from the vehicle control module SDK to the cloud control platform. If this parameter is invalid, it means that there is no command being issued from the vehicle control module SDK to the cloud control platform.
[0063] The number of instructions is a statistical value of instructions that have been issued but not yet called back. Taking temperature control as an example, the number of instructions is recorded as tempControlNum. This parameter is incremented by 1 when an instruction is issued and decremented by 1 when a callback occurs. When this parameter is equal to 0, it indicates that all currently issued instructions have been executed on the vehicle side and have been called back to the vehicle control module SDK by the cloud control platform.
[0064] The current adjustment status is used to determine whether the user is continuing to make adjustments. Taking the adjustment type as temperature control as an example, the current adjustment status corresponds to tempControlClick. If this parameter is valid, it means that the user is still operating. If this parameter is invalid, it means that the user has stopped operating.
[0065] Preset rendering conditions refer to the verification rules for updating the interactive interface when the target display and execution result do not conflict. This is used to avoid interface jumps. Taking temperature control adjustment type as an example, when the actual issued state is invalid, the number of instructions is 0, and the current adjustment state is invalid, it is determined that the preset rendering conditions are met.
[0066] In actual execution, this embodiment of the application detects that the target display and the execution result do not conflict, and then detects whether the vehicle meets the preset rendering conditions based on the actual issuance status of the vehicle control command, the number of commands and the current adjustment status. If the preset rendering conditions are met, the interactive interface display is controlled according to the execution result.
[0067] Understandably, in some cases, a user might adjust the current temperature from 25°C to a first target temperature of 26°C, and then further adjust it to a second target temperature of 27°C and a third target temperature of 28°C, with the time interval between two consecutive adjustments being less than 500 ms. On one hand, the vehicle control module SDK does not wait for the full command issuance and callback process from "Vehicle Control Module SDK, Cloud Control, TBOX, Cloud Control, Vehicle Control Module SDK," and assumes successful command execution, directly rendering the UI elements at 28°C. On the other hand, it does perform the full command issuance and callback process.
[0068] Based on the above embodiments, it can be understood that before the vehicle control module SDK transmits instructions to the cloud control, a timer with a countdown of 500 ms can be set. Continuous operations within a short period will trigger a timer reset, intercepting redundant instructions. The vehicle control module SDK will only issue the last adjustment instruction, with the actual temperature set to 27 ℃. To correct UI elements and avoid abrupt changes, the UI elements will only be re-rendered to 27 ℃ if and only if "tempControlNum == 0 && !BaicTelematicsSDK.isCommandIng && !tempControlClick".
[0069] This application embodiment verifies preset rendering conditions by combining the actual issued state, the number of instructions, and the current adjustment state when the target display and execution result are consistent. After the conditions are met, the interactive interface is updated, which effectively avoids interface jumps caused by continuous instruction issuance, ensures the stability of the interactive interface display state, and also takes into account the operation experience of real-time front-end preview.
[0070] Optionally, in one embodiment of this application, before responding to the user's vehicle control command, the method further includes: recognizing the user's interactive action; recognizing the user's actual intention based on the interactive action; and controlling the vehicle to enter an interactive mode if the actual intention is an interactive intention.
[0071] Specifically, interactive actions refer to various operations performed by users on the interactive interface that can be recognized by the device. They are the basis for the device to perceive user operations and may include, but are not limited to, users clicking temperature increase / decrease buttons, sliding temperature control progress bars, and clicking function icons.
[0072] Actual intent refers to the real purpose behind a user's interactive action. It is used to distinguish between accidental touches and valid operational needs. For example, if a user clicks the temperature up button repeatedly, the actual intent is to increase the temperature inside the car. If the finger accidentally touches the button, there is no valid usage intent.
[0073] Interactive intent is a type of valid actual intent, specifically referring to the user's intention to actively interact with the vehicle system, such as the user actively adjusting the air conditioning temperature or switching the airflow mode.
[0074] Interactive mode refers to the working state that the vehicle system switches to after recognizing the user's intention to interact. In this state, the system will receive and process the user's operation normally. For example, after recognizing that the user wants to adjust the temperature, the vehicle enters interactive mode, and the interactive interface responds normally to clicks, swipes, and other operations, updating the page display in real time and processing relevant instructions.
[0075] In actual implementation, this application embodiment first collects and identifies the user's interactive actions on the interactive interface, and then judges the user's true thoughts by combining the action characteristics. Only when it is determined that the user actively wants to carry out functional interaction with the vehicle system will the vehicle switch to interactive mode to prepare to receive and process vehicle control commands.
[0076] This application embodiment controls the vehicle to enter an interactive mode when the actual intention is an interactive intention. This can distinguish between active user operation and unintentional accidental touch, avoid accidental operation triggering vehicle function response, and at the same time put the vehicle into a standby state in advance to ensure that subsequent control commands can be processed normally and in a timely manner, thereby improving the accuracy and stability of the overall interaction.
[0077] like Figure 4 As shown, taking the seat ventilation level adjustment as an example, the principle of vehicle interaction methods is illustrated.
[0078] S401 identifies the user's interaction actions and determines the user's actual intention based on the interaction actions. If the actual intention is an interaction intention, it controls the vehicle to enter the interaction mode.
[0079] In this embodiment of the application, when the user clicks the seat ventilation mode button, it determines that the operation is an active interaction intention of the user rather than a mistaken touch, and then controls the vehicle to enter the interaction mode so as to receive and process subsequent seat ventilation vehicle control commands normally.
[0080] S402 responds to the user's vehicle control command, identifies the control type of the vehicle control command, determines the target display of the interactive interface based on the control type, and controls the display of the interactive interface based on the target display.
[0081] In this embodiment of the application, in response to the vehicle control command triggered by the user to adjust the seat ventilation level, the control type corresponding to this control is first identified as the seat ventilation level adjustment type, and then the target display content corresponding to the interactive interface is determined according to the control type. The interface is updated in real time to the ventilation level (level 1, level 2, level 3) currently adjusted by the user, so as to realize the instant interface feedback of the user operation and improve the smoothness of operation.
[0082] S403, determine whether there is an adjustment record within a preset time period: if there is an adjustment record, then prohibit the issuance of vehicle control commands; if there is no adjustment record, then send the vehicle control command to the corresponding control terminal to determine the execution result of the vehicle control command.
[0083] In this embodiment, a preset duration of 500 ms is set. If the interval between two adjacent gear adjustment operations is less than 500 ms, it is determined to be a continuous and frequent operation with a valid adjustment record, and the current control command is blocked. If the interval between two adjacent gear adjustment operations exceeds 500 ms, or if the user stops operating and remains still for 500 ms without any new operation, it is determined that there is no continuous adjustment record, the current control command is released and sent to the vehicle control terminal, which is then executed by the vehicle and the corresponding execution result is fed back.
[0084] S404, Detect whether the target display and execution result conflict: If the target display and execution result conflict, determine a new target display based on the execution result and control the display of the interactive interface; if the target display and execution result do not conflict, detect whether the vehicle meets the preset rendering conditions based on the actual issuance status of the vehicle control command, the number of commands, and the current adjustment status. If the preset rendering conditions are met, control the display of the interactive interface based on the execution result.
[0085] In this embodiment, after obtaining the execution result corresponding to the gear adjustment, the target display currently shown on the interactive interface is compared and verified with the actual execution result of the vehicle. If a conflict is detected, it indicates that the vehicle control command has failed. A new target display is determined based on the vehicle's execution result, and the interactive interface is reverted to its original state before the user's adjustment operation, correcting the display deviation caused by the front-end real-time pre-rendering. If no conflict is detected, it indicates that the vehicle control command has been successfully executed. The interface remains unchanged and enters the preset rendering condition verification process. Based on the actual issuance status of the vehicle control command, the number of commands, and the current adjustment status, the system comprehensively checks whether the vehicle meets the preset rendering conditions. When the preset rendering conditions are met, the interactive interface is controlled to complete unified rendering based on the execution result, achieving a fallback alignment between the interface state and the vehicle's actual state. This effectively avoids interface jump problems caused by multiple command disorder and continuous user adjustment operations, ensuring the display stability and accuracy of the interactive interface.
[0086] The vehicle interaction method proposed in this application first predicts and renders the target display of the interactive interface based on the user's vehicle control commands, achieving real-time visual feedback for user operations. Simultaneously, by comparing the pre-rendered target display with the actual execution result of the vehicle, it specifically corrects and refreshes display conflict scenarios, effectively eliminating inconsistencies between the front-end prediction rendering and the actual vehicle operating state. This balances the smoothness, real-time performance, and accuracy of human-computer interaction, avoiding delayed operation feedback and interface state errors, significantly improving the in-vehicle interaction experience. Therefore, it solves the problem in related technologies where conflicts exist between preset rendering logic and callback rendering logic, leading to frequent changes in UI elements on the temperature control page.
[0087] Next, the vehicle interaction device proposed according to the embodiments of this application is described with reference to the accompanying drawings.
[0088] Figure 5 This is a block diagram of a vehicle interaction device provided according to an embodiment of this application.
[0089] like Figure 5 As shown, the vehicle interaction device 50 includes: a response module 100, a first control module 200, and a second control module 300.
[0090] The response module 100 is used to respond to the user's vehicle control command and determine the target display of the interactive interface based on the vehicle control command.
[0091] The first control module 200 is used to display the control interface according to the target and determine the execution result of the vehicle control command.
[0092] The second control module 300 is used to detect whether there is a conflict between the target display and the execution result, and if a conflict is detected, it determines a new target display based on the execution result and controls the display of the interactive interface.
[0093] Optionally, in one embodiment of this application, the response module 100 includes an identification unit and a determination unit.
[0094] The identification unit is used to identify the type of vehicle control command.
[0095] The determination unit is used to determine the target display of the interactive interface based on the control type.
[0096] Optionally, in one embodiment of this application, it further includes: a judgment module, a prohibition module, and a sending module.
[0097] The judgment module is used to determine whether there is an adjustment record within a preset time period; The prohibition module is used to prevent the issuance of vehicle control commands when adjustment records exist; The sending module is used to send vehicle control commands to the corresponding control terminal when no control record exists, in order to determine the execution result of the vehicle control commands.
[0098] Optionally, in one embodiment of this application, it further includes a detection module and a third control module.
[0099] The detection module is used to detect whether the vehicle meets the preset rendering conditions based on the actual issuance status of the vehicle control command, the number of commands, and the current adjustment status, when the target display and execution result do not conflict. The third control module is used to control the display of the interactive interface based on the execution result when the preset rendering conditions are met.
[0100] Optionally, in one embodiment of this application, it further includes: a first identification module and a second identification module.
[0101] The first recognition module is used to recognize the user's interactive actions.
[0102] The second recognition module is used to identify the user's actual intention based on the interaction action, and control the vehicle to enter the interaction mode if the actual intention is an interaction intention.
[0103] It should be noted that the foregoing explanation of the vehicle interaction method embodiment also applies to the vehicle interaction device of this embodiment, and will not be repeated here.
[0104] The vehicle interaction device proposed in this application first predicts and renders the target display of the interactive interface based on the user's vehicle control commands, achieving real-time visual feedback for user operations. Simultaneously, by comparing the pre-rendered target display with the actual execution result of the vehicle, it specifically corrects and refreshes display conflict scenarios, effectively eliminating inconsistencies between the front-end prediction rendering and the actual vehicle operating state. This balances the smoothness, real-time performance, and accuracy of human-computer interaction, avoiding delayed operation feedback and interface state errors, significantly improving the in-vehicle interaction experience. Therefore, it solves the problem in related technologies where conflicts exist between preset rendering logic and callback rendering logic, leading to frequent changes in UI elements on the temperature control page.
[0105] Figure 6 This is a schematic diagram of the structure of a vehicle according to an embodiment of this application. The vehicle may include: The memory 601, the processor 602, and the computer program stored on the memory 601 and capable of running on the processor 602.
[0106] When the processor 602 executes the program, it implements the vehicle interaction method provided in the above embodiments.
[0107] Furthermore, electronic devices also include: Communication interface 603 is used for communication between memory 601 and processor 602.
[0108] The memory 601 is used to store computer programs that can run on the processor 602.
[0109] The memory 601 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0110] If the memory 601, processor 602, and communication interface 603 are implemented independently, then the communication interface 603, memory 601, and processor 602 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0111] Optionally, in a specific implementation, if the memory 601, processor 602, and communication interface 603 are integrated on a single chip, then the memory 601, processor 602, and communication interface 603 can communicate with each other through an internal interface.
[0112] The processor 602 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0113] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the vehicle interaction method described above.
[0114] This application also provides a computer program product, including a computer program that, when executed, implements the vehicle interaction method described above.
[0115] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0116] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0117] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0118] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0119] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or more of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0120] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0121] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0122] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A vehicle interaction method, characterized by, Includes the following steps: In response to the user's vehicle control command, the target display of the interactive interface is determined based on the vehicle control command; The interactive interface is displayed according to the target, and the execution result of the vehicle control command is determined. The system detects whether the target display conflicts with the execution result. If a conflict is detected, a new target display is determined based on the execution result, and the interactive interface display is controlled.
2. The method of claim 1, wherein, The step of determining the target display of the interactive interface based on the vehicle control command includes: Identify the control type of the vehicle control command; The target display of the interactive interface is determined based on the control type.
3. The method of claim 1, wherein, Before determining the execution result of the vehicle control command, the method further includes: Determine if any adjustment records exist within the preset time period; If the aforementioned adjustment record exists, the issuance of the vehicle control command shall be prohibited; If the adjustment record does not exist, the vehicle control command is sent to the corresponding control terminal to determine the execution result of the vehicle control command.
4. The method of claim 1, wherein, After detecting whether the target display conflicts with the execution result, the method further includes: If the target display does not conflict with the execution result, the vehicle is checked to see if it meets the preset rendering conditions based on the actual issuance status of the vehicle control command, the number of commands and the current adjustment status. If the preset rendering conditions are met, the display of the interactive interface is controlled according to the execution result.
5. The method of claim 1, wherein, Before responding to the user's vehicle control command, it also includes: Identify the user's interactive actions; The system identifies the user's actual intent based on the interaction actions, and if the actual intent is an interaction intent, it controls the vehicle to enter the interaction mode.
6. A vehicle interaction device, characterized by include: The response module is used to respond to the user's vehicle control command and determine the target display of the interactive interface based on the vehicle control command; The first control module is used to control the display of the interactive interface according to the target display, and to determine the execution result of the vehicle control command; The second control module is used to detect whether the target display conflicts with the execution result, and if a conflict is detected, to determine a new target display based on the execution result and control the display of the interactive interface.
7. The apparatus of claim 6, wherein, The response module includes: The identification unit is used to identify the control type of the vehicle control command; The determining unit is used to determine the target display of the interactive interface based on the control type.
8. A vehicle characterized by comprising: include: A memory, a processor, and a computer program stored in the memory and capable of running on the processor, the processor executing the program to implement the vehicle interaction method as described in any one of claims 1-5.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the vehicle interaction method as described in any one of claims 1-5.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed to implement the vehicle interaction method as described in any one of claims 1-5.
