Interface display method, device, terminal and storage medium

By obtaining and displaying the same interface identifier when switching terminal systems, the problem of inconsistent display during system switching is solved, thus achieving continuity and convenience in system switching.

CN115617405BActive Publication Date: 2025-11-14GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110803055.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-15
Publication Date
2025-11-14
Estimated Expiration
2041-07-15

AI Technical Summary

Technical Problem

When switching between terminal systems, how can we ensure the continuity of the display when switching between different systems, especially in balancing battery life and functional diversity?

Method used

By obtaining the interface identifier of the second system when it initiates the startup command during the startup process of the first system, and displaying the same interface after the first system has started up, the consistency of the interface during system switching is ensured.

Benefits of technology

This ensures a smooth interface during system switching, improving the convenience of system switching and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115617405B_ABST
    Figure CN115617405B_ABST
Patent Text Reader

Abstract

This application discloses an interface display method, apparatus, terminal, and storage medium, belonging to the field of computer technology. The method includes: starting a first system in response to a startup command for a first system; during the startup process of the first system, acquiring a first interface identifier, the first interface identifier indicating a first interface displayed by a second system when the startup command is initiated; and in response to the completion of the first system startup, displaying a second interface identical to the first interface based on the first interface identifier. The method provided in this application starts the first system while the second system is running, and during the startup process of the first system, acquires a first interface identifier corresponding to the first interface displayed by the second system when the startup command for the first system is initiated, so that after the first system startup is completed, a second interface identical to the first interface is displayed based on the first interface identifier. This achieves consistency in the interface displayed during system switching, improving the continuity of system switching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an interface display method, device, terminal, and storage medium. Background Technology

[0002] In recent years, with the development of computer technology, the functions of terminals have become increasingly rich and diverse, but consequently, their battery life has become increasingly poor. To meet the diverse needs of users, terminals are equipped with different operating systems. Some systems have long battery life but limited functionality, while others have short battery life but offer more features. However, how to achieve seamless switching between different systems is a pressing technical problem that needs to be solved. Summary of the Invention

[0003] This application provides an interface display method, device, terminal, and storage medium, which can improve the smoothness of system switching. The technical solution is as follows:

[0004] According to one aspect of the embodiments of this application, a method for displaying an interface is provided, the method comprising:

[0005] In response to a startup command to the first system, the first system is started;

[0006] During the startup process of the first system, a first interface identifier is obtained, which indicates the first interface displayed by the second system when the startup command is initiated.

[0007] In response to the completion of the first system startup, a second interface identical to the first interface is displayed based on the first interface identifier.

[0008] In some embodiments, the interface data corresponding to the same interface identifier in the first system and the second system are used to display the same interface. The step of displaying a second interface identical to the first interface based on the first interface identifier in response to the completion of startup of the first system includes:

[0009] In response to the completion of the first system startup, determine the first interface data corresponding to the first interface identifier in the first system;

[0010] The second interface is displayed based on the data from the first interface.

[0011] In some embodiments, obtaining the first interface identifier during the startup process of the first system includes:

[0012] During the startup process of the first system, indication information is obtained, which indicates whether the startup command was initiated while the second system is running;

[0013] In response to the indication information being a first indication information, the first interface identifier is obtained, wherein the first indication information indicates that the startup command is initiated while the second system is running.

[0014] In some embodiments, obtaining indication information during the startup process of the first system includes:

[0015] During the startup process of the first system, the first instruction information stored in the first storage area is read from the first storage area. The first instruction information is stored by the second system in response to the startup command when the second system is running.

[0016] In some embodiments, obtaining indication information during the startup process of the first system further includes:

[0017] During the startup process of the first system, in response to the failure to read the first indication information stored in the first storage area, a second indication information is generated, which indicates that the first system is self-starting.

[0018] In some embodiments, after obtaining the indication information during the startup process of the first system, the method further includes:

[0019] The instruction information is stored in the second storage area;

[0020] The step of displaying a second interface identical to the first interface based on the first interface identifier upon completion of the first system startup includes:

[0021] In response to the completion of the first system startup, the indication information stored in the second storage area is read;

[0022] In response to the read instruction information being the first instruction information, the second interface is displayed based on the acquired first interface identifier.

[0023] In some embodiments, after reading the indication information stored in the second storage area in response to the completion of the first system startup, the method further includes:

[0024] In response to the read indication information being the second indication information, the third interface displayed when the first system was previously shut down is shown, and the second indication information indicates that the first system is self-starting.

[0025] In some embodiments, after obtaining the indication information during the startup process of the first system, the method further includes:

[0026] In response to the indication information being the second indication information, the first interface identifier will no longer be acquired during the startup process of the first system;

[0027] In response to the completion of the first system startup, the third interface that was displayed when the first system was previously shut down is shown.

[0028] In some embodiments, obtaining the first interface identifier during the startup process of the first system includes:

[0029] During the startup process of the first system, an identifier acquisition request is sent to the second system. The identifier acquisition request is used to request the interface identifier corresponding to the interface displayed when the startup command is initiated. The second system is used to receive the identifier acquisition request and return the first interface identifier.

[0030] Receive the first interface identifier returned by the second system.

[0031] In some embodiments, after obtaining the first interface identifier during the startup process of the first system, the method further includes:

[0032] Store the first interface identifier in the second storage area;

[0033] The step of displaying a second interface identical to the first interface based on the first interface identifier upon completion of the first system startup includes:

[0034] In response to the completion of the first system startup, the first interface identifier stored in the second storage area is read;

[0035] In response to reading the first interface identifier, the second interface is displayed based on the first interface identifier.

[0036] In some embodiments, after reading the first interface identifier stored in the second storage area in response to the completion of the first system startup, the method further includes:

[0037] In response to the failure to read the first interface identifier stored in the second storage area, the third interface displayed when the first system was previously closed is shown.

[0038] In some embodiments, after obtaining the first interface identifier during the startup process of the first system, the method further includes:

[0039] In response to the completion of the first system startup and the absence of corresponding interface data for the first interface identifier in the first system, the third interface displayed when the first system was previously closed is shown.

[0040] In some embodiments, the method further includes:

[0041] The system receives a first interface identifier list sent by the second system. The first interface identifier list includes at least one interface identifier, and each interface identifier indicates a candidate main interface.

[0042] Based on the first interface identifier list, update the second interface identifier list in the first system so that the second interface identifier list contains the same interface identifiers as the first interface identifier list.

[0043] In some embodiments, after updating the second interface identifier list in the first system based on the first interface identifier list, the method further includes:

[0044] In response to the operation of displaying the second interface identifier list, the second interface identifier list is displayed;

[0045] In response to the confirmation operation of the target interface identifier in the second interface identifier list, the target main interface corresponding to the target interface identifier is displayed.

[0046] According to another aspect of the embodiments of this application, a user interface display device is provided, the device comprising:

[0047] A startup module is used to start the first system in response to a startup command to the first system;

[0048] The acquisition module is used to acquire a first interface identifier during the startup process of the first system, wherein the first interface identifier indicates the first interface displayed by the second system when the startup command is initiated.

[0049] The display module is used to respond to the completion of the first system startup by displaying a second interface that is the same as the first interface based on the first interface identifier.

