Detection method and related device

By designing a detection device including multiple driving subunits and one echo signal receiving unit, the problem of difficulty in effectively driving multiple ultrasonic sensors in the prior art is solved, and the space efficiency and integration are improved.

CN119936889APending Publication Date: 2025-05-06BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510113457.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

Existing ultrasonic detection technology is difficult to effectively drive multiple ultrasonic sensors in fingerprint recognition scenarios, resulting in increased space occupation and reduced integration.

Method used

A detection device is designed, including an ultrasonic driving unit and an echo signal receiving unit, which corresponds to the ultrasonic sensor one by one through a plurality of driving sub-units, and receives the echo signals of each sensor using an echo signal receiving unit, and supports driving a plurality of ultrasonic sensors.

Benefits of technology

It realizes driving multiple ultrasonic sensors in a smaller space, improving the integration and efficiency of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119936889A_ABST
    Figure CN119936889A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a detection method and a related device, which can support the driving of a plurality of ultrasonic sensors and occupy less space. The detection device can comprise an ultrasonic driving unit and an echo signal receiving unit; wherein the ultrasonic driving unit comprises a plurality of driving subunits, the plurality of driving subunits are in one-to-one correspondence with the plurality of ultrasonic sensors, and any driving subunit is connected with the ultrasonic sensor corresponding to any driving subunit; any driving subunit is used for driving the ultrasonic sensor corresponding to any driving subunit to generate an ultrasonic signal; the echo signal receiving unit is connected with each ultrasonic sensor, and the echo signal receiving unit is used for receiving an electric signal of an echo signal output by each ultrasonic sensor.
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 provides a detection method and related devices. Background Art

[0002] At present, the demand for the application of ultrasonic detection technology in fingerprint recognition scenarios is increasing. For example, ultrasonic sensors are usually set below the screen. Ultrasonic sensors can be used to detect objects covering a preset area on the screen, such as the fingerprint of a user's finger. When the finger covers the preset area, the ultrasonic sensor can emit ultrasonic waves to the preset area and detect the echo of the ultrasonic wave. The back end can process the echo to obtain a fingerprint image. Summary of the invention

[0003] The embodiments of the present application provide a detection method and a related device, which can support driving multiple ultrasonic sensors and occupy less space.

[0004] In a first aspect, the present application provides a detection device, which may include an ultrasonic driving unit and an echo signal receiving unit;

[0005] Wherein, the ultrasonic driving unit includes a plurality of driving subunits, the plurality of driving subunits correspond to a plurality of ultrasonic sensors one by one, any driving subunit is connected to the ultrasonic sensor corresponding to any driving subunit, and any driving subunit is used to drive the ultrasonic sensor corresponding to any driving subunit to generate an ultrasonic signal;

[0006] The echo signal receiving unit is connected to each of the ultrasonic sensors, and is used to receive the electrical signal of the echo signal output by each of the ultrasonic sensors.

[0007] In the embodiment of the present application, the plurality of driving subunits correspond to the plurality of ultrasonic sensors one by one. An echo signal receiving unit is used to receive the electrical signal of the echo signal output by each ultrasonic sensor respectively. The detection device is provided with a plurality of driving subunits and an echo signal receiving unit, so that the detection device occupies less space and can also support driving a plurality of ultrasonic sensors.

[0008] In a possible implementation manner, based on the detection device provided in the above embodiment, the detection device may further include an interrupt signal receiving unit;

[0009] The interrupt signal receiving unit is used to receive an interrupt signal corresponding to any ultrasonic sensor, and the interrupt signal is used to instruct the ultrasonic driving unit to drive any ultrasonic sensor.

[0010] In the embodiment of the present application, the detection device can drive the corresponding ultrasonic sensor according to the situation or indication of the received interrupt signal. Such a design can enable the detection device to be used in a wider range of scenarios. The user can trigger the interrupt signal according to actual needs to call the detection device to drive the specified ultrasonic sensor.

[0011] In a possible implementation manner, based on the detection device provided in the foregoing embodiment, the interrupt signal receiving unit includes a plurality of interrupt signal receiving sub-units, and the plurality of interrupt signal receiving sub-units correspond one-to-one to the plurality of ultrasonic sensors;

[0012] Any interrupt signal receiving subunit is used to receive an interrupt signal corresponding to a target ultrasonic sensor, wherein the interrupt signal is used to instruct the ultrasonic driving unit to drive the target ultrasonic sensor, wherein the target ultrasonic sensor is the ultrasonic sensor corresponding to any interrupt signal receiving subunit.

[0013] In a possible implementation, based on the detection device provided by the aforementioned embodiment, the multiple driving sub-units include a first driving sub-unit and a second driving sub-unit; the multiple ultrasonic sensors include a first ultrasonic sensor and a second ultrasonic sensor; the first driving sub-unit is used to drive the first ultrasonic sensor to generate an ultrasonic signal, and the second driving sub-unit is used to drive the second ultrasonic sensor to generate an ultrasonic signal.

[0014] In a possible implementation manner, based on the detection device provided in the above embodiment, the detection device includes a processing unit;

[0015] The processing unit is used to generate a periodic drive scanning synchronization signal based on the target indication signal;

[0016] The ultrasonic driving unit is used to drive at least one of the ultrasonic sensors in each driving cycle of the periodic driving scanning synchronization signal.

[0017] In a possible implementation manner, based on the detection device provided by the aforementioned embodiment, in the periodic drive scanning synchronization signal, the interrupt signal receiving unit receives a first interrupt signal corresponding to the first ultrasonic sensor and a second interrupt signal corresponding to the second ultrasonic sensor in a first drive cycle, and the start time of the first interrupt signal is before the start time of the second interrupt signal;

[0018] In any driving cycle after the first driving cycle, the first driving subunit drives the first ultrasonic sensor in a first driving period, and the second driving subunit drives the second ultrasonic sensor in a second driving period, wherein the first driving period and the second driving period do not overlap.

[0019] In a possible implementation manner, based on the detection device provided by the aforementioned embodiment, the duration between the end time of the first driving period and the start time of the second driving period is greater than or equal to a preset first duration.

[0020] In a possible implementation manner, based on the detection device provided by the aforementioned embodiment, the difference between the start time of the first driving period and the start time of any driving cycle is a preset second duration.

[0021] In a possible implementation, based on the detection device provided in the aforementioned embodiment, the processing unit is connected to the touch component, the target indication signal is a signal triggered by the touch component, and the target indication signal is used to instruct the detection device to drive some or all of the multiple ultrasonic sensors.

[0022] In a possible implementation manner, based on the detection device provided in the aforementioned embodiment, the device further includes the plurality of ultrasonic sensors.

[0023] In a second aspect, the present application further provides a detection method, which can be applied to a detection device, wherein the detection device is used to drive a plurality of ultrasonic sensors. The method comprises:

[0024] receiving a target indication signal;

[0025] In response to the target indication signal, generating a periodic drive scanning synchronization signal;

[0026] At least one ultrasonic sensor among the plurality of ultrasonic sensors is driven in at least a portion of a driving period of the drive scanning synchronization signal.

[0027] In a possible implementation manner, based on the detection method provided in the above embodiment, driving at least one ultrasonic sensor among the plurality of ultrasonic sensors includes:

[0028] Receive the interrupt signal corresponding to the target ultrasonic sensor;

[0029] In response to an interrupt signal corresponding to the target ultrasonic sensor, the target sensor is driven to generate an ultrasonic signal.

[0030] In a possible implementation, based on the detection method provided in the above embodiment, the target ultrasonic sensor includes a first ultrasonic sensor and a second ultrasonic sensor; wherein, in a first driving cycle of the periodic driving scanning synchronization signal, the reception time of the interrupt signal corresponding to the first ultrasonic sensor is before the reception time corresponding to the second ultrasonic sensor;

[0031] The step of driving the target sensor to generate an ultrasonic signal in response to an interrupt signal of the target ultrasonic sensor comprises:

[0032] Determining a driving period of the first ultrasonic sensor and a driving period of the second ultrasonic sensor in a second driving cycle based on an interrupt signal of the first ultrasonic sensor and an interrupt signal of the second ultrasonic sensor, wherein the second driving cycle is each driving cycle after the first driving cycle;

[0033] The first ultrasonic sensor is driven according to the driving period of the first ultrasonic sensor in the second driving cycle, and the second ultrasonic sensor is driven according to the driving period of the second ultrasonic sensor, wherein the duration between the end time of the driving period of the first ultrasonic sensor and the start time of the driving period of the second ultrasonic sensor is greater than or equal to the first duration.

[0034] In a third aspect, an embodiment of the present application provides a chip, which is coupled to a memory in an electronic device, and is used to call a computer program stored in the memory and execute the technical solution of the first aspect of the embodiment of the present application and any possible design of the first aspect; in the embodiment of the present application, "coupling" means that two components are directly or indirectly combined with each other. Specifically, the chip can receive a target indication signal;

[0035] In response to the target indication signal, generating a periodic drive scanning synchronization signal;

[0036] At least one ultrasonic sensor among the plurality of ultrasonic sensors is driven in at least a portion of a driving period of the drive scanning synchronization signal.

[0037] In one possible design, driving at least one ultrasonic sensor among the plurality of ultrasonic sensors includes:

[0038] Receive the interrupt signal corresponding to the target ultrasonic sensor;

[0039] In response to an interrupt signal corresponding to the target ultrasonic sensor, the target sensor is driven to generate an ultrasonic signal.

[0040] In a possible design, the target ultrasonic sensor includes a first ultrasonic sensor and a second ultrasonic sensor; wherein, in a first driving cycle of the periodic driving scanning synchronization signal, a reception time of an interrupt signal corresponding to the first ultrasonic sensor is before a reception time corresponding to the second ultrasonic sensor;

[0041] The step of driving the target sensor to generate an ultrasonic signal in response to an interrupt signal of the target ultrasonic sensor comprises:

[0042] Determining a driving period of the first ultrasonic sensor and a driving period of the second ultrasonic sensor in a second driving cycle based on an interrupt signal of the first ultrasonic sensor and an interrupt signal of the second ultrasonic sensor, wherein the second driving cycle is each driving cycle after the first driving cycle;

[0043] The first ultrasonic sensor is driven according to the driving period of the first ultrasonic sensor in the second driving cycle, and the second ultrasonic sensor is driven according to the driving period of the second ultrasonic sensor, wherein the duration between the end time of the driving period of the first ultrasonic sensor and the start time of the driving period of the second ultrasonic sensor is greater than or equal to the first duration.

[0044] In a possible implementation manner, in response to an interrupt signal corresponding to the target ultrasonic sensor, driving the target sensor to generate an ultrasonic signal further includes:

[0045] In response to an interrupt signal of the first ultrasonic sensor, driving the first ultrasonic sensor to generate an ultrasonic signal in a first driving period of the first driving cycle, wherein a start time of the first driving period of the first driving cycle is a start time of the interrupt signal corresponding to the first ultrasonic sensor;

