APPLICATION DISPLAY METHOD AND ELECTRONIC DEVICE
The present disclosure relates to application display methods. One example method includes displaying a first interface of a first application, and detecting a first operation in the first interface. The first operation is used to display a second interface of the first application, the second interface includes a first sub-interface and a second sub-interface, the first sub-interface is used to display a running status of a target vehicle on an electronic map, and the second sub-interface is used to provide an upgrade function. When the target vehicle is checked before upgrade, the running status of the target vehicle on the electronic map is obtained to determine whether to upgrade the target vehicle.
1 . An application display method, comprising:
displaying a first interface of a first application; and
detecting a first operation in the first interface, wherein the first operation is used to display a second interface of the first application, the second interface comprises a first sub-interface and a second sub-interface, the first sub-interface is used to display a running status of a target vehicle on an electronic map, and the second sub-interface is used to provide an upgrade function.
2 . The method according to claim 1 , wherein the running status of the target vehicle on the electronic map comprises location information of the target vehicle.
3 . The method according to claim 1 , wherein the first sub-interface is further used to display or prompt an upgrade area, and the upgrade area is used to define an area in which the upgrade function can be performed.
4 . The method according to claim 3 , wherein the upgrade area is predefined or preconfigured.
5 . The method according to claim 3 , wherein the method further comprises:
detecting a second operation, wherein the second operation is used to select the upgrade area on the electronic map or to enter location information of the upgrade area.
6 . The method according to claim 1 , wherein the method further comprises:
displaying feedback information, wherein the feedback information indicates that the target vehicle cannot be upgraded or that the target vehicle does not meet an upgrade requirement.
7 . An electronic device, comprising a display, a memory, one or more processors, a first application, and one or more programs, wherein the one or more programs are stored in the memory, and when the one or more processors execute the one or more programs, the electronic device is enabled to perform operations comprising:
displaying a first interface of the first application; and
detecting a first operation in the first interface, wherein the first operation is used to display a second interface of the first application, the second interface comprises a first sub-interface and a second sub-interface, the first sub-interface is used to display a running status of a target vehicle on an electronic map, and the second sub-interface is used to provide an upgrade function.
8 . The electronic device according to claim 7 , wherein the running status of the target vehicle on the electronic map comprises location information of the target vehicle.
9 . The electronic device according to claim 7 , wherein the first sub-interface is further used to display or prompt an upgrade area, and the upgrade area is used to define an area in which the upgrade function can be performed.
10 . The electronic device according to claim 9 , wherein the upgrade area is predefined or preconfigured.
11 . The electronic device according to claim 9 , wherein the operations further comprise:
detecting a second operation, wherein the second operation is used to select the upgrade area on the electronic map or to enter location information of the upgrade area.
12 . The electronic device according to claim 7 , wherein the operations further comprise:
displaying feedback information, wherein the feedback information indicates that the target vehicle cannot be upgraded or that the target vehicle does not meet an upgrade requirement.
13 . An upgrade method, comprising:
receiving, by a target vehicle in an upgrade area, an upgrade instruction; and
when the target vehicle is in an upgrade state, performing an upgrade operation according to the upgrade instruction; or
when the target vehicle is not in an upgrade state, sending feedback information, wherein the feedback information indicates that the target vehicle cannot be upgraded or that the target vehicle does not meet an upgrade requirement, wherein
the upgrade state comprises that the target vehicle is in a guarded state.
14 . The method according to claim 13 , wherein the guarded state is a state that a user who is using the vehicle is not in the target vehicle and that the vehicle is in a locked state.
15 . The method according to claim 13 , wherein the upgrade state further comprises at least one of:
a charging plug of the target vehicle in a disconnected state, an on-board diagnostics (OBD) system of the target vehicle in a disconnected state, the target vehicle in P-gear, a filler cap of the target vehicle in a closed state, a caliper of a hand brake of the target vehicle in a clamped state, a battery level of the target vehicle in a flashable state, or the target vehicle in a non-ignition state.
16 . The method according to claim 13 , wherein the upgrade instruction comprises preset time information for software upgrade, and the preset time information indicates a preset time for software upgrade.
17 . The method according to claim 16 , wherein the method further comprises:
comparing a target time with the preset time; and
performing software upgrade when the preset time is greater than the target time.
18 . The method according to claim 13 , wherein the upgrade instruction comprises preset battery level information required for software upgrade, and the preset battery level information indicates a first battery level.
19 . The method according to claim 18 , wherein the method further comprises:
obtaining target battery level information of the target vehicle, wherein the target battery level information indicates a second battery level; and
performing software upgrade when a sum of the first battery level and the second battery level is greater than or equal to a remaining battery level of the target vehicle.