Instruction execution result determination method and device, electronic equipment and storage medium

By establishing decision-making tasks on the user terminal and making decisions based on target status data, the problem of misjudgment caused by the asynchrony between command response results and vehicle status data in remote vehicle control services is solved, achieving accuracy and consistency of command execution results and improving user experience.

CN122437789APending Publication Date: 2026-07-21CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHONGQING CHANGAN AUTOMOBILE CO LTD
Filing Date
2026-06-16
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In remote vehicle control services, the reporting of vehicle status data is affected by the reporting cycle and communication latency. The time when the command response result and the latest vehicle status data arrive at the user terminal are not synchronized, which leads to the inconsistency between the command response result received by the user terminal and the vehicle status data, resulting in misjudgment of the command execution result.

Method used

When a remote control command is issued from a user terminal, a decision task is established, and the status of the target status data is decided through the decision task to determine the final execution result of the remote control command. This includes obtaining decision parameters such as the target status field, status value, command sending time, and waiting time, and determining whether the target status data and its status changes are received within the effective time window to avoid misjudgment due to inconsistency between the command response result and the status data.

Benefits of technology

It improves the accuracy of command execution result judgment, enhances the consistency and reliability of remote vehicle control result feedback, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122437789A_ABST
    Figure CN122437789A_ABST
Patent Text Reader

Abstract

The application relates to an instruction execution result determination method and device, electronic equipment and a storage medium. The method comprises the following steps: in response to a triggering operation of a user, generating and issuing a remote control instruction, and establishing a decision task corresponding to the remote control instruction; receiving and analyzing an instruction response result corresponding to the remote control instruction; in the case that the instruction response result represents that the remote control instruction is executed successfully, determining the state of target state data based on the decision task, wherein the target state data is state data associated with the remote control instruction and periodically sent by a vehicle; and determining the final execution result of the remote control instruction based on the decision result. In this way, the state of the target state data can be determined by using the decision task, the final execution result of the remote control instruction is determined, and thus the situation that the instruction response result received by the user terminal and the vehicle state data are inconsistent and misjudgment occurs is avoided, and the accuracy of instruction execution result determination is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle networking technology, specifically to a method, device, electronic device, and storage medium for determining the result of instruction execution. Background Technology

[0002] In remote vehicle control services, after the user terminal initiates a remote control command, the command is usually forwarded by the vehicle network service platform to the vehicle's telematics box (TBox) for execution. The command response result is then returned by the vehicle's TBox to the vehicle network service platform, which then forwards it to the user terminal. At the same time, the vehicle's status data can be sent to the user terminal by the vehicle network service platform through periodic reporting.

[0003] In practical applications, due to the impact of reporting cycles and communication latency on vehicle status data reporting, the time when the command response result and the latest vehicle status data arrive at the user terminal are not synchronized. This leads to inconsistencies between the command response result received by the user terminal and the vehicle status data, resulting in misjudgments of command execution results. Therefore, improving the accuracy of command execution results has become an urgent technical problem to be solved. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, and storage medium for determining instruction execution results, in order to solve the problem in the related art where the time of instruction response results and the latest status data of the vehicle end are not synchronized, resulting in inconsistencies between the instruction response results received by the user terminal and the status data of the vehicle end, and thus misjudging the instruction execution results.

[0005] Firstly, this application provides a method for determining the result of instruction execution, the method comprising: In response to a user's trigger operation, a remote control command is generated and issued, and a decision task corresponding to the remote control command is established; Receive and parse the instruction response result corresponding to the remote control instruction; If the instruction response result indicates that the remote control instruction has been successfully executed, a decision is made on the state of the target state data based on the decision task, wherein the target state data is the state data associated with the remote control instruction that is periodically sent by the vehicle. Based on the decision results, the final execution result of the remote control command is determined.