[0050] In some embodiments, the interface data corresponding to the same interface identifier in the first system and the second system are used to display the same interface. The display module is used to determine the first interface data corresponding to the first interface identifier in the first system in response to the completion of the first system startup; and to display the second interface based on the first interface data.

[0051] In some embodiments, the acquisition module includes:

[0052] The acquisition unit is used to acquire indication information during the startup process of the first system, the indication information indicating whether the startup command is initiated while the second system is running;

[0053] The acquisition unit is further configured to acquire the first interface identifier in response to the indication information being the first indication information, wherein the first indication information indicates that the startup command was initiated while the second system is running.

[0054] In some embodiments, the acquisition unit is configured to read the first indication information stored in a first storage area during the startup process of the first system. The first indication information is stored by the second system in response to the startup command when the second system is running.

[0055] In some embodiments, the acquisition unit is further configured to generate second indication information in response to the failure to read the first indication information stored in the first storage area during the startup process of the first system, the second indication information indicating that the first system is self-starting.

[0056] In some embodiments, the apparatus further includes:

[0057] A storage module is used to store the indication information in a second storage area;

[0058] The display module includes:

[0059] A reading unit is configured to read the indication information stored in the second storage area in response to the completion of the first system startup;

[0060] The display unit is configured to display the second interface in response to the read indication information being the first indication information, based on the acquired first interface identifier.

[0061] In some embodiments, the display module is further configured to, in response to the read indication information being the second indication information, display a third interface that was previously displayed when the first system was shut down, wherein the second indication information indicates that the first system is self-starting.

[0062] In some embodiments, the acquisition module is further configured to, in response to the indication information being the second indication information, no longer acquire the first interface identifier during the startup process of the first system;

[0063] The display module is also configured to display the third interface that was displayed when the first system was previously shut down, in response to the completion of the first system startup.

[0064] In some embodiments, the acquisition module includes:

[0065] The sending unit is used to send an identifier acquisition request to the second system during the startup process of the first system. The identifier acquisition request is used to request the interface identifier corresponding to the interface displayed when the startup command is initiated. The second system is used to receive the identifier acquisition request and return the first interface identifier.

[0066] The receiving unit is used to receive the first interface identifier returned by the second system.

[0067] In some embodiments, the apparatus further includes:

[0068] The storage module is used to store the first interface identifier in the second storage area;

[0069] The display module includes:

[0070] The reading unit is configured to read the first interface identifier stored in the second storage area in response to the completion of the first system startup;

[0071] The display unit is configured to display the second interface based on the first interface identifier in response to reading the first interface identifier.

[0072] In some embodiments, the display unit is further configured to display a third interface that was previously displayed when the first system was shut down, in response to the failure to read the first interface identifier stored in the second storage area.

[0073] In some embodiments, the display module is further configured to display the third interface that was previously displayed when the first system was shut down, in response to the completion of the first system startup and the absence of interface data corresponding to the first interface identifier in the first system.

[0074] In some embodiments, the apparatus further includes:

[0075] The receiving module is configured to receive a first interface identifier list sent by the second system, the first interface identifier list including at least one interface identifier, and each interface identifier indicating a candidate main interface.

[0076] The update module is used to update the second interface identifier list in the first system based on the first interface identifier list, so that the second interface identifier list is the same as the interface identifiers contained in the first interface identifier list.

[0077] In some embodiments, the display module is further configured to display the second interface identifier list in response to a display operation on the second interface identifier list; and to display the target main interface corresponding to the target interface identifier in response to a confirmation operation on the target interface identifier in the second interface identifier list.

[0078] According to another aspect of the embodiments of this application, a terminal is provided, the terminal including a processor and a memory; the memory stores at least one instruction, the at least one instruction being executed by the processor to implement the interface display method as described above.

[0079] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, the storage medium storing at least one instruction, the at least one instruction being executed by a processor to implement the interface display method as described above.

[0080] According to another aspect of the embodiments of this application, a computer program product is provided, which stores at least one piece of program code, said at least one piece of program code being loaded and executed by a processor to implement the interface display method described above.

[0081] The interface display method, device, terminal, and storage medium provided in this application embodiment start the first system while the second system is running. During the startup process of the first system, the first interface identifier corresponding to the first interface displayed by the second system when the startup command to the first system is initiated is obtained. After the first system is started, the second interface that is the same as the first interface is displayed based on the first interface identifier. This achieves consistency of the interface displayed when switching systems and improves the continuity of system switching. Attached Figure Description

[0082] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0083] Figure 1 This illustration shows a schematic diagram of multiple system interactions in a terminal provided by an exemplary embodiment of this application;

[0084] Figure 2 A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown.

[0085] Figure 3 A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown.

[0086] Figure 4 A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown.

[0087] Figure 5A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown.

[0088] Figure 6 A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown.

[0089] Figure 7 This illustration shows a structural block diagram of an interface display device provided in an exemplary embodiment of this application;

[0090] Figure 8 This illustration shows a structural block diagram of an interface display device provided in an exemplary embodiment of this application;

[0091] Figure 9 The diagram shows a structural block diagram of a terminal provided in an exemplary embodiment of this application. Detailed Implementation

[0092] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.

[0093] In this article, “multiple” means two or more, and “at least one” means one, two or more.

[0094] This application provides an interface display method, in which a terminal is executed and a first system and a second system are configured in the terminal. When switching from the second system to the first system, the second interface displayed after the first system starts up is the same as the first interface displayed by the second system.

[0095] In some embodiments, the terminal can be a mobile phone, desktop computer, laptop computer, tablet computer, smart TV, smart speaker, vehicle terminal, smart robot, or other types of terminal. In some embodiments, such as... Figure 1 As shown, the terminal is equipped with a first system 101 and a second system 102. Information exchange between the first system 101 and the second system 102 can be achieved through a communication channel. For example, when the second system 102 is running, a startup command is initiated to the first system 101, starting the first system 102. During the startup process of the first system 101, interaction occurs with the second system 102 through the first system 101 and the communication channel to obtain the first interface identifier corresponding to the first interface displayed by the second system 102 when the startup command was initiated. As another example, if the startup command to the first system 101 is initiated while the second system is running, and after the first system 101 displays the second interface, the second system 102 synchronizes its interface identifier list with the first system 101 through the communication channel, so that the first system 101 can display the same interface identifier list as the second system 102.

[0096] The interface display method provided in this application embodiment can be applied to any terminal configured with multiple systems.

[0097] For example, the interface display method provided in this application embodiment is applied to a watch equipped with multiple systems. The terminal is equipped with a first system and a second system. The first system has a weak battery life but can realize all the functions of the terminal, while the second system has a strong battery life but can realize fewer functions. When the terminal runs the first system, it is equivalent to turning on the full smart mode; when the terminal runs the second system, it is equivalent to turning on the long battery life mode; or, when the terminal runs the first system and the second system simultaneously, it is equivalent to turning on the full smart mode; when the terminal runs only the second system, it is equivalent to turning on the long battery life mode. When the terminal switches from the long battery life mode to the full smart mode, the interface display method provided in this application embodiment can ensure that the watch face displayed when the terminal switches systems remains consistent, thus ensuring the continuity of system switching.

