Display device and application icon display method
By migrating application data to external storage on the display device and maintaining the storage device mount status, the problem that the display device cannot load all application icons is solved, improving user experience and device performance.
Patent Information
- Application Number
- CN202411059859.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-12-06
AI Technical Summary
When the display device loads the home page, it may not be able to successfully load all application icons, resulting in the user being unable to open the corresponding application through the home page, affecting the user experience.
By migrating application data to external storage devices after booting and keeping it mounted in the storage device mounted state, ensuring that application data is readable, adding a standby lock to keep the storage device mounted state, ensuring that the homepage can be read when loading Pick and display the application icon.
It realizes successful loading and displaying all application icons on the homepage, improving user experience, reducing memory pressure, and improving the operating quality of the device.
Smart Images

Figure CN119088266A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of display devices, and in particular to a display device and a method for displaying application icons. Background Art
[0002] Display devices refer to terminal devices that can output specific display images, which can be terminal devices such as smart TVs, mobile terminals, smart advertising screens, projectors, etc. Taking smart TVs as an example, smart TVs are based on Internet application technology, have open operating systems and chips, have open application platforms, can realize two-way human-computer interaction functions, and are TV products that integrate multiple functions such as audio and video, entertainment, and data to meet the diverse and personalized needs of users.
[0003] The homepage (Launcher) of the display device is the first user interface displayed after startup. Among them, when the display device loads the homepage after startup, it will load the corresponding application icons according to the application data stored in the memory. When displaying the homepage, the user can open the corresponding application based on the icon on the homepage. It can be seen that when the display device loads the homepage, whether it can successfully load all the application icons that should be displayed on the homepage is one of the key factors affecting whether the user can open the corresponding application through the homepage. Summary of the invention
[0004] The present application provides a display device and a method for displaying application icons. When a first storage device is used to expand memory, when a home page is loaded after booting, it can be ensured that an icon of an application whose application data has been migrated to the first storage device is loaded.
[0005] In a first aspect, the present application provides a display device, including:
[0006] A memory configured to: store application data of a first application;
[0007] a display, configured to: be in a bright screen state and display a home page, wherein the home page includes an application icon of the first application, wherein the first application is associated with application data of the first application stored in the memory;
[0008] The device interface is configured to: access a first storage device;
[0009] The controller is configured as:
[0010] When the first storage device is in a mounted state, in response to a migration instruction of the first application by a user, migrating application data of the first application from the memory to the first storage device, wherein after migrating the application data of the first application, the first application is associated with the application data of the first application stored in the first storage device;
[0011] When it is detected that application data of at least one of the first applications is migrated to the first storage device, a standby lock is added, and the standby lock is used to indicate that when entering the standby state, the first storage device is kept in the mounted state, wherein in the mounted state, the application data of the first application in the first storage device can be read.
[0012] In some embodiments of the present application, when the controller detects that application data of at least one of the first applications is migrated to the first storage device, the controller adds a standby lock and is configured to:
[0013] If the application data of the first application is migrated from the memory to the first storage device, generating a migration record of the first application;
[0014] When the migration record of the first application is detected, the standby lock is added.
[0015] In some embodiments of the present application, after adding the standby lock, the controller is further configured to:
[0016] When it is detected that the first storage device is unplugged and / or when it is detected that the application data of the first application is not stored in the first storage device, the standby lock is released.
[0017] In some embodiments of the present application, the controller is further configured to:
[0018] In response to a first standby instruction, identifying whether the standby lock exists;
[0019] If the standby lock exists, entering a first standby state, in which the first storage device maintains the mounted state;
[0020] In the first standby state, in response to a first power-on instruction, the home page is loaded, wherein, during the loading of the home page, an application icon of the first application is loaded according to application data of the first application read from the first storage device that maintains the mounted state.
[0021] In some embodiments of the present application, the controller, in the process of loading the homepage, loads the application icon of the first application according to the application data of the first application read from the first storage device that maintains the mounted state, and is configured as follows:
[0022] loading an application icon of the first application at a first position on the homepage, where the first position is a position where the application icon of the first application is displayed on the homepage before application data of the first application is migrated;
[0023] Alternatively, an application icon of the first application is loaded at a second position of the homepage, the second position being a position on the homepage after an application icon of a non-migrated application, the non-migrated application being an application whose application image is displayed on the homepage and whose application data has not been migrated;
[0024] Alternatively, the application icon of the first application is loaded at a third position of the homepage, and the third position is a designated area in the homepage, and the designated area is used to display the application icon of the first application.
[0025] In some embodiments of the present application, the controller is further configured to:
[0026] In response to a second standby instruction, entering a second standby state, wherein in the second standby state, the first storage device is in an unloaded state;
[0027] In response to a second boot instruction, the home page is loaded and the first storage device is mounted, wherein after the first storage device is mounted, the home page is controlled to load the application icon of the first application according to the application data of the first application in the first storage device.
[0028] In some embodiments of the present application, the controller, in response to the second boot instruction, loads the homepage and mounts the first storage device, and is configured to:
[0029] If the speed of loading the homepage is greater than or equal to the speed of mounting the first storage device, displaying the homepage after the loading of the homepage is completed, wherein the homepage does not include the application icon of the first application;
[0030] After the first storage device is mounted, generating a corresponding first notification;
[0031] The homepage reads application data of the first application from the first storage device according to the first notification;
[0032] The homepage loads the application icon of the first application according to the application data of the first application and updates the application icon. The updated homepage includes the application icon of the first application.
[0033] In some embodiments of the present application, after the first storage device is mounted, the controller generates a corresponding first notification, and is configured to:
[0034] After the first storage device is mounted, detecting whether the first storage device stores application data of the first application;
[0035] When the first storage device stores application data of the first application, a corresponding first notification is generated.
[0036] In a second aspect, the present application further provides a method for displaying an application icon, applied to a display device as described in any one of the first aspects, wherein the display device stores application data of a first application; the display device is in a bright screen state and displays a homepage, wherein the homepage includes an application icon of the first application, wherein the first application is associated with the application data of the first application stored in the memory; the display device is connected to a first storage device;
[0037] The method comprises:
[0038] When the first storage device is in a mounted state, in response to a migration instruction of the first application by a user, migrating application data of the first application from the memory to the first storage device, wherein after migrating the application data of the first application, the first application is associated with the application data of the first application stored in the first storage device;
[0039] When it is detected that application data of at least one of the first applications is migrated to the first storage device, a standby lock is added, and the standby lock is used to indicate that when entering the standby state, the first storage device is kept in the mounted state, wherein in the mounted state, the application data of the first application in the first storage device can be read.
[0040] In some embodiments of the present application, the method further includes:
[0041] In response to a first standby instruction, identifying whether the standby lock exists;
[0042] If the standby lock exists, entering a first standby state, in which the first storage device maintains the mounted state;
[0043] In the first standby state, in response to a first power-on instruction, the home page is loaded, wherein, during the loading of the home page, an application icon of the first application is loaded according to application data of the first application read from the first storage device that maintains the mounted state.
[0044] In some embodiments of the present application, the method further includes:
[0045] In response to a second standby instruction, entering a second standby state, wherein in the second standby state, the first storage device is in an unloaded state;
[0046] In response to a second boot instruction, the home page is loaded and the first storage device is mounted, wherein after the first storage device is mounted, the home page is controlled to load the application icon of the first application according to the application data of the first application in the first storage device.
[0047] After the display device formats the mounted first storage device as a memory storage device, the application data of the first application stored in the memory can be migrated to the first storage device for storage, thereby releasing the corresponding memory of the display device. After migrating the application data, the first application is associated with the application data stored in the first storage device. For example, the display device loads the application icon of the first application on the home page according to the application data of the first application in the first storage device. In order to ensure that the application icon of the first application can be loaded on the home page, the display device can add a standby lock to keep the first storage device in a mounted state when entering the first standby state. In this way, the display device can directly read the application data of the first application from the first storage device that remains in a mounted state during the process of loading the home page after restarting. In addition, if the display device is turned on from the second standby state, after detecting that the first storage device has been mounted, the home page can be controlled to actively read the application data of the first application from the first storage device and load the application icon of the first application on the home page. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0049] Figure 1 A schematic diagram of an operation scenario between a display device and a control device in an embodiment of the present application;
[0050] Figure 2 This is a hardware configuration block diagram of the control device 100 in Embodiment 1 of the present application;
[0051] Figure 3 This is a hardware configuration block diagram of the display device 200 in Embodiment 1 of the present application;
[0052] Figure 4 This is a configuration diagram of an operating system of a display device 200 in an embodiment of the present application;
[0053] Figure 5 A timing diagram of the display device 200 migrating application data, adding a standby lock, and starting up and loading a home page in the first standby state in an embodiment of the present application;
[0054] Figure 6 A schematic diagram of a home page in an embodiment of the present application;
[0055] Figure 7 A flowchart showing the migration of application data by the display device 200 in an embodiment of the present application;
[0056] Figure 8 A flowchart showing the migration of application data by the display device 200 in an embodiment of the present application;
[0057] Fig. 9 A schematic diagram of an application migration page in an embodiment of the present application;
[0058] Fig.10 A schematic diagram of a home page in an embodiment of the present application;
[0059] Fig.11 This is a timing diagram of the display device 200 in the standby state starting up and loading the home page in the embodiment of the present application;
[0060] Fig.12 A flowchart of adding a standby lock to the display device 200 in an embodiment of the present application;
[0061] Fig.13 This is a flow chart of the display device 200 in the first standby state starting up and loading a home page in an embodiment of the present application;
[0062] Fig.14 This is a flow chart of the display device 200 starting up and loading a home page in the second standby state in an embodiment of the present application;
[0063] Fig.15 This is a timing diagram of the display device 200 starting up and loading a home page in the second standby state in an embodiment of the present application;
[0064] Fig.16 This is a schematic diagram of an interface for displaying application icons on a home page of the display device 200 in an embodiment of the present application. DETAILED DESCRIPTION
[0065] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.
[0066] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0067] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0068] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0069] In the embodiments of the present application, the display device generally refers to a device with image display and data processing capabilities. For example, the display device includes but is not limited to smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, augmented reality devices, etc.
[0070] Figure 1 This is a schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application. Figure 1 As shown in FIG. 1 , the user can operate the display device 200 through touch operation, voice, mobile terminal 300 and control device 100. For example, the control device 100 can be a remote controller, a stylus pen, a handle, etc.
[0071] like Figure 1 As also shown in FIG. 4 , the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0072] The display device 200 may provide a broadcast receiving television function, and may also additionally provide an intelligent network television function with a computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), and the like.
[0073] Figure 2 Some embodiments of the present application provide Figure 1 1 is a block diagram of the hardware configuration of the control device 100.
[0074] like Figure 2 As shown, the control device 100 may include: a controller 110 , a communication interface 120 , a user input / output interface 130 , a memory 140 , and a power supply 150 .
[0075] The controller 110 may include a processor 111 , a RAM (Random Access Memory) 112 , a ROM (Read-Only Memory) 113 , and a communication bus (Bus).
[0076] The communication interface 120 may include at least one of a WiFi chip 121 , a Bluetooth module 122 , an NFC module 123 and other near field communication modules.
[0077] The user input / output interface 130 , wherein the input interface may include at least one of other input interfaces such as a microphone 131 , a touch panel 132 , a sensor 133 , and a button 134 .
[0078] In some embodiments, the control device 100 may include at least one of a communication interface 120 and an input / output interface 130 .
[0079] The memory 140 is used to store various operating programs, data and applications for driving and controlling the control device 100 under the control of the controller 110. The memory 140 can store various control signal instructions input by the user.
[0080] The power supply 150 is used to provide operating power support for various components of the control device 100 under the control of the controller 110 .
[0081] Figure 3 Some embodiments of the present application provide Figure 1 2 is a block diagram of the hardware configuration of the display device 200.
[0082] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a user input interface 280, a memory, and a power supply.
[0083] In some embodiments, the communication device 220 is a component for communicating with an external device or server 400 according to various communication protocol types. The display device 200 may be provided with a plurality of communication devices 220 according to different supported communication modes. The communication device 220 may enable the display device 200 to communicate with an external device or server 400 by wireless or wired connection.
[0084] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0085] In some embodiments, the device interface 240 is used to access an external device.
[0086] In some embodiments, the controller 250 is used to control the overall operation of the display device 200. The controller 250 may include at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), and a power processor, and first to nth interfaces for input / output. The controller 250 controls the operation of the display device 200 and responds to user operations through various software control programs stored in the memory.
[0087] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0088] In some embodiments, the display 260 is used to receive and display image signals outputted from the controller 250. The display 260 may include a display function component for presenting images, and a driving component for driving image display.
[0089] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface 280 may receive the user command through the GUI.
[0090] In some embodiments, the audio output device 270 may be a local speaker of the display device 200 , or may be an external audio output device of the display device 200 .
[0091] In some embodiments, the user input interface 280 may be used to receive instructions from a user.
[0092] In order to perform user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200.
[0093] The operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device 200 .
[0094] The operating system can be divided into different modules or layers according to the functions implemented, for example Figure 4 As shown, in some embodiments, the system can be divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the system runtime layer and the kernel layer.
[0095] In some embodiments, the application layer is used to provide services and interfaces for the application so that the display device 200 can run the application and interact with the user based on the application. For example, the application layer may include a voice assistant, which provides a voice interaction function, and the user can interact with the display device through the voice assistant in a voice manner.
[0096] The framework layer can provide application programming interfaces (API) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center, which determines the actions of applications in the application layer. Applications can access system resources and obtain system services during execution through the API interface.
[0097] In some embodiments, the system runtime layer can provide support for the framework layer. When the framework layer is used, the operating system will run the instruction library contained in the system runtime layer, such as the C / C++ instruction library, to implement the functions to be implemented by the framework layer.
[0098] In some embodiments, the kernel layer is a functional level between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management.
[0099] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the display device 200 in the embodiment of the present application. Depending on factors such as the function of the display device and the type of operating system, the number of levels and specific level types contained in the operating system may be expressed in other forms.
[0100] The internal storage space of the display device 200 (hereinafter referred to as "memory") is fixed, and the size of the memory of the display device 200 is an important factor affecting the operating quality of the display device 200, such as operating speed and fluency. After installing an application, the display device 200 stores the application data of the application in the memory, such as in the memory. These applications are associated with the corresponding application data in the memory, wherein the association of the application with the corresponding application data in the memory means that the display device 200 loads the application icon and runs the application according to the corresponding application data stored in the memory.
[0101] For a display device 200 with a small memory, in order to ensure the operation quality of the display device 200, the number of application programs (hereinafter referred to as "applications") allowed to be installed by the display device 200 is relatively small. In this way, the user can only install relatively few applications, thereby limiting the number of applications that the user can use. Alternatively, before installing the application to be used, the user uninstalls some applications to free up the memory required for installing the application, which leads to additional operations by the user.
[0102] In order to solve the above problems, the embodiment of the present application provides a method for expanding memory, which can reduce the memory pressure of the display device 200 by connecting an external storage device to the display device 200 and migrating the application data originally stored in the display device 200 to the external storage device for storage. In addition, the display device 200 can format the external storage device as a memory and exchange data with the external storage device to use the application data stored in the external storage device, thereby displaying the application icon of the corresponding application and running the corresponding application.
[0103] In some embodiments, the external storage device is a device with data storage function and data read / write function, such as a USB flash drive, a mobile hard disk, etc.
[0104] In some embodiments, after detecting that an external storage device is inserted, the display device 200 may display an inquiry message, which is used to inquire the user whether to set the external storage device as a storage device for extended memory (hereinafter referred to as an "extension device"). If the user instructs to set the external storage device as an extension device, the display device 200 sets the external storage device as an extension device. If the user instructs not to set the external storage device as an extension device, the display device 200 treats the external storage device as a normal external device.
[0105] In some embodiments, the display device 200 may display a setting menu in response to a setting instruction of the user, and the setting menu may include a memory expansion option. The setting menu may be a system setting menu or a shortcut menu related to system settings. If the user selects the memory expansion option, the display device 200 may display a prompt message, which is used to prompt the user to insert an external storage device for memory expansion into a designated interface.
[0106] In some embodiments, the designated interface may be any one or more of the device interfaces 240 of the display device 200. In other embodiments, the designated interface may be one or more of the device interfaces 240 of the display device 200 that are preset.
[0107] In some embodiments, the designated interface can also be connected to an external storage device that is not used to expand memory (hereinafter referred to as a "non-expanded device"). When the designated interface is connected to a non-expanded device, it will serve as a common device interface 240 for data transmission between the display device 200 and the non-expanded device.
[0108] When the display device 200 detects that an external storage device is inserted into a designated interface, the display device 200 may automatically set the external storage device as an expansion device.
[0109] In some embodiments, the display device 200 may display a waiting access page and display prompt information on the page in response to a user instruction to select a memory expansion option.
[0110] In some embodiments, the display device 200 can be configured to automatically exit the waiting access page if no external storage device is detected to be connected to the designated interface within a specified time after displaying the waiting access page, thereby ending the process of setting up the external storage device.
[0111] In some embodiments, the display device 200 may be configured to, when displaying the waiting access page, exit the waiting access page in response to a return instruction from the user, so as to end the process of setting up the external storage device.
[0112] In some embodiments, the display device 200 can be configured to display a prompt message on the waiting access page when displaying the waiting access page if it detects that an external storage device is connected to a non-designated interface. The prompt message is used to prompt the user that the currently connected interface is not the designated interface and needs to be re-connected.
[0113] In some embodiments, after detecting that an external storage device is connected, the display device 200 mounts the external storage device. In some embodiments, the display device 200 can mount the external storage device to a specified mount point. The specified mount point can be in the / mnt or / storage directory. Through the specified mount point, the file system of the external storage device can be mapped to the corresponding directory in the operating system, so that the operating system of the display device 200 can access and operate the files in the external storage device through the specified mount point.
[0114] In some embodiments, after mounting the external storage device, the display device 200 formats the external storage device to format the external storage device as a memory storage device, and can configure the file system corresponding to the external storage device to be only recognized and used by the operating system of the display device 200, so as to achieve binding between the display device 200 and the external storage device. Thus, the external storage device can be configured as an expansion device. In this way, the external storage device as an expansion device of the display device 200 can be used normally by the display device 200 when connected to the display device 200, but cannot be used by other devices when connected to other devices.
[0115] In some embodiments, the display device 200 may be configured to automatically format the mounted external storage device in response to a user instruction to select a memory expansion option or in response to a user instruction to set the external storage device as an expansion device based on query information.
[0116] In some embodiments, the display device 200 may be configured to display inquiry information in response to a user's instruction to select a memory expansion option, or in response to a user's instruction to set an external storage device as an expansion device based on the inquiry information, to inquire whether the user should format the external storage device. Also, in response to a user's instruction to format the external storage device, the external storage device is formatted.
[0117] In some embodiments, when formatting the external storage device, the display device 200 may display a formatting page to remind the user that the external storage device is being set. After completing the setting of the external storage device, the display device 200 may automatically exit the formatting page.
[0118] In some embodiments, in order to ensure data security, the display device 200 can also encrypt the external storage device when the external storage device is set as an expansion device. For example, a key is stored in the display device 200, and the key is used to encrypt and decrypt the data in the external storage device. When the external storage device is inserted into other devices, since the other devices do not have the corresponding key, it can be prevented that the other devices read the data in the external storage device, thereby ensuring the security of the data in the external storage device.
[0119] After the display device 200 is turned on, a daemon process (Volume Daemon) can be started, and the background processes of the external storage device, such as plug / unplug event detection, mounting, unmounting, formatting, encryption, etc., can be managed and controlled through the daemon process.
[0120] In the embodiment of the present application, an example is given in which the expansion device is the first storage device.
[0121] Combination Figure 4 The operating system and Figure 5The timing diagram shown in the figure illustrates the process of configuring the expansion device. The first storage device is connected to the device interface 240. For example, before powering on, during power-on, or after powering on, the first storage device is inserted into the device interface 240. The peripheral driver can identify and detect the first storage device, and pass the uevent message to the daemon module. The daemon module continues to pass the uevent message to the storage manager. The storage manager will send a mount instruction to the daemon module according to the uevent message, and the daemon module mounts the first storage device in response to the mount instruction. Among them, the storage manager provides corresponding functions that can be implemented through the storage management service (StorageManager Service), and the daemon module can implement the corresponding functions through the daemon. The storage manager detects whether the daemon module has completed the mounting action on the first storage device. For example, the storage manager can request the status of the first storage device by actively sending a status request to the daemon module. If the status returned by the daemon module is the mounting status, the daemon module completes the mounting action on the first storage device. If the status returned by the daemon module is the unmounting status, the daemon module has not completed the mounting action on the first storage device. Alternatively, the daemon module may send a mount completion notification to the storage manager after completing the mount operation on the first storage device. After detecting that the daemon module completes the mount operation on the first storage device, the storage manager may format the first storage device. For example, the first storage device may be formatted by a format external storage module located in the framework layer to format the first storage device as a memory storage device, and the storage manager may also encrypt the first storage device by an encryption module.
[0122] After configuring the first storage device, the display device 200 may migrate the application data originally stored in the memory to the first storage device to release memory space.
[0123] In some embodiments, the applications that allow application data to be migrated may include applications that come with the display device 200 when it leaves the factory and applications that the user installs on the display device 200. The application icons of these applications may be configured to be displayed on the home page, or configured to be displayed in a sub-page or menu corresponding to a certain option on the home page.
[0124] In some embodiments, the application icons in the page can be displayed in partitions according to the application type. Taking the homepage as an example, the partition display of the application icons is explained. For example, the application types can be divided according to the content provided by the application, and the divided application types may include film and television, music, sports, news, animation, etc. For another example, the application types can be divided according to the installation method of the application, and the divided application types may include the application that comes with the display device 200 when it leaves the factory and the application installed by the user. For reference, Figure 6 In the homepage shown, application a and application b are applications that come with the display device 200 when it leaves the factory, and application icon 601 of application a and application icon 602 of application b are displayed in the same area, such as area 603. Application c and application d are applications installed by the user, and application icon 604 of application c and application icon 605 of application d are displayed in the same area, such as area 606. A title, such as "Your Applications", may be added to area 606 to indicate to the user that the application icons displayed in area 606 correspond to applications downloaded by the user.
[0125] In the embodiment of the present application, an example is given in which the application icon of the first application is configured to be displayed on the home page.
[0126] Combination Figure 4 and Figure 5 , the process of migrating the application data of the first application is described. After booting up, the homepage is loaded, wherein the application data of the first application is read from the memory, and the application icon of the first application is loaded according to the application data of the first application. When the user wants to migrate the application data of the first application, a migration instruction can be input to the first application, and the display device 200 can migrate the application data of the first application from the memory to the first storage device for storage through the mobile application data module in the framework layer in response to the migration instruction. After the migration, the application data of the first application is not included in the memory, so that the corresponding space in the memory can be released.
[0127] In some embodiments, the display device 200 may be configured to Figure 7 The process shown migrates application data. The specific steps are as follows:
[0128] S701: In response to a first instruction of a user to a first application, display a first menu of the first application, wherein the first menu includes a migration option.
[0129] If the user wants to migrate the application data of the first application to the first storage device, the user may input a first instruction to the first application, where the first instruction is used to instruct to display a first menu of the first application.
[0130] In some embodiments, the user may input the first instruction by long pressing the application icon of the first application, or double-clicking the application icon of the first application. For example, the user may move the focus to the application icon of the first application through the control device 100, and input the first instruction by long pressing or double-clicking the determination key or OK key of the control device 100.
[0131] In response to the first instruction, the display device 200 displays a first menu of the first application. The first menu may be a shortcut menu of the first application, including options for quick setting of the first application. The first menu may include a migration option.
[0132] You can refer to Figure 6 If the user wants to migrate the application data of application c to the first storage device, the user can input a first instruction to the application icon 604. In response to the first instruction, the display device 200 displays a first menu 607. The first menu 607 may include a migration option.
[0133] S702 : In response to a migration instruction input by a user based on a migration option, migrate application data of a first application to a first storage device.
[0134] If the user determines that he wants to migrate the application data of the first application, he can select the migration option and input a migration instruction, where the migration instruction is used to instruct to migrate the application data of the first application to the first storage device.
[0135] In some embodiments, the display device 200 obtains the application data of the first application from the memory in response to the migration instruction, and migrates the application data of the first application to the first external storage device for storage. After the application data of the first application is migrated to the first external storage device, the application data of the first application is no longer stored in the memory of the display device 200, so that the memory of the display device 200 can be freed up to store the memory corresponding to the application data of the first application, so as to reduce the memory pressure of the display device 200.
[0136] In other embodiments, the display device 200 may be configured as follows: Figure 8 The process shown migrates application data. The specific steps are as follows:
[0137] S801, in response to a second instruction of the user, displaying a second menu, where the second menu includes a migration option.
[0138] In some embodiments, the user may input a second instruction through a designated key on the control device 100 , such as a setting key, a menu key, etc., and the second instruction is used to instruct to display a second menu.
[0139] In some embodiments, the second menu may be a system settings menu, a system shortcut menu, a sidebar, etc. The second menu may include a migration option.
[0140] S802: In response to a third instruction input by the user based on the migration option, display options for migratable applications.
[0141] If the user wants to migrate application data, the third instruction can be input based on the migration option in the second menu. For example, the user can move the focus to the migration option through the control device 100, and input the third instruction of selecting the migration option through the determination key or OK key on the control device 100.
[0142] In response to the third instruction, the display device 200 may display options of migrateable applications, where the migrateable applications are applications that allow application data to be migrated. The options of migrateable applications are applications that can migrate application data to the first external storage device, such as third-party applications.
[0143] In some embodiments, the options of the migrated applications may be displayed in a separate page, wherein the options of the migrated applications are application icons of the migrated applications, so that the user can quickly identify the corresponding application according to the application icon.
[0144] You can refer to Fig. 9 The application migration page shown includes options for migrating applications, such as application icon 901 of application A, application icon 902 of application B, and application icon 903 of application C.
[0145] S803 , in response to a migration instruction in which the user selects an option of a first application among the migratable applications, application data of the first application is migrated to a first storage device.
[0146] The user may select application data of at least one application among the migratable applications, where the at least one application is the first application.
[0147] In some embodiments, the user may select one first application at a time to migrate application data, or may select multiple first applications at a time to migrate application data.
[0148] by Fig. 9 Taking the application migration page shown as an example, the application migration page may also include a confirmation button and a cancel button. If the user selects application icon 901 and application icon 902 and enters a migration instruction by selecting the confirmation button, the display device 200 responds to the migration instruction and migrates the application data of application A and application B to the first storage device.
[0149] In some embodiments, the display device 200 may add a mark to the selected application icon, such as Fig. 9 As shown, a mark “√” is added to application icon 901 and application icon 902. In this way, the user can be prompted with the selected application.
[0150] If the user does not want to migrate the application data, the user can select the cancel button to input a cancel instruction. In response to the cancel instruction, the display device 200 cancels the operation of migrating the application data this time and exits the application migration page.
[0151] In some embodiments, after the display device 200 migrates the application data of the first application to the first storage device, a migration record of the first application may be generated.
[0152] In some embodiments, if the user instructs to migrate application data of one first application at a time, the migration record of the first application is the migration record of the first application of this migration.
[0153] In other embodiments, if the user instructs to migrate application data of multiple first applications at one time, the migration record of the first application includes the migration records of multiple first applications migrated this time. In the migration record, the migration record of each first application can be distinguished according to the application name of the first application.
[0154] In some embodiments, the migration record of the first application may include relevant information of the first application, such as application name, migration time, display position of the application icon of the first application before migration, the first storage device to which the first application is migrated, usage permissions, etc.
[0155] In some embodiments, the user can migrate application data of a second application, where the second application is an application whose application icon is configured to be displayed on a non-home page. The process of migrating the application data of the second application can refer to the process of migrating the application data of the first application.
[0156] In some embodiments, after completing the migration of application data, the display device 200 may display a prompt message indicating that the migration is completed. According to the prompt message, the user may input an entry instruction to the corresponding application to verify whether the application can be used normally after the application data is migrated.
[0157] After the application data is migrated, the application of the migrated application data is associated with the application data stored in the first storage device. The association of the application of the migrated application data with the application data stored in the first storage device means that the display device 200 loads the application icon and runs the application according to the application data stored in the first storage device.
[0158] After migrating the application data, the display device 200 loads the application icon in the corresponding page according to the application data stored in the memory and the application data stored in the first storage device.
[0159] When displaying the home page, the display device 200 loads the application icon in the home page according to the application data stored in the memory and the application data of the first application stored in the first storage device.
[0160] When displaying a non-home page, the display device 200 loads application icons in the home page according to the application data stored in the memory and the application data of the second application stored in the first storage device.
[0161] In some embodiments, when the display device 200 loads an application icon based on the application data stored in the first storage device, the application icon may be loaded at a first position of the application icon. The first position may be a page where the application icon was located before the application data was migrated, and a position displayed on the page.
[0162] by Figure 6 Taking the homepage shown in FIG. 1 as an example, after migrating the application data of application c, when loading the homepage, the display device 200 loads the application icon of application c according to the application data migrated to the first storage device. The display device 200 can determine the first position of the application icon of application c according to the migration record of application c. The first position is the first icon display position in area 606 on the homepage. The display device 200 loads the application icon of application c at the first position, and the loaded homepage can refer to Figure 6 After the migration, the application icon 704 of application c is still displayed in the first icon display position of area 606.
[0163] In some embodiments, when the display device 200 loads the application icon according to the application data stored in the first storage device, the application icon may be loaded at the second position of the application icon, and the second position may be the page where the application icon is located before the application data is migrated, and the position after the application icon of the non-migrated application in the page. The non-migrated application is an application whose application icon is displayed in the page and whose application data has not been migrated.
[0164] by Figure 6 Taking the homepage shown in FIG. 1 as an example, after migrating the application data of application c, the display device 200 loads the application icon of application c according to the application data migrated to the first storage device when loading the homepage. The display device 200 can determine the second position of the application icon of application c according to the migration record of application c. The second position is area 606 on the homepage and is located after the application icon of the non-migrated application. Fig.10In the homepage shown, application d is a non-migrated application, and application icon 605 of application d is displayed preferentially in area 606 , that is, application icon 605 of application d is displayed in the first icon display position in area 606 , and application icon 604 of application c is displayed behind application icon 605 .
[0165] In some embodiments, when the display device 200 loads the application icon according to the application data stored in the first storage device, the application icon may be loaded at the third position of the application icon, and the third position may be a designated area in the corresponding page, wherein the corresponding page is the page where the application icon is located before the application data is migrated, and the designated area is an area for displaying the application icon of the migrated application data. A corresponding title may be added to the designated area, such as "Migrate Application".
[0166] In some embodiments, the display device 200 may be configured to display the home page first after powering on. In the process of loading the home page, the display device 200 needs to load the application icon displayed in the home page. If the display device 200 is connected to a first storage device, and the first storage device stores application data of the first application, the application data of the first application needs to be read from the first storage device, and the application icon of the first application is loaded in the home page according to the application data.
[0167] In the power-on state, the display device 200 enters the standby state in response to the user's standby instruction. In the standby state, in order to meet the power consumption requirements of the protocol, if the display device 200 is connected to the first storage device, the first storage device is uninstalled.
[0168] In some embodiments, the standby instruction may be a first standby instruction, which is a Standby Resume (STR) instruction. In response to the first standby instruction, the display device 200 enters a third standby state, which is an STR standby state.
[0169] In some embodiments, the user may input the first standby instruction by a first operation on a designated key of the control device 100. For example, the user may input the first standby instruction by short pressing the power key, and accordingly, the display device 200 may receive a signal generated by short pressing the power key.
[0170] In some embodiments, in the third standby state, the display device 200 adjusts the display to an off-screen state, and adjusts the currently running applications and functions to a low-power state to meet the power consumption requirements in the protocol for the third standby state. Among them, the display device 200 will power off the device interface 240 to uninstall the first storage device, that is, in the third standby state, the first storage device will be in an uninstall state. In some embodiments, the currently running applications and functions are adjusted to a low-power state, which can be to freeze the currently running applications and functions, and save the currently running applications and data to the memory. In this way, for the case of restarting within a preset time after entering the third standby state, these data can be directly obtained from the memory, and the applications running before entering the third standby state can be quickly restored based on these data. For the case of restarting after the preset time after entering the third standby state, the display device 200 can be configured to display the home page.
[0171] In some embodiments, in the case of restarting after a preset time after entering the third standby state, the display device 200 can release the applications and data stored in the memory before entering the third standby state after being turned on to release the corresponding memory space.
[0172] In some embodiments, in the case of restarting after a preset time after entering the third standby state, the display device 200 can continue to save the applications and data saved in the memory before entering the third standby state after starting up. If the display device 200 enters the application running before entering the third standby state again, the application can be displayed according to the data in the memory. For example, the application can be displayed according to the running state of the application before entering the third standby state.
[0173] When the display device 200 is in the third standby state, the user may input a first power-on instruction to the display device 200 to control the display device 200 to restart.
[0174] The user may input the first power-on instruction by a second operation on a designated key of the control device 100. For example, the user may input the first power-on instruction by short pressing the power key.
[0175] The display device 200 responds to the first power-on instruction and restarts. During the power-on process, the display device 200 needs to reload the homepage and mount the first storage device.
[0176] In some other embodiments, the standby instruction may be a second standby instruction, and the second standby instruction may be an AC or DC standby instruction. The display device 200 enters the second standby state in response to the second standby instruction.
[0177] In some embodiments, the user may input the second standby instruction by a third operation on a designated key of the control device 100. For example, the user may input the second standby instruction by long pressing the power key, and accordingly, the display device 200 may receive a signal generated by long pressing the power key.
[0178] In some embodiments, the second standby state may also be referred to as an AC / DC standby state.
[0179] In the second standby state, the display device 200 is powered off, and the display device 200 closes the currently running applications and data. Since the display device 200 is powered off, the device interface 240 of the display device 200 is also powered off, and the first storage device is also unloaded.
[0180] Combination Figure 4 and Fig.11 In the timing diagram shown in FIG. 1 , the first storage device is in a mounted state and the application data of the first application has been migrated. The process can refer to FIG. Figure 5 Related parts. The user can input a standby instruction (a first standby instruction or a second standby instruction), and the display device 200 can be responsible for the standby process through the power management service (PowerManager Service) provided by the standby module in the framework layer. Among them, a standby notification can be sent to the daemon module through the standby module in the framework layer, and the daemon module performs an unloading action on the first storage device according to the standby notification. Among them, after the daemon module completes the unloading action on the first storage device, it can send an unloading completion notification to the storage manager. Alternatively, the storage manager can request the status of the first storage device by sending a status request to the daemon module. The standby module also sends a screen-off broadcast to the display, and the display enters the screen-off state according to the screen-off broadcast. The standby module can also send a standby notification to other running applications and functions to adjust these applications and functions to a low power consumption state, or shut down these applications and functions to meet the power consumption requirements in the standby state.
[0181] In the standby state, the display device 200 can send a screen-on broadcast to the display through the standby module in response to the power-on command input by the user, and the display enters the screen-on state according to the screen-on broadcast. The standby module can also send a startup notification to the homepage, and the homepage is loaded according to the notification. For example, the homepage can be loaded through the first process. After booting up, if the peripheral driver recognizes that the first storage device is connected, it can send a uevent message to the daemon module, and the daemon module will continue to pass the uevent message to the storage manager. After detecting that the first storage device is in an unloaded state, the storage manager sends a mount instruction to the daemon module, and the daemon module responds to the mount instruction and re-mounts the first storage device.
[0182] Since the first process and the daemon process are two independent processes, it is possible that if the daemon process mounts the first storage device slower than the first process loads the homepage, when the homepage is loaded, since the first storage device is in an unloaded state, the homepage cannot read the application data of the first application from the first storage device, and therefore cannot load the application icon of the first application.
[0183] You can refer to Fig.11 As shown in the timing diagram, during the process of loading the home page, if the loading speed of the home page is less than the mounting speed of the first storage device, that is, the daemon process completes mounting the first storage device before the first process completes loading the home page, then the first process can read the application data of the first application from the first storage device and load the application icon of the first application on the home page. If the loading speed of the home page is greater than or equal to the mounting speed of the first storage device, that is, the daemon process does not complete mounting the first storage device before the first process completes loading the home page, then the first process cannot read the application data of the first application from the first storage device, and cannot load the application icon of the first application on the home page.
[0184] Furthermore, even if the first storage device is mounted after the homepage is loaded, the homepage will not actively monitor the state of the first storage device, so as to read the application data of the first application from the first storage device after the first storage device is updated from the unmounted state to the mounted state, and update the application icon according to the application data. This also results in that the display device 200 cannot display the application icon of the first application on the homepage, and the user cannot use the first application through the application icon on the homepage.
[0185] In order to solve the above problems, the embodiments of the present application provide different methods for displaying application icons for the situations of entering a standby state in response to different standby instructions and booting up and entering a home page in different standby states, so that after the display device 200 is booted up and enters the home page, the application icons of all the first applications whose display position is the home page can be displayed on the home page.
[0186] In some embodiments, in response to the first standby instruction, the display device 200 may add a standby lock to avoid entering the third standby state, that is, not unloading the first storage device but ensuring that the first storage device continues to be mounted.
[0187] The standby lock is essentially a wake lock, which can be used to prevent the display device 200 from entering the third standby state in response to the first standby instruction, but needs to ensure that the specified process remains active to ensure the usability of the specified process. In an embodiment of the present application, the specified process can be configured as a mount process of the first storage device, that is, after the display device 200 enters the standby state in response to the first standby instruction, it is still ensured that the mount process of the first storage device is active.
[0188] In some embodiments, the display device 200 may be configured to Fig.12 The process shown adds a standby lock. The specific steps are as follows:
[0189] S1201, when the first storage device is in a mounted state, in response to a migration instruction of a first application from a user, migrate application data of the first application from a memory to the first storage device.
[0190] Step S1201 may refer to steps S701-S702, or steps S801-S803, which will not be described in detail here.
[0191] S1202: When it is identified that application data of at least one first application is migrated to the first storage device, add a standby lock.
[0192] That is, the display device 200 adds a standby lock when the number of first applications whose application data is migrated is not zero.
[0193] In some embodiments, Figure 4 As shown, the display device 200 can configure a service detection module at the framework layer, and the service detection module can be used to detect the number of first applications whose application data is migrated and manage the addition and release of standby locks. Figure 5 As shown in the timing diagram, when the service detection module detects that the number of the first application whose application data is migrated is not 0, the standby lock is added.
[0194] In some embodiments, the display device 200 may identify whether the first application exists based on a migration record of the first application.
[0195] In some embodiments, the service detection module may be configured to read the migration record of the first application.
[0196] In some embodiments, the service detection module may be configured to generate a migration record of the first application.
[0197] In other embodiments, the display device 200 may count the first application when migrating the application data of the first application.
[0198] In some embodiments, the service detection module may be configured to count when detecting the migration of application data of the first application.
[0199] In some embodiments, the service detection module adding the standby lock can be configured to indicate the state of the standby lock through a specific variable or flag, wherein the flag can be a Boolean value, which indicates whether the standby lock is enabled (added) or disabled (released).
[0200] In some embodiments, the display device 200 releases the standby lock when it is recognized that the number of first applications whose application data is migrated is 0.
[0201] In some embodiments, when holding the standby lock, if the service detection module identifies that the number of the first application is 0 according to the migration record of the first application, the standby lock is released.
[0202] In some embodiments, the user can migrate the application data of the first application from the first storage device back to the memory of the display device 200. Accordingly, the display device 200 can delete the corresponding migration record of the first application, or generate a migration record of the first application. After all the application data of the first application are migrated back from the first storage device to the memory of the display device 200, the service detection module can recognize that the number of first applications is 0, and the service detection module releases the standby lock.
[0203] In other embodiments, the user may delete the application data of the first application from the first storage device, which is equivalent to uninstalling the corresponding first application. The display device 200 may generate an uninstallation record of the corresponding first application, for example, the uninstalled first application may be recorded by the service detection module. The service detection module may identify the number of first applications whose application data is stored in the first storage device based on the uninstallation record and migration record of the first application. After uninstalling all the first applications, the service detection module may identify that the number of first applications is 0, and the service detection module releases the standby lock.
[0204] The display device 200 may be configured as follows: Fig.13 The process shown enters the standby state and restarts to load the home page. The specific steps are as follows:
[0205] S1301, in response to a first standby instruction, identifying whether a standby lock exists.
[0206] In response to the first standby instruction, the display device 200 first identifies whether a standby lock exists before entering the standby state.
[0207] You can refer to Figure 5In the timing diagram shown, the standby module responds to the first standby instruction and can detect whether the service detection module holds the standby lock. In some embodiments, the standby module can read the state of the standby lock from the service detection module. Taking the standby lock represented by a flag bit as an example, the standby module can read the flag bit from the service detection module and determine whether the service detection module holds the standby lock according to the Boolean value of the flag bit.
[0208] S1302: If a standby lock exists, enter a first standby state, in which the first storage device remains mounted.
[0209] The main difference between the first standby state and the third standby state is that in the first standby state, the first storage device remains in the mounted state, that is, the device interface 240 to which the first storage device is connected remains powered on, and the daemon process does not perform the unloading action of the first storage device. At this time, although the mounted state of the first storage device is maintained compared with the third standby state, since the power consumption of the first storage device in the mounted state is lower, even if the first storage device is maintained in the mounted state, the overall power consumption of the display device 200 can still meet the power consumption requirements in the STR standby state.
[0210] You can refer to Figure 5 As shown in the timing diagram, after the standby module recognizes the existence of the standby lock, it will not send a standby notification to the daemon module. As a result, the daemon module will not perform an unloading action on the first storage device to keep the first storage device always in a mounted state. The standby module will send a screen-off broadcast to the display, and the display will enter the screen-off state according to the screen-off broadcast. The standby module can also send a standby notification to other running applications and functions to adjust these applications and functions to a low power consumption state, or shut down these applications and functions. As a result, the display device 200 enters the first standby state.
[0211] S1303, in the first standby state, in response to the first power-on instruction, loading a home page, wherein in the process of loading the home page, the application icon of the first application is loaded according to the application data of the first application read from the first storage device which remains in the mounted state.
[0212] When the display device 200 is turned on in response to the first power-on instruction, the home page will be reloaded. Since the first storage device is always mounted in the first standby state, the daemon process does not need to re-mount the first storage device after the device is restarted, and the display device 200 can always read the application data of the first application stored in the first storage device. In this way, when the display device 200 is loading the home page, the application data of the first application can be directly read from the first storage device, and the application icon of the first application can be loaded according to the application data.
[0213] You can refer to Figure 5 As shown in the timing diagram, in the first standby state, the display device 200 can send a screen-on broadcast to the display through the standby module in response to the first power-on command input by the user, and the display enters the screen-on state according to the screen-on broadcast. The standby module also sends a startup notification to the homepage, and the homepage is loaded according to the notification. After powering on, the peripheral driver can send a uevent message to the daemon module after recognizing that the first storage device is connected. The daemon module will continue to pass the uevent message to the storage manager. After receiving the uevent message, the storage manager does not send a mount instruction to the daemon module after detecting that the first storage device is in a mounted state, so as to avoid repeated mounting of the first storage device.
[0214] During the process of loading the homepage, since the first storage device is in a mounted state, the homepage can directly read the application data of the first application from the first storage device in a mounted state, and then load and display the application icon of the first application according to the application data of the first application. In this way, the homepage displayed after booting can include the application icon of the first application.
[0215] It can be seen that since the first storage device remains mounted in the first standby state, when the homepage is reloaded after power-on, the situation where the application data of the first application in the first storage device cannot be read after the homepage is loaded because the mounting of the first storage device has not been completed will not occur, and the situation where the application icon of the first application cannot be displayed on the homepage will not occur, thereby ensuring that the user can browse through the homepage to all the first applications whose application icons should be displayed on the homepage.
[0216] In some embodiments, the display device 200 may be configured to release the standby lock in response to the first power-on instruction.
[0217] In some embodiments, the display device 200 may be further configured to determine whether to re-add the standby lock according to the number of first applications whose application data has been migrated, if the standby lock is released in response to the first power-on instruction.
[0218] In other embodiments, the display device 200 may be configured to not release the standby lock in response to the first power-on instruction, and after powering on, determine whether to release the standby lock based on the number of first applications that have migrated application data.
[0219] In some embodiments, after monitoring the dialing out of the first storage device, the display device 200 releases the standby lock when there is no connected first storage device and / or when detecting that there is no application data of the first application in the connected first storage device.
[0220] Among them, when there is no connected first storage device, and when there is no application data of the first application in the connected first storage device, it means that when loading the homepage, it is not necessary to load the corresponding application icon in the homepage according to the application data in the first storage device. Therefore, in the standby state, there is no need to keep the first storage device in a mounted state. If the display device 200 continues to hold the standby lock, it may cause the display device 200 to still try to access the unplugged first storage device or the first storage device where the application data of the first application does not exist when loading the homepage after powering on, thereby extending the time for loading the homepage, and in standby, due to related activities, components, etc. used to keep the first storage device in a mounted state. In order to solve the above problems, the display device 200 can be configured to accurately manage the holding and release of the standby lock according to the connection status of the first storage device and the application data stored in the first storage device.
[0221] In some embodiments, after monitoring that the first storage device is unplugged, the display device 200 can detect whether there is still a connected first storage device. If there is still a connected first storage device, it can be considered that when loading the homepage after power-on, it is necessary to read the corresponding application data from the first storage device. Thus, the display device 200 maintains the standby lock. If there is no connected first storage device, it can be considered that when loading the homepage after power-on, it is not necessary to read the corresponding application data from the first storage device. Thus, the display device 200 releases the standby lock to enter the third standby state when on standby.
[0222] In some embodiments, the display device 200 may be configured to, when detecting that the user deletes the application data of the first application from the first storage device, delete the migration record of the corresponding first application, or generate a deletion record of the corresponding first application, to indicate that the corresponding application data is not stored in the first storage device, which is equivalent to uninstalling the corresponding first application. The display device 200 may also be configured to, after detecting that the application data of the first application is deleted from the first storage device, detect whether the application data of other first applications are still stored in the first storage device, that is, whether the number of first applications is 0. If the application data of other first applications is still stored, that is, the number of first applications is not 0, it can be considered that when loading the homepage after power-on, it is still necessary to read the corresponding application data from the first storage device. Thus, the display device 200 maintains the standby lock. If the application data of other first applications is not stored, that is, the number of first applications is 0, it can be considered that when loading the homepage after power-on, it is not necessary to read the corresponding application data from the first storage device. Thus, the display device 200 releases the standby lock to enter the third standby state when on standby. In this way, when the first storage device is accessed, the display device 200 can manage the standby lock more accurately according to the application data actually stored in the first storage device.
[0223] In some embodiments, in the second standby state, the display device 200 may Fig.14 The process shown is to load the home page when the computer is turned on. The specific steps are as follows:
[0224] S1401, in a second standby state, in response to a second power-on instruction, loading a home page and mounting a first storage device.
[0225] After the first storage device is in the mounted state and the application data of the first application has been migrated, the display device 200 can enter the second standby state in response to the second standby instruction. In the second standby state, the display will be in the off state and the first storage device is in the unloaded state.
[0226] Can be combined Figure 4 and Fig.15 As shown in the timing diagram, the display device 200 can send a standby notification to the daemon module through the standby module in response to the second standby instruction, and the daemon module performs an uninstallation action on the first storage device according to the standby notification. The standby module can also send a screen-off broadcast to the display, and the display enters a screen-off state according to the screen-off broadcast. The standby module can also send a standby notification to other running applications and functions to close these applications and functions.
[0227] The display device 200 responds to the second power-on instruction and loads the home page after powering on. If there is a connected first storage device, the first storage device needs to be remounted because the first storage device is in an unmounted state.
[0228] You can refer to Fig.15 As shown in the timing diagram, the standby module can send a screen-on broadcast to the display in response to the second power-on instruction, and the display enters the screen-on state according to the screen-on broadcast. The standby module can also send a startup notification to the homepage, and the homepage is loaded according to the startup notification. After powering on, the peripheral driver can send a uevent message to the daemon module after recognizing that the first storage device is connected. The daemon module will continue to pass the uevent message to the storage manager. After receiving the uevent message, the storage manager sends a mount instruction to the daemon module after detecting that the first storage device is in an unloaded state. The daemon module responds to the mount instruction and mounts the first storage device.
[0229] S1402, after the homepage is loaded, display the homepage, wherein after the first storage device is mounted, control the homepage to load the application icon of the first application according to the application data of the first application in the first storage device.
[0230] The display device 200 may be configured to control the homepage to load the application icon of the first application on the homepage according to the application data of the first application in the first storage device after the first storage device is mounted.
[0231] In some embodiments, the display device 200 can be configured to actively notify the home page after the first storage device is mounted, so that the home page determines that the first storage device is in a mounted state based on the notification, reads the application data of the first application from the first storage device, and loads the corresponding application icon based on the application data of the first application.
[0232] In some embodiments, the display device 200 may be configured to generate a first notification after detecting that the first storage device has been mounted and that the application data of the first application is stored in the first storage device. The display device 200 may send the first notification to the homepage to notify the homepage that the first storage device has been mounted and that the application data of the first application is stored in the first storage device. In this way, the display device 200 may read the application data of the first application from the first storage device according to the first notification, and load the corresponding application icon according to the application data of the first application.
[0233] Can be combined Figure 4 and Fig.15 If the loading speed of the home page is greater than or equal to the mounting speed of the first storage device, that is, before the first process completes loading the home page, the daemon process has not completed mounting the first storage device, then the first process cannot read the application data of the first application from the first storage device, and cannot load the application icon of the first application on the home page. That is, the home page displayed after booting does not include the application icon of the first application. Figure 6 The homepage shown in FIG. 1 and the application data of application c are migrated as an example. The homepage displayed after the display device 200 is turned on is as follows Fig.16 As shown in ①, the application icon 604 of application c is not included.
[0234] The service detection module starts up when the whole machine is turned on, and after startup, it detects whether there is a mounted first storage device, and when there is a mounted first storage device, it detects whether the number of first applications that have migrated application data is 0. Specifically, when the service detection module detects that there is a mounted first storage device and the number of first applications that have migrated application data is not 0, it can be determined that the application data of the first application is stored in the first storage device. The service detection module can send a first notification to the homepage through the communication module in the framework layer. Based on the first notification, the homepage reads the application data of the first application from the first storage device, loads the application icon of the first application based on the application data of the first application, and updates the homepage. The updated homepage includes the application icon of the first application. Fig.16Taking the homepage shown in ① as an example, after receiving the first notification sent by the communication module, the homepage reads the application data of the first application from the first storage device and updates the application icon in the homepage, that is, loads the application icon 604 of application c in the homepage. The updated homepage can refer to Fig.16 In ②, an application icon 604 of application c is included.
[0235] If the loading speed of the home page is slower than the mounting speed of the first storage device, that is, the daemon process completes mounting the first storage device before the first process completes loading the home page, the first process can read the application data of the first application from the first storage device and load the application icon of the first application on the home page. Figure 6 As shown in the homepage, and the application data of application c is migrated as an example, the homepage can directly load the application icon 604 of application c during the loading process, and the homepage displayed after booting can refer to Figure 6 . When the service detection module detects that there is a mounted first storage device and the number of first applications that have migrated application data is not 0, it can send a first notification to the homepage through the communication module. Among them, if the homepage has read the application data of the first application from the first storage device before receiving the first notification, or has completed the loading of the application icon of the first application, the homepage can discard the first notification, that is, no longer repeatedly read the application data of the first application. If the homepage has not read the application data of the first application from the first storage device before receiving the first notification, the application data of the first application is read from the first storage device when the task of reading the application data of the first application is executed. It can be seen that when the loading speed of the homepage is lower than the mounting speed of the first storage device, the first notification issued by the service detection module will not affect the process of loading the application icon of the first application on the homepage.
[0236] In some embodiments, after adding the standby lock, if the display device 200 receives the second standby instruction, it enters the second standby state, and in the second standby state, it can restart and load the home page according to the process of steps S1401-S1402. After entering the second standby state, the display device 200 will release the standby lock.
[0237] In some embodiments, after the display device 200 is powered on in response to the second power-on instruction, a standby lock may be added according to step S1202 .
[0238] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the content of this disclosure, so that those skilled in the art can better use the embodiments.
Claims
1. A display device, It is characterized in that include: A memory configured to: store application data of a first application; a display, configured to: be in a bright screen state and display a home page, wherein the home page includes an application icon of the first application, wherein the first application is associated with application data of the first application stored in the memory; The device interface is configured to: access a first storage device; The controller is configured as: After the first storage device is in a mounted state and formatted as a memory storage device, in response to a user's migration instruction for the first application, migrate application data of the first application from the memory to the first storage device, wherein after migrating the application data of the first application, the first application is associated with the application data of the first application stored in the first storage device; When it is detected that application data of at least one of the first applications is migrated to the first storage device, a standby lock is added, and the standby lock is used to indicate that when entering the standby state, the first storage device is kept in the mounted state, wherein in the mounted state, the application data of the first application in the first storage device can be read.
2. The display device according to claim 1, It is characterized in that When the controller detects that application data of at least one of the first applications is migrated to the first storage device, the controller adds a standby lock and is configured to: If the application data of the first application is migrated from the memory to the first storage device, generating a migration record of the first application; When the migration record of the first application is detected, the standby lock is added.
3. The display device according to claim 1, It is characterized in that After adding the standby lock, the controller is further configured to: When it is detected that the first storage device is unplugged and / or when it is detected that the application data of the first application is not stored in the first storage device, the standby lock is released.
4. The display device according to any one of claims 1 to 3, It is characterized in that The controller is further configured to: In response to a first standby instruction, identifying whether the standby lock exists; If the standby lock exists, entering a first standby state, in which the first storage device maintains the mounted state; In the first standby state, in response to a first power-on instruction, the home page is loaded, wherein, during the loading of the home page, an application icon of the first application is loaded according to application data of the first application read from the first storage device that maintains the mounted state.
5. The display device according to claim 4, It is characterized in that The controller, in the process of loading the homepage, loads the application icon of the first application according to the application data of the first application read from the first storage device that maintains the mounted state, and is configured as follows: loading an application icon of the first application at a first position on the homepage, where the first position is a position where the application icon of the first application is displayed on the homepage before application data of the first application is migrated; Alternatively, an application icon of the first application is loaded at a second position of the homepage, the second position being a position on the homepage after an application icon of a non-migrated application, the non-migrated application being an application whose application image is displayed on the homepage and whose application data has not been migrated; Alternatively, the application icon of the first application is loaded at a third position of the homepage, and the third position is a designated area in the homepage, and the designated area is used to display the application icon of the first application.
6. The display device according to any one of claims 1 to 3, It is characterized in that The controller is further configured to: In response to a second standby instruction, entering a second standby state, wherein in the second standby state, the first storage device is in an unloaded state; In response to a second boot instruction, the home page is loaded and the first storage device is mounted, wherein after the first storage device is mounted, the home page is controlled to load the application icon of the first application according to the application data of the first application in the first storage device.
7. The display device according to claim 6, It is characterized in that The controller, in response to the second boot instruction, loads the home page and mounts the first storage device, and is configured to: If the speed of loading the homepage is greater than or equal to the speed of mounting the first storage device, displaying the homepage after the loading of the homepage is completed, wherein the homepage does not include the application icon of the first application; After the first storage device is mounted, generating a corresponding first notification; The homepage reads application data of the first application from the first storage device according to the first notification; The homepage loads the application icon of the first application according to the application data of the first application and updates the application icon. The updated homepage includes the application icon of the first application.
8. The display device according to claim 7, It is characterized in that After the first storage device is mounted, the controller generates a corresponding first notification, and is configured to: After the first storage device is mounted, detecting whether the first storage device stores application data of the first application; When the first storage device stores application data of the first application, the corresponding first notification is generated.
9. A method for displaying an application icon, It is characterized in that Applied to the display device according to any one of claims 1 to 8, the display device storing application data of a first application; the display device is in a screen-on state and displays a homepage, the homepage includes an application icon of the first application, wherein the first application is associated with the application data of the first application stored in the memory; the display device is connected to a first storage device; The method comprises: After the first storage device is in a mounted state and formatted as a memory storage device, in response to a user's migration instruction for the first application, migrate application data of the first application from the memory to the first storage device, wherein after migrating the application data of the first application, the first application is associated with the application data of the first application stored in the first storage device; When it is detected that application data of at least one of the first applications is migrated to the first storage device, a standby lock is added, and the standby lock is used to indicate that when entering the standby state, the first storage device is kept in the mounted state, wherein in the mounted state, the application data of the first application in the first storage device can be read.
10. The method according to claim 9, It is characterized in that The method further comprises: In response to a first standby instruction, identifying whether the standby lock exists; If the standby lock exists, entering a first standby state, in which the first storage device maintains the mounted state; In the first standby state, in response to a first power-on instruction, the home page is loaded, wherein, during the loading of the home page, an application icon of the first application is loaded according to application data of the first application read from the first storage device that maintains the mounted state.
11. The method according to claim 9, It is characterized in that The method further comprises: In response to a second standby instruction, entering a second standby state, wherein in the second standby state, the first storage device is in an unloaded state; In response to a second boot instruction, the home page is loaded and the first storage device is mounted, wherein after the first storage device is mounted, the home page is controlled to load the application icon of the first application according to the application data of the first application in the first storage device.