[0006] Optionally, the step of making a decision on the state of the target state data based on the decision task includes: Obtain the decision parameters corresponding to the decision task, wherein the decision parameters include a target state field, a target state value, an instruction sending time, and a waiting time; Determine whether the target status data is received within the effective time window, and whether the value of the target status field in the target status data has changed to the target status value, wherein the effective time window is determined based on the instruction sending time and the waiting time; If the target status data is received within the effective time window, and the value of the target status field in the target status data is changed to the target status value, then the status of the target status data is determined to be normal. If the target status data is not received within the effective time window, and / or the value of the target status field in the target status data is not changed to the target status value, the status of the target status data is determined to be abnormal.

[0007] Optionally, determining the final execution result of the remote control command based on the decision result includes: If the target status data is normal, the final execution result of the remote control command is determined to be successful. If the target status data is abnormal, the final execution result of the remote control command is determined to be unknown.

[0008] Optionally, the decision parameters may further include instruction type; Before obtaining the decision parameters corresponding to the decision task, the method further includes: Obtain the instruction type, instruction sending time, and updated status data reception time for each historical remote control instruction; Based on the instruction type, instruction sending time, and updated status data reception time of each historical remote control instruction, the average waiting time for each instruction type is determined. Based on the average waiting time of instructions corresponding to each instruction type, the waiting time corresponding to each decision task is determined.

[0009] Optionally, after receiving and parsing the instruction response result corresponding to the remote control instruction, the method further includes: If the instruction response result indicates that the remote control instruction has failed to execute, the final execution result of the remote control instruction is determined to be an execution failure.

[0010] Optionally, the decision parameters may further include vehicle identifier and instruction identifier; The process of responding to a user's triggering operation, generating and issuing remote control commands, and establishing a decision task corresponding to the remote control commands includes: In response to user-triggered operations, multiple remote control commands are generated and issued in parallel, and decision tasks corresponding to each remote control command are established in parallel based on the vehicle identifier and command identifier corresponding to each remote control command.

[0011] Optionally, after determining the final execution result of the remote control command based on the decision result, the method further includes: Based on the final execution result of the remote control command, a prompt message is generated.

[0012] Secondly, this application also provides an instruction execution result determination device, the device comprising: A module is established to generate and issue remote control commands in response to user-triggered operations, and to establish decision tasks corresponding to the remote control commands. The receiving and parsing module is used to receive and parse the instruction response results corresponding to the remote control instructions; The decision module is used to make a decision on the state of the target state data based on the decision task when the instruction response result indicates that the remote control instruction has been successfully executed, wherein the target state data is state data associated with the remote control instruction sent periodically by the vehicle. The first determining module is used to determine the final execution result of the remote control command based on the decision result.

[0013] Thirdly, this application also provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the instruction execution result determination method described in the first aspect.

[0014] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the instruction execution result determination method described in the first aspect.

[0015] The beneficial effects of this application are: (1) This application establishes a decision task when the user terminal issues a remote control command, and uses the decision task to make a decision on the status of the target status data, so as to realize the decision on the final execution result of the remote control command, thereby avoiding the situation of misjudgment due to the inconsistency between the command response result received by the user terminal and the vehicle status data, thereby improving the accuracy of the command execution result judgment.

[0016] (2) By performing time-series correlation between the command response result of the control link and the target state data of the state link, this application can avoid user misjudgment caused by "response success but state not synchronized", and improve the consistency, credibility and user experience of remote vehicle control result feedback. Attached Figure Description

[0017] Figure 1 A flowchart illustrating a method for determining the execution result of an instruction, provided in an embodiment of this application; Figure 2 This application provides a schematic diagram illustrating the interaction process between a user terminal, a vehicle networking service platform, and a vehicle-side TBox, as shown in the embodiments of this application. Figure 3 A flowchart illustrating another method for determining the execution result of an instruction provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an instruction execution result determination device provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0018] The embodiments of this application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be understood that the preferred embodiments are only for illustrating this application and are not intended to limit the scope of protection of this application.

