Spot display method, unlocking method and electronic device

CN121147983BActive Publication Date: 2026-08-21HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410728641.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2026-08-21
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

目前光学指纹识别技术主要包括短焦指纹和超波指纹两种类型,短焦指纹尺寸较大,因此只能安装在屏幕靠下的位置,而显示屏通常采用顶部刷新模式,因此扫描信号从显示屏到达短焦指纹所在区域需要先经过大部分像素行,因此光斑启亮时间较长,影响了指纹识别时间

Benefits of technology

[0015]这样在显示屏切换扫描模式时可以通过压黑蒙版作为背景来避免闪屏或偏色问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121147983B_ABST
    Figure CN121147983B_ABST
Patent Text Reader

Abstract

The application provides a light spot display method, an unlocking method and an electronic device. The light spot display method is applied to an electronic device, and the electronic device comprises a display driving chip and a display screen. The method comprises the following steps: detecting a touch operation of a fingerprint detection area to generate a fingerprint event; in response to the fingerprint event, the display screen is scanned in a second scanning mode, and a fingerprint light spot is displayed. The second scanning mode is a mode of scanning row by row from a side of the display screen close to the display driving chip to a side away from the display driving chip. According to the embodiment of the application, the light-on time of the light spot can be shortened, and the fingerprint identification experience of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical fingerprint recognition technology, and in particular to a light spot display method, an unlocking method, and an electronic device. Background Technology

[0002] Fingerprint recognition technology identifies fingerprint information by sensing and analyzing the signals of the valleys and ridges of a fingerprint using a fingerprint recognition module. Based on different fingerprint imaging principles, fingerprint recognition technology is currently mainly divided into three categories: capacitive fingerprint recognition, optical fingerprint recognition, and ultrasonic fingerprint recognition. Among them, optical fingerprint recognition technology has advantages such as strong penetration ability and support for full-screen displays, and is widely used in electronic devices.

[0003] In-display fingerprint recognition uses optical fingerprint recognition technology. Its principle is based on photoelectric reflection. When a finger presses the touchscreen, a light spot is formed in the fingerprint detection area of ​​the display. The light from this spot passes through the glass cover and reaches the finger, where it is reflected. Different fingerprint patterns result in different reflected light. This reflected light passes through the display and returns to the fingerprint sensor beneath it. The fingerprint sensor then captures the fingerprint image, enabling fingerprint recognition. Currently, optical fingerprint recognition technology mainly includes two types: short-focus fingerprint sensors and ultrasonic fingerprint sensors. Short-focus fingerprint sensors are larger and therefore can only be installed at the bottom of the screen. Since displays typically use a top refresh mode, the scanning signal needs to pass through most of the pixel rows to reach the short-focus fingerprint area, resulting in a longer light spot activation time and affecting fingerprint recognition time. Summary of the Invention

[0004] To address the aforementioned technical issues, this application provides a light spot display method, an unlocking method, and an electronic device, which can shorten the light spot activation time and improve the user's fingerprint recognition experience.

[0005] In a first aspect, this application provides a method for displaying light spots, applied to an electronic device, the electronic device including a display driver chip and a display screen, the method comprising:

[0006] Detect touch operations in the fingerprint detection area and generate fingerprint events;

[0007] In response to the fingerprint event, the display screen is scanned in a second scanning mode and a fingerprint spot is displayed. The second scanning mode is a line-by-line scanning mode from the side of the display screen closest to the display driver chip to the side furthest from the display driver chip.

[0008] According to the first aspect of the light spot display method, when the light spot is lit, the display screen is scanned in a second scanning mode. This reduces the distance that the signal from the display driver chip reaches the pixel row where the light spot is located, thereby shortening the light spot lighting time and improving the user's fingerprint recognition experience.

[0009] According to the first aspect, or any implementation of the first aspect above, after the fingerprint spot is displayed, the method further includes:

[0010] The display screen is scanned in a first scanning mode, and the fingerprint spot is displayed. The first scanning mode is a line-by-line scanning mode from the side of the display screen away from the display driver chip to the side closer to the display driver chip.

[0011] This allows the scanning mode to be switched to the first scanning mode during the display duration of the light spot, so that the content can continue to be displayed in the first scanning mode.

[0012] According to the first aspect, or any implementation of the first aspect above, the display fingerprint spot includes: displaying the first spot based on preset first spot display data and first background display data.

[0013] The preset first spot display data and first background display data show the first spot, eliminating the need for the spot drawing process in the logic layer, thus shortening the spot activation time.

[0014] According to the first aspect, or any implementation of the first aspect above, the first background display data is the display data corresponding to the black mask.

[0015] This way, when the display switches scanning modes, a black mask can be used as the background to avoid screen flickering or color distortion.

[0016] According to the first aspect, or any implementation of the first aspect above, the display of the fingerprint spot includes:

[0017] In response to the fingerprint event, second spot display data is obtained, which is display content data obtained by drawing a layer for displaying the spot;

[0018] The second light spot is displayed based on the second light spot.

[0019] Drawing and displaying the second light spot through the logic layer can improve the display effect of the light spot.

[0020] According to the first aspect, or any implementation of the first aspect above, the display of the fingerprint spot further includes:

[0021] In response to the fingerprint event, second spot display data is obtained, which is display content data obtained by drawing a layer for displaying the spot;

[0022] The second light spot is displayed based on the second light spot, and the second light spot covers the first light spot.

[0023] By drawing the second spot through the logic layer and covering the first spot with the second spot, the display effect of the spot can be improved.

[0024] According to the first aspect, or any implementation of the first aspect above, the layer used to display the light spot includes a light spot layer and a mask layer;

[0025] The position and shape of the light spot layer are the same as the position and shape of the light spot displayed on the display screen, and the area of ​​the light spot layer is larger than the size of the light spot displayed on the display screen;

[0026] The mask layer includes a hollowed-out area and a non-hollowed-out area, and the hollowed-out area has the same position, shape and size as the light spot layer.

[0027] This can block out non-light-spot areas and avoid screen flickering or color distortion caused by switching between positive and negative orientations.

[0028] According to the first aspect, or any implementation of the first aspect above, the display of the fingerprint spot includes:

[0029] The first light spot is displayed based on a preset first light spot display;

[0030] In response to the fingerprint event, second background display data is obtained. The second background display data is the display content data obtained by drawing the layer used to display the background. The second background display data is the display data corresponding to the black mask.

[0031] The background is displayed based on the second background and serves as the background for the fingerprint spot.

[0032] This can shorten the light spot's activation time and avoid screen flickering or color distortion caused by switching between positive and negative orientations.

[0033] According to the first aspect, or any implementation of the first aspect above, the method further includes:

[0034] In response to the fingerprint event, the display screen is scanned at the target refresh rate, and the fingerprint spot is displayed.

[0035] Displaying the light spot at the target refresh rate can shorten the light spot's on-time.

[0036] According to the first aspect, or any implementation of the first aspect above, the target refresh rate is the highest refresh rate of the display screen. Displaying the light spot at the maximum refresh rate thus shortens the light spot's on-time.

[0037] Secondly, a method for unlocking is provided, applied to an electronic device, the electronic device including a display driver chip and a display screen, the method comprising:

[0038] The screen is turned on in response to a screen-on operation message, and a first interface is displayed in a first scanning mode. The first scanning mode is a line-by-line scanning mode from the side of the display screen away from the display driver chip to the side closer to the display driver chip.

[0039] Touch operations in the fingerprint detection area generate fingerprint events;

[0040] In response to the fingerprint event, the display screen is scanned in a second scanning mode and a fingerprint spot is displayed. The second scanning mode is a line-by-line scanning mode from the side of the display screen closer to the display driver chip to the side farther away from the display driver chip.

[0041] The display screen is scanned in the first scanning mode, and the fingerprint spot continues to be displayed.

[0042] According to the second unlocking method, the illumination time of the light spot can be shortened, improving the user's fingerprint recognition experience.

[0043] According to the second aspect, or any implementation of the first or second aspect above, the method further includes using a black mask as the background at least during the switching frames between the first scanning mode and the second scanning mode. This can avoid screen flickering or color distortion problems caused by switching between forward and reverse scans.

[0044] According to the second aspect, or any of the first and second aspects above, a black mask is used as the background during the display duration of the fingerprint spot. This can avoid screen flickering or color distortion problems caused by switching between forward and reverse scanning.

[0045] Thirdly, this application provides an electronic device comprising: one or more processors, a memory, and a display screen; the memory being used to store program code; and the one or more processors being used to run the program code, causing the electronic device to perform the light spot display method described in the first aspect and / or the unlocking method described in the second aspect.

[0046] Fourthly, this application provides a computer-readable medium having instructions stored thereon that, when executed on an electronic device, cause the electronic device to perform the spot display method described in the first aspect and / or the unlocking method described in the second aspect.

[0047] Fifthly, this application provides a computer program including instructions for performing the methods in any possible implementations of the first and / or second aspects.

[0048] Sixthly, this application provides a chip including a processing circuit and transceiver pins. The transceiver pins and the processing circuit communicate with each other via an internal connection path. The processing circuit executes the methods in any possible implementation of the first and / or second aspects to control the receiving pin to receive signals and to control the transmitting pin to transmit signals. Attached Figure Description

[0049] Figure 1 This is a schematic diagram illustrating the spot display process as an example.

[0050] Figure 2 This is an illustrative diagram showing the display position of a short-focus fingerprint spot;

[0051] Figure 3 This is a schematic diagram of the structure of a display device as an example.

[0052] Figure 4 This is a schematic diagram of the structure of a pixel driving circuit as an example.

[0053] Figure 5 Example shown Figure 4 The timing diagram of the driving signals of the pixel driving circuit is shown.

[0054] Figure 6 This is a schematic diagram of the gate drive circuit as an example.

[0055] Figure 7 This is a schematic diagram of the structure of an electronic device as an example.

[0056] Figure 8 A schematic diagram of the software architecture of an electronic device as an example;

[0057] Figure 9 An exemplary diagram illustrating the software and hardware workflow of an electronic device in a spot display scenario;

[0058] Figure 10 This is a schematic flowchart illustrating the spot display method according to an embodiment of this application;

[0059] Figure 11 This is a schematic flowchart illustrating another spot display method according to an embodiment of this application;

[0060] Figure 12 This is a schematic flowchart illustrating another spot display method according to an embodiment of this application.

[0061] Figure 13 This is a schematic flowchart illustrating another spot display method according to an embodiment of this application;

[0062] Figure 14 This is a schematic diagram of the light spot on the logic display layer as an example.

[0063] Figure 15 This is a schematic flowchart illustrating another spot display method according to an embodiment of this application;

[0064] Figure 16 This is a schematic flowchart illustrating an unlocking method for an electronic device according to an embodiment of this application.

[0065] Figure 17 This is a schematic diagram illustrating the changes in the display interface during the unlocking process of an electronic device according to an embodiment of this application;

[0066] Figure 18 This is a schematic diagram of the structure of the light spot display device according to an embodiment of this application;

[0067] Figure 19 A schematic block diagram of an apparatus according to an embodiment of this application is shown. Detailed Implementation

[0068] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0069] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0070] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.

[0071] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0072] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units means two or more processing units; multiple systems means two or more systems.

[0073] Figure 1 This is a schematic diagram illustrating the light spot display process, using a mobile phone as an example to explain the under-display fingerprint recognition process. Figure 1 As shown, the display area of ​​the display screen 1 includes a fingerprint detection area 2. When a finger presses on the fingerprint detection area 2, the display screen 1 will display a light spot 3 with sufficient brightness (e.g., ...) at the fingerprint detection area 2. Figure 1 (as shown in (c)).

[0074] Figure 2 This is an illustrative diagram showing the display position of a short-focus fingerprint spot. Figure 2 As shown, due to size limitations, short-focus fingerprint sensors can only be placed at the bottom of the display screen. Taking a 2800*1200 resolution display screen as an example, the coordinates of the center of the light spot are (600, 2520). The center of the light spot is 2520 sub-pixels away from the top of the display screen. As mentioned earlier, for a display screen using the top refresh mode, the scanning signal needs to pass through most of the pixel rows to reach the area where the short-focus fingerprint sensor is located from the top of the display screen. Therefore, the light spot illumination time is relatively long, which affects the fingerprint recognition time.

[0075] In this embodiment of the application, the illumination time of the light spot during each fingerprint recognition refers to the time required for the light spot to go from being off to being lit for the first time.

