Lock screen interface display method and device, electronic device and storage medium

By switching the background highlight mode in the mobile phone fingerprint unlocking FOD and adjusting the jitter range of the image jitter algorithm according to the backlight value, the loss of display image accuracy and streak problems caused by the semi-transparent mask layer are solved, and the clarity of the displayed content is improved.

CN114265534BActive Publication Date: 2024-09-10BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010976380.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-16
Publication Date
2024-09-10
Estimated Expiration
2040-09-16

AI Technical Summary

Technical Problem

In mobile phone fingerprint unlocking FOD, the translucent masking layer is used to reduce the brightness of the screen to avoid glare, but it results in loss of display image accuracy and streaking. It is difficult for existing technology to effectively solve this problem.

Method used

By responding to the command to light up the lock screen interface, the screen is switched to the background highlight mode, a translucent masking layer is added, and the jittering range of the image dithering algorithm is determined based on the backlight value of the displayed content after the masking layer, and dithering processing is performed to eliminate streaks. Phenomenon.

Benefits of technology

It effectively avoids the stripe phenomenon of the displayed content and the graininess caused by low background light intensity, and improves the clarity of the displayed content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114265534B
    Figure CN114265534B
Patent Text Reader

Abstract

The present disclosure relates to a display method and device for a lock screen interface, an electronic device and a storage medium, so as to solve the problem that the clarity of displayed content is not high when the backlight brightness of the display interface is low, including: in response to an instruction to light up the lock screen interface, switching the screen to a background highlight mode; adding a semi-transparent mask to the displayed content on the lock screen interface; and obtaining the backlight value of the displayed content after adding the semi-transparent mask; determining the jitter range of an image jitter algorithm according to the backlight value, wherein the jitter range is negatively correlated with the backlight value; and performing jitter processing on the displayed content by the image jitter algorithm according to the jitter range. In this way, the clarity of displayed content can be improved when the backlight brightness of the display interface is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of screen unlocking, and in particular to a method and device for displaying a lock screen interface, an electronic device, and a storage medium. Background Art

[0002] In the mobile phone fingerprint unlocking FOD (Fingerprint On Display), in order to effectively display the fingerprint collection button and ensure the accuracy of fingerprint collection, the mobile phone screen adopts the high brightness mode HBM (High Brightness Mode), and in order to avoid the glare caused by the high brightness of the entire mobile phone screen, a semi-transparent mask is set on the mobile phone screen. The display brightness value of the highlight mode determines the transparency value of the semi-transparent mask. For example, the greater the display brightness value of the highlight mode, the smaller the transparency value of the semi-transparent mask, and the smaller the display brightness value of the highlight mode, the greater the transparency value of the semi-transparent mask.

[0003] Although the combination of the semi-transparent mask and the highlight mode can effectively display the fingerprint collection button and avoid the glare caused by the highlight of the entire mobile phone screen, the semi-transparent mask actually reduces the display brightness of the mobile phone screen in proportion, which results in a loss of accuracy of the image displayed on the mobile phone screen, thereby causing stripes to appear on the mobile phone screen display interface.

[0004] In related technologies, introducing tiny errors and using a dithering algorithm to process the display content can effectively eliminate the stripe phenomenon that appears on the mobile phone screen display interface. Summary of the invention

[0005] In order to overcome the problems existing in the related art, the present disclosure provides a display method and device for a lock screen interface, an electronic device and a storage medium.

[0006] According to a first aspect of an embodiment of the present disclosure, a method for displaying a lock screen interface is provided, the display method comprising:

[0007] In response to an instruction to light up the lock screen interface, switching the screen to a background highlight mode;

[0008] Adding a semi-transparent mask to the display content on the lock screen interface; and,

[0009] Obtaining a backlight value of the displayed content after adding the semi-transparent mask;

[0010] Determining a jitter range of an image jitter algorithm according to the backlight value, wherein the jitter range is negatively correlated with the backlight value;

[0011] The display content is subjected to dithering processing by using the image dithering algorithm according to the dithering range.