[0046] determining a driving period of the second ultrasonic sensor within the first driving cycle based on an interrupt signal of the first ultrasonic sensor and an interrupt signal of the second ultrasonic sensor;

[0047] The second ultrasonic sensor is driven according to the driving period of the second ultrasonic sensor in the first driving cycle.

[0048] In some examples, determining the driving period of the second ultrasonic sensor in the first driving cycle based on the interrupt signal of the first ultrasonic sensor and the interrupt signal of the second ultrasonic sensor includes:

[0049] If the time length between the start time of the interrupt signal of the first ultrasonic sensor and the start time of the interrupt signal of the second ultrasonic sensor is less than the third time length tref3 in the aforementioned embodiment, the second ultrasonic sensor is driven in the second driving period within the first driving cycle, wherein the start time of the second driving period within the first driving cycle is the correction time tj, and the time length between the correction time tj and the start time of the interrupt signal of the first ultrasonic sensor is the third time length tref3;

[0050] Alternatively, if the duration between the start time of the interrupt signal of the first ultrasonic sensor and the start time of the interrupt signal of the second ultrasonic sensor is greater than or equal to the third duration tref3 in the aforementioned embodiment, the second ultrasonic sensor is driven in the second driving period within the first driving cycle, wherein the start time of the second driving period within the first driving cycle is the start time of the interrupt signal of the second ultrasonic sensor.

[0051] In a possible implementation manner, determining the driving period of the first ultrasonic sensor and the driving period of the second ultrasonic sensor in the second driving cycle based on the interrupt signal of the first ultrasonic sensor and the interrupt signal of the second ultrasonic sensor includes:

[0052] determining a driving period of the second ultrasonic sensor within a first driving cycle based on an interrupt signal of the first ultrasonic sensor and an interrupt signal of the second ultrasonic sensor;

[0053] It is determined whether a target time length between an end time of the driving period of the second ultrasonic sensor in the first driving cycle and an end time of the first driving cycle is less than the fourth time length in the foregoing embodiment.

[0054] In one possible scenario, if the target duration is greater than or equal to the fourth duration, the driving period of the first ultrasonic sensor in the second driving cycle is determined to be the first driving period, and the driving period of the second ultrasonic sensor in the second driving cycle is determined to be the second driving period.

[0055] The duration of the driving period of the first ultrasonic sensor in the first driving cycle is the same as the duration of the first driving period in the second driving cycle. The duration p1 between the start time of the driving period of the first ultrasonic sensor in the first driving cycle and the start time of the first driving cycle is the same as the duration p2 between the start time of the first driving period in the second driving cycle and the start time of the second driving cycle.

[0056] The duration of the driving period of the second ultrasonic sensor in the first driving cycle is the same as the duration of the second driving period in the second driving cycle. The duration p3 between the start time of the driving period of the second ultrasonic sensor in the first driving cycle and the start time of the first driving cycle is the same as the duration p4 between the start time of the second driving period in the second driving cycle and the start time of the second driving cycle.

[0057] In one possible scenario, if the target duration is less than the fourth duration, the driving period of the first ultrasonic sensor in the second driving cycle is determined as the first correction driving period, and the driving period to be tested of the second ultrasonic sensor in the second driving cycle is determined as the second correction driving period.

[0058] The duration of the driving period of the first ultrasonic sensor in the first driving cycle is the same as the duration of the first correction driving period in the second driving cycle. The duration of the driving period of the second ultrasonic sensor in the first driving cycle is the same as the duration of the second correction driving period in the second driving cycle.

[0059] The time length between the start time of the first correction driving period TJ1 and the start time of the second correction driving period TJ2 is configured as a third time length tref3.

[0060] The first correction drive period TJ1 and the second correction drive period TJ2 do not overlap. The duration between the end time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 is greater than or equal to the preset first duration tref1. The duration of the first correction drive period TJ1 is the same as the duration of the first drive period T1. The duration of the second correction drive period TJ2 is the same as the duration of the second drive period T2.

[0061] The duration between the start time of the first corrective driving period TJ1 and the start time of the second driving period can be configured as the second duration tref2. Optionally, the value of the second duration tref2 can be greater than or equal to the aforementioned tmin, and the value of the second duration tref can be less than or equal to the aforementioned tmax.

[0062] The duration between the start time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 is configured as the third duration tref3. Such a design can make the duration dtj1 between the end time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 equal to the first duration tref1, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the first ultrasonic sensors. In this way, the duration between the end time of the second correction period TJ2 and the end time of the second drive cycle can be greater than the aforementioned fourth duration, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors.

[0063] In a fourth aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising a plurality of touch screens and a plurality of ultrasonic sensors; one touch screen corresponds to at least one ultrasonic sensor, one ultrasonic sensor corresponds to one touch screen, and any ultrasonic sensor can emit ultrasonic waves to at least a portion of the touch screen corresponding to any ultrasonic sensor;

[0064] Wherein, the electronic device is used for:

[0065] In response to a touch operation on any touch screen, a target indication signal is sent to the detection device so that the detection device drives at least one ultrasonic sensor among the multiple ultrasonic waves, wherein the detection device is capable of driving each ultrasonic sensor to generate an ultrasonic signal.

[0066] In a possible implementation manner, the electronic device is further used for:

[0067] After the target indication signal is sent to the detection device, in response to a touch operation on the target touch screen, an interrupt signal corresponding to each target touch screen is sent to the detection device, wherein the target touch screen includes one or more touch screens.

[0068] In a possible implementation, the electronic device further includes a detection device. The detection device is the detection device provided in the first aspect or any possible implementation of the first aspect; or the detection device is used to execute the detection method provided in the second aspect or any possible implementation of the second aspect.

[0069] In the fifth aspect, an embodiment of the present application also provides a computer-readable storage medium, which includes a computer program. When the computer program runs on an electronic device, the electronic device executes the technical solution of the second aspect of the embodiment of the present application and any possible design of the second aspect.

[0070] In a sixth aspect, a program product in an embodiment of the present application includes instructions, which, when the program product runs on an electronic device, enables the electronic device to execute the technical solution of the second aspect of the embodiment of the present application and any possible design of the second aspect thereof.

[0071] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0073] Figure 1 A schematic diagram exemplarily illustrates an application scenario;

[0074] Figure 2 A schematic diagram exemplarily illustrates an application scenario;

[0075] Figure 3 A schematic diagram of the structure of a detection device provided in one embodiment of the present application;

[0076] Figure 4 A schematic diagram of the structure of a detection device provided in one embodiment of the present application;

[0077] Figure 5 A schematic diagram of the structure of a detection device provided in one embodiment of the present application;

[0078] Fig. 6A A schematic diagram of a working process provided by an embodiment of the present application;

[0079] Figure 6B A schematic diagram of a working process provided by an embodiment of the present application;

[0080] Fig. 7A A schematic diagram of a working process provided by an embodiment of the present application;

[0081] Figure 7B A schematic diagram of a working process provided by an embodiment of the present application;

[0082] Figure 8 A schematic diagram of a working process provided by an embodiment of the present application;

[0083] Fig. 9 A schematic diagram of a working process provided by an embodiment of the present application;

[0084] Fig. 10A A schematic diagram of a working process provided by an embodiment of the present application;

[0085] Fig. 10B A schematic diagram of a working process provided by an embodiment of the present application;

[0086] Fig. 10C A schematic diagram of a working process provided by an embodiment of the present application;

[0087] Fig. 10D A schematic diagram of a working process provided by an embodiment of the present application;

[0088] Fig.11 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;

[0089] Fig.12 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;

[0090] Fig.13 A schematic diagram of a flow chart of a detection method provided in an embodiment of the present application;

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

[0092] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical scheme of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the technical scheme of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

[0093] It should be noted that in the description of this application, "multiple" is understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. A and B are connected, which can represent two situations: A and B are directly connected and A and B are connected through C. In addition, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0094] Figure 1 An application scenario is shown in FIG. 1 . In ultrasonic detection technology, an ultrasonic sensor generates an ultrasonic signal under the drive of a driving device. The echo signal reflected by the ultrasonic signal from an obstacle can be collected by the ultrasonic sensor. If the obstacle is a finger, the protrusions of the fingerprint of the finger reflect the ultrasonic signal differently, and the image of the fingerprint can be obtained by processing the echo signal.

[0095] Figure 2 The relationship between the ultrasonic sensor and the driving device is shown by way of example. The ultrasonic sensor is generally equipped with an ultrasonic transducer (Digital Power Output to Ultrasonic Transducer, DPO) and a receiver signal port (Receiver Signal Port, RSP). The DPO can be used to convert an electrical signal into an ultrasonic signal. The piezoelectric sensing device of the ultrasonic sensor can convert an ultrasonic echo signal into an electrical signal. The RSP can be used to output the electrical signal of the echo signal to the back end. The number of DPOs can be multiple, and those skilled in the art can set the number of DPOs according to actual application needs. Similarly, the number of RSPs can be multiple, and those skilled in the art can set the number of RSPs according to actual application needs.

[0096] The driving device is connected to the DPO and the RSP. The driving device can send a driving signal to the DPO to drive the DPO to generate an ultrasonic signal. The driving device can receive an electrical signal of an echo signal output by the RSP.

[0097] Generally speaking, there is a one-to-one relationship between the driving device and the ultrasonic sensor, that is, one driving device only drives and receives signals from one ultrasonic sensor.

[0098] As the use scenarios of ultrasonic sensors increase, smart terminals such as mobile phones currently use ultrasonic sensors for fingerprint recognition. Currently, single-screen mobile phones are equipped with a single ultrasonic sensor. As the number of terminal screens increases or the screen space increases, the number of configured ultrasonic sensors is also increasing. If multiple ultrasonic sensors and multiple drive devices are set in the terminal, the multiple drive devices will occupy more space in the terminal, which will reduce the integration of the terminal or increase the overall size of the terminal.

[0099] In view of this, the present application provides a detection method and related devices, which can support driving multiple ultrasonic sensors and occupy a small space. The detection method and related devices provided in the embodiments of the present application can be applied to application scenarios of multiple ultrasonic sensors, and of course support application scenarios of a single ultrasonic sensor.

[0100] Figure 3A schematic diagram of the structure of a detection device is shown as an example. The detection device may include an ultrasonic driving unit and an echo signal receiving unit. The ultrasonic driving unit includes a plurality of driving subunits, and the plurality of driving subunits correspond to a plurality of ultrasonic sensors one by one. Any driving subunit is connected to an ultrasonic sensor corresponding to any driving subunit, and any driving subunit is used to drive the ultrasonic sensor corresponding to any driving subunit to generate an ultrasonic signal. The echo signal receiving unit is connected to each of the ultrasonic sensors, and the echo signal receiving unit is used to receive an electrical signal of an echo signal output by each of the ultrasonic sensors. Optionally, the detection device may include the plurality of ultrasonic sensors.

