A method for activating a light spot, an electronic device, and a storage medium
By re-establishing the vertical synchronization signal with a tearing effect signal at a frequency higher than that of the vertical synchronization signal when the light spot activation command is issued, the problem of excessively long light spot activation time is solved, and more efficient fingerprint unlocking is achieved.
Patent Information
- Application Number
- CN202410042433.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-10
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2044-01-10
AI Technical Summary
In existing technologies, the duration of the light spot illumination in the fingerprint information acquisition area is limited by the vertical synchronization signal period, resulting in reduced unlocking efficiency.
By interrupting the current vertical synchronization signal cycle with a tearing effect signal at a frequency higher than that of the vertical synchronization signal when the command to activate the light spot is issued, and re-establishing the second vertical synchronization signal, the activation time of the light spot is shortened.
It effectively shortens the light spot activation time and improves the efficiency of fingerprint unlocking.
Smart Images

Figure CN119248164B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to a method for activating a light spot, an electronic device, and a storage medium. Background Technology
[0002] With the rapid development of electronic technology, more and more electronic devices are equipped with fingerprint unlocking functionality. Users can unlock electronic devices using their registered fingerprint information, effectively improving unlocking efficiency. Typically, after a user presses their fingerprint on the fingerprint sensor area of the electronic device, the area illuminates with a light spot. This illumination requires a certain response time, which affects the fingerprint unlocking time.
[0003] Currently, the duration of the fingerprint sensor's illumination spot is determined by the period of the vertical synchronization signal on the display screen. After a user presses their fingerprint into the fingerprint sensor area, the electronic device receives the illumination command within one image frame and illuminates the fingerprint sensor's illumination spot in the next image frame at the moment the next vertical synchronization signal is generated. Therefore, the upper limit of the illumination spot duration can reach one cycle of the vertical synchronization signal.
[0004] Since the period of the vertical synchronization signal is fixed, when the period of the vertical synchronization signal is long, the light spot in the fingerprint information collection area will be illuminated for a longer time, which reduces the unlocking efficiency of electronic devices. Summary of the Invention
[0005] This application provides a method for activating a light spot, an electronic device, and a storage medium, with the aim of improving unlocking efficiency.
[0006] To achieve the above objectives, this application adopts the following technical solution:
[0007] Firstly, this application provides a method for activating a light spot, comprising: responding to a light spot activation command, using a first vertical synchronization signal as a start signal, and establishing a second vertical synchronization signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, wherein the first vertical synchronization signal is the last vertical synchronization signal generated before the light spot activation command is issued, and the second vertical synchronization signal is the first vertical synchronization signal generated after the light spot activation command is issued; and activating the light spot when the second vertical synchronization signal changes from a high level to a low level.
[0008] In this embodiment, since the second frequency of the tearing effect signal is greater than the first frequency of the first vertical synchronization signal, the period of the tearing effect signal is less than the corresponding period of the first vertical synchronization signal. The light spot can be lit within a shorter period of the tearing effect signal, thereby effectively shortening the light spot lighting time and improving the unlocking efficiency.
[0009] In one possible implementation, in response to a light spot activation command, a second vertical synchronization signal is established based on the time interval between the issuance time of the light spot activation command and the first vertical synchronization signal, and a second frequency higher than the first frequency corresponding to the first vertical synchronization signal.
[0010] In one possible implementation, the time interval between the issuance of the light spot activation command and the first vertical synchronization signal is less than or equal to the period corresponding to the second frequency. In response to the light spot activation command, a second vertical synchronization signal is established based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, using the first vertical synchronization signal as the starting signal, so that the time interval between the first vertical synchronization signal and the second vertical synchronization signal is the period corresponding to the second frequency.
[0011] In one possible implementation, the time interval between the issuance of the light spot activation command and the first vertical synchronization signal is greater than the period corresponding to the second frequency and less than or equal to the period corresponding to the first frequency. In response to the light spot activation command, a second vertical synchronization signal is established based on the first vertical synchronization signal as the starting signal and a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, such that the time interval between the first vertical synchronization signal and the second vertical synchronization signal is multiple periods corresponding to the second frequency.
[0012] In one possible implementation, in response to the command to activate the light spot, taking the moment when the first vertical synchronization signal is generated as the starting moment, a tearing effect signal with a second frequency interrupts the first frequency corresponding to the first vertical synchronization signal, and establishes a second vertical synchronization signal, wherein the second frequency is greater than the first frequency.
[0013] In one possible implementation, in response to the command to activate the light spot, the first frequency of the tearing effect signal is adjusted to the second frequency; taking the moment when the first vertical synchronization signal is generated as the starting moment, the first frequency corresponding to the first vertical synchronization signal is interrupted based on the tearing effect signal with the second frequency, and a second vertical synchronization signal is established.
[0014] In one possible implementation, when the second vertical synchronization signal changes from high to low, after the light spot is turned on, the screen lock state of the electronic device can be unlocked, and the unlocked display interface can be displayed on the screen of the electronic device.
[0015] In one possible implementation, before establishing a second vertical synchronization signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, in response to the light spot activation command, the user's fingerprint information can be collected in response to the user's fingerprint unlocking operation; the collected fingerprint information is compared with stored fingerprint information; when the collected fingerprint information matches the stored fingerprint information, in response to the light spot activation command, a second vertical synchronization signal is established based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, using the first vertical synchronization signal as the starting signal. This can improve unlocking efficiency while enhancing the security of the electronic device.
[0016] Second aspect: This application provides an electronic device, which includes a processor and a memory; the memory is used to store program code and transmit the program code to the processor; the processor is used to execute the steps of a light spot activation method as described above according to the instructions in the program code.
[0017] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of a spot lighting method as described above. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of an existing spot lighting method;
[0019] Figure 2 A flowchart illustrating a method for activating a light spot, as provided in an embodiment of this application;
[0020] Figure 3 This is a schematic diagram of a first fingerprint unlocking method provided in an embodiment of this application;
[0021] Figure 4 A schematic diagram illustrating the first type of light spot activation time provided in the embodiments of this application;
[0022] Figure 5 A schematic diagram illustrating the second type of light spot activation time provided in the embodiments of this application;
[0023] Figure 6 A schematic diagram of an 8T1C circuit architecture provided in an embodiment of this application;
[0024] Figure 7 A schematic diagram of a signal provided in an embodiment of this application;
[0025] Figure 8 A schematic diagram illustrating the third type of light spot activation time provided in the embodiments of this application;
[0026] Figure 9 A schematic diagram illustrating a tearing effect signal frequency maintained at a second frequency, provided as an embodiment of this application;
[0027] Figure 10 This is a schematic diagram of a second fingerprint unlocking method provided in an embodiment of this application;
[0028] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0029] The terms "first," "second," and "third," etc., used in this application specification, claims, and drawings are used to distinguish different objects, not to limit a specific order.
[0030] 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.
[0031] The relevant concepts involved in this application are introduced below.
[0032] The tearing effect signal (TE) of an electronic device display is a feedback signal from the controller to the microcontroller unit (MCU). For example, based on the tearing effect signal, the controller can read data from random access memory (RAM) and display it on the screen. The tearing effect signal is periodic with a fixed period.
[0033] The purpose of the tearing effect signal is mainly to prevent conflicts caused by the MCU writing data to the same location while the controller is reading data from RAM, which could lead to screen flickering. For example, the display process of a frame on a screen is a process of scanning pixels line by line from top to bottom. If the screen starts scanning the pixels of the next frame before the scanning of the previous frame has finished, screen flickering, also known as screen tearing, may occur.
[0034] During the process of scanning pixels line by line from top to bottom, whether it is interlaced scanning or progressive scanning, the display requires two synchronization signals: a horizontal synchronization signal and a vertical synchronization signal. Among them, the vertical synchronization signal (VSync) is introduced to avoid screen tearing.
[0035] Currently, the frequency of the vertical synchronization signal is the same as and fixed as the frequency of the tearing effect signal. The upper limit of the illumination duration of the fingerprint information acquisition area can be determined by the period of the tearing effect signal or the period of the vertical synchronization signal on the display screen. When the electronic device receives the user's fingerprint unlock command in one image frame, it needs to illuminate the fingerprint information acquisition area in the next image frame after the generation time of the next tearing effect signal or vertical synchronization signal. Since the period of the tearing effect signal or vertical synchronization signal is fixed, a longer period results in a longer illumination duration of the fingerprint information acquisition area, leading to a decrease in the unlocking efficiency of the electronic device.
[0036] For example, consider a tearing effect signal with a period of 8.3 milliseconds, corresponding to a frequency of 120 Hz. Figure 1 As shown in the figure, this is a schematic diagram of an existing spot activation method. In the figure, the frequency of the vertical synchronization signal is the same as the frequency of the tearing effect signal, both being 120Hz. If a spot activation command is issued in the first cycle corresponding to the tearing effect signal, the integrated circuit chip (IC) can activate the spot (also called the enable spot) in the fingerprint information acquisition area at the beginning of the next cycle, i.e., the second cycle. As shown in the figure, with a tearing effect signal period of 8.3 milliseconds, if the spot activation command is issued at the time corresponding to point A, the integrated circuit chip will enable the spot at the time corresponding to point B. That is, the integrated circuit chip will activate the spot in the fingerprint information acquisition area when the vertical synchronization signal reappears and changes from high to low. Since the time of the spot activation command is random, it can be any time in the first cycle, while the spot activation time is always the time corresponding to point B. In this case, the duration of the light spot activation in the fingerprint information collection area is the time interval between the issuance of the light spot activation command and the time corresponding to point B. When the first cycle is 8.3 milliseconds, it can be determined that the light spot activation duration is between 0 milliseconds and 8.3 milliseconds.
[0037] Based on this, this application provides a method for activating a light spot. When the integrated circuit chip of an electronic device receives a command to activate the light spot, it can interrupt the period of the current initial vertical synchronization signal with a tearing effect signal at a frequency higher than that of the initial vertical synchronization signal. The vertical synchronization signal is then re-established with the period of the tearing effect signal, ensuring that the interval between the reconstructed vertical synchronization signal and the previous initial vertical synchronization signal is equal to one period of the tearing effect signal. Based on this, the integrated circuit chip can activate the light spot in the fingerprint information acquisition area in the next image frame after the reconstructed vertical synchronization signal appears. Because the frequency of the tearing effect signal is higher than that of the initial vertical synchronization signal, the period of the tearing effect signal is shorter than the corresponding period of the initial vertical synchronization signal. Therefore, the light spot in the fingerprint information acquisition area can be activated within a shorter period of the tearing effect signal, effectively shortening the activation time of the light spot in the fingerprint information acquisition area and improving unlocking efficiency.
[0038] The following is combined with Figure 2 The method for activating the light spot provided in the embodiments of this application will be described. Figure 2 This is a flowchart illustrating a method for activating a light spot according to an embodiment of this application. For ease of description, the last vertical synchronization signal generated before the light spot activation command is issued will be used as the first vertical synchronization signal, and the first vertical synchronization signal generated after the light spot activation command is issued will be used as the second vertical synchronization signal.
[0039] It should be noted that the user information and data involved in this application (including but not limited to user fingerprint information, as well as data used for analysis, data stored, data displayed, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0040] S101. The electronic device responds to the user's fingerprint unlocking operation by issuing a command to activate the light spot.
[0041] like Figure 3 As shown in the figure, this figure is a schematic diagram of the first fingerprint unlocking method provided in the embodiment of this application. The user's fingerprint unlocking operation can be the operation of the user pressing the fingerprint in the fingerprint information collection area 1101 of the display screen. The electronic device can respond to the user's fingerprint unlocking operation by sending a light spot activation command to the integrated circuit chip. The light spot activation command is used to instruct the light spot in the fingerprint information collection area 1101 to be activated.
[0042] In one example, a user presses their fingerprint on the fingerprint information collection area of the display screen. The electronic device can collect the user's fingerprint information through the sensor in the fingerprint information collection area and compare the real-time collected fingerprint information with the fingerprint information pre-recorded by the user in the memory.
[0043] If the fingerprint information collected in real time matches the fingerprint information pre-registered by the user, the fingerprint unlocking operation is valid; if the fingerprint information collected in real time does not match the fingerprint information pre-registered by the user, the fingerprint unlocking operation is invalid.
[0044] If the user's fingerprint unlock operation is successful, the electronic device can respond by issuing a command to illuminate the fingerprint sensor. If the user's fingerprint unlock operation is unsuccessful, the electronic device does not need to issue a command to illuminate the fingerprint sensor.
[0045] S102. In response to the command to turn on the light spot, the integrated circuit chip takes the moment when the first vertical synchronization signal is generated as the starting moment, and re-establishes the vertical synchronization signal according to the tearing effect signal with the second frequency to obtain the second vertical synchronization signal.
[0046] The frequency of the first vertical synchronization signal is the first frequency, and the second frequency is higher than the first frequency.
[0047] In this embodiment, the vertical synchronization signal can be re-established by interrupting the period corresponding to the first vertical synchronization signal based on the tearing effect signal. That is, taking the time when the first vertical synchronization signal is generated as the starting time, after at least one period of the tearing effect signal, the second vertical synchronization signal is generated, such that the time interval between the reconstructed second vertical synchronization signal and the first vertical synchronization signal is equal to at least one period of the tearing effect signal.
[0048] It is understandable that the period corresponding to the first vertical synchronization signal is the reciprocal of the first frequency, and one period of the tearing effect signal is the reciprocal of the second frequency.
[0049] S103. When the integrated circuit chip generates the second vertical synchronization signal in the next image frame, it turns on the light spot.
[0050] In this embodiment, the activation time of the light spot can be determined by the generation time of the second vertical synchronization signal, such as... Figure 4 As shown in the figure, this figure is a schematic diagram of the first type of light spot activation time provided in the embodiment of this application. The integrated circuit chip can activate the light spot in the fingerprint information acquisition area when the second vertical synchronization signal changes from high level to low level after the second vertical synchronization signal is generated.
[0051] The timing of the command to activate the light spot is determined by the moment the user performs the fingerprint unlocking operation. However, the timing of this operation is somewhat uncertain and can be any moment between the first and second vertical synchronization signals. Based on this, the duration of the light spot activation can be determined using the period of the tearing effect signal. Specifically, the lower limit of the activation duration approaches 0, while the upper limit is one period of the tearing effect signal.
[0052] In this embodiment of the application, the moment of generating the second vertical synchronization signal is advanced by re-establishing the vertical synchronization signal with the tearing effect signal of the second frequency, so as to shorten the time of spot activation when the spot activation command is issued at the same time.
[0053] like Figure 1 As shown, in the prior art, the frequency of the tearing effect signal is the same as the frequency of the first vertical synchronization signal, both being the first frequency. The time interval between the second vertical synchronization signal and the first vertical synchronization signal is equal to one period of the tearing effect signal, which is the reciprocal of the first frequency. The lower limit of the light spot illumination duration approaches 0, while the upper limit is the period of the tearing effect signal. In this case, if the integrated circuit chip receives the light spot illumination command when the first vertical synchronization signal changes from high to low, the integrated circuit chip will illuminate the light spot in the next image frame after the second vertical synchronization signal is generated. The light spot illumination duration is one period of the tearing effect signal, which is also one period of the first vertical synchronization signal, and equal to the reciprocal of the first frequency. When the periods of the tearing effect signal and the vertical synchronization signal are long, the light spot illumination duration is also long, resulting in reduced unlocking efficiency.
[0054] In this embodiment of the application, when the frequency of the tearing effect signal is the second frequency, the time interval between the second vertical synchronization signal and the first vertical synchronization signal is equal to at least one cycle of the tearing effect signal.
[0055] In one possible implementation, if the second frequency of the tearing effect signal is determined, and the interval between the issuance time of the light spot activation command and the generation time of the first vertical synchronization signal is less than or equal to one period of the tearing effect signal, then the time interval between the second vertical synchronization signal and the first vertical synchronization signal is equal to one period of the tearing effect signal. For example, if one period of the tearing effect signal is 5 milliseconds and the corresponding period of the first vertical synchronization signal is 20 milliseconds, and the light spot activation command is received within 5 milliseconds after the generation of the first vertical synchronization signal, the integrated circuit chip can generate a tearing effect signal with a 5-millisecond interval, starting from the generation time of the first vertical synchronization signal. The first vertical synchronization signal is synchronized with the tearing effect signal. Similarly, the second vertical synchronization signal can be generated 5 milliseconds after the generation time of the first vertical synchronization signal, and the light spot can be activated when the second vertical synchronization signal changes from high to low.
[0056] In this case, the upper limit of the light spot illumination duration can reach one cycle of the tearing effect signal. For example... Figure 4 As shown, if the integrated circuit chip receives a light spot activation command when the first vertical synchronization signal changes from high to low, the integrated circuit chip will activate the light spot in the next image frame after the second vertical synchronization signal is generated, that is, when the second vertical synchronization signal changes from high to low. The time interval between the first and second vertical synchronization signals is the reciprocal of the second frequency corresponding to the tearing effect signal, and the light spot activation duration is the reciprocal of the second frequency.
[0057] Because this embodiment uses a tearing effect signal with a second frequency to interrupt the original cycle of the first vertical synchronization signal, and generates a second vertical synchronization signal at the second frequency, when the time interval between the first and second vertical synchronization signals is the reciprocal of the second frequency corresponding to the tearing effect signal, since the second frequency is higher than the first frequency, the reciprocal of the second frequency is less than the reciprocal of the first frequency corresponding to the first vertical synchronization signal. The light spot activation duration is the time interval between the issuance of the light spot activation command and the moment when the second vertical synchronization signal changes from high level to low level. In this embodiment, the time interval between the second and first vertical synchronization signals is shortened, which is equivalent to shortening the upper limit of the light spot activation duration, facilitating the rapid activation of the light spot in the fingerprint acquisition area and improving unlocking efficiency.
[0058] In one possible implementation, if the second frequency of the tearing effect signal is determined, and the interval between the issuance of the light spot activation command and the generation of the first vertical synchronization signal is greater than one period of the tearing effect signal but less than one period of the first vertical synchronization signal, then the time interval between the second vertical synchronization signal and the first vertical synchronization signal is equal to multiple periods of the tearing effect signal. For example, if one period of the tearing effect signal is 5 milliseconds and the period of the first vertical synchronization signal is 20 milliseconds, and the light spot activation command is received at the 8th millisecond after the first vertical synchronization signal is generated, the integrated circuit chip can generate a tearing effect signal every 5 milliseconds, starting from the generation time of the first vertical synchronization signal. The first vertical synchronization signal is synchronized with the tearing effect signal. Similarly, a vertical synchronization signal can be generated every 5 milliseconds from the generation time of the first vertical synchronization signal. The vertical synchronization signal generated at the 10th millisecond is the second vertical synchronization signal. The light spot can be activated when the second vertical synchronization signal changes from high to low. At this time, the light spot activation time can reach 2 milliseconds, and based on... Figure 1 Existing spot activation methods require the spot to be activated 20 milliseconds after the generation of the first vertical synchronization signal, resulting in an activation time of 12 milliseconds. Therefore, the method provided in this application can effectively improve the spot activation efficiency.
[0059] For example, such as Figure 5 As shown in the figure, this is a schematic diagram of the second type of spot activation time provided in the embodiment of this application. If the spot activation command is issued between the generation time of the second sub-vertical synchronization signal and the generation time of the second vertical synchronization signal, then the time interval between the second vertical synchronization signal and the first vertical synchronization signal is equal to three cycles of the tearing effect signal. There are two sub-vertical synchronization signals between the second vertical synchronization signal and the first vertical synchronization signal, namely the first sub-vertical synchronization signal and the second sub-vertical synchronization signal. The time intervals between the first vertical synchronization signal and the first sub-vertical synchronization signal, the first sub-vertical synchronization signal and the second sub-vertical synchronization signal, and the second sub-vertical synchronization signal and the second vertical synchronization signal are all the reciprocal of the second frequency. If the second sub-vertical synchronization signal changes from high level to low level, and the integrated circuit chip receives the spot activation command, then the integrated circuit chip will activate the spot in the next image frame after the generation of the second vertical synchronization signal. The spot activation duration is also the reciprocal of the second frequency. If the spot activation command is issued between the generation time of the second sub-vertical synchronization signal and the generation time of the second vertical synchronization signal, then the spot activation duration is less than the reciprocal of the second frequency.
[0060] It should be noted that, in the embodiments of this application, the number of sub-vertical synchronization signals between the second vertical synchronization signal and the first vertical synchronization signal can be determined by the interval between the issuance time of the light spot activation command and the generation time of the first vertical synchronization signal, the first frequency, and the second frequency. The existence of two sub-vertical synchronization signals between the second vertical synchronization signal and the first vertical synchronization signal is merely an example.
[0061] In this embodiment of the application, the display screen of the electronic device can be an 8T1C architecture display screen, such as... Figure 6 As shown in the figure, this is a schematic diagram of an 8T1C circuit architecture provided in an embodiment of this application. The 8T1C circuit refers to a circuit composed of 8 T units and 1 capacitor, namely T1-T8 in the figure, and capacitor Cst. In practical applications, the first frequency corresponding to the first vertical synchronization signal can be 120Hz. The 8T1C architecture display supports generating a tearing effect signal with a frequency of 360Hz, thereby interrupting the cycle corresponding to the first vertical synchronization signal based on a second frequency of 360Hz, shortening the light spot activation time, and helping to improve unlocking efficiency.
[0062] In one possible implementation, T8 can provide a compensation voltage (DVH), and SP2 uses a 360Hz high-frequency reset, where SP2 is a switch. For example... Figure 7 As shown in the figure, this is a signal schematic diagram provided by an embodiment of this application. The frequency of the initial tearing effect signal can be 120Hz. Based on the compensation voltage (DVH) provided by T8 and the 360Hz frequency signal used by SP2, one period of the initial 120Hz tearing effect signal can be divided into three equal parts. The corresponding pulse width modulation (PWM) signal output is as follows: Figure 7 As shown, the pulse width modulation signal contains three small cycles within a 120Hz period, each of which is independent and repeatable. Each small cycle contains one 72H pulse signal and eleven 8H pulse signals. In this embodiment, based on the compensation voltage (DVH) provided by T8 and the use of a 360Hz high-frequency reset SP2, the current signal cycle can be interrupted at the frequency corresponding to SP2 without causing screen flickering. That is, the frequency of the tearing effect signal can be adjusted by SP2. For example, the frequency of the tearing effect signal can be adjusted to a second frequency higher than the first frequency. Thus, the integrated circuit chip can re-establish the vertical synchronization signal based on the tearing effect signal at the second frequency to obtain the second vertical synchronization signal.
[0063] In one possible implementation, the duration of the light spot activation can be determined by the time interval between the issuance of the light spot activation command and the generation of the second vertical synchronization signal.
[0064] For example, the initial vertical synchronization signal has a first frequency of 120Hz, and the tearing effect signal has a second frequency of 360Hz determined by SP2. The second frequency is higher than the first frequency. If a bright spot command is issued within the first image frame, the integrated circuit chip can interrupt the period of the current first vertical synchronization signal at the second frequency according to the second frequency of the tearing effect signal, and re-establish the vertical synchronization signal at the second frequency to obtain the reconstructed second vertical synchronization signal.
[0065] If the interval between the issuance of the command to activate the light spot and the generation of the first vertical synchronization signal is less than or equal to 2.7 milliseconds, then the time interval between the second vertical synchronization signal and the first vertical synchronization signal is equal to one period of the tearing effect signal, which is 2.7 milliseconds. In the next image frame after the second vertical synchronization signal is generated, the light spot in the fingerprint information acquisition area is activated. Therefore, the duration of the light spot activation is the duration between the issuance of the command to activate the light spot and the generation of the second vertical synchronization signal.
[0066] If the interval between the issuance of the spot activation command and the generation of the first vertical synchronization signal is greater than 2.7 milliseconds, then the time interval between the second vertical synchronization signal and the first vertical synchronization signal is equal to multiple cycles of the tearing effect signal. For example, there may be a first sub-vertical synchronization signal and a second sub-vertical synchronization signal between the second and first vertical synchronization signals, where the time intervals between the first and first sub-vertical synchronization signals, the first and second sub-vertical synchronization signals, and the second and second sub-vertical synchronization signals are all 2.7 milliseconds. Although there are multiple sub-vertical synchronization signals between the second and first vertical synchronization signals, the spot activation duration is still the duration between the issuance of the spot activation command and the generation of the second vertical synchronization signal.
[0067] In practical applications, the time interval between the issuance of the light spot activation command and the generation of the first vertical synchronization signal is uncertain, but the activation time of the light spot can be determined by the generation time of the second vertical synchronization signal. The shorter the time interval between the issuance of the light spot activation command and the generation time of the second vertical synchronization signal, the shorter the activation duration of the light spot. For example, if the fingerprint unlock command is issued at the moment the first vertical synchronization signal is generated, the light spot will activate in the next frame after the second vertical synchronization signal is generated. In this case, with a second frequency of 360Hz, the activation duration of the light spot is 2.7 milliseconds. If the fingerprint unlock command is issued at the moment the second vertical synchronization signal is generated, the light spot will activate in the next frame after the second vertical synchronization signal is generated, and the activation duration of the light spot approaches 0.
[0068] Therefore, with the second frequency of 360Hz, the illumination duration of the light spot ranges from 0 milliseconds to 2.7 milliseconds.
[0069] It should be noted that the above explanation only uses SP2 at 360Hz, corresponding to a tearing effect signal period of 2.7 milliseconds, and an illumination time between 0 and 2.7 milliseconds. This application does not specifically limit the frequency corresponding to SP2 in its embodiments. For example, if the frequency corresponding to SP2 is 480Hz, the tearing effect signal period is 2 milliseconds, and the illumination time can be shortened to 0 to 2 milliseconds; if SP2 uses a higher frequency, the tearing effect signal corresponds to a shorter period, and the illumination time can be infinitely close to 0 milliseconds, achieving a "touch-to-light" effect.
[0070] In one possible implementation, the frequency of the vertical synchronization signal can be restored to the first frequency after the light spot is illuminated. For example, such as... Figure 8 As shown in the figure, this is a schematic diagram of the third type of light spot activation time provided in the embodiment of this application. With a first frequency of 120Hz and a second frequency of 360Hz, the time interval between the third vertical synchronization signal and the first vertical synchronization signal is 8.3 milliseconds, and the time interval between the first vertical synchronization signal and the second vertical synchronization signal is 2.7 milliseconds. In the image frame following the generation of the second vertical synchronization signal, the light spot in the fingerprint information acquisition area is activated. After the light spot is activated, the vertical synchronization signal can return to the first frequency, that is, the time interval between the fourth vertical synchronization signal and the second vertical synchronization signal is 8.3 milliseconds.
[0071] In one example, the frequency of the tearing effect signal can always remain at the second frequency, such as Figure 9 As shown in the figure, this is a schematic diagram of a tearing effect signal frequency maintained at a second frequency according to an embodiment of this application. In another example, the frequency of the tearing effect signal can be adjusted to a first frequency after receiving a light spot activation command. For example, the initial frequency of the tearing effect signal can be synchronized with the frequency of the first vertical synchronization signal, i.e., both are the first frequency. After receiving the light spot activation command, the frequency of the tearing effect signal is adjusted to the second frequency. Taking the moment when the first vertical synchronization signal is generated as the starting time, the vertical synchronization signal is re-established based on the tearing effect signal with the second frequency to obtain the second vertical synchronization signal.
[0072] In one possible implementation, after the light spot in the fingerprint collection area illuminates, the integrated circuit chip can display an unlocking animation on the display interface to unlock the electronic device and display the unlocked interface on the device's screen. For example, such as... Figure 10 As shown in the figure, this figure is a schematic diagram of the second fingerprint unlocking method provided in the embodiment of this application. After the light spot in the fingerprint collection area is lit, the unlocking animation of water ripples can be displayed in the fingerprint collection area. After the unlocking animation ends, the unlocked display interface 1201 can be displayed, thereby improving the image display effect.
[0073] In summary, this application provides a method for activating a light spot. When a light spot activation command is issued, the integrated circuit chip can interrupt the current period of the first vertical synchronization signal at a second frequency higher than the first frequency of the first vertical synchronization signal, and re-establish the period of the vertical synchronization signal with the period corresponding to the second frequency to obtain a second vertical synchronization signal. The integrated circuit chip (IC) can activate the light spot in the fingerprint information acquisition area in the next image frame after the second vertical synchronization signal appears. Since the period corresponding to the second frequency is shorter than the period corresponding to the first frequency, the light spot in the fingerprint information acquisition area can be activated within the period corresponding to the second frequency. Compared with the prior art method of activating the light spot within the period corresponding to the first frequency, the light spot activation method provided in this application can effectively shorten the activation time of the light spot in the fingerprint information acquisition area and improve unlocking efficiency.
[0074] In some embodiments, the electronic device may be a mobile phone, tablet computer, desktop, laptop, notebook computer, ultra-mobile personal computer (UMPC), handheld computer, netbook, personal digital assistant (PDA), wearable electronic device, smartwatch, etc. that supports touch technology. This application does not impose any special restrictions on the specific form of the above-mentioned electronic devices.
[0075] For example, in this embodiment, the structure of the electronic device can be as follows: Figure 11 As shown, Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0076] like Figure 11 As shown, the electronic device may include a processor 110, a touch sensor 120, a display screen 130, etc.
[0077] 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.
[0078] 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.
[0079] For example, in this application, the processor can respond to the light spot activation command by using the first vertical synchronization signal as the starting signal and establishing a second vertical synchronization signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal. The first vertical synchronization signal is the last vertical synchronization signal generated before the light spot activation command is issued, and the second vertical synchronization signal is the first vertical synchronization signal generated after the light spot activation command is issued. When the second vertical synchronization signal changes from high level to low level, the light spot is activated.
[0080] 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.
[0081] 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, such as storing fingerprint information pre-recorded by the user, instructions to activate the light spot, etc. If the processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0082] Electronic devices can implement display functions through GPUs, display screens 130, and application processors. A GPU is a microprocessor for image processing, connecting the display screen 130 and the application processor. The GPU performs mathematical and geometric calculations and is used for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0083] The display screen 130 is used to display images, videos, etc. The display screen 130 includes a display panel. In some embodiments, the electronic device may include one or N display screens 130, where N is a positive integer greater than 1.
[0084] 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. In some examples, a user can touch a control in the fingerprint information collection area of the display screen to unlock the screen and enter the unlocked display interface.
[0085] Touch sensor 120, also known as a "touch device," can be located on display screen 130. The touch sensor 120 and display screen 130 together form a touchscreen, also known as a "touchscreen." Touch sensor 120 is used to detect touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the touch event type. For example, when a user presses their fingerprint in the fingerprint information collection area of the lock screen, the touch sensor can collect the user's fingerprint information and transmit it to the application processor to determine the touch event type.
[0086] This embodiment also provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the relevant method steps described above to implement the method in the above embodiment.
[0087] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for activating a light spot, characterized in that, include: In response to the command to illuminate the light spot, the first frequency of the tearing effect signal is adjusted to the second frequency; Starting from the moment the first vertical synchronization signal is generated, a second vertical synchronization signal is established by interrupting the first frequency corresponding to the first vertical synchronization signal based on a tearing effect signal with the second frequency. The first vertical synchronization signal is the last vertical synchronization signal generated before the activation light spot command is issued, and the second vertical synchronization signal is the first vertical synchronization signal generated after the activation light spot command is issued. The activation light spot command is generated in response to the user's fingerprint unlocking operation. The light spot is activated when the second vertical synchronization signal changes from high to low.
2. The method according to claim 1, characterized in that, The step of establishing a second vertical synchronization signal by interrupting the first frequency corresponding to the first vertical synchronization signal based on a tearing effect signal with a frequency of the second frequency, with the moment when the first vertical synchronization signal is generated as the starting moment, includes: Taking the moment when the first vertical synchronization signal is generated as the starting moment, the first frequency corresponding to the first vertical synchronization signal is interrupted based on the tearing effect signal with the second frequency. According to the time interval between the issuance time of the light spot activation command and the first vertical synchronization signal, and the second frequency which is higher than the first frequency corresponding to the first vertical synchronization signal, a second vertical synchronization signal is established.
3. The method according to claim 2, characterized in that, The time interval between the issuance time of the light spot activation command and the first vertical synchronization signal is less than or equal to the period corresponding to the second frequency. The step of establishing a second vertical synchronization signal based on the time interval between the issuance time of the light spot activation command and the first vertical synchronization signal, and a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, includes: Using the first vertical synchronization signal as the starting signal, a second vertical synchronization signal is established based on a second frequency that is higher than the first frequency corresponding to the first vertical synchronization signal, such that the time interval between the first vertical synchronization signal and the second vertical synchronization signal is the period corresponding to the second frequency.
4. The method according to claim 2, characterized in that, The time interval between the issuance time of the light spot activation command and the first vertical synchronization signal is greater than the period corresponding to the second frequency and less than or equal to the period corresponding to the first frequency. The step of establishing a second vertical synchronization signal based on the time interval between the issuance time of the light spot activation command and the first vertical synchronization signal, and a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, includes: Using the first vertical synchronization signal as the starting signal, a second vertical synchronization signal is established based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, such that the time interval between the first vertical synchronization signal and the second vertical synchronization signal is multiple cycles corresponding to the second frequency.
5. The method according to any one of claims 1-4, characterized in that, After the second vertical synchronization signal changes from high level to low level and the light spot is turned on, the process further includes: Unlock the electronic device and display the unlocked interface on the device's screen.
6. The method according to any one of claims 1-4, characterized in that, Before adjusting the first frequency of the tearing effect signal to the second frequency in response to the light spot activation command, the method further includes: In response to the user's fingerprint unlocking operation, collect the user's fingerprint information; The collected user fingerprint information is compared with the stored fingerprint information; The step of adjusting the first frequency of the tearing effect signal to a second frequency in response to the light spot activation command includes: When the collected user's fingerprint information matches the stored fingerprint information, in response to the light spot activation command, the first frequency of the tearing effect signal is adjusted to the second frequency.
7. An electronic device, characterized in that, The electronic device includes: a processor and a memory; The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the steps of a spot lighting method as described in any one of claims 1-6 according to the instructions in the program code.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of a spot lighting method as described in any one of claims 1-6.
Citation Information
Patent Citations
Touch screen unlocking method and device, electronic equipment and storage medium
CN111651082A
Display screen frequency conversion method, display driving integrated circuit chip and application processor
CN115019732A