[0012] Optionally, the backlight value includes a pixel value of each primary color of three primary colors of the display content, and determining a jitter range of the image jitter algorithm according to the backlight value includes:

[0013] Determining a brightness suppression coefficient of the semi-transparent mask according to the pixel value of each primary color;

[0014] Determining a precision loss range of the displayed content according to the brightness suppression coefficient;

[0015] The jitter range of the image jitter algorithm is determined according to the precision loss range.

[0016] Optionally, determining a jitter range of an image jitter algorithm according to the backlight value includes:

[0017] Determining a backlight range in which the backlight value is located;

[0018] The jitter range of the image jitter algorithm is determined according to a preset corresponding relationship between the backlight range and the jitter range.

[0019] Optionally, obtaining a backlight value of the displayed content after adding the semi-transparent mask includes:

[0020] Performing a first jittering process on the displayed content after adding the semi-transparent mask by using the image jittering algorithm within a preset jittering range;

[0021] Acquire a backlight value of the display content after the first dithering process;

[0022] The step of determining the jitter range of the image jitter algorithm according to the backlight value comprises:

[0023] Determining a target jitter range of displayed content according to the backlight value, and determining an adjusted jitter value of the image jitter algorithm according to the preset jitter range and the target jitter range;

[0024] The performing jitter processing on the displayed content by using the image jitter algorithm according to the jitter range includes:

[0025] Adjusting the preset jitter range according to the adjusted jitter value to obtain an adjusted jitter range;

[0026] The display content is subjected to dithering processing by using the image dithering algorithm according to the adjusted dithering range.

[0027] Optionally, the image dithering algorithm includes a Bayer ordered dithering algorithm or a hole and cluster dithering algorithm.

[0028] According to a second aspect of an embodiment of the present disclosure, a display device for a lock screen interface is provided, including:

[0029] A switching module, configured to switch the screen to a background highlight mode in response to an instruction to light up the lock screen interface;

[0030] An adding module, configured to add a semi-transparent mask to the display content on the lock screen interface;

[0031] An acquisition module, configured to acquire a backlight value of the displayed content after adding the semi-transparent mask;

[0032] a determination module, configured to determine a jitter range of an image jitter algorithm according to the backlight value, wherein the jitter range is negatively correlated with the backlight value;

[0033] An execution module is configured to perform dithering processing on the display content by using the image dithering algorithm according to the dithering range.

[0034] Optionally, the backlight value comprises a pixel value of each primary color of three primary colors of the display content;

[0035] The determination module comprises:

[0036] A first determination submodule is configured to determine a brightness suppression coefficient of the semi-transparent mask according to the pixel value of each primary color;

[0037] A second determination submodule is configured to determine a precision loss range of the displayed content according to the brightness suppression coefficient;

[0038] The third determining submodule is configured to determine the jitter range of the image jitter algorithm according to the precision loss range.

[0039] Optionally, the determining module includes:

[0040] a fourth determining submodule, configured to determine a backlight range in which the backlight value is located;

[0041] The fifth determining submodule is configured to determine the jitter range of the image jitter algorithm according to a preset corresponding relationship between the backlight range and the jitter range.

[0042] Optionally, the acquisition module is configured to perform a first dithering process on the display content after adding the semi-transparent mask by using the image dithering algorithm within a preset dithering range, and acquire a backlight value of the display content after the first dithering process;

[0043] The determination module is configured to determine a target jitter range of the displayed content according to the backlight value, and determine an adjustment jitter value of the image jitter algorithm according to the preset jitter range and the target jitter range;

[0044] The execution module is configured to adjust the preset jitter range according to the adjusted jitter value to obtain an adjusted jitter range, and perform jitter processing on the display content through the image jitter algorithm according to the adjusted jitter range.

[0045] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0046] processor;

[0047] a memory for storing processor-executable instructions;

[0048] Wherein, the processor is configured to:

[0049] In response to an instruction to light up the lock screen interface, switching the screen to a background highlight mode;

[0050] Adding a semi-transparent mask to the display content on the lock screen interface; and,

[0051] Obtaining a backlight value of the displayed content after adding the semi-transparent mask;

