Display method and electronic equipment
Through the smart platform application in low-power mode, the service interface recommendation model and interactive events are used to adjust the display strategy, the power consumption problem of the display interface in the mobile phone stand state is solved, and the low-power display and user-friendly interface display are realized.
Patent Information
- Application Number
- CN202410045667.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-10
- Publication Date
- 2025-07-18
AI Technical Summary
When the phone is in the stand state, how to display the interface required by the user normally in a low power state, such as the image or video files in the gallery, to avoid multiple operations and increased power consumption problems of the user.
The smart platform application is adopted. The application inherits from the low-power mode. It determines the first-time display interface through the service interface recommendation model, and adjusts the display strategy based on the last recorded interface information and user interaction events. The display screen controls the target service interface to display the low-power consumption, and optimizes the display time and power consumption in combination with the timer and the status management module.
It realizes the low-power consumption display of the user's required interface in the mobile phone stand state, reduces user operations, reduces power consumption of electronic devices, and improves user experience.
Smart Images

Figure CN120343137A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminals, and in particular, to a display method and an electronic device. Background Art
[0002] With the continuous development of mobile terminal technology, the applications of mobile terminals have become more and more extensive. When a user hopes that the mobile phone can display the images in the gallery in the stand state, the user needs to adjust the mobile phone from the portrait state to the stand state. When the mobile phone is in the stand state, the mobile phone responds to the user's operation of starting the gallery and starts the gallery. The gallery application responds to the user's viewing operation and displays the selected image on the display screen.
[0003] However, when the mobile phone displays the images in the gallery in the stand state, the user needs to perform multiple operations, and the power consumption of the mobile phone increases during the process of displaying the images. If the mobile phone is adjusted to the low-power standby state in order to reduce the power consumption, the applications in the mobile phone will be in the sleep state and the interface of the application cannot be normally displayed. How to display the interface required by the user (such as playing a video file in a video application) when the mobile phone is in the stand state and in the low-power state is a problem to be solved. Summary of the Invention
[0004] To solve the above technical problems, this application provides a display method and an electronic device, so that when the electronic device is in the stand state, it can normally display the application interface in the low-power state, reducing the power consumption of the electronic device.
[0005] In a first aspect, this application provides a display method applied to an electronic device. A first application is installed in the electronic device, and the first application inherits from the low-power mode. The method includes: when the electronic device is in the stand state, starting the first application; the first application determines the target service interface to be displayed on the display screen by the first application this time according to the service interface that the first application controlled the display screen to display last time, and the service interface used when the first application runs for the first time is determined by the service interface recommendation model; when it is detected that the electronic device is in the charging state, the first application controls the display screen to display the target service interface during the charging period of the electronic device; when it is detected that the electronic device is not in the charging state, the first application controls the display screen to display the target service interface within a first preset duration.
[0006] In this way, an electronic device (such as a mobile phone, a tablet computer, etc.) is installed with a first application (i.e., the intelligent stand), and this first application inherits from the low-power mode, that is, this first application has the attributes in the low-power mode. In this example, when the electronic device is in the stand state, the first application is started, so that the electronic device is in a low-power state, and this first application can control the display screen to adopt different display strategies in different scenarios under low power, further reducing the power consumption of the electronic device. When the first application runs for the first time, it can determine the target service interface to be adopted when running for the first time according to the service interface recommendation model. This target service interface can be an image in the gallery application, a video file in the video application, or the interface of the calendar application; this enables the electronic device to view the required interface when in the stand state without the user having to perform multiple operations. For the non-first-time running of the non-first application, the target service interface to be displayed on the control display screen this time can be determined according to the service interface recorded when exiting last time. This method enables the target service interface displayed on the control display screen by the first application to meet the user's needs when the electronic device is in the stand state.
[0007] In addition, when the electronic device is in the stand state, if the electronic device is in the charging state, the target service interface can be continuously displayed during the charging and disconnecting period. Since the electronic device has sufficient power when in the charging state, there is no need to limit the display duration of the target service interface; when the electronic device is in the non-charging state, the first application can control the display screen to display the target service interface within a first preset duration (such as 20 seconds, 30 seconds, etc.); this avoids the electronic device from displaying the target service interface for a long time and increasing the unnecessary power consumption of the electronic device, thereby further reducing the power consumption of the electronic device.
[0008] According to the first aspect, the first application includes: a state management module, a display module, and a timer; when it is detected that the electronic device is not in the charging state, the first application controls the display screen to display the target service interface within the first preset duration, including: when the display module detects that the electronic device is not in the charging state, it controls the display screen to display the target service interface and starts the timer; when the display module detects that the timer reaches the first preset duration, it transmits a first indication message to the state management module; the state management module sets the display screen to switch to the screen-off state according to the first indication message. In this way, the first application can timely control the display screen to enter the screen-off state through the timer and the state management module. The power consumption of the first application running in the screen-off state is reduced, reducing unnecessary power consumption.
[0009] According to the first aspect, after the display screen switches to the screen-off state, the method further includes: when the display module detects a first preset event, the display module transmits second indication information to the state management module, where the first preset event includes a preset touch operation or an event that a human eye gazes at the display screen; the state management module sets the display screen to light up the screen according to the second indication information; the display module instructs the timer to restart timing. In this way, since it is not necessary to exit the first application in the screen-off state, after the display screen enters the screen-off state, the electronic device further reduces power consumption. In this example, the electronic device allows a preset touch operation to be responded to, so that the first application can display the target service interface in a timely manner without restarting the first application, reducing power consumption.
[0010] According to the first aspect, the method further includes: within a first preset duration, when the display module detects a first preset event, the display module instructs the timer to restart timing, where the first preset event includes a preset touch operation or an event that a human eye gazes at the display screen. In this way, if the first preset event is detected within the first preset duration, it indicates that the user is viewing the target service interface, and the timer is reset to extend the display duration of the target service interface, avoiding the display screen entering the screen-off state during the process of the user viewing the target service interface and affecting the user experience.
[0011] According to the first aspect, the method further includes: within a first preset duration, when the display module detects a first preset event, the threshold value of the timer is increased by a second preset duration, where the first preset event includes a preset touch operation or an event that a human eye gazes at the display screen. In this way, if the first preset event is detected within the first preset duration, it indicates that the user is viewing the target service interface, and the threshold duration of the timer is increased, thereby extending the display duration of the target service interface, avoiding the display screen entering the screen-off state during the process of the user viewing the target service interface and affecting the user experience.
[0012] According to the first aspect, the electronic device includes a power manager; the method further includes: when the power manager detects that the electronic device switches to the screen-on state, the power manager controls the first application to end running, and the brightness of the display screen in the screen-on state is greater than the brightness of the display screen when the first application controls the display of the target service interface. In this way, when the electronic device switches to the screen-on state (such as when the mobile phone starts charging or there is a call request), the power manager exits the low-power mode. This method can end the first application in a timely manner to avoid affecting the normal functions of the electronic device, such as affecting the display of the charging animation and the call interface.
[0013] According to the first aspect, the method further includes: in response to an operation of connecting the electronic device to a charger or an operation of disconnecting the electronic device from the charger, the electronic device switches to the screen-on state. In this way, when the electronic device is connected to or disconnected from the charger, it will switch to the screen-on state; and the power manager can close the first application in a timely manner in the screen-on state.
[0014] According to the first aspect, the method further includes: in response to an operation of the user pressing the power button, the electronic device switches to the screen-on state. In this way, during the operation of the first application, when the user presses the power button, the electronic device exits the low-power mode and enters the screen-on state. That is, when the user presses the power button, the power manager can close the first application to avoid affecting other operations.
[0015] According to the first aspect, when it is detected that the electronic device is in a charging state, before the first application controls the display screen to display the target service interface during the charging period of the electronic device, the method includes: the display module detects whether the first service function in the first application is enabled, and the first service function is used to indicate that the electronic device allows the first application to control the display screen to display the target service interface during the charging period; the display module detects that the first service function is enabled. In this way, when the first service function is enabled, the display module displays the target service interface during the charging period, improving the user's flexible control over the duration of displaying the target service interface.
[0016] According to the first aspect, before starting the first application, the method further includes: when the system service of the electronic device detects that the electronic device is in the docked state, the system service detects whether the status value of the electronic device is the first value, and the status value is used to indicate whether the electronic device meets the condition for allowing the start of the first application; when the system service detects that the status value is the first value, the system service transmits the third indication information to the power manager of the electronic device to indicate the power manager to start the first application; starting the first application includes: the power manager starts the first application according to the third indication information. In this way, when the system service detects that the electronic device is in the docked state, it triggers the detection of whether the status value is the first value to start the first application in a timely manner.
[0017] According to the first aspect, the method further includes: registering the system service when the electronic device is powered on; the system service monitors the status of each item to be monitored; the system service determines the status value of the electronic device according to the status of each item to be monitored and stores the status value. In this way, registering the system service when the electronic device is powered on enables the system service to monitor each item to be monitored in real time and update the status value of the electronic device in a timely manner.
[0018] According to the first aspect, starting the first application includes: when the power manager detects that the electronic device switches to the screen-off state, the power manager detects whether the status value of the electronic device is the first value; when the power manager detects that the status value of the electronic device is the first value, the power manager starts the first application. In this way, when the electronic device switches to the screen-off state, the power manager can timely query the status value of the electronic device and start the first application in a timely manner.
[0019] According to a first aspect, the method further includes: the system service obtains preset monitoring items; the system service obtains service items supported by the electronic device; the system service obtains the intersecting items between the preset monitoring items and the service items supported by the electronic device, and uses the intersecting items as the items to be monitored. In this way, it is possible to avoid the problem that the state value is inaccurate due to the electronic device not supporting some preset monitoring items.
[0020] According to the first aspect, the preset monitoring items include: whether the account logged in to the electronic device is the account of the main user, whether the electronic device allows the first application to run, whether the electronic device has turned off the service of the privacy moment, whether the electronic device is in the docked state, whether the electronic device is in the unlocked state, whether the electronic device is not in a call state, whether the electronic device is not remotely locked, whether the electronic device is not in the state of the startup wizard, whether the electronic device is not in the holster mode, whether the electronic device is not in the virtual reality (VR) mode, and whether the electronic device is not in the power saving mode.
[0021] According to the first aspect, if the service items supported by the electronic device include the preset monitoring items; the system service determines the state value of the electronic device according to the states of the items to be monitored, including: when the system service detects that the account logged in to the electronic device is the account of the main user, the electronic device allows the first application to run, the electronic device has turned off the service of the privacy moment, the electronic device is in the docked state, the electronic device is in the unlocked state, the electronic device is not in a call state, the electronic device is not remotely locked, the electronic device is not in the state of the startup wizard, the electronic device is not in the holster mode, the electronic device is not in the VR mode, and the electronic device is not in the power saving mode, it is determined that the state value of the electronic device is the first numerical value.
[0022] In a second aspect, the present application provides a chip system, including a processor for calling and running a computer program from a memory, so that an electronic device installed with the chip system executes the method shown corresponding to the first aspect and any implementation manner of the first aspect.
[0023] In a third aspect, the present application provides an electronic device, including: one or more processors; a memory; and one or more computer programs, where one or more computer programs are stored on the memory, and when the computer programs are executed by one or more processors, the electronic device executes the method shown corresponding to the first aspect and any implementation manner of the first aspect.
[0024] The third aspect and any implementation manner of the third aspect respectively correspond to the first aspect and any implementation manner of the first aspect. The technical effects corresponding to the third aspect and any implementation manner of the third aspect can be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect above, and will not be elaborated here.
[0025] Fourthly, the present application provides a computer-readable medium for storing a computer program, which, when running on an electronic device, enables the electronic device to execute the display method corresponding to the first aspect and any implementation manner of the first aspect as described above. Description of the Drawings
[0026] To more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0027] Figure 1 It is a schematic structural diagram of an electronic device shown by way of example;
[0028] Figure 2 It is a schematic software structure block diagram of an electronic device shown by way of example;
[0029] Figure 3 It is a schematic diagram of a setting interface of a smart table shown by way of example;
[0030] Figure 4 It is four schematic diagrams of scenarios for triggering and starting the smart table shown by way of example;
[0031] Figure 5 It is a schematic diagram of the smart table controlling the display screen to display a target service interface shown by way of example;
[0032] Figure 6 It is a schematic diagram of an electronic device starting the smart table shown by way of example;
[0033] Figure 7 It is another schematic diagram of an electronic device starting the smart table shown by way of example;
[0034] Figure 8 It is a flowchart of the electronic device determining that the electronic device meets the conditions for allowing the start of the smart table shown by way of example;
[0035] Figure 9 It is a schematic diagram of a scenario where the electronic device starts a privacy moment shown by way of example;
[0036] Figure 10 It is a flowchart of the smart table adopting different display strategies shown by way of example;
[0037] Figure 11 It is a scenario diagram of the smart table controlling the display screen to display a target service interface shown by way of example;
[0038] Figure 12It is another exemplary scenario diagram showing a smart table controlling a display screen to display a target service interface;
[0039] Figure 13 It is another exemplary scenario diagram showing a smart table controlling a display screen to display a target service interface;
[0040] Figure 14 It is another exemplary scenario diagram showing a smart table controlling a display screen to display a target service interface;
[0041] Figure 15 It is another exemplary scenario diagram showing a smart table controlling a display screen to display a target service interface;
[0042] Figure 16 It is another exemplary scenario diagram showing a smart table controlling a display screen to display a target service interface;
[0043] Figure 17 It is another exemplary scenario diagram showing a smart table controlling a display screen to display a target service interface;
[0044] Figure 18 It is another exemplary scenario diagram showing a smart table closing an application. Detailed implementation manners
[0045] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0046] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone.
[0047] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first target object and the second target object are used to distinguish different target objects, rather than to describe a specific order of the target objects.
[0048] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0049] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality of" refers to two or more. For example, a plurality of processing units refers to two or more processing units; a plurality of systems refers to two or more systems.
[0050] Before explaining the embodiments of the present application in detail, the application scenarios in the present application will be described first. When a user needs to watch a movie when the mobile phone is in the stand state, the user needs to click on the icon of the video application. The mobile phone responds to the user's click operation and starts the video application. The video application responds to the user's click on the icon of the movie to be watched and plays the movie. The video application responds to the user's click on the horizontal screen play button, and the movie video switches to horizontal play. After switching the movie video to horizontal play, the user needs to adjust the mobile phone from the vertical screen state to the stand state to watch the movie video. The above process requires the user to perform multiple operations, and the operation steps are cumbersome. Moreover, when the mobile phone plays the video normally in the stand state, the power consumption of the mobile phone is high. If the mobile phone is adjusted to a low power consumption state (such as the screen-off state), the applications in the mobile phone will enter the sleep state, and the display screen cannot play the video normally or display the interface of the application.
[0051] In order to reduce the user's operation steps and reduce the power consumption consumed by displaying the interface of the application in the stand state. The present application provides an application of a smart stand (also referred to as Standby hereinafter). This smart stand application inherits from the Doze mode (i.e., the low power consumption mode). The smart stand is installed on an electronic device, and the electronic device can be a device such as a mobile phone or a tablet computer. After the smart stand is started, it can determine the recommended service interface of the application (such as the photos in the gallery application) according to information such as the position and time of the electronic device, and control the display screen to display the determined service interface. There are various ways for the electronic device to determine the service interface. For example, the service interface recommendation model can be pre-stored in the mobile phone. The input information of this service interface recommendation model can be the position information, time information, etc. of the mobile phone, and the output information is the service interface to be recommended. This model can adopt a deep learning network, and the specific training process of the model will not be elaborated here.
[0052] Figure 1 The following is a schematic structural diagram of an electronic device 100 shown in the embodiments of the present application. It should be understood that Figure 1The illustrated electronic device 100 is merely an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have a different component configuration. Figure 1 The various components shown in Figure 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits. In this example, the electronic device 100 is taken as a mobile phone.
[0053] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0054] Figure 2 It is a software architecture block diagram of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Hardware Abstraction Layer (HAL), and the kernel layer.
[0055] The application layer may include a series of application packages. As Figure 2 shown, the application packages may include applications such as a smart table, a camera, a gallery, a calendar, a video, etc.
[0056] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.
[0057] As Figure 2As shown, the application framework layer may include a window manager, a power manager, system services, a notification manager, a phone manager, a view system, a resource manager, etc.
[0058] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. In this application, the window manager is used to manage the interface display of the intelligent table.
[0059] The power manager is used to manage DreamService in the low-power mode of the Android system. For example, the power manager can control the electronic device to start the DreamService and exit the DreamService.
[0060] The SystemServer can monitor the status of each item to be monitored, and determine whether the electronic device meets the conditions for starting the intelligent table according to the status of each item to be detected.
[0061] The phone manager is used to provide the communication function of the electronic device 100. For example, the management of call status (including answering, hanging up, etc.).
[0062] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying pictures.
[0063] The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc. The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is complete, message reminder, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of a background-running application, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompt text information in the status bar, emit a prompt tone, the electronic device vibrates, the indicator light flashes, etc.
[0064] HAL may include a SurfaceFlinger, and may also include a surface manager and Media Libraries. SurfaceFlinger is a system service used to render the images drawn by the application and send the rendered images to the display screen for display by the display screen.
[0065] The kernel layer is the layer between hardware and software. The kernel layer includes at least the TP (Touch Panel) driver, the Device Motion module, the display driver, the Bluetooth driver, the audio driver, and the Wi-Fi driver, etc.
[0066] The TP driver can provide touch events for the electronic device at low power consumption.
[0067] DeviceMotion can provide the algorithm logic for the stand state of the electronic device. When the screen of the electronic device is a non-foldable screen, the stand state is the state where the angle between the short axis of the electronic device and the horizontal plane is between 30 and 90 degrees; when the screen of the electronic device is a foldable screen, the stand state is the state between the fully unfolded state and the folded state of the display screen of the electronic device.
[0068] It can be understood that Figure 2 The application layer, the application framework layer, the HAL shown, and the components included in the kernel layer do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements.
[0069] In some embodiments, the intelligent swing table in the electronic device is default in the off state. When the user needs to use the function of the intelligent swing table, the electronic device can be allowed to start the intelligent swing table. For example, the user can click the option of the intelligent swing table in the setting interface, and the mobile phone jumps to the intelligent swing table setting interface in response to the user's click operation. The intelligent swing table setting interface, the intelligent swing table setting interface is as Figure 3 shown in the interface 301. The intelligent swing table setting interface 301 includes an option 302, and the option 302 includes a switch 3021. The mobile phone allows the electronic device to start the intelligent swing table when it monitors that the conditions for opening the intelligent swing table are met in response to the user's operation of clicking the switch 3021.
[0070] When the user turns on the switch 3021 in the intelligent swing table setting interface, the electronic device can monitor in real time whether the electronic device currently meets the conditions for opening the intelligent swing table. When the electronic device monitors that the electronic device currently meets the conditions for opening the intelligent swing table, it starts the intelligent swing table.
[0071] To facilitate the understanding of the intelligent swing table, the following combines Figure 4 and Figure 5 to specifically illustrate the functions of the intelligent swing table.
[0072] When the electronic device detects that the electronic device is in the stand state, it can trigger the electronic device to monitor whether the current conditions for opening the intelligent swing table are met. In this example, the electronic device is a mobile phone. Figure 4Four scenarios of the electronic device in the stand state are exemplarily shown. As Figure 4 shown in 4a in Figure 4 , the mobile phone is in the state of being lit and locked; as Figure 4 shown in 4b in Figure 4 , the mobile phone is in the Always On Display (AOD) state. As
[0073] shown in 4c in
[0074] , the mobile phone is in the screen-off state; as
[0075] Figure 5 shown in 4d in
[0076] When the mobile phone detects that the current conditions for enabling the intelligent swing table are met, the intelligent swing table is started. When the mobile phone starts the intelligent swing table for the first time, the intelligent swing table can display the recommended content on the display screen according to the service interface recommendation model. When the mobile phone exits the intelligent swing table, the information of the service interface finally displayed by the intelligent swing table can be recorded. The information of the service interface can include the identification information of the application to which the interface belongs. For example, if the interface finally displayed by the intelligent swing table is the calendar interface, the mobile phone can record the package name of the calendar; if the interface finally displayed by the intelligent swing table is the gallery, when the mobile phone exits the intelligent swing table, the package name of the gallery can be recorded. Figure 5As shown in 5a, assume that the smart dock application is launched on the mobile phone for the first time. The smart dock determines the interface for displaying the calendar on the display screen according to the service interface recommendation model. In another example, assume that the smart dock last displayed an image in the gallery. The smart dock records the information of the service interface displayed last time. The information of the service interface indicates that the image displayed last time belongs to the gallery, and the mobile phone can obtain the access permission authorized by the user. For example, after the smart dock is launched, it determines that the target service interface is the interface of the gallery. Before obtaining the access permission, the smart dock instructs the display screen to display the image with a mask layer and asks the user whether to authorize the access permission to the gallery. When the mobile phone receives the access permission authorized by the user, it displays the images in the gallery on the display screen, as Figure 5 shown in 5b.
[0077] Optionally, assume that the smart dock last displayed an image in the video application. The smart dock records the image information displayed last time. The image information indicates that the image displayed last time belongs to the video application. After the mobile phone obtains the access permission authorized by the user, it plays the video that the user watched last time on the display screen.
[0078] Optionally, when the smart dock is running, since the smart dock inherits from the Doze mode, that is, the smart dock runs when the mobile phone is in a low-power state, the smart dock controls the brightness of the display screen to be less than the brightness of the image displayed when the mobile phone is in a normal running state to reduce power consumption.
[0079] The following will specifically describe the process of an electronic device turning on the smart dock in combination with Figure 6 Specifically, in this example, the electronic device is taken as a mobile phone. The process of the mobile phone turning on the smart dock includes:
[0080] Step 601: When the mobile phone is powered on, the mobile phone registers SystemServer.
[0081] Specifically, when the mobile phone is powered on, it can register the system service so that the system service can monitor the status of each item to be monitored in real time.
[0082] Step 602: SystemServer monitors the conditions allowed to start the smart dock and writes the status value into the database.
[0083] Specifically, each item to be monitored of the intelligent table can be determined according to the functions supported by the mobile phone and the preset monitored items. The mobile phone obtains the preset monitored items and the functions supported by the mobile phone, obtains the items that intersect between the preset monitored items and the functions supported by the mobile phone, and uses the intersecting items as the items to be monitored. For example, the preset monitored items include: detecting whether the account logged in to the mobile phone is the main user's account, whether the switch of the intelligent table is turned on, whether the mobile phone is in a private moment, whether it is in the bracket state, whether it is in a low battery state, whether the mobile phone is unlocked, whether the mobile phone is remotely locked, whether the mobile phone is in the boot wizard state, whether the mobile phone is in the leather case mode, whether the mobile phone is not in the VR mode, and whether the mobile phone is not in the power saving mode. If all the functions supported by the mobile phone include the above preset monitored items, it is determined that the items to be monitored include the above 12 preset monitored items.
[0084] For example, if the mobile phone does not support the remote locking function and does not support the VR mode, it is determined that the items to be monitored include: detecting whether the account logged in to the mobile phone is the main user's account, whether the switch of the intelligent table is turned on, whether the mobile phone is in a private moment, whether the mobile phone is in the bracket state, whether the mobile phone is in a low battery state, whether the mobile phone is unlocked, whether the mobile phone is in the boot wizard state, whether the mobile phone is in the leather case mode, and whether the mobile phone is not in the power saving mode.
[0085] In an example, after the mobile phone registers the SystemServer, the SystemServer listens to the status of each item to be monitored in real time and records the status value of the current electronic device. This status value is used to indicate whether the mobile phone currently meets the conditions for allowing startup. For example, the status value can include "0" and "1". When the status value is "1" (i.e., the first numerical value), this status value indicates that the current mobile phone meets the conditions for allowing the startup of the intelligent table; when the status value is "0" (i.e., the second numerical value), this status value indicates that the current mobile phone does not meet the conditions for allowing the startup of the intelligent table.
[0086] In an example, when the SystemServe detects that the status of any item to be monitored has changed, it updates the stored status value of the mobile phone. When the mobile phone detects that it is in the state of being lit and locked (as shown in 4a of Figure 4 ), after the SystemServer detects that the mobile phone is in the bracket state, it triggers the SystemServer to detect the status of each item to be detected to determine whether the current mobile phone meets the conditions for allowing the startup of the intelligent table.
[0087] Figure 8 To exemplarily show the flowchart of the electronic device determining that the electronic device meets the conditions for allowing the startup of the intelligent table. As shown in Figure 8 , this process includes:
[0088] Step 801: SystemServer determines whether it is the primary user. If so, proceed to step 802; if not, end the judgment process.
[0089] Specifically, SystemServer determines whether the account logged in to the mobile phone is the account of the primary user. For example, the SystemServe of the Honor mobile phone can detect whether the Honor account logged in to the current mobile phone is the user account (i.e., the primary user) when the user registered.
[0090] If SystemServer determines that the account logged in to the mobile phone is not the account of the primary user, the SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to be started, and the mobile phone is not allowed to start the intelligent table.
[0091] If SystemServer determines that the account logged in to the mobile phone is not the account of the primary user, it can continue to judge the next item. In this example, SystemServer proceeds to step 802.
[0092] Step 802: SystemServer determines whether the switch of the intelligent table is turned on. If so, proceed to step 803; if not, end the judgment process.
[0093] Specifically, SystemServer determines whether the switch of the intelligent table is turned on, that is, it detects whether the electronic device allows the electronic device to start the intelligent table when it detects that the conditions for starting the intelligent table are met. For example, SystemServer can detect whether the switch in the interface as shown is turned on. If it is detected that it is turned on, SystemServer judges the next item; if it is detected that it is not turned on, the SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to be started and is not allowed to start the intelligent table. Figure 3
[0094] Step 803: SystemServer determines whether the service of the privacy moment is turned off. If so, proceed to step 804; if not, end the judgment process.
[0095] Specifically, SystemServer determines whether the service of the privacy moment of the mobile phone is turned off. If it is detected that the service of the privacy moment of the mobile phone is turned off, SystemServer judges the next item; if it is detected that the service of the privacy moment of the mobile phone is turned on, the SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to be started.
[0096] In some examples, the mobile phone has a privacy moment service. After the privacy moment service of the mobile phone is started, the mobile phone will prohibit applications from accessing the microphone, prohibit applications from calling the camera function, prohibit applications from obtaining the current geographical location information of the mobile phone, and prohibit the mobile phone from accessing the Wi-Fi network, etc. The user can enable the privacy moment service in the navigation bar of the mobile phone. For example, Figure 9 As shown, the mobile phone display screen shows the navigation bar 901. The user clicks on the icon 902 of the privacy moment service, and the mobile phone responds to the user's click operation to enable the privacy moment service of the mobile phone.
[0097] Step 804: SystemServer determines whether it is in the docked state. If so, it executes step 805; if not, it ends the determination process.
[0098] Specifically, SystemServer determines whether the mobile phone is currently in the docked state. SystemServer can obtain the state of the mobile phone detected by DeviceMotion. If it is detected that the mobile phone is currently in the docked state, SystemServer determines the next item. If it is detected that the mobile phone is not currently in the docked state, SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent swing table to be started.
[0099] In this example, DeviceMotion can detect whether the mobile phone is in the docked state. When the display screen of the mobile phone is a non-foldable screen, DeviceMotion can detect whether the angle between the short axis of the mobile phone and the horizontal plane is between 30 and 90 degrees. If it is detected to be so, it can be determined that the mobile phone is in the docked state. When the display screen of the mobile phone is a foldable screen, DeviceMotion can detect whether the display screen is in a state between the folded state and the unfolded state. If it is detected to be so, it is determined that the mobile phone is in the docked state. Optionally, DeviceMotion can also use other conditions to determine whether the mobile phone is in the docked state, which will not be listed one by one here.
[0100] Step 805: SystemServer determines whether it is not in the low battery state. If so, it executes step 806; if not, it ends the determination process.
[0101] Specifically, SystemServer can obtain the current battery level of the mobile phone. When it detects that the current battery level of the mobile phone is greater than the preset battery threshold, it determines that the mobile phone is not in a low-battery state, and this SystemServer can continue to judge the next item. The preset battery threshold can be a value less than 50%, for example, the battery thresholds are 35%, 30%, 25%, etc. When SystemServer detects that the current battery level of the mobile phone is less than or equal to the preset battery threshold, it determines that the mobile phone is currently in a low-battery state, and this SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to be started.
[0102] Step 806: SystemServer determines whether the mobile phone is unlocked. If so, it proceeds to Step 807; if not, it ends the judgment process.
[0103] Specifically, SystemServer obtains the unlocking status of the mobile phone. When it detects that the mobile phone is unlocked, it can continue to judge the next item; when it detects that the mobile phone is not unlocked, this SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to be started.
[0104] Step 807: SystemServer determines whether the mobile phone is not in a call state. If so, it proceeds to Step 808; if not, it ends the judgment process.
[0105] Specifically, SystemServer obtains the call state of the mobile phone. When it detects that the mobile phone is not in a call state, it can continue to judge the next item; when it detects that the mobile phone is in a call state, this SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to be started.
[0106] Step 808: SystemServer determines whether the mobile phone is not remotely locked. If so, it proceeds to Step 809; if not, it ends the judgment process.
[0107] Specifically, SystemServer obtains the status of remote locking. When it detects that the mobile phone is in a remotely locked state, this SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to be started. When it detects that the mobile phone is not in a remotely locked state, SystemServer continues to judge the next item.
[0108] Step 809: SystemServer determines whether the mobile phone is not in the boot wizard state. If so, it proceeds to Step 810; if not, it ends the judgment process.
[0109] Specifically, when SystemServer detects that the mobile phone is in the startup wizard state, SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to start. When it detects that the mobile phone is not in the startup wizard state, SystemServer continues to judge the next item.
[0110] Step 810: SystemServer determines whether the mobile phone is not in the holster mode. If so, it executes Step 810; if not, it ends the judgment process.
[0111] Specifically, when SystemServer detects that the mobile phone is in the holster mode, SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to start. When it detects that the mobile phone is not in the holster mode, SystemServer continues to judge the next item. The holster mode means that after the mobile phone is installed with a holster, it can adaptively display information according to the holster.
[0112] Step 811: SystemServer determines whether the mobile phone is not in the VR mode. If so, it executes Step 812; if not, it ends the judgment process.
[0113] Specifically, when SystemServer detects that the mobile phone is in the VR mode, SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to start. When it detects that the mobile phone is not in the VR mode, SystemServer continues to judge the next item.
[0114] Step 812: SystemServer determines whether the mobile phone is not in the power-saving mode. If so, it is determined that the current mobile phone meets the conditions for allowing the intelligent table to start; if not, it ends the judgment process.
[0115] Specifically, when SystemServer detects that the mobile phone is in the power-saving mode, SystemServer can update the status value in the database to "0" to indicate that the mobile phone does not meet the conditions for allowing the intelligent table to start. When it detects that the mobile phone is not in the power-saving mode, SystemServer can update the status value in the database to "1" to indicate that the mobile phone currently meets the conditions for allowing the intelligent table to start.
[0116] It should be noted that after SystemServer obtains the items to be monitored for the mobile phone, the order of judging each item to be monitored can be different; after SystemServer detects such as Figure 8When all the items shown meet the conditions, it is determined that the mobile phone meets the conditions for allowing the intelligent swing table to be started.
[0117] In addition, when SystemServer detects that the mobile phone is in the bracket state and triggers SystemServer to detect the status of each item to be detected, the SystemServer can perform 12 judgments in sequence according to the Figure 8 judgment method shown, to prevent the mobile phone from changing from the bracket state to other states (such as the vertical screen state) during the judgment process.
[0118] Step 603: When SystemServer detects that the status value indicates starting the intelligent swing table, it instructs the power manager to start the intelligent swing table.
[0119] Specifically, when SystemServer detects that the mobile phone is in the bracket state, it triggers SystemServer to detect whether the status value in the database is the first value. When SystemServer detects that the status value in the database is the first value, it can instruct the power manager to pull up the intelligent swing table. Among them, the first value is used to indicate that the mobile phone meets the conditions for allowing the intelligent swing table to be started, and the second value is used to indicate that the mobile phone does not meet the conditions for starting the intelligent swing table. For example, when SystemServer detects that the status value in the database is updated from "0" to "1", it instructs the power manager to start the intelligent swing table.
[0120] Step 604: The power manager pulls up DreamService in the intelligent swing table.
[0121] Specifically, the intelligent swing table is an application inherited from the Doze mode, and the Doze mode has DreamService, which is used to display specific content when the mobile phone is in the idle state, charging state or locked screen state. Therefore, in this example, the process of the power manager starting the intelligent swing table can be understood as the power manager pulling up the DreamService of the intelligent swing table.
[0122] Step 605: After the intelligent swing table is started, register the database.
[0123] Specifically, when the power manager starts the intelligent swing table, the intelligent swing table can register the database to monitor the change of the status value stored in the database.
[0124] Step 606: The intelligent swing table monitors the status value in the database.
[0125] Specifically, after the intelligent swing table registers the database, it can monitor the change of the status value in the database in real time. When the intelligent swing table detects that the status value in the database changes from the first value to the second value, it can execute Step 607.
[0126] It should be noted that after the intelligent table is started, the information of the service interface displayed on the intelligent table last time can also be obtained. The intelligent table determines the target service interface according to the information of the service interface displayed last time, and displays the target service interface on the display screen. The process of the intelligent table determining the target service interface can refer to Figure 5 the relevant description in
[0127] Step 607: When the intelligent table detects that the status value indicates exiting the intelligent table, control the display screen to switch to the bright screen state.
[0128] Specifically, when the intelligent table detects that the status value is updated to the second value, control the electronic device to switch to the bright screen state. In this example, the bright screen state is the state where the display screen of the mobile phone displays the interface in the normal mode.
[0129] Step 608: The power manager detects that the display screen is in the bright screen state and exits DreamService.
[0130] Specifically, when the power manager detects that the display screen is in the bright screen state, it exits the Doze state, that is, exits the DreamService of Standby.
[0131] Step 609: The intelligent table ends its operation.
[0132] Specifically, the power manager exits the DreamService of Standby, that is, controls the intelligent table to end its operation.
[0133] In some embodiments, if the user performs a screen-off operation or the mobile phone is in timeout screen-off, the mobile phone will switch to the screen-off state. After the power manager detects that the mobile phone switches to the screen-off state, it can trigger the power manager to obtain the status value from the database to determine whether to start the intelligent table. Timeout screen-off indicates that the mobile phone switches to the screen-off state after detecting no touch operation within the third preset duration.
[0134] Figure 7 The process of the power manager triggering the start of the intelligent table is specifically described. This process includes:
[0135] Step 701: When the mobile phone is powered on, the mobile phone registers SystemServer.
[0136] Step 702: SystemServer listens to the conditions allowed for starting the intelligent table and writes the status value into the database.
[0137] The processes of steps 701 to 702 can refer to the relevant descriptions in steps 601 to 602, and will not be elaborated here.
[0138] Step 703: When the user performs a screen-off operation, the power manager detects that the phone's screen is off and obtains the status value from the database.
[0139] Specifically, in response to the user's screen-off operation (such as pressing the power button), the phone performs a screen-off operation and the phone is in the screen-off state. Optionally, when the phone detects no user operation within a third preset duration (such as 30 seconds, 1 minute, 5 minutes, etc.), a screen-off operation is performed and the phone is in the screen-off state. When the power manager detects that the phone is in the screen-off state, it obtains the status value of the phone from the database.
[0140] Step 704: When the power manager detects that the status value indicates starting the intelligent docking station, it launches the DreamService in the intelligent docking station.
[0141] Specifically, when the power manager detects that the status value (such as the status value is "1") indicates starting the intelligent docking station, the power manager launches the intelligent docking station.
[0142] If the power management detects that the status value is "0", an image can be displayed according to the AOD display policy or the wallpaper display policy. That is, when the power manager detects that the phone switches to the screen-off state, the power manager first determines whether the conditions for starting the intelligent docking station are met.
[0143] Step 705: After the intelligent docking station is started, register the database.
[0144] Step 706: The intelligent docking station monitors the status value in the database.
[0145] Step 707: When the intelligent docking station detects that the status value indicates exiting the intelligent docking station, control the display screen to switch to the lit state.
[0146] Step 708: The power manager detects that the display screen is in the lit state and exits the DreamService.
[0147] Step 709: The intelligent docking station ends its operation.
[0148] The processes of steps 705 to 709 above can refer to the relevant descriptions in steps 605 to 609, and will not be elaborated here.
[0149] The above Figure 6 and Figure 7 specifically illustrate the processes of two ways to trigger the phone to start the intelligent docking station.
[0150] Next, in combination withFigure 10 It is described that the intelligent table adopts different display strategies to display the target service interface in different scenarios.
[0151] As Figure 10 shown, the intelligent table includes a status management module, a display module, and a timer. The status management module is used to manage the lighting and dimming of the screen when the mobile phone starts the intelligent table. In this example, the status management module can light up or dim the screen by inheriting the DreamService in the Doze state.
[0152] Step 1001: The status management module enters the Doze state.
[0153] Specifically, since the intelligent table inherits the Doze mode in Android, when the intelligent table is started, the status management module enters the Doze state. After the status management module enters the Doze state, it instructs the display module to enter the low-power state.
[0154] Step 1002: The display module obtains the image of the intelligent table.
[0155] Specifically, after receiving the instruction from the status management module, the display module obtains the target image to be displayed. The display module can obtain the information of the service interface displayed by the intelligent table last time. The display module determines the target service interface according to the information of the service interface displayed last time. The process of the display module determining the target service interface can refer to Figure 5 the relevant description in
[0156] Step 1003: The display module determines whether the always-on switch is turned on. If it is detected that it is turned on, step 1004 is executed; if it is detected that the always-on switch is not turned on, step 1006 is executed.
[0157] Specifically, the application interface of the intelligent table can include an always-on switch (i.e., the switch of the first service function). When the always-on switch is turned on, it is used to indicate that when the mobile phone is in the charging state, the display module is allowed to control the display screen to always display the target service interface during the charging period. When the always-on switch is turned off, it is used to indicate that when the mobile phone is in the charging state, the display module is not allowed to control the display screen to always display the target service interface during the charging period.
[0158] In this example, when it is detected that the always-on switch is turned on, it can continue to determine whether the mobile phone is in the charging state. When it is detected that the always-on switch is turned off, step 1006 can be executed.
[0159] Step 1004: The display module determines whether the mobile phone is in the charging state. If it is detected that the mobile phone is in the charging state, step 1005 can be executed; if it is detected that the mobile phone is not in the charging state, step 1006 is executed.
[0160] Specifically, when the display module detects that the always-on switch is turned on in the charging state, the display module controls the display screen to always display the target service interface during the charging period. When the display module of the intelligent table responds to the user's operation of turning off the always-on switch or detects that the mobile phone is not in the charging state, the display module can execute step 1006.
[0161] Step 1005: The display module displays the image determined by the intelligent table in the charging state.
[0162] Specifically, when the mobile phone is in the charging state and the always-on switch is turned on, the display screen controls the display screen to display the target service interface during the charging period.
[0163] Step 1006: The display module activates a timer.
[0164] Specifically, when the display module detects that the always-on switch of the intelligent table is not turned on or the mobile phone is not in the charging state, the display module can display the target image and instruct the timer to start timing. The timing threshold of the timer can be a first preset duration. For example, the first preset duration is 20 seconds, 25 seconds, 30 seconds, etc. Optionally, the first preset duration can also be set by the user. In this example, the first preset duration is 20 seconds.
[0165] Step 1007: The display module restarts the timing when it detects a first preset event.
[0166] Specifically, within the first preset duration, if the display module detects a first preset event, it instructs the timer to restart the timing. The first preset event can be a preset touch operation, such as an operation of clicking on the screen, a sliding operation on the screen (such as a fast slide, an upward slide, a downward slide, etc.), a dragging operation, etc. The first preset event can also be an event of a human eye gazing at the screen. There is a human eye gaze detection module in the mobile phone. The human eye gaze detection module can identify the human eye iris and determine whether there is a human eye gazing at the screen according to the distance between the human eye iris and the screen and whether the distance between the human eye and the screen is decreasing. For example, when the human eye gaze detection module detects that the distance between the human eye iris and the mobile phone screen is less than 80 cm and the distance between the human eye and the screen is decreasing, it determines that there is an event of a human eye gazing at the screen. The human eye gaze detection module can record the detection result. For example, it uses "eye_event = true" to identify the current event of a human eye gazing at the screen. The display module can monitor the recorded human eye gaze result. When it detects that the human eye gaze result indicates an event of a human eye gazing at the screen, it instructs the timer to restart the 20-second timing.
[0167] Optionally, within the first preset duration, if the display module detects a first preset event, it can adjust the timing threshold of the current timer to extend the duration for which the display screen shows the target service interface. For example, the display module instructs to update the timing threshold of the current timer from the first preset duration (such as 20 seconds) to the second preset duration (such as 25 seconds).
[0168] Step 1008: When the timer reaches the timing threshold, send a prompt message to the display module.
[0169] Specifically, after the timer reaches the timing threshold set for this time (such as 20 seconds), a prompt message can be sent to the display module.
[0170] Step 1009: When the display module receives the prompt message that the timer has reached the preset duration, it instructs the status management module to set the screen to the off state, and the status management module performs the screen-off operation.
[0171] Specifically, when the display module receives the prompt message from the timer, it indicates that within the first preset duration, the display module has not received the first preset event. To reduce the power consumption of the mobile phone, after receiving the prompt message from the timer, the display module can instruct the status management module to set the screen to the off state. After receiving the instruction, the status management module performs the screen-off operation.
[0172] Step 1010: After the mobile phone screen is turned off, the display module monitors the first preset event.
[0173] Specifically, after the mobile phone screen is turned off, the display module can monitor the first preset event to light up the screen in a timely manner.
[0174] Step 1011: When the display module detects the first preset event, it instructs the status management module to light up the screen.
[0175] Specifically, the status management module lights up the display screen according to this instruction.
[0176] Step 1012: After the screen is re-lit, the display module instructs the timer to start timing again.
[0177] Specifically, the display module re-lights the display screen so that the user can continue to view the target image. At the same time, it instructs the timer to start a new 20-second timing.
[0178] In some embodiments, Figure 10 the different display strategies of the intelligent table stand are specifically described. When the mobile phone is in the charging state and the switch in the intelligent table stand is turned on, the display screen is controlled to always display the target service interface during the charging period.
[0179] When the mobile phone is not in a charging state or the switch in the smart dock is not turned on, there are three display strategies. When the mobile phone is not in a charging state or the switch in the smart dock is not turned on, the display screen starts to display the target service interface and indicates the timer to start a 20-second countdown. When the 20-second countdown ends and the display module does not detect the first preset event, it indicates the status management module to perform a screen-off operation. During the 20-second countdown, when the first preset event is detected, it indicates the timer to restart a 20-second countdown or extend the countdown. After the status management module controls the display screen to turn off, if the first preset event is detected, it can indicate the status management module to relight the display screen and indicate the timer to restart the countdown.
[0180] It should be noted that during the operation of the smart dock on the mobile phone, when the power manager detects that the display screen switches to the lit state, the power manager exits the Doze state, thereby ending the operation of the smart dock. Here, the lit state is the state of the screen when the mobile phone is running normally after unlocking.
[0181] The following specifically describes the process of the smart dock displaying the target service interface in different scenarios with reference to the attached drawings.
[0182] Assume that the following scenarios all meet the conditions for starting the smart dock.
[0183] Scenario 1:
[0184] Assume that the always-on switch of the smart dock is turned on and the mobile phone is in a charging state. As Figure 11 shown in 11a, the mobile phone has been connected to the charging cable 1102. When the display module has detected that the always-on switch in the smart dock is turned on and detects that the mobile phone is in a charging state, it can indicate the display screen 1101 to display the target service interface (the target service interface is the calendar). When the mobile phone has been in a charging state between 9:00 and 9:20 and the state of the always-on switch has not changed, during the period from 9:00 to 9:20, as Figure 11 shown in 11b, the display screen 1103 of the mobile phone always displays the calendar interface.
[0185] Scenario 2:
[0186] Assume that the mobile phone is not in a charging state and the target image is the calendar. As Figure 12 shown in 12a, when the display module detects that the mobile phone is not in a charging state, the display screen 1201 of the mobile phone starts to display the target service interface. When the display screen starts to display the target service interface, the display module indicates the timer to start a 20-second countdown.
[0187] Within the 20-second period after the timer is started, if the display module does not detect the preset touch operation or the event of a person's eyes gazing at the screen, the display module indicates the status management module to turn off the display screen, asFigure 12 As shown in 12b, the display screen 1202 is in the screen-off state. It should be noted that in the screen-off state, the mobile phone does not exit the intelligent docking station, only the display screen is turned off.
[0188] Scenario 3:
[0189] As Figure 13 shown in 13a, the mobile phone is connected to the charging cable 1302. When the display module has detected that the always-on switch in the intelligent docking station is turned on and detects that the mobile phone is in the charging state, it can instruct the display screen 1301 to display the target service interface. When the user disconnects the charging cable 1302 from the mobile phone, the display screen 1303 of the mobile phone switches to the lit state, as Figure 13 shown in 13b. When the power manager of the mobile phone detects that the display screen switches to the lit state, the power manager controls the mobile phone to exit the Doze state, and then the mobile phone exits the intelligent docking station. After the display screen of the mobile phone switches to the lit state, if no touch operation from the user is received within the third preset duration (such as 10 seconds, 30 seconds, etc.), the mobile phone performs a screen-off operation. As Figure 13 shown in 13c, the display screen 1304 of the mobile phone is in the screen-off state.
[0190] When the power manager detects that the display screen switches to the screen-off state, it obtains the status value from the database. When the power manager detects that the status value indicates that the current mobile phone meets the conditions for allowing the intelligent docking station to be started, it launches the intelligent docking station. The intelligent docking station detects that the current mobile phone is not in the charging state. As Figure 13 shown in 13d, the display screen 1305 starts the target service interface and starts a 20-second timer.
[0191] Scenario 4:
[0192] As Figure 14 shown in 14a, when the display module has detected that the mobile phone is not in the charging state, it can instruct the display screen 1401 to display the target service interface and start a 20-second timer. When the timer counts down to 15 seconds, if the user connects the mobile phone to the charging cable 1403, the display screen 1402 of the mobile phone switches to the lit state to display a charging prompt image, as Figure 14 shown in 14b. When the power manager of the mobile phone detects that the display screen switches to the lit state, the power manager controls the mobile phone to exit the Doze state, and then the mobile phone exits the intelligent docking station. After the display screen of the mobile phone switches to the lit state, if no touch operation from the user is received within the third preset duration (such as 10 seconds, 30 seconds, etc.), the mobile phone performs a screen-off operation. As Figure 14 shown in 14c, the display screen 1405 of the mobile phone is in the screen-off state.
[0193] When the power manager detects that the display screen switches to the off - screen state, it obtains the status value from the database. When the power manager detects that the status value indicates that the current mobile phone meets the conditions for allowing the intelligent tabletop to be started, it launches the intelligent tabletop. The intelligent tabletop detects that the current mobile phone is not in the charging state. As Figure 14 shown in 14d of Figure 14 , the display screen 1404 starts the target service interface and starts a 20 - second timer.
[0194] Scenario Five:
[0195] As Figure 15 shown in 15a of Figure 15 , when the display module has detected that the mobile phone is not in the charging state, it can instruct the display screen 1501 to display the target service interface and start a 20 - second timer. When the timer counts down to 15 seconds (i.e., when the 20 - second countdown has not ended), if the mobile phone receives an incoming call request, the display screen 1502 of the mobile phone switches to the on - screen state to display the call interface, as Figure 15 shown in 15b of Figure 15 . When the power manager of the mobile phone detects that the display screen switches to the on - screen state, the power manager controls the mobile phone to exit the Doze state, and thus the mobile phone exits the intelligent tabletop. After the user ends the call, if the mobile phone does not receive a touch operation from the user within the third preset duration (such as 10 seconds, 30 seconds, etc.), the mobile phone performs an off - screen operation. As Figure 15 shown in 15c of Figure 15 , the display screen 1503 of the mobile phone is in the off - screen state.
[0196] When the power manager detects that the display screen switches to the off - screen state, it obtains the status value from the database. When the power manager detects that the status value indicates that the current mobile phone meets the conditions for allowing the intelligent tabletop to be started, it launches the intelligent tabletop. The intelligent tabletop detects that the current mobile phone is not in the charging state. As Figure 15 shown in 15d of Figure 15 , the display screen 1504 starts the target service interface and starts a 20 - second timer.
[0197] Scenario Six:
[0198] As Figure 16 shown in 16a of Figure 16 , when the display module has detected that the mobile phone is not in the charging state, it can instruct the display screen 1601 to display the target service interface (such as a picture in the photo library) and start a 20 - second timer. When the timer counts down to 10 seconds (i.e., when the 20 - second countdown has not ended), the mobile phone responds to the user's left - swipe operation (as Figure 16 shown in 16c of Figure 16 , the user's finger slides along the black arrow on the display screen 1602), and displays the next picture in the photo library on the display screen (as Figure 16 shown in 16c of Figure 16 , the display screen 1603 displays the next image), and at the same time, the timer is reset for 20 seconds.
[0199] Scenario Seven:
[0200] As shown Figure 17 in 17a, when the display module has detected that the mobile phone is not in the charging state, it can instruct the display screen 1601 to display the target service interface (such as the interface in the calendar), and start a 20 - second timer. During the 20 - second timer countdown, if the intelligent console does not detect the first preset event, a screen - off operation is performed (as shown Figure 17 in 17b, the display screen 1702 is in the screen - off state). In response to the user's operation of clicking on the display screen 1702 of the mobile phone, the intelligent console relights the display screen 1703 and restarts the 20 - second timer (as shown Figure 17 in 17c).
[0201] Scenario Eight:
[0202] As shown Figure 18 in 18a, when the display module has detected that the mobile phone is not in the charging state, it can instruct the display screen 1801 to display the target service interface (such as the interface in the calendar), and start a 20 - second timer. During the 20 - second timer countdown, if the user switches the screen from the stand state to the portrait state, SystemServer monitors that the mobile phone is not in the stand state and updates the status value in the database from "1" to "0". The intelligent console detects that the status value is updated from "1" to "0" and controls the display screen to switch to the lit - screen state (as shown Figure 18 in 18b, the display screen 1802 is in the lit - screen and locked - screen state). When the power manager detects that the display screen switches to the lit - screen state, it controls the mobile phone to exit the Doze state, that is, to exit the intelligent console.
[0203] It can be understood that when the user switches the mobile phone from the stand state to a non - stand state (such as the portrait state), the mobile phone can exit the intelligent console. This method allows the mobile phone to exit the intelligent console without any click operation by the user, reducing the user's operation and improving the user experience.
[0204] It can be understood that in order for the electronic device to implement the above functions, it includes the corresponding hardware and / or software modules for executing each function. Combining the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.
[0205] The embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected through a line. For example, the interface circuit can be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit can be used to send signals to other devices (such as a processor). Exemplarily, the interface circuit can read the instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can be made to execute each step in the above embodiment. Of course, the chip system can also include other discrete devices, and the embodiment of the present application does not make specific limitations thereto.
[0206] The embodiment also provides a computer storage medium, in which computer instructions are stored. When the computer instructions run on an electronic device, the electronic device is made to execute the above related method steps to implement the method shown in the above embodiment. The storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc., which can store program codes.
[0207] The embodiment also provides a computer program product. When the computer program product runs on a computer, the computer is made to execute the above related steps to implement the method shown in the above embodiment.
[0208] Among them, the electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all used to execute the corresponding method shown above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here.
[0209] Any content of each embodiment of the present application, as well as any content of the same embodiment, can be freely combined. Any combination of the above content is within the scope of the present application.
[0210] The embodiments of the present application have been described above in conjunction with the drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.
Claims
1. A display method, characterized in that, Applied to an electronic device, where a first application is installed in the electronic device, and the first application inherits from a low-power mode; the method includes: When the electronic device is in the docked state, start the first application; The first application determines the target service interface to be displayed on the display screen by the first application this time according to the service interface displayed on the display screen controlled by the first application last time. The service interface adopted when the first application runs for the first time is determined by a service interface recommendation model; When it is detected that the electronic device is in a charging state, the first application controls the display screen to display the target service interface during the charging period of the electronic device; When it is detected that the electronic device is not in a charging state, the first application controls the display screen to display the target service interface within a first preset duration.
2. The method according to claim 1, characterized in that, The first application includes: a state management module, a display module, and a timer; When it is detected that the electronic device is not in a charging state, the first application controls the display screen to display the target service interface within a first preset duration, including: When the display module detects that the electronic device is not in a charging state, it controls the display screen to display the target service interface and starts the timer; When the display module detects that the timer reaches the first preset duration, it transmits first indication information to the state management module; The state management module sets the display screen to the screen-off state according to the first indication information.
3. The method according to claim 2, wherein After the display screen is switched to the screen-off state, the method further includes: When the display module detects a first preset event, it transmits second indication information to the state management module. The first preset event includes a preset touch operation or an event that a human eye gazes at the display screen; The state management module sets the display screen to light up the screen according to the second indication information; The display module instructs the timer to start timing again.
4. The method according to claim 2, wherein The method further includes: Within the first preset duration, when the display module detects a first preset event, it instructs the timer to start timing again. The first preset event includes a preset touch operation or an event that a human eye gazes at the display screen.
5. The method according to claim 2, characterized in that, The method further includes: Within the first preset duration, when the display module detects a first preset event, it increases the timing threshold of the timer this time by a second preset duration. The first preset event includes a preset touch operation or an event that a human eye gazes at the display screen.
6. The method according to claim 2, characterized in that, The electronic device includes a power manager; the method further includes: When the power manager detects that the electronic device switches to the screen-on state, it controls the first application to end running. The brightness when the display screen is in the screen-on state is greater than the brightness when the first application controls the display screen to display the target service interface.
7. The method according to claim 6, wherein The method further includes: In response to an operation of connecting the electronic device to a charger or an operation of disconnecting the electronic device from the charger, the electronic device switches to the screen-on state.
8. The method according to claim 6, wherein The method further includes: In response to an operation of the user pressing the power button, the electronic device switches to the screen-on state.
9. The method according to claim 2, characterized in that, When it is detected that the electronic device is in a charging state, before the first application controls the display screen to display the target service interface during the charging period of the electronic device, the method includes: The display module detects whether a first service function in the first application is enabled, and the first service function is used to indicate that the electronic device allows the first application to control the display screen to display the target service interface during the charging period; The display module detects that the first service function has been enabled.
10. The method according to any one of claims 1-9, characterized in that, Before starting the first application, the method further includes: When the system service of the electronic device detects that the electronic device is in a docked state, the system service detects whether a status value of the electronic device is a first value, and the status value is used to indicate whether the electronic device meets the condition for allowing the first application to be started; When the system service detects that the status value is the first value, the system service transmits third indication information to the power manager of the electronic device to instruct the power manager to start the first application; Starting the first application includes: The power manager starts the first application according to the third indication information.
11. The method according to claim 10, wherein The method further includes: Registering the system service when the electronic device is powered on; The system service monitors the status of each item to be monitored; The system service determines the status value of the electronic device according to the status of each item to be monitored and stores the status value.
12. The method according to claim 11, wherein Starting the first application includes: When the power manager detects that the electronic device switches to the screen-off state, the power manager detects whether the status value of the electronic device is the first value; When the power manager detects that the status value of the electronic device is the first value, the power manager starts the first application.
13. The method according to claim 11, wherein The method further includes: The system service obtains preset monitoring items; The system service obtains service items supported by the electronic device; The system service obtains the intersecting items between the preset monitoring items and the service items supported by the electronic device, and uses the intersecting items as the items to be monitored.
14. The method according to claim 13, characterized in that, The preset monitoring items include: whether the account logged in to the electronic device is the account of the main user, whether the electronic device allows the first application to run, whether the electronic device has closed the privacy moment service, whether the electronic device is in a docked state, whether the electronic device is in an unlocked state, whether the electronic device is not in a call state, whether the electronic device is not remotely locked, whether the electronic device is not in the state of the boot wizard, whether the electronic device is not in the holster mode, whether the electronic device is not in the virtual reality VR mode, and whether the electronic device is not in the power saving mode.
15. The method according to claim 14, wherein If the service items supported by the electronic device include the preset monitoring items; The system service determines the status value of the electronic device according to the status of each item to be monitored, including: When the system service detects that the account logged in to the electronic device is the account of the primary user, the electronic device allows the first application to run, the electronic device turns off the service of the privacy moment, the electronic device is in the bracket state, the electronic device is in the unlocked state, the electronic device is not in the call state, the electronic device is not remotely locked, the electronic device is not in the state of the startup wizard, the electronic device is not in the holster mode, the electronic device is not in the VR mode, and the electronic device is not in the power saving mode, determine that the state value of the electronic device is the first numerical value.
16. A chip system, characterized in that, Comprising a processor for calling and running a computer program from a memory, such that an electronic device installed with the chip system executes the display method according to any one of claims 1 to 15.
17. An electronic device, characterized in that, Comprising: A memory and a processor, the memory being coupled to the processor; The memory stores program instructions, which when executed by the processor cause the electronic device to execute the display method according to any one of claims 1 to 15.
18. A computer-readable storage medium, comprising a computer program, characterized in that, When the computer program runs on the electronic device, the electronic device is caused to execute the display method according to any one of claims 1 to 15.
Citation Information
Cited By
Display method and electronic device
EP4770067A1
Display method and electronic device
WO2025148969A1