[0098] Figure 2 A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown. See also: Figure 2 This method is applied in a terminal, and the method includes:

[0099] 201. In response to the startup command for the first system, start the first system.

[0100] In this embodiment, the terminal is configured with a first system and a second system. Different systems are used to implement different functions. For example, the terminal has longer battery life when running the second system, but fewer functions; conversely, the terminal has shorter battery life when running the first system, but more functions. The terminal can run any system and can switch between multiple systems arbitrarily. For example, when running the first system, the terminal can switch to the second system. The terminal can also run multiple systems simultaneously, such as running both the first and second systems at the same time. Furthermore, when running multiple systems, the terminal can shut down any currently running system.

[0101] In the embodiments of this application, the system indicated by the startup command can be started in response to a startup command for any system.

[0102] 202. During the startup process of the first system, obtain the first interface identifier, which indicates the first interface displayed by the second system when the startup command is initiated.

[0103] In this embodiment, the terminal can display an interface through the running system while running any system, and can also switch arbitrarily between different interfaces in the currently running system. If the terminal is running a second system, it starts the first system in response to a startup command for the first system. During the startup process of the first system, it obtains the first interface identifier corresponding to the first interface displayed by the second system when the startup command was initiated, so that after the first system starts up, it can display an interface identical to the first interface based on the first interface identifier.

[0104] 203. In response to the completion of the first system startup, a second interface identical to the first interface is displayed based on the first interface identifier.

[0105] After the first system starts up, it will display an interface so that users can view information or perform operations. After the first system starts up, a second interface identical to the first interface, obtained during the startup process, will be displayed to achieve interface synchronization during system switching.

[0106] This application provides an interface display method that starts a first system while running a second system. During the startup process of the first system, a first interface identifier corresponding to the first interface displayed by the second system when the startup command to the first system is initiated is obtained. This allows a second interface identical to the first interface to be displayed based on the first interface identifier after the first system has started up. This achieves consistency in the interface displayed when switching systems and improves the continuity of system switching.

[0107] In the above Figure 2 Based on the embodiment shown, instruction information can also be obtained during the startup process of the first system. Taking the obtained first instruction information as an example, the first instruction information indicates that the startup command for the first system is initiated while the second system is running. After the first system is started, the second interface is displayed based on the first instruction information, as detailed in the following embodiment.

[0108] Figure 3 A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown. See also: Figure 3 This method is applied in a terminal, and the method includes:

[0109] 301. In response to the startup command for the first system, start the first system.

[0110] When the terminal receives a startup command for the first system, indicating that the first system needs to be started, the terminal starts the first system.

[0111] In some embodiments, the startup command is initiated while the second system is running; that is, 301 includes: while the second system is running, starting the first system in response to the startup command for the first system.

[0112] When the terminal is running a second system, it can launch the first system, thus switching the currently running second system to the first system. Alternatively, while the second system is running, the first system can run simultaneously, with the first system running in the foreground and the second system running in the background. Initiating a startup command for the first system while the second system is running enables switching between different systems on the same terminal, thereby improving the terminal's flexibility.

[0113] For example, the startup command to the first system is initiated through the startup option displayed on the first interface of the second system. That is, the process of starting the first system based on the startup command includes: displaying the startup option on the first interface while the second system is running, and starting the first system in response to the triggering operation of the startup option.

[0114] The first interface is the interface displayed when the second system is running. This startup option is used to initiate the startup command to start the first system. When the second system is running, the first interface is displayed based on the second system, and the startup option for starting the first system is displayed on the first interface, so that the first system can be started directly based on the startup option, thereby improving the flexibility and convenience of system startup.

[0115] In some other embodiments, the startup command for the first system is initiated when the terminal is powered on, in which case the first system is started when the terminal is powered on.

[0116] Optionally, the first system is the terminal's default system, which is started when the terminal switches from a powered-off state to a powered-on state. The default system is the highest-priority system among the various systems configured on the terminal; if the terminal switches from a powered-off state to a powered-on state, the default system is started first.

[0117] Optionally, if the system running during the previous shutdown of the terminal is the first system, then the first system will be automatically started when the terminal is powered on. In this embodiment, the terminal records the system running each time it is shut down, so that the system running during the previous shutdown will continue to run upon restarting.

[0118] In some embodiments, the first system is automatically restarted after the first system is shut down. That is, before step 301, the method further includes: shutting down the first system in response to a restart command for the first system while the first system is running, and starting the first system in response to the completion of the shutdown.

[0119] 302. During the startup process of the first system, obtain indication information indicating whether the startup command was initiated while the second system is running.

[0120] In this embodiment, the terminal is configured with a first system and a second system, which are different systems. For example, the first system is an Android system, and the second system is an MCU (Microcontroller Unit) system. Different systems may have different startup methods, and for any system, the interface displayed after startup may be different depending on the startup method. To ensure the accuracy of system startup, indication information is obtained during the startup process of the first system to determine the startup method of the first system.

[0121] The indication information can be of any form, such as characters, or it can be information contained in a flag bit for starting the first system, such as "MCU_REBOOT_ANDROID (MCU system_reboot_Android system)", indicating that the startup command to the Android system is initiated while the MCU system is running. In some embodiments, the indication information includes a first indication information or a second indication information. The first indication information indicates that the startup command is initiated while the second system is running, and the second indication information indicates that the first system is self-starting, meaning that the startup command to the first system is not initiated while the second system is running. For example, the first system may be the terminal's default system, and starting the first system when the terminal powers on indicates that the first system is self-starting; or, the first system may be the system that ran when the terminal was previously powered off, and starting the first system when the terminal powers on indicates that the first system is self-starting; or, while the terminal is running the first system, it shuts down the first system in response to a restart command for the first system, and then starts the first system in response to the shutdown completion, indicating that the first system is self-starting.

[0122] Whether other systems are running when the startup command to the first system is triggered will result in different indication information. For example, both the first and second indication information may include numbers, with the first indication information being 1 and the second indication information being 0.

[0123] In some embodiments, during the startup process of the first system, the indication information is obtained by reading the first storage area; that is, 302 includes the following two methods:

[0124] The first method: During the startup process of the first system, the first instruction information stored in the first storage area is read. The first instruction information is stored by the second system in response to the startup command when the second system is running.

[0125] The first storage area is used to store instruction information. In some embodiments, the first storage area can also store other information, such as a disk file in the terminal, which can store not only instruction information but also other information of the first or second system.

[0126] In this embodiment, when the second system is running, in response to the startup command for the first system, not only is the first system started, but the second system also stores the first indication information in a first storage area. This allows for subsequent determination, based on the first indication information stored in the first storage area, that the startup command for the first system was initiated while the second system is running. The first indication information is generated and stored by the second system.

[0127] In some embodiments, the first approach includes: during the startup process of the first system, reading stored first instruction information from a first storage area based on the Framework layer in the first system.

[0128] The Framework layer is started during the boot process of the first system. It is used to acquire instruction information. The Framework layer reads the first storage area to obtain this information, which is then used to display the interface after the first system boots up, thus ensuring the accuracy of the interface display.

[0129] It should be noted that the embodiments of this application are only illustrated using the Framework layer in the first system as an example. In another embodiment, other layers that are started during the startup process of the first system can be used to replace the Framework layer, as long as the solution can be implemented during the startup process of the first system. This application does not limit this.