[0076] To overcome the problem of long activation time for short-focus fingerprint light spots, this application proposes a light spot activation method based on a display screen compatible with both top and bottom refresh modes. The display principle of this screen is first introduced below. In this document, top refresh mode refers to the display panel's scanning signal scanning line by line from the top of the screen downwards, also known as forward scan. Bottom refresh mode refers to the display panel's scanning signal scanning line by line from the bottom of the screen upwards, also known as reverse scan.

[0077] Figure 3 This is a schematic diagram of the structure of a display device. In some examples, such as... Figure 3 As shown, the display device 200 may include: a timing controller 21, a data driver 22, a scan driving circuit 23, a light-emitting driving circuit 24, and a sub-pixel array 25. In some examples, the sub-pixel array 25 may include a plurality of sub-pixels PX arranged in a regular pattern. The scan driving circuit 23 may be configured to provide a scan signal to the sub-pixels PX along a scan signal line; the data driver 22 may be configured to provide a data voltage to the sub-pixels PX along a data line; the light-emitting driving circuit 24 may be configured to provide a light-emitting control signal to the sub-pixels PX along a light-emitting control line; and the timing controller 21 may be configured to control the scan driving circuit 23, the light-emitting driving circuit 24, and the data driver 22.

[0078] In some examples, such as Figure 3 As shown, timing controller 21 can provide grayscale values ​​and control signals of specifications suitable for data driver 22 to data driver 22; timing controller 21 can provide scan clock signals, scan start signals, etc. of specifications suitable for scan driver circuit 23 to scan driver circuit 23; timing controller 21 can provide light emission clock signals, light emission start signals, etc. of specifications suitable for light emission driver circuit 24 to light emission driver circuit 24. Data driver 22 can use the grayscale values ​​and control signals received from timing controller 21 to generate data voltages to be provided to data lines D1 to Di. For example, data driver 22 can sample grayscale values ​​using a clock signal and apply data voltages corresponding to grayscale values ​​to data lines D1 to Di on a sub-pixel line basis. Scan driver circuit 23 can use the scan clock signals, scan start signals, etc. received from timing controller 21 to generate scan signals to be provided to scan lines S1 to Sj. For example, scan driver circuit 23 can sequentially provide scan signals with conduction level pulses to scan lines. In some examples, the scan driver circuit 23 may include a shift register to generate scan signals by sequentially transmitting scan start signals, provided in the form of on-level pulses, to the next stage circuit under the control of the scan clock signal. The light-emitting driver circuit 24 can generate light-emitting control signals to be provided to the light-emitting control lines E1 to Eo using the light-emitting clock signal, light-emitting start signal, etc., received from the timing controller 21. For example, the light-emitting driver circuit 24 can sequentially provide light-emitting control signals with off-level pulses to the light-emitting control lines. The light-emitting driver circuit 24 may include a shift register to generate light-emitting control signals by sequentially transmitting light-emitting start signals, provided in the form of off-level pulses, to the next stage circuit under the control of the clock signal. Here, i, j, and o are all natural numbers.

[0079] In some examples, the display device may include a display substrate. The subpixel array, scan driving circuitry, and light-emitting driving circuitry may be directly disposed on the display substrate. For example, the scan driving circuitry may be disposed on the left bezel of the display substrate, and the light-emitting driving circuitry may be disposed on the right bezel; alternatively, both the left and right bezels of the display substrate may contain the scan driving circuitry and the light-emitting driving circuitry. In some examples, the scan driving circuitry and the light-emitting driving circuitry may be formed together with the subpixels during the subpixel formation process.

[0080] In some examples, the display substrate may include at least a plurality of sub-pixels PX, a plurality of gate lines, and a plurality of data lines Data. The gate lines may extend along a first direction X, and the data lines may extend along a second direction Y. The orthographic projections of the gate lines and data lines Data onto the substrate intersect to form a plurality of sub-pixel regions, each sub-pixel region containing one sub-pixel PX. The data lines Data are electrically connected to the plurality of sub-pixels PX and can be configured to provide data signals to the plurality of sub-pixels PX. The gate lines are also electrically connected to the plurality of sub-pixels PX and can be configured to provide gate control signals to the plurality of sub-pixels PX. In some examples, the gate control signals may include scan signals and light emission control signals.

[0081] In some examples, the data driver can be located on a separate chip or printed circuit board. For example, the data driver can be formed on the lower bezel of the display substrate using chip-on-glass, chip-on-plastic, or chip-on-film methods to connect to the driver chip pins. The timing controller can be located separately from the data driver or integrated with it. However, this embodiment is not limited to this.

[0082] In some examples, a sub-pixel may include a pixel driving circuit and a light-emitting element electrically connected to the pixel driving circuit. The pixel driving circuit may include multiple transistors and at least one capacitor. For example, the pixel driving circuit may be a 3T1C (i.e., 3 transistors and 1 capacitor) structure, a 7T1C (i.e., 7 transistors and 1 capacitor) structure, a 5T1C (i.e., 5 transistors and 1 capacitor) structure, an 8T1C (i.e., 8 transistors and 1 capacitor) structure, or an 8T2C (i.e., 8 transistors and 2 capacitors) structure, etc.

[0083] In some examples, the light-emitting element can be any of the following: a light-emitting diode (LED), an organic light-emitting diode (OLED), a quantum dot light-emitting diode (QLED), or a micro-LED (including mini-LED or micro-LED). For example, the light-emitting element can be an OLED, which can emit red, green, blue, or white light under the drive of its corresponding pixel driving circuit. The color of the light emitted by the light-emitting element can be determined as needed. In some examples, the light-emitting element may include a first electrode, a second electrode, and an organic light-emitting layer located between the first and second electrodes. The first electrode of the light-emitting element can be electrically connected to the corresponding pixel driving circuit. However, this embodiment is not limited in this respect.

[0084] Figure 4 This is a schematic diagram of the structure of a pixel driving circuit as an example. Figure 4 This explanation uses 8T1C as an example. Figure 4 As shown, the pixel driving circuit can be connected to 11 signal lines (data line Data, first scan line SP1, second scan line SN2, first reset line SN1, second reset line SP2, light emission line EM, first initial signal line Vinit1, second initial signal line Vinit2, compensation line DVH, first power supply line VDD, and second power supply line VSS). The gate lines include: first scan line SP1, second scan line SN2, first reset line SN1, second reset line SP2, and light emission line EM.

[0085] In an exemplary implementation, such as Figure 4 As shown, the control electrode of the first transistor T1 is connected to the first node N1, the first terminal of the first transistor T1 is connected to the second node N2, and the second terminal of the first transistor T1 is connected to the third node N3. The control electrode of the second transistor T2 is connected to the first scan line SP1, the first terminal of the second transistor T2 is connected to the data line Data, and the second terminal of the second transistor T2 is connected to the second node N2. The control electrode of the third transistor T3 is connected to the second scan line SN2, the first terminal of the third transistor T3 is connected to the first node N1, and the second terminal of the third transistor T3 is connected to the third node N3. The control electrode of the fourth transistor T4 is connected to the first reset line SN1, the first terminal of the fourth transistor T4 is connected to the first initial signal line Vinit1, and the second terminal of the fourth transistor T4 is connected to the first node N1. The control electrode of the fifth transistor T5 is connected to the light-emitting line EM, the first terminal of the fifth transistor T5 is connected to the first power supply line VDD, and the second terminal of the fifth transistor T5 is connected to the second node N2. The control electrode of the sixth transistor T6 is connected to the light-emitting line EM, the first terminal of the sixth transistor T6 is connected to the third node N3, and the second terminal of the sixth transistor T6 is connected to the fourth node N4. The control electrode of the seventh transistor T7 is connected to the second reset line SP2, the first electrode of the seventh transistor T7 is connected to the second initial signal line Vinit2, and the second electrode of the seventh transistor T7 is connected to the fourth node N4. The control electrode of the eighth transistor T8 is connected to the second reset line SP2, the first electrode of the eighth transistor T8 is connected to the compensation signal line DVH, and the second electrode of the eighth transistor T8 is connected to the second node N2. The first terminal of the capacitor Cst is connected to the first power supply line VDD, and the second terminal of the capacitor Cst is connected to the first node N1.

[0086] In an exemplary embodiment, the first electrode of the light-emitting device is electrically connected to the fourth node N4, and the second electrode of the light-emitting device is connected to the second power line VSS.

[0087] In an exemplary embodiment, the signal of the second power line VSS is a low-level signal, and the signal of the first power line VDD is a continuously high-level signal.

[0088] Based on their characteristics, transistors can be classified into N-type transistors and P-type transistors. When a transistor is P-type, its turn-on voltage is a low-level voltage (e.g., 0V, -5V, -10V, or other suitable voltage), and its turn-off voltage is a high-level voltage (e.g., 5V, 10V, or other suitable voltage). When a transistor is N-type, its turn-on voltage is a high-level voltage (e.g., 5V, 10V, or other suitable voltage), and its turn-off voltage is a low-level voltage (e.g., 0V, -5V, -10V, or other suitable voltage).

[0089] In an exemplary embodiment, the first transistor T1 to the eighth transistor T8 can be either P-type transistors or N-type transistors. Using the same type of transistor in the pixel driving circuit simplifies the process flow, reduces the manufacturing difficulty of the display panel, and improves product yield. In some possible implementations, the first transistor T1 to the eighth transistor T8 may include both P-type and N-type transistors.

[0090] In an exemplary embodiment, the first transistor T1 to the eighth transistor T8 can be a low-temperature polycrystalline silicon (LTPS) thin-film transistor, or an oxide thin-film transistor, or a combination of both. The active layer of the LTPS is made of low-temperature polycrystalline silicon, while the active layer of the oxide thin-film transistor is made of oxide. LTPS transistors have advantages such as high mobility and fast charging, while oxide thin-film transistors have advantages such as low leakage current. Integrating LTPS and oxide thin-film transistors onto a single display substrate to form a low-temperature polycrystalline oxide (LTPO) display substrate leverages the advantages of both, enabling low-frequency driving, reducing power consumption, and improving display quality.

[0091] In an exemplary implementation, such as Figure 4 As shown, the third transistor T3 and the fourth transistor T4 can be N-type transistors, while the first transistor T1, the second transistor T2, the fifth transistor T5 to the eighth transistor T8 can be P-type transistors.

[0092] Figure 5 For example Figure 4 The timing diagram of the driving signals of the pixel driving circuit is shown.

[0093] In an exemplary embodiment, the operation of the pixel driving circuit may include:

[0094] In the first stage, P1, also known as the first reset stage, the signals of the first reset line SN1 and the second reset line SP2 are low-level signals, while the signals of the first scan line SP1, the second scan line SN2, and the light-emitting line EM are high-level signals. The low-level signal of the second reset line SP2 turns on the seventh transistor T7 and the eighth transistor T8. The signal of the second initial signal line Vinit2 is provided to the fourth node N4 to initialize (reset) the first electrode of the light-emitting device L, clearing the original charge from the first electrode. The signal of the compensation signal line DVH is provided to the second node N2 to initialize (reset) the second node N2, clearing the original charge from the second node N2 and resetting and compensating the DTFT (i.e., T1) (generally located between VGMP and AVDD voltages), weakening the DTFT bias state. In this stage, the first transistor T1 is turned on. The high-level signal of the second scan line SN2 turns on the third crystal T3. The signal from the second node N2 is supplied to the first node N1 and the third node N3. The first node N1 and the third node N3 are initialized. The signal of the first reset line SN1 is a low-level signal, and the signals of the first scan line SP1 and the light-emitting line E are high-level signals. The second transistor T2, the fourth output transistor T4, the fifth transistor T5, and the sixth transistor T6 are disconnected. During this stage, the light-emitting device L does not emit light.

[0095] The second stage, P2, is called the second reset stage. The signals of the first reset line SN1, the second reset line SP2, the first scan line SP1, the second scan line SN2, and the light-emitting line EM are all high-level signals. The high-level signal of the first reset line SN1 turns on the fourth transistor T4, and the signal of the first initial signal line Vinit1 is provided to the first node N1, re-initializing (resetting) the first node N1 and clearing the original charge in the third node N1. During this stage, the first transistor T1 remains on. The high-level signal of the second scan line SN2 turns on the third transistor T3. The signal from the first node N1 is provided to the third node N3, continuously initializing it. The signals of the second reset line SP2, the first scan line SP1, and the light-emitting line EM are all high-level signals, while the second transistor T2, the fifth transistor T5, the sixth transistor T6, the seventh transistor T7, and the eighth transistor T8 are off. During this stage, the light-emitting device L does not emit light.