[0019] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0020] For ease of description, spatial relative terms may be used in the text to describe the relative position or movement of one element or feature relative to another element or feature, as shown in the figure. These relative terms include, for example, "inside," "outside," "middle," "outer," "below," "below," "above," "front," "back," etc. Such spatial relative terms are intended to include different orientations of the device in use or operation, other than those depicted in the figure. For example, if the device in the figure undergoes a positional flip, orientation change, or change of motion, these directional indications will change accordingly. For instance, an element described as "below other elements or features" or "below other elements or features" will subsequently be oriented "above other elements or features" or "above other elements or features." Therefore, the example term "below" can include both upper and lower orientations. The device may be otherwise oriented (rotated 90 degrees or in other directions), and the spatial relative descriptors used in the text will be interpreted accordingly.

[0021] To address the problem in related technologies where the timing of command response results and the latest vehicle status data arriving at the user terminal is not synchronized, leading to inconsistencies between the command response results received by the user terminal and the vehicle status data, and resulting in misjudgments of command execution results, this application provides a method, apparatus, electronic device, and storage medium for determining command execution results, which can improve the accuracy of command execution results.

[0022] See Figure 1 , Figure 1 This is a flowchart illustrating a method for determining the execution result of an instruction, as provided in an embodiment of this application. Figure 1 As shown, this data export method may include the following steps: Step S102: In response to the user's trigger operation, generate and issue remote control commands, and establish decision tasks corresponding to the remote control commands.

[0023] It should be noted that the instruction execution result determination method provided in this application embodiment can be applied to user terminals (such as mobile phones, personal computers, laptops, wearable devices, etc.). The user terminal can connect to the vehicle through the vehicle network service platform to realize remote control of the vehicle.

[0024] Specifically, the aforementioned remote control commands can be commands related to remotely controlling the vehicle, such as remotely turning on the vehicle's air conditioning or remotely closing the windows. Each decision task corresponds one-to-one with a remote control command; that is, each remote control command corresponds to a decision task. Each decision task is used to determine the execution result of its corresponding remote control command.

[0025] Step S104: Receive and parse the instruction response results corresponding to the remote control instruction.

[0026] Specifically, after the user terminal issues a remote control command, the command can be sent to the vehicle-side TBox via the vehicle-to-everything (V2X) service platform for execution. The vehicle's command response is then returned to the V2X service platform by the vehicle-side TBox, which forwards it to the user terminal. The user terminal can then receive and parse the command response to determine if it is abnormal.

[0027] Step S106: If the instruction response result indicates that the remote control instruction has been successfully executed, a decision is made on the state of the target state data based on the decision task. The target state data is the state data associated with the remote control instruction that is periodically sent by the vehicle.

[0028] Specifically, when the user terminal parses and confirms that the remote control command has been successfully executed, it can make a decision on the state of the target state data based on the decision task corresponding to the remote control command, so as to determine whether the state of the target state data is abnormal.

[0029] Step S108: Based on the decision results, determine the final execution result of the remote control command.

[0030] Specifically, after determining the decision result, the user terminal can determine the final execution result of the remote control command based on the decision result.

[0031] In this way, by establishing a decision task when the user terminal issues a remote control command, and using the decision task to make a decision on the state of the target state data, the final execution result of the remote control command is determined. This avoids misjudgments caused by inconsistencies between the command response received by the user terminal and the vehicle's state data, thereby improving the accuracy of command execution result judgment. Furthermore, by performing time-series correlation judgment between the command response result of the control link and the target state data of the state link, user misjudgments caused by "successful response but outdated state" can be avoided, improving the consistency, reliability, and user experience of remote vehicle control result feedback.

[0032] In an optional embodiment, step S106, making a decision on the state of the target state data based on the decision task, includes: Obtain the decision parameters corresponding to the decision task, including the target state field, target state value, instruction sending time, and waiting time. Determine whether target status data has been received within the effective time window, and whether the value of the target status field in the target status data has changed to the target status value. The effective time window is determined based on the instruction sending time and the waiting time. If the target status data is received within the effective time window and the value of the target status field in the target status data is changed to the target status value, the status of the target status data is determined to be normal. If no target status data is received within the valid time window, and / or the value of the target status field in the target status data is not changed to the target status value, the target status data is determined to be abnormal.