[0130] The second method: During the startup process of the first system, in response to the failure to read the first instruction information stored in the first storage area, a second instruction information is generated, which indicates that the first system is self-starting.

[0131] During the startup process of the first system, the first storage area is read to determine whether the first indication information is stored in the first storage area. Since the first indication information is stored by the second system in response to the startup command while the second system is running, if the first indication information stored in the first storage area is not read, it means that the first system is self-starting, that is, the startup command for the first system was not initiated while the second system is running. In this case, second indication information is generated to indicate that the first system is self-starting, so that the interface can be displayed based on the obtained indication information after the first system has started, thereby ensuring the accuracy of the interface display.

[0132] In this embodiment, if the startup command is initiated while the second system is running, the second system, in response to the startup command, stores the first indication information in the first storage area. During the startup process of the first system, the stored first indication information can be read when the first storage area is accessed. If the first system is self-starting, i.e., the startup command for the first system is not initiated while the second system is running, the second system no longer stores the first indication information in the first storage area. During the startup process of the first system, the stored first indication information cannot be read when the first storage area is accessed.

[0133] In some embodiments, the first storage area is used only to store first indication information, that is, the first storage area includes two states: a first state in which the first indication information is stored in the first storage area, and a second state in which the first storage area is empty. If the first storage area is in the first state, the first indication information can be read from the first storage area, indicating that the startup instruction was initiated while the second system is running. If the first storage area is in the second state, the first indication information cannot be read from the first storage area, indicating that the first system is self-starting.

[0134] In some embodiments, during the startup process of the first system, the first storage area is read through the Framework layer in the first system. That is, the second method includes: during the startup process of the first system, the first storage area is read based on the Framework layer, and in response to the failure to read the first indication information stored in the first storage area, a second indication information is generated.

[0135] It should be noted that after obtaining the instruction information, the following steps 303 or 304 are executed. This application only illustrates the example of executing step 303 first and then step 304. In another embodiment, step 304 can be executed first and then step 303, or steps 303 and 304 can be executed simultaneously.

[0136] 303. During the startup process of the first system, the instruction information is stored in the second storage area.

[0137] The second storage area is used to store the acquired instruction information. In some embodiments, the first system has management authority over the second storage area. For example, the second storage area is a first database corresponding to the first system, and the first system has management authority over the first database. After acquiring the instruction information, the first system can store the instruction information in the first database.

[0138] In some embodiments, 303 includes: during the startup process of the first system, storing the acquired indication information in a second storage area based on the Framework layer of the first system. Storing the acquired indication information in the second storage area during the startup process of the first system allows for subsequent reading of the second storage area after the first system has finished startup to retrieve the indication information and determine the startup mode of the first system.

[0139] 304. During the startup process of the first system, in response to the instruction information being the first instruction information, the first interface identifier is obtained.

[0140] The first interface identifier indicates the first interface displayed by the second system when the startup command is initiated. In some embodiments, the first interface is the main interface of the first system, or it is another interface in the first system.

[0141] If the startup command for the first system is initiated while the second system is running, the identifier of the first interface is obtained so that the second interface, which is the same as the first interface, can be displayed after the first system starts up, thereby ensuring the synchronization of the interface display when switching systems.

[0142] In some embodiments, 304 includes: during the startup process of the first system, sending an identifier acquisition request to the second system, the second system receiving the identifier acquisition request, returning a first interface identifier, and receiving the first interface identifier returned by the second system.

[0143] The identifier acquisition request is used to request the identifier of the interface displayed when the launch command is initiated. Upon receiving the identifier acquisition request, the second system returns the identifier of the first interface displayed when the launch command is initiated to the first system. Through the interaction between the first and second systems, the identifier of the first interface displayed by the second system when the launch command is initiated can be obtained, ensuring the accuracy of the obtained identifier.

[0144] In some embodiments, the first interface identifier is obtained through a communication channel established between the first system and the second system. Specifically, step 304 includes: during the startup process of the first system, sending an identifier acquisition request to the second system through the communication channel; the second system receiving the identifier acquisition request, determining the first interface identifier, and returning the first interface identifier; and the first system receiving the first interface identifier returned by the second system. The communication channel established between the first system and the second system enables interaction between them.

[0145] In some embodiments, obtaining the first interface identifier based on the Framework layer in the first system, that is, 304 includes: during the startup process of the first system, sending an identifier acquisition request to the second system based on the Framework layer in the first system, the second system receiving the identifier acquisition request, determining the first interface identifier, returning the first interface identifier, and receiving the first interface identifier returned by the second system through the Framework layer.

[0146] Since the Framework layer is started during the startup process of the first system, the identifier is obtained by interacting with the second system through the Framework layer, so as to realize the solution of obtaining the first interface identifier during the startup process of the first system.

[0147] It should be noted that in this embodiment, during the startup process of the first system, the instruction information is obtained first, and the first interface identifier is obtained when the obtained instruction information is the first instruction information. In another embodiment, it is not necessary to execute steps 302-304. Other methods can be used to obtain the first interface identifier during the startup process of the first system. The first interface identifier indicates the first interface displayed by the second system when the startup command is initiated.

[0148] 305. In response to the completion of the first system startup, read the instruction information stored in the second storage area.

[0149] In this embodiment, after the first system starts up, an interface needs to be displayed through the first system. Since the startup method of the first system varies, the interface displayed after startup may differ. Therefore, the startup method of the first system is determined by reading the instruction information stored in the second storage area.

[0150] In some embodiments, the second storage area is read through the interface renderer in the first system, that is, 305 includes: in response to the completion of the first system startup, reading the instruction information stored in the second storage area based on the interface renderer.

[0151] The UI renderer is used to render the UI; for example, this UI renderer is the Launcher (desktop launcher). This UI renderer starts after the first system boots up, and is essentially a UI rendering application within the first system; that is, this UI rendering application is the first application to start after the first system boots up.

[0152] 306. In response to the read instruction information being the first instruction information, a second interface identical to the first interface is displayed based on the acquired first interface identifier.

[0153] The second interface can be the main interface of the first system. For example, the main interface could be the terminal's watch face, displayed after any system starts up, showing the time or other information such as weather. Alternatively, the second interface could be another interface within the second system. For example, another interface could be the terminal's application display interface, showing multiple application icons.

[0154] If the instruction information read from the second storage area is the first instruction information, it means that the start command for the first system was initiated while the second system is running. Therefore, the second interface, which is the same as the first interface, is displayed based on the first interface identifier to achieve the effect of synchronizing the interface displayed when the system switches.

[0155] In some embodiments, the second interface is displayed based on the first interface data corresponding to the first interface identifier in the first system. That is, 306 includes: in response to the completion of the first system startup, determining the first interface data corresponding to the first interface identifier in the first system, and displaying the second interface based on the first interface data.

[0156] In this embodiment, the interface data corresponding to the same interface identifier in the first system and the second system are used to display the same interface. For example, the first interface data corresponding to the first interface identifier in the first system is used to display the second interface, and the second interface data corresponding to the first interface identifier in the second system is used to display the first interface. The first interface and the second interface are the same, but the first interface data and the second interface data may be different, such as having different formats.