[0052] Determining a jitter range of an image jitter algorithm according to the backlight value, wherein the jitter range is negatively correlated with the backlight value;

[0053] The display content is subjected to dithering processing by using the image dithering algorithm according to the dithering range.

[0054] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the method for displaying a lock screen interface described in any one of the first aspects of the present disclosure are implemented.

[0055] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by responding to the instruction to light up the lock screen interface, the screen is switched to the background highlight mode, and then a semi-transparent mask is added to the display content on the lock screen interface, and the backlight value of the display content after adding the semi-transparent mask is obtained, and the jitter range of the image jitter algorithm is determined according to the backlight value, and finally the display content is jittered by the image jitter algorithm according to the jitter range. In this way, determining the jitter range of the image jitter algorithm according to the backlight value can not only effectively avoid the stripe phenomenon of the displayed content, but also avoid the background light intensity being too low, the jitter range being too large, and the sharpness of the displayed content being high, resulting in a strong sense of graininess of the displayed content, thereby improving the clarity of the displayed content.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0058] Figure 1 The present invention is a flowchart of a method for displaying a lock screen interface according to an exemplary embodiment.

[0059] Figure 2 According to an exemplary embodiment, Figure 1 Flowchart of step S14 in FIG.

[0060] Figure 3 According to another exemplary embodiment Figure 1 Flowchart of step S14 in FIG.

[0061] Figure 4 The present invention is a flowchart of another method for displaying a lock screen interface according to an exemplary embodiment.

[0062] Figure 5 The present invention is a block diagram of a display device for a lock screen interface according to an exemplary embodiment.

[0063] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0064] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0065] It should be noted that in the present disclosure, the terms "first", "second", etc. in the specification, claims and drawings are used to distinguish similar objects, and are not necessarily understood as describing a specific order or sequence. Similarly, the terms "S143", "S144", etc. are used to distinguish steps, and are not necessarily understood as executing method steps in a specific order or sequence.

[0066] Before introducing the display method and device of the lock screen interface, the electronic device and the storage medium provided by the present disclosure, the application scenario of the present disclosure is first introduced. The display method of the lock screen interface provided by the present disclosure can be applied to an electronic device, and the electronic device may include a display interface, and the display interface supports lighting the screen before the screen is unlocked, and displays notification messages, time, etc. on the display interface. The electronic device, for example, can be an electronic device such as a smart phone, a tablet device, a smart watch, a personal terminal computer, a medical device, a fitness device, etc.

[0067] Effectively eliminating the stripe phenomenon can improve the user experience. In related technologies, by introducing noise randomization quantization errors, the display image of the display interface is prevented from being significantly stretched, thereby effectively eliminating the display interface stripe phenomenon caused by the use of a semi-transparent mask and a high-brightness mode when the electronic device displays a fingerprint unlock button.

[0068] The inventors found that the lower the brightness displayed by the touch screen of the electronic device according to the ambient light intensity, the greater the ratio coefficient of the semi-transparent mask to reduce the original display content, resulting in greater image precision loss and more obvious stripe phenomenon of the display content on the display interface. When introducing noise to randomly process the display image of the display interface, the jitter range is fixed at the maximum range. When the backlight brightness of the display interface is low, the display content is still processed according to the maximum jitter range, which will cause the graininess of the display content to be more obvious, thus causing the display content of the display interface to be blurred, affecting the visual effect.

[0069] In order to solve the above technical problems, the present disclosure provides a method for displaying a lock screen interface. Here, the method can be applied to electronic devices such as smart phones as an example. Figure 1 is a flow chart of a method for displaying a lock screen interface according to an exemplary embodiment. Figure 1 As shown, the following steps are included.

[0070] In step S11, in response to an instruction to light up the lock screen interface, the screen is switched to a background highlight mode.

[0071] In step S12, a semi-transparent mask is added to the display content on the lock screen interface.

[0072] In step S13, the backlight value of the display content after adding the semi-transparent mask is obtained.

[0073] In step S14, a jitter range of an image jitter algorithm is determined according to the backlight value.