[0033] Specifically, when a user terminal makes a decision about the status of target status data based on a decision task, it can first obtain the decision parameters corresponding to the decision task, such as the target status field, target status value, instruction sending time, and waiting duration corresponding to the remote control instruction. Then, based on the instruction sending time and waiting duration, it determines the effective time window for decision-making (i.e., the time window between the instruction sending time and the decision deadline, where the decision deadline = instruction sending time + waiting duration), and determines whether the target status data is received within the effective time window, and whether the value of the target status field in the target status data has changed to the target status value. If the target status data is received within the effective time window, and the value of the target status field in the target status data has changed to the target status value, then the status of the target status data can be determined to be normal; if the target status data is not received within the effective time window, and / or the value of the target status field in the target status data has not changed to the target status value, then the status of the target status data can be determined to be abnormal.

[0034] It should be noted that since the target status data is uploaded periodically by the vehicle, in order to ensure that the target status data can be received within the effective time window under normal network conditions, the waiting time needs to be set to be at least greater than one target status data upload cycle. As an optional implementation, the effective time window can typically be set to 3 to 5 target status data upload cycles.

[0035] In this way, the decision-making task can accurately determine the status of the target status data associated with the remote control command, thereby avoiding misjudgment due to inconsistency between the command response result received by the user terminal and the vehicle status data, and improving the accuracy of the command execution result judgment.

[0036] In an optional embodiment, step S108, determining the final execution result of the remote control command based on the decision result, includes: If the target status data is normal, the final execution result of the remote control command is determined to be successful. If the target status data is abnormal, the final execution result of the remote control command is determined to be unknown.

[0037] Specifically, based on the decision-making task, when the user terminal determines that the target status data is normal (i.e., the user terminal receives the updated target status data within the valid time window), the final execution result of the remote control command can be determined as successful. At this time, the user terminal can display the final execution result to facilitate user confirmation and understanding of the command execution status. When the target status data is determined to be abnormal (i.e., the user terminal does not receive the updated target status data within the valid time window), the final execution result of the remote control command is determined to be unknown. In this case, there may be a network or vehicle-side failure, causing the target status data to fail to update or the updated target status data to fail to upload in a timely manner. After determining that the final execution result of the remote control command is unknown, the user terminal can provide a prompt on the user interface to facilitate the user's timely check of the network status or vehicle.

[0038] In an optional embodiment, the decision parameters further include the instruction type; before the above steps and obtaining the decision parameters corresponding to the decision task, the method further includes: Obtain the instruction type, instruction sending time, and updated status data reception time for each historical remote control instruction; Based on the instruction type, instruction sending time, and updated status data reception time of each historical remote control instruction, the average waiting time for each instruction type is determined. Based on the average waiting time of instructions corresponding to each instruction type, the waiting time corresponding to each decision task is determined.

[0039] Specifically, the user terminal can obtain the instruction type, instruction sending time, and updated status data reception time of each historical remote control instruction within the most recent preset time period. Then, based on the instruction type, instruction sending time, and updated status data reception time of each historical remote control instruction, the average waiting time of each instruction type is determined. Finally, based on the average waiting time of each instruction type, the waiting time of each decision task is determined.

[0040] This allows for the statistical analysis of the average waiting time for each historical remote control command, enabling dynamic adjustment of the waiting time for each decision-making task. This ensures that the effective time window for each decision-making task better aligns with actual needs, avoiding situations where setting the window too long leads to low efficiency or setting it too short leads to misjudgment.

[0041] In an optional embodiment, after step S104 above, receiving and parsing the instruction response result corresponding to the remote control instruction, the method further includes: If the command response result indicates that the remote control command has failed to execute, the final execution result of the remote control command is determined to be execution failure.