[0096] The third stage, P3, is called the data writing stage or threshold compensation stage. The signals of the first scan line SP1 and the first reset line SN1 are low-level signals, while the signals of the second reset line SP2, the second scan line SN2, and the light-emitting line EM are high-level signals. The data line Data outputs a data voltage. During this stage, the first transistor T1 remains continuously on. The low-level signal of the first scan line SP1 turns on the second transistor T2. The high-level signal of the second scan line SN2 turns on the third transistor T3. The data voltage output from the data line Data is supplied to the first node N1 via the on-state second transistor T2, the second node N2, the on-state first transistor T1, the third node N3, and the on-state third transistor T3. The difference between the data voltage output from the data line Data and the threshold voltage of the first transistor T1 is charged into capacitor Cst. The voltage at the second terminal of capacitor Cst (first node N1) is Vd - |Vth|, where Vd is the data voltage output from the data line Data, and Vth is the threshold voltage of the first transistor T1. The signals of the first reset line SN1, the second reset line SP2, and the light-emitting line EM are at a high level, and the fourth transistor T4, the fifth transistor T5, the sixth transistor T6, the seventh transistor T7, and the eighth transistor T8 are disconnected. During this stage, the light-emitting device L does not emit light.

[0097] In the fourth stage, P4, known as the continuous compensation stage, the signal of the first reset line SN1 is a low-level signal, while the signals of the second reset line SP2, the first scan line SP1, the second scan line SN2, and the light-emitting line EM are high-level signals. When the signal of the second scan line SN2 is high, the third transistor T3 remains continuously turned on. When the signal of the first reset line SN1 is low, while the signals of the first scan line SP1, the second reset line SP2, and the light-emitting line EM are high, the second transistor T2, the fourth transistor T4, the fifth transistor T5, the sixth transistor T6, the seventh transistor T7, and the eighth transistor T8 are turned off. Although the data line Data stops writing, the second node N2 still supplies power to the first node N1 through the turned-on first transistor T1, the third node N3, and the turned-on third transistor T3, continuously compensating for the threshold voltage of the first transistor T1.

[0098] In the fifth stage, P5, also known as the bias stage, the signals of the second scan line SN2, the first reset line SN1, and the second reset line SP2 are low-level signals, while the signals of the first scan line SP1 and the light-emitting line EM are high-level signals. When the first reset line SN1 and the second scan line SN2 are low-level signals, and the signals of the first scan line SP1 and the light-emitting line EM are high-level signals, the second transistor T2, the third transistor T3, the fourth transistor T4, the fifth transistor T5, and the sixth transistor T6 are all off. When the second reset line SP2 is low-level, the seventh transistor T7 and the eighth transistor T8 are turned on. The signal of the compensation signal line DVH is written to the second node N2 and the third node N3, and the signal of the second initial signal line Vinit2 is written to the fourth node N3. During this stage, the first transistor T1 is in a biased state, and the light-emitting device L does not emit light.

[0099] In the sixth stage, P6, also known as the light-emitting stage, the signals of the first reset line SN1, the light-emitting line EM, and the second scan line SN2 are low-level signals, while the signals of the second reset line SP2 and the first scan line SP1 are high-level signals. The low-level signal of the light-emitting signal line EM turns on the fifth transistor T5 and the sixth transistor T6. The power supply voltage output from the first power supply line VDD provides a driving voltage to the first electrode of the light-emitting device L through the turned-on fifth transistor T5, first transistor T1, and sixth transistor T6, driving the light-emitting device L to emit light.

[0100] During the pixel driving circuit operation, the driving current flowing through the first transistor T1 (driving transistor) is determined by the voltage difference between its gate electrode and its first electrode. Since the voltage at the first node N1 is Vdata-|Vth|, the driving current of the first transistor T1 is:

[0101] I = K * (Vgs - Vth) 2 =K*[(Vdd-Vdata+|Vth|)-Vth] 2 =K*[(Vdd-Vdata)] 2

[0102] Where I is the driving current flowing through the first transistor T1, which is also the driving current driving the light-emitting device L, K is a constant, Vgs is the voltage difference between the gate electrode and the first electrode of the first transistor T1, Vth is the threshold voltage of the first transistor T1, Vdata is the data voltage output by the data line D, and Vdd is the power supply voltage output by the first power line VDD.

[0103] As can be seen from the derivation of the above current formula, during the light-emitting stage, the driving current of the first transistor T1 is no longer affected by the threshold voltage of the first transistor T1, thereby eliminating the influence of the threshold voltage of the first transistor T1 on the driving current, ensuring uniform display brightness of the display product, and improving the display effect of the entire display product.

[0104] It should be understood that the pixel driving circuit and driving method are not limited to Figure 4 and Figure 5 As illustrated, various other pixel driving circuits and driving methods in the art can also be applied to the display panel / display device of the embodiments of this application.

[0105] In some examples, the signals for the gate lines (including the first scan line SP1, the second scan line SN2, the first reset line SN1, the second reset line SP2, and the light-emitting line EM) are provided by a gate drive circuit. This gate drive circuit includes multiple cascaded shift register units.

[0106] In some examples, the gate driving circuit can use a shift register unit closer to the driver chip as the starting stage. From this starting stage, a fixed transmission direction for the scan signal is established, moving away from the driver chip. Following this fixed transmission direction, the shift register unit is controlled to output scan signals to the sub-pixels within the display area step by step. Alternatively, the gate driving circuit can also use a shift register unit farther from the driver chip as the starting stage. From this starting stage, a fixed transmission direction for the scan signal is established, moving towards the driver chip. Following this fixed transmission direction, the shift register unit is controlled to output scan signals to the sub-pixels within the display area step by step. That is, this gate driving circuit supports both forward scan (also known as top refresh) and reverse scan (also known as bottom refresh).

[0107] Figure 6 This is a schematic diagram illustrating the structure of an exemplary gate drive circuit. Figure 6 As shown, the gate drive circuit 400 includes n shift register cells (VSRs) arranged along a first direction X, where n can be a positive integer. The first direction X can be a direction intersecting the scan signal lines in the display panel; for example, the first direction X can be a direction perpendicular to the scan signal lines.

[0108] It should be noted that, in this embodiment, the first direction X is used as an example, referring to the direction from the distance away from the display panel driver chip to the distance from the display panel driver chip. This first direction is the same as the transmission direction of the scan signal SCAN when the shift register unit VSR is operating in forward scan mode. Correspondingly, the first shift register unit VSR arranged along the first direction X is the farthest from the driver chip, and the nth shift register unit VSR is the shortest from the driver chip.

[0109] In some optional examples, such as Figure 6 As shown, in the gate drive circuit 400, along the first direction X, the input terminal IN of the first shift register unit VSR is electrically connected to the start transmission signal line STV. Along the first direction X, the input terminal IN of the nth shift register unit VSR is also electrically connected to the start transmission signal line STV. The start transmission signal line STV is connected to the driver chip DDIC and receives the start signal STV from the DDIC. The DDIC may include... Figure 3 The timing controller 21 and / or data driver 22 in the middle.

[0110] like Figure 6 As shown, along the first direction X, except for the first shift register unit VSR and the nth shift register unit, the input terminal IN of the mth shift register unit VSR is electrically connected to the scan signal output terminals OUT of the (m+1)th and (m-1)th shift register units VSR, respectively, where 2≤m≤n-1. Thus, by setting the connection relationship between the input terminal of a single shift register unit VSR and the scan signal output terminals OUT of two adjacent shift register units VSR, along the first direction X, the input terminal IN of a single shift register unit VSR can simultaneously receive signals from the scan signal output terminals OUT of two adjacent shift register units. This allows the multiple shift register units VSR of the gate drive circuit 400 to have two scan signal transmission directions, thus being compatible with both forward and reverse scan modes. Therefore, it provides a gate drive control scheme with at least two modes, suitable for various needs, and improves the compatibility of the display panel.

[0111] In this example, the number n of shift register units (VSRs) can be greater than the number of pixel rows in the display panel.

[0112] It should be noted that, since this application embodiment needs to provide a gate drive control scheme applicable to both forward and reverse scanning modes, each shift register unit (VSR) in the first direction X requires the cooperation of two adjacent shift register units (VSRs). To ensure that the gate drive circuit 400 can output the scan signal SCAN normally to each sub-pixel, several more shift register units (VSRs) can be set compared to the number of pixel rows, thereby ensuring that the gate drive circuit 400 stably outputs the scan signal SCAN to each sub-pixel.

[0113] Furthermore, considering that there may be virtual pixel rows in the display area and that there may be no transmission of shift register unit VSR in the gate drive circuit 400 (no transmission means that the scan signal output by the shift register unit VSR is not transmitted to the pixel circuit, but only transmitted to the next level shift register unit VSR) the number of pixel rows in the display panel is greater than the number of rows in the display panel.

[0114] For example, the above-mentioned forward scanning mode (also known as top refresh mode) can use the direction from away from the display panel driver chip to near the display panel driver chip as the transmission direction of the scan signal SCAN, and the above-mentioned reverse scanning mode (also known as bottom refresh mode) can use the direction from away from the driver chip to near the display panel driver chip as the transmission direction of the scan signal SCAN.

[0115] For example, with the ground as a reference and the normal display screen as a reference, when the display panel where the gate driving circuit 400 is located is placed, the gate driving circuit 400 can be considered to be working in forward scanning mode when the scan signal SCAN is output to the sub-pixels sequentially from top to bottom, and the gate driving circuit 400 can be considered to be working in reverse scanning mode when the scan method is from bottom to top.

[0116] It should be noted that when the shift register unit VSR is operating in forward scan mode, the input terminal IN of the first shift register unit VSR arranged along the first direction X can be electrically connected to the start transmission signal line STV, and can receive the start signal transmitted by the start transmission signal line STV. At this time, the input terminal IN of the nth shift register unit VSR does not need to be connected to the start signal transmitted by the start transmission signal line STV, and the input terminal IN of the nth shift register unit VSR can be electrically connected to the scan signal output terminal OUT of the (n-1)th shift register unit VSR.

[0117] When the shift register units (VSRs) are operating in reverse scan mode, the input terminal IN of the first shift register unit VSR arranged along the first direction X can be disconnected from the start signal transmitted by the start transmission signal line STV, and the input terminal IN of the first shift register unit VSR can be electrically connected to the scan signal output terminal OUT of the second shift register unit VSR. The input terminal IN of the nth shift register unit VSR can be electrically connected to the start transmission signal line STV, and the start signal transmitted by the start transmission signal line STV can be connected.

[0118] In some optional examples, such as Figure 6 As shown, the input terminal IN of the first shift register unit VSR arranged along the first direction X can be accessed through the first forward scan switch S1. 正 The starting transmission signal line STV is electrically connected, and the scan signal output terminal OUT of the second shift register unit VSR is back-connected via the first reverse scan switch S1. The input terminal IN of the nth shift register unit VSR arranged along the first direction X can be connected via the nth forward scan switch Sn. 正 (Not shown in the diagram) The scan signal output terminal OUT in the (n-1)th shift register unit VSR is electrically connected, and the signal is transmitted through the nth reverse scan switch Sn. 反The electrical connection is established on the start-transmission signal line STV. Except for the first shift register VSR and the nth shift register VSR, the input IN of the mth shift register VSR is connected to the mth forward scan switch Sm. 正 It is electrically connected to the scan signal output terminal OUT of the (m-1)th shift register unit VSR, and is connected through the m-th reverse scan switch Sm 反 The gate drive circuit 400 is electrically connected to the scan signal output terminal OUT of the (m+1)th shift register unit VSR, where 2 ≤ m ≤ n-1. With this configuration, the gate drive circuit 400 can operate in forward scan mode when all forward scan switches are turned on and all reverse scan switches are turned off. Conversely, the gate drive circuit 400 can operate in reverse scan mode when all forward scan switches are turned off and all reverse scan switches are turned on.

[0119] It should be understood that, in Figure 6 The gate drive circuit 400 shown only schematically illustrates the start transmission signal line STV and the cascaded signal lines of each shift register unit, thereby demonstrating the principle of gate drive circuit 400's compatibility with forward and reverse scans. The clock signal lines, power supply lines, and control lines of each switch required by the gate drive circuit 400 are not shown for simplicity; those skilled in the art can perform appropriate wiring as needed, which will not be described here.

