Interface display method and device of terminal equipment, storage medium and electronic equipment
By obtaining the attribute information of the terminal device to determine the display type of the lock screen interface, an adaptive lock screen interface is generated, which solves the problem that the lock screen interface cannot be adaptively adjusted in the existing technology, improves the user experience and saves power.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2026-03-27
AI Technical Summary
The existing lock screen interface cannot adaptively adjust according to the terminal device's attribute information, resulting in a degraded user experience.
By obtaining the device attribute information of the terminal device, the interface display type of the lock screen is determined, and the lock screen interface is generated according to the interface display type, including password lock screen, static wallpaper, charging status, warning information, text information, web page and clock type, etc.
It enables adaptive adjustment of the lock screen interface, improves the user experience, and avoids unnecessary power consumption when the battery is low.
Smart Images

Figure CN117156044B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of information display technology, and more specifically, to a terminal device interface display method, a terminal device interface display apparatus, a computer-readable storage medium, and an electronic device. Background Technology
[0002] The existing methods display the lock screen interface based on the user's pre-set settings, and cannot adaptively adjust the lock screen interface according to device attribute information, thus reducing the user experience.
[0003] It should be noted that the information in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0004] The purpose of this disclosure is to provide a terminal device interface display method, a terminal device interface display device, a computer-readable storage medium, and an electronic device, thereby overcoming, to at least a certain extent, the problem of the inability to adaptively adjust the lock screen interface due to the limitations and defects of related technologies.
[0005] According to one aspect of this disclosure, a method for displaying the interface of a terminal device is provided, comprising:
[0006] In response to a screen lock event of a terminal device, obtain the device attribute information of the terminal device;
[0007] Based on the device attribute information, determine the interface display type of the lock screen interface of the terminal device;
[0008] The lock screen interface of the terminal device in the lock screen state is determined according to the interface display type;
[0009] The lock screen interface is displayed on the display interface of the terminal device.
[0010] In one exemplary embodiment of this disclosure, the device attribute information includes the original configuration information and / or current status information of the terminal device;
[0011] The original configuration information includes the password configuration information and / or the wallpaper configuration information of the terminal device;
[0012] The current status information includes at least one of the following: the terminal device's battery status information, charging status information, ambient light information, the current display interface, and the event target of the screen lock event.
[0013] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the device attribute information includes:
[0014] Obtain the password configuration information from the original configuration information, and determine whether the password configuration information in the original configuration information is an empty set;
[0015] When it is determined that the password configuration information is an empty set, the charging status information in the current status information is obtained, and the interface display type of the lock screen interface of the terminal device is determined according to the charging status information.
[0016] When it is determined that the password configuration information is not empty, the interface display type of the lock screen interface of the terminal device is determined to be the password lock screen type.
[0017] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the charging status information includes:
[0018] Determine whether the terminal device is in a charging state based on the charging status information;
[0019] When it is determined that the terminal device is in a non-charging state, the power status information in the current status information is obtained, and the interface display type of the lock screen interface of the terminal device is determined according to the power status information.
[0020] When it is determined that the terminal device is in a charging state, the event object of the lock screen event in the current state information is obtained, and the interface display type of the lock screen interface of the terminal device is determined according to the event object.
[0021] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the event object includes:
[0022] Determine whether the object of the event is another peripheral device corresponding to the terminal device;
[0023] If the event applies to another peripheral device corresponding to the terminal device, then the lock screen interface of the terminal device is determined to be a static wallpaper type.
[0024] If the event applies to the terminal device itself, then the lock screen display type of the terminal device is determined to be the charging status type.
[0025] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on battery status information includes:
[0026] Determine whether the terminal device is in a low battery state based on the battery status information;
[0027] If the terminal device is in a normal power state, the ambient light information in the current state information is obtained, and the interface display type of the lock screen interface of the terminal device is determined according to the ambient light information.
[0028] If the terminal device is in a low battery state, the lock screen interface of the terminal device is determined to be an alert message type.
[0029] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on ambient light information includes:
[0030] Determine whether the terminal device is in a low ambient light state based on the ambient light information;
[0031] If the terminal device is in normal ambient light state, the current display interface in the current state information is obtained, and the interface display type of the lock screen interface of the terminal device is determined according to the current display interface.
[0032] If the terminal device is in a low ambient light state, then the interface display type of the lock screen interface of the terminal device is determined to be static wallpaper type.
[0033] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the current display interface includes:
[0034] Determine the current interface type of the currently displayed interface, and determine the interface display type of the lock screen interface of the terminal device based on the current interface type.
[0035] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the current interface type includes:
[0036] If the current interface type of the currently displayed interface is text type, then the interface display type of the lock screen interface of the terminal device is determined to be text information type.
[0037] If the current interface type of the currently displayed interface is an image type, then the interface display type of the lock screen interface of the terminal device is determined to be a web page type.
[0038] If the current interface type of the currently displayed interface is a web page type or a main interface display type, then obtain the external input event for the terminal device and determine whether the external input event meets the preset conditions.
[0039] If the external input event meets the preset conditions, the interface display type of the lock screen of the terminal device is determined to be the clock type; if the external input event does not meet the preset conditions, the interface display type of the lock screen of the terminal device is determined to be the static wallpaper type.
[0040] In one exemplary embodiment of this disclosure, determining the current interface type of the currently displayed interface includes:
[0041] The current display interface is input into a preset image recognition model to obtain the current interface type of the current display interface; wherein, the current interface type includes any one of text type, image type, web page type and main interface display type.
[0042] In one exemplary embodiment of this disclosure, the preset image recognition model includes a backbone feature extraction network, a neck feature fusion network, and a head feature detection network;
[0043] The current display interface is input into a preset image recognition model to obtain the current interface type, including:
[0044] The backbone feature extraction network is used to downsample the current display interface to obtain the first local feature, and the neck feature fusion network is used to perform bidirectional fusion of the first local feature from deep to shallow and then from shallow to deep to obtain the first global feature.
[0045] The head feature detection network is used to detect the category information and location information of the target object included in the first global feature to obtain the current interface type of the currently displayed interface.
[0046] In one exemplary embodiment of this disclosure, determining the lock screen interface of the terminal device in the lock screen state according to the interface display type includes:
[0047] Obtain the password lock screen interface corresponding to the password lock screen setting rules and the interface generation framework corresponding to the terminal device, and generate the first lock screen interface of the terminal device in the lock screen state based on the password lock screen interface and the interface generation framework; or
[0048] Obtain a preset static wallpaper corresponding to the static wallpaper type, and based on the preset static wallpaper and the interface generation framework, generate a second lock screen interface for the terminal device in the lock screen state; or
[0049] Obtain the charging status interface corresponding to the charging status type, and based on the charging status interface and the interface generation framework, generate a third lock screen interface for the terminal device in the lock screen state; or
[0050] Obtain the warning information interface corresponding to the warning information type, and based on the warning information interface and the interface generation framework, generate a fourth lock screen interface for the terminal device in the lock screen state; or
[0051] Obtain the text information interface corresponding to the text type, and based on the text information interface and the interface generation framework, generate the fifth lock screen interface of the terminal device in the lock screen state; or
[0052] Obtain the webpage information interface corresponding to the webpage page type, and based on the webpage information interface and the interface generation framework, generate the sixth lock screen interface of the terminal device in the lock screen state; or
[0053] Obtain the clock information interface corresponding to the clock type, and based on the clock information interface and the interface generation framework, generate the seventh lock screen interface of the terminal device in the lock screen state.
[0054] In one exemplary embodiment of this disclosure, the interface display method of the terminal device is applied to a terminal device having an electronic ink screen.
[0055] According to one aspect of this disclosure, a terminal device interface display apparatus is provided, comprising:
[0056] The device attribute information acquisition module is used to acquire the device attribute information of the terminal device in response to a screen lock event of the terminal device.
[0057] The interface display type determination module is used to determine the interface display type of the lock screen interface of the terminal device based on the device attribute information.
[0058] A lock screen interface determination module is used to determine the lock screen interface of the terminal device in the lock screen state based on the interface display type.
[0059] A lock screen display module is used to display the lock screen interface on the display interface of the terminal device.
[0060] According to one aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the interface display method of the terminal device described in any of the preceding claims.
[0061] According to one aspect of this disclosure, an electronic device is provided, comprising:
[0062] Processor; and
[0063] Memory for storing the executable instructions of the processor;
[0064] The display is an electronic ink screen;
[0065] The processor is configured to execute the interface display method of the terminal device described above by executing the executable instructions.
[0066] This disclosure provides a terminal device interface display method. On one hand, it obtains device attribute information of the terminal device in response to a lock screen event; then, based on the device attribute information, it determines the interface display type of the lock screen interface of the terminal device; further, it determines the lock screen interface of the terminal device in the lock screen state based on the interface display type; finally, it displays the lock screen interface on the terminal device's display interface. Since the interface setting rules can be determined based on the device attribute information to determine the lock screen interface, and then the lock screen interface is displayed, adaptive adjustment of the lock screen interface based on the device attribute information is achieved, thereby solving the problem in the prior art where the lock screen interface cannot be adaptively adjusted based on the device attribute information, thus reducing the user experience. On the other hand, since the interface display type of the lock screen interface of the terminal device can be determined based on the device attribute information, and then the lock screen interface of the terminal device in the lock screen state is determined based on the interface display type, the corresponding lock screen interface can be determined according to the current actual situation of the terminal device, thereby avoiding the situation where the terminal device needs to display a specific interface when the battery is low, resulting in high power consumption.
[0067] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0068] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0069] Figure 1 The flowchart illustrates a method for displaying the interface of a terminal device according to an exemplary embodiment of the present disclosure.
[0070] Figure 2 The diagram illustrates an example display interface corresponding to a clock lock screen according to an exemplary embodiment of the present disclosure.
[0071] Figure 3 The diagram illustrates an example display interface corresponding to a monthly calendar lock screen according to an exemplary embodiment of the present disclosure.
[0072] Figure 4The diagram illustrates an example display interface corresponding to a yearly calendar lock screen according to an exemplary embodiment of the present disclosure.
[0073] Figure 5 This diagram schematically illustrates a specific display interface corresponding to a charging icon lock screen according to an exemplary embodiment of the present disclosure.
[0074] Figure 6 The diagram illustrates an example display interface corresponding to a text lock screen according to an exemplary embodiment of the present disclosure.
[0075] Figure 7 The diagram illustrates an example of a specific display interface corresponding to an image lock screen according to an exemplary embodiment of the present disclosure.
[0076] Figure 8 This diagram schematically illustrates a specific display interface corresponding to a password lock screen according to an exemplary embodiment of the present disclosure.
[0077] Figure 9 This diagram schematically illustrates a specific display interface corresponding to an alarm lock screen according to an exemplary embodiment of the present disclosure.
[0078] Figure 10 The diagram schematically illustrates a structural example of a preset image recognition model according to an exemplary embodiment of the present disclosure.
[0079] Figure 11 A block diagram schematically illustrates an interface display device for a terminal device according to an exemplary embodiment of the present disclosure.
[0080] Figure 12 An electronic device for implementing the interface display method of the terminal device described above is illustrated according to an example embodiment of the present disclosure. Detailed Implementation
[0081] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0082] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0083] With the widespread use of smart devices, most users lock their devices (such as mobile phones) using screen lock software to protect their privacy. In practice, screen locking serves to protect the system's data security; in addition to data security, screen locking also prevents accidental touches and presses, and saves battery power without closing system software. In some screensaver applications for Android systems, the SystemUI (System User Interface) launches immediately after the Android system boots up. The first screen that appears after SystemUI launches is the lock screen. In practice, the Android lock screen can be divided into two levels. The first level, called the LockScreen, allows access to the main system interface simply by swiping to unlock without any input or verification. However, this method only prevents accidental triggering and offers no real security. The second level, accessed after unlocking the first level, is used for encryption, adding an extra layer of protection. Therefore, it's often called the Keyguard SecurityView. Unlocking this level requires verification information, which can include patterns, passwords, and PINs (Personal Identification Numbers) using various encryption methods.
[0084] In existing solutions, users can lock the screen through a custom display interface or a system-defined interface. However, these solutions cannot adaptively adjust the lock screen interface based on the current state information of the terminal device.
[0085] Based on this, this exemplary embodiment first provides a terminal device interface display method. This method can run on a terminal device, which may include a mobile terminal, such as a mobile phone, tablet computer, personal digital assistant, personal computer, etc., or a fixed terminal. Of course, those skilled in the art can also run the method disclosed herein on other platforms as needed, and this exemplary embodiment does not impose any special limitations on this. Specifically, refer to... Figure 1 As shown, the interface display method of this terminal device may include the following steps:
[0086] Step S110. In response to a screen lock event for the terminal device, obtain the device attribute information of the terminal device;
[0087] Step S120. Determine the interface display type of the lock screen interface of the terminal device based on the device attribute information;
[0088] Step S130. Determine the lock screen interface of the terminal device in the lock screen state according to the interface display type;
[0089] Step S140. Display the lock screen interface on the display interface of the terminal device.
[0090] In the aforementioned interface display method for terminal devices, on the one hand, by responding to a lock screen event of the terminal device, the device attribute information of the terminal device is obtained; then, based on the device attribute information, the interface display type of the lock screen interface of the terminal device is determined; furthermore, based on the interface display type, the lock screen interface of the terminal device in the lock screen state is determined; finally, the lock screen interface is displayed on the display interface of the terminal device. Since the interface setting rules can be determined based on the device attribute information to determine the lock screen interface, and then the lock screen interface is displayed, adaptive adjustment of the lock screen interface based on the device attribute information is achieved, thereby solving the problem in the prior art where the lock screen interface cannot be adaptively adjusted based on the device attribute information, thus reducing the user experience. On the other hand, since the interface display type of the lock screen interface of the terminal device can be determined based on the device attribute information, and then the lock screen interface of the terminal device in the lock screen state is determined based on the interface display type, the corresponding lock screen interface can be determined according to the current actual situation of the terminal device, thereby avoiding the situation where the terminal device needs to display a specific interface when the battery is low, resulting in high power consumption.
[0091] The interface display method of the terminal device described in the exemplary embodiments of this disclosure will be explained and described in detail below with reference to the accompanying drawings.
[0092] First, the application scenarios of the exemplary embodiments of this disclosure will be explained and described. Specifically, the terminal device described in the interface display method of the terminal device in the exemplary embodiments of this disclosure refers to a terminal device with electronic ink; that is, the display screen of the terminal device is based on electronic ink technology, thereby achieving the purpose of reducing the power consumption of the terminal device. Among them, the electronic ink technology described here, Electronic Paper Display, abbreviated as EPD, is a new technology that uses ambient light for display. EPD display technology encapsulates black and white charged particles in a microcapsule structure. The rise and fall movement of black and white particles (ink droplets) with different charges are controlled by an external electric field to present a monochrome display effect. Under the action of the electric field, the two different ink droplets move continuously. When the white ink droplet rises to the upper surface, all the ambient light shining on the upper surface is completely reflected, thus forming a white state, that is, a paper state. When the electrodes are exchanged, the two colors of ink droplets will exchange positions, so that the white ink droplet can go to the bottom and the black ink droplet goes to the top. The light is completely absorbed by the black ink droplet, resulting in black, thus forming a monochrome display. In addition, the upper surface can also be in a mixed state, where two different ink droplets are mixed in proportion, which can form different colors such as black and white and grayscale levels.
[0093] In one example embodiment, EPD technology can produce a high-reflectivity, high-contrast black-and-white display effect, and also has a memory effect. When the applied electric field is removed, the currently displayed image is immediately shown, just like the content displayed on a printed sheet of paper. Due to its bi-stability, the image can be retained on the EPD display for months or even years after the power field is removed. This technology can achieve reflective display using ambient light, similar to the printing effect of ordinary paper. Therefore, compared to traditional displays such as self-emissive CRT, LED, LCD, and OLED displays, EPD displays are less likely to cause eye fatigue, and prolonged viewing will not damage the retina. In addition, EPD displays have the advantages of low power consumption and energy saving. Currently, in addition to applying EPD technology to handheld e-reader devices such as e-book readers, there are technologies that use EPD displays as computer monitors. However, the lifespan of existing EPD computer monitors may be affected when displaying images with dynamic elements. For example, when an EPD computer monitor displays a webpage with Flash animation elements, if the user does not change the webpage within a certain period, the rapid changes in the Flash animation elements will cause accelerated aging of the ink droplets in the pixels of the EPD display, thus affecting the overall display quality and lifespan of the EPD computer monitor. Therefore, EPD computer monitors need to implement timely screen savers when the computer is not in use.
[0094] Secondly, the lock screen interface involved in the exemplary embodiments of this disclosure will be explained and described. Specifically, in the interface display method of the terminal device described in the exemplary embodiments of this disclosure, several basic lock screen methods are provided for users to choose from; at the same time, the basic lock screen described here is defined as the simplest interactive interface lock screen, used to address issues such as slow refresh rates of e-ink screens, and can remain on the screen after the screen is turned off, allowing users to see information intuitively. In practical applications, the basic lock screen interfaces provided may include, but are not limited to, the following: The first is a clock lock screen; the specific display interface corresponding to the clock lock screen can be referred to... Figure 2 As shown; however, clock lock screens require real-time refresh, resulting in high power consumption; the second type is a calendar lock screen based on months; the specific display interface for a month-based calendar lock screen can be found in [reference needed]. Figure 3 As shown; the third type is a calendar lock screen with a year as the unit; the specific display interface for the calendar lock screen with a year as the unit can be found in [reference needed]. Figure 4 As shown; the fourth type is the charging icon lock screen during charging; the specific display interface corresponding to the charging icon lock screen can be found in [reference needed]. Figure 5 As shown; however, during charging, the screen lock method suffers from high power consumption because the battery percentage needs to be refreshed in real time, but this power consumption is negligible during charging; the fifth type is text screen lock; the specific display interface corresponding to text screen lock can be found in [reference needed]. Figure 6 As shown; the sixth type is image lock screen; the specific display interface for image lock screen can be found by referring to... Figure 7 As shown; the seventh type is the password lock screen; the specific display interface of the password lock screen can be found in [reference needed]. Figure 8 As shown; Meanwhile, the password lock screen described here is not limited to numeric lock screens, but can also include more advanced security measures such as face lock screens and fingerprint lock screens, and may also include some common warning messages; the eighth type is the alarm lock screen; the specific display interface corresponding to the alarm lock screen can be found in [reference needed]. Figure 9 As shown; the alarm lock screen described here can be used to inform users of some emergency status information; at the same time, the alarm lock screen is only displayed once, and will not be displayed again when the screen is locked again, and the statistics will be recalculated after exiting the state; the alarm lock screens involved can include a series of abnormal warning lock screens such as low battery lock screen, system overheat lock screen, system overheat lock screen, storage space of 0, etc. Of course, it can also include some other alarm situations, which are not specifically limited in this example.
[0095] It should be noted that among the various screen lock methods listed above, the password screen lock is the most unique. It has the highest priority, and the first screen you see after the boot animation is the password screen lock, which can effectively protect user data and privacy.
[0096] The following will combine Figures 2-9 ,right Figure 1 The interface display method of the terminal device shown will be further explained and described below. Specifically:
[0097] In step S110, in response to a screen lock event for the terminal device, the device attribute information of the terminal device is obtained.
[0098] Specifically, the screen lock events described herein can include screen lock commands received by the terminal device, and can also include events where the terminal device automatically enters a screen lock state when it has not received any external input commands for a certain period of time (e.g., five or ten minutes). Furthermore, the screen lock commands described herein can directly act on buttons on the terminal device itself (e.g., the power button; if the screen lock event is applied to the power button of the terminal device via a protective case or cover, it is also assumed that the screen lock event directly acts on the terminal device itself), or can act on external devices associated with the terminal device (e.g., protective cases or covers of the terminal device, etc.). Additionally, the device attribute information described herein can include the original configuration information and / or current status information of the terminal device; wherein the original configuration information includes the password configuration information and / or wallpaper configuration information of the terminal device; the current status information includes the battery status information, charging status information, ambient light information, current display interface, and the object to which the screen lock event applies.
[0099] In other words, in practical applications, if a terminal device receives a screen lock event directly applied to the power button, or a screen lock event applied to a protective case or cover, it can obtain the terminal device's original configuration information (such as password configuration information, i.e., whether the terminal device has set a password; or, for example, the terminal device's wallpaper configuration information, i.e., the display priority of each screen interface when the terminal device is locked, or specific images or text that the terminal device needs to display when the screen is locked) and current status information (such as how much battery the terminal device currently has, whether it is charging, the current ambient light level, the currently displayed interface, and the object of the event).
[0100] In step S120, the interface display type of the lock screen interface of the terminal device is determined according to the device attribute information.
[0101] Specifically, determining the lock screen display type of the terminal device based on the device attribute information can be achieved as follows: The lock screen display type can be determined based on at least one of the following: password configuration information, wallpaper configuration information, battery status information, charging status information, ambient light information, the current display interface, and the event target of the lock screen event. Therefore, it can be seen that various different methods can be used to determine the lock screen display type of the terminal device; furthermore, considering the priority of each device attribute information, the setting rules for the target interface can be determined through the following different implementation methods. Specifically:
[0102] In one example embodiment, determining the interface display type of the lock screen interface of the terminal device based on the device attribute information can be achieved as follows: First, obtain the password configuration information from the original configuration information and determine whether the password configuration information in the original configuration information is an empty set; second, if the password configuration information is determined to be an empty set, obtain the charging status information from the current status information and determine the interface display type of the lock screen interface of the terminal device based on the charging status information; then, if the password configuration information is determined to be not empty, determine that the interface display type of the lock screen interface of the terminal device is a password lock screen type. That is, in practical applications, if the original configuration information includes password configuration information (i.e., the user has configured a lock screen password for the terminal device), then the interface display type is determined to be a password lock screen type, where the password lock screen type described here includes password lock screen setting rules; of course, if the original configuration information does not include password configuration information (i.e., the user has not configured a lock screen password for the terminal device), then it can be considered whether the terminal device is in a charging state, and then the interface display type of the lock screen interface of the terminal device can be determined based on the charging status information.
[0103] In one example embodiment, determining the interface display type of the lock screen interface of the terminal device based on the charging status determination information can be achieved as follows: First, determine whether the terminal device is in a charging state based on the charging status information; second, if the terminal device is determined to be in a non-charging state, obtain the battery status information from the current status information, and determine the interface display type of the lock screen interface of the terminal device based on the battery status information; finally, if the terminal device is determined to be in a charging state, obtain the event target from the current status information, and determine the interface display type of the lock screen interface of the terminal device based on the event target. That is, in practical applications, if the original configuration information does not include password configuration information, it can be directly determined whether the terminal device is in a charging state; if the terminal device is in a charging state, it is necessary to determine the event target of the lock screen event (whether it directly affects the terminal device itself or affects a phone case or cover), and then determine the corresponding interface display type based on the event target; simultaneously, if the terminal device is not in a charging state, the interface display type can be determined based on the battery status information.
[0104] In one example embodiment, determining the interface display type of the lock screen of the terminal device based on the event's target can be achieved as follows: First, determine whether the event's target is another peripheral device corresponding to the terminal device; second, if the event's target is another peripheral device corresponding to the terminal device, then determine that the interface display type of the terminal device's lock screen is a static wallpaper type; finally, if the event's target is the terminal device itself, then determine that the interface display type of the terminal device's lock screen is a charging state type. That is, when the terminal device is charging and the lock screen event is applied to the terminal device's display interface through a protective case or cover, the interface display type can be determined to be a static wallpaper type; simultaneously, if the lock screen event is applied to the terminal device itself, the interface display type is determined to be a charging state type; wherein, the static wallpaper type described here includes static wallpaper setting rules, and the charging state type described here includes charging state setting rules.
[0105] In one example embodiment, determining the interface display type of the lock screen of the terminal device based on the battery status information can be achieved as follows: First, determine whether the terminal device is in a low battery state based on the battery status information; second, if the terminal device is in a normal battery state, obtain the ambient light information in the current status information, and determine the interface display type of the lock screen of the terminal device based on the ambient light information; finally, if the terminal device is in a low battery state, determine that the interface display type of the lock screen of the terminal device is a warning message type. In other words, if the terminal device is not charging, it can determine whether the terminal device's battery status information (i.e., the current battery value) is lower than a preset battery value, and then determine whether the terminal device is in a low battery state based on the comparison between the current battery value and the preset battery value. Of course, while determining the battery value, the current device temperature can also be obtained, and compared with a first preset temperature threshold and a second preset temperature threshold, and then determine whether the terminal device is in a low temperature or overheating state based on the comparison between the current device temperature and the first and second preset temperature thresholds. At the same time, if the terminal device is in a low battery state, or the temperature is too low or too high, the interface display type is determined to be a warning message type. The warning message type includes warning message setting rules, and the warning message may include, but is not limited to, battery warnings and temperature warnings, etc. Of course, if the terminal device's battery value and temperature value are normal, the interface display type of the terminal device's lock screen interface can be determined based on the ambient light information. The ambient light information mentioned here can be collected by the light sensor set on the terminal device.
[0106] In one example embodiment, determining the interface display type of the lock screen interface of the terminal device based on ambient light information can be achieved as follows: First, determine whether the terminal device is in a low ambient light state based on the ambient light information; second, if the terminal device is in a normal ambient light state, obtain the current display interface from the current state information, and determine the interface display type of the lock screen interface of the terminal device based on the current display interface; finally, if the terminal device is in a low ambient light state, determine that the interface display type of the lock screen interface of the terminal device is a static wallpaper type. In other words, the system can determine whether the terminal device is in a low ambient light state based on ambient light information. Furthermore, during the determination of a low ambient light state (where the ambient light value collected by the terminal device's light sensor is lower than a preset ambient light value), the ambient light information can be compared with a preset ambient light threshold. The comparison result then determines whether the device is in a low ambient light state. If the terminal device is in a low ambient light state, the interface display type can be determined to be a static wallpaper type, which includes static wallpaper setting rules. Further, if the terminal device is not in a low ambient light state, the lock screen interface display type can be determined through the terminal device's current display interface. The current display interface refers to the interface currently displayed on the terminal device, such as a video display interface, a webpage display interface, an instant messaging interface, an image processing interface, etc. This example does not impose any special restrictions on this.
[0107] In one example embodiment, determining the interface display type of the lock screen interface of the terminal device based on the current display interface can be achieved as follows: determining the current interface type of the current display interface, and determining the interface display type of the lock screen interface of the terminal device based on the current interface type. Specifically, determining the current interface type can be achieved by inputting the current display interface into a preset image recognition model to obtain the current interface type. The preset image recognition model described herein includes a backbone feature extraction network, a neck feature fusion network, and a head feature detection network. In other words, in practical applications, in order to determine the interface display type of the lock screen interface of a terminal device based on the current display interface, it is necessary to first determine the current interface type of the current display interface, and then determine the corresponding interface display type based on the current interface type. Furthermore, the current interface type described here may include, but is not limited to, text type, image type, web page type, and main interface display type, etc. Specifically, a text type current display interface appears when the user browses text content on the terminal device; an image type current display interface appears when the user browses images on the terminal device; a web page type current display interface appears when the user browses web pages on the terminal device; and a main interface display type appears when the user controls the terminal device to return to the main display interface.
[0108] In one example embodiment, determining the lock screen display type of the terminal device based on the current interface type of the currently displayed interface can be achieved as follows: if the current interface type of the currently displayed interface is text, then the lock screen display type of the terminal device is determined to be text information; if the current interface type of the currently displayed interface is image, then the lock screen display type of the terminal device is determined to be a webpage; if the current interface type of the currently displayed interface is a webpage or main interface display type, then an external input event for the terminal device is acquired, and it is determined whether the external input event meets a preset condition; if the external input event meets the preset condition, then the lock screen display type of the terminal device is determined to be a clock; if the external input event does not meet the preset condition, then the lock screen display type of the terminal device is determined to be a static wallpaper. That is, in practical applications, the corresponding interface setting rules can be dynamically determined based on different interface display types.
[0109] In one example embodiment, the external input event described above refers to an event in which the user directly interacts with the display screen of the terminal device; that is, the user checks the time by clicking on the display screen. In practical applications, the number of times the user clicks on the display screen within a specific time period can be used to determine whether the external input event meets the preset conditions. If the number of times the user clicks on the display screen within a specific time period exceeds a certain number, the external input event is determined to meet the preset conditions; otherwise, the external input event is determined not to meet the preset conditions. The specific time period described here can be one minute, two minutes, 30 seconds, etc., and the preset conditions can be set according to the length of the time; for example, the preset conditions can be increased for longer periods and decreased for shorter periods. In practical applications, the preset conditions can be determined according to actual needs, and this example does not impose any special restrictions on this. Of course, the preset conditions described here can also include the number of times the user shakes the phone within a specific time period, etc., and this example does not impose any special restrictions on this.
[0110] In one example embodiment, the current display interface is input into a preset image recognition model to obtain the current interface type. This can be achieved as follows: First, the current display interface is downsampled using the backbone feature extraction network to obtain first local features. Then, the first local features are bidirectionally fused from deep to shallow and then from shallow to deep using the neck feature fusion network to obtain first global features. Second, the target object category information and location information included in the first global features are detected using the head feature detection network to obtain the current interface type. The preset image recognition model described herein can be referenced from... Figure 10 As shown; in practical applications, the current display interface of the terminal device can be directly captured, and then the captured current display interface can be input into the image recognition model to obtain the corresponding interface display type; of course, the image recognition model can also use other network models, such as convolutional neural network model, recurrent neural network model or deep neural network model, etc., and this example does not impose any special restrictions on this.
[0111] In step S130, the lock screen interface of the terminal device in the lock screen state is determined according to the interface display type.
[0112] Specifically, based on the foregoing description, the interface display types described here can include password lock screen type, static wallpaper type, charging status type, alert message type, text message type, web page type, and clock type. Under this premise, determining the lock screen interface of the terminal device in lock screen mode based on the interface display type can be achieved in the following way:
[0113] The first implementation method is: obtaining the password lock screen interface corresponding to the password lock screen type and the interface generation framework corresponding to the terminal device, and generating a first lock screen interface of the terminal device in the lock screen state based on the password lock screen interface and the interface generation framework; the second implementation method is: obtaining a preset static wallpaper corresponding to the static wallpaper type, and generating a second lock screen interface of the terminal device in the lock screen state based on the preset static wallpaper and the interface generation framework; the third implementation method is: obtaining a charging status interface corresponding to the charging status type, and generating a third lock screen interface of the terminal device in the lock screen state based on the charging status interface and the interface generation framework; the fourth implementation method is: obtaining a warning information interface corresponding to the warning information type. The following are implementation methods for generating a fourth lock screen interface for the terminal device in the lock screen state, based on the warning information interface and the interface generation framework: A fifth implementation method involves obtaining a text information interface corresponding to the text type and generating a fifth lock screen interface for the terminal device in the lock screen state based on the text information interface and the interface generation framework; a sixth implementation method involves obtaining a webpage information interface corresponding to the webpage page type and generating a sixth lock screen interface for the terminal device in the lock screen state based on the webpage information interface and the interface generation framework; and a seventh implementation method involves obtaining a clock information interface corresponding to the clock type and generating a seventh lock screen interface for the terminal device in the lock screen state based on the clock information interface and the interface generation framework. The interface generation framework described here can be a framework based on Flutter or a framework based on CanvasKit; this example does not impose any special restrictions on this.
[0114] The following will further explain the specific generation process of the lock screen interface. Specifically, when the user has not set a password for the lock screen, meaning privacy information is not protected and can be publicly accessed, if the screen is charging, it will prioritize entering the charging lock screen. If the screen is not charging, the following scenarios need to be considered: First, when the screen is in e-book mode or has a very high text content, when the system automatically enters the lock screen state, it will enter text lock screen mode, informing the user of the currently active page with extremely low power consumption, unaffected by accidental touches, and providing a relatively intuitive indicator in the corner indicating the current state as lock screen. Second, when the screen is in image mode, comic mode, or other pages that use images to represent content, when the system automatically enters the lock screen state, it will prioritize entering image mode, similar to text mode, informing the user of the currently active page with extremely low power consumption, unaffected by accidental touches, and providing a relatively intuitive indicator in the corner indicating the current state as lock screen. Third, when the screen is in homepage mode or other unrelated mode... When closing the screen, the system will select the optimal mode based on its records, typically one of two: clock mode or preset wallpaper mode. By default, the preset wallpaper mode takes precedence. If the user frequently turns the screen on and then locks it a few seconds later, the system will determine that the user needs to check the screen to determine the current time, and will prioritize displaying clock mode. Another reason is that, due to the lack of backlight on e-ink screens when off, users cannot directly observe the screen display in extremely low ambient light conditions. In this case, the preset wallpaper mode will be prioritized for screen lock because clock mode involves a refresh mechanism, resulting in significantly higher power consumption than preset wallpaper mode. Furthermore, if the user uses a case or protective cover to protect the e-ink screen, and closing the case triggers automatic screen lock, the system will, by default, prioritize using preset wallpaper mode to reduce power consumption due to the screen's obstruction and invisibility. In this state, it's unrelated to the user's choice to force the use of a certain lock screen mechanism; it's an efficient power-saving strategy. Furthermore, when the user uses a lock screen strategy, the user's choice takes precedence. Text mode and image mode can be customized by the user. This strategy is less effective than the case mode strategy. Further still, after setting a password, a password lock screen will appear after unlocking; only with the correct password can the user enter the system. Finally, when a warning state occurs, such as low battery, the system will wake up without backlighting and switch the lock screen to the low battery lock screen to inform the user. It's worth noting that in case mode lock screen, a pop-up window will appear to inform the user, preventing them from missing relevant warning information.Meanwhile, the lock screen interface described here can be an interactive lock screen interface, that is, when the terminal device detects an input event, it can respond to the received touch event and enter the main interface; of course, in a possible example embodiment, assuming that the terminal device includes a protective case or cover, then when the protective case or cover is detected to be open, it can directly jump from the lock screen interface to the corresponding main interface, etc.
[0115] It should be further explained here that the preset static wallpaper or text information interface described above is determined in the following way: The wallpaper configuration information of the terminal device is obtained from the original configuration information, and the preset static wallpaper and / or text information interface is determined based on the wallpaper configuration information. That is, in actual application, users will pre-configure the corresponding static wallpaper and text information interface on the terminal device. When a static wallpaper or text information interface is needed as the lock screen interface, the corresponding static wallpaper or text information can be directly obtained from the interface configuration policy information.
[0116] In step S140, the lock screen interface is displayed on the display interface of the terminal device.
[0117] Specifically, after obtaining the corresponding lock screen interface, it can be displayed on the terminal device's display screen. When the user needs to enter the terminal device's main interface again, they can open the terminal device's protective case or cover, or touch the terminal device's power button to light up the display screen, and enter the corresponding interface by entering a password or performing the corresponding swipe operation.
[0118] It's important to clarify that in practical applications, the terminal device's attribute information can be considered to have a priority order. For example, the first priority is the terminal device's password configuration information; that is, if the terminal device has a password configured, the password lock screen will be displayed directly. The second priority is charging status, and the third priority is the protective case or cover; that is, if the device is charging and the lock screen event is triggered by a protective case or cover, a static wallpaper will be used for the lock screen; if the device is charging but the lock screen event is not triggered by a protective case or cover, the charging lock screen will be displayed. The fourth priority is battery level, and the fifth priority is ambient light information. Other attribute information has the lowest priority. In practical applications, the corresponding priorities or configuration rules can be determined according to actual needs; this example does not impose any special restrictions on this.
[0119] Thus, the interface display method of the terminal device described in the exemplary embodiments of this disclosure has been fully implemented. Based on the foregoing description, it can be understood that this solution, through dynamic screen locking, can fully display information to the user. This dynamic screen locking is different from the traditional screen locking in Android, and it fully utilizes the characteristics of the electronic mode screen. Even when the power is off, some display content can still be retained on the screen, which can conveniently improve the interaction with the user.
[0120] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein. For details not disclosed in the apparatus embodiments of this disclosure, please refer to the embodiments of the method disclosed herein.
[0121] This disclosure also provides an interface display device for a terminal device. Specifically, refer to... Figure 11 As shown, the interface display device of the terminal device may include a device attribute information acquisition module 1110, an interface display type determination module 1120, a lock screen interface determination module 1130, and a lock screen interface display module 1140. Wherein:
[0122] The device attribute information acquisition module 1110 can be used to acquire the device attribute information of the terminal device in response to a screen lock event of the terminal device;
[0123] The interface display type determination module 1120 can be used to determine the interface display type of the lock screen interface of the terminal device based on the device attribute information;
[0124] The lock screen interface determination module 1130 can be used to determine the lock screen interface of the terminal device in the lock screen state according to the interface display type;
[0125] The lock screen display module 1140 can be used to display the lock screen interface on the display interface of the terminal device.
[0126] In one exemplary embodiment of this disclosure, the device attribute information includes the original configuration information and / or current status information of the terminal device; the original configuration information includes the password configuration information and / or wallpaper configuration information of the terminal device; the current status information includes at least one of the terminal device's battery status information, charging status information, ambient light information, current display interface, and the event target of the screen lock event.
[0127] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the device attribute information includes: obtaining password configuration information from the original configuration information and determining whether the password configuration information in the original configuration information is an empty set; when it is determined that the password configuration information is an empty set, obtaining charging status information from the current status information and determining the interface display type of the lock screen interface of the terminal device based on the charging status information; when it is determined that the password configuration information is not empty, determining that the interface display type of the lock screen interface of the terminal device is a password lock screen type.
[0128] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the charging status information includes: determining whether the terminal device is in a charging state based on the charging status information; when it is determined that the terminal device is in a non-charging state, obtaining the battery status information in the current status information, and determining the interface display type of the lock screen interface of the terminal device based on the battery status information; when it is determined that the terminal device is in a charging state, obtaining the event target of the lock screen event in the current status information, and determining the interface display type of the lock screen interface of the terminal device based on the event target.
[0129] In an exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the event object includes: determining whether the event object is another peripheral device corresponding to the terminal device; if the event object is another peripheral device corresponding to the terminal device, then determining that the interface display type of the lock screen interface of the terminal device is a static wallpaper type; if the event object is the terminal device itself, then determining that the interface display type of the lock screen interface of the terminal device is a charging status type.
[0130] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the battery status information includes: determining whether the terminal device is in a low battery state based on the battery status information; if the terminal device is in a normal battery state, obtaining the ambient light information in the current status information and determining the interface display type of the lock screen interface of the terminal device based on the ambient light information; if the terminal device is in a low battery state, determining that the interface display type of the lock screen interface of the terminal device is a warning information type.
[0131] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on ambient light information includes: determining whether the terminal device is in a low ambient light state based on the ambient light information; if the terminal device is in a normal ambient light state, obtaining the current display interface in the current state information, and determining the interface display type of the lock screen interface of the terminal device based on the current display interface; if the terminal device is in a low ambient light state, determining that the interface display type of the lock screen interface of the terminal device is a static wallpaper type.
[0132] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the current display interface includes: determining the current interface type of the current display interface, and determining the interface display type of the lock screen interface of the terminal device based on the current interface type.
[0133] In one exemplary embodiment of this disclosure, determining the interface display type of the lock screen interface of the terminal device based on the current interface type of the current display interface includes: if the current interface type of the current display interface is text type, then determining the interface display type of the lock screen interface of the terminal device to be text information type; if the current interface type of the current display interface is image type, then determining the interface display type of the lock screen interface of the terminal device to be web page type; if the current interface type of the current display interface is web page type or main interface display type, then acquiring an external input event for the terminal device and determining whether the external input event meets a preset condition; if the external input event meets the preset condition, then determining the interface display type of the lock screen interface of the terminal device to be clock type; if the external input event does not meet the preset condition, then determining the interface display type of the lock screen interface of the terminal device to be static wallpaper type.
[0134] In one exemplary embodiment of this disclosure, determining the current interface type of the current display interface includes: inputting the current display interface into a preset image recognition model to obtain the current interface type of the current display interface; wherein the current interface type includes any one of text type, image type, web page type, and main interface display type.
[0135] In an exemplary embodiment of this disclosure, the preset image recognition model includes a backbone feature extraction network, a neck feature fusion network, and a head feature detection network. The process of inputting the current display interface into the preset image recognition model to obtain the current interface type includes: using the backbone feature extraction network to downsample the current display interface to obtain a first local feature; using the neck feature fusion network to perform bidirectional fusion of the first local feature from deep to shallow and then from shallow to deep to obtain a first global feature; and using the head feature detection network to detect the category information and location information of the target object included in the first global feature to obtain the current cleansing type of the current display interface.
[0136] In one exemplary embodiment of this disclosure, determining the lock screen interface of the terminal device in the lock screen state according to the interface display type includes: obtaining a password lock screen interface corresponding to the password lock screen setting rules and an interface generation framework corresponding to the terminal device, and generating a first lock screen interface of the terminal device in the lock screen state based on the password lock screen interface and the interface generation framework; or obtaining a preset static wallpaper corresponding to the static wallpaper type, and generating a second lock screen interface of the terminal device in the lock screen state based on the preset static wallpaper and the interface generation framework; or obtaining a charging status interface corresponding to the charging status type, and generating a third lock screen interface of the terminal device in the lock screen state based on the charging status interface and the interface generation framework. Alternatively, obtain a warning information interface corresponding to the warning information type, and generate a fourth lock screen interface for the terminal device in the lock screen state based on the warning information interface and the interface generation framework; or obtain a text information interface corresponding to the text type, and generate a fifth lock screen interface for the terminal device in the lock screen state based on the text information interface and the interface generation framework; or obtain a web page information interface corresponding to the web page type, and generate a sixth lock screen interface for the terminal device in the lock screen state based on the web page information interface and the interface generation framework; or obtain a clock information interface corresponding to the clock type, and generate a seventh lock screen interface for the terminal device in the lock screen state based on the clock information interface and the interface generation framework.
[0137] In one exemplary embodiment of this disclosure, the interface display method of the terminal device is applied to a terminal device having an electronic ink screen.
[0138] The specific details of each module in the interface display device of the aforementioned terminal device have been described in detail in the corresponding interface display method of the terminal device, so they will not be repeated here.
[0139] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0140] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.
[0141] In an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided.
[0142] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."
[0143] The following reference Figure 12 To describe an electronic device 1200 according to such an embodiment of the present disclosure. Figure 12 The electronic device 1200 shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0144] like Figure 12 As shown, the electronic device 1200 is presented in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to: at least one processing unit 1210, at least one storage unit 1220, a bus 1230 connecting different system components (including storage unit 1220 and processing unit 1210), and a display unit 1240, which may also be referred to as a display, and the display is an e-ink screen.
[0145] The storage unit stores program code that can be executed by the processing unit 1210, causing the processing unit 1210 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. For example, the processing unit 1210 can perform actions such as... Figure 1The steps shown are as follows: Step S110: In response to a screen lock event of the terminal device, obtain the device attribute information of the terminal device; Step S120: Determine the interface display type of the lock screen interface of the terminal device according to the device attribute information; Step S130: Determine the lock screen interface of the terminal device in the lock screen state according to the interface display type; Step S140: Display the lock screen interface on the display interface of the terminal device.
[0146] Storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 12201 and / or cache memory 12202, and may further include a read-only memory (ROM) 12203.
[0147] Storage unit 1220 may also include a program / utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.
[0148] Bus 1230 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.
[0149] Electronic device 1200 can also communicate with one or more external devices 1300 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 1200, and / or with any device that enables electronic device 1200 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1250. Furthermore, electronic device 1200 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1260. As shown, network adapter 1260 communicates with other modules of electronic device 1200 via bus 1230. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0150] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.
[0151] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible implementations, various aspects of this disclosure may also be implemented as a program product including program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of this disclosure described in the "Exemplary Methods" section above.
[0152] The program product for implementing the above-described method according to embodiments of the present disclosure may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, the readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0153] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0154] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0155] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0156] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0157] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this disclosure and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0158] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention described herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not invented by this disclosure. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
Claims
1. An interface display method of a terminal device, characterized by, Comprising: in response to a lock screen event for a terminal device, obtaining device attribute information of the terminal device; wherein the device attribute information includes original configuration information and current state information of the terminal device; obtaining password configuration information in the original configuration information, and determining whether the password configuration information in the original configuration information is an empty set; when it is determined that the password configuration information is an empty set, obtaining charging state information in the current state information, and determining an interface display type of a lock screen interface of the terminal device according to the charging state information; when it is determined that the password configuration information is not empty, determining that the interface display type of the lock screen interface of the terminal device is a password lock screen type; determining a lock screen interface of the terminal device in a lock screen state according to the interface display type; displaying the lock screen interface on a display interface of the terminal device; wherein determining the interface display type of the lock screen interface of the terminal device according to the charging state information comprises: determining whether the terminal device is in a charging state according to the charging state information; when it is determined that the terminal device is in a non-charging state, obtaining power state information in the current state information, and determining the interface display type of the lock screen interface of the terminal device according to the power state information; when it is determined that the terminal device is in a charging state, obtaining an event action object of the lock screen event in the current state information, and determining whether the event action object is other external devices corresponding to the terminal device; if the event action object is other external devices corresponding to the terminal device, it is determined that the interface display type of the lock screen interface of the terminal device is a static wallpaper type; if the event action object is the terminal device itself, it is determined that the interface display type of the lock screen interface of the terminal device is a charging state type.
2. The interface display method of a terminal device according to claim 1, wherein The original configuration information further includes wallpaper configuration information of the terminal device; The current state information further includes at least one of ambient light information, a current display interface, and an event action object of the lock screen event of the terminal device.
3. The interface display method of a terminal device according to Claim 1, wherein Determining the interface display type of the lock screen interface of the terminal device according to the power state information comprises: determining whether the terminal device is in a low power state according to the power state information; if the terminal device is in a normal power state, obtaining ambient light information in the current state information, and determining the interface display type of the lock screen interface of the terminal device according to the ambient light information; if the terminal device is in a low power state, determining that the interface display type of the lock screen interface of the terminal device is a warning information type.
4. The interface display method of a terminal device according to Claim 3, characterized by, Determining the interface display type of the lock screen interface of the terminal device according to the ambient light information comprises: determining whether the terminal device is in a low ambient light state according to the ambient light information; if the terminal device is in a normal ambient light state, obtaining a current display interface in the current state information, and determining the interface display type of the lock screen interface of the terminal device according to the current display interface; if the terminal device is in a low ambient light state, determining that the interface display type of the lock screen interface of the terminal device is a static wallpaper type.
5. The interface display method of a terminal device according to Claim 4, characterized by, Determining the interface display type of the lock screen interface of the terminal device according to the current display interface comprises: determining a current interface type of the current display interface, and determining an interface display type of a lock screen interface of the terminal device according to the current interface type.
6. The interface display method of a terminal device according to Claim 5, wherein The interface display type of the lock screen interface of the terminal device is determined according to the current interface type, including: if the current interface type of the current display interface is a text type, determining that the interface display type of the lock screen interface of the terminal device is a text information type; if the current interface type of the current display interface is an image type, determining that the interface display type of the lock screen interface of the terminal device is a webpage page type; if the current interface type of the current display interface is a webpage page type or a main interface display type, obtaining an external input event of the terminal device, and determining whether the external input event satisfies a preset condition; if the external input event satisfies the preset condition, determining that the interface display type of the lock screen interface of the terminal device is a clock type, and if the external input event does not satisfy the preset condition, determining that the interface display type of the lock screen interface of the terminal device is a static wallpaper type.
7. The interface display method of a terminal device according to Claim 5, characterized by, The current interface type of the current display interface is determined, including: inputting the current display interface into a preset image recognition model to obtain the current interface type of the current display interface; wherein the current interface type includes any one of a text type, an image type, a webpage page type and a main interface display type.
8. The interface display method of a terminal device according to Claim 7, characterized by, The preset image recognition model includes a backbone feature extraction network, a neck feature fusion network and a head feature detection network; wherein inputting the current display interface into the preset image recognition model to obtain the current interface type of the current display interface includes: performing down-sampling processing on the current display interface by using the backbone feature extraction network to obtain first local features, and performing bidirectional fusion from deep layer to shallow layer and then from shallow layer to deep layer on the first local features by using the neck feature fusion network to obtain first global features; detecting class information and position information of a target object included in the first global features by using the head feature detection network to obtain the current interface type of the current display interface.
9. The interface display method of a terminal device according to Claim 1, characterized by, The lock screen interface of the terminal device in a lock screen state is determined according to the interface display type, including: obtaining a password lock screen interface corresponding to a password lock screen setting rule and an interface generation framework corresponding to the terminal device, and generating a first lock screen interface of the terminal device in a lock screen state based on the password lock screen interface and the interface generation framework; or obtaining a preset static wallpaper corresponding to the static wallpaper type, and generating a second lock screen interface of the terminal device in a lock screen state based on the preset static wallpaper and the interface generation framework; or obtaining a charging state interface corresponding to a charging state type, and generating a third lock screen interface of the terminal device in a lock screen state based on the charging state interface and the interface generation framework; or acquire an alarm information interface corresponding to the alarm information type, and generate a fourth lock screen interface of the terminal device in the lock screen state based on the alarm information interface and the interface generation framework; or acquire a text information interface corresponding to the text type, and generate a fifth lock screen interface of the terminal device in the lock screen state based on the text information interface and the interface generation framework; or acquire a webpage information interface corresponding to the webpage page type, and generate a sixth lock screen interface of the terminal device in the lock screen state based on the webpage information interface and the interface generation framework; or acquire a clock information interface corresponding to the clock type, and generate a seventh lock screen interface of the terminal device in the lock screen state based on the clock information interface and the interface generation framework.
10. The interface display method of a terminal device according to any one of claims 1 to 9, characterized by, The interface display method of the terminal device is applied to a terminal device with an electronic ink screen.
11. An interface display apparatus of a terminal device, characterized by comprising: comprise: a device attribute information acquisition module configured to acquire device attribute information of the terminal device in response to a lock screen event of the terminal device; wherein the device attribute information comprises original configuration information and current state information of the terminal device; an interface display type determination module configured to acquire password configuration information in the original configuration information, and determine whether the password configuration information in the original configuration information is an empty set; when it is determined that the password configuration information is an empty set, acquire charging state information in the current state information, and determine an interface display type of a lock screen interface of the terminal device according to the charging state information; when it is determined that the password configuration information is not empty, determine that the interface display type of the lock screen interface of the terminal device is a password lock screen type; a lock screen interface determination module configured to determine the lock screen interface of the terminal device in the lock screen state according to the interface display type; a lock screen interface display module configured to display the lock screen interface on a display interface of the terminal device; wherein determining the interface display type of the lock screen interface of the terminal device according to the charging state information comprises: determining whether the terminal device is in a charging state according to the charging state information; when it is determined that the terminal device is in a non-charging state, acquiring power state information in the current state information, and determining the interface display type of the lock screen interface of the terminal device according to the power state information; when it is determined that the terminal device is in a charging state, acquiring an event action object of the lock screen event in the current state information, and determining whether the event action object is other external devices corresponding to the terminal device; if the event action object is other external devices corresponding to the terminal device, determining that the interface display type of the lock screen interface of the terminal device is a static wallpaper type; if the event action object is the terminal device itself, determining that the interface display type of the lock screen interface of the terminal device is a charging state type.
12. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by a processor to implement the interface display method of the terminal device according to any one of claims 1-10.
13. An electronic device, comprising: comprise: a processor; and a memory for storing executable instructions of the processor; a display, which is an electronic ink screen; The processor is configured to execute the interface display method of the terminal device according to any one of claims 1-10 by executing the executable instructions. The processor is configured to execute the interface display method of the terminal device according to any one of claims 1-10 by executing the executable instructions.
Citation Information
Patent Citations
Method and device for displaying lock screen information of intelligent mobile device
CN103442139A