[0042] Specifically, when the user terminal parses the command response result and determines that the remote control command has failed, it can directly determine that the final execution result of the remote control command is execution failure, without having to make a decision on the state of the target state data based on the decision task. At this time, the remote control command execution failure information can be directly generated on the user terminal's user interface so that the user can understand the command execution status.

[0043] It should be noted that after the user terminal determines that the final execution result of the remote control command is a failure, it will not automatically retry the remote control command. This can avoid the risk of secondary control caused by repeatedly sending control commands in scenarios with network jitter or status delay.

[0044] In an optional embodiment, the decision parameters further include a vehicle identifier and an instruction identifier; In response to user-triggered actions, generate and issue remote control commands, and establish decision tasks corresponding to the remote control commands, including: In response to user-triggered operations, multiple remote control commands are generated and issued in parallel, and decision tasks corresponding to each remote control command are established in parallel based on the vehicle identifier and command identifier corresponding to each remote control command.

[0045] Specifically, after receiving multiple trigger operations from the user, the user terminal can generate multiple remote control commands in parallel and issue these commands. At the same time, it can also establish decision tasks corresponding to each remote control command in parallel based on the vehicle identifier and command identifier corresponding to each remote control command. In this way, decisions can be made on the state of the target state data corresponding to each remote control command based on the decision tasks corresponding to each remote control command.

[0046] In this way, the user terminal can concurrently maintain multiple decision-making tasks and perform association matching based on vehicle identifiers and command identifiers. At the same time, multiple remote control commands are independently timed and judged without affecting each other, thereby improving the concurrency of command execution result determination.

[0047] In an optional embodiment, after step S108 above, which determines the final execution result of the remote control command based on the decision result, the method further includes: Based on the final execution result of the remote control command, a prompt message is generated.

[0048] Specifically, after determining the final execution result of the remote control command, the user terminal can generate a prompt message based on the final execution result of the remote control command, so as to promptly remind the user whether the remote control command was executed successfully and the reason for the failure, so that the user can understand the command execution result in a timely manner.

[0049] In an optional embodiment, the instruction execution result determination method can be applied to a vehicle-to-everything (V2X) system composed of a user terminal, a vehicle-to-everything (V2X) service platform, and a vehicle-mounted TBox. The interaction process between the user terminal, the V2X service platform, and the vehicle-mounted TBox is as follows: Figure 2 As shown, the vehicle-to-everything (V2X) service platform primarily handles message relay and does not participate in determining the execution result of commands. The vehicle-side TBox is mainly responsible for receiving remote control commands, executing vehicle control, returning command response results, and reporting status data. The user terminal is mainly responsible for establishing decision-making tasks, receiving command response results and status data, determining the command execution result, and outputting the result status information. The command execution result determination process can be as follows: Figure 3 As shown, the specific steps include the following: Step S302: After the user initiates a vehicle control operation on the user terminal, the user terminal generates and issues a remote control command and creates a decision task. This decision task includes at least the vehicle identifier, command identifier, command type, target status field, target status value, command sending time t0, waiting time T, and decision deadline td = t0 + T.

[0050] Step S304: The vehicle-to-everything (V2X) service platform relays the remote control command to the vehicle-side TBox. After receiving and executing the command, the vehicle-side TBox asynchronously returns the command response result, which is then forwarded to the user terminal by the V2X service platform.

[0051] Step S306: The user terminal receives the instruction response result and determines whether the instruction response was successful. If the response fails, proceed to step S308; if the response is successful, proceed to step S310.

[0052] Step S308: The task is determined to have "execution failed" and the decision task is closed.

[0053] Step S310: Entering the status observation phase, the user terminal continuously receives status data reports from the vehicle within the effective time window and determines whether the value of the target status field has changed to the target status value. Different instruction types can be set with different effective time windows, and the value range of the effective time window can be from 2 seconds to 15 seconds.

[0054] If the value of the target status field is detected to change to the target status value within the valid time window, then proceed to step S312; if the value of the target status field is not detected to change to the target status value within the valid time window, then proceed to step S314.

[0055] Step S312: Determine "execution successful" and close the decision task.