[0120] It should also be understood that Figure 6 The cascading method of each shift register unit shown is only one cascading method that satisfies compatibility with forward and reverse scans. Other cascading modes that are compatible with forward and reverse scans are also applicable to the embodiments of this application. Similarly, Figure 6 The gate drive circuit 400 shown is only one example of a forward / reverse scan switching control method. Other control methods that can achieve forward / reverse scan switching can also be applied to the embodiments of this application.

[0121] In this application embodiment, a spot activation method is proposed based on a screen compatible with both forward and reverse scanning to shorten the spot activation time. In the spot display method of this application embodiment, the scanning mode of the display screen is switched to reverse scanning mode when the spot is illuminated, and then switched back to forward scanning mode after illumination, thereby shortening the spot activation time and improving the fingerprint recognition experience.

[0122] Please refer to Figure 2 ,by Figure 2Taking the display screen and light spot position as an example, when the display screen uses forward scan / top refresh mode throughout, the time from DDIC enable to the actual light spot activation is t1 = 2520 / 2800 × 8.3 = 7.47ms. After dynamically switching to reverse scan, the time from DDIC enable to the actual light spot activation is t2 = (2800-2520) / 2800 × 8.3 = 0.83ms. In this example, taking the display screen refresh rate of 120Hz as an example, using the light spot activation method of this application, the light spot activation time is shortened by 7.47 - 0.83 = 6.64ms.

[0123] Considering the VBP and VFP areas (virtual pixel areas) of the display, taking 40 rows of sub-pixels for VBP and VFP as an example, when using the forward scan / top refresh mode throughout, the time from DDIC enable to the actual illumination of the light spot is:

[0124]

[0125] After dynamically switching to reverse scan, the time from DDIC enable to actual spot lighting is...

[0126]

[0127] In this example, with a refresh rate of 120Hz, the light spot activation method of this application shortens the light spot activation time by 7.4-0.93=6.47ms, which is 87%.

[0128] As described above, for each frame of an image, the writing and holding time of capacitor Cst (i.e., node N1) in the pixel driving circuit is fixed. Typically, for a certain row of pixels, after Vdata is written, it needs to be displayed for a full frame until the next reset and rewriting. Therefore, for the pixel row where the light spot is located, if the light spot display method of this application is used and the fingerprint light spot is activated at the moment the forward scan is completed, the display needs to be switched to reverse scan mode immediately. In this case, for the pixels in the lower half of the display, Cst is written twice in a short period of time, and the circuit characteristics of the TFT change from the state of holding for one frame (T1 is most affected), which manifests as color shift or screen flickering in the lower half of the screen, affecting the user experience. This application also proposes a light spot display method that can shorten the light spot activation time while avoiding screen flickering or color shifting problems caused by forward and reverse scan switching.

[0129] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0130] like Figure 7As shown, the electronic device may include a processor 110, an internal memory 120, a display screen 130, a touch sensor 140, and a fingerprint sensor 150.

[0131] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0132] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0133] The controller can serve as the nerve center and command center of an electronic device. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.

[0134] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0135] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include inter-integrated circuit (I2C) interfaces, mobile industry processor interfaces (MIPI), general-purpose input / output (GPIO) interfaces, etc.

[0136] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to the fingerprint sensor 150, touch sensor 140, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 140 through the I2C interface, enabling the processor 110 and the touch sensor 140 to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device.

[0137] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 130. The MIPI interface includes a display serial interface (DSI). In some embodiments, the processor 110 and the display screen 130 communicate via the DSI interface to realize the display function of the electronic device.

[0138] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the display 130, touch sensor 140, fingerprint sensor 150, etc. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc. The UART interface is a universal serial data bus used for asynchronous communication.

[0139] It is understood that the interface connection relationships between the modules illustrated in this embodiment are merely illustrative and do not constitute a limitation on the structure of the electronic device. In other embodiments of this application, the electronic device may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0140] The internal memory 120 can be used to store computer executable program code, which may include an operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc. The executable program code includes instructions, and the processor 110 executes the instructions stored in the internal memory 120 to enable the electronic device to perform various functional applications and data processing. For example, in this embodiment, the processor 110 executes the instructions in the internal memory 120 to enable the electronic device to perform the spot display method provided in this application embodiment.

[0141] The internal memory 120 may include a program storage area and a data storage area. The program storage area may store computer-executable program code. The data storage area may store data created during the use of the electronic device (such as audio data, phonebooks, etc.). Furthermore, the internal memory 120 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0142] Electronic devices implement display functions through a GPU, a display screen 130, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 130 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0143] The display screen 130 is used to display images, videos, etc. The display screen 130 includes a display panel.

[0144] The display screen 130 of an electronic device can display a series of graphical user interfaces (GUIs), which serve as the main screen of the electronic device. Generally, the size of the display screen 130 is fixed, and only a limited number of controls can be displayed on it. A control is a GUI element, a software component contained within an application, that controls all the data processed by the application and the interactive operations related to that data. Users can interact with controls through direct manipulation, thereby reading or editing information related to the application. Generally, controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.

[0145] For example, in this embodiment of the application, the display screen 130 can display a fingerprint recognition prompt icon in the fingerprint collection area, such as... Figure 1 The fingerprint pattern shown in fingerprint detection area 2 in (a) is shown in the image.

[0146] In this embodiment, the display screen 130 is used as the light source for fingerprint detection. Therefore, the display panel of the display screen 130 is a self-emissive display panel, which can control each display pixel (also known as a display unit) to emit light independently.

[0147] In this embodiment, the display pixels in the self-emissive display screen are controlled to emit light with a certain brightness, thereby displaying a light spot with a certain brightness in the fingerprint detection area. The light emitted by the light spot serves as the light source for fingerprint detection.

[0148] For example, self-emissive displays may include, but are not limited to: organic light-emitting diodes (OLEDs), active-matrix organic light-emitting diodes (AMOLEDs), flexible light-emitting diodes (FLEDs), MiniLEDs, MicroLEDs, MicroLEDs, quantum dot light-emitting diodes (QLEDs), etc. In some embodiments, an electronic device may include one or N displays 130, where N is a positive integer greater than 1.

[0149] Touch sensor 140, also known as a "touch sensor panel" or "touch device," can be located on display screen 130. The touch sensor 140 and display screen 130 together form a touch panel, also called a "touchscreen." Touch sensor 140 detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 130.

[0150] In other embodiments, the touch sensor 140 may also be disposed on the surface of the electronic device, in a different location than the display screen 130.

[0151] The fingerprint sensor 150 is used to collect fingerprints. Electronic devices can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, app access locks, fingerprint photography, fingerprint answering of calls, etc.

[0152] In this embodiment, under-display fingerprint recognition technology is used. The light emitted by the light spot is used as the fingerprint detection light to illuminate the finger above the display screen. After being reflected and scattered by the finger, the light carries fingerprint information and is transmitted through the display screen 130 to the fingerprint sensor 150 under the screen. The fingerprint sensor 150 receives the fingerprint detection light and converts it into a corresponding electrical signal to form a fingerprint image signal.

[0153] The fingerprint sensor 150 can be an optical fingerprint sensor, which can be set below the self-emissive display screen to receive fingerprint detection light carrying fingerprint information. The fingerprint detection light is transmitted to the optical sensing array in the optical fingerprint sensor to perform optical fingerprint imaging and is converted into a corresponding electrical signal, i.e., a fingerprint image signal.

[0154] In addition, an operating system runs on top of the aforementioned components. Examples include Google's Android open-source operating system, Microsoft's Windows operating system, Huawei's HarmonyOS operating system, and Apple's iOS operating system. Applications can be installed and run on this operating system.

[0155] The operating system of an electronic device can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application uses the layered architecture Android system as an example to illustrate the software structure of an electronic device.

[0156] Figure 8 This is a software structure block diagram of an electronic device according to an embodiment of this application.

[0157] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. Taking the Android system as an example, in some implementations, the Android system is divided into four layers, from top to bottom: the application layer (APP), the application framework layer (Framework), the hardware abstraction layer (HAL), and the kernel layer (Kernel).

[0158] The application layer may include a series of application packages. In this embodiment, the application package may include applications related to fingerprint recognition, such as fingerprint recognition itself, for example, fingerprint unlocking, accessing application locks, taking photos with fingerprints, and answering calls with fingerprints. Optionally, such as Figure 8 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, fingerprint, etc.

[0159] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications within the application layer. The application framework layer includes some predefined functions. In this embodiment, such as... Figure 8As shown, the application framework layer can include a fingerprint service (FP service). The application framework layer can provide fingerprint recognition functionality-related APIs for fingerprint recognition applications in the application layer, and provide fingerprint services to these applications to implement fingerprint recognition functionality. Optionally, as... Figure 8 As shown, the application framework layer may also include: window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0160] The system library is responsible for the scheduling and management of the Android system; it includes the core library and the virtual machine.

[0161] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0162] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0163] A system library can include multiple functional modules. For example, a graphics engine.

[0164] A graphics engine is a drawing engine that creates graphics, such as Surface Flinger and SkiaGraphicsLibrary.

[0165] Optionally, the system library may also include a surface manager, media libraries, and 3D graphics processing libraries (e.g., OpenGL ES).

[0166] The surface manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The 3D graphics processing library is used for 3D graphics drawing, image rendering, compositing, and layer processing.

[0167] The Hardware Abstraction Layer (HAL) is the interface layer located between the operating system kernel and the hardware circuitry. The HAL layer includes, but is not limited to, the fingerprint abstraction layer (fingerprintHAL), the layer compositing hardware abstraction layer (hwcomposer, HWC), and the audio hardware abstraction layer (Audio HAL). The fingerprint abstraction layer is used to report fingerprint events to the fingerprint service in the application framework layer. The layer compositing hardware abstraction layer (HWC) is the driver abstraction layer for a dedicated layer compositing chip. For example, in this embodiment, the graphics hardware synthesizer connects the graphics engine and the display driver; that is, the graphics hardware synthesizer acts as a communication bridge between the graphics engine and the display driver, enabling the layers drawn by the graphics engine to be transmitted to the display driver for display. The Audio HAL is used to process the audio stream, such as performing noise reduction and directional enhancement.

[0168] The kernel layer is the layer between hardware and software. In this embodiment, the kernel layer includes at least a display driver and sensor drivers, wherein the sensor drivers include a touch sensor driver (also known as a touch panel driver) and a fingerprint sensor driver (also known as a fingerprint driver). Optionally, the kernel layer may also include a camera driver, an audio driver, etc.

[0169] The kernel layer driver module is used to obtain data reported by one or more sensors in the hardware layer, process it, and report the processing results to the hardware abstraction layer.

[0170] In this embodiment, the hardware layer may include hardware modules such as a sensor module and a display screen. In this embodiment, the sensor module includes at least a touch sensor and a fingerprint sensor. The touch sensor and the display screen together form a touchscreen. The fingerprint sensor is used to acquire fingerprint images.

[0171] It should be noted that although the embodiments of this application are illustrated using the Android system as an example, the basic principles are equally applicable to electronic devices based on operating systems such as Harmony OS, iOS, or Windows.

[0172] The following is combined with Figure 9 The following provides an illustrative description of the software and hardware workflow of electronic devices in a light spot display scenario within the relevant technology:

[0173] When the touch sensor detects a touch operation in the fingerprint detection area, it generates a fingerprint event and reports the event to the touch driver. The fingerprint event is then transmitted to the fingerprint service via the path: touch driver → fingerprint driver → fingerprint abstraction layer → fingerprint service.

[0174] The fingerprint service generates light spot drawing instructions. The graphics engine draws layers (including a light spot layer and a mask layer) to display the light spots according to these instructions and sends the light spot display data to the graphics hardware compositor. The graphics hardware compositor then sends the light spot display data to the display driver. The display driver sends the light spot display data to the DDIC (Display Design Interface), and the DDIC controls the display screen to show the light spots.

[0175] It should be understood that Figure 9 The image shown is merely an exemplary light spot display. Those skilled in the art can employ other processes as needed. For example, after the fingerprint driver detects a fingerprint event, it can be directly transmitted to the display driver, which then controls the display screen to display the light spot. This eliminates the need to report the fingerprint event layer by layer to the fingerprint service, and then have the fingerprint service transmit the light spot display data layer by layer downwards. This saves the time spent on reporting events layer by layer and transmitting instructions layer by layer, thereby greatly shortening the time consumed from the finger pressing the fingerprint detection area to the display of the light spot, improving the response speed of fingerprint events, and thus shortening the overall fingerprint recognition process.