[0101] For ease of introduction, any driving subunit is recorded as driving subunit A. Driving subunit A can be connected to the DPO of the ultrasonic sensor S_A corresponding to the driving subunit, and the driving subunit A can provide a driving signal, and the DPO of the ultrasonic sensor S_A generates an ultrasonic signal.

[0102] In an embodiment of the present application, the echo signal receiving unit can be connected to the RSP of each ultrasonic sensor. The echo signal receiving unit can receive the electrical signal of the echo signal provided by each ultrasonic sensor. The electrical signals of the echo signals provided by the ultrasonic sensors are respectively received by multiplexing the echo signal receiving units, so that the back end can obtain the detection images corresponding to each ultrasonic sensor. It can be seen that the detection device provided in the embodiment of the present application can support driving multiple ultrasonic sensors, and multiplex one echo signal receiving unit to respectively receive the electrical signals of the echo signals of different ultrasonic sensors. Compared with the existing driving device of multiple ultrasonic sensors, the detection device provided in the embodiment of the present application occupies less space.

[0103] In a possible implementation manner, based on the detection device provided in the above embodiment, Figure 3 As shown, the detection device may further include an interrupt signal receiving unit. The interrupt signal receiving unit may be used to receive an interrupt signal corresponding to any ultrasonic sensor. The interrupt signal is used to instruct the ultrasonic driving unit to drive any ultrasonic sensor.

[0104] The ultrasonic driving unit in the detection device can drive the ultrasonic sensor corresponding to the interrupt signal according to the interrupt signal provided by the interrupt signal receiving unit.

[0105] For example, the interrupt signal receiving unit receives an interrupt signal corresponding to the first ultrasonic sensor S1. The ultrasonic driving unit can drive the first ultrasonic sensor S1 so that the first ultrasonic sensor S1 generates an ultrasonic signal. For another example, the interrupt signal receiving unit receives an interrupt signal corresponding to the second ultrasonic sensor S2. The ultrasonic driving unit can drive the second ultrasonic sensor S2 so that the second ultrasonic sensor S2 generates an ultrasonic signal.

[0106] In such an implementation, the detection device can drive the corresponding ultrasonic sensor according to the received interrupt signal. In an actual application scenario, the user can send an interrupt signal corresponding to any ultrasonic sensor to the detection device to instruct the detection device to drive any ultrasonic sensor so that any ultrasonic sensor generates an ultrasonic signal.

[0107] In a possible design, the interrupt signal receiving unit includes a plurality of interrupt signal receiving subunits, and the plurality of interrupt signal receiving subunits correspond one to one with the plurality of ultrasonic sensors. Any interrupt signal receiving subunit is used to receive an interrupt signal corresponding to a target ultrasonic sensor, and the interrupt signal is used to instruct the ultrasonic driving unit to drive the target ultrasonic sensor, wherein the target ultrasonic sensor is the ultrasonic sensor corresponding to any interrupt signal receiving subunit.

[0108] The plurality of interrupt signal receiving subunits correspond one to one with the plurality of ultrasonic sensors. The interrupt signal received by the interrupt signal receiving subunit is also the interrupt signal corresponding to the ultrasonic sensor corresponding to the interrupt signal receiving subunit.

[0109] Please combine Figure 4 , Figure 4 A structural schematic diagram of a detection device is exemplarily shown in FIG. The multiple interrupt signal receiving subunits may include a first interrupt signal receiving subunit Z1 and a second interrupt signal receiving subunit Z2. The first interrupt signal receiving subunit Z1 has a corresponding relationship with the first ultrasonic sensor S1. The interrupt signal received by the first interrupt signal receiving subunit Z1 is also the interrupt signal corresponding to the first ultrasonic sensor S1. The interrupt signal received by the first interrupt signal receiving subunit Z1 may instruct the ultrasonic driving unit to drive the first ultrasonic sensor S1.

[0110] The second interrupt signal receiving subunit Z2 corresponds to the second ultrasonic sensor S2. The interrupt signal received by the second interrupt signal receiving subunit Z2 is also the interrupt signal corresponding to the second ultrasonic sensor S2. The interrupt signal received by the second interrupt signal receiving subunit Z2 can instruct the ultrasonic driving unit to drive the second ultrasonic sensor S2.

[0111] In the detection device, when the first interrupt signal receiving subunit Z1 receives an interrupt signal, the ultrasonic driving unit can drive the first ultrasonic sensor S1. When the second interrupt signal receiving subunit Z2 receives an interrupt signal, the ultrasonic driving unit can drive the second ultrasonic sensor S2.

[0112] In some examples, the detection device may control the ultrasonic driving unit to drive the first ultrasonic sensor S1 in response to the first interrupt signal receiving subunit Z1 receiving the interrupt signal. The detection device may control the ultrasonic driving unit to drive the second ultrasonic sensor S2 in response to the second interrupt signal receiving subunit Z2.

[0113] From the above introduction, it can be seen that the ultrasonic driving unit includes a plurality of driving subunits, and the plurality of driving subunits correspond to the plurality of ultrasonic sensors one by one. The plurality of interrupt signal receiving subunits correspond to the plurality of ultrasonic sensors one by one. Thus, the plurality of driving subunits and the plurality of interrupt signal receiving subunits also have a one-to-one correspondence.

[0114] The plurality of ultrasonic drive units may include a first drive subunit Q1 and a second drive subunit Q2. The first drive subunit Q1 has a corresponding relationship with the first ultrasonic sensor S1. The second drive subunit Q2 has a corresponding relationship with the second ultrasonic sensor S2. The first interrupt signal receiving subunit Z1 has a corresponding relationship with the first ultrasonic sensor S1. The second interrupt signal receiving subunit Z2 has a corresponding relationship with the second ultrasonic sensor S2.

[0115] Then, the first driving subunit Q1 and the first interrupt signal receiving subunit Z1 have a corresponding relationship. The second driving subunit Q2 and the second interrupt signal receiving subunit Z2 have a corresponding relationship.

[0116] The interrupt signal received by the first interrupt signal receiving subunit Z1 may instruct the first driving subunit Q1 to drive the first ultrasonic sensor S1. The interrupt signal received by the second interrupt signal receiving subunit Z2 may instruct the second driving subunit Q2 to drive the second ultrasonic sensor S2.

[0117] Based on the detection device provided by any one of the above embodiments, Figure 5 As shown, the detection device may further include a processing unit. The processing unit is used to generate a periodic drive scanning synchronization signal based on the target indication signal. The ultrasonic drive unit is used to drive at least one of the ultrasonic sensors in each drive cycle of the periodic drive scanning synchronization signal.

[0118] The target indication signal can reflect the current demand for driving at least one of the multiple ultrasonic sensors. After receiving the target indication signal, the processing unit can generate a periodic drive scanning synchronization signal. Among them, the generated drive scanning synchronization signal can include a preset number of cycles. For the convenience of introduction, one cycle is called a drive cycle. Within a drive cycle, the detection device can drive any ultrasonic sensor, and the detection device receives the electrical signal of the echo signal corresponding to any ultrasonic sensor. The image obtained by the back-end processing of the electrical signal of the echo signal can be called a frame image. Therefore, a drive cycle in the drive scanning synchronization signal can sometimes be called a drive frame signal.

[0119] After the processing unit generates the driving scanning synchronization signal, the ultrasonic driving unit may drive at least one of the ultrasonic sensors in each driving cycle of the driving scanning synchronization signal.

[0120] Optionally, for any driving cycle, the ultrasonic driving unit may detect or monitor whether any interrupt signal receiving subunit receives an interrupt signal. In response to the target interrupt signal receiving subunit receiving an interrupt signal, the ultrasonic driving unit may drive the ultrasonic sensor corresponding to the target interrupt signal receiving subunit (referred to as the target ultrasonic sensor for short) so that the target ultrasonic sensor generates an ultrasonic signal.

[0121] Optionally, the processing unit is connected to a touch control module. The target indication signal may be a signal output by the touch control module, and the target indication signal is used to instruct the detection device to drive some or all of the plurality of ultrasonic sensors.

[0122] In some application scenarios, the detection device can be connected to a touch component, such as a touch pad or a touch screen. The detection device can be directly connected to the touch component, or the detection device can be connected to the touch component through other components. For example, the detection device can be connected to the touch component through a component such as a processor. The user can trigger the target indication signal through the touch component. Optionally, the target indication signal can be a signal generated by the touch component.

[0123] In some application scenarios, the processing unit may be connected to the processor. The target indication signal may be a signal generated by the processor. The processor may generate a target indication signal based on a touch event of the touch component and provide it to the processing unit in the detection device. Alternatively, the processor may generate a target indication signal and provide it to the detection device when fingerprint recognition is required.

[0124] The interrupt signal can be sent by other devices (or other equipment) to the detection device provided in this application. Other devices can generate an interrupt signal according to a trigger event and provide the interrupt signal to the detection device. The trigger event can be pre-configured. This application does not make too many restrictions on the trigger event.

[0125] Based on the detection device provided by any of the above embodiments, some application scenarios may require an ultrasonic sensor to synchronously generate an ultrasonic signal for detection.

[0126] In some examples, the other device provides the interrupt signal corresponding to the first ultrasonic sensor to the detection device. Fig. 6A As shown, in the first driving period of the periodic driving scanning synchronization signal, the interrupt signal receiving unit receives the first interrupt signal corresponding to the first ultrasonic sensor. Fig. 6A The intermediate signal INT2_A may represent a signal received by the first interrupt signal receiving subunit, wherein INT2_A receives an interrupt signal in the first driving cycle.

[0127] Optionally, the ultrasonic driving unit may drive the first ultrasonic sensor in response to the interrupt signal receiving unit receiving the interrupt signal corresponding to the first ultrasonic sensor, so that the first ultrasonic sensor generates an ultrasonic signal. The ultrasonic driving unit drives the first ultrasonic sensor, including driving the first ultrasonic sensor in the first driving cycle and in each second driving cycle. For example, Fig. 6A In the embodiment, the first driving subunit Q1 drives the first ultrasonic sensor in the first driving period of the first driving cycle, and the first driving subunit Q1 drives the first ultrasonic sensor in the first driving period of each second driving cycle. The duration of the first driving period T1 is preconfigured.

[0128] It can be seen that after the detection device receives the first interrupt signal, the first driving subunit Q1 can periodically drive the first ultrasonic sensor. Optionally, the starting time M2 of the first driving period T1 can be the starting time of the first interrupt signal. Alternatively, the starting time of the first driving period T1 is after the starting time of the first interrupt signal.

[0129] In a possible design, the time length between the start time M2 of the first driving period T1 in each driving cycle and the start time of the driving cycle is adjustable. Figure 6BAs shown, the detection device receives the first interrupt signal at a later time in the first driving cycle, and the first driving subunit Q1 drives the first ultrasonic sensor in the first driving cycle, then the echo signal receiving unit may not be able to receive the electrical signals of the echo signals corresponding to all the first ultrasonic sensors in the first driving cycle. It may also cause the echo signal receiving unit to be unable to receive the electrical signals of the echo signals corresponding to all the first ultrasonic sensors in each second driving cycle.