[0056] Step S314: Determine "execution result unknown" and close the decision task.

[0057] Step S316: The user terminal outputs the judgment result as standardized result status information for the upper-layer business module to call. The upper-layer business can use this information to refresh the page, send message notifications, or perform business flow.

[0058] For example, a user issues a "turn on the air conditioner" command, with the target status field being "air conditioner controller on / off status" and the target status value being "on". If the command response fails, it is directly judged as an execution failure; if the command response is successful and "air conditioner controller on / off status" is detected as "on" within the valid time window, it is judged as an execution success; if the response is successful but "air conditioner controller on / off status" is not detected as "on" within the valid time window or the status is inconsistent, it is judged as an unknown execution result.

[0059] In this way, by performing a time-series correlation between the command response results of the control link and the status data reported by the status link, user misjudgments caused by "successful response but outdated status" can be avoided, thereby improving the consistency, reliability, and user experience of remote vehicle control results feedback.

[0060] See Figure 4 , Figure 4 This is a schematic diagram of an instruction execution result determination device provided in an embodiment of this application. Figure 4 As shown, the instruction execution result determination device 400 includes: Module 402 is established to respond to user-triggered operations, generate and issue remote control commands, and establish decision tasks corresponding to the remote control commands; The receiving and parsing module 404 is used to receive and parse the instruction response results corresponding to the remote control instructions; The decision module 406 is used to make a decision on the state of the target state data based on the decision task when the instruction response result indicates that the remote control instruction has been successfully executed. The target state data is the state data associated with the remote control instruction sent periodically by the vehicle. The first determining module 408 is used to determine the final execution result of the remote control command based on the decision result.

[0061] Furthermore, decision module 406 includes: The acquisition submodule is used to acquire the decision parameters corresponding to the decision task. The decision parameters include the target status field, the target status value, the instruction sending time, and the waiting time. The judgment submodule is used to determine whether the target status data has been received within the effective time window, and whether the value of the target status field in the target status data has been changed to the target status value. The effective time window is determined based on the instruction sending time and the waiting time. The first determination submodule is used to determine that the target status data is normal when the target status data is received within the effective time window and the value of the target status field in the target status data is changed to the target status value. The second determination submodule is used to determine that the target status data is abnormal if no target status data is received within the effective time window, and / or the value of the target status field in the target status data has not been changed to the target status value.

[0062] Furthermore, the first determining module 408 includes: The third determination submodule is used to determine the final execution result of the remote control command as successful if the target status data is normal. The fourth determination submodule is used to determine that the final execution result of the remote control command is unknown when the target status data is abnormal.

[0063] Furthermore, the decision parameters also include the instruction type; the instruction execution result determination device 400 also includes: The acquisition module is used to acquire the instruction type, instruction sending time, and updated status data reception time corresponding to each historical remote control instruction. The second determining module is used to determine the average waiting time of each instruction type based on the instruction type, instruction sending time, and updated status data receiving time of each historical remote control instruction. The third determination module is used to determine the waiting time corresponding to each decision task based on the average waiting time of the instructions corresponding to each instruction type.

[0064] Furthermore, the instruction execution result determination device 400 also includes: The fourth determination module is used to determine that the final execution result of the remote control command is execution failure when the command response result indicates that the remote control command has failed.

[0065] Furthermore, the decision parameters also include vehicle identifiers and instruction identifiers; module 402 is specifically used for: In response to user-triggered operations, multiple remote control commands are generated and issued in parallel, and decision tasks corresponding to each remote control command are established in parallel based on the vehicle identifier and command identifier corresponding to each remote control command.

[0066] Furthermore, the instruction execution result determination device 400 also includes: The generation module is used to generate prompt messages based on the final execution result of the remote control commands.

[0067] It should be noted that the instruction execution result determination device 400 can implement the instruction execution result determination method provided in any of the aforementioned method embodiments and achieve the same technical effect, which will not be elaborated here.