[0176] As mentioned above, during the spot display process in this application embodiment, due to the switching between forward and reverse scanning modes, screen flickering or color distortion problems are prone to occur. In order to overcome this problem, this application embodiment also proposes a spot display method, which uses a black mask as the background while displaying the spot, thereby avoiding the screen flickering problem caused by the switching between forward and reverse scanning.

[0177] The following will combine Figure 10 This application provides a detailed description of the light spot display process provided in the embodiments, using an Android-based electronic device as an example.

[0178] like Figure 10 As shown, the spot display method may include the following steps:

[0179] S110, after the touch sensor detects a touch operation in the fingerprint detection area, it generates a fingerprint event and reports the fingerprint event to the touch driver.

[0180] A touchscreen includes a touch sensor and a display screen. When a finger presses the fingerprint detection area of ​​the touchscreen, the touch sensor detects the touch operation, generates a fingerprint event, and reports the fingerprint event to the touch driver.

[0181] S120, after receiving the fingerprint event, the touch driver transmits the fingerprint event to the fingerprint driver.

[0182] After receiving the fingerprint event reported by the touch sensor, the touch driver continues to transmit the fingerprint event to the fingerprint driver.

[0183] S130, after receiving the fingerprint event, the fingerprint driver transmits the fingerprint event to the display driver through the transmission channel between the fingerprint driver and the display driver.

[0184] After receiving the fingerprint event, the fingerprint driver directly transmits the fingerprint event to the display driver. For example, the fingerprint driver can directly use the transmission channel between the fingerprint driver and the display driver to transmit the fingerprint event to the display driver. This transmission channel refers to the communication connection between the two functional modules that transmits data through a software interface.

[0185] In one possible implementation of this application, the fingerprint event is transmitted using the existing transmission channel between the fingerprint driver and the display driver. In other words, the transmission channel between the fingerprint driver and the display driver used to transmit other types of data is reused to transmit the fingerprint event.

[0186] The existing transmission channel between the fingerprint driver and the display driver refers to the connection between any two software interfaces that have already established a communication connection between them. For example, software interface A of the fingerprint driver and software interface B of the display driver, and a communication connection has been established between these two software interfaces, which is then reused to transmit fingerprint events.

[0187] In another possible implementation, a new transmission channel can be established between the fingerprint driver and the display driver to transmit the fingerprint event to the display module. This transmission channel can be used solely for transmitting fingerprint events.

[0188] In one example, a new transmission channel can be developed to create a new software interface in at least one of the fingerprint driver and display driver, establishing a communication connection with the software interface of another module.

[0189] For example, a new software interface 'a' is developed for the fingerprint driver, and a communication connection is established between this software interface 'a' and the existing software interface 'B' of the display driver. Similarly, a new software interface 'b' is developed for the display driver, and a communication connection is established between this software interface 'b' and the existing software interface 'A' of the fingerprint driver. Furthermore, a new software interface 'a' is developed for the fingerprint driver, a new software interface 'b' is developed for the display driver, and a communication connection is established between software interfaces 'a' and 'b'.

[0190] In another example, a communication connection is established between two existing software interfaces where the fingerprint driver and the display driver have not yet established a communication connection. This communication connection is a newly established transmission channel between the fingerprint driver and the display driver.

[0191] For example, the original software interface C of the fingerprint driver and the original software interface B of the display driver originally had no communication connection. A communication connection is established between software interface C and software interface B. This communication connection is the newly established transmission channel between the fingerprint driver and the display driver.

[0192] S140, the display driver responds to the fingerprint event and sends a light spot display command to the display driver chip.

[0193] The display driver pre-configures an event handling method corresponding to the fingerprint event. When the display driver receives the fingerprint event, it executes the event handling method, generates a light spot display command, and sends it to the display driver chip at the hardware layer.

[0194] S150, the display driver chip responds to the spot display command, scans the display screen in the second scanning mode, and controls the display state of the display screen pixels based on the preset first spot display data and first background display data to display the spot.

[0195] In this embodiment, exemplarily, the first scanning mode is a forward scan mode or a top refresh mode, that is, scanning line by line from the side of the display screen away from the display driver chip to the side closer to the display driver chip. The second scanning mode is a reverse scan mode or a bottom refresh mode, that is, scanning line by line from the side of the display screen closer to the display driver chip to the side away from the display driver chip. In this document, the side of the display screen away from the display driver chip is also referred to as the top of the display screen, and the side of the display screen closer to the display driver chip is also referred to as the bottom of the display screen. The side of the display screen closer to the display driver chip refers to the side where the display driver chip requires less time to send signals to the pixel rows of the display screen. The side of the display screen away from the display driver chip refers to the side where the display driver chip requires more time to send signals to the pixel rows of the display screen. Furthermore, generally speaking, the side where the display driver chip requires less time to send signals to the pixel rows of the display screen is the same side as the side where the pixel rows of the display screen are physically closer to the display driver chip. The side where the display driver chip requires more time to send signals to the pixel rows of the display screen is the same side as the side where the pixel rows of the display screen are physically farther away from the display driver chip.

[0196] The display driver chip is pre-configured with an event handling method corresponding to the spot display command. When the display driver chip receives the spot display command, it executes the event handling method, that is, controls the display screen to scan in the second scanning mode. Specifically, if the current scanning mode of the display screen is the first scanning mode, the first scanning mode is switched to the second scanning mode, and the display screen is scanned in the second scanning mode; if the current scanning mode of the display screen is the second scanning mode, the display screen continues to be scanned in the second scanning mode.

[0197] After switching the display's scanning mode from the first scanning mode to the second scanning mode, as mentioned earlier, the time required for the display signal to reach the pixel at the location of the light spot is reduced, thus shortening the light spot activation time and improving the fingerprint recognition experience.

[0198] In this embodiment of the application, for example, the first spot display data and the first background display data are initialized in the display driver chip. For example, the first spot display data and the first background display data have been written before the display is shipped from the factory.

[0199] The first spot display data and the first background display data are data that can control the display state of the display pixels of the display screen; that is, the spot display data and the background display data are data that the display driver chip can recognize.

[0200] The display driver chip is pre-configured with an event handling method corresponding to the spot display command. When the display driver chip receives the spot display command, it executes the event handling method, that is, reads the first spot display data and the first background display data from the display driver chip, and further controls the display state of the display pixels of the display screen, such as display brightness and display color, according to the first spot display data and the first background display data, so as to finally realize the display of the spot on the display screen.

[0201] In one exemplary embodiment, the first light spot display data includes the position, color, shape, and size of the light spot. For example, the position of the light spot can be the position coordinates of the center of the light spot on the entire display screen, and these position coordinates can be represented using pixel positions. The shape and size can be represented using pixels, for example, a circular area with a diameter of n pixels centered at the center of the light spot. The color can be represented using RGB color values.

[0202] The position of the light spot can be determined based on the position of the fingerprint detection area. Typically, the light spot is located within the fingerprint detection area, which in turn depends on the position of the fingerprint sensor. Furthermore, this application does not limit the size relationship between the light spot display area and the fingerprint detection area; generally, to obtain a clear fingerprint image, the area of ​​the light spot is larger than the area of ​​the fingerprint detection area.

[0203] The shape of the light spot can be set according to actual needs. Considering that fingerprints are usually oval, the shape of the light spot area can be circular, oval, annular, or other shapes. This application does not have any special limitations on this. The color of the light spot is usually white, but it can also be other colors. This application does not have any special limitations on this.

[0204] For example, the display screen determines the display area of ​​the light spot on the display screen according to the position, shape and size of the light spot. Furthermore, the display brightness of the display pixels on the display screen that are within the display area of ​​the light spot is controlled to reach a certain brightness and the color is a specified color, such as white. The display pixels in other areas of the display screen are not lit up, and finally a white light spot is displayed on the display screen.

[0205] The brightness of the pixels displayed within the spot display area can be used as a parameter in the event processing corresponding to the spot display command within the display screen; or it can be used as a parameter in the spot display data.

[0206] In an exemplary embodiment, the first background display data includes the position, color, shape, and size of the background area. The position of the background can be an area other than the light spot. The shape of the background can be composed of a cutout area corresponding to the light spot position and a non-cutout area outside the light spot. The color of the background can be black or another color close to black to block light, and when using a black background, the potential of node N1 in the pixel driving circuit is always maintained at VGMP voltage (the highest voltage of the gamma module). When T1 is off, the OLED will not light up, that is, the pixels in the background area do not emit light, which means that a black mask is used as the background, thereby avoiding the screen flickering problem during switching.

[0207] In another embodiment of this application, the first spot display data and the first background display data can be preset in the display driver, that is, the first spot display data and the first background display data are initialized in the display driver.

[0208] The display driver is pre-configured with event handling methods corresponding to fingerprint events. When the display driver receives a fingerprint event transmitted by the fingerprint driver, it executes the event handling method, which generates a spot display command, reads first spot display data and first background display data from the display driver, and sends the spot display command, the first spot display data, and the first background display data to the display driver chip. The display driver chip responds to the spot display command and executes the operation matching the command, that is, it uses the received first spot display data and first background display data to control the display state of the display pixels in the display screen, thereby displaying a spot on the display screen.

[0209] In another embodiment of this application, the operation performed by the display driver after receiving a fingerprint event differs for the following two different application scenarios:

[0210] In one application scenario, the display driver has pre-set first spot display data and first background display data, but the display driver chip does not have first spot display data and first background display data.

[0211] In this scenario, after receiving a fingerprint event, the display driver generates a spot display command and reads the first spot display data and the first background display data. It then sends the spot display data and the spot display command to the display driver chip. The display driver chip directly uses the first spot display data and the first background display data sent by the display driver to control the display screen to display the spot.

[0212] In another application scenario, the display driver has pre-set first spot display data and first background display data, and the display driver chip also has pre-set first spot display data and first background display data. Furthermore, the spot display data within the display driver has higher priority than the spot display data on the display screen. For example, after the electronic device leaves the factory, the adjusted spot display data is written into the display driver. The spot display data in the electronic device is updated by updating the display driver. The display screen has pre-set spot display data before leaving the factory.

[0213] In this application scenario, after receiving a fingerprint event, the display driver generates a spot display command and reads the spot display data from the display driver. Further, the display driver sends the spot display command and the spot display data to the display driver chip. Upon receiving the spot display interrupt and the spot display data, the display driver chip directly uses the spot display data sent by the display driver to control the display screen to display the spot.

[0214] The spot display method provided in this embodiment involves the fingerprint driver directly transmitting the detected fingerprint event to the display driver, which then sends a spot display command to the display screen. Upon receiving the spot display command, the display driver chip controls the scanning of the display screen in a second scanning mode, thereby shortening the spot activation time. Furthermore, the display driver chip has pre-set first spot display data, which it directly uses to control the display pixels on the display screen to display the first spot. This process eliminates the need to draw spot layers and mask layers, meaning there's no need to report fingerprint events layer by layer to the fingerprint service, and then have the fingerprint service relay the spot display data layer by layer. This saves the time spent on event reporting and command relay, significantly reducing the time from finger pressing the fingerprint detection area to spot display, thus improving the response speed of fingerprint events and consequently shortening the overall fingerprint recognition process.

[0215] In addition, a black mask is used as the background when the light spot is lit, which can avoid screen flickering or color distortion caused by switching scanning modes.

[0216] Moreover, this solution directly pre-sets the first spot display data in the display driver chip. In this way, the display driver only needs to send spot display instructions to the display screen, without sending other types of data. Therefore, it reduces the transmission performance requirements of the software interface between the display driver and the display screen.

[0217] Furthermore, this solution directly controls the display pixels in the light spot display area to be highlighted, while pixels in other areas do not need to be lit, thus reducing the power consumption of the display when displaying light spots.

[0218] In addition, in other embodiments of this application, the first spot display data can also be preset in the display driver. In this way, the first spot display data can be dynamically adjusted according to actual application needs, thereby realizing dynamic adjustment of the final displayed spot.

[0219] Figure 11 This is a schematic flowchart illustrating another spot display method according to an embodiment of this application.

[0220] like Figure 11 As shown, the spot display method may include the following steps:

[0221] S110, after the touch sensor detects a touch operation in the fingerprint detection area, it generates a fingerprint event and reports the fingerprint event to the touch driver.

[0222] S120, after receiving the fingerprint event, the touch driver transmits the fingerprint event to the fingerprint driver.

[0223] S130, after receiving the fingerprint event, the fingerprint driver transmits the fingerprint event to the display driver through the transmission channel between the fingerprint driver and the display driver.