[0130] In this case, the detection device can correct the first driving period in each second driving cycle, adjust the start time of the first driving period, and record the corrected first driving period as the first corrected driving period. Figure 6B As shown, in any second driving cycle, the duration between the starting moment M4 of the first corrective driving period TJ1 and the starting moment M3 of any second driving cycle is adjustable, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the first ultrasonic sensors within the duration between the ending moment of the first corrective driving period TJ1 and the ending moment of any second driving cycle.

[0131] Optionally, in order to prevent the interference signal (or noise signal) received by the echo signal receiving unit from being used as the electrical signal of the echo signal corresponding to the ultrasonic sensor during the process of the detection device driving any ultrasonic sensor, the echo signal receiving unit is configured to be in a reset state during the process of the detection device driving any ultrasonic sensor, so as to prevent the echo signal receiving unit from receiving the interference signal or noise signal. The echo signal receiving unit is in a reset state during the first correction driving period TJ1.

[0132] Optionally, in the first driving cycle of the periodic driving scanning synchronization signal, please combine Figure 6B , assuming that the first drive cycle is the first drive cycle, the detection device can put each functional module in the detection device into a standby state during the period between the start time M1 of the first drive cycle and the preset sensing time MG (recorded as a configuration period for ease of introduction), that is, power on each functional module. The functional module may include an ultrasonic drive unit, an echo signal receiving unit, and an interrupt signal receiving unit. The detection device can configure the RSP port of the first ultrasonic sensor to reset and switch to the sensing mode during the configuration period. The duration of the configuration period is adjustable. Usually, the duration of the configuration period may be greater than or equal to the preset first time threshold tmin, and the duration of the configuration period may be less than or equal to the second time threshold tmax.

[0133] In some other examples, other devices provide an interrupt signal corresponding to the second ultrasonic sensor to the detection device. In the first driving cycle of the periodic driving scanning synchronization signal, the interrupt signal receiving unit receives the second interrupt signal corresponding to the second ultrasonic sensor. Fig. 7A The middle signal INT2_B may represent a signal received by the second interrupt signal receiving subunit, wherein INT2_B receives an interrupt signal in the second driving cycle.

[0134] Optionally, the ultrasonic driving unit may drive the second ultrasonic sensor in response to the interrupt signal receiving unit receiving the interrupt signal corresponding to the second ultrasonic sensor, so that the second ultrasonic sensor generates an ultrasonic signal. The ultrasonic driving unit drives the second ultrasonic sensor, including driving the second ultrasonic sensor in the first driving cycle and in each second driving cycle. For example, Fig. 7A In the embodiment, the second driving subunit Q2 drives the second ultrasonic sensor in the second driving period in the first driving cycle, and the second driving subunit Q2 drives the first ultrasonic sensor in the second driving period in each second driving cycle. The duration of the second driving period T2 is pre-configured. Optionally, the duration of the second driving period T2 may be different from the duration of the aforementioned first driving period T1. Or the duration of the second driving period T2 may be the same as the duration of the aforementioned first driving period T1. Those skilled in the art may configure according to the actual application scenario.

[0135] It can be seen that after the detection device receives the second interrupt signal, the second driving subunit Q2 can periodically drive the second ultrasonic sensor. Optionally, the starting time P2 of the second driving period T2 can be the starting time of the second interrupt signal. Alternatively, the starting time P2 of the second driving period T2 is after the starting time of the first interrupt signal.

[0136] In a possible design, the time length between the start time P2 of the second driving period T2 in each driving cycle and the start time of the driving cycle is adjustable. Figure 7B As shown, if the detection device receives the second interrupt signal at a later time in the first driving cycle, and the second driving subunit Q2 drives the second ultrasonic sensor in the first driving cycle, it may happen that the echo signal receiving unit cannot receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors in the first driving cycle. It may also cause the echo signal receiving unit to be unable to receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors in each second driving cycle.

[0137] In this case, the detection device can correct the second driving period in each second driving cycle, adjust the start time of the second driving period, and record the corrected second driving period as the second corrected driving period. Figure 7B As shown, in any second driving cycle, the duration between the starting moment P4 of the second corrective driving period TJ2 and the starting moment M3 of any second driving cycle is adjustable, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors within the duration between the ending moment of the second corrective driving period TJ2 and the ending moment of any second driving cycle.

[0138] Optionally, in order to prevent the interference signal (or noise signal) received by the echo signal receiving unit from being used as the electrical signal of the echo signal corresponding to the ultrasonic sensor during the process of the detection device driving any ultrasonic sensor, the echo signal receiving unit is configured to be in a reset state during the process of the detection device driving any ultrasonic sensor, so as to prevent the echo signal receiving unit from receiving the interference signal or noise signal. The echo signal receiving unit is in a reset state during the second correction driving period TJ2.

[0139] Optionally, in the first driving cycle of the periodic driving scanning synchronization signal, please combine Figure 7B , assuming that the first driving cycle is the first driving cycle, the detection device can configure the RSP port of the second ultrasonic sensor to reset and switch to the sensing mode in the period between the start time M1 of the first driving cycle and the preset sensing time MG (recorded as the configuration period for convenience of introduction). The duration of the configuration period is adjustable. Usually, the duration of the configuration period can be greater than or equal to the preset first time threshold tmin, and the duration of the configuration period can be less than or equal to the second time threshold tmax.

[0140] Based on the detection device provided by any of the above embodiments, some application scenarios may have the need for two or more ultrasonic sensors to synchronously generate ultrasonic signals for detection. Synchronization may refer to two or more ultrasonic sensors generating ultrasonic signals respectively within a short period of time, and the time when these ultrasonic sensors start generating ultrasonic signals may be different. The echo signal receiving unit in the detection device can respectively receive the electrical signals of the echo signals provided by different ultrasonic sensors.

[0141] In order to enable the echo signal receiving unit to receive the electrical signal of the complete echo signal of each ultrasonic sensor, the ultrasonic driving unit may drive each ultrasonic sensor according to a pre-configured driving strategy.

[0142] In one possible scenario, within the first driving cycle of the periodic drive scanning synchronization signal, the interrupt signal receiving unit receives a first interrupt signal corresponding to the first ultrasonic sensor and a second interrupt signal corresponding to the second ultrasonic sensor, and the start time of the first interrupt signal is before the start time of the second interrupt signal.

[0143] In each driving cycle after the first driving cycle, the first driving subunit may drive the first ultrasonic sensor in a first driving period, and the second driving subunit may drive the second ultrasonic sensor in a second driving period, wherein the first driving period and the second driving period do not overlap. In some application scenarios, in the first driving cycle, the first driving subunit may drive the first ultrasonic sensor in a first driving period, and the second driving subunit may drive the second ultrasonic sensor in a second driving period, wherein the first driving period and the second driving period do not overlap.

[0144] Please combine Figure 8 After the processing unit generates the drive scanning synchronization signal, the interrupt signal receiving unit may receive a plurality of interrupt signals in the first drive cycle of the periodic drive scanning synchronization signal. Figure 8 1 shows the signal INT2_A received by the first interrupt signal receiving subunit Z1 corresponding to the first ultrasonic sensor S1 and the signal INT2_B received by the second interrupt signal receiving subunit Z2 corresponding to the second ultrasonic sensor S2 in the first driving cycle. Assume that the interrupt signal is a digital pulse signal. The pulse signal in the signal INT2_A is the interrupt signal. Similarly, the pulse signal in the signal INT2_B is the interrupt signal.

[0145] Assume that the start time of the first interrupt signal received by the first interrupt signal receiving subunit Z1 is before the start time of the second interrupt signal received by the second interrupt signal receiving subunit Z2. Figure 8 As shown in FIG. 1 , the start time of the interrupt signal of the signal INT2_A is before the start time of the interrupt signal of the signal INT2_B.

[0146] The first driving subunit Q1 can drive the first ultrasonic sensor S1 to generate an ultrasonic signal in response to the first interrupt signal received by the first interrupt signal receiving subunit Z1. Figure 8As shown, in the first driving cycle and each driving cycle after the first driving cycle, the first driving subunit Q1 can send a driving signal ODP_A to the first ultrasonic sensor S1 in the first driving period T1, so that the first driving subunit Q1 drives the first ultrasonic sensor S1 to generate an ultrasonic signal. For ease of introduction, any driving cycle after the first driving cycle is hereinafter referred to as the second driving cycle.

[0147] The second driving subunit Q2 can drive the second ultrasonic sensor S2 to generate an ultrasonic signal in response to the second interrupt signal received by the second interrupt signal receiving subunit Z2. Figure 8 As shown, in the driving cycle in which the interrupt signal is received and each driving cycle after the driving cycle, the second driving subunit Q2 can send a driving signal ODP_B to the second ultrasonic sensor S2 in the second driving period T2, so that the second driving subunit Q2 drives the second ultrasonic sensor S2 to generate an ultrasonic signal. The first driving period T1 and the second driving period T2 do not overlap.

[0148] Optionally, in order to prevent the interference signal (or noise signal) received by the echo signal receiving unit from being used as the electrical signal of the echo signal corresponding to the ultrasonic sensor during the process of the detection device driving any ultrasonic sensor, the echo signal receiving unit is configured to be in a reset state during the process of the detection device driving any ultrasonic sensor, which can prevent the echo signal receiving unit from receiving the interference signal or noise signal.

[0149] For example, in the driving cycle in which the interrupt signal is received and in each driving cycle after the driving cycle, the echo signal receiving unit can be reset in the first driving period T1, so as to be ready to receive the electrical signal of the echo signal corresponding to any ultrasonic sensor. Optionally, the echo signal receiving unit can be reset at the start time of the first driving cycle, so as to be ready to receive the electrical signal of the echo signal corresponding to any ultrasonic sensor.

[0150] In some examples, in each second driving cycle, a time duration dt1 between an end time of the first driving period T1 and a start time of the second driving period T2 is greater than or equal to a preset first time duration tref1.

[0151] The first duration tref1 can represent the minimum duration required for the target process, wherein the target process can be implemented as a process in which the first ultrasonic driving subunit Q1 drives the first ultrasonic sensor S1 to generate an ultrasonic signal, and the echo signal receiving unit can receive all electrical signals of the echo signal corresponding to the first ultrasonic sensor S1. During the second driving cycle, all electrical signals of the echo signal corresponding to the first ultrasonic sensor S1 can be used to generate a frame of detection image corresponding to the first ultrasonic sensor S1.

[0152] In such a design, it can be ensured that in any driving cycle, the echo signal receiving unit can receive all the electrical signals of the echo signal corresponding to the first ultrasonic sensor S1. Then the second driving subunit Q2 drives the second ultrasonic sensor S2. Similarly, the echo signal receiving unit can be reset in the second driving period T2, so that the echo signal receiving unit is ready to receive the electrical signals of the echo signal corresponding to the second ultrasonic sensor S2.

[0153] Optionally, in some application scenarios, in the first driving cycle, the duration dt1 between the end time of the first driving period T1 and the start time of the second driving period T2 is greater than or equal to a preset first duration tref1.

[0154] In a possible implementation, in the first driving cycle of the periodic drive scanning synchronization signal, the difference between the preset sensing moment and the start moment of the first driving cycle is a preset second time length tref2. The second time length tref2 may be pre-configured, or the second time length tref2 may be dynamically configured.

[0155] In some examples, the second time duration tref2 may represent the shortest time (denoted as tmin) required for the detection device to reset the RSP port of each ultrasonic sensor.

[0156] Assume that the first driving cycle in the periodic driving scanning synchronization signal is the aforementioned first driving cycle. Figure 8 , the detection device resets the RSP port of each ultrasonic sensor at the preset sensing moment M2 and the starting moment M1 of the first driving cycle in the first driving cycle. The duration between the preset sensing moment M2 and the starting moment M1 of the first driving cycle is the second duration tref2, wherein the second duration tref2 represents the shortest time required for the detection device to reset the RSP port of each ultrasonic sensor. Such a design can ensure that the echo signal receiving unit has sufficient time to receive the electrical signal of the echo signal corresponding to the second ultrasonic sensor S2 in the first driving cycle. The echo signal receiving unit can receive the electrical signal of the echo signal corresponding to the second ultrasonic sensor S2 in the time period T3, wherein the starting moment of the time period T3 can be the ending moment of the second driving time period T2, and the ending moment of the time period T3 can be the ending moment of the first driving cycle.

[0157] Figure 8The preset sensing moment M2 is at the same position as the starting moment of the first driving period T1. This situation is that when the detection device completes the reset of the RSP port of each ultrasonic sensor, the interrupt signal receiving unit receives the first interrupt signal corresponding to the first ultrasonic sensor. In actual application scenarios, the preset sensing moment M2 can be before the starting moment of the first driving period T1.

[0158] In some other examples, the second time duration tref2 may represent the maximum time (denoted as tmax) for the detection device to reset the RSP of each ultrasonic sensor.

[0159] Assume that the first driving cycle in the periodic driving scanning synchronization signal is the aforementioned first driving cycle. Fig. 9 The detection device resets the RSP port of each ultrasonic sensor at the preset sensing moment M2 and the starting moment M1 of the first driving cycle in the first driving cycle. The time between the preset sensing moment M2 and the starting moment M1 of the first driving cycle is the second time length tref2, wherein the second time length tref2 can represent the maximum time tmax for the detection device to reset the RSP port of each ultrasonic sensor.

[0160] At this time, please combine Fig. 9 , if the first interrupt signal is received at the preset sensing time M2, it can be ensured that the echo signal receiving unit receives the electrical signal of the echo signal corresponding to the second ultrasonic sensor S2 within the time period T4. Among them, the fourth time length represents the shortest time length required for the echo receiving unit to receive the electrical signal of the echo signal corresponding to all the second ultrasonic sensors. The fourth time length can be the same as the first time length tref1. The fourth time length can be different from the first time length tref1. The starting time of the time period T4 is the ending time of the second driving time period T2, and the ending time of the time period T4 is the ending time of the current driving cycle.

[0161] In some other examples, the second time length tref2 may be greater than the aforementioned tmin, and the second time length tref2 may be less than the aforementioned tmax.

[0162] In one possible implementation, please combine Fig. 10A , within the first driving cycle, the starting time of the first interrupt signal received by the first interrupt signal receiving subunit Z1 is before the starting time of the second interrupt signal received by the second interrupt signal receiving subunit Z2.

[0163] In the first case, if Fig. 10AAs shown, in any driving cycle, the starting time of the interrupt signal of signal INT2_A is before the starting time of the interrupt signal of signal INT2_B, and the duration dt2 between the starting time of the interrupt signal of signal INT2_A and the starting time of the interrupt signal of INT2_B is less than the third duration tref3. At this time, if the second ultrasonic sensor S2 is driven at the starting time of the interrupt signal of INT2_B, the electrical signal of the echo signal of the first ultrasonic sensor S2 and the electrical signal of the echo signal of the second ultrasonic sensor S2 may be received by the echo signal receiving unit of the detection device at the same time, causing the echo signal receiving unit to receive disorderly, affecting the generation of the detection image at the back end.

[0164] In the second case, please combine Fig. 10B , in the first driving cycle, the starting time of the first interrupt signal received by the first interrupt signal receiving subunit Z1 is before the starting time of the second interrupt signal received by the second interrupt signal receiving subunit Z2. Fig. 10B As shown, in any driving cycle, the start time of the interrupt signal of signal INT2_A is before the start time of the interrupt signal of signal INT2_B, and the duration dt2 between the start time of the interrupt signal of signal INT2_A and the start time of the interrupt signal of signal INT2_B is greater than or equal to the third duration tref3.

[0165] Based on the first and second situations described above, in the first driving cycle, the detection device can determine whether the duration between the start times of the interrupt signals corresponding to the plurality of ultrasonic sensors is less than the third duration tref3. For example, in the first driving cycle, the start time of the interrupt signal of the signal INT2_A is before the start time of the interrupt signal of the signal INT2_B, and the detection device can determine whether the duration dt2 between the start time of the interrupt signal of the signal INT2_A and the start time of the interrupt signal of the signal INT2_B is greater than or equal to the third duration tref3.

[0166] If the duration dt2 between the start time of the interrupt signal of signal INT2_A and the start time of the interrupt signal of INT2_B is greater than or equal to the third duration tref3, the second driver unit Q2 in the detection device can drive the second ultrasonic sensor S2 to generate an ultrasonic signal in the second drive period T2, wherein the start time of the second drive period is the start time of the interrupt signal of signal INT2_B. In other words, in this case, the second driver unit Q2 can directly respond to the interrupt signal of INT2_B and drive the second ultrasonic sensor S2 to generate an ultrasonic signal. In this case, the detection device can drive the first ultrasonic sensor in the first drive period T1 in the first drive cycle and each second drive cycle, and drive the second ultrasonic sensor in the second drive period T2. And in each drive cycle in the first drive cycle and each second drive cycle, the duration between the end time of the first drive period T1 and the start time of the second drive period T2 is equal to the aforementioned first duration tref1.

[0167] In one possible design, please combine Fig. 10C If the duration dt2 between the start time of the interrupt signal of signal INT2_A and the start time of the interrupt signal of signal INT2_B is less than the third duration tref3, the second driving subunit Q2 in the detection device can drive the second ultrasonic sensor S2 to generate an ultrasonic signal within the second driving period, wherein the start time of the second driving period is the correction time tj, the correction time tj is after the start time of the interrupt signal of signal INT2_A, and the duration between the start time M2 of the interrupt signal of signal INT2_A and the correction time tj is equal to the third duration tref3.

[0168] In such a design, the second driving subunit Q2 may not directly respond to the interrupt signal of INT2_B, but may drive the second ultrasonic sensor S2 to generate an ultrasonic signal at the correction time tj. The difference between the correction time tj and the end time M3 of the first driving period T1 may be greater than or equal to the first time length tref1, so that the echo signal receiving unit can receive all the electrical signals of the echo signal corresponding to the first ultrasonic sensor S1.

[0169] In one possible scenario, in the first driving cycle, the duration between the end time of the second driving period T2 and the end time of the current driving cycle is greater than or equal to the fourth duration, which can reflect that within the first driving cycle, the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors.

[0170] In another possible situation, in the first driving cycle, the time length between the end time of the second driving period T2 and the end time of the current driving cycle is less than the fourth time length, which can reflect that in the current first driving cycle, the echo signal receiving unit cannot receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors. In this case, the ultrasonic driving unit drives the first ultrasonic sensor S1 and the second ultrasonic sensor S2 in advance in each driving cycle after the current driving cycle.

[0171] Please combine Fig. 10C , during the first driving cycle, the interrupt signal receiving unit receives an interrupt signal, and the duration between the end time of the second driving period T2 and the end time of the first driving cycle is less than the fourth duration, which can reflect that during the first driving cycle, the echo signal receiving unit cannot receive all electrical signals of the echo signals corresponding to the second ultrasonic sensor.

[0172] The ultrasonic driving unit can drive the first ultrasonic sensor S1 and the second ultrasonic sensor S2 in advance in any driving cycle after the first driving cycle, that is, in the second driving cycle. Fig. 10C , in any second driving cycle, the ultrasonic driving unit can drive the first ultrasonic sensor S1 in the first correction driving period TJ1 and drive the second ultrasonic sensor S2 in the second correction driving period TJ2. The first correction driving period TJ1 and the second correction driving period TJ2 do not overlap. The duration between the end time of the first correction driving period TJ1 and the start time of the second correction driving period TJ2 is greater than or equal to the preset first duration tref1. The duration of the first correction driving period TJ1 is the same as the duration of the first driving period T1. The duration of the second correction driving period TJ2 is the same as the duration of the second driving period T2.

[0173] The duration between the start time of the first corrective driving period TJ1 and the start time of the second driving period can be configured as the second duration tref2. Optionally, the value of the second duration tref2 can be greater than or equal to the aforementioned tmin, and the value of the second duration tref can be less than or equal to the aforementioned tmax.

[0174] The duration between the start time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 is configured as the third duration tref3. Such a design can make the duration dtj1 between the end time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 equal to the first duration tref1, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the first ultrasonic sensors. In this way, the duration between the end time of the second correction period TJ2 and the end time of the second drive cycle can be greater than the aforementioned fourth duration, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors.

[0175] Such a design can ensure that in each second driving cycle, the first ultrasonic sensor can be driven to generate an ultrasonic signal and receive the electrical signal of the echo signal corresponding to all the first ultrasonic sensors, and the second ultrasonic sensor can be driven to generate an ultrasonic signal and receive the electrical signal of the echo signal corresponding to all the second ultrasonic sensors.

[0176] In one possible design, please combine Fig. 10D In the first driving cycle, if the duration dt2 between the start time of the interrupt signal of the signal INT2_A and the start time of the interrupt signal of the signal INT2_B is less than the third duration tref3, the second driving subunit Q2 in the detection device can drive the second ultrasonic sensor S2 to generate an ultrasonic signal in the second driving period T2, wherein the start time of the second driving period T2 is the start time of the second interrupt signal. In other words, the detection device can directly drive the second ultrasonic sensor in response to the second interrupt signal.

[0177] It can be seen that within the first driving cycle, the duration between the start time of the second driving period T2 and the start time of the first driving period T1 is shorter than the third duration tref3, so that the duration between the end time of the first driving period T1 and the start time of the second driving period T2 is shorter than the aforementioned first duration tref1, causing the electrical signal of the echo signal corresponding to the first ultrasonic sensor received by the echo signal receiving unit to be incomplete or to have greater interference.

[0178] The detection device can drive the first ultrasonic sensor and the second ultrasonic sensor in advance in each second driving cycle. The ultrasonic driving unit can drive the first ultrasonic sensor S1 and the second ultrasonic sensor S2 in advance in any driving cycle after the first driving cycle, that is, in the second driving cycle. Fig. 10D, in any second driving cycle, the ultrasonic driving unit can drive the first ultrasonic sensor S1 in the first correction driving period TJ1 and drive the second ultrasonic sensor S2 in the second correction driving period TJ2. The first correction driving period TJ1 and the second correction driving period TJ2 do not overlap. The duration dtj1 between the end time of the first correction driving period TJ1 and the start time of the second correction driving period TJ2 is greater than or equal to the preset first duration tref1. The duration of the first correction driving period TJ1 is the same as the duration of the first driving period T1. The duration of the second correction driving period TJ2 is the same as the duration of the second driving period T2.

[0179] The duration between the start time of the first corrective driving period TJ1 and the start time of the second driving period can be configured as the second duration tref2. Optionally, the value of the second duration tref2 can be greater than or equal to the aforementioned tmin, and the value of the second duration tref can be less than or equal to the aforementioned tmax.

[0180] The duration between the start time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 is configured as the third duration tref3. Such a design can make the duration dtj1 between the end time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 equal to the first duration tref1, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the first ultrasonic sensors. In this way, the duration TJ4 between the end time of the second correction period TJ2 and the end time of the second drive cycle can be greater than the aforementioned fourth duration, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors.

[0181] Such a design can ensure that in each second driving cycle, the first ultrasonic sensor can be driven to generate an ultrasonic signal and receive the electrical signal of the echo signal corresponding to all the first ultrasonic sensors, and the second ultrasonic sensor can be driven to generate an ultrasonic signal and receive the electrical signal of the echo signal corresponding to all the second ultrasonic sensors.

[0182] Regarding the detection device in the above embodiment, multiple driving sub-units including a first driving sub-unit and a second driving sub-unit are introduced as an example. In actual application scenarios, the number of multiple driving sub-units can be two or more. The configuration method of the driving time period of each driving sub-unit and the time period during which the echo signal receiving unit receives the electrical signal of the echo signal can refer to the conception in the above embodiment. This embodiment of the application will not be described in detail.

[0183] Regarding the detection device in the above-mentioned embodiment, the specific manner in which each unit is executed has been described in detail in the embodiment. Therefore, the detection device of the present application can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software, which can be collectively referred to as "circuit", "module" or "system" here.

[0184] In addition, an embodiment of the present application provides an electronic device, such as Fig.11 As shown, the electronic device may include multiple touch screens and multiple ultrasonic sensors. Among them, one touch screen may have a corresponding relationship with at least one ultrasonic sensor. One ultrasonic sensor may only have a corresponding relationship with one touch screen, and any ultrasonic sensor can emit ultrasonic waves to at least a part of the touch screen corresponding to any ultrasonic sensor.

[0185] For any ultrasonic sensor, the ultrasonic sensor can be used for fingerprint recognition, fingerprint detection, or fingerprint image acquisition. The ultrasonic sensor can be set at a position on the side of the touch screen away from the user. The ultrasonic sensor can transmit an ultrasonic signal to at least a portion of the touch screen corresponding to the ultrasonic sensor, and the at least a portion of the area is recorded as a detection area for convenience. The user can place a finger in the detection area. The ultrasonic sensor transmits an ultrasonic signal to the detection area. The echo signal after the ultrasonic signal is reflected by the finger can be used to generate a fingerprint image.

[0186] In this embodiment, the electronic device can send a target indication signal to the detection device in response to a touch operation on any touch screen, so that the detection device drives at least one ultrasonic sensor among the multiple ultrasonic waves, wherein the detection device is capable of driving each ultrasonic sensor to generate an ultrasonic signal.

[0187] For some examples, please combine Fig.11 The number of the multiple touch screens may be two, respectively recorded as touch screen A and touch screen B. The number of the multiple ultrasonic sensors may be two, respectively recorded as a first ultrasonic sensor S1 and a second ultrasonic sensor S2. The first ultrasonic sensor S1 corresponds to the touch screen A, and the second ultrasonic sensor S2 corresponds to the touch screen B.

[0188] The first driving subunit in the ultrasonic driving unit in the detection device is connected to the DPO of the first ultrasonic sensor S1, and is connected to the second driving subunit and each DPO of the second ultrasonic sensor S2. The multiple first driving terminals of the first driving subunit S1 correspond to the multiple DPOs of the first ultrasonic sensor S1 one by one. The first driving terminal is connected to the corresponding DPO, and the first driving terminal is used to provide a driving signal to the DPO corresponding to the first driving terminal.

[0189] The second driving terminals of the second driving subunit S2 correspond to the DPOs of the second ultrasonic sensor S2 in a one-to-one manner. The second driving terminals are connected to the corresponding DPOs, and the second driving terminals are used to provide driving signals to the DPOs corresponding to the second driving terminals.

[0190] The echo signal receiving unit in the detection device includes a plurality of receiving terminals. The plurality of receiving terminals correspond one-to-one to the plurality of RSPs of the first ultrasonic sensor S1. Furthermore, the plurality of receiving terminals correspond one-to-one to the plurality of RSPs of the second ultrasonic sensor S2. Among them, one receiving terminal is connected to the RSP corresponding to the receiving terminal in the first ultrasonic sensor S1, and the receiving terminal is also connected to the RSP corresponding to the receiving terminal in the second ultrasonic sensor S2.

[0191] The target indication signal generated by the electronic device may reflect that the user currently performs a touch operation on at least one of the multiple touch screens. In some scenarios, the touch operation may include a touch operation.

[0192] In some examples, the electronic device is in a screen-off state. The electronic device can generate a target indication signal in response to a user's touch operation on any touch screen, and send the target indication signal to the detection device.

[0193] In other examples, the electronic device is in a screen-off state. The electronic device can generate a target indication signal in response to a user's touch operation on at least two screens at the same time, and send the target indication signal to the detection device.

[0194] In some other examples, the electronic device generates a target indication signal when performing fingerprint recognition and sends it to the detection device. In the embodiments of the present application, the process of how the electronic device determines whether to perform fingerprint recognition is not specifically limited. Those skilled in the art can configure the process according to the actual application scenario. For example, the electronic device can generate a target indication signal in response to an identity recognition operation in a target application, or a payment operation.

[0195] Fig.11 The number of touch screens is only used as an example. In some scenarios, the number of the multiple touch screens may be two or more.

[0196] In a possible implementation manner, the electronic device is further used for:

[0197] After the target indication signal is sent to the detection device, in response to a touch operation on the target touch screen, an interrupt signal corresponding to each target touch screen is sent to the detection device, wherein the target touch screen includes one or more touch screens.

[0198] After the electronic device sends a target indication signal to the detection device, if there is a touch operation on the target touch screen, the electronic device can send an interrupt signal corresponding to each target touch screen to the detection device, instructing the detection device to drive the ultrasonic sensor corresponding to the target touch screen to generate an ultrasonic signal.

[0199] For example, after the electronic device generates the target indication signal, the electronic device may generate a first interrupt signal in response to the user's touch operation on the touch screen A, and send the first interrupt signal to the detection device.

[0200] For another example, after the electronic device generates the target indication signal, the electronic device may generate a second interrupt signal in response to the user's touch operation on the touch screen B, and send the second interrupt signal to the detection device.

[0201] In some examples, among the multiple touch screens, the number of ultrasonic sensors corresponding to the first touch screen is multiple, and among the ultrasonic sensors corresponding to the first touch screen, the detection areas corresponding to the ultrasonic sensors are different. After the electronic device sends a target indication signal to the detection device, it can send an interrupt signal corresponding to the target detection area of ​​the first touch screen to the detection device in response to a touch operation on the target detection area of ​​the first touch screen. The detection device can drive the target ultrasonic sensor to generate an ultrasonic signal, wherein the target ultrasonic sensor is the ultrasonic sensor corresponding to the first touch screen, and the detection area corresponding to the ultrasonic sensor is the target detection area.

[0202] In a possible implementation, the electronic device may further include a detection device. The detection device may be a detection device provided by any of the aforementioned embodiments. Alternatively, the detection device may execute any of the detection methods provided in the present application. In a usage scenario where multiple touch screens perform fingerprint recognition simultaneously, the detection device may drive the ultrasonic sensors corresponding to each touch screen separately within one driving cycle, so that the user may feel that multiple touch screens are capable of fingerprint recognition simultaneously.

[0203] Fig.12An electronic device is shown as an example. The electronic device may include a touch screen and multiple ultrasonic sensors. Any ultrasonic sensor can emit ultrasonic waves to at least a portion of the touch screen corresponding to the ultrasonic sensor. At least a portion of the touch screen corresponding to an ultrasonic sensor may be referred to as a detection area corresponding to the ultrasonic sensor.

[0204] In some examples, the detection areas corresponding to any two ultrasonic sensors may not completely overlap. In other examples, the detection areas corresponding to any two ultrasonic sensors may partially overlap.

[0205] For some examples, please combine Fig.12 , the number of the multiple detection areas may be two, respectively recorded as detection area 1 and detection area 2. The number of the multiple ultrasonic sensors may be two, respectively recorded as a first ultrasonic sensor S1 and a second ultrasonic sensor S2. The first ultrasonic sensor S1 has a corresponding relationship with the detection area 1, and the second ultrasonic sensor S2 has a corresponding relationship with the detection area 1.

[0206] The first driving subunit in the ultrasonic driving unit in the detection device is connected to the DPO of the first ultrasonic sensor S1, and is connected to the second driving subunit and each DPO of the second ultrasonic sensor S2. The multiple first driving terminals of the first driving subunit S1 correspond to the multiple DPOs of the first ultrasonic sensor S1 one by one. The first driving terminal is connected to the corresponding DPO, and the first driving terminal is used to provide a driving signal to the DPO corresponding to the first driving terminal.

[0207] The second driving terminals of the second driving subunit S2 correspond to the DPOs of the second ultrasonic sensor S2 in a one-to-one manner. The second driving terminals are connected to the corresponding DPOs, and the second driving terminals are used to provide driving signals to the DPOs corresponding to the second driving terminals.

[0208] The echo signal receiving unit in the detection device includes a plurality of receiving terminals. The plurality of receiving terminals correspond one-to-one to the plurality of RSPs of the first ultrasonic sensor S1. Furthermore, the plurality of receiving terminals correspond one-to-one to the plurality of RSPs of the second ultrasonic sensor S2. Among them, one receiving terminal is connected to the RSP corresponding to the receiving terminal in the first ultrasonic sensor S1, and the receiving terminal is also connected to the RSP corresponding to the receiving terminal in the second ultrasonic sensor S2.

[0209] The electronic device may send a target indication signal to the detection device in response to a touch operation on the touch screen, so that the detection device drives at least one ultrasonic sensor among the multiple ultrasonic waves, wherein the detection device is capable of driving each ultrasonic sensor to generate an ultrasonic signal.

[0210] The target indication signal generated by the electronic device may reflect that the user has performed a touch operation on the touch screen. In some scenarios, the touch operation may include a touch operation.

[0211] In some examples, the electronic device is in a screen-off state. The electronic device can generate a target indication signal in response to a user's touch operation on the touch screen, and send the target indication signal to the detection device.

[0212] In some other examples, the electronic device generates a target indication signal when performing fingerprint recognition and sends it to the detection device. In the embodiments of the present application, the process of how the electronic device determines whether to perform fingerprint recognition is not specifically limited. Those skilled in the art can configure the process according to the actual application scenario. For example, the electronic device can generate a target indication signal in response to an identity recognition operation in a target application, or a payment operation.

[0213] In a possible implementation, after sending the target indication signal to the detection device, the electronic device may, in response to a touch operation on the target detection area of ​​the touch screen, send an interrupt signal corresponding to each target detection area to the detection device, wherein the target detection area may include one or more detection areas.

[0214] For example, after the electronic device generates the target indication signal, the electronic device may generate a first interrupt signal in response to the user's touch operation on the detection area 1, and send the first interrupt signal to the detection device.

[0215] For another example, after the electronic device generates the target indication signal, the electronic device may generate a second interrupt signal in response to the touch operation in the detection area 2 and send the second interrupt signal to the detection device.

[0216] In a possible implementation, the electronic device may further include a detection device, wherein the detection device may be the detection device provided in any of the aforementioned embodiments, or the detection device may execute any of the detection methods provided in this application.

[0217] Based on the same inventive concept, the present application also provides a detection method, which can be applied to a detection device. The detection device is used to drive multiple ultrasonic sensors. Fig.13 As shown, the detection method may include the following steps:

[0218] S1301, receiving a target indication signal.

[0219] S1302: Generate a periodic drive scanning synchronization signal in response to the target indication signal.

[0220] S1303: Drive at least one ultrasonic sensor among the plurality of ultrasonic sensors in at least a portion of a driving cycle of the driving scanning synchronization signal.

[0221] In a possible implementation manner, the driving at least one ultrasonic sensor among the plurality of ultrasonic sensors includes:

[0222] Receive the interrupt signal corresponding to the target ultrasonic sensor;

[0223] In response to an interrupt signal corresponding to the target ultrasonic sensor, the target sensor is driven to generate an ultrasonic signal.

[0224] In a possible implementation, the target ultrasonic sensor includes a first ultrasonic sensor and a second ultrasonic sensor; wherein, in a first driving cycle of the periodic drive scanning synchronization signal, a reception time of an interrupt signal corresponding to the first ultrasonic sensor is before a reception time corresponding to the second ultrasonic sensor.

[0225] The step of driving the target sensor to generate an ultrasonic signal in response to an interrupt signal corresponding to the target ultrasonic sensor comprises:

[0226] Determining a driving period of the first ultrasonic sensor and a driving period of the second ultrasonic sensor in a second driving cycle based on an interrupt signal of the first ultrasonic sensor and an interrupt signal of the second ultrasonic sensor, wherein the second driving cycle is each driving cycle after the first driving cycle;

[0227] The first ultrasonic sensor is driven according to the driving period of the first ultrasonic sensor in the second driving cycle, and the second ultrasonic sensor is driven according to the driving period of the second ultrasonic sensor, wherein the duration between the end time of the driving period of the first ultrasonic sensor and the start time of the driving period of the second ultrasonic sensor is greater than or equal to the first duration.

[0228] In a possible implementation manner, in response to an interrupt signal corresponding to the target ultrasonic sensor, driving the target sensor to generate an ultrasonic signal further includes:

[0229] In response to an interrupt signal of the first ultrasonic sensor, driving the first ultrasonic sensor to generate an ultrasonic signal in a first driving period of the first driving cycle, wherein a start time of the first driving period of the first driving cycle is a start time of the interrupt signal corresponding to the first ultrasonic sensor;

[0230] determining a driving period of the second ultrasonic sensor within the first driving cycle based on an interrupt signal of the first ultrasonic sensor and an interrupt signal of the second ultrasonic sensor;

[0231] The second ultrasonic sensor is driven according to the driving period of the second ultrasonic sensor in the first driving cycle.

[0232] In some examples, determining the driving period of the second ultrasonic sensor in the first driving cycle based on the interrupt signal of the first ultrasonic sensor and the interrupt signal of the second ultrasonic sensor includes:

[0233] If the time length between the start time of the interrupt signal of the first ultrasonic sensor and the start time of the interrupt signal of the second ultrasonic sensor is less than the third time length tref3 in the aforementioned embodiment, the second ultrasonic sensor is driven in the second driving period within the first driving cycle, wherein the start time of the second driving period within the first driving cycle is the correction time tj, and the time length between the correction time tj and the start time of the interrupt signal of the first ultrasonic sensor is the third time length tref3;

[0234] Alternatively, if the duration between the start time of the interrupt signal of the first ultrasonic sensor and the start time of the interrupt signal of the second ultrasonic sensor is greater than or equal to the third duration tref3 in the aforementioned embodiment, the second ultrasonic sensor is driven in the second driving period within the first driving cycle, wherein the start time of the second driving period within the first driving cycle is the start time of the interrupt signal of the second ultrasonic sensor.

[0235] In a possible implementation manner, determining the driving period of the first ultrasonic sensor and the driving period of the second ultrasonic sensor in the second driving cycle based on the interrupt signal of the first ultrasonic sensor and the interrupt signal of the second ultrasonic sensor includes:

[0236] determining a driving period of the second ultrasonic sensor within a first driving cycle based on an interrupt signal of the first ultrasonic sensor and an interrupt signal of the second ultrasonic sensor;

[0237] It is determined whether a target time length between an end time of the driving period of the second ultrasonic sensor in the first driving cycle and an end time of the first driving cycle is less than the fourth time length in the foregoing embodiment.

[0238] In one possible scenario, if the target duration is greater than or equal to the fourth duration, the driving period of the first ultrasonic sensor in the second driving cycle is determined to be the first driving period, and the driving period of the second ultrasonic sensor in the second driving cycle is determined to be the second driving period.

[0239] The duration of the driving period of the first ultrasonic sensor in the first driving cycle is the same as the duration of the first driving period in the second driving cycle. The duration p1 between the start time of the driving period of the first ultrasonic sensor in the first driving cycle and the start time of the first driving cycle is the same as the duration p2 between the start time of the first driving period in the second driving cycle and the start time of the second driving cycle.

[0240] The duration of the driving period of the second ultrasonic sensor in the first driving cycle is the same as the duration of the second driving period in the second driving cycle. The duration p3 between the start time of the driving period of the second ultrasonic sensor in the first driving cycle and the start time of the first driving cycle is the same as the duration p4 between the start time of the second driving period in the second driving cycle and the start time of the second driving cycle.

[0241] In one possible scenario, if the target duration is less than the fourth duration, the driving period of the first ultrasonic sensor in the second driving cycle is determined as the first correction driving period, and the driving period to be tested of the second ultrasonic sensor in the second driving cycle is determined as the second correction driving period.

[0242] The duration of the driving period of the first ultrasonic sensor in the first driving cycle is the same as the duration of the first correction driving period in the second driving cycle. The duration of the driving period of the second ultrasonic sensor in the first driving cycle is the same as the duration of the second correction driving period in the second driving cycle.

[0243] The time length between the start time of the first correction driving period TJ1 and the start time of the second correction driving period TJ2 is configured as a third time length tref3.

[0244] The first correction drive period TJ1 and the second correction drive period TJ2 do not overlap. The duration between the end time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 is greater than or equal to the preset first duration tref1. The duration of the first correction drive period TJ1 is the same as the duration of the first drive period T1. The duration of the second correction drive period TJ2 is the same as the duration of the second drive period T2.

[0245] The duration between the start time of the first corrective driving period TJ1 and the start time of the second driving period can be configured as the second duration tref2. Optionally, the value of the second duration tref2 can be greater than or equal to the aforementioned tmin, and the value of the second duration tref can be less than or equal to the aforementioned tmax.

[0246] The duration between the start time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 is configured as the third duration tref3. Such a design can make the duration dtj1 between the end time of the first correction drive period TJ1 and the start time of the second correction drive period TJ2 equal to the first duration tref1, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the first ultrasonic sensors. In this way, the duration between the end time of the second correction period TJ2 and the end time of the second drive cycle can be greater than the aforementioned fourth duration, so that the echo signal receiving unit can receive the electrical signals of the echo signals corresponding to all the second ultrasonic sensors.

[0247] Based on the detection method provided by any one of the foregoing embodiments, the detection method can be applied to the detection device provided by any one of the foregoing embodiments.

[0248] Based on the detection method provided by any one of the above embodiments, the target ultrasonic sensor includes a first ultrasonic sensor and a second ultrasonic sensor; wherein, in the first driving cycle of the periodic driving scanning synchronization signal, the reception time of the interrupt signal corresponding to the first ultrasonic sensor is before the reception time corresponding to the second ultrasonic sensor. The method further includes:

[0249] The echo signal receiving unit is used to receive the electrical signal of the echo signal output by each ultrasonic sensor.

[0250] In one possible design, within the first driving cycle and / or the second driving cycle, within the driving period of the first ultrasonic sensor, the echo signal receiving unit is adjusted to a reset state, and the echo signal receiving unit is put into a signal receiving state after the end of the driving period of the first ultrasonic sensor, so that the echo signal receiving unit receives the electrical signal corresponding to the echo signal of the first ultrasonic sensor.

[0251] In the first driving cycle and / or the second driving cycle, in the driving period of the second ultrasonic sensor, the echo signal receiving unit is adjusted to a reset state, and the echo signal receiving unit is set to a signal receiving state after the end of the driving period of the second ultrasonic sensor, so that the echo signal receiving unit receives an electrical signal corresponding to the echo signal of the second ultrasonic sensor.

[0252] Each step in the detection method provided in the embodiment of the present application can be implemented by a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software. This embodiment of the present application will not be described in detail.

[0253] In addition, an embodiment of the present application further provides a chip. The chip can support the functions of the detection device provided in any of the above embodiments. Or the chip can implement the detection method provided in any of the embodiments of the present application.

[0254] Based on the same inventive concept, refer to Fig.14 As shown, the embodiment of the present application further provides an electronic device 600, which includes a display unit 640, a processor 680 and a memory 620, wherein the display unit 640 includes a display panel 641, which is used to display information input by a user or information provided to a user and various operation interfaces of the electronic device 600. Optionally, the display panel 641 can be configured in the form of LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).

[0255] The processor 680 is used to read the computer program and then execute the method defined by the computer program. For example, the processor 680 reads the application, thereby running the application on the electronic device 600 and displaying the operation interface on the display unit 640. The processor 680 may include one or more general-purpose processors and may also include one or more DSPs (Digital Signal Processors) to perform related operations to implement the technical solutions provided in the embodiments of the present application.

[0256] The memory 620 generally includes internal memory and external memory, and the internal memory can be RAM, ROM, and cache (CACHE), etc. The external memory can be a hard disk, an optical disk, a USB disk, a floppy disk or a tape drive, etc. The memory 620 is used to store computer programs and other data, and the computer program includes an application program, etc. The other data may include data generated after the operating system or the application program is run, and the data includes system data (such as configuration parameters of the operating system) and user data. In the embodiment of the present application, program instructions are stored in the memory 620, and the processor 680 executes the program instructions in the memory 620 to implement the detection method discussed above.

[0257] In addition to the above, the electronic device 600 may also include a power supply 690 for supplying power to other modules, an audio circuit 660, a near field communication module 670, and an RF circuit 610. The electronic device 600 may also include one or more sensors 650, such as an acceleration sensor, a light sensor, a pressure sensor, etc. Among them, the multiple sensors 650 include multiple ultrasonic sensors 651 and a detection device 652. Alternatively, the multiple sensors 650 may include a detection device 652, and the detection device 652 includes multiple ultrasonic sensors.

[0258] The audio circuit 660 specifically includes a speaker 661 and a microphone 662. For example, the user can use voice control. The electronic device 600 can collect the user's voice through the microphone 662, can be controlled by the user's voice, and play the corresponding prompt sound through the speaker 661 when the user needs to be prompted.

[0259] The display panel 641 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the display unit 640, the electronic device 600 may further include an input unit 630, which may include but is not limited to one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick. Fig.14 In the figure, the input unit 630 includes an image input device 631 and other input devices 632 as an example.

[0260] In addition, the display unit 640 is used to receive input digital information, character information or contact touch operation / contactless gesture, and generate signal input related to user settings and function control of the electronic device 600. Specifically, in the embodiment of the present application, the display unit 640 may include at least one display panel 641. The display panel 641, such as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the display panel 641 or on the display panel 641 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the display panel 641 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch position of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the processor 680, and can receive and execute commands sent by the processor 680.

[0261] In a possible implementation, the display unit 640 may include a plurality of display panels 641, and the display panels 641 may be implemented as touch screens. The plurality of ultrasonic sensors 651 correspond one to one with the plurality of display panels 641. In an embodiment of the present application, if a fingerprint recognition is required, the user performs a touch operation on the display panel 641. The touch detection device in the display panel 641 detects the touch operation, and sends a signal corresponding to the detected touch operation to the touch controller, which converts the signal into the touch point coordinates and sends them to the processor 680.

[0262] The processor 680 may generate a target indication signal in response to receiving the touch point coordinates, and send it to the detection device. The processor 680 determines the target touch screen where the touch operation occurs according to the received touch point coordinates, and sends an interrupt signal corresponding to the target touch screen to the detection device. The detection device may drive the ultrasonic sensor corresponding to the target touch screen to generate an ultrasonic signal. And the detection device may receive an electrical signal of an echo signal corresponding to the ultrasonic sensor corresponding to the target touch screen, so as to generate a fingerprint image corresponding to each target touch screen.

[0263] In a possible implementation, the display unit 640 may include a display panel 641. A display panel 641 has multiple detection areas. Multiple ultrasonic sensors correspond to multiple detection areas one by one. In an embodiment of the present application, if a fingerprint recognition is required, the user performs a touch operation on the display panel 641. The touch detection device in the display panel 641 detects the touch operation, and sends a signal corresponding to the detected touch operation to the touch controller, which converts the signal into a touch point coordinate and sends it to the processor 680.

[0264] The processor 680 may generate a target indication signal in response to receiving the touch point coordinates, and send it to the detection device. The processor 680 determines the target detection area where the touch operation occurs according to the received touch point coordinates, and sends an interrupt signal corresponding to the target detection area to the detection device. The detection device may drive the ultrasonic sensor corresponding to the target detection area to generate an ultrasonic signal. And the detection device may receive an electrical signal of an echo signal corresponding to the ultrasonic sensor corresponding to the target detection area, so as to generate a fingerprint image corresponding to each target detection area.

[0265] In the embodiments provided by the present application, the detection method provided by the embodiments of the present application is introduced from the perspective of the detection device as the execution subject. In order to realize the functions in the method provided by the embodiments of the present application, the detection device may include a hardware structure and / or a software module, and the functions are realized in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function of the functions described above is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0266] In addition, an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program. When the computer program is run on a computer, the computer executes the steps in any one of the above detection methods.

[0267] As used in the above embodiments, the term "when..." or "after..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrase "when determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "when (the stated condition or event) is detected" or "in response to detecting (the stated condition or event)", depending on the context. In addition, in the above embodiments, relational terms such as first and second are used to distinguish one entity from another, without limiting any actual relationship and order between the entities.

[0268] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0269] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0270] The present application embodiment also provides a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk (SSD)), etc. In the absence of conflict, the schemes of the above embodiments may be used in combination.

[0271] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0272] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0273] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0274] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0275] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0276] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A detection device, characterized in that: include: Ultrasonic wave driving unit and echo signal receiving unit; Wherein, the ultrasonic driving unit includes a plurality of driving subunits, the plurality of driving subunits correspond to a plurality of ultrasonic sensors one by one, any driving subunit is connected to the ultrasonic sensor corresponding to any driving subunit, and any driving subunit is used to drive the ultrasonic sensor corresponding to any driving subunit to generate an ultrasonic signal; The echo signal receiving unit is connected to each of the ultrasonic sensors, and is used to receive the electrical signal of the echo signal output by each of the ultrasonic sensors.

2. The device according to claim 1, characterized in that The device also includes an interrupt signal receiving unit; The interrupt signal receiving unit is used to receive an interrupt signal corresponding to any ultrasonic sensor, and the interrupt signal is used to instruct the ultrasonic driving unit to drive any ultrasonic sensor.

3. The device according to claim 2, characterized in that The interrupt signal receiving unit includes a plurality of interrupt signal receiving sub-units, and the plurality of interrupt signal receiving sub-units correspond one to one with the plurality of ultrasonic sensors; Any interrupt signal receiving subunit is used to receive an interrupt signal corresponding to a target ultrasonic sensor, wherein the interrupt signal is used to instruct the ultrasonic driving unit to drive the target ultrasonic sensor, wherein the target ultrasonic sensor is the ultrasonic sensor corresponding to any interrupt signal receiving subunit.

4. The device according to claim 2, characterized in that The multiple driving subunits include a first driving subunit and a second driving subunit; the multiple ultrasonic sensors include a first ultrasonic sensor and a second ultrasonic sensor; the first driving subunit is used to drive the first ultrasonic sensor to generate an ultrasonic signal, and the second driving subunit is used to drive the second ultrasonic sensor to generate an ultrasonic signal.

5. The device according to any one of claims 4, characterized in that: The device comprises a processing unit; The processing unit is used to generate a periodic drive scanning synchronization signal based on the target indication signal; The ultrasonic driving unit is used to drive at least one of the ultrasonic sensors in each driving cycle of the periodic driving scanning synchronization signal.

6. The device according to claim 5, characterized in that In the periodic drive scanning synchronization signal, the interrupt signal receiving unit receives a first interrupt signal corresponding to the first ultrasonic sensor and a second interrupt signal corresponding to the second ultrasonic sensor in a first drive period, and a start time of the first interrupt signal is before a start time of the second interrupt signal; In any driving cycle after the first driving cycle, the first driving subunit drives the first ultrasonic sensor in a first driving period, and the second driving subunit drives the second ultrasonic sensor in a second driving period, wherein the first driving period and the second driving period do not overlap.

7. The device according to claim 6, characterized in that The duration between the end time of the first driving period and the start time of the second driving period is greater than or equal to a preset first duration.

8. The device according to claim 6, characterized in that The difference between the start time of the first driving period and the start time of any driving cycle is a preset second time length.

9. The device according to claim 5, characterized in that The processing unit is connected to the touch component, the target indication signal is a signal triggered by the touch component, and the target indication signal is used to instruct the detection device to drive some or all of the multiple ultrasonic sensors.

10. The device according to claim 1, characterized in that The device also includes the plurality of ultrasonic sensors.

11. A detection method, characterized in that: Applied to a detection device, the detection device is used to drive a plurality of ultrasonic sensors; The method comprises: receiving a target indication signal; In response to the target indication signal, generating a periodic drive scanning synchronization signal; At least one ultrasonic sensor among the plurality of ultrasonic sensors is driven in at least a portion of a driving period of the drive scanning synchronization signal.

12. The method according to claim 11, characterized in that The driving of at least one ultrasonic sensor among the plurality of ultrasonic sensors comprises: Receive the interrupt signal corresponding to the target ultrasonic sensor; In response to an interrupt signal corresponding to the target ultrasonic sensor, the target sensor is driven to generate an ultrasonic signal.

13. The method according to claim 12, characterized in that The target ultrasonic sensor includes a first ultrasonic sensor and a second ultrasonic sensor; wherein, in a first driving cycle of the periodic driving scanning synchronization signal, the reception time of the interrupt signal corresponding to the first ultrasonic sensor is before the reception time corresponding to the second ultrasonic sensor; The step of driving the target sensor to generate an ultrasonic signal in response to an interrupt signal of the target ultrasonic sensor comprises: Determining a driving period of the first ultrasonic sensor and a driving period of the second ultrasonic sensor in a second driving cycle based on an interrupt signal of the first ultrasonic sensor and an interrupt signal of the second ultrasonic sensor, wherein the second driving cycle is each driving cycle after the first driving cycle; The first ultrasonic sensor is driven according to the driving period of the first ultrasonic sensor in the second driving cycle, and the second ultrasonic sensor is driven according to the driving period of the second ultrasonic sensor, wherein the duration between the end time of the driving period of the first ultrasonic sensor and the start time of the driving period of the second ultrasonic sensor is greater than or equal to the first duration.

14. A chip, characterized in that: The chip is used to execute the detection method as described in any one of claims 11-13.

15. An electronic device, characterized in that: It includes multiple touch screens and multiple ultrasonic sensors; one touch screen corresponds to at least one ultrasonic sensor, one ultrasonic sensor corresponds to one touch screen, and any ultrasonic sensor can emit ultrasonic waves to at least a part of the touch screen corresponding to any ultrasonic sensor; Wherein, the electronic device is used for: In response to a touch operation on any touch screen, a target indication signal is sent to the detection device so that the detection device drives at least one ultrasonic sensor among the multiple ultrasonic waves, wherein the detection device is capable of driving each ultrasonic sensor to generate an ultrasonic signal.

16. The electronic device according to claim 15, characterized in that: The electronic device is also used for: After the target indication signal is sent to the detection device, in response to a touch operation on the target touch screen, an interrupt signal corresponding to each target touch screen is sent to the detection device, wherein the target touch screen includes one or more touch screens.

17. The electronic device according to claim 15, characterized in that: The electronic device further comprises the detection device; the detection device is the detection device as claimed in any one of claims 1-10; or, the detection device is used to execute the detection method as claimed in any one of claims 11-13.