[0157] After the first system starts up, the first interface identifier is determined to correspond to the first interface data in the first system. Based on the first interface data, the second interface can be displayed to ensure that the displayed second interface is the same as the first interface, thus realizing interface synchronization.

[0158] Optionally, the first system has a second database, which is used to store the correspondence between interface identifiers and interface data in the first system. The process of displaying the second interface through the first interface data includes: querying the second database based on the first interface identifier to determine the first interface data corresponding to the first interface identifier, and displaying the second interface based on the first interface data.

[0159] In this embodiment of the application, the second database corresponding to the first system stores the correspondence between interface identifiers and interface data. Through this correspondence, the first interface data corresponding to the first interface identifier in the first system can be determined so that the second interface can be displayed based on the queried first interface data, thereby realizing the synchronization of the display interface.

[0160] Optionally, the second interface is displayed based on the interface renderer in the first system. That is, the process of displaying the second interface includes: in response to the completion of the startup of the first system, determining the first interface data corresponding to the first interface identifier in the first system based on the interface renderer, and displaying the second interface through the interface renderer and the first interface data.

[0161] In some other embodiments, after step 305, the method further includes: in response to the read indication information being the first indication information and no interface data corresponding to the first interface identifier being found in the first system, displaying the third interface that was displayed when the first system was previously closed.

[0162] In this embodiment, the corresponding interface is displayed by the interface data corresponding to the interface identifier. After the first system is started, the first interface data corresponding to the first interface identifier in the first system is queried. If the first interface data is found, the second interface is displayed based on the first interface data (i.e., the same as step 306 above). If the first interface data corresponding to the first interface identifier in the first system is not found, it means that the synchronous display of the interface cannot be achieved when the system is switched. Therefore, the third interface displayed when the first system was closed last time is displayed to ensure that subsequent users can view information or perform operations based on the displayed third interface.

[0163] Optionally, in response to the read instruction information being the first instruction information, based on the interface renderer in the first system, the interface data corresponding to the acquired first interface identifier in the first system is queried; in response to the first interface data corresponding to the first interface identifier being found, the second interface is displayed through the interface renderer and the first interface data; in response to the first interface data corresponding to the first interface identifier not being found, the third interface displayed when the first system was previously closed is displayed based on the interface renderer.

[0164] For example, in response to the failure to find the interface data corresponding to the first interface identifier in the first system, the second interface identifier is obtained by querying the second database based on the interface renderer, and the third interface that was displayed when the first system was last closed is displayed based on the second interface identifier.

[0165] In this embodiment, each system in the terminal stores the interface identifier corresponding to the interface displayed before closing when it is shut down, and stores this interface identifier in the corresponding database. That is, when the first system is shut down, it stores the third interface displayed at the time of shutdown in the corresponding second database. Therefore, the first system queries the second interface identifier stored in the second database to display the third interface based on the second interface identifier. The process of displaying the third interface based on the second interface identifier is the same as step 306 above, and will not be repeated here.

[0166] It should be noted that in this embodiment, the instruction information and the first interface identifier are obtained during the startup process of the first system. After the first system is started, the third interface is displayed only when the first instruction information is read and no interface data is found. In another embodiment, steps 302-305 do not need to be executed. Other methods can be adopted to obtain the first interface identifier during the startup process of the first system. In response to the completion of the startup of the first system and the absence of interface data corresponding to the first interface identifier in the first system, the third interface displayed when the first system was previously closed is displayed.

[0167] In some embodiments, after step 306, the method further includes: receiving a first interface identifier list sent by the second system, the first interface identifier list including at least one interface identifier, and each interface identifier indicating a candidate main interface; and updating a second interface identifier list in the first system based on the first interface identifier list, so that the second interface identifier list contains the same interface identifiers as the first interface identifier list.

[0168] The main interface is the interface displayed when the terminal is in standby mode, or it is the first interface displayed after the system starts up. For example, the second interface displayed after the first system starts up is the main interface. For example, the main interface is a watch face. When the terminal is in standby mode, the watch face is displayed. This watch face is used to display the time or other information, such as the weather. Through the displayed watch face, the user can view the information.

[0169] In this embodiment, each system has an interface identifier list containing interface identifiers for candidate main interfaces. When a terminal is running any system, it can display the main interface of that system, and based on the system's interface identifier list, it can select the main interface corresponding to any interface identifier as the currently displayed main interface of that system, thereby enabling free switching of the main interface. Furthermore, when the terminal is running any system, the user can perform operations on the system's interface identifier list. For example, the user can perform a delete operation to remove an interface identifier from the interface identifier list; or, the user can perform an add operation to add an interface identifier to the interface identifier list.

[0170] If the startup command for the first system is initiated while the second system is running, the first interface identifier list of the second system can reflect the user's currently selected alternative main interface. Therefore, in order to ensure the continuity of system switching, after the first system starts up, the second interface identifier list of the first system is updated based on the obtained first interface identifier list to ensure that the updated second interface identifier list is synchronized with the first interface identifier list. This eliminates the need for the user to update the first interface identifier list of the currently running first system, thus ensuring the synchronization of the interface identifier list during system switching.

[0171] In this embodiment, the terminal runs both a first system and a second system simultaneously. After the first system starts up, the synchronization of the interface identifier list is achieved through interaction between the first and second systems. Furthermore, during system switching, obtaining the first interface identifier has a higher priority than obtaining the interface identifier list. Therefore, after displaying the second interface through the first system, interaction with the second system is then performed to synchronize the interface identifier list.

[0172] Optionally, the process of obtaining the first interface identifier list includes: sending a list acquisition request to the second system through the first system, receiving the list acquisition request through the second system, sending the first interface identifier list to the first system, and receiving the first interface identifier list through the first system.

[0173] In this embodiment of the application, the startup command for the first system is initiated while the second system is running. After the first system has started up and displayed the interface, the synchronization of the interface identifier list is initiated through the first system.

[0174] Optionally, the process of obtaining the first interface identifier list includes: in response to the completion of the first system startup, sending the first interface identifier list to the first system through the second system, receiving the first interface identifier list through the first system, and updating the second interface identifier list in the first system based on the first interface identifier list.

[0175] In this embodiment of the application, the startup command for the first system is initiated while the second system is running. After the first system has started up and displayed the interface, the second system initiates the synchronization of the interface identifier list.

[0176] In some embodiments, after updating the second interface identifier list of the first system, the method further includes: displaying the second interface identifier list in response to a display operation on the second interface identifier list, and displaying the target main interface corresponding to the target interface identifier in response to a confirmation operation on the target interface identifier in the second interface identifier list.

[0177] The operation of displaying the second interface identifier is a long-press operation on the currently displayed main interface. In this embodiment, when the second system is running, a list of interface identifiers of the second system can be displayed, and the target main interface to be displayed can be selected based on the displayed list of interface identifiers.

[0178] Optionally, after the first system starts up, the first interface or the third interface displayed is the main interface of the first system. In response to the operation of displaying the second interface identifier list, the second interface identifier list is displayed. In response to the operation of confirming the target interface identifier in the second interface identifier list, the currently displayed main interface is switched to the target main interface corresponding to the target interface identifier.

[0179] It should be noted that in this embodiment, after the first system starts up, the instruction information is read first, and the second interface is displayed only when the read instruction information is the first instruction information. In another embodiment, it is not necessary to execute 305-306. Other methods can be adopted to display the same second interface as the first interface based on the first interface identifier in response to the completion of the first system startup.

[0180] In this embodiment of the application, the terminal is configured with a first system and a second system, that is, the terminal has a dual-core system. Based on the method provided in this embodiment of the application, the situation where the first system flashes the previous interface can be avoided, thereby ensuring the continuity of the dual-core system switching.

[0181] This application provides an interface display method that starts a first system while running a second system. During the startup process of the first system, a first interface identifier corresponding to the first interface displayed by the second system when the startup command to the first system is initiated is obtained. This allows a second interface identical to the first interface to be displayed based on the first interface identifier after the first system has started up. This achieves consistency in the interface displayed when switching systems and improves the continuity of system switching.

[0182] In the above Figure 2Based on the embodiment shown, during the startup process of the first system, instruction information can also be obtained. Taking the obtained second instruction information as an example, the second instruction information indicates that the first system is self-starting. After the first system is started, the third interface is displayed based on the second instruction information, as detailed in the following embodiment.

[0183] Figure 4 A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown. See also: Figure 4 This method is applied in a terminal, and the method includes:

[0184] 401. In response to the startup command for the first system, start the first system.

[0185] 402. During the startup process of the first system, obtain indication information indicating whether the startup command was initiated while the second system is running.

[0186] It should be noted that after obtaining the instruction information, the following steps 403 or 404 are executed. This application only illustrates the example of executing step 403 first and then step 404. In another embodiment, step 404 can be executed first and then step 403, or steps 403 and 404 can be executed simultaneously.

[0187] 403. During the startup process of the first system, the instruction information is stored in the second storage area.

[0188] Steps 401-403 are the same as steps 301-303 above, and will not be repeated here.

[0189] 404. In response to the instruction information being the second instruction information, the first interface identifier will no longer be obtained during the startup process of the first system.

[0190] If the obtained instruction information is the second instruction information, it means that the first system is self-starting, therefore, there is no need to obtain the first interface identifier again.

[0191] 405. In response to the completion of the first system startup, read the instruction information stored in the second storage area.

[0192] Step 405 is the same as step 305 above, and will not be repeated here.

[0193] 406. In response to the read instruction information being the second instruction information, display the third interface that was displayed when the first system was previously closed.

[0194] If the second instruction information is read from the second storage area, it means that the first system is self-starting, that is, the startup command was not initiated while the second system was running. Therefore, the third interface displayed is the same as the one displayed when the first system was previously connected, so as to ensure that the interface displayed after the system restarts is consistent.

[0195] In some embodiments, the first system corresponds to a second database, which stores a second interface identifier corresponding to the third interface displayed when the first system was previously closed. Then 309 includes: in response to the read instruction information being a second instruction information, querying the second database to obtain the second interface identifier, and displaying the third interface displayed when the first system was previously closed based on the second interface identifier.

[0196] In this embodiment, each system in the terminal stores the interface identifier corresponding to the interface displayed before shutdown when it is closed. Therefore, the first system queries the second interface identifier stored in the second database to display the third interface based on the second interface identifier. The process of displaying the third interface based on the second interface identifier is the same as step 306 described above, and will not be repeated here.

[0197] It should be noted that the embodiment of this application takes storing the obtained instruction information in the second storage area as an example. After the first system is started, the third interface is displayed after reading the second instruction information in the second storage area. In another embodiment, steps 403 and 405-406 do not need to be executed. Other methods can be adopted to display the third interface displayed when the first system was previously closed in response to the completion of the first system startup.

[0198] This application provides an interface display method that starts a first system while running a second system. During the startup process of the first system, a first interface identifier corresponding to the first interface displayed by the second system when the startup command to the first system is initiated is obtained. This allows a second interface identical to the first interface to be displayed based on the first interface identifier after the first system has started up. This achieves consistency in the interface displayed when switching systems and improves the continuity of system switching.

[0199] In the above Figure 2 Based on the embodiment shown, during the startup of the first system, the obtained first interface identifier is stored in the second storage area. After the startup of the first system is completed, the interface identifier stored in the second storage area is read, and different interfaces are displayed according to different results read. See the following embodiment for details.

[0200] Figure 5 A flowchart illustrating an exemplary embodiment of this application of a method for displaying an interface is shown. See also: Figure 5This method is applied in a terminal, and the method includes:

[0201] 501. In response to the startup command for the first system, start the first system.

[0202] This step is the same as step 301 above, and will not be repeated here.

[0203] 502. During the startup process of the first system, obtain the first interface identifier, which indicates the first interface displayed by the second system when the startup command is initiated.

[0204] This step is the same as steps 302-304 above, and will not be repeated here.

[0205] 503. Store the first interface identifier in the second storage area.

[0206] The second storage area is used to store the acquired interface identifier. During the startup process of the first system, the acquired interface identifier is stored in the second storage area so that after the first system has started up, the second storage area can be read to obtain the first interface identifier, and the corresponding interface can be displayed based on the first interface identifier.

[0207] 504. In response to the completion of the first system startup, read the first interface identifier stored in the second storage area.

[0208] This step is the same as step 305 above, and will not be repeated here.

[0209] In this embodiment, when the first system finishes booting, it reads the interface identifier stored in the second storage area. It is possible that the first interface identifier will be read, or it may not. Depending on the result, steps 505 or 506 are executed.

[0210] 505. In response to reading the first interface identifier, display a second interface that is the same as the first interface based on the first interface identifier.

[0211] If the first interface identifier stored in the second storage area is read through the first system, the process of displaying the second interface based on the first interface identifier is the same as step 306 above, and will not be repeated here.

[0212] 506. In response to the failure to read the first interface identifier stored in the second storage area, display the third interface that was displayed when the first system was last closed.

[0213] If the first interface identifier stored in the second storage area is not retrieved, it means that a storage error occurred when the first interface identifier was retrieved and stored in the second storage area, resulting in unsuccessful storage; or, after successful storage, an error occurred in the second storage area causing the stored first interface identifier to be lost. Therefore, the first interface identifier cannot be retrieved from the second storage area, meaning the second interface cannot be displayed based on the first interface identifier. Furthermore, an interface needs to be displayed after the first system starts up. Therefore, the third interface displayed when the first system was previously shut down is displayed so that subsequent users can view information or perform operations based on the displayed third interface.

[0214] After failing to read the first interface identifier stored in the second storage area, the process of displaying the third interface that was displayed when the first system was previously closed is the same as step 406 above, and will not be repeated here.

[0215] This application provides an interface display method that starts a first system while running a second system. During the startup process of the first system, a first interface identifier corresponding to the first interface displayed by the second system when the startup command to the first system is initiated is obtained. This allows a second interface identical to the first interface to be displayed based on the first interface identifier after the first system has started up. This achieves consistency in the interface displayed when switching systems and improves the continuity of system switching.

[0216] Furthermore, when starting the first system while running the second system, the second interface is displayed first after the first system starts up. Only if the first interface identifier is not found will the third interface, which was displayed when the first system was previously shut down, be displayed. This ensures that the interface can be displayed normally after the first system starts up, thus ensuring the normal operation of the first system.

[0217] It should be noted that this application is only illustrative using the above-described embodiments as examples, and the above-described embodiments can be combined arbitrarily. Figure 3 , Figure 4 and Figure 5 The illustrated embodiments are used as examples, such as Figure 6 As shown, the interface display methods include:

[0218] 601. In response to the startup command of the first system, start the first system.

[0219] 602. During the startup process of the first system, the Framework layer in the first system is started, and based on the Framework layer, the first instruction information stored in the first storage area is read; in response to reading the first instruction information, the first interface identifier is obtained, and the first instruction information and the first interface identifier are stored in the second storage area; in response to not reading the first instruction information, the first interface identifier is no longer obtained, the second instruction information is generated, and the second instruction information is stored in the second storage area.

[0220] It should be noted that when the second storage area stores both the instruction information and the first interface identifier, the instruction information and the first interface identifier are stored in different locations within the second storage area so that the first system can retrieve the instruction information or the first interface identifier from different locations when it reads them later.

[0221] 603. In response to the completion of the first system startup, start the interface renderer in the first system, read the indication information in the second storage area based on the interface renderer, and execute the following steps 604-607 based on the different indication information read, or execute the following step 608.

[0222] 604. In response to reading the first instruction information, read the first interface identifier stored in the second storage area.

[0223] 605. In response to reading the first interface identifier, query the first interface data corresponding to the first interface identifier in the first system; in response to querying the first interface data, display the second interface based on the first interface data; in response to not querying the first interface data, display the third interface that was previously displayed when the first system was closed.

[0224] 606. In response to the failure to read the first interface identifier, the third interface is displayed.

[0225] 607. After the first system starts up and displays the interface, the first system receives the first interface identifier list sent by the second system, and updates the second interface identifier list of the first system based on the first interface identifier list, so that the main interface to be displayed can be selected based on the updated second interface identifier list in the future.

[0226] 608. In response to reading the second instruction information, display the third interface that was previously displayed when the first system was shut down.

[0227] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0228] Please refer to Figure 7 This illustration shows a structural block diagram of an interface display device provided in an exemplary embodiment of this application. The interface display device includes:

[0229] The startup module 701 is used to start the first system in response to a startup command to the first system;

[0230] The acquisition module 702 is used to acquire a first interface identifier during the startup process of the first system. The first interface identifier indicates the first interface displayed by the second system when the startup command is initiated.

[0231] Display module 703 is used to display a second interface that is the same as the first interface based on the first interface identifier in response to the completion of the first system startup.

[0232] In some embodiments, the interface data corresponding to the same interface identifier in the first system and the second system are used to display the same interface. The display module 703 is used to determine the first interface data corresponding to the first interface identifier in the first system in response to the completion of the first system startup; and to display the second interface based on the first interface data.

[0233] In some embodiments, see Figure 8 The acquisition module 702 includes:

[0234] The acquisition unit 7021 is used to acquire indication information during the startup process of the first system, the indication information indicating whether the startup command is initiated while the second system is running;

[0235] The acquisition unit 7021 is also configured to acquire a first interface identifier in response to the indication information being a first indication information, wherein the first indication information indicates that the startup command is initiated while the second system is running.

[0236] In some embodiments, the acquisition unit 7021 is configured to read first indication information stored in a first storage area during the startup process of the first system. The first indication information is stored by the second system in response to a startup command when the second system is running.

[0237] In some embodiments, the acquisition unit 7021 is further configured to generate second indication information in response to the failure to read the first indication information stored in the first storage area during the startup process of the first system, the second indication information indicating that the first system is self-starting.

[0238] In some embodiments, see Figure 8 The device also includes:

[0239] Storage module 704 is used to store indication information in a second storage area;

[0240] Display module 703 includes:

[0241] The reading unit 7031 is used to read the instruction information stored in the second storage area in response to the completion of the first system startup;

[0242] The display unit 7032 is used to display a second interface in response to the read instruction information being a first instruction information, based on the acquired first interface identifier.

[0243] In some embodiments, the display module 703 is further configured to display a third interface that was previously displayed when the first system was shut down, in response to the read indication information being a second indication information, the second indication information indicating that the first system is self-starting.

[0244] In some embodiments, the acquisition module 702 is further configured to, in response to the indication information being the second indication information, no longer acquire the first interface identifier during the startup process of the first system;

[0245] The display module 703 is also used to display the third interface that was displayed when the first system was previously shut down in response to the completion of the first system startup.

[0246] In some embodiments, see Figure 8 The acquisition module 702 includes:

[0247] The sending unit 7022 is used to send an identifier acquisition request to the second system during the startup process of the first system. The identifier acquisition request is used to request the interface identifier corresponding to the interface displayed when the startup command is initiated. The second system is used to receive the identifier acquisition request and return the first interface identifier.

[0248] The receiving unit 7023 is used to receive the first interface identifier returned by the second system.

[0249] In some embodiments, see Figure 8 The device also includes:

[0250] Storage module 704 is used to store the first interface identifier in the second storage area;

[0251] Display module 703 includes:

[0252] The reading unit 7031 is used to read the first interface identifier stored in the second storage area in response to the completion of the first system startup.

[0253] Display unit 7032 is used to display a second interface in response to reading the first interface identifier.

[0254] In some embodiments, the display unit 7032 is further configured to display a third interface that was previously displayed when the first system was shut down, in response to the failure to read the first interface identifier stored in the second storage area.

[0255] In some embodiments, the display module 703 is further configured to display the third interface that was previously displayed when the first system was shut down, in response to the completion of the first system startup and the absence of interface data corresponding to the first interface identifier in the first system.

[0256] In some embodiments, see Figure 8 The device also includes:

[0257] The receiving module 705 is used to receive a first interface identifier list sent by the second system. The first interface identifier list includes at least one interface identifier, and each interface identifier indicates a candidate main interface.

[0258] The update module 706 is used to update the second interface identifier list in the first system based on the first interface identifier list, so that the second interface identifier list is the same as the interface identifiers contained in the first interface identifier list.

[0259] In some embodiments, the display module 703 is further configured to display the second interface identifier list in response to a display operation on the second interface identifier list; and to display the target main interface corresponding to the target interface identifier in response to a confirmation operation on the target interface identifier in the second interface identifier list.

[0260] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0261] This application provides a terminal, which includes a processor and a memory; the memory stores at least one instruction, which is executed by the processor to implement the interface display method provided in the above-described method embodiments.

[0262] In some embodiments, please refer to Figure 9 This diagram illustrates a structural block diagram of a terminal provided in an exemplary embodiment of this application. In some embodiments, the terminal 900 is a smartphone, tablet, wearable device, or other terminal capable of accessing a wireless local area network as a wireless station. The terminal 900 in this application includes at least one or more of the following components: a processor 910, a memory 920, and at least two wireless links 930.

[0263] In some embodiments, the processor 910 includes one or more processing cores. The processor 910 connects to various parts within the terminal 900 using various interfaces and lines, and performs various functions and processes data of the terminal 900 by running or executing program code stored in the memory 920 and calling data stored in the memory 920. In some embodiments, the processor 910 is implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 910 can integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Neural-network Processing Unit (NPU), and modem. Specifically, the CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; the NPU is used to implement Artificial Intelligence (AI) functions; and the modem is used to handle wireless communication. It is understandable that the aforementioned modem could also be implemented separately as a single chip without being integrated into the processor 910.

[0264] In some embodiments, the processor 910 is used to control the operating status of at least two wireless links 930. Accordingly, the processor 910 is a processor integrating a Wireless Fidelity (Wi-Fi) chip. This Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual-concurrent (DBDC) chip, or a dual-band simultaneous (DBS) chip, etc.

[0265] In some embodiments, the memory 920 includes random access memory (RAM), and in some embodiments, the memory 920 includes read-only memory (ROM). In some embodiments, the memory 920 includes non-transitory computer-readable storage medium. The memory 920 can be used to store program code. The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described below, etc.; the data storage area may store data created according to the use of the terminal 900 (such as audio data, phone book, etc.).

[0266] In some embodiments, the memory 920 stores reception schemes for different wireless links 930 receiving beacon frames, as well as identifiers of access nodes connected to different wireless links 930, identifiers of the wireless links 930, etc.

[0267] The at least two wireless links 930 are used to connect different access points (APs). They receive downlink data from the APs. These different access points can be access points within the same router or access points within different routers.

[0268] In some embodiments, the terminal 900 further includes a display screen. The display screen is a display component used to display a user interface. In some embodiments, the display screen is a touch-enabled display screen, allowing users to perform touch operations on the display screen using fingers, styluses, or any suitable object. In some embodiments, the display screen is typically located on the front panel of the terminal 900. In some embodiments, the display screen is designed as a full-screen, curved screen, irregularly shaped screen, dual-sided screen, or foldable screen. In some embodiments, the display screen is also designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen, etc., which are not limited in this embodiment.

[0269] In addition, those skilled in the art will understand that the structure of the terminal 900 shown in the above figures does not constitute a limitation on the terminal 900. The terminal 900 may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the terminal 900 may also include components such as a microphone, speaker, input unit, sensor, audio circuit, module, power supply, and Bluetooth module, which will not be described in detail here.

[0270] This application also provides a computer-readable medium storing at least one instruction, which is loaded and executed by the processor to implement the interface display method shown in the above embodiments.

[0271] This application also provides a computer program product that stores at least one instruction, which is loaded and executed by the processor to implement the interface display method shown in the above embodiments.

[0272] The sequence numbers of the embodiments in this application are for description only and do not represent the superiority or inferiority of the embodiments.

[0273] Those skilled in the art will understand that all or part of the steps in the interface display method of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. The above descriptions are merely optional embodiments of this application and are not intended to limit the application. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for displaying an interface, characterized in that, The method includes: In response to the startup command for the first system, the first system is started; During the startup process of the first system, a first interface identifier is obtained, which indicates the first interface displayed by the second system when the startup command is initiated. In response to the completion of the first system startup, a second interface identical to the first interface is displayed based on the first interface identifier.

2. The method according to claim 1, characterized in that, The same interface identifier corresponds to the same interface data in both the first system and the second system for displaying the same interface. The step of displaying a second interface identical to the first interface based on the first interface identifier, in response to the completion of the first system startup, includes: In response to the completion of the first system startup, determine the first interface data corresponding to the first interface identifier in the first system; The second interface is displayed based on the data from the first interface.

3. The method according to claim 1, characterized in that, The step of obtaining the first interface identifier during the startup process of the first system includes: During the startup process of the first system, indication information is obtained, which indicates whether the startup command was initiated while the second system is running; In response to the indication information being a first indication information, the first interface identifier is obtained, wherein the first indication information indicates that the startup command is initiated while the second system is running.

4. The method according to claim 3, characterized in that, The step of obtaining indication information during the startup process of the first system includes: During the startup process of the first system, the first instruction information stored in the first storage area is read from the first storage area. The first instruction information is stored by the second system in response to the startup command when the second system is running.

5. The method according to claim 4, characterized in that, The step of obtaining indication information during the startup process of the first system further includes: During the startup process of the first system, in response to the failure to read the first indication information stored in the first storage area, a second indication information is generated, which indicates that the first system is self-starting.

6. The method according to claim 3, characterized in that, After obtaining the indication information during the startup process of the first system, the method further includes: The instruction information is stored in the second storage area; The step of displaying a second interface identical to the first interface based on the first interface identifier upon completion of the first system startup includes: In response to the completion of the first system startup, the indication information stored in the second storage area is read; In response to the read instruction information being the first instruction information, the second interface is displayed based on the acquired first interface identifier.

7. The method according to claim 6, characterized in that, After the first system has finished booting and the indication information stored in the second storage area has been read, the method further includes: In response to the read indication information being a second indication information, the third interface displayed when the first system was previously shut down is shown, and the second indication information indicates that the first system is self-starting.

8. The method according to claim 1, characterized in that, After obtaining the first interface identifier during the startup process of the first system, the method further includes: Store the first interface identifier in the second storage area; The step of displaying a second interface identical to the first interface based on the first interface identifier upon completion of the first system startup includes: In response to the completion of the first system startup, the first interface identifier stored in the second storage area is read; In response to reading the first interface identifier, the second interface is displayed based on the first interface identifier.

9. The method according to claim 8, characterized in that, After the first system has finished booting and the first interface identifier stored in the second storage area is read, the method further includes: In response to the failure to read the first interface identifier stored in the second storage area, the third interface displayed when the first system was previously closed is shown.

10. The method according to claim 1, characterized in that, After obtaining the first interface identifier during the startup process of the first system, the method further includes: In response to the completion of the first system startup and the absence of corresponding interface data for the first interface identifier in the first system, the third interface displayed when the first system was previously closed is shown.

11. The method according to claim 1, characterized in that, The method further includes: The system receives a first interface identifier list sent by the second system. The first interface identifier list includes at least one interface identifier, and each interface identifier indicates a candidate main interface. Based on the first interface identifier list, update the second interface identifier list in the first system so that the second interface identifier list contains the same interface identifiers as the first interface identifier list.

12. The method according to claim 11, characterized in that, After updating the second interface identifier list in the first system based on the first interface identifier list, the method further includes: In response to the operation of displaying the second interface identifier list, the second interface identifier list is displayed; In response to the confirmation operation of the target interface identifier in the second interface identifier list, the target main interface corresponding to the target interface identifier is displayed.

13. An interface display device, characterized in that, The device includes: A startup module is used to start the first system in response to a startup command to the first system; The acquisition module is used to acquire a first interface identifier during the startup process of the first system, wherein the first interface identifier indicates the first interface displayed by the second system when the startup command is initiated. The display module is used to respond to the completion of the first system startup by displaying a second interface that is the same as the first interface based on the first interface identifier.

14. A terminal, characterized in that, The terminal includes a processor and a memory; the memory stores at least one instruction, which is executed by the processor to implement the interface display method as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, which is executed by a processor to implement the interface display method as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • VR (virtual reality) mode and non-VR mode switching method and device

    CN107272896A

  • System space switching method, device and equipment and storage medium

    CN111930432A