[0074] Wherein, the jitter range is negatively correlated with the backlight value;

[0075] In step S15, the display content is jittered using the image jitter algorithm according to the jitter range.

[0076] Optionally, the display interface of the electronic device can be a touch screen, which supports user touch, generates instructions to light up the lock screen interface, and lights up the screen before the screen is unlocked, and displays instant notification messages, current time, fingerprint collection buttons, etc. on the touch screen.

[0077] Specifically, the instruction to light up the lock screen interface is generated by the electronic device in response to the user's operation to light up the lock screen interface. For example, the instruction may be generated by the central processor of the electronic device in response to the user pressing the power button, or may be generated by the central processor of the electronic device in response to the user touching the touch screen.

[0078] Specifically, the larger the backlight value of the displayed content, the greater the backlight intensity of the displayed content, and thus the smaller the range of jitter adjustment required for the displayed content; the smaller the backlight value of the displayed content, the lower the backlight intensity of the displayed content, and thus the larger the range of jitter adjustment required for the displayed content.

[0079] In a specific implementation, in response to the user's operation of waking up the screen, an instruction to light up the lock screen interface is generated, and the screen is switched to a background highlight mode according to the instruction, so that the screen can highlight, for example, a fingerprint unlock button, etc., to improve the accuracy of fingerprint collection.

[0080] Furthermore, when the screen is in background highlight mode, a semi-transparent mask is added to the display content on the lock screen interface, so that the screen glare caused by the background highlight mode can be avoided. And, the backlight value of the display content of the display interface after adding the semi-transparent mask is obtained, and the backlight value can represent the backlight intensity of the display content. The greater the backlight intensity, the smaller the range of jitter adjustment required for the display content, and the smaller the backlight intensity, the larger the range of jitter adjustment required for the display content.

[0081] Furthermore, the display content is jittered using an image jitter algorithm according to the jitter range, and the display content after the jittering process is displayed on the display interface.

[0082] The above technical solution switches the screen to the background highlight mode in response to the instruction to light up the lock screen interface, and then adds a semi-transparent mask to the display content on the lock screen interface, and obtains the backlight value of the display content after adding the semi-transparent mask, determines the jitter range of the image jitter algorithm according to the backlight value, and finally performs jitter processing on the display content through the image jitter algorithm according to the jitter range. In this way, determining the jitter range of the image jitter algorithm according to the backlight value can not only effectively avoid the stripe phenomenon of the displayed content, but also avoid the background light intensity being too low, the jitter range being too large, and the sharpness of the displayed content being high, resulting in a strong sense of graininess of the displayed content, thereby improving the clarity of the displayed content.

[0083] In addition, the highlight mode can increase the accuracy of screen information collection, for example, it can increase the accuracy of fingerprint collection, and the use of a translucent mask can effectively prevent the glare caused by the high brightness of the display content in the highlight mode, thereby improving the user experience.

[0084] In a possible implementation, the backlight value includes a pixel value of each primary color of the three primary colors of the display content, referring to Figure 2 A flowchart of an exemplary implementation of step S14 is shown. In step S14, determining the jitter range of the image jitter algorithm according to the backlight value includes the following steps.

[0085] In step S141, the brightness suppression coefficient of the semi-transparent mask is determined according to the pixel value of each of the three primary colors of the display content.

[0086] In step S142, the accuracy loss range of the displayed content is determined according to the brightness suppression coefficient.

[0087] In step S143, the jitter range of the image jitter algorithm is determined according to the precision loss range.

[0088] It can be explained that the lower the backlight value, the smaller the brightness reduction coefficient, the larger the precision loss range, and the more obvious the stripe phenomenon. Therefore, the larger the jitter range, the lower the clarity of the displayed content. Therefore, it is necessary to reasonably determine the precision loss range to reduce the stripe phenomenon and ensure the clarity of the displayed content.

[0089] Specifically, the backlight intensity under the backlight value is decomposed to obtain the pixel value of each primary color of the three primary colors RGB under the backlight intensity, and further, the brightness suppression coefficient of the semi-transparent mask is determined by the product of the pixel values ​​of each primary color.