[0068] like Figure 5 As shown, this application embodiment also provides an electronic device, including a processor 511, a communication interface 512, a memory 513 and a communication bus 514, wherein the processor 511, the communication interface 512 and the memory 513 communicate with each other through the communication bus 514. Memory 513 is used to store computer programs; In one embodiment of this application, when the processor 511 executes the program stored in the memory 513, it implements the instruction execution result determination method provided in any of the foregoing method embodiments.

[0069] In addition, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, wherein when the computer program is executed by a processor, it implements the instruction execution result determination method provided in any of the foregoing method embodiments.

[0070] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0071] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0072] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.

[0073] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for determining the result of instruction execution, characterized in that, The method includes: In response to a user's trigger operation, a remote control command is generated and issued, and a decision task corresponding to the remote control command is established; Receive and parse the instruction response result corresponding to the remote control instruction; If the instruction response result indicates that the remote control instruction has been successfully executed, a decision is made on the state of the target state data based on the decision task, wherein the target state data is the state data associated with the remote control instruction that is periodically sent by the vehicle. Based on the decision results, the final execution result of the remote control command is determined.

2. The method according to claim 1, characterized in that, The decision-making process based on the decision-making task, which involves making a decision about the state of the target state data, includes: Obtain the decision parameters corresponding to the decision task, wherein the decision parameters include a target state field, a target state value, an instruction sending time, and a waiting time; Determine whether the target status data is received within the effective time window, and whether the value of the target status field in the target status data has changed to the target status value, wherein the effective time window is determined based on the instruction sending time and the waiting time; If the target status data is received within the effective time window, and the value of the target status field in the target status data is changed to the target status value, then the status of the target status data is determined to be normal. If the target status data is not received within the effective time window, and / or the value of the target status field in the target status data is not changed to the target status value, the status of the target status data is determined to be abnormal.

3. The method according to claim 2, characterized in that, Determining the final execution result of the remote control command based on the decision outcome includes: If the target status data is normal, the final execution result of the remote control command is determined to be successful. If the target status data is abnormal, the final execution result of the remote control command is determined to be unknown.

4. The method according to claim 2, characterized in that, The decision parameters also include the instruction type; Before obtaining the decision parameters corresponding to the decision task, the method further includes: Obtain the instruction type, instruction sending time, and updated status data reception time for each historical remote control instruction; Based on the instruction type, instruction sending time, and updated status data reception time of each historical remote control instruction, the average waiting time for each instruction type is determined. Based on the average waiting time of instructions corresponding to each instruction type, the waiting time corresponding to each decision task is determined.

5. The method according to claim 1, characterized in that, After receiving and parsing the instruction response result corresponding to the remote control instruction, the method further includes: If the instruction response result indicates that the remote control instruction has failed to execute, the final execution result of the remote control instruction is determined to be an execution failure.

6. The method according to claim 1, characterized in that, The decision parameters also include vehicle identification and instruction identification; The process of responding to a user's triggering operation, generating and issuing remote control commands, and establishing a decision task corresponding to the remote control commands includes: In response to user-triggered operations, multiple remote control commands are generated and issued in parallel, and decision tasks corresponding to each remote control command are established in parallel based on the vehicle identifier and command identifier corresponding to each remote control command.

7. The method according to claim 1, characterized in that, After determining the final execution result of the remote control command based on the decision result, the method further includes: Based on the final execution result of the remote control command, a prompt message is generated.

8. A device for determining the result of instruction execution, characterized in that, The device includes: A module is established to generate and issue remote control commands in response to user-triggered operations, and to establish decision tasks corresponding to the remote control commands. The receiving and parsing module is used to receive and parse the instruction response results corresponding to the remote control instructions; The decision module is used to make a decision on the state of the target state data based on the decision task when the instruction response result indicates that the remote control instruction has been successfully executed, wherein the target state data is state data associated with the remote control instruction sent periodically by the vehicle. The first determining module is used to determine the final execution result of the remote control command based on the decision result.

9. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the instruction execution result determination method according to any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the instruction execution result determination method according to any one of claims 1-7.