[0224] S140, the display driver responds to the fingerprint event and sends a light spot display command to the display driver chip.

[0225] S160, the display driver chip responds to the spot display command, controls the display screen to scan the display screen in the second scanning mode and target refresh rate, and controls the display state of the display screen pixels based on the preset first spot display data and first background display data to display the spot.

[0226] Figure 11 The method of displaying light spots shown is the same as Figure 10 The difference in the light spot display method shown is that, after receiving the light spot display command, the display driver chip not only scans the display screen in the second scanning mode, but also scans the display screen at the target refresh rate. The target refresh rate is the highest refresh rate of the display screen.

[0227] The display driver chip is pre-configured with an event handling method corresponding to the spot display command. When the display receives the spot display command, it executes the event handling method, that is, controls the display to scan at the target refresh rate. Specifically, if the current refresh rate of the display is not the target refresh rate, the refresh rate of the display is set to the target refresh rate; if the current refresh rate of the display is the target refresh rate, the display is kept refreshing at the target refresh rate.

[0228] For example, the target refresh rate is the highest refresh rate of the display, such as a display that supports 60Hz, 90Hz, and 120Hz. If the current refresh rate is not 120Hz, then the refresh rate is set to 120Hz. This way, because the refresh rate is the highest, the light spot on-time can be minimized. Figure 2 For example, when using a 120Hz refresh rate, the light spot's on-time in reverse scan mode is about 0.8ms, while when using a 90Hz refresh rate, the light spot's on-time is about 1.1ms.

[0229] Figure 11 Other steps of the light spot display method shown are the same as Figure 10 The steps shown are the same, so they will not be repeated here.

[0230] Figure 12 This is a schematic flowchart illustrating another spot display method according to an embodiment of this application.

[0231] like Figure 12 As shown, the spot display method may include the following steps:

[0232] S110, after the touch sensor detects a touch operation in the fingerprint detection area, it generates a fingerprint event and reports the fingerprint event to the touch driver.

[0233] S120, after receiving the fingerprint event, the touch driver transmits the fingerprint event to the fingerprint driver.

[0234] S130, after receiving the fingerprint event, the fingerprint driver transmits the fingerprint event to the display driver through the transmission channel between the fingerprint driver and the display driver.

[0235] S140, the display driver responds to the fingerprint event and sends a light spot display command to the display driver chip.

[0236] S150, the display driver chip responds to the spot display command, scans the display screen in the second scanning mode, and controls the display state of the display screen pixels based on the preset first spot display data and first background display data to display the spot.

[0237] S170 scans the display screen in the first scanning mode and continues to display the light spot.

[0238] Figure 12 The method of displaying light spots shown is the same as Figure 10 The difference in the light spot display method is that after the light spot is lit, step S170 is executed to switch the scanning mode of the display screen to the first scanning mode, and the light spot continues to be displayed in the first scanning mode. As for the display principle of the light spot, it can be displayed in the same way as in S150.

[0239] Similar to the above, at least when switching to the first scanning mode to display the light spot, a black mask is also used as the background to avoid screen flickering or color distortion caused by switching between forward and reverse scanning.

[0240] Figure 12 Other steps of the light spot display method shown are the same as Figure 10 The steps shown are the same, so they will not be repeated here.

[0241] It should be understood that the above-described spot display process is merely exemplary. Other spot display processes may also be employed in this application embodiment. For example, instead of directly displaying the spot data based on preset spot display data, a layer for displaying the spot may be drawn in the logic layer based on preset spot data, and then this layer may be transmitted to the display screen for display. Alternatively, a first spot may be displayed based on preset first spot display data, and then a layer for displaying the spot may be drawn in the logic layer based on preset spot data. Second spot display data may be formed based on this layer, and then the second spot display data may be transmitted to the display screen to display the second spot to cover the first spot.

[0242] The light spot data consists of the raw data used to draw the light spot. The light spot display data is the display content drawn by the graphics engine based on the light spot data; that is, the result data obtained after the rendering engine uses layers to display the light spot. The display driver can display the light spot data based on this data. For example, if the light spot data sets the radius to 5mm and the color to white, the graphics engine needs to resolve 5mm into the corresponding number of pixels and the color of the light spot into the corresponding RGB color value.

[0243] In one possible implementation, the layers used to display the light spot include a light spot layer and a mask layer. The light spot layer allows light emitted from the display to pass through, thus providing a light source for the fingerprint sensor to acquire the fingerprint image. The mask layer blocks the light emitted from the display to prevent bright light from harming the human eye.

[0244] Figure 13 This is a schematic flowchart illustrating another spot display method according to an embodiment of this application.

[0245] like Figure 13 As shown, the spot display method can further include the following steps in addition to the above-described embodiments:

[0246] S210, after receiving a fingerprint event, the fingerprint driver sends the fingerprint event to the fingerprint service layer by layer.

[0247] In this embodiment, after receiving a fingerprint event, the fingerprint driver sends the fingerprint event to the fingerprint abstraction layer, which then sends the fingerprint event to the fingerprint service in the application framework layer.

[0248] S220, the fingerprint service responds to the fingerprint event, obtains the light spot data, and draws a layer for displaying the light spot based on the light spot data, obtains the second light spot display data, and transmits it to the graphics engine.

[0249] The light spot data consists of the raw data used to draw the layers (such as light spot layers and mask layers) for displaying the light spots. This data may include the position, size, shape, and color of the light spots. The second light spot display data, on the other hand, is the display content drawn based on the light spot data. That is, it's the result data obtained after drawing the layers used to display the light spots. The display driver can then display the light spots based on this second light spot display data. For example, the light spot data might set the radius of the light spot to 5mm and the color to white, while the second light spot display data might use the number of pixels corresponding to 5mm for the radius of the light spot and the RGB color value corresponding to white for the color.

[0250] In one exemplary embodiment, the light spot data can be pre-set in the fingerprint driver, and the fingerprint abstraction layer can read the light spot data by calling the fingerprint driver's interface. Furthermore, the fingerprint service can read the second light spot display data from the fingerprint abstraction layer. For example, the fingerprint service obtains the second light spot display data by calling the fingerprint abstraction layer's interface.

[0251] In an exemplary embodiment, the fingerprint service is provided with a fingerprint event processing method. When the fingerprint service receives a fingerprint event, it executes the fingerprint event processing method, that is, it reads the spot data from the fingerprint abstraction layer and draws a layer for displaying the spot based on the spot data, namely the spot layer and the mask layer, to obtain the second spot display data.

[0252] Furthermore, the fingerprint service sends the second light spot display data to the graphics engine (SurfaceFlinger) for layer fusion, that is, to fuse the light spot layer and the mask layer, which means to overlay the light spot layer and the mask layer. Figure 8 The two-dimensional graphics engine shown can, of course, use other modules with layer blending functions; no limitation is made here.

[0253] like Figure 14 As shown, the drawn light spot, including light spot layer 12, is located in the fingerprint detection area of ​​the display screen 10. When a finger presses the fingerprint detection area, the light emitted by the display screen within this area can pass through to provide a light source for fingerprint recognition. Mask layer 11 is used to cover other areas on the display screen 10 except for light spot layer 12, to block the light emitted by the display screen and prevent bright light from harming the human eye.

[0254] The mask layer 11 includes a cutout area 111 and a non-cutout area 112. The light spot layer 12 is embedded in the cutout area 111, and the light spot layer 12 can completely cover the cutout area 111 of the mask layer.

[0255] Accordingly, the second light spot display data includes mask layer data and light spot layer data. The light spot layer data includes information such as the position, color, shape, and size of the light spot layer; the mask layer data includes the shape, position, and size of the cutout area, as well as the color of the non-cutout area. The cutout area and the light spot layer have the same position, shape, and size to ensure that the light spot layer completely covers the cutout area of ​​the mask layer.

[0256] For example, the light spot layer can be white or another color close to white to allow light to pass through. The non-cutout areas of the mask layer can be black or another color close to black to block light.

[0257] In addition, for information regarding the position, shape, size, etc. of the light spot layer, please refer to the relevant content in the first light spot display data, which will not be repeated here.

[0258] S230, the graphics engine sends the second light spot display data and fingerprint scene marker setting instructions to the graphics hardware synthesizer. In this embodiment, the graphics engine and the graphics hardware synthesizer constitute a graphics processing module. Of course, in electronic devices using other operating systems, the graphics processing module can be other program modules, and this application does not limit this.

[0259] The graphics hardware compositor is the driver abstraction layer of the layer compositing chip, used to connect the graphics engine and the display driver. That is, the data sent by the graphics engine needs to be sent to the display driver through the graphics hardware compositor.

[0260] After the graphics engine detects that the received second spot display data contains a mask layer, it sends a fingerprint scene marker setting instruction to the graphics hardware compositor. This instruction is used to make the graphics hardware compositor set the fingerprint scene marker information to represent the current display scene as a fingerprint scene.

[0261] The graphics engine sends the second spot display data and fingerprint scene marker setting instructions to the graphics hardware composer through the transmission channel between the graphics engine and the graphics hardware composer.

[0262] The transmission channel between the graphics engine and the graphics hardware compositor can be a communication connection between their software interfaces. That is, the graphics engine transmits the second light spot display data and fingerprint scene marker setting instructions to the graphics hardware compositor by calling its interface.

[0263] Furthermore, the transmission channel between the graphics engine and the graphics hardware compositor can be either the existing software interface connection between the graphics engine and the graphics hardware compositor, or it can be a newly established software interface connection between the graphics engine and the graphics hardware compositor, which will not be elaborated here.

[0264] S240, the graphics hardware synthesizer responds to the fingerprint scene marker setting command and obtains fingerprint scene marker information.

[0265] The fingerprint scene marker information is a marker parameter that serves as an initialization parameter in the graphics hardware compositor code. When the graphics hardware compositor receives a fingerprint scene marker setting instruction, it assigns this marker parameter a value that indicates the current display scene is a fingerprint scene.

[0266] For example, a binary number "1" indicates that the current display scenario is a fingerprint recognition scenario; a binary number "0" indicates that the current display scenario is not a fingerprint recognition scenario. Of course, the fingerprint scenario marking information can also be other information that can serve a marking function.

[0267] In other possible implementations, the fingerprint scene tagging information can also be stored in a database that the graphics hardware synthesizer can read and write. When the fingerprint scene tagging information is needed, it can be read directly from the database. This application does not impose any special restrictions on this.

[0268] The fingerprint scene marker information indicates that the current display scene is a fingerprint recognition scene. In the fingerprint recognition scene, the display driver controls the entire display screen to enter high-brightness mode. That is, in high-brightness mode, the entire display area of ​​the screen is lit up and the brightness reaches a certain level. For example, the brightness of high-brightness mode reaches 1000 nits. nit is a unit of brightness; 1 nit represents the luminous intensity per unit area, which refers to the intensity of light reflected from an object as seen by the eye from a certain direction.

[0269] S250, the graphics hardware synthesizer synchronously sends fingerprint scene marking information and second spot display data to the display driver.

[0270] In one exemplary embodiment, the graphics hardware synthesizer simultaneously sends fingerprint scene marking information and second spot display data to the display driver via the same transmission channel, thereby ensuring that the display driver receives the fingerprint scene marking information and second spot display data synchronously.

[0271] Similar to the transmission channel between the fingerprint driver and the display driver, the transmission channel between the graphics hardware compositor and the display driver is a communication connection between their software interfaces. Furthermore, the transmission channel between the graphics hardware compositor and the display driver can reuse the existing software interface connection between them, or it can be a newly created software interface connection; details will not be elaborated here.

[0272] In one exemplary embodiment, the graphics hardware synthesizer can write fingerprint scene marking information and second spot display data into the same transmission queue and transmit the data in the transmission queue through the same transmission channel. The time difference between transmitting different data in the same transmission queue is very short and can be ignored, meaning that the data in the same transmission queue are considered to be transmitted simultaneously. Moreover, the transmission time of the two data in the same transmission channel is the same; therefore, the display driver can receive the fingerprint scene marking information and the second spot display data simultaneously.

[0273] S260, the display driver drives the display screen to display the second light spot based on the fingerprint scene marking information and the second light spot display data.

[0274] Before the second light spot is displayed on the screen, the screen has already controlled the display state of the display pixels to display the first light spot based on the first light spot display data, such as... Figure 14 As shown, the light spot 101 is displayed on the display screen 10.

[0275] For example, the display pixels within the area where the light spot 101 is located are controlled to be brightly lit, while the area outside the light spot 101 is not lit or has very low brightness, so as to display the light spot 101 (i.e. the first light spot) on the display screen.