[0090] For example, when the backlight value is 12 lumens, the brightness suppression coefficient of the semi-transparent mask is determined to be 0.1, and the precision loss range of the displayed content is determined to be less than 3 bits; when the backlight value is 135 lumens, the brightness suppression coefficient of the semi-transparent mask is determined to be 0.25, and the precision loss range of the displayed content is determined to be 2 bits; when the backlight value is 623 lumens, the brightness suppression coefficient of the semi-transparent mask is determined to be 0.5, and the precision loss range of the displayed content is determined to be 1 bit; when the backlight value is 2047 lumens, the brightness suppression coefficient of the semi-transparent mask is determined to be 0.86, and the precision loss range of the displayed content is determined to be less than 1 bit.

[0091] Further, when the precision loss range of the displayed content is smaller, the jitter range of the image jitter algorithm is determined to be larger, and when the precision loss range of the displayed content is larger, the jitter range of the image jitter algorithm is determined to be smaller.

[0092] For example, the electronic device pre-sets an image algorithm jitter range. When the accuracy loss range of the displayed content is smaller, the reduction value of the image jitter algorithm is smaller, and then the jitter range of the image jitter algorithm is larger. When the accuracy loss range of the displayed content is larger, the reduction value of the image jitter algorithm is smaller, and the jitter range of the image jitter algorithm is smaller.

[0093] For example, the electronic device pre-sets an image algorithm jitter range of 0 to 16. When the accuracy loss range of the displayed content is smaller, the reduction value of the image jitter algorithm is determined to be 1 bit, and then the jitter range of the image jitter algorithm is determined to be 0 to 15. When the accuracy loss range of the displayed content is larger, the reduction value of the image jitter algorithm is determined to be 4 bits, and the jitter range of the image jitter algorithm is determined to be 0 to 12.

[0094] In this way, the brightness reduction coefficient of the semi-transparent mask can be determined according to the three primary colors of the backlight value, and then the accuracy loss range of the displayed content can be determined, thereby determining the jitter range of the image jitter algorithm. The jitter range can be effectively determined, which can ensure that the displayed content does not have stripes and the clarity of the displayed content can also be guaranteed.

[0095] In another possible implementation, referring to Figure 3 Another exemplary flowchart for implementing step S14 is shown. In step S14, determining the jitter range of the image jitter algorithm according to the backlight value includes the following steps.

[0096] In step S144, the backlight range in which the backlight value is located is determined.

[0097] In step S145, the jitter range of the image jitter algorithm is determined according to the preset corresponding relationship between the backlight range and the jitter range.

[0098] Specifically, the preset correspondence between the backlight range and the jitter range can be pre-set. When the backlight value is in the backlight range, the displayed content is jittered through the image jitter algorithm according to the jitter range corresponding to the backlight range, which can not only ensure that the displayed content does not have stripes, but also ensure that the clarity of the displayed content is established.

[0099] Optionally, the division range of the backlight range and the corresponding jitter range may be set according to actual conditions.

[0100] For example, when the backlight value is in the backlight range of 12 to 135 lumens, the jitter range of the image jitter algorithm is determined to be 0 to 16 according to the preset correspondence between the backlight range and the jitter range; when the backlight value is in the backlight range of 135 to 623 lumens, the jitter range of the image jitter algorithm is determined to be 0 to 8 according to the preset correspondence between the backlight range and the jitter range; when the backlight value is in the backlight range of 624 to 2047 lumens, the jitter range of the image jitter algorithm is determined to be 0 to 4 according to the preset correspondence between the backlight range and the jitter range.

[0101] In this way, the jitter range of the image jitter algorithm can be determined according to the backlight range and the preset correspondence between the backlight range and the jitter range. When the backlight value is in the weak backlight range, a larger jitter range is determined, and when the backlight value is in the strong backlight range, a smaller jitter range is determined. In this way, it can be ensured that the image jitter algorithm can eliminate the stripe phenomenon of the displayed content and avoid reducing the clarity of the displayed content.

[0102] Optionally, in step S13, the obtaining of the backlight value of the display content after adding the semi-transparent mask includes the following steps.

