Light spot turn-on method, electronic equipment and storage medium

By interrupting and re-establishing the vertical synchronization signal in an electronic device with a tear effect signal higher than the initial vertical synchronization signal frequency, the problem of excessive light spot lighting is solved, and the fingerprint unlocking efficiency and device unlocking speed are improved.

CN119248164AActive Publication Date: 2025-01-03HONOR DEVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410042433.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-01-03
Estimated Expiration
2044-01-10

AI Technical Summary

Technical Problem

When fingerprint unlocking in existing electronic devices, the light spot light is limited by the vertical synchronization signal cycle, resulting in insufficiency of unlocking.

Method used

By interrupting the current vertical synchronization signal in the electronic device with a tear effect signal higher than the initial vertical synchronization signal frequency, the second vertical synchronization signal is re-established, so that the spot light spot light is turned on for a smaller period, thereby shortening the spot light light time .

Benefits of technology

It effectively shortens the light spot opening time, improves the efficiency of fingerprint unlocking, and improves the unlocking speed without affecting the safety of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248164A_ABST
    Figure CN119248164A_ABST
Patent Text Reader

Abstract

The invention provides a light spot turn-on method and device and a storage medium, and the method comprises the steps: taking a first vertical synchronization signal as an initial signal, building a second vertical synchronization signal based on a second frequency higher than a first frequency corresponding to the first vertical synchronization signal in response to a light spot turn-on instruction, and transmitting the second vertical synchronization signal to a server; the first vertical synchronizing signal is the last vertical synchronizing signal generated before the light spot turning-on instruction is issued, and the second vertical synchronizing signal is the first vertical synchronizing signal generated after the light spot turning-on instruction is issued; and when the second vertical synchronization signal is converted from the high level to the low level, the light spot is turned on. According to the light spot turn-on method provided by the invention, the light spot can be turned on in the period corresponding to the second frequency, so that the light spot turn-on duration is effectively shortened, and the unlocking efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a light spot lighting method, an electronic device and a storage medium. Background Art

[0002] With the development of electronic technology, more and more electronic devices are equipped with fingerprint unlocking function. Based on the fingerprint unlocking function of electronic devices, users can unlock electronic devices through the recorded fingerprint information, effectively improving the unlocking efficiency. Usually, after the user presses the fingerprint in the fingerprint information collection area of ​​the electronic device, the fingerprint information collection area has a light spot lighting effect, and the light spot lighting requires a certain response time, which affects the fingerprint unlocking time.

[0003] At present, the duration of the light spot on the fingerprint information collection area is determined by the cycle of the vertical synchronization signal of the display screen. After the user presses the fingerprint in the fingerprint information collection area, the electronic device can receive the instruction to turn on the light spot in one image frame, and turn on the light spot in the fingerprint information collection area in the next image frame when the next vertical synchronization signal is generated. Therefore, the upper limit of the light spot on time 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 is lit for a long time, which reduces the unlocking efficiency of the electronic device. Summary of the invention

[0005] The present application provides a light spot activation method, electronic device and storage medium, aiming to improve unlocking efficiency.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions:

[0007] First aspect: An embodiment of the present application provides a method for turning on a light spot, including: in response to an instruction to turn on the light spot, taking a first vertical synchronization signal as a starting signal, and establishing a second vertical synchronization signal based on a second frequency higher than a first frequency corresponding to the first vertical synchronization signal, wherein the first vertical synchronization signal is the last vertical synchronization signal generated before the instruction to turn on the light spot is issued, and the second vertical synchronization signal is the first vertical synchronization signal generated after the instruction to turn on the light spot is issued; when the second vertical synchronization signal changes from a high level to a low level, the light spot is turned on.

[0008] In the embodiment of the present application, 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 smaller than the corresponding period of the first vertical synchronization signal. The light spot can be turned on within a smaller period of the tearing effect signal, thereby effectively shortening the duration of the light spot being turned on and improving the unlocking efficiency.

[0009] In a possible implementation, in response to an instruction to turn on the light spot, a second vertical synchronization signal is established according to the time interval between the issuance time of the instruction to turn on the light spot 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 moment of the bright light spot enable instruction and the first vertical synchronization signal is less than or equal to the period corresponding to the second frequency. In response to the bright light spot enable instruction, a second vertical synchronization signal is established based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, with 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 moment of the bright light spot start instruction 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 bright light spot start instruction, the first vertical synchronization signal is used as the starting signal, and a second vertical synchronization signal is established based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, so that the time interval between the first vertical synchronization signal and the second vertical synchronization signal is a multiple of the periods corresponding to the second frequency.

[0012] In one possible implementation, in response to an instruction to brighten the light spot, taking the moment of generating the first vertical synchronization signal as the starting moment, a tearing effect signal with a second frequency is used to interrupt the first frequency corresponding to the first vertical synchronization signal, and establish a second vertical synchronization signal, wherein the second frequency is greater than the first frequency.

[0013] In one possible implementation, in response to an instruction to turn on the light spot, the first frequency of the tearing effect signal is adjusted to a second frequency; taking the moment of generating the first vertical synchronization signal 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 to establish a second vertical synchronization signal.

[0014] In a possible implementation, when the second vertical synchronization signal changes from a high level to a low level, after the light spot is turned on, the lock screen state of the electronic device can be released, and the unlocked display interface can be displayed on the display screen of the electronic device.

[0015] In a 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 with the first vertical synchronization signal as the starting signal in response to the instruction to light up the light spot, the user's fingerprint information may be collected in response to the user's fingerprint unlocking operation; the collected user's fingerprint information may be compared with the stored fingerprint information; when the collected user's fingerprint information matches the stored fingerprint information, establishing a second vertical synchronization signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal with the first vertical synchronization signal as the starting signal in response to the instruction to light up the light spot. This can improve the unlocking efficiency while improving the security of the electronic device.

[0016] Second aspect: An embodiment of the present application provides an electronic device, comprising: 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 lighting method as described above according to the instructions in the program code.

[0017] A third aspect: An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of a light spot lighting method as described above are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the existing light spot lighting method;

[0019] Figure 2 A flow chart of a light spot lighting method provided in an embodiment of the present application;

[0020] Figure 3 A schematic diagram of the first fingerprint unlocking method provided in the embodiment of the present application;

[0021] Figure 4 A schematic diagram of the first light spot lighting time provided in an embodiment of the present application;

[0022] Figure 5 A schematic diagram of the second light spot lighting time provided in an embodiment of the present application;

[0023] Figure 6 A schematic diagram of an 8T1C circuit architecture provided in an embodiment of the present application;

[0024] Figure 7 A signal schematic diagram provided for an embodiment of the present application;

[0025] Figure 8 A schematic diagram of the third light spot lighting time provided in an embodiment of the present application;

[0026] Fig. 9 A schematic diagram of a tearing effect signal frequency maintained at a second frequency provided by an embodiment of the present application;

[0027] Fig.10 A second fingerprint unlocking schematic diagram provided in an embodiment of the present application;

[0028] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.

[0030] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0031] The following is an introduction to the relevant concepts involved in this application.

[0032] The tearing effect signal (TE) of the 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 the data of the random access memory (RAM) and display it on the display. The tearing effect signal is periodic and has a fixed period.

[0033] The main function of the tearing effect signal is to avoid conflicts caused by the MCU writing data at the same location when the controller reads RAM data, resulting in screen flickering. For example, the display process of a frame of the screen is the process of scanning pixels from top to bottom. If the screen starts scanning the pixels of the next frame before the scanning of the previous frame is completed, the screen flickering phenomenon may occur, which can also be called screen tearing.

[0034] When scanning pixels from top to bottom, whether it is interlaced scanning or progressive scanning, the display needs two synchronization signals, namely horizontal synchronization signal and vertical synchronization signal. Among them, the vertical synchronization signal (VSync) is introduced to avoid screen tearing.

[0035] At present, the frequency of the vertical synchronization signal is consistent with the frequency of the tearing effect signal and is fixed. The upper limit of the duration of the light spot in the fingerprint information collection area can be determined by the period of the tearing effect signal of the display screen or the period of the vertical synchronization signal. When the electronic device receives the user's fingerprint unlocking command in an image frame, it is necessary to turn on the light spot in the fingerprint information collection area in the next image frame at the time when the next tearing effect signal or vertical synchronization signal is generated. Since the period of the tearing effect signal or the vertical synchronization signal is fixed, when the period of the tearing effect signal or the vertical synchronization signal is longer, the light spot in the fingerprint information collection area is longer, resulting in a lower unlocking efficiency of the electronic device.

[0036] For example, the tearing effect signal has a period of 8.3 milliseconds and a corresponding frequency of 120 Hz. Figure 1 As shown, the figure is a schematic diagram of the existing light spot activation method. In the figure, the frequency of the vertical synchronization signal is consistent with the frequency of the tearing effect signal, both of which are 120Hz. If an instruction to activate the light spot is issued in the first cycle corresponding to the tearing effect signal, the integrated circuit chip (IC) can activate the light spot (also called the enabling light spot) in the fingerprint information collection area in the next cycle of the first cycle, that is, at the beginning of the second cycle. As shown in the figure, when the cycle of the tearing effect signal is 8.3 milliseconds, if the moment when the instruction to activate the light spot is issued is the moment corresponding to point A, the integrated circuit chip will start to enable the light spot at the moment corresponding to point B, that is, the integrated circuit chip will activate the light spot in the fingerprint information collection area when the vertical synchronization signal appears again and the vertical synchronization signal changes from a high level to a low level. Since the issuance time of the instruction to activate the light spot is random, it can be any time in the first cycle, and the activation time of the light spot is the time corresponding to point B. In this case, the light spot on time of the fingerprint information collection area is the time interval between the issuance time of the light spot on command and the time corresponding to point B. When the first cycle is 8.3 milliseconds, it can be determined that the light spot on time is between 0 milliseconds and 8.3 milliseconds.

[0037] Based on this, an embodiment of the present application provides a method for activating a light spot. When an integrated circuit chip of an electronic device receives an instruction to activate a light spot, a tearing effect signal with a frequency higher than the frequency of the initial vertical synchronization signal can be used to interrupt the cycle of the current initial vertical synchronization signal, and the vertical synchronization signal can be re-established with the cycle of the tearing effect signal, so that the interval between the reconstructed vertical synchronization signal and the previous initial vertical synchronization signal is equal to one cycle of the tearing effect signal. On this basis, the integrated circuit chip can activate the light spot of the fingerprint information collection area in the next image frame where the reconstructed vertical synchronization signal appears. Since the frequency of the tearing effect signal is greater than the frequency of the initial vertical synchronization signal, the cycle of the tearing effect signal is less than the corresponding cycle of the initial vertical synchronization signal, and the light spot of the fingerprint information collection area can be activated within a smaller cycle of the tearing effect signal, thereby effectively shortening the activation time of the light spot of the fingerprint information collection area and improving the unlocking efficiency.

[0038] Combine the following Figure 2 The light spot lighting method provided in the embodiment of the present application is introduced. Figure 2 A flow chart of a light spot activation method provided in an embodiment of the present application. For ease of description, the last vertical synchronization signal generated before the light spot activation instruction is issued is used as the first vertical synchronization signal, and the first vertical synchronization signal generated after the light spot activation instruction is issued is 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 the user's fingerprint information, 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 relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0040] S101. The electronic device issues a light spot activation instruction in response to a fingerprint unlocking operation by a user.

[0041] like Figure 3 As shown, this figure is a schematic diagram of the first fingerprint unlocking provided in an embodiment of the present application. The user's fingerprint unlocking operation can be an operation of the user pressing the fingerprint on the fingerprint information collection area 1101 of the display screen. The electronic device can respond to the user's fingerprint unlocking operation and send a light spot lighting instruction to the integrated circuit chip. The light spot lighting instruction is used to indicate the light spot lighting up the fingerprint information collection area 1101.

[0042] In one example, a user presses a fingerprint on a fingerprint information collection area of ​​a display screen, and the electronic device can collect the user's fingerprint information through a sensor in the fingerprint information collection area, and compare the user's fingerprint information collected in real time with the fingerprint information pre-entered by the user in a memory.

[0043] If the user's fingerprint information collected in real time matches the fingerprint information pre-entered by the user, it means that the user's fingerprint unlocking operation is valid; if the user's fingerprint information collected in real time does not match the fingerprint information pre-entered by the user, it means that the user's fingerprint unlocking operation is invalid.

[0044] If the user's fingerprint unlocking operation is valid, the electronic device can issue a light spot activation instruction in response to the user's fingerprint unlocking operation. If the user's fingerprint unlocking operation is invalid, the electronic device does not need to issue a light spot activation instruction.

[0045] S102, the integrated circuit chip responds to the instruction to light up the light spot, takes the time of generating the first vertical synchronization signal as the starting time, re-establishes the vertical synchronization signal according to the tearing effect signal with the second frequency, and obtains the second vertical synchronization signal.

[0046] The frequency of the first vertical synchronization signal is a first frequency, and the second frequency is higher than the first frequency.

[0047] In the embodiment of the present application, the period corresponding to the first vertical synchronization signal can be interrupted based on the tearing effect signal, and the vertical synchronization signal can be re-established. That is, taking the moment of generating the first vertical synchronization signal as the starting moment, after at least one period of the tearing effect signal, the second vertical synchronization signal is generated, so 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 can be understood that a period corresponding to the first vertical synchronization signal is the inverse of the first frequency, and a period of the tearing effect signal is the inverse of the second frequency.

[0049] S103 . The integrated circuit chip turns on the light spot when generating the next image frame of the second vertical synchronization signal.

[0050] In the embodiment of the present application, the light spot lighting time can be determined by the generation time of the second vertical synchronization signal, such as Figure 4 As shown in the figure, which is a schematic diagram of the first light spot activation time provided in an embodiment of the present application, the integrated circuit chip can activate the light spot in the fingerprint information collection area after generating the second vertical synchronization signal when the second vertical synchronization signal changes from a high level to a low level.

[0051] The time when the light spot activation instruction is issued is determined by the time when the user performs the fingerprint unlocking operation, and the time when the user performs the fingerprint unlocking operation has a certain uncertainty, which can be any time between the first vertical synchronization signal and the second vertical synchronization signal. On this basis, the duration range of the light spot activation can be determined based on the cycle of the tearing effect signal, that is, the lower limit of the duration range of the light spot activation is close to 0, and the upper limit is one cycle of the tearing effect signal.

[0052] In the embodiment of the present application, the vertical synchronization signal is re-established by using the tearing effect signal of the second frequency, so as to advance the time of generating the second vertical synchronization signal, so as to shorten the duration of activating the light spot when the time of issuing the instruction to activate the light spot is the same.

[0053] like Figure 1 As shown, in the prior art, the frequency of the tearing effect signal is consistent with the frequency of the first vertical synchronization signal, both of which are the first frequency. The time interval between the second vertical synchronization signal and the first vertical synchronization signal is equal to one cycle of the tearing effect signal, which is the inverse of the first frequency. The lower limit of the duration of the light spot is close to 0, and the upper limit is the cycle of the tearing effect signal. In this case, if the first vertical synchronization signal changes from a high level to a low level, the integrated circuit chip receives an instruction to turn on the light spot, then the integrated circuit chip will turn on the light spot in the next image frame after the second vertical synchronization signal is generated. The light spot is on for one cycle of the tearing effect signal, and also one cycle of the first vertical synchronization signal, which is equal to the inverse of the first frequency. In the case where the cycles of the tearing effect signal and the vertical synchronization signal are long, the light spot is also on for a long time, which reduces the unlocking efficiency.

[0054] In the embodiment of the present 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 a possible implementation, if the second frequency of the tearing effect signal is determined, and the interval between the time when the instruction to light up the light spot is issued and the time when the first vertical synchronization signal is generated is less than or equal to one cycle 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 cycle of the tearing effect signal. For example, one cycle of the tearing effect signal is 5 milliseconds, and the corresponding cycle of the first vertical synchronization signal is 20 milliseconds. After the first vertical synchronization signal is generated, if the instruction to light up the light spot is received within 5 milliseconds, the integrated circuit chip can generate a tearing effect signal at an interval of 5 milliseconds with the generation time of the first vertical synchronization signal as the starting time. The first vertical synchronization signal is synchronized with the tearing effect signal. Similarly, the second vertical synchronization signal can be generated at an interval of 5 milliseconds with the generation time of the first vertical synchronization signal, and the light spot can be turned on when the second vertical synchronization signal changes from a high level to a low level.

[0056] In this case, the upper limit of the light spot on time can reach one cycle of the tearing effect signal. Figure 4 As shown, if the integrated circuit chip receives the instruction to light up the light spot when the first vertical synchronization signal changes from a high level to a low level, the integrated circuit chip will light up the light spot in the next image frame after generating the second vertical synchronization signal, that is, the light spot is turned on when the second vertical synchronization signal changes from a high level to a low level. The time interval between the first vertical synchronization signal and the second vertical synchronization signal is the reciprocal of the second frequency corresponding to the tearing effect signal, and the light spot light-up duration is the reciprocal of the second frequency.

[0057] Since the tearing effect signal with the second frequency is used to interrupt the original cycle of the first vertical synchronization signal in the embodiment of the present application, and the second vertical synchronization signal is generated with the second frequency, when the time interval between the first vertical synchronization signal and the second vertical synchronization signal is the inverse of the second frequency corresponding to the tearing effect signal, since the second frequency is higher than the first frequency, the inverse of the second frequency is less than the inverse of the first frequency corresponding to the first vertical synchronization signal. The light spot on time is the time interval between the moment when the light spot on instruction is issued and the moment when the second vertical synchronization signal changes from a high level to a low level. In the embodiment of the present application, the time interval between the second vertical synchronization signal and the first vertical synchronization signal is shortened, which is equivalent to shortening the upper limit of the light spot on time, so as to facilitate the subsequent rapid onset of the light spot in the fingerprint collection area and improve the unlocking efficiency.

[0058] In a possible implementation, if the second frequency of the tearing effect signal is determined, and the interval between the time when the instruction to light up the light spot is issued and the time when the first vertical synchronization signal is generated is greater than one cycle of the tearing effect signal and less than one cycle corresponding to 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 cycles of the tearing effect signal. For example, one cycle of the tearing effect signal is 5 milliseconds, and the cycle corresponding to the first vertical synchronization signal is 20 milliseconds. After the first vertical synchronization signal is generated, if the instruction to light up the light spot is received at the 8th millisecond, the integrated circuit chip can use the generation time of the first vertical synchronization signal as the starting time, and generate a tearing effect signal every 5 milliseconds. 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 turned on when the second vertical synchronization signal changes from a high level to a low level. At this time, the light spot can be on for 2 milliseconds. Based on Figure 1 According to the existing method for activating the light spot, the light spot needs to be activated 20 milliseconds after the first vertical synchronization signal is generated, and the light spot activation time reaches 12 milliseconds. It can be seen that the method provided by the embodiment of the present application can effectively improve the efficiency of activating the light spot.

[0059] For example, Figure 5 As shown, the figure is a schematic diagram of the second light spot start time provided by the embodiment of the present application. If the time of issuing the light spot start instruction is between the generation time of the second sub-vertical synchronization signal and the generation time of the second vertical synchronization signal, 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, wherein 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 integrated circuit chip receives the light spot start instruction when the second sub-vertical synchronization signal changes from a high level to a low level, the integrated circuit chip will turn on the light spot in the next image frame after the second vertical synchronization signal is generated, and the light spot start duration is also the reciprocal of the second frequency. If the time of issuing the light spot start instruction is between the generation time of the second sub-vertical synchronization signal and the generation time of the second vertical synchronization signal, the light spot start duration is less than the reciprocal of the second frequency.

[0060] It should be noted that, in the embodiment of the present 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 start instruction 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 only an example.

[0061] In the embodiment of the present application, the display screen of the electronic device may be a display screen of 8T1C architecture, such as Figure 6 As shown, this figure is a schematic diagram of an 8T1C circuit architecture provided in an embodiment of the present application. The 8T1C circuit refers to a circuit composed of 8 T units and 1 capacitor, that is, including T1-T8 in the figure, and capacitor Cst. In actual application scenarios, the first frequency corresponding to the first vertical synchronization signal can be 120Hz, and the display screen of the 8T1C architecture supports the generation of a tearing effect signal with a frequency of 360Hz, and then can interrupt the period corresponding to the first vertical synchronization signal based on the second frequency of 360Hz, shorten the light spot activation time, and help improve the unlocking efficiency.

[0062] In a possible implementation, T8 can provide a compensation voltage (DVH), and SP2 is reset at a high frequency of 360 Hz, where SP2 is a switch. Figure 7 As shown in FIG. 1 , this figure is a signal schematic diagram provided by an embodiment of the present application. The frequency of the initial tearing effect signal can be 120 Hz. Based on the compensation voltage (DVH) provided by T8 and the 360 ​​Hz frequency signal adopted by SP2, one cycle of the 120 Hz initial 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 includes three small cycles within the cycle corresponding to 120Hz, wherein each small cycle is independently repeatable, and each small cycle includes a 72H pulse signal and 11 8H pulse signals. In the embodiment of the present application, based on the compensation voltage (DVH) provided by T8, and SP2 with a high-frequency reset of 360Hz, it is possible to support interrupting the current signal cycle at a frequency corresponding to SP2 without causing the display screen to flicker, that is, adjusting the frequency of the tearing effect signal by SP2. Exemplarily, 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 according to the tearing effect signal with a frequency of the second frequency to obtain a second vertical synchronization signal.

[0063] In a possible implementation, the duration of the light spot being on may be determined by the time interval between the time when the light spot being on instruction is issued and the time when the second vertical synchronization signal is generated.

[0064] Exemplarily, the first frequency of the initial vertical synchronization signal is 120 Hz, and the second frequency of the tearing effect signal is determined by the SP2 frequency to be 360 ​​Hz, and the second frequency is higher than the first frequency. If a bright spot start instruction is issued in the first image frame, the integrated circuit chip can interrupt the cycle of the current first vertical synchronization signal with the second frequency according to the second frequency of the tearing effect signal, re-establish the vertical synchronization signal with the second frequency, and obtain the reconstructed second vertical synchronization signal.

[0065] If the interval between the time when the light spot light-on command is issued and the time when the first vertical synchronization signal is generated 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 cycle of the tearing effect signal, which is 2.7 milliseconds. In the next image frame in which the second vertical synchronization signal is generated, the light spot in the fingerprint information collection area is turned on, and thus the light spot light-on duration is the duration between the time when the light spot light-on command is issued and the time when the second vertical synchronization signal is generated.

[0066] If the interval between the time when the instruction to turn on the light spot is issued and the time when the first vertical synchronization signal is generated is greater than 2.7 milliseconds, 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 is a first sub-vertical synchronization signal and a second sub-vertical synchronization signal between the second vertical synchronization signal and the first vertical synchronization signal, wherein 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 2.7 milliseconds. Although there are multiple sub-vertical synchronization signals between the second vertical synchronization signal and the first vertical synchronization signal, the light spot turn-on duration is still the duration between the time when the instruction to turn on the light spot is issued and the time when the second vertical synchronization signal is generated.

[0067] In actual application scenarios, the duration between the time when the instruction to turn on the light spot is issued and the time when the first vertical synchronization signal is generated is uncertain, but the time when the light spot is turned on can be determined by the time when the second vertical synchronization signal is generated. The shorter the time interval between the time when the instruction to turn on the light spot is issued and the time when the second vertical synchronization signal is generated, the shorter the time when the light spot is turned on. Exemplarily, if the fingerprint unlocking instruction is issued at the time when the first vertical synchronization signal is generated, the light spot will be turned on in the next frame when the second vertical synchronization signal is generated. When the second frequency is 360Hz, the light spot will be turned on for 2.7 milliseconds. If the fingerprint unlocking instruction is issued at the time when the second vertical synchronization signal is generated, the light spot will be turned on in the next frame when the second vertical synchronization signal is generated, and the light spot will be turned on for a period of time close to 0.

[0068] Therefore, when the second frequency is 360 Hz, the lighting duration of the light spot ranges from 0 milliseconds to 2.7 milliseconds.

[0069] It should be noted that the above description is based on the example that SP2 uses 360Hz, the period of the corresponding tearing effect signal is 2.7 milliseconds, and the duration of the light spot is between 0 milliseconds and 2.7 milliseconds. The frequency corresponding to SP2 is not specifically limited in the embodiment of the present application. For example, if the frequency corresponding to SP2 is 480Hz, the period of the tearing effect signal is 2 milliseconds, and the duration of the light spot can be shortened to 0 milliseconds to 2 milliseconds; if SP2 uses a higher frequency, the tearing effect signal corresponds to a shorter period, and the duration of the light spot can be infinitely close to 0 milliseconds, achieving the effect of "lighting up at the touch of a button".

[0070] In a possible implementation, the frequency of the vertical synchronization signal can be restored to the first frequency after the light spot is turned on. Figure 8 As shown, this figure is a schematic diagram of the third light spot activation time provided by an embodiment of the present application. When the first frequency is 120 Hz and the second frequency is 360 Hz, 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 next image frame at the moment when the second vertical synchronization signal is generated, the light spot in the fingerprint information collection area is activated. After the light spot is activated, the vertical synchronization signal can be restored 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 may always be maintained at the second frequency, such as Fig. 9 As shown, this figure is a schematic diagram of a tearing effect signal frequency maintained at a second frequency provided by an embodiment of the present application. In another example, the frequency of the tearing effect signal can be adjusted to the first frequency after receiving the instruction to turn on the light spot. For example, the initial frequency of the tearing effect signal can be synchronized with the frequency of the first vertical synchronization signal, that is, both are the first frequency. After obtaining the instruction to turn on the light spot, the frequency of the tearing effect signal is adjusted to the second frequency, and the moment of generating the first vertical synchronization signal is taken as the starting moment. The vertical synchronization signal is re-established according to the tearing effect signal with the second frequency to obtain the second vertical synchronization signal.

[0072] In a possible implementation, after the light spot in the fingerprint collection area is turned on, the integrated circuit chip can display an unlocking animation on the display interface, release the lock screen state of the electronic device, and display the unlocked display interface on the display screen of the electronic device. Fig.10 As shown, this figure is a schematic diagram of the second fingerprint unlocking provided in an embodiment of the present application. After the light spot in the fingerprint collection area is turned on, a water ripple unlocking effect can be displayed in the fingerprint collection area. After the unlocking effect ends, the unlocked display interface 1201 can be displayed, thereby improving the image display effect.

[0073] In summary, the embodiment of the present application provides a method for activating a light spot. When a light spot activation instruction is issued, the integrated circuit chip can interrupt the cycle of the current first vertical synchronization signal with a second frequency higher than the first frequency of the first vertical synchronization signal, re-establish the cycle of the vertical synchronization signal with a cycle corresponding to the second frequency, and obtain a second vertical synchronization signal. The integrated circuit chip (IC) can activate the light spot of the fingerprint information collection area in the next image frame in which the second vertical synchronization signal appears. Since the cycle corresponding to the second frequency is shorter than the cycle corresponding to the first frequency, the light spot of the fingerprint information collection area can be activated within the cycle corresponding to the second frequency. Compared with the method of activating the light spot within the cycle corresponding to the first frequency in the prior art, the light spot activation method provided by the present application can effectively shorten the time for activating the light spot of the fingerprint information collection area and improve the 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, smart watch and other devices that support touch technology. The present application does not impose any special restrictions on the specific form of the above electronic devices.

[0075] For example, in this embodiment, the structure of the electronic device can be as follows Fig.11 As shown, Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0076] like Fig.11 As shown, the electronic device may include a processor 110, a touch sensor 120, a display screen 130, etc.

[0077] It is to be 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 shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0078] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0079] For example, in the present application, the processor can respond to the instruction to brighten the light spot, take the first vertical synchronization signal as the starting signal, and establish 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 instruction to brighten the light spot is issued, and the second vertical synchronization signal is the first vertical synchronization signal generated after the instruction to brighten the light spot is issued; when the second vertical synchronization signal changes from a high level to a low level, the light spot is turned on.

[0080] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0081] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used, such as fingerprint information pre-entered by the user, instructions for starting the light spot, etc. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.

[0082] The electronic device can realize the display function through a GPU, a display screen 130, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 130 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change 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 1 or N display screens 130, where N is a positive integer greater than 1.

[0084] A series of graphical user interfaces (GUIs) can be displayed on the display screen 130 of the electronic device, and these GUIs are the main screens of the electronic device. Generally speaking, the size of the display screen 130 of the electronic device is fixed, and only limited controls can be displayed on the display screen 130 of the electronic device. A control is a GUI element, which is a software component included in an application that controls all data processed by the application and interactive operations on these data. Users can interact with the controls through direct manipulation to read or edit relevant information of the application. In some examples, the user can touch the control in the fingerprint information collection area of ​​the display screen to unlock the screen and enter the unlocked display interface.

[0085] The touch sensor 120 is also called a "touch control device". The touch sensor 120 can be set on the display screen 130. The touch sensor 120 and the display screen 130 form a touch screen, also called a "touch control screen". The touch sensor 120 is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. For example, when the user presses the fingerprint in the fingerprint information collection area of ​​the lock screen interface, the touch sensor can collect the user's fingerprint information and pass the collected fingerprint information to the application processor to determine the type of touch event.

[0086] This embodiment further provides a computer-readable storage medium, which includes instructions. When the instructions are executed on an electronic device, the electronic device executes the related method steps as described above to implement the method in the above embodiment.

[0087] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for activating a light spot, characterized in that: include: In response to the light spot start instruction, a second vertical synchronization signal is established based on a second frequency higher than a first frequency corresponding to the first vertical synchronization signal, taking the first vertical synchronization signal as a starting signal, wherein the first vertical synchronization signal is the last vertical synchronization signal generated before the light spot start instruction is issued, and the second vertical synchronization signal is the first vertical synchronization signal generated after the light spot start instruction is issued; When the second vertical synchronization signal changes from a high level to a low level, the light spot is turned on.

2. The method according to claim 1, characterized in that The method of responding to the instruction to start the light spot, taking the first vertical synchronization signal as the starting signal and establishing the second vertical synchronization signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, comprises: In response to the light spot enable instruction, a second vertical synchronization signal is established according to the time interval between the issuance time of the light spot enable instruction and the first vertical synchronization signal, and a second frequency higher than the first frequency corresponding to the first vertical synchronization signal.

3. The method according to claim 2, characterized in that The time interval between the issuance moment of the bright spot instruction and the first vertical synchronization signal is less than or equal to the period corresponding to the second frequency, and the response to the bright spot instruction is to establish a second vertical synchronization signal according to the time interval between the issuance moment of the bright spot instruction and the first vertical synchronization signal, and a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, including: In response to the instruction to brighten the light spot, a second vertical synchronization signal is established with the first vertical synchronization signal as the starting signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization 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.

4. The method according to claim 2, characterized in that: The time interval between the issuance moment of the bright spot instruction 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, and the response to the bright spot instruction is to establish a second vertical synchronization signal according to the time interval between the issuance moment of the bright spot instruction and the first vertical synchronization signal, and a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, including: In response to the instruction to brighten the light spot, a second vertical synchronization signal is established with the first vertical synchronization signal as the starting signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, so that the time interval between the first vertical synchronization signal and the second vertical synchronization signal is a plurality of cycles corresponding to the second frequency.

5. The method according to claim 1, characterized in that The method of responding to the instruction to start the light spot, taking the first vertical synchronization signal as the starting signal and establishing the second vertical synchronization signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, comprises: In response to the instruction to turn on the light spot, taking the moment of generating the first vertical synchronization signal as the starting moment, a tearing effect signal with a second frequency interrupts the first frequency corresponding to the first vertical synchronization signal to establish a second vertical synchronization signal, and the second frequency is greater than the first frequency.

6. The method according to claim 5, characterized in that The method of responding to the instruction to start the light spot, taking the moment of generating the first vertical synchronization signal as the starting moment, interrupting the first frequency corresponding to the first vertical synchronization signal based on the tearing effect signal with the second frequency, and establishing the second vertical synchronization signal includes: In response to the light spot start instruction, adjusting the first frequency of the tearing effect signal to a second frequency; Taking the time when the first vertical synchronization signal is generated as the starting time, the first frequency corresponding to the first vertical synchronization signal is interrupted based on the tearing effect signal with the second frequency to establish a second vertical synchronization signal.

7. The method according to any one of claims 1 to 6, characterized in that: When the second vertical synchronization signal changes from a high level to a low level, after the light spot is turned on, the method further includes: The lock screen state of the electronic device is released, and the unlocked display interface is displayed on the display screen of the electronic device.

8. The method according to any one of claims 1 to 6, characterized in that: Before the step of establishing the second vertical synchronization signal in response to the instruction to start the light spot, taking the first vertical synchronization signal as the starting signal and based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, the step further includes: In response to a fingerprint unlocking operation by a user, collecting fingerprint information of the user; Comparing the collected fingerprint information of the user with the stored fingerprint information; The method of responding to the instruction to start the light spot, taking the first vertical synchronization signal as the starting signal and establishing the second vertical synchronization signal based on a second frequency higher than the first frequency corresponding to the first vertical synchronization signal, comprises: When the collected fingerprint information of the user matches the stored fingerprint information, in response to the light spot activation instruction, a second vertical synchronization signal is established based on a second frequency higher than a first frequency corresponding to the first vertical synchronization signal and taking the first vertical synchronization signal as a starting signal.

9. An electronic device, characterized in that: The electronic device comprises: 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 lighting method as described in any one of claims 1 to 8 according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a light spot lighting method according to any one of claims 1 to 8 are implemented.

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

  • Unlocking processing method and device, and computer storage medium

    US20210256101A1