[0276] After the display driver receives the fingerprint scene marking information and the second light spot display data, it controls the entire display screen to enter a high-brightness display mode based on the fingerprint scene marking information. That is, the area outside of light spot 101 is also in high-brightness display mode. Further, based on the second light spot display data, a light spot layer and a mask layer are displayed on the logical display layer. That is, when the entire display screen is in high-brightness mode, the light emitted by the display screen can pass through the light spot layer and illuminate the finger in the fingerprint detection area, providing a light source for the fingerprint sensor to obtain the fingerprint image. At the same time, the non-cutout area of ​​the mask layer can block the high-brightness light of the display screen, thus displaying the second light spot on the display screen.

[0277] For example, if the light spot layer is white and the mask layer is black, then when the display is in highlight mode, the display area where the light spot layer is located will be displayed as white, and the other areas will be black, that is, a bright white light spot will be displayed on the display.

[0278] Among them, such as Figure 14 As shown, the position and shape of the light spot layer 12 are the same as those of the light spot 101. The area of ​​the light spot layer 12 is different from that of the light spot 101. The size relationship between the areas of the light spot layer 12 and the light spot 101 can be determined according to the actual application requirements.

[0279] In one application scenario, the size of the light spot 101 is relatively small, and there are irregularities in the shape or color of its edges. In this application scenario, the area of ​​the light spot layer 12 can be set to be larger than the area of ​​the light spot 101.

[0280] For example, if the light spot is circular, the diameter of the light spot layer 12 is larger than the diameter of the light spot 101, thus ensuring that the light spot layer 12 can completely cover the edge of the light spot 101; at the same time, the mask layer 11 is used to cover other areas on the display screen to ensure that the shape and color of the light spot finally displayed meet the set requirements.

[0281] As can be seen from the above, the display parameters of the second light spot (such as position, size, shape, color, etc.) are unrelated to the display capability of the display screen. Therefore, the second light spot is used to cover the first light spot, thus avoiding the display defects of the first light spot from being presented to the user.

[0282] In other embodiments of this application, after receiving the second spot display data from the fingerprint service, the graphics engine can obtain fingerprint scene marking information and simultaneously send the fingerprint scene marking information and the second spot display data to the graphics hardware compositor. The graphics hardware compositor then continues to synchronously send the fingerprint scene marking information and the second spot display data to the display driver.

[0283] In this embodiment, the graphics engine is configured with parameters representing fingerprint scene marking information. These marking parameters serve as initialization parameters in the graphics engine's code. When the graphics engine receives the second light spot display data, it assigns these marking parameters a value representing that the current display scene is a fingerprint scene.

[0284] The fingerprint scene marking information here has the same meaning and form as the fingerprint scene marking information in the graphics hardware synthesizer, and will not be repeated here.

[0285] The way the graphics engine synchronously sends fingerprint scene marker information and second spot display data to the graphics hardware compositor is the same as the way the graphics hardware compositor synchronously sends these two data to the display driver in S250, and will not be described in detail here.

[0286] For example, the graphics engine can synchronously transmit fingerprint scene marker information and second spot display data through the same transmission channel between the graphics engine and the graphics hardware compositor. This transmission channel can be the existing transmission channel between the graphics engine and the graphics hardware compositor, or it can be a newly built dedicated transmission channel.

[0287] In one example, the graphics engine can write fingerprint scene marking information and second spot display data into the same transmission queue and send the data in the transmission queue through the same transmission channel.

[0288] It should be understood that, although in Figure 13 In the illustrated embodiment, the light spot is drawn by a fingerprint service; however, in other embodiments, it can also be done in conjunction with... Figure 9 As shown, the drawing of light spots is completed by a graphics engine, which is also included in the embodiments of this application.

[0289] Figure 15 This is a schematic flowchart illustrating another spot display method according to an embodiment of this application.

[0290] like Figure 15 As shown, the spot display method may include the following steps:

[0291] S310, after receiving a fingerprint event, the fingerprint driver sends the fingerprint event to the fingerprint service layer by layer.

[0292] In this embodiment of the application, the path for reporting fingerprint events layer by layer is as follows: the touch sensor reports the fingerprint event to the touch screen driver, the touch screen driver transmits the fingerprint event to the fingerprint driver, the fingerprint driver reports the fingerprint event to the fingerprint abstraction layer (fingerprint HAL), and the fingerprint abstraction layer then reports the fingerprint event to the fingerprint service.

[0293] S320, the fingerprint service responds to the fingerprint event, obtains the background data, and draws a layer for displaying the background based on the background data, thereby obtaining the second background display data and passing it to the graphics engine.

[0294] The background data consists of the raw data used to draw the layer that displays the background, such as its position, size, shape, and color. The second background display data is the display content drawn based on the background data; that is, the result data obtained after drawing the layer used to display the background. The display driver can use this second background display data to show the background. For example, the background data sets the shape of the background that forms the display interface and the color to black, while the second background display data specifies the number of pixels corresponding to the background and the background color to the RGB color value corresponding to black.

[0295] In one exemplary embodiment, background data can be pre-set in the fingerprint driver, and the fingerprint abstraction layer can read this spot data by calling the fingerprint driver's interface. Furthermore, the fingerprint service can read background display data from the fingerprint abstraction layer. For example, the fingerprint service obtains background data by calling the fingerprint abstraction layer's interface.

[0296] In an exemplary embodiment, the fingerprint service is provided with a fingerprint event processing method. When the fingerprint service receives a fingerprint event, it executes the fingerprint event processing method, that is, it reads background data from the fingerprint abstraction layer and draws a layer for displaying the light spot based on the light spot data to obtain the second light spot display data.

[0297] Furthermore, the fingerprint service sends the second light spot display data to the graphics engine (SurfaceFlinger) for layering and transmission downwards.

[0298] S330: The graphics engine sends the second spot display data and fingerprint scene marker setting instructions to the graphics hardware synthesizer.

[0299] In this embodiment, the graphics engine and the graphics hardware synthesizer constitute the graphics processing module. Of course, in electronic devices using other operating systems, the graphics processing module can be other program modules, and this application does not impose any restrictions on this.

[0300] The graphics hardware compositor is the driver abstraction layer of the layer compositing chip, used to connect the graphics engine and the display driver. That is, the data sent by the graphics engine needs to be sent to the display driver through the graphics hardware compositor.

[0301] After the graphics engine detects that the received second background display data contains a mask layer, it sends a fingerprint scene marker setting instruction to the graphics hardware compositor. This instruction is used to make the graphics hardware compositor set the fingerprint scene marker information to represent the current display scene as a fingerprint scene.

[0302] The graphics engine sends the second spot display data and fingerprint scene marker setting instructions to the graphics hardware composer through the transmission channel between the graphics engine and the graphics hardware composer.

[0303] The transmission channel between the graphics engine and the graphics hardware compositor can be a communication connection between their software interfaces. That is, the graphics engine transmits the second light spot display data and fingerprint scene marker setting instructions to the graphics hardware compositor by calling its interface.

[0304] Furthermore, the transmission channel between the graphics engine and the graphics hardware compositor can be either the existing software interface connection between the graphics engine and the graphics hardware compositor, or it can be a newly established software interface connection between the graphics engine and the graphics hardware compositor, which will not be elaborated here.

[0305] S340, the graphics hardware synthesizer responds to the fingerprint scene marker setting command and obtains fingerprint scene marker information.

[0306] The fingerprint scene marker information is a marker parameter that serves as an initialization parameter in the graphics hardware compositor code. When the graphics hardware compositor receives a fingerprint scene marker setting instruction, it assigns this marker parameter a value that indicates the current display scene is a fingerprint scene.

[0307] For example, a binary number "1" indicates that the current display scenario is a fingerprint recognition scenario; a binary number "0" indicates that the current display scenario is not a fingerprint recognition scenario. Of course, the fingerprint scenario marking information can also be other information that can serve a marking function.

[0308] In other possible implementations, the fingerprint scene tagging information can also be stored in a database that the graphics hardware synthesizer can read and write. When the fingerprint scene tagging information is needed, it can be read directly from the database. This application does not impose any special restrictions on this.

[0309] The fingerprint scene marker information indicates that the current display scene is a fingerprint recognition scene. In the fingerprint recognition scene, the display driver controls the entire display screen to enter high-brightness mode. That is, in high-brightness mode, the entire display area of ​​the screen is lit up and the brightness reaches a certain level. For example, the brightness of high-brightness mode reaches 1000 nits. nit is a unit of brightness; 1 nit represents the luminous intensity per unit area, which refers to the intensity of light reflected from an object as seen by the eye from a certain direction.

[0310] S350, the graphics hardware synthesizer synchronously sends fingerprint scene marking information and second background display data to the display driver.

[0311] In one exemplary embodiment, the graphics hardware synthesizer simultaneously sends fingerprint scene marker information and second background display data to the display driver via the same transmission channel, thereby ensuring that the display driver receives the fingerprint scene marker information and second background display data synchronously.

[0312] Similar to the transmission channel between the fingerprint driver and the display driver, the transmission channel between the graphics hardware compositor and the display driver is a communication connection between their software interfaces. Furthermore, the transmission channel between the graphics hardware compositor and the display driver can reuse the existing software interface connection between them, or it can be a newly created software interface connection; details will not be elaborated here.

[0313] In one exemplary embodiment, the graphics hardware synthesizer can write fingerprint scene marker information and second background display data into the same transmission queue and transmit the data in the transmission queue through the same transmission channel. The time difference between transmitting different data in the same transmission queue is very short and can be ignored, meaning that the data in the same transmission queue are considered to be transmitted simultaneously. Moreover, the transmission time of the two data in the same transmission channel is the same; therefore, the display driver can receive the fingerprint scene marker information and the second background display data simultaneously.

[0314] S360, DDIC scans the display screen in a second scanning mode based on fingerprint scene marking information, and controls the display screen to display a light spot based on first light spot display data and second background display data.

[0315] The display driver chip is pre-configured with an event handling method corresponding to the fingerprint scene marking information. When the display driver chip receives the fingerprint scene marking information, it executes the event handling method, that is, it controls the display screen to scan in the second scanning mode. Specifically, if the current scanning mode of the display screen is the first scanning mode, it switches the first scanning mode to the second scanning mode and scans the display screen in the second scanning mode; if the current scanning mode of the display screen is the second scanning mode, it continues to scan the display screen in the second scanning mode.

[0316] After switching the display's scanning mode from the first scanning mode to the second scanning mode, as mentioned earlier, the time required for the display signal to reach the pixel at the location of the light spot is reduced, thus shortening the light spot activation time and improving the fingerprint recognition experience.

[0317] The display driver chip is pre-configured with an event handling method corresponding to the fingerprint scene marking information. When the display driver chip receives the fingerprint scene marking information, it executes the event handling method, that is, it obtains the preset first spot display data, and then controls the display screen to display the spot based on the first spot display data and the second background display data.

[0318] Similar to the above, the first spot display data can be preset in the display driver or in the display driver chip, and the acquisition method is similar to that described above and will not be repeated here.

[0319] It should be understood that although a black mask is used as the background in the above embodiments to avoid screen flickering or color cast issues caused by forward / reverse scanning switching, in other embodiments, animation effects can also be used to cover up screen flickering or color cast issues. For example, the entire device can dynamically change brightness, grayscale, and image beforehand, and then switch between forward and reverse scanning to illuminate the light spot, using the existing brightness and color changes to mask the screen flickering problem caused by forward / reverse scanning switching.

[0320] Figure 16This is a schematic flowchart illustrating an unlocking method for an electronic device according to an embodiment of this application.

[0321] like Figure 16 As shown, the unlocking method may include the following steps:

[0322] S410: The terminal responds to the screen-on operation information by turning on the screen and displays the first lock screen interface.

[0323] For example, the screen-on operation information may include information generated by touching / tapping the screen or pressing a switch button, and may also include information generated by a light sensor detecting the user's proximity or a camera detecting the user's image. When the terminal receives the screen-on operation information, it displays a first lock screen interface on the display screen, and displays the fingerprint pattern 102 in the fingerprint detection area 2 on the first lock screen interface.

[0324] like Figure 17 As shown in (1), the first lock screen interface includes a background image and a fingerprint graphic 102 located in the fingerprint detection area 2.

[0325] S420, detects touch operations in the fingerprint detection area to generate fingerprint events.

[0326] Specifically, after the touch sensor detects a touch operation in the fingerprint detection area, a fingerprint event is generated.

[0327] The S430 responds to fingerprint events by scanning the display in a second scanning mode and illuminating a light spot, while using a black mask as the background.

[0328] For example, after the touch sensor generates a fingerprint event, the fingerprint event can be transmitted to the display driver via the touch driver and the fingerprint driver. The display driver responds to the fingerprint event to generate a light spot display command. The DDIC responds to the light spot display command to scan the display screen in a second scanning mode, and at the same time displays the light spot based on the preset first light spot display data and the first background display data.

[0329] Of course, in step S430, the following can also be used: Figure 11 , Figure 12 , Figure 13 , Figure 15 Or other spot display methods to display the spot. For example... Figure 17 (2) As shown, when unlocking, that is, when the light spot is displayed, the scanning mode of the display screen is switched to the second scanning mode. While the light spot is lit, a black mask is used as the background to avoid screen flickering or color distortion caused by switching between the front and back.

[0330] After the light spot is displayed, the S440 scans the display screen in the first scanning mode, and continues to use a black mask as the background while displaying the light spot.

[0331] For example, in this embodiment of the application, the scanning mode of the display screen is switched to the first scanning mode during the display duration of the light spot. For example, if the display duration of the light spot is 1 second, then the duration of the second scanning mode is less than 1 second. After the light spot lights up, the scanning mode of the display screen is switched back to the first scanning mode within 1 second to facilitate the display of subsequent scenes.

[0332] Furthermore, while displaying the light spot in the first scanning mode, a black mask is continued to be used as the background, thereby avoiding screen flickering or color distortion caused by switching between positive and negative modes.

[0333] like Figure 17 As shown in (3), after the light spot is lit, the scanning mode of the display screen is switched to the first scanning mode, and while the light spot is displayed in the first scanning mode, the black mask is used as the background.

[0334] In other words, in the embodiments of this application, a black mask is used as the background at least in the display frame during the switching between the first scanning mode and the second scanning mode.

[0335] For example, in this embodiment of the application, a black mask is used as the background during the display duration of the light spot.

[0336] The S450 displays an unlocking animation during the fingerprint unlocking process.

[0337] For example, after switching the display's scanning mode to the first scanning mode, a second lock screen interface and unlock animation are displayed in the first scanning mode. The second lock screen interface displays a non-black background and unlock animation (not shown).

[0338] like Figure 17 As shown in (4), after switching from the second scanning mode to the first scanning mode, a normal background image is displayed on the screen.

[0339] The unlocking method of this application embodiment, by adopting the above-mentioned light spot display method, can shorten the light spot activation time and avoid screen flickering or color distortion problems, thereby improving the user's fingerprint unlocking experience.

[0340] It should be understood that although the above embodiments illustrate the application scenario of the light spot display method of this application embodiment in the context of unlocking, the light spot display method of this application embodiment is not limited to fingerprint unlocking scenarios, but can also be used in other fingerprint recognition scenarios, such as fingerprint payment scenarios.

[0341] Although the above embodiments of the spot display method and the unlocking method of the electronic device are described using the Android system as an example, this should not limit the spot display method and the unlocking method of the electronic device provided in this application. The spot display method and the unlocking method of the electronic device provided in this application are also applicable to electronic devices based on other operating systems such as Harmony OS, iOS, or Windows. Those skilled in the art can adapt the spot display logic in the corresponding operating system based on the spot display method and the unlocking method of the electronic device provided in this application according to the application requirements of different operating systems, such as the system framework and different spot display logic of different operating systems. Alternatively, they can adapt the flow of the spot display method and the unlocking method of the electronic device provided in this application according to the specific functions of the functional modules in other operating systems, so as to achieve the same technical effect as the spot display method of this application. For example, in other operating systems, the fingerprint driver process can be executed using a module with the same function as the fingerprint driver, and the display driver process can be executed using a module with the same function as the display driver. These will not be listed here.

[0342] This application embodiment can divide the electronic device into functional modules based on the above-described spot display method and electronic device unlocking method examples. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0343] When dividing each function into modules according to its corresponding function. Figure 18 This diagram illustrates a possible configuration of the spot display device involved in the above embodiments, which is capable of performing the functions described in this application. Figures 10-15 The steps of any method embodiment shown in the method examples are described. The light spot display device is an electronic device or a communication device that supports the implementation of the methods provided in the embodiments by an electronic device; for example, the communication device may be a chip system.

[0344] like Figure 18 As shown, the light spot display device may include: a touch operation detection module 210, a fingerprint event generation module 220, a fingerprint driving module 230, and a display driving module 240.

[0345] The touch operation detection module 210 is used to detect touch operations in the fingerprint detection area of ​​the touch screen.

[0346] When a finger presses on the fingerprint detection area on the touchscreen, the touch operation detection module can detect the touch operation. The touchscreen includes a touch sensor and a display screen, and the touch operation detection module can be a functional module integrated into the touch sensor.

[0347] The fingerprint event generation module 220 is used to generate a fingerprint event in response to the touch operation.

[0348] In one possible embodiment, the fingerprint event generation module 220 may be a program function module integrated into the touch sensor, which generates a fingerprint event when a touch operation is detected.

[0349] The fingerprint driver module 230 is used to directly transmit fingerprint events to the display driver module.

[0350] The fingerprint driver module can be a fingerprint driver program integrated into the operating system of an electronic device. When the fingerprint driver module receives a fingerprint event, it directly transmits the fingerprint event to the display driver module.

[0351] The display driver module 240 is used to respond to the fingerprint event and control the touch screen to control the display state of the display pixels of the touch screen based on preset first spot display data and first background display data, so as to display the spot.

[0352] The display driver module can be a display driver program integrated into the operating system of an electronic device. When the display driver module receives a fingerprint event transmitted by the fingerprint driver module, it triggers the touchscreen to control the display state of the display pixels on the touchscreen based on the first light spot display data and the first background display data, and finally displays the light spot on the touchscreen.

[0353] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0354] The spot display device provided in this application is used to execute the spot display method of any of the above embodiments, and thus can achieve the same effect as the spot display method of the above embodiments.

[0355] The spot display device provided in this application embodiment can also be used to perform steps S320-S350 of the unlocking method of the above embodiment.

[0356] In one example, Figure 19 A schematic block diagram of an apparatus 300 according to an embodiment of this application is shown. The apparatus 300 may include a processor 301 and a transceiver / transceiver pin 302, and optionally, a memory 303.

[0357] The various components of device 300 are coupled together via bus 304, which includes a data bus, a power bus, a control bus, and a status signal bus. However, for clarity, all buses are referred to as bus 304 in the figure.

[0358] Optionally, the memory 303 can be used for the instructions in the foregoing method embodiments. The processor 301 can be used to execute the instructions in the memory 303, control the receive pin to receive signals, and control the transmit pin to transmit signals.

[0359] The device 300 may be an electronic device or a chip of an electronic device in the above method embodiments.

[0360] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0361] The steps performed by the display method provided in the above-described embodiments of this application can also be performed by a chip system included in the electronic device 100. This chip system may include a processor and a display driver chip. The chip system may be coupled to a memory, enabling it to call a computer program stored in the memory during runtime to implement the steps performed by the electronic device 100. The processor in the chip system may be an application processor or a non-application processor.

[0362] This application also provides a terminal device, which includes a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, causing the terminal device to perform the above-described method.

[0363] This application also provides a chip. The chip includes a processor, which is used to call a computer program in memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those in the related embodiments described above, and will not be repeated here.

[0364] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it implements the methods described above. The methods described in the above embodiments can be implemented wholly or partially by software, hardware, firmware, or any combination thereof. If implemented in software, the functionality can be stored as one or more instructions or code on or transmitted over the computer-readable medium. The computer-readable medium can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.

[0365] This embodiment also provides a computer program product containing instructions that, when run on an electronic device, causes the electronic device to implement the above-described method.

[0366] Through the above description of the implementation methods, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete the task.

[0367] All or part of the functions described above. The specific working process of the system, device and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0368] In the several embodiments provided in this example, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.

[0369] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0370] Furthermore, in each embodiment of this invention, the functional units can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0371] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments. The aforementioned storage medium includes various media capable of storing program code, such as flash memory, portable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.

[0372] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method for displaying light spots, characterized in that, Applied to an electronic device, the electronic device including a display driver chip and a display screen, the method includes: Detect touch operations in the fingerprint detection area and generate fingerprint events; In response to the fingerprint event, the display screen is scanned in a second scanning mode and a fingerprint spot is displayed. The second scanning mode is a line-by-line scanning mode from the side of the display screen closer to the display driver chip to the side farther away from the display driver chip. The display screen is scanned in a first scanning mode and the fingerprint spot is displayed. The first scanning mode is a line-by-line scanning mode from the side of the display screen away from the display driver chip to the side closer to the display driver chip. The fingerprint display spot includes: The first light spot is displayed based on preset first light spot display data and first background display data, wherein the first background display data is the display data corresponding to the black mask; or... The system displays data based on a preset first light spot; in response to the fingerprint event, it acquires second background display data, which is display content data obtained by drawing a layer for displaying the background, and the second background display data is display data corresponding to a black mask; the system displays the background based on the second background display data, and uses it as the background of the fingerprint light spot; Alternatively, during the display duration of the fingerprint spot, a preset animated interface is used as the background of the fingerprint spot. The preset animated interface has certain changes in brightness, grayscale and / or image to compensate for the brightness changes caused by the switching between the first scanning mode and the second scanning mode.

2. The spot display method according to claim 1, characterized in that, The fingerprint display spot includes: In response to the fingerprint event, second spot display data is obtained, which is display content data obtained by drawing a layer for displaying the spot; The second light spot is displayed based on the second light spot.

3. The spot display method according to claim 1, characterized in that, The fingerprint display spot also includes: In response to the fingerprint event, second spot display data is obtained, which is display content data obtained by drawing a layer for displaying the spot; The second light spot is displayed based on the second light spot, and the second light spot covers the first light spot.

4. The spot display method according to claim 2 or 3, characterized in that, The layers used to display the light spots include a light spot layer and a mask layer; The position and shape of the light spot layer are the same as the position and shape of the light spot displayed on the display screen, and the area of ​​the light spot layer is larger than the size of the light spot displayed on the display screen; The mask layer includes a hollowed-out area and a non-hollowed-out area, and the hollowed-out area has the same position, shape and size as the light spot layer.

5. The spot display method according to claim 1, characterized in that, The method further includes: In response to the fingerprint event, the display screen is scanned at the target refresh rate, and the fingerprint spot is displayed.

6. The spot display method according to claim 5, characterized in that, The target refresh rate is the highest refresh rate of the display screen.

7. An unlocking method, characterized in that, Applied to an electronic device, the electronic device including a display driver chip and a display screen, the method includes: The screen is turned on in response to a screen-on operation message, and a first interface is displayed in a first scanning mode. The first scanning mode is a line-by-line scanning mode from the side of the display screen away from the display driver chip to the side closer to the display driver chip. Touch operations in the fingerprint detection area generate fingerprint events; In response to the fingerprint event, the display screen is scanned in a second scanning mode and a fingerprint spot is displayed. The second scanning mode is a line-by-line scanning mode from the side of the display screen closer to the display driver chip to the side farther away from the display driver chip. The display screen is scanned in the first scanning mode, and the fingerprint spot continues to be displayed; The method further includes: using a black mask as the background at least during the switching frames between the first scanning mode and the second scanning mode; or, during the display duration of the fingerprint spot, using a preset animation interface as the background of the fingerprint spot, wherein the preset animation interface has certain changes in brightness, grayscale and / or image to compensate for the brightness changes caused by the switching between the first scanning mode and the second scanning mode.

8. The unlocking method according to claim 7, characterized in that, A black mask is used as the background during the display duration of the fingerprint spot.

9. An electronic device, characterized in that, The electronic device includes: one or more processors, memory, and a display screen; The memory is used to store program code; The one or more processors are configured to run the program code, causing the electronic device to perform the spot display method as described in any one of claims 1-6 and / or the unlocking method as described in claim 7 or 8.

10. A computer-readable storage medium, characterized in that, It stores instructions that, when executed on the electronic device, cause the electronic device to perform the spot display method as described in any one of claims 1-6 and / or the unlocking method as described in claim 7 or 8.

Citation Information

Patent Citations

  • Light spot display method, electronic equipment and computer readable storage medium

    CN115943448A

  • Fingerprint acquisition method and electronic equipment

    CN118015664A