[0103] Performing a first jittering process on the displayed content after adding the semi-transparent mask by using the image jittering algorithm within a preset jittering range;

[0104] Acquire a backlight value of the display content after the first dithering process;

[0105] The step of determining the jitter range of the image jitter algorithm according to the backlight value comprises:

[0106] Determining a target jitter range of displayed content according to the backlight value, and determining an adjusted jitter value of the image jitter algorithm according to the preset jitter range and the target jitter range;

[0107] The performing jitter processing on the displayed content by using the image jitter algorithm according to the jitter range includes:

[0108] Adjusting the preset jitter range according to the adjusted jitter value to obtain an adjusted jitter range;

[0109] The display content is subjected to dithering processing by using the image dithering algorithm according to the adjusted dithering range.

[0110] Figure 4 is a flowchart of another method for displaying a lock screen interface according to an exemplary embodiment. Figure 4 As shown, the following steps are included.

[0111] In step S41, in response to an instruction to light up the lock screen interface, the screen is switched to a background highlight mode.

[0112] In step S42, a semi-transparent mask is added to the display content on the lock screen interface.

[0113] In step S43, a first dithering process is performed on the display content after adding the semi-transparent mask by using the image dithering algorithm within a preset dithering range.

[0114] In step S44, a backlight value of the display content after the first dithering process is obtained.

[0115] In step S45, a target jitter range of the displayed content is determined according to the backlight value, and an adjusted jitter value of the image jitter algorithm is determined according to the preset jitter range and the target jitter range.

[0116] Wherein, the jitter range is negatively correlated with the backlight value;

[0117] In step S46, the preset jitter range is adjusted according to the adjusted jitter value to obtain an adjusted jitter range.

[0118] In step S47, the display content is jittered using the image jitter algorithm according to the adjusted jitter range.

[0119] In specific implementation, the preset jitter range can be the jitter range of the center backlight value, for example, a preset jitter range of 0 to 8 bits, and the display content after adding the semi-transparent mask is subjected to the first jitter processing through the image jitter algorithm according to the jitter range, and the display content after the first jitter processing is displayed on the display interface.

[0120] Optionally, if the target jitter range corresponding to the backlight value is consistent with the preset jitter range, the preset jitter range is not adjusted, and the displayed content is still jittered through the image jitter algorithm within the preset jitter range; if the target jitter range corresponding to the backlight value is larger than the preset jitter range, the increase in the adjusted jitter value of the image jitter algorithm is determined based on the preset jitter range and the target jitter range; if the target jitter range corresponding to the backlight value is smaller than the preset jitter range, the decrease in the adjusted jitter value of the image jitter algorithm is determined based on the preset jitter range and the target jitter range.

[0121] For example, if the target jitter range corresponding to the backlight value is 0 to 8, which is consistent with the preset jitter range of 0 to 8, the preset jitter range is not adjusted, and the displayed content is still jittered through the image jitter algorithm within the preset jitter range; if the backlight value is lower, the target jitter range corresponding to the backlight value is 0 to 12, which is larger than the preset jitter range of 0 to 8, then the increase in the adjusted jitter value of the image jitter algorithm is determined to be 4 according to the preset jitter range and the target jitter range; if the backlight value is higher, the target jitter range corresponding to the backlight value is 0 to 4, which is smaller than the preset jitter range of 0 to 8, then the decrease in the adjusted jitter value of the image jitter algorithm is determined to be 4 according to the preset jitter range and the target jitter range.

[0122] In this way, when the backlight value obtained by the image jitter algorithm according to the preset jitter range is high, the jitter range can be reduced according to the adjusted jitter value, thereby improving the clarity of the displayed content; when the backlight value obtained by the image jitter algorithm according to the preset jitter range is low, the jitter range can be increased according to the adjusted jitter value, thereby reducing the glare caused by the high-brightness mode.

[0123] Optionally, the image dithering algorithm includes a Bayer ordered dithering algorithm or a hole and cluster dithering algorithm.

[0124] Based on the same inventive concept, the present disclosure also provides a lock screen interface display device 500, which is used to execute the steps of the lock screen interface display method provided in the above method embodiment. The device 500 can implement the lock screen interface display method in the form of software, hardware, or a combination of both. Figure 5 is a block diagram of a display device 500 for a lock screen interface according to an exemplary embodiment. Figure 5 As shown, the device 500 includes: a switching module 510, an adding module 520, an acquiring module 530, a determining module 540 and an executing module 550.

[0125] The switching module 510 is configured to switch the screen to the background highlight mode in response to an instruction to light up the lock screen interface;

[0126] The adding module 520 is configured to add a semi-transparent mask to the display content on the lock screen interface;

[0127] The acquisition module 530 is configured to acquire the backlight value of the display content after adding the semi-transparent mask;

[0128] The determination module 540 is configured to determine a jitter range of an image jitter algorithm according to the backlight value, wherein the jitter range is negatively correlated with the backlight value;

[0129] The execution module 550 is configured to perform dithering processing on the display content by using the image dithering algorithm according to the dithering range.

[0130] Optionally, the backlight value comprises a pixel value of each primary color of three primary colors of the display content;

[0131] Optionally, the determination module 540 includes: a first determination submodule, a second determination submodule and a third determination submodule.

[0132] The first determination submodule is configured to determine the brightness suppression coefficient of the semi-transparent mask according to the pixel value of each primary color;

[0133] The second determining submodule is configured to determine the accuracy loss range of the displayed content according to the brightness suppression coefficient;

[0134] The third determining submodule is configured to determine a jitter range of the image jitter algorithm according to the precision loss range.

[0135] Optionally, the determination module 540 includes: a fourth determination submodule and a fifth determination submodule.

[0136] Wherein, the fourth determining submodule is configured to determine the backlight range in which the backlight value is located;

[0137] The fifth determining submodule is configured to determine the jitter range of the image jitter algorithm according to a preset corresponding relationship between the backlight range and the jitter range.

[0138] Optionally, the acquisition module 530 is configured to perform a first dithering process on the display content after adding the semi-transparent mask by using the image dithering algorithm within a preset dithering range, and acquire a backlight value of the display content after the first dithering process;

[0139] The determination module 540 is configured to determine a target jitter range of the display content according to the backlight value, and determine an adjustment jitter value of the image jitter algorithm according to the preset jitter range and the target jitter range;

[0140] The execution module 550 is configured to adjust the preset jitter range according to the adjusted jitter value to obtain an adjusted jitter range, and perform jitter processing on the display content through the image jitter algorithm according to the adjusted jitter range.

[0141] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0142] In addition, it is worth noting that for the convenience and simplicity of description, the embodiments described in the specification are all preferred embodiments, and the parts involved are not necessarily necessary for the present invention. For example, the switching module 510 and the adding module 520 can be independent devices or the same device in specific implementation, and the present disclosure does not limit this.

[0143] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the method for displaying a lock screen interface provided by the present disclosure.

[0144] Figure 6 1 is a block diagram of an electronic device 600 using a display device 500 with a lock screen interface according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0145] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a display component 601, a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0146] Among them, the display component 601 is used to respond to the user's operation of lighting up the lock screen interface, and display corresponding display content on the display interface, such as displaying one or more of instant notification messages, time information, fingerprint unlocking button, and power information.

[0147] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the display method of the lock screen interface described above. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0148] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0149] The power component 606 provides power to the various components of the electronic device 600. The power component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.

[0150] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0151] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.

[0152] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button and lock button, which are used to detect the user's operation of lighting up the lock screen interface.

[0153] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the operation of the user lighting up the lock screen interface, and can also detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0154] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0155] In an exemplary embodiment, the electronic device 600 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned lock screen interface display method.

[0156] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to complete the display method of the lock screen interface. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0157] In another exemplary embodiment, a computer program product is also provided, which includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned lock screen interface display method when executed by the programmable device.

[0158] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0159] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for displaying a lock screen interface, characterized in that: The display method comprises: In response to an instruction to light up the lock screen interface, switching the screen to a background highlight mode; Adding a semi-transparent mask to the display content on the lock screen interface; and, Obtaining a backlight value of the displayed content after adding the semi-transparent mask; Determining a jitter range of an image jitter algorithm according to the backlight value, wherein the jitter range is negatively correlated with the backlight value; Performing dithering processing on the displayed content by using the image dithering algorithm according to the dithering range; The backlight value includes a pixel value of each primary color of the three primary colors of the display content, and determining the jitter range of the image jitter algorithm according to the backlight value includes: Determine a brightness suppression coefficient of the semi-transparent mask layer according to the pixel value of each primary color, wherein the brightness suppression coefficient of the semi-transparent mask layer is determined by multiplying the pixel values ​​of each primary color; Determining a precision loss range of the displayed content according to the brightness suppression coefficient; The jitter range of the image jitter algorithm is determined according to the precision loss range, wherein the jitter range of the image jitter algorithm is pre-set, and when the precision loss range is smaller, the reduction value of the image jitter algorithm is smaller, and the jitter range of the image jitter algorithm is larger, and when the precision loss range is larger, the reduction value of the image jitter algorithm is larger, and the jitter range of the image jitter algorithm is smaller.

2. The method for displaying a lock screen interface according to claim 1, characterized in that: The image dithering algorithm includes a Bayer ordered dithering algorithm or a hole and cluster dithering algorithm.

3. A display device for a lock screen interface, characterized in that: include: A switching module, configured to switch the screen to a background highlight mode in response to an instruction to light up the lock screen interface; An adding module, configured to add a semi-transparent mask to the display content on the lock screen interface; An acquisition module, configured to acquire a backlight value of the displayed content after adding the semi-transparent mask; a determination module, configured to determine a jitter range of an image jitter algorithm according to the backlight value, wherein the jitter range is negatively correlated with the backlight value; an execution module, configured to perform dithering processing on the displayed content by using the image dithering algorithm according to the dithering range; Wherein, the backlight value includes a pixel value of each primary color of the three primary colors of the display content; The determination module comprises: A first determination submodule is configured to determine a brightness suppression coefficient of the semi-transparent mask layer according to the pixel value of each primary color, wherein the brightness suppression coefficient of the semi-transparent mask layer is determined by multiplying the pixel values ​​of each primary color; A second determination submodule is configured to determine a precision loss range of the displayed content according to the brightness suppression coefficient; The third determination submodule is configured to determine the jitter range of the image jitter algorithm according to the precision loss range, wherein the jitter range of the image jitter algorithm is pre-set, and when the precision loss range is smaller, the reduction value of the image jitter algorithm is smaller, and the jitter range of the image jitter algorithm is larger; when the precision loss range is larger, the reduction value of the image jitter algorithm is larger, and the jitter range of the image jitter algorithm is smaller.

4. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: In response to an instruction to light up the lock screen interface, switching the screen to a background highlight mode; Adding a semi-transparent mask to the display content on the lock screen interface; and, Obtaining a backlight value of the displayed content after adding the semi-transparent mask; Determining a jitter range of an image jitter algorithm according to the backlight value, wherein the jitter range is negatively correlated with the backlight value; Performing dithering processing on the displayed content by using the image dithering algorithm according to the dithering range; The backlight value includes a pixel value of each primary color of the three primary colors of the display content, and determining the jitter range of the image jitter algorithm according to the backlight value includes: Determine a brightness suppression coefficient of the semi-transparent mask layer according to the pixel value of each primary color, wherein the brightness suppression coefficient of the semi-transparent mask layer is determined by multiplying the pixel values ​​of each primary color; Determining a precision loss range of the displayed content according to the brightness suppression coefficient; The jitter range of the image jitter algorithm is determined according to the precision loss range, wherein the jitter range of the image jitter algorithm is pre-set, and when the precision loss range is smaller, the reduction value of the image jitter algorithm is smaller, and the jitter range of the image jitter algorithm is larger, and when the precision loss range is larger, the reduction value of the image jitter algorithm is larger, and the jitter range of the image jitter algorithm is smaller.

5. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 2 are implemented.