Nothing Special   »   [go: up one dir, main page]

CN118426812A - Remote upgrade control method and device, electronic equipment and readable storage medium - Google Patents

Remote upgrade control method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN118426812A
CN118426812A CN202410889256.6A CN202410889256A CN118426812A CN 118426812 A CN118426812 A CN 118426812A CN 202410889256 A CN202410889256 A CN 202410889256A CN 118426812 A CN118426812 A CN 118426812A
Authority
CN
China
Prior art keywords
state
cloud
instruction
installation
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410889256.6A
Other languages
Chinese (zh)
Other versions
CN118426812B (en
Inventor
钟伟
王维红
李志强
修怀忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Seres Technology Co Ltd
Original Assignee
Chengdu Seres Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Seres Technology Co Ltd filed Critical Chengdu Seres Technology Co Ltd
Priority to CN202410889256.6A priority Critical patent/CN118426812B/en
Publication of CN118426812A publication Critical patent/CN118426812A/en
Application granted granted Critical
Publication of CN118426812B publication Critical patent/CN118426812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to the technical field of OTA (over the air) upgrading and provides a remote upgrading control method, a device, electronic equipment and a readable storage medium. The method comprises the following steps: acquiring an upgrade management state machine; sending a state request to the cloud server so that the cloud server returns current state information based on the state request; determining a corresponding display interface based on the stage of the current cloud state; determining a display identifier arranged on a display interface and click logic corresponding to the display identifier based on version information and the jump relation between the current cloud state and other cloud states in an upgrade management state machine; displaying a display interface comprising a display identifier on a display terminal; and when the clicking operation for any display identifier is received, sending an operation instruction to the cloud server according to the corresponding clicking logic so that the cloud server executes the operation instruction on the target vehicle, and executing the step of sending a state request to the cloud server. The application realizes the understanding and control of the remote upgrading process, and improves the user experience.

Description

Remote upgrade control method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of OTA upgrade technologies, and in particular, to a remote upgrade control method, a device, an electronic apparatus, and a readable storage medium.
Background
The Over-the-Air technology (remote upgrade technology) refers to technology for remotely managing firmware, data and applications on a component terminal of an automobile through a mobile communication network. In brief, the OTA technology is implemented in three steps: firstly, a service manufacturer uploads the update software to an OTA center, then the OTA center wirelessly transmits the update software to a vehicle end, and finally the vehicle end automatically updates the software.
In the traditional OTA upgrading scheme, an OTA center sends an OTA upgrading packet to a vehicle end, the vehicle end upgrades based on the received OTA upgrading packet, and in the whole upgrading process, the vehicle end or a mobile phone APP only provides an upgrading operation button for a user, so that a more specific upgrading progress user has no follow-up knowledge and cannot specifically control the upgrading process.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
In view of this, the embodiments of the present application provide a remote upgrade control method, apparatus, electronic device, and readable storage medium, so as to solve the problem that in the prior art, a user cannot know and control the progress of an OTA upgrade.
In a first aspect of the embodiment of the present application, a remote upgrade control method is provided, including:
acquiring an upgrade management state machine, wherein the upgrade management state machine comprises a plurality of cloud states and a jump relation among each cloud state, and each cloud state is used for indicating one operation state in the upgrade process of a cloud server on a target vehicle;
sending a state request to the cloud server so that the cloud server returns current state information based on the state request, wherein the current state information comprises current cloud state and version information;
determining a corresponding display interface based on the stage of the current cloud state;
determining a display identifier arranged on a display interface and click logic corresponding to the display identifier based on version information and the jump relation between the current cloud state and other cloud states in an upgrade management state machine;
displaying a display interface comprising a display identifier on a display terminal;
And when the clicking operation for any display identifier is received, sending an operation instruction to the cloud server according to the corresponding clicking logic so that the cloud server executes the operation instruction on the target vehicle, and executing the step of sending a state request to the cloud server so that the cloud server returns the current state information based on the state request.
In a second aspect of the embodiment of the present application, there is provided a remote upgrade control apparatus, including:
The system comprises a state machine acquisition module, a target vehicle upgrading module and a state machine upgrading module, wherein the state machine acquisition module is used for acquiring an upgrading management state machine, the upgrading management state machine comprises a plurality of cloud states and a jump relation among each cloud state, and each cloud state is used for indicating one operation state in the upgrading process of the cloud server to the target vehicle;
The state acquisition module is used for sending a state request to the cloud server so that the cloud server returns current state information based on the state request, wherein the current state information comprises current cloud state and version information;
the interface determining module is used for determining a corresponding display interface based on the stage of the current cloud state;
the information determining module is used for determining a display identifier arranged on the display interface and click logic corresponding to the display identifier based on version information and the jump relation between the current cloud state and other cloud states in the upgrade management state machine;
The display module is used for displaying a display interface comprising a display identifier on the display terminal;
And the operation response module is used for sending an operation instruction to the cloud server according to the corresponding click logic when receiving the click operation for any display identifier so that the cloud server executes the operation instruction on the target vehicle and triggers the state acquisition module.
In a third aspect of the embodiments of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In a fourth aspect of the embodiments of the present application, there is provided a readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above method.
Compared with the prior art, the embodiment of the application has the beneficial effects that: according to the embodiment of the application, the cloud server acquires the state request, the display interface is determined according to the cloud state returned by the current state request, the display identifier on the display interface is determined according to the jump relation of the returned cloud state in the upgrade management state machine, and the operation instruction is sent to the cloud server according to the clicking operation of the display identifier, so that the cloud server executes the corresponding operation instruction on the target vehicle, the cloud state in the cloud server is updated, and the display interface and the display identifier are continuously displayed and updated on the display terminal. The user can know the specific state information of the current upgrading process based on the display terminal in the scheme, and sends out a feasible operation instruction through the display identifier, so that the remote upgrading process is known and controlled, and the remote upgrading experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an application scenario according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a remote upgrade control method according to an embodiment of the present application;
fig. 3 (a) to 3 (h) are schematic interface diagrams of display interfaces in different situations according to an embodiment of the present application;
FIG. 4 is a flowchart of a specific remote upgrade control method according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of a remote upgrade control device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
A remote upgrade control method, apparatus, electronic device, and readable storage medium according to embodiments of the present application will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic view of an application scenario according to an embodiment of the present application. The application scenario may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a server 104, and a network 105.
The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be hardware or software. When the first terminal device 101, the second terminal device 102, the third terminal device 103 are hardware, they may be various electronic devices having a display screen and supporting communication with the server 104, including but not limited to vehicle systems, smartphones, tablets, laptop and desktop computers, etc.; when the first terminal device 101, the second terminal device 102, and the third terminal device 103 are software, they may be installed in the electronic device as above. The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not limited in this embodiment of the present application. Further, various applications, such as a data processing application, an instant messaging tool, social platform software, a search class application, a shopping class application, and the like, may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
The server 104 may be a server that provides various services, for example, a background server that receives a request transmitted from a terminal device with which communication connection is established, and the background server may perform processing such as receiving and analyzing the request transmitted from the terminal device and generate a processing result. The server 104 may be a server, a server cluster formed by a plurality of servers, or a cloud computing service center, which is not limited in this embodiment of the present application.
The server 104 may be hardware or software. When the server 104 is hardware, it may be various electronic devices that provide various services to the first terminal device 101, the second terminal device 102, and the third terminal device 103. When the server 104 is software, it may be a plurality of software or software modules providing various services to the first terminal device 101, the second terminal device 102, and the third terminal device 103, or may be a single software or software module providing various services to the first terminal device 101, the second terminal device 102, and the third terminal device 103, which is not limited in this embodiment of the present application.
The network 105 may be a wired network using coaxial cable, twisted pair wire, and optical fiber connection, or may be a wireless network that can implement interconnection of various Communication devices without wiring, for example, bluetooth (Bluetooth), near Field Communication (NFC), infrared (Infrared), etc., which are not limited by the embodiment of the present application.
It should be noted that the specific types, numbers and combinations of the first terminal device 101, the second terminal device 102, the third terminal device 103, the server 104 and the network 105 may be adjusted according to the actual requirements of the application scenario, which is not limited in the embodiment of the present application.
It should be noted that the specific types, numbers and combinations of the first terminal device 101, the second terminal device 102, the third terminal device 103, the server 104 and the network 105 may be adjusted according to the actual requirements of the application scenario, which is not limited in the embodiment of the present application.
Fig. 2 is a flow chart of a remote upgrade control method according to an embodiment of the present application. The remote upgrade control method of fig. 2 may be performed by a user terminal, which may be implemented by the first terminal device or the second terminal device or the third terminal device of fig. 1. As shown in fig. 2, the remote upgrade control method includes:
s201: acquiring an upgrade management state machine, wherein the upgrade management state machine comprises a plurality of cloud states and a jump relation among each cloud state, and each cloud state is used for indicating one operation state in the upgrade process of a cloud server on a target vehicle;
s202: sending a state request to the cloud server so that the cloud server returns current state information based on the state request, wherein the current state information comprises current cloud state and version information;
S203: determining a corresponding display interface based on the stage of the current cloud state;
s204: determining a display identifier arranged on a display interface and click logic corresponding to the display identifier based on version information and the jump relation between the current cloud state and other cloud states in an upgrade management state machine;
S205: displaying a display interface comprising a display identifier on a display terminal;
S206: and when the clicking operation for any display identifier is received, sending an operation instruction to the cloud server according to the corresponding clicking logic so that the cloud server executes the operation instruction on the target vehicle, and executing the step S202 to send a state request to the cloud server so that the cloud server returns the current state information based on the state request.
It can be understood that, in this embodiment, the method is executed by the user terminal, the user terminal communicates with the cloud server through a wireless network connection, the cloud server communicates with Tbox connections of the target vehicle through a wireless network, the conventional cloud server is used for performing OTA remote upgrade on the target vehicle, by using the method of this embodiment, the cloud server feeds back the specific progress of the remote upgrade to the user terminal, and the user terminal displays relevant information on the display terminal based on the feedback of the cloud server, so that the user can check; further, the user can perform clicking operation on the display identifier on the display terminal, and after receiving the clicking operation, the user terminal sends an operation instruction to the cloud server, wherein the operation instruction is used for controlling the remote upgrading process of the cloud server to the target vehicle. Therefore, the user can sense the remote upgrading process in real time and control the remote upgrading process, and the remote upgrading experience is improved.
Specifically, the upgrade management state machine obtained and stored in this embodiment includes not only all cloud states, but also a skip relation between cloud states, where the skip relation includes front and back cloud states of each cloud state, and may further include skip conditions between cloud states, where the skip conditions include cloud server or target vehicle update, click operation trigger, and so on.
It can be understood that, the method of this embodiment is applied to a remote upgrade process, which mainly includes a downloading process and an installation process, and since the present embodiment aims at providing the user with the display and control of the remote upgrade progress, the whole process can be divided into a plurality of stages by further adding the content of the display interaction: the method comprises a current latest version stage, a new version discovery stage, a downloading stage, a stage to be installed and a stage in installation. The current latest version stage means that the corresponding target vehicle is in the latest version, and remote upgrading is not needed; the new version discovery stage means that the cloud server has an updated version and can upgrade the target vehicle, but the target vehicle does not download the upgrade file yet; the downloading stage means that the target vehicle is downloading the upgrade file; in the stage to be installed, the target vehicle finishes downloading the upgrade file and is not installed yet; the mid-installation stage means that the target vehicle is installing an upgrade file.
According to different stages in the remote upgrading process, the corresponding display interfaces have differences, and the selectable display interfaces in the embodiment have a first page, a new version information page and an installation information page, and the process of determining the corresponding display interfaces specifically based on the stage in which the current cloud state is located comprises the following steps:
if the current cloud state is in the current latest version stage, determining that the display interface is a home page;
If the current cloud state is in a new version discovery stage, a downloading stage or a stage to be installed, determining that the display interface is a new version information page;
and if the current cloud state is in the installation stage, determining the display interface as an installation information page.
It can be understood that the current latest version stage does not need to perform a downloading operation or an installation operation, so that the corresponding display interface is set as a first page for displaying display information of "the current latest version stage does not need to perform the downloading operation or the installation operation" to a user; the new version stage, the downloading stage or the stage to be installed are found to belong to the stage in which the new version exists but the installation of the new version of the upgrade file on the target vehicle is not started, so that the display interface is set as a new version information page and used for displaying display information of 'the new version exists currently but the installation of the new version of the upgrade file on the target vehicle is not started' to a user; when the new version of the upgrade file is started to be installed, namely in the installation stage, a display interface is set as an installation information page and used for displaying display information of 'the new version of the upgrade file is currently installed' to a user.
It can be understood that, because the display information to be displayed to the user is different, the layout and the specific display content of the home page, the new version information page and the installation information are different, in this embodiment, the display content is represented by a display identifier, where the display identifier is used to represent, on the one hand, the specific content of the current cloud state and, on the other hand, the next cloud state where the current cloud state can be jumped or is about to be jumped. If the jump is triggered by clicking operation, the display identifier also corresponds to clicking logic of the clicking operation, when a user clicks a certain display identifier, the user terminal in this embodiment receives the clicking operation about the display identifier, and further sends a corresponding operation instruction to the cloud server according to the clicking logic, for example, an instruction display text contained in the display identifier is "download upgrade file", when the clicking operation about the display identifier is received, the operation instruction generated according to the clicking logic is an immediate downloading instruction, the immediate downloading instruction is sent to the cloud server, and the cloud server executes an action of immediately downloading the upgrade file to the target vehicle.
Further, after the cloud server executes the operation instruction, the current cloud state will change, and the change needs to be synchronized to the user terminal, so that the step S202 is executed to update the state information, and the steps S203 to S205 are further executed to update the display interface and the display identifier.
Specifically, among all cloud states in the upgrade management state machine, the cloud states in the current latest version stage include: the new version state and the successful installation state are not detected;
Cloud states in the stage of discovering new versions include: detecting a new version state, a manual canceling downloading state and a downloading failure state;
Cloud states in the download phase include: a pause download state, a download in-progress state;
The cloud state at the stage to be installed includes: a successful downloading state, a state of waiting for the expected time to arrive, a manual canceling of the installation state, a failure state of checking the environment before installation, and a failure state of installation;
Cloud states at the mid-installation stage include: the pre-installation environment inspection in-process state, the pre-installation environment inspection success state, the pre-installation preparation in-process state, and the in-installation state.
It will be appreciated that the clicking operations above include immediate download instructions, pause download instructions, resume download instructions, cancel download instructions, immediate install instructions, reserve install instructions, cancel reserve instructions, confirm install instructions, cancel install instructions, and the skip relationship between the cloud states above may include:
The next cloud state in which no new version state is detected includes: the new version state is not detected or the new version state is detected;
the next cloud of successful installation states includes: the new version state is not detected;
Detecting a next cloud state of the new version state includes: a download in progress state triggered by an immediate download instruction;
the next cloud state of the artificial cancel download state includes: detecting a new version state;
the next cloud state of download failure states includes: detecting a new version state;
the next cloud state of the pause download state includes: the download in-process state triggered by the resume download instruction, the manual cancel download state triggered by the cancel download instruction;
The next cloud state of the in-download state includes: a pause downloading state triggered by a pause downloading instruction, a manual canceling downloading state triggered by a canceling downloading instruction, a downloading failure state and a downloading success state;
The next cloud state of the download success state includes: a pre-installation environment check in-progress state triggered by an immediate installation instruction, a waiting scheduled time arrival state triggered by a scheduled installation instruction;
waiting for the next cloud of expected time to arrive at the state includes: a pre-installation environment check in-progress state triggered after the arrival of the predicted time or triggered by an immediate installation instruction, a wait predicted time arrival state triggered by a reserved installation instruction, a download success state triggered by a cancel reserved instruction;
The next cloud of artificial cancellation of the installation state includes: a pre-installation environment check in-progress state triggered by an immediate installation instruction, a waiting scheduled time arrival state triggered by a scheduled installation instruction;
the next cloud state of the pre-installation environment inspection failure state includes: a pre-installation environment check in-progress state triggered by an immediate installation instruction, a waiting scheduled time arrival state triggered by a scheduled installation instruction;
The next cloud of installation failure states includes: a pre-installation environment check in-progress state triggered by an immediate installation instruction, a waiting scheduled time arrival state triggered by a scheduled installation instruction;
the next cloud of states in the pre-installation environmental check includes: a pre-installation environment check success state, a pre-installation environment check failure state;
The next cloud state of the pre-installation environment check success state includes: the pre-installation preparation state triggered by the confirmation installation instruction and the manual cancellation of the installation state triggered by the cancellation of the installation instruction;
The next cloud of states in preparation before installation includes: a mid-installation state;
the next cloud of states in the installation includes: a successful installation state and a failed installation state.
According to the above description of each cloud state and the relationship of the operation instruction triggering the cloud state, the same cloud state may have a plurality of jump objects, namely, the next cloud state, in the jump relationship of the cloud states, and the actual state update requires the combined action of the cloud server, the target vehicle and the clicking operation, that is, the next cloud state actually updated is the unique specific cloud state determined from a plurality of possible jump objects based on the combined action on the premise of the jump relationship.
Further, because the instruction triggering condition exists in the state change, the process of transferring and validating the information of the operation instruction from the user terminal to the cloud server and then to the target vehicle has time delay, in order to improve the interaction experience, the time delay process can also set the corresponding instruction state according to the clicking operation, set the display identifier to be in a form corresponding to the instruction state, and update the display identifier to be in a corresponding cloud state when the operation instruction is validated. Therefore, the upgrade management state machine further comprises a plurality of instruction states corresponding to each clicking operation one by one, and a jump relation exists between each instruction state and the corresponding cloud state;
when a clicking operation for any display identifier is received, the method further comprises the following steps:
and updating the display interface and the display identifier based on the instruction state corresponding to the clicking operation.
It may be understood that updating the display interface and the display identifier based on the instruction status of the clicking operation means that the response of the executing body of the embodiment to the clicking operation is fed back to the user, that is, the clicking operation has been received and the corresponding flow is being performed based on the clicking operation.
Further, when receiving a click operation for any display identifier, sending an operation instruction to the cloud server according to a corresponding click logic, so that the cloud server executes the operation instruction on the target vehicle, including:
sending an operation instruction to the cloud server according to the corresponding click logic, so that the cloud server executes the operation instruction on the target vehicle and updates the current state information based on the jump relation between the instruction state and the cloud state;
After the step of sending a status request to the cloud server to enable the cloud server to return current status information based on the status request is executed, the process of determining the corresponding display interface based on the stage in which the current cloud status is located includes:
And if the current cloud state in the current state information is the next cloud state of the current instruction state, determining a corresponding display interface based on the stage of the current cloud state.
It may be understood that in the embodiment where only the cloud state does not have the instruction state, when the clicking operation is received, a corresponding operation instruction is sent to the cloud server to enable the cloud server to execute the operation instruction on the target vehicle, and then the execution step S202 is returned to send a state request to the cloud server to enable the cloud server to return to the current state information based on the state request, where the purpose of returning to the execution step S202 is that if the cloud server executes the operation instruction on the target vehicle to cause the current cloud state to change, the whole set of procedures can be executed again from S202.
Further, when the instruction state is added in the jump relation, in order to ensure that the displayed state is accurate, a limiting condition that the current cloud state is the next cloud state corresponding to the current instruction state is added as a necessary basis for display updating of a subsequent display interface and a display identifier. This is to avoid the problem of state bounce caused by information delay or dyssynchrony, which is one of the following situations that may occur: when the cloud state returned by the cloud server is the original state, the display interface is jumped back to the display interface capable of executing the clicking operation from the display interface which has responded the clicking operation, and misunderstanding that the clicking operation is invalid is easily caused by a user.
Therefore, after the setting of the display interface based on the update of the instruction state is added, the embodiment further emphasizes the correct response and jump of the display interface to the instruction state, and the complete response process to the clicking operation includes: sending an operation instruction to the cloud server according to the corresponding click logic so that the cloud server executes the operation instruction on the target vehicle; step S202 is executed, a state request is sent to the cloud server, so that the cloud server returns current state information based on the state request; step S203 is executed, specifically including: if the current cloud state in the current state information is the next cloud state of the current instruction state, determining a corresponding display interface based on the stage of the current cloud state; steps S204 to S205 are performed. According to the process, the accuracy of the display interface can be ensured, and the problem of user experience caused by repeated rebound of the display interface is avoided.
Taking an operation instruction as an immediate downloading instruction as an example, the following processes are provided:
When a clicking operation of a display identifier of 'immediate downloading' is received, determining that the corresponding instruction state is in immediate downloading instruction transmission, and updating the display identifier based on the state, namely, the identification text of the display identifier is in immediate downloading instruction transmission, and simultaneously transmitting the immediate downloading instruction to a cloud server; the cloud server executes the action of immediately downloading the upgrade file to the target vehicle, and updates the internal current cloud state into a downloading state when the cloud server starts to execute the action of downloading the upgrade file;
Sending a state request to a cloud server to receive current state information returned by the cloud server;
If the cloud state in the received current state information is the expected next cloud state of the state in the process of sending the immediate downloading instruction, namely the downloading state, the cloud server can be determined to have received the current operation instruction and begin to execute, so that the actual state is the downloading state, and the display interface and the display identifier can be updated according to the received current cloud state;
if the cloud state in the received current state information is not the downloading state, the current cloud server still keeps the original display identification, namely the identification text of the display identification is in the process of sending the immediate downloading instruction, if the current operation instruction is not received or the operation instruction is not started to be executed.
Specifically, different operation instructions correspond to different instruction states and are in different phases, and each instruction state also determines the display interface according to the corresponding phase, that is to say:
if the current cloud state or the current instruction state is in the current latest version stage, determining that the display interface is a home page;
if the current cloud state or the current instruction state is in a new version discovery stage, a downloading stage or a stage to be installed, determining that the display interface is a new version information page;
and if the current cloud state or the current instruction state is in the installation stage, determining the display interface as an installation information page.
Further, the instruction state in the new version discovery stage includes: the corresponding operation instruction is the immediate downloading instruction sending state of the immediate downloading instruction;
the instruction state in the download phase includes: the corresponding operation instruction is a pause downloading instruction sending state of a pause downloading instruction, a resume downloading instruction sending state of a resume downloading instruction, and a cancel downloading instruction sending state of a cancel downloading instruction.
Correspondingly, the instruction states in the stage to be installed include: the method comprises the steps that an immediate installation instruction sending state corresponding to an immediate installation instruction, an installation time configuration in-process state corresponding to an operation instruction being an reserved installation instruction and a cancellation reservation instruction sending state corresponding to the operation instruction being a cancellation reservation instruction;
The instruction states at the mid-installation stage include: the corresponding operation instruction is a confirmation installation instruction sending state of a confirmation installation instruction, and the corresponding operation instruction is a cancellation installation instruction sending state of a cancellation installation instruction.
It can be understood that these instruction states are in one-to-one correspondence with operation instructions, each operation instruction corresponds to clicking logic of a corresponding display identifier on a specific display interface, if a clickable display identifier exists on the current display interface, a user clicks the display identifier, then the execution body of the embodiment will receive clicking operation, locate the display identifier, the clicking logic, the operation instruction and the instruction state based on the clicking operation, and then determine the specific content of the display interface again. Therefore, the actual display interface and display identifier on the display terminal are updated and displayed correspondingly according to the display basis of the current state information, the current possible instruction state, the jump relation and the like.
Further, according to the triggering relationship between each cloud state and the operation instruction in the above description, in the jump relationship between each instruction state and the cloud state:
In the instruction state in the new version discovery stage, immediately downloading the last cloud state of the state in the instruction transmission includes: detecting a new version state and a download failure state; the next cloud state of the immediate download instruction sending state comprises a download state;
In the instruction state in the downloading stage, the last cloud state of the state in the sending of the suspended downloading instruction comprises the downloading state; the next cloud state of the state in the sending of the pause downloading instruction comprises a pause downloading state;
The last cloud state of the state in the transmission of the downloading instruction is canceled to comprise a downloading state and a downloading suspension state; the next cloud state of the state in the transmission of the downloading instruction is canceled, wherein the next cloud state comprises a manual downloading canceling state;
Restoring the last cloud state of the state in the sending of the downloading instruction comprises suspending the downloading state; the next cloud state for recovering the download instruction sending state comprises the download state;
in the instruction state of the stage to be installed, canceling the previous cloud state of the state in the reservation instruction transmission includes waiting for the expected time to arrive; canceling the next cloud state of the state in the transmission of the reservation instruction comprises a successful downloading state;
immediately install the last cloud of states in the instruction issue includes: the method comprises the steps of downloading a successful state, manually canceling an installation state, checking a failure state of an environment before installation, and waiting for a predicted time to reach the state; the next cloud state of the immediate installation instruction sending state comprises a pre-installation environment checking state;
The last cloud state of the state in the installation time configuration comprises a download success state, a manual cancel installation state, a pre-installation environment check failure state and a state of waiting for the expected time to arrive; the next cloud of states in the installation time configuration includes waiting for the predicted time to arrive at the state;
in the instruction state of the installation stage, confirming the previous cloud state of the installation instruction sending state comprises the environment check success state before installation; confirming that the next cloud state of the installation instruction sending state comprises a pre-installation preparation state;
canceling the last cloud state of the state in the transmission of the installation instruction comprises the successful state of environmental check before installation; canceling the next cloud state of the state in the sending of the install instruction includes manually canceling the install state.
It can be understood that the instruction state generally has a plurality of previous cloud states, that is, the display interfaces corresponding to the cloud states may include display identifiers representing the same click logic, which provides a plurality of controllable nodes for the user in the whole process of remote upgrade, and the user can send click operations through any controllable node, so as to pause, continue or interrupt the progress of remote upgrade, provide a process setting for flexibly managing the progress of remote upgrade for the user, and optimize the management experience of the user on remote upgrade on the target vehicle.
Accordingly, each instruction state has a unique next cloud state determined to indicate that the current click operation has been responded to, and the cloud server has begun executing the corresponding operation instruction. Based on the specific jump relation between the instruction state and the cloud state, the display interface and the display identifier are updated, so that progress prompt with finer granularity is provided for a user, anxiety of the user in the remote upgrading process of the target vehicle is reduced, and user experience is optimized.
In view of the above, in the upgrade management state machine of the present embodiment, the jump relationships between all cloud states and instruction states include:
1. the next cloud state in which no new version state is detected includes: the new version state is not detected or the new version state is detected;
2. detecting a next instruction state of the new version state includes: immediately downloading the state in instruction transmission;
3. the next cloud state of the state in the immediate download instruction issue includes: downloading the intermediate state;
4. The next state of the download in-progress state includes: suspending the sending state of the downloading instruction, canceling the sending state of the downloading instruction, the downloading failure state and the downloading success state;
5. the suspending of the next cloud state of the state in the sending of the downloading instruction comprises: suspending the download state;
6. the next instruction state of the suspend download state includes: restoring the sending state of the downloading instruction and canceling the sending state of the downloading instruction;
7. restoring the next cloud state of the state in the sending of the download instruction comprises: downloading the intermediate state;
8. Canceling the next cloud state of the state in the sending of the downloading instruction comprises the following steps: manually canceling the downloading state;
9. The next cloud state of the artificial cancel download state includes: detecting a new version state;
10. the next cloud state of download failure states includes: detecting a new version state;
11. the next state of the download success state includes: an immediate installation instruction transmission state and a reserved installation instruction transmission state;
12. The next cloud state of the state in the sending of the reserved installation instruction comprises the following steps: waiting for the predicted time to reach a state;
13. the next state waiting for the predicted time to arrive state includes: immediate installation instruction transmission state, reservation installation instruction transmission state, and cancellation reservation instruction transmission state;
14. Canceling the next cloud state of the state in the reservation instruction transmission includes: a successful download state;
15. the immediately install next cloud state of the in-command-send state includes: checking the state in the environment before installation;
16. The next cloud of states in the pre-installation environmental check includes: a pre-installation environment check success state, a pre-installation environment check failure state;
17. canceling the next cloud state of the state in the sending of the installation instruction comprises: manually cancelling the installation state;
18. The next state of the manual cancellation of the installation state includes: an immediate installation instruction transmission state and a reserved installation instruction transmission state;
19. The next cloud state of the pre-installation environment inspection failure state includes: an immediate installation instruction transmission state and a reserved installation instruction transmission state;
20. the next state of the pre-installation environment check success state includes: confirming the state in the process of sending the installation instruction and canceling the state in the process of sending the installation instruction;
21. Confirming the next cloud state of the state in the sending of the installation instruction comprises: a pre-installation ready-to-neutral state;
22. the next cloud of states in preparation before installation includes: a mid-installation state;
23. the next cloud of states in the installation includes: a successful installation state and a failed installation state;
24. the next cloud of installation failure states includes: an immediate installation instruction transmission state and a reserved installation instruction transmission state;
25. The next cloud of successful installation states includes: the new version state is not detected;
It will be appreciated that in a complete process of successfully installing an upgrade file on a target vehicle, at least the following state changes are included: the method comprises the steps of detecting a new version state (representing that an upgrade file newer than a local file version on a target vehicle exists at the moment), receiving an immediate download instruction sending state triggered after an immediate download instruction (representing that a communication process between a cloud server and the target vehicle is performed, and the target vehicle is required to download the upgrade file), a downloading success state (representing that the target vehicle is downloading the upgrade file), receiving an immediate installation instruction sending state triggered after the immediate installation instruction (representing that the cloud server and the target vehicle are communicating, and the target vehicle is required to immediately install the upgrade file), checking an environment before installation (representing that the target vehicle is checking the environment before installation), checking a success state before installation (representing that the target vehicle is finishing checking the environment before installation and allowing a next installation operation to be performed), receiving a confirmation installation instruction sending state triggered after a confirmation installation instruction (representing that the cloud server and the target vehicle are communicating, and the target vehicle is performing installation of the upgrade file), preparing a state before installation (representing that the target vehicle is performing preparation before installation), and finishing installation of the upgrade file (representing that the target vehicle is performing installation of the upgrade file). In addition to the above state change, there are a plurality of states of next state that can jump, as a jumping node, other scene jumps under different conditions and different instructions can be realized, and the reservation installation instruction can be received under the successful download state to enter the state in the transmission of the reservation installation instruction, and the state in the installation state may be the installation failure, and the jump of the specific state in the upgrade management state machine is realized according to the actual situation, which will not be repeated here.
It can be understood that the downloading and installation of the upgrade file all take a long time, so that in order to enable the user to have finer granularity mastering capability on the specific details of the downloading and installation, the cloud server can be polled according to specific downloading conditions or installation conditions, and the display interface and the display identifier can be updated accordingly. In this embodiment, therefore, the display interface including the display identifier is displayed after the display terminal, and further includes:
If the current cloud state is in a downloading stage or an installation stage, sending a progress request to the cloud server according to a preset frequency, so that the cloud server returns current progress information based on the progress request, wherein the current progress information comprises one or more of downloading progress, installation progress, total file size, downloaded file size and current cloud state;
And updating the display interface and the display identifier based on the current progress information and the jump relation between the current cloud state and other cloud states in the upgrade management state machine.
It can be understood that the downloading stage and the installation stage are long in use, and anxiety of a user is easy to cause, so that the display interface and the display identifier can be updated by periodically determining the progress information and based on the current progress information and the jump relation, a progress prompt with finer granularity is provided for the user, the user can know the current progress more accurately and clearly, anxiety of the user in the remote upgrading process of the target vehicle is relieved, and user experience is optimized.
It will be appreciated that the display indicia on the display interface may include one or more of the following:
A first display key corresponding to the current cloud state;
A second display key corresponding to the skip relation of the current cloud state and containing instruction display text;
Displaying animation corresponding to the current cloud state;
Displaying a text corresponding to the progress of the current progress information;
a download progress identifier corresponding to the download progress and the current cloud state;
and the installation progress mark corresponds to the installation progress and the current cloud state.
Specifically, according to the difference of the display interfaces and the difference of cloud states, whether each display mark is displayed, the display position and the display form of each display mark and the specific display content of the display mark can be determined, and meanwhile, the display mark can also be added with a visual design, so that the understanding difficulty of the display mark is reduced, the user can understand and operate conveniently, the user can know the current progress more accurately and clearly, and meanwhile, the difficulty of the user in managing the remote upgrading process, namely the difficulty of issuing clicking operation, is reduced.
In the implementation of the method, the software support of the method of the embodiment may be provided by an Android system or other systems, which is not limited herein. In the implementation of the method, the following definitions are required: defining each state in the upgrade management state machine, defining operation instructions, defining entity classes, defining interfaces, defining OTA singleton and defining page elements.
1. Defining each state in the upgrade management state machine:
An enumeration class is created named OTA state enum class OTAStatus, which can be used to define the states agreed with the cloud server. State constants that need to be used in the remote upgrade procedure are declared in the enumeration class:
not_checked_new_version: the new version state is not detected;
checked_new_version: detecting a new version state;
downlink_NOW_PUSHING: immediately downloading the state in instruction transmission;
download of: downloading the intermediate state;
DOWNLOAD_PAUSING: suspending the state in the transmission of the downloading instruction;
PAUSE_DOWNLOAD: suspending the download state;
DOWNLOAD_RESUMING: restoring the state in the transmission of the downloading instruction;
DOWNLOAD_CANCELING: canceling the state in the transmission of the downloading instruction;
Manual_CANCEL_DOWNLOAD: manually canceling the downloading state;
DOWNLOAD_FAIL: a download failure state;
downlink_success: a successful download state;
INSTALL_TIME_SETTING: installing a state in the time configuration;
wait_ins tall: waiting for the predicted time to reach a state;
reserve_cancel: canceling the state in the transmission of the reservation instruction;
INSTALL_NOW_PUSHING: immediately installing an instruction sending state;
envirnment_check: checking the state in the environment before installation;
INSTALL_CANCELING: canceling the state in the sending of the installation instruction;
Manual_CANCEL_INSTALL: manually cancelling the installation state;
envirnment_check_fail: checking failure state of the environment before installation;
envirnment_check_success: checking the successful state of the environment before installation;
INSTALL_CONFIRM_PUSHING: confirming the state in the sending process of the installation instruction;
INSTALL_PREPARING: a pre-installation ready-to-neutral state;
INSTALLING: a mid-installation state;
INSTALL_FAIL: a mounting failure state;
INSTALL_SUCCESS: and (5) a successful installation state.
It will be appreciated that the state constants may also include two reset states that jump back to the original home page:
ENVIRONMENT_CHECK_FAIL_RESET: resetting the environment check failure before installation;
DOWNLOAD_FAIL_RESET: and resetting after the download failure.
The two reset states are reset back to the initial state of the upgrade management state machine when they occur, i.e., to detect if the OTA has a new version of the top page.
2. Defining an operation instruction:
Creating an enumeration class named OTA instruction (enum class OTACommand), and declaring a state constant of an operation instruction sent to the cloud server in the enumeration class:
Start_download: immediately downloading an instruction;
PAUSE_DOWNLOAD: suspending downloading instructions;
Resume_download: recovering the downloading instruction;
Cancel_download: canceling the downloading instruction;
INSTALL_NOW: immediately installing an instruction;
INSTALL_CONFIRM: confirming an installation instruction;
INSTALL_CANCEL: canceling the installation instruction;
Reserve_cancel: the reservation instruction is cancelled.
3. Defining entity classes:
Newly creating a data class of OTA detection: dataclassOTACheck, define fields in the dataclass: the information of the current version, the current version number, the current version time, whether a new version exists, a new version number, a new version package size, a version description, an installation prompt, an OTA state and the like is used for receiving the data returned from the OTA version detection interface.
Newly creating a data class of OTA upgrade: dataclassOTAUpgrade, define fields in the dataclass: download progress, downloaded size, total size, installation progress, failure cause, OTA status, etc. This class is used to receive data returned from the lower OTA progress interface.
4. Defining an interface:
The detection interface defines a 'state detection' interface for acquiring whether an OTA new version exists or not, an App is used for requesting the interface, and the background cloud server receives the state request and returns state information of the current OTA version, wherein the state information comprises cloud state and version information, and the version information comprises a version number, a version name and the like. For example, when a new version is detected, the returned cloud state is specifically: CHECKED _NEW_VERSION returns NOT_ CHECKED _NEW_VERSION without the NEW VERSION, representing that it is the latest VERSION.
The polling interface defines a progress detection interface for acquiring the downloading progress or the installation progress of the OTA new version, and the App is used for requesting the interface, and the back-end cloud server receives the precision request and returns the current precision information, including the downloading progress or the installation progress, the total file size of the upgrade file, the downloaded size, the current cloud state and the like.
The command interface defines a command sending interface for sending various operation commands to the background cloud server, and the cloud server sends the operation commands to the vehicle terminal of the target vehicle after receiving the operation commands, so that the vehicle terminal executes corresponding operation flows.
The time configuration interface defines a reserved time configuration interface and is used for sending reserved installation time to the background cloud server, and the cloud server automatically controls the target vehicle to execute installation operation when the time arrives.
5. Defining an OTA single case:
an Object declaration Object, named OTA management Object objectOTAManager { }, is created for generating a singleton Object. In this OTA management object:
1. defining member attributes:
Declaring a member variable named "OTA detect";
Variable type: an "OTA detect" type;
Default value: empty;
Declaring a member variable named "OTA upgrade";
Variable type: an "OTA upgrade" type;
Default value: empty;
2. The defining method comprises the following steps:
The method comprises the following steps: OTA version detection;
The method comprises the following steps: in the method, a network service request 'state detection' interface is used, json objects returned by a server are resolved into objects of an 'OTA detection' type, and then assigned to defined 'OTA detection' member variables;
The method comprises the following steps: OTA updates the progress;
The method comprises the following steps: in the method body, a loop is started, in the loop body, a network service is used for requesting a background for an updating progress interface every 3 seconds, a request result json object returned by a server is obtained each time and is analyzed into an object of an OTA upgrading type, and then the object is assigned to a defined member variable of the OTA upgrading;
the method comprises the following steps: sending an OTA instruction;
parameter type: the "OTA instruction" enumerates types;
The method comprises the following steps: in the method, an OTA instruction sending interface is used for requesting network service, and OTA operation related instructions are sent to a background cloud server, such as a user clicks to download an OTA upgrade package and the like;
The method comprises the following steps: "reserved time configuration";
parameter type: a long-integer timestamp;
The method comprises the following steps: in the method, a network service request 'reserved time configuration' interface is used to transmit the time required to be reserved to a cloud server, and the cloud server is used to configure the upgrading time of a vehicle end. After the time configuration is successful, the "OTA state" will become the "WAIT_ INSTALL" state in the state machine.
6. Defining page elements:
1. In the first page element definition:
text: displaying the current OTA version number and the current OTA version time;
Text: displaying the name of the new version, and setting the name of the new version as a hidden state by default;
a button: when the user clicks the button, the method of 'OTA version detection' in the OTA single-instance object is invoked to acquire OTA version information, the version information is stored in an 'OTA detection' member variable in the OTA single-instance object, and then the comparison judgment is carried out in a page through an 'OTA state' field in the 'OTA detection' variable and a state machine.
As shown in fig. 3 (a), if the "OTA state" is equal to any one of the following states:
not_ CHECKED _NEW_VERSION (no NEW VERSION state detected),
INSTALL _ SUCCESS (install SUCCESS status),
The page presents: currently the latest version, while the button text is presented as: checking and updating; indicating that the OTA is in the "current latest version stage";
clicking a button: and (3) invoking an OTA version detection method of the OTA single instance to detect whether the OTA version is updated or not, and clicking logic is used for sending a state request to the cloud server so as to enable the cloud server to return current state information based on the state request.
If "OTA state" is equal to any one of the following states:
CHECKED NEW VERSION (New VERSION status detected),
DOWNLOAD_NOW_ PUSHING (status in immediate DOWNLOAD instruction issue),
Manual_CANCEL_DOWNLOAD (MANUAL CANCEL DOWNLOAD State),
DOWNLOAD_FAIL (DOWNLOAD failure State)
The page presents: a new version is found while the button text is presented as: checking; indicating that the OTA is in the "New version found phase";
clicking a button: and calling a system method publicvoidstartActivity (Intentintent) to switch the page to the page with the OTA new version.
If "OTA state" is equal to any one of the following states:
DOWNLOADING (download in progress),
DOWNLOAD_ PAUSING (status in the sending of a pause DOWNLOAD instruction),
Pause_download,
DOWNLOAD_ RESUMING (resume DOWNLOAD instruction issue state)
DOWNLOAD_ CANCELING (cancel DOWNLOAD instruction in send status)
The page presents: in the downloading of the new version, the button text is displayed as follows: checking; indicating that the OTA is in the "download phase";
Clicking a button: and calling a system method publicvoidstartActivity (Intentintent) to switch the page to an OTA new version page, clicking a 'START downloading' button on the OTA new version page, calling a 'send OTA instruction' method of an OTA single instance, transmitting a start_DOWNLOAD, sending a downloading instruction to a cloud server, waking up a vehicle after receiving the instruction by the cloud, downloading, and synchronizing the downloading progress and the downloading size to the cloud.
If "OTA state" is equal to any one of the following states:
download_success,
INSTALL _TIME_SETTING (state in the setup TIME configuration),
WAIT INSTALL (waiting for the expected time to arrive),
Reserve_ CANCELING (state in transmission of cancel RESERVATION instruction),
INSTALL _NOW_ PUSHING (status in immediate mount instruction transmission),
Manual_CANCEL_ INSTALL (manually canceling installation State),
Envirnment CHECK FAIL status,
The page presents: the new version is to be installed, and meanwhile, the button text is displayed as follows: installing; indicating that the OTA is in the "stage to be installed";
clicking a button: and calling a system method publicvoidstartActivity (Intentintent) to switch the page to the page with the OTA new version.
If "OTA state" is equal to any one of the following states:
Environment_ CHECKING (state in environmental check before installation),
INSTALL _ CANCELING (cancel the state in the transmission of the install instruction),
An ENVIRONMENT CHECK SUCCESS status before installation,
INSTALL _CONFIRM_ PUSHING (CONFIRM status in the transmission of the install instruction),
INSTALL _ PREPARING (state in preparation before mounting),
INSTALLING (in-mounting state),
The page presents: in the new version installation, the button text is displayed as follows: checking; indicating that OTA is in "stage in installation"
Clicking a button: the call system method publicvoidstartActivity (Intentintent) switches the page to the OTA installation information page.
2. Definition of information page element in OTA new version:
Basic elements: and displaying information such as the name of the OTA new version, the version creation time, the new version package size, the expected installation time, the version description and the like.
When the "OTA state" is equal to any one of the following states: CHECKED _NEW_ VERSION, DOWNLOAD _FAIL, MANUAL_CANCEL_DOWNLOAD:
Referring to fig. 3 (b), only one button is shown below the page, the button text is "immediately downloaded";
Click "immediate download": and (3) calling an OTA command sending method of the OTA single instance object, wherein parameters are START_DOWNLOAD of the type of the OTA command, and sending an immediate downloading command to the cloud server.
When "OTA state" is equal to download_now_ PUSHING:
Only one button on the left side is shown below the page, the button text is "download in command send.
When "OTA state" equals DOWNLOADING:
referring to fig. 3 (c), two buttons are shown below the page, the button text is "pause download" and "cancel download" respectively, and a progress bar is shown above the buttons to indicate the current OTA version download progress;
Click "pause download": and (3) calling an OTA command sending method of the OTA single instance object, wherein parameters are PAUSE_DOWNLOAD of the type of the OTA command, and sending a PAUSE downloading command to the cloud server.
Click "cancel download": and calling an OTA command sending method of the OTA single instance object, wherein parameters are CANCEL_DOWNLOAD of the type of the OTA command, and sending a downloading cancellation command to the cloud server.
When "OTA state" is equal to download_ PAUSING:
The presentation "pause download" button text content under the page becomes "pause in command send". While the button is set to non-clickable.
When "OTA state" is equal to download_ CANCELING:
the presentation "cancel download" button text content below the page becomes "cancel in command send.
When "OTA state" is equal to pause_download:
The text content of a display 'pause download' button below the page is changed into 'resume download', and meanwhile, the progress bar is set to gray to indicate that the downloading is paused;
Click "resume download": and (3) calling an OTA command sending method of the OTA single instance object, wherein parameters are RESUME_DOWNLOAD of the type of the OTA command, and sending a RESUME downloading command to the cloud server.
When "OTA state" is equal to download_ RESUMING:
the right button below the page is shown as "resume instruction send middle.
When the "OTA state" is equal to any one of the following states: downlink_ SUCCESS, MANUAL _cancel_ INSTALL, ENVIRONMENT _check_fail:
Referring to fig. 3 (d), the left button below the page is shown as "scheduled upgrade", and the right button is shown as "immediate upgrade";
Click "immediately upgrade": invoking an OTA instruction sending method of an OTA single instance object, wherein parameters are INSTALL _NOW of an OTA instruction type, and sending an immediate upgrading instruction, namely the immediate installation instruction;
Click "appointment upgrade": and calling a reservation time configuration method of the OTA single-instance object, wherein parameters are standard time stamps, and reporting the reservation time to a cloud server, namely the reservation installation instruction.
In addition, when the "OTA state" is equal to the ENVIRONMENT_CHECK_FAIL, the page can also display the "cause of failure of the ENVIRONMENT CHECK before installation" to prompt the user to adjust the ENVIRONMENT to ensure that the next ENVIRONMENT CHECK is successful.
When "OTA state" is equal to INSTALL _time_transmission:
The right button below the page is shown as "in command send," indicating the time at which the command configuration reservation upgrade is being sent, while the button is set to non-clickable.
When "OTA state" equals wait_ INSTALL:
referring to fig. 3 (e), the left button below the page is shown as "cancel reservation", and the right button shows the bit "immediately upgrade";
Clicking "cancel reservation": invoking an OTA instruction sending method of an OTA single instance object, wherein parameters are RESERVATION_CANCEL of an OTA instruction type, and sending a RESERVATION canceling instruction to the cloud server;
Click "immediately upgrade": and (3) calling an OTA instruction sending method of the OTA single instance object, wherein parameters are INSTALL _NOW of the type of the OTA instruction, and sending an immediate upgrading instruction, namely an immediate installation instruction, to the cloud server.
When "OTA state" is equal to reserve_ CANCELING:
The right button below the page is shown as "in command send," indicating that a command to cancel the reservation is being sent, while the button is set to non-clickable.
When "OTA state" equals INSTALL _now_ PUSHING:
the left button below the page is shown as "in command send," indicating that an immediate upgrade command is being sent, while the button is set to non-clickable.
3. Definition of page element at OTA installation information:
when "OTA state" is equal to envirnment_ CHECKING:
as shown in fig. 3 (f), the text is "check vehicle upgrade condition in progress, the process is long, please wait …", which means that the state is in the environment check before installation, an animation element is shown on the page, which means the waiting process.
When "OTA state" is equal to establishment_check_success:
Referring to fig. 3 (g), a vehicle environment detection success is shown, and a countdown time is shown on the page, which is provided by the cloud server, and defaults to 120 seconds, and two buttons are shown below the countdown time, one of the "install immediately" button and one of the "uninstall" button. When the countdown is over, the "immediate install" is performed by default.
Click "install immediately": and (3) calling an 'send OTA instruction' method of the OTA single instance object, wherein parameters are 'INSTALL _CONFIRM' of an 'OTA instruction' type, and sending an immediate installation instruction to the cloud server, and the instruction is the confirmation installation instruction.
Click "cancel install": and calling an OTA command sending method of the OTA single instance object, wherein parameters are INSTALL _CANCEL of the type of the OTA command, and sending a command for canceling installation to the cloud server, wherein the command is the command for canceling installation.
When "OTA state" equals INSTALL _ PREPARING:
Indicating that preparation before installation is in progress, an animation element is presented on the page, indicating a waiting process.
When "OTA state" equals INSTALLING:
Referring to fig. 3 (h), it shows that the OTA is being installed, and a progress element is shown on the page, which shows the progress of the installation of the OTA.
Further, referring to the specific flow chart shown in fig. 4, the operation procedure of the embodiment of the present embodiment is as follows:
when detecting that an OTA new version exists in the OTA home page, comparing an OTA state attribute field of the returned data according to the server with an OTA state machine:
If the OTA is in the downloading stage, the lower view button can be clicked to enter an OTA new version information page, and the OTA update progress method of the OTA single-instance object is immediately called to start polling (an intermittent circulation request server is used for acquiring the downloading progress) until the OTA downloading is completed, and then the polling is ended and the circulation is jumped out.
If the OTA is in the 'to-be-installed stage', the lower 'upgrading' button can be clicked to enter an OTA new version information page, the 'immediate upgrading' button can be clicked on the OTA new version information page to perform immediate upgrading operation, at the moment, the 'OTA updating progress' method of the OTA single-instance object is also called to start polling until the 'OTA state' is in the 'in-installation stage', the page is automatically switched to the OTA upgrading page until the final upgrading is completed, and then the polling is ended;
if the OTA is in the "installation stage", the button below "view" can be clicked to enter the OTA upgrade page, and the method of "OTA update progress" of the OTA single-instance object is immediately called to start polling at the moment until the final upgrade is completed, and then the polling is ended.
When the "OTA state" is in the "download stage" and the "in-install stage" both require polling, so the polling condition is ended: when the 'OTA update progress' in the OTA single-instance object polls that the 'OTA state' is not equal to the states in the 'download stage' and the 'install stage' in the state machine and all instructions are issued, the 'OTA update progress' method in the OTA single-instance object forcedly exits the loop, and the polling is ended.
It can be understood that in the element definition of each display interface, the button, that is, the key, corresponds to the instruction display text, and the action after clicking a certain button points to click logic, and the element definition includes a first display key, a second display key, a display animation, a progress display text, a downloading progress identifier, an installation progress identifier, and the like, for example, the button text of the top page is displayed for viewing, and refers to the first display key corresponding to the current state; for example, when the "OTA state" is equal to DOWNLOADING, two buttons are displayed below the page, the button texts are respectively "pause download" and "cancel download", and a progress bar is displayed above the buttons for indicating the current OTA version download progress, at this time, the two buttons corresponding to the "pause download" and "cancel download" are both second display buttons, the progress bar is a download progress identifier, and a specific progress display text determined according to the current progress information can be added, for example, the progress display text 75% is added on the installation progress bar; for another example, when "OTA status" is equal to envirnment_ CHECKING, indicating that the vehicle ENVIRONMENT is detected before upgrading, an animation element is shown on the page, indicating a waiting process, and the animation element is displayed.
The method in the embodiment has the following effects:
the OTA remote upgrading process is controlled by a state machine mode, and a user can perceive the upgrading process;
the OTA single instance manager globally controls the ascending polling and the cutting-off polling, so that the display interface is flexible to control and high in expansibility.
According to the method, a state request is acquired through the cloud server, a display interface is determined according to the cloud state returned by the current state request, a display identifier on the display interface is determined according to the jump relation of the returned cloud state in the upgrade management state machine, and an operation instruction is sent to the cloud server according to clicking operation on the display identifier, so that the cloud server executes a corresponding operation instruction on a target vehicle, the cloud state in the cloud server is updated, the display interface and the display identifier are continuously displayed and updated on the display terminal. The user can know the specific state information of the current upgrading process based on the display terminal in the scheme, and sends out a feasible operation instruction through the display identifier, so that the remote upgrading process is known and controlled, and the remote upgrading experience of the user is improved.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein. It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Fig. 5 is a schematic diagram of a remote upgrade control device according to an embodiment of the present application. As shown in fig. 5, the remote upgrade control apparatus includes:
a state machine obtaining module 501, configured to obtain an upgrade management state machine, where the upgrade management state machine includes a plurality of cloud states and a skip relation between each cloud state, where each cloud state is used to indicate an operation state in an upgrade process of a target vehicle by a cloud server;
the state acquisition module 502 is configured to send a state request to the cloud server, so that the cloud server returns current state information based on the state request, where the current state information includes a current cloud state and version information;
an interface determining module 503, configured to determine a corresponding display interface based on a stage in which the current cloud state is located;
The information determining module 504 is configured to determine a display identifier and click logic corresponding to the display identifier, which are disposed on the display interface, based on the version information and a jump relationship between the current cloud state and other cloud states in the upgrade management state machine;
A display module 505, configured to display a display interface including a display identifier on a display terminal;
And the operation response module 506 is configured to, when receiving a click operation for any display identifier, send an operation instruction to the cloud server according to the corresponding click logic, so that the cloud server executes the operation instruction on the target vehicle, and trigger the state acquisition module.
According to the device provided by the embodiment of the application, the cloud server acquires the state request, the display interface is determined according to the cloud state returned by the current state request, the display identifier on the display interface is determined according to the jump relation of the returned cloud state in the upgrade management state machine, and the operation instruction is sent to the cloud server according to the clicking operation on the display identifier, so that the cloud server executes the corresponding operation instruction on the target vehicle, the cloud state in the cloud server is updated, the display interface and the display identifier are continuously displayed and updated on the display terminal. The user can know the specific state information of the current upgrading process based on the display terminal in the scheme, and sends out a feasible operation instruction through the display identifier, so that the remote upgrading process is known and controlled, and the remote upgrading experience of the user is improved.
In an exemplary embodiment, the interface determination module is specifically configured to:
if the current cloud state is in the current latest version stage, determining that the display interface is a home page;
If the current cloud state is in a new version discovery stage, a downloading stage or a stage to be installed, determining that the display interface is a new version information page;
and if the current cloud state is in the installation stage, determining the display interface as an installation information page.
In an exemplary embodiment, upgrading cloud states at a current latest version stage among all cloud states in a management state machine includes: the new version state and the successful installation state are not detected;
Cloud states in the stage of discovering new versions include: detecting a new version state, a manual canceling downloading state and a downloading failure state;
Cloud states in the download phase include: a pause download state, a download in-progress state;
The cloud state at the stage to be installed includes: a successful downloading state, a state of waiting for the expected time to arrive, a manual canceling of the installation state, a failure state of checking the environment before installation, and a failure state of installation;
Cloud states at the mid-installation stage include: the pre-installation environment inspection in-process state, the pre-installation environment inspection success state, the pre-installation preparation in-process state, and the in-installation state.
In an exemplary embodiment, the upgrade management state machine further includes a plurality of instruction states in one-to-one correspondence with each clicking operation, each instruction state having a jump relationship with a corresponding cloud state;
When a click operation for any display identifier is received, the operation response module is further configured to:
and updating the display interface and the display identifier based on the instruction state corresponding to the clicking operation.
In an exemplary embodiment, the operation response module is specifically configured to:
sending an operation instruction to the cloud server according to the corresponding click logic, so that the cloud server executes the operation instruction on the target vehicle and updates the current state information based on the jump relation between the instruction state and the cloud state;
The interface determination module is further configured to:
And if the current cloud state in the current state information is the next cloud state of the current instruction state, determining a corresponding display interface based on the stage of the current cloud state.
In an exemplary embodiment, the instruction state in the find new version stage includes: the corresponding operation instruction is the immediate downloading instruction sending state of the immediate downloading instruction;
the instruction state in the download phase includes: the corresponding operation instruction is a pause downloading instruction sending state of a pause downloading instruction, a resume downloading instruction sending state of a resume downloading instruction, and a cancel downloading instruction sending state of a cancel downloading instruction.
In an exemplary embodiment, the instruction state at the stage to be installed includes: the method comprises the steps that an immediate installation instruction sending state corresponding to an immediate installation instruction, an installation time configuration in-process state corresponding to an operation instruction being an reserved installation instruction and a cancellation reservation instruction sending state corresponding to the operation instruction being a cancellation reservation instruction;
The instruction states at the mid-installation stage include: the corresponding operation instruction is a confirmation installation instruction sending state of a confirmation installation instruction, and the corresponding operation instruction is a cancellation installation instruction sending state of a cancellation installation instruction.
In an exemplary embodiment, in the jump relationship between each instruction state and cloud state:
The immediately-downloading the last cloud of states in the instruction dispatch includes: detecting a new version state and a download failure state; the next cloud of status in the immediate download instruction issue includes the status in download.
In an exemplary embodiment, in the jump relationship between each instruction state and cloud state:
The last cloud state of the state in the sending process of the pause downloading instruction comprises the state in the downloading process; the next cloud state of the state in the sending of the pause downloading instruction comprises a pause downloading state;
The last cloud state of the state in the transmission of the downloading instruction is canceled to comprise a downloading state and a downloading suspension state; the next cloud state of the state in the transmission of the downloading instruction is canceled, wherein the next cloud state comprises a manual downloading canceling state;
restoring the last cloud state of the state in the sending of the downloading instruction comprises suspending the downloading state; the next cloud state to resume the in-flight state of the download instruction includes the in-flight state.
In an exemplary embodiment, in the jump relationship between each instruction state and cloud state:
Canceling a previous cloud state of the state in the reservation instruction transmission includes waiting for an expected time to arrive at the state; canceling the next cloud state of the state in the transmission of the reservation instruction comprises a successful downloading state;
immediately install the last cloud of states in the instruction issue includes: the method comprises the steps of downloading a successful state, manually canceling an installation state, checking a failure state of an environment before installation, and waiting for a predicted time to reach the state; the next cloud state of the immediate installation instruction sending state comprises a pre-installation environment checking state;
The last cloud state of the state in the installation time configuration comprises a download success state, a manual cancel installation state, a pre-installation environment check failure state and a state of waiting for the expected time to arrive; the next cloud of states in the installation time configuration includes waiting for the expected time to arrive at the state.
In an exemplary embodiment, in the jump relationship between each instruction state and cloud state:
confirming the previous cloud state of the state in the installation instruction sending process, wherein the previous cloud state comprises a successful state of environmental inspection before installation; confirming that the next cloud state of the installation instruction sending state comprises a pre-installation preparation state;
canceling the last cloud state of the state in the transmission of the installation instruction comprises the successful state of environmental check before installation; canceling the next cloud state of the state in the sending of the install instruction includes manually canceling the install state.
In an exemplary embodiment, the apparatus further comprises an accuracy acquisition module for:
If the current cloud state is in a downloading stage or an installation stage, sending a progress request to the cloud server according to a preset frequency, so that the cloud server returns current progress information based on the progress request, wherein the current progress information comprises one or more of downloading progress, installation progress, total file size, downloaded file size and current cloud state;
And updating the display interface and the display identifier based on the current progress information and the jump relation between the current cloud state and other cloud states in the upgrade management state machine.
In an exemplary embodiment, the display identification on the display interface includes one or more of:
A first display key corresponding to the current cloud state;
A second display key corresponding to the skip relation of the current cloud state and containing instruction display text;
Displaying animation corresponding to the current cloud state;
Displaying a text corresponding to the progress of the current progress information;
a download progress identifier corresponding to the download progress and the current cloud state;
and the installation progress mark corresponds to the installation progress and the current cloud state.
Fig. 6 is a schematic diagram of an electronic device 6 according to an embodiment of the present application. As shown in fig. 6, the electronic device 6 of this embodiment includes: a processor 601, a memory 602 and a computer program 603 stored in the memory 602 and executable on the processor 601. The steps of the various method embodiments described above are implemented by the processor 601 when executing the computer program 603. Or the processor 601 when executing the computer program 603 performs the functions of the modules/units of the apparatus embodiments described above.
The electronic device 6 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 6 may include, but is not limited to, a processor 601 and a memory 602. It will be appreciated by those skilled in the art that fig. 6 is merely an example of the electronic device 6 and is not limiting of the electronic device 6 and may include more or fewer components than shown, or different components.
The Processor 601 may be a central processing unit (Central Processing Unit, CPU) or other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
The memory 602 may be an internal storage unit of the electronic device 6, for example, a hard disk or a memory of the electronic device 6. The memory 602 may also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic device 6. The memory 602 may also include both internal and external storage units of the electronic device 6. The memory 602 is used to store computer programs and other programs and data required by the electronic device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit.
The integrated modules/units may be stored in a readable storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a readable storage medium, where the computer program may implement the steps of the method embodiments described above when executed by a processor. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The readable storage medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (16)

1. A remote upgrade control method, comprising:
Acquiring an upgrade management state machine, wherein the upgrade management state machine comprises a plurality of cloud states and a jump relation between each cloud state, and each cloud state is used for indicating one operation state in the upgrade process of a cloud server on a target vehicle;
sending a state request to the cloud server so that the cloud server returns current state information based on the state request, wherein the current state information comprises current cloud state and version information;
determining a corresponding display interface based on the current stage of the cloud state;
Determining a display identifier arranged on the display interface and click logic corresponding to the display identifier based on the version information and the jump relation between the current cloud state and other cloud states in the upgrade management state machine;
Displaying the display interface comprising the display identifier on a display terminal;
And when a clicking operation for any display identifier is received, sending an operation instruction to the cloud server according to the corresponding clicking logic so that the cloud server executes the operation instruction on a target vehicle, and executing a step of sending a state request to the cloud server so that the cloud server returns current state information based on the state request.
2. The method of claim 1, wherein determining the corresponding display interface based on the stage in which the cloud state is currently located comprises:
if the current cloud state is in the current latest version stage, determining that the display interface is a home page;
if the current cloud state is in a new version discovery stage, a downloading stage or a stage to be installed, determining that the display interface is a new version information page;
and if the current cloud state is in the installation stage, determining the display interface as an installation information page.
3. The method of claim 2, wherein the cloud state at the current latest version stage among all the cloud states in the upgrade management state machine comprises: the new version state and the successful installation state are not detected;
The cloud state in the new version discovery stage includes: detecting a new version state, a manual canceling downloading state and a downloading failure state;
The cloud state at the download stage includes: a pause download state, a download in-progress state;
The cloud state at the stage to be installed includes: a successful downloading state, a state of waiting for the expected time to arrive, a manual canceling of the installation state, a failure state of checking the environment before installation, and a failure state of installation;
The cloud state at the mid-installation stage includes: the pre-installation environment inspection in-process state, the pre-installation environment inspection success state, the pre-installation preparation in-process state, and the in-installation state.
4. The method of claim 3, wherein the upgrade management state machine further comprises a plurality of instruction states in one-to-one correspondence with each of the click operations, each of the instruction states having a jump relationship with the corresponding cloud state;
when a clicking operation for any display identifier is received, the method further comprises the following steps:
and updating the display interface and the display identifier based on the instruction state corresponding to the clicking operation.
5. The method of claim 4, wherein the process of sending an operation instruction to the cloud server according to the corresponding click logic to cause the cloud server to execute the operation instruction on a target vehicle comprises:
sending an operation instruction to the cloud server according to the corresponding click logic, so that the cloud server executes the operation instruction on a target vehicle and updates the current state information based on the jump relation between the instruction state and the cloud state;
After executing the step of sending a status request to the cloud server to enable the cloud server to return current status information based on the status request, determining a corresponding display interface based on a stage where the current cloud status is located includes:
and if the current cloud state in the current state information is the cloud state next to the current instruction state, determining a corresponding display interface based on the stage of the current cloud state.
6. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
The instruction states in the new version discovery stage include: the corresponding operation instruction is an immediate downloading instruction sending state of an immediate downloading instruction;
The instruction state at the download stage includes: the operation instruction is a pause downloading instruction sending state of a pause downloading instruction, a resume downloading instruction sending state of a resume downloading instruction, and a cancel downloading instruction sending state of a cancel downloading instruction.
7. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
The instruction states at the stage to be installed include: an immediate installation instruction sending state corresponding to the operation instruction being an immediate installation instruction, an installation time configuration in-process state corresponding to the operation instruction being a reservation installation instruction, and a cancellation reservation instruction sending state corresponding to the operation instruction being a cancellation reservation instruction;
The instruction states at the in-install stage include: and the operation instruction is a confirmation installation instruction sending state of confirming the installation instruction, and the operation instruction is a cancellation installation instruction sending state of canceling the installation instruction.
8. The method of claim 6, wherein in the jump relationship between each of the instruction states and the cloud states:
The cloud state last of the state in the immediate download instruction transmission includes: the detected new version state and the download failure state; the cloud state next to the in-flight status of the immediate download instruction includes the in-flight status.
9. The method of claim 6, wherein in the jump relationship between each of the instruction states and the cloud states:
The cloud state last of the state in the sending process of the downloading suspending instruction comprises the state in the downloading process; the cloud state next to the state in the sending process of the downloading suspending instruction comprises the downloading suspending state;
the cloud state which is the last in the sending state of the downloading canceling instruction comprises the downloading state and the downloading suspending state; the cloud state next to the state in the sending process of the downloading canceling instruction comprises the artificial downloading canceling state;
the cloud state last in the state in the sending process of the download resuming instruction comprises the state of suspending downloading; the cloud state next to the state in the process of restoring the downloading instruction sending comprises the state in the downloading process.
10. The method of claim 7, wherein in the jump relationship between each of the instruction states and the cloud states:
The cloud state of the state in the transmission of the reservation cancellation instruction comprises the waiting predicted time arrival state; the cloud state next to the state in the transmission of the reservation cancellation instruction comprises the successful downloading state;
the cloud state last of the state in the immediate install instruction transmission includes: the download success state, the manual cancel installation state, the pre-installation environment check failure state and the waiting predicted time arrival state; the cloud state next to the immediate installation instruction sending state comprises an environment checking state before installation;
The cloud state of the state in the installation time configuration comprises the successful downloading state, the manual cancellation installation state, the environment check failure state before installation and the waiting predicted time arrival state; the next cloud state of states in the installation time configuration includes the wait for expected time to arrive state.
11. The method of claim 7, wherein in the jump relationship between each of the instruction states and the cloud states:
The cloud state which confirms the state in the installation instruction sending process comprises the environment check success state before installation; the cloud state next to the state in the process of confirming the installation instruction sending comprises a state in preparation before installation;
the cloud state of the state in the transmission process of the cancel installation instruction comprises the state of successful detection of the environment before installation; the cloud state next to the state in the transmission of the cancel installation instruction comprises the artificial cancel installation state.
12. The method according to any one of claims 2 to 11, wherein displaying the display interface including the display identifier after a display terminal further comprises:
If the current cloud state is in the downloading stage or the installing stage, sending a progress request to the cloud server according to a preset frequency, so that the cloud server returns current progress information based on the progress request, wherein the current progress information comprises one or more of downloading progress, installing progress, total file size, downloaded file size and current cloud state;
And updating the display interface and the display identifier based on the current progress information and the jump relation between the current cloud state and other cloud states in the upgrade management state machine.
13. The method of claim 12, wherein the display identification on the display interface comprises one or more of:
a first display key corresponding to the current cloud state;
a second display key corresponding to the skip relation of the current cloud state and containing instruction display text;
Displaying animation corresponding to the current cloud state;
displaying a text corresponding to the current progress of the progress information;
A download progress mark corresponding to the download progress and the current cloud state;
and the installation progress mark corresponds to the installation progress and the current cloud state.
14. A remote upgrade control apparatus, comprising:
The system comprises a state machine acquisition module, a target vehicle upgrading module and a state machine upgrading module, wherein the state machine acquisition module is used for acquiring an upgrading management state machine, the upgrading management state machine comprises a plurality of cloud states and a jump relation between each cloud state, and each cloud state is used for indicating one operation state in the process of upgrading the target vehicle by a cloud server;
the state acquisition module is used for sending a state request to the cloud server so that the cloud server returns current state information based on the state request, and the current state information comprises the current cloud state and version information;
the interface determining module is used for determining a corresponding display interface based on the current stage of the cloud state;
The information determining module is used for determining a display identifier arranged on the display interface and click logic corresponding to the display identifier based on the version information and the jump relation between the current cloud state and other cloud states in the upgrade management state machine;
the display module is used for displaying the display interface comprising the display identifier on a display terminal;
and the operation response module is used for sending an operation instruction to the cloud server according to the corresponding click logic when receiving the click operation of any display identifier, so that the cloud server executes the operation instruction on the target vehicle and triggers the state acquisition module.
15. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 13 when the computer program is executed.
16. A readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 13.
CN202410889256.6A 2024-07-04 2024-07-04 Remote upgrade control method and device, electronic equipment and readable storage medium Active CN118426812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410889256.6A CN118426812B (en) 2024-07-04 2024-07-04 Remote upgrade control method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410889256.6A CN118426812B (en) 2024-07-04 2024-07-04 Remote upgrade control method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN118426812A true CN118426812A (en) 2024-08-02
CN118426812B CN118426812B (en) 2024-09-13

Family

ID=92323430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410889256.6A Active CN118426812B (en) 2024-07-04 2024-07-04 Remote upgrade control method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN118426812B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325947A (en) * 2016-09-18 2017-01-11 北京方研矩行科技有限公司 Method for upgrading OTA (over-the-air technology) firmware based on state machine
US20200387368A1 (en) * 2019-06-10 2020-12-10 Hyundai Motor Company Apparatus and method for controlling update of vehicle
CN112650511A (en) * 2019-10-11 2021-04-13 现代自动车株式会社 OTA (over the air) update control method and system
CN115495099A (en) * 2021-11-29 2022-12-20 上海艾拉比智能科技有限公司 Mobile terminal remote control method suitable for OTA (over the air) upgrading of automobile
CN115706954A (en) * 2021-08-13 2023-02-17 现代自动车株式会社 Apparatus for performing over-the-air update for vehicle and method thereof
CN115756550A (en) * 2022-11-29 2023-03-07 重庆长安汽车股份有限公司 OTA (over the air) upgrading method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325947A (en) * 2016-09-18 2017-01-11 北京方研矩行科技有限公司 Method for upgrading OTA (over-the-air technology) firmware based on state machine
US20200387368A1 (en) * 2019-06-10 2020-12-10 Hyundai Motor Company Apparatus and method for controlling update of vehicle
CN112650511A (en) * 2019-10-11 2021-04-13 现代自动车株式会社 OTA (over the air) update control method and system
CN115706954A (en) * 2021-08-13 2023-02-17 现代自动车株式会社 Apparatus for performing over-the-air update for vehicle and method thereof
CN115495099A (en) * 2021-11-29 2022-12-20 上海艾拉比智能科技有限公司 Mobile terminal remote control method suitable for OTA (over the air) upgrading of automobile
CN115756550A (en) * 2022-11-29 2023-03-07 重庆长安汽车股份有限公司 OTA (over the air) upgrading method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈程杰: ""基于CAN总线的ECU在线刷新和远程服务系统的开发"", 《中国优秀硕士学位论文全文数据库信息科技辑》, 15 May 2018 (2018-05-15), pages 138 - 232 *

Also Published As

Publication number Publication date
CN118426812B (en) 2024-09-13

Similar Documents

Publication Publication Date Title
CN113687853B (en) Vehicle upgrade control method and computer storage medium
EP3764220B1 (en) Automatic application updates
US9690565B2 (en) Application assisted software update for connected devices without a display
CN112118318B (en) Vehicle upgrading method, terminal device, vehicle and computer storage medium
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
CN104978285A (en) Function extension method and terminal device
CN111130891A (en) Server management device and method, electronic equipment and storage medium
CN113238763A (en) Application deployment method, device, storage medium and program product
KR20200031900A (en) Apparatus and method for controlling protocol data unit session
CN108363592B (en) Application software running method, device, equipment and computer readable storage medium
CN114201197A (en) Firmware upgrading method and device, electronic equipment and readable storage medium
CN114968406B (en) Plug-in management method and device, electronic equipment and storage medium
CN107025574B (en) Promotion information display method and device
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
US10193737B2 (en) Method for performing communication between browser and mobile terminal, and browser apparatus
CN113138786B (en) Application updating method and device
CN118426812B (en) Remote upgrade control method and device, electronic equipment and readable storage medium
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN112905209A (en) Application program updating method and device
CN107463395B (en) Component calling method and device
CN104077168A (en) Method and device for updating operation systems for terminal
CN109413714B (en) User agent information processing method, device, storage medium and terminal
CN104090805B (en) A kind of method, equipment and system for updating terminal operating system
US9690592B2 (en) Display control device, and display control method
CN115987786A (en) Configuration change method, system, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant