A data reading method, device and equipment
By determining the target position based on the pixel matrix structure information in the under-screen fingerprint sensor and generating a control signal, the problem of low reading efficiency in the prior art is solved, and efficient and flexible data reading is achieved.
Patent Information
- Application Number
- CN202110890149.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-04
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2041-08-04
AI Technical Summary
The prior art cannot efficiently read the actual data of the sensed object in the under-screen fingerprint sensor, especially when the sensing area increases, resulting in an extended reading time and an increase in the amount of invalid data.
By determining the target position information of the object to be sensed based on the structural information of the target pixel matrix, and generating control signals of the row selection module and/or column selection module are generated to flexibly read data and avoiding the limitation of a single reading method.
It realizes efficient reading of the actual data of the sensed object, shortens the reading time, and reduces the reading amount of invalid data, and adapts to the flexible reading requirements of different data volumes and locations.
Smart Images

Figure CN115705741B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this specification relate to the technical field of bioinformatics detection, and particularly to a data reading method, device, and equipment. Background Art
[0002] With the rapid rise in the demand for under-screen fingerprint sensors, the application scope of under-screen fingerprint sensors has become increasingly extensive, with more and more application scenarios, and the technology of under-screen fingerprint sensors is constantly evolving. Whether it is a traditional under-screen capacitive fingerprint sensor, an under-screen optical fingerprint sensor launched in the past two years, or an under-screen ultrasonic fingerprint sensor that is under development, in addition to the transducer module corresponding to various technologies and the very important pixel matrix module, the circuit outside the sensing area is also very important. With the change of market demand, the sensing area of under-screen fingerprint sensors is increasing year by year, and when the area of the pixel matrix increases, it is possible that the sensed object (including but not limited to finger fingerprints, multiple finger fingerprints, palm prints, hand prints, lip prints) occupies a very small part of the entire sensing area. Therefore, as the sensing area of under-screen fingerprint sensors increases, the proportion of the sensed object occupying the entire sensing area will become smaller and smaller, and all the data actually required to be read by the measured object will be much less than all the data of the entire pixel matrix.
[0003] In the prior art, usually, the data of each pixel point on the pixel matrix is read row by row or column by column using a shift register. Using the scanning method of the shift register, each read can only start from the first row and the starting row cannot be selected, making the reading method relatively single and not flexible enough. If the sensed object is in the last row of the sensing area, it needs to wait until all the data of the previous rows are read before it can be read, which greatly increases the amount of invalid data read and transmitted, and also increases the reading time. Thus, it can be seen that the technical solution in the prior art cannot efficiently read the actual data of the sensed object.
[0004] In response to the above problems, no effective solution has been proposed yet. Summary of the Invention
[0005] The embodiments of this specification provide a data reading method, device, and equipment to solve the problem in the prior art that the actual data of the sensed object cannot be efficiently read.
[0006] An embodiment of this specification provides a data reading method, including: determining target position information of an object to be sensed in the target pixel matrix based on the structure information of the target pixel matrix; where the structure information is used to characterize the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix, and the area of the target pixel matrix is greater than a first preset threshold; generating a control signal for the row selection module and / or column selection module according to the target position information; where the control signal is used to characterize the range of data reading in the target pixel matrix; reading the data to be recognized in the target pixel matrix by using the control signal; where the data to be recognized is used to determine the object to be sensed.
[0007] An embodiment of this specification also provides a data reading device, including: a determination module, configured to determine target position information of an object to be sensed in the target pixel matrix based on the structure information of the target pixel matrix; where the structure information is used to characterize the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix, and the area of the target pixel matrix is greater than a first preset threshold; a generation module, configured to generate a control signal for the row selection module and / or column selection module according to the target position information; where the control signal is used to characterize the range of data reading in the target pixel matrix; a reading module, configured to read the data to be recognized in the target pixel matrix by using the control signal; where the data to be recognized is used to determine the object to be sensed.
[0008] An embodiment of this specification also provides a data reading device, including a processor and a memory for storing processor-executable instructions, and the processor implements the steps of the data reading method when executing the instructions.
[0009] An embodiment of this specification also provides a computer-readable storage medium, on which computer instructions are stored, and the steps of the data reading method are implemented when the instructions are executed.
[0010] An embodiment of this specification provides a data reading method. Based on the structure information characterizing the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix, the target position information of the object to be sensed in the target pixel matrix can be determined, and the area of the target pixel matrix is greater than a first preset threshold. Further, according to the target position information, control signals for the row selection module and / or column selection module can be generated, and the control signals are used to read the data to be recognized in the target pixel matrix. Thus, the data set to be recognized within the range corresponding to the control signals can be read, and the object to be sensed can be determined based on the read data to be recognized. It can flexibly cooperate with the sequence, position, and different data volume sizes of the data to be read, avoiding the problem of single reading method. Even if the object to be sensed appears in the last row of the target pixel matrix, the row where the object to be sensed is located can be directly selected by bypassing the rows / columns where the previous invalid data is located through the hierarchical distribution of the row selection module and / or column selection module, effectively improving the efficiency of reading data and shortening the time for reading data. Description of the Drawings
[0011] The drawings described herein are used to provide a further understanding of the embodiments of this specification, form a part of the embodiments of this specification, and do not limit the embodiments of this specification. In the drawings:
[0012] Figure 1 is a schematic structural diagram of an ultrasonic fingerprint detection sensor provided according to an embodiment of this specification;
[0013] Figure 2 is a schematic step diagram of a data reading method provided according to an embodiment of this specification;
[0014] Figure 3 is a schematic diagram of the comparison relationship between the object to be sensed and the target pixel matrix provided according to an embodiment of this specification;
[0015] Figure 4 is a schematic diagram of a hierarchical structure provided according to an embodiment of this specification;
[0016] Figure 5 is a schematic structural diagram of Decoder + Decoder provided according to an embodiment of this specification;
[0017] Figure 6 is a schematic structural diagram of a data reading device provided according to an embodiment of this specification;
[0018] Figure 7 is a schematic structural diagram of a data reading device provided according to an embodiment of this specification. Detailed Embodiments
[0019] The principles and spirit of the embodiments of this specification will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and then implement the embodiments of this specification, rather than limiting the scope of the embodiments of this specification in any way. On the contrary, these embodiments are provided to make the disclosure of the embodiments of this specification more thorough and complete, and to fully convey the scope of this disclosure to those skilled in the art.
[0020] Those skilled in the art know that the embodiments of the embodiments of this specification can be implemented as a system, a device, a method, or a computer program product. Therefore, the disclosure of the embodiments of this specification can be specifically implemented in the following forms, namely: completely hardware, completely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0021] Although the following described processes include a plurality of operations that occur in a specific order, it should be clearly understood that these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel (for example, using a parallel processor or a multi-threaded environment).
[0022] It should be noted that when an element is referred to as being "disposed on" another element, it can be directly on the other element or there may also be an intermediate element. When an element is considered to be "connected" to another element, it can be directly connected to the other element or there may be an intermediate element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only and do not represent the only embodiments.
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this invention belongs. The terms used in the specification of this invention herein are only for the purpose of describing specific embodiments and are not intended to limit this invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0024] The embodiments of this specification provide a data reading method, apparatus, and device. The data reading method can be applied to products related to an under-screen optical sensor, an under-screen capacitive sensor, and an ultrasonic fingerprint detection sensor for fingerprint recognition, and can implement fingerprint unlocking, user identity authentication, permission acquisition, etc. Of course, it can be understood that it can also be applied to other possible electrical appliances for data reading.
[0025] In a feasible implementation scenario, the data reading method provided by the embodiments of this specification can preferably be applied to products related to ultrasonic fingerprint detection sensors. The ultrasonic fingerprint detection sensor is configured in a smart phone, and the smart phone can obtain the fingerprint feature information (data to be recognized) of the user based on the ultrasonic fingerprint detection sensor, and use it to match the fingerprint information stored corresponding to the user, so as to implement the authentication of the current user's identity, and thus confirm whether the user has the corresponding permission to perform related operations such as screen unlocking, user authentication, and permission acquisition on the smart phone.
[0026] In this implementation scenario, the ultrasonic fingerprint detection sensor can be as Figure 1 shown. The ultrasonic fingerprint detection sensor includes a glass substrate 1 and an ultrasonic pixel matrix 2 provided on the glass substrate 1. The ultrasonic pixel matrix 2 can include a plurality of ultrasonic pixel units. The plurality of ultrasonic pixel units can be arranged in a regular form of multiple rows and multiple columns on the glass substrate 1, so as to make full use of the surface setting space of the glass substrate 1 and improve the setting density of the ultrasonic pixel units. Among them, the plurality of ultrasonic pixel units are independent of each other. The glass substrate 1 can be a substrate for implementing the TFT (Thin Film Transistor) process, on which a conductive film is formed. By processing the conductive film, ultrasonic pixel units are formed on the glass substrate 1.
[0027] In this implementation scenario, a pin 3 can also be provided on the glass substrate 1 for connecting with other IC (Integrated Circuit) chips and ASIC (Application Specific Integrated Circuit) control chips, so as to realize the connection between the ultrasonic fingerprint detection sensor and other IC chips and the supply of power (DC power supply Vcc with a constant voltage, Reset voltage) and signal control. Among them, the voltage value of the DC power supply Vcc with a constant voltage can be set and selected according to the actual situation. For example, it can be selected from 6V - 12V. The function of the above Reset voltage can be reset or reset, and the value of the Reset voltage can be set and selected according to the actual situation. For example, it can be 0V. The embodiments of this specification do not make a unique limitation on this.
[0028] In this scenario example, Figure 1 only an exemplary structure of the ultrasonic fingerprint detection sensor with a row selection module is given. It can be understood that in some embodiments, only a column selection module can be set, or both a row selection module and a column selection module can be set, and specifically can be set according to the actual situation. The embodiments of this specification do not make a limitation on this.
[0029] In this scenario example, as Figure 1The ultrasonic pixel matrix 2 shown can receive the control signal (abbreviation: row selection signal) of the row selection module, and control the piezoelectric material to output fingerprint electrical signals (data to be recognized) to the ultrasonic pixel matrix 2 based on the control signal of the row selection module.
[0030] In this scenario example, it should be noted that the layout shape of the ultrasonic pixel matrix in the embodiments of this specification is not limited to Figure 1 the rectangle or square shown, and may also include any other feasible shape, which is not limited in the embodiments of this specification.
[0031] Please refer to Figure 2 , this embodiment can provide a data reading method. This data reading method can be used to efficiently read the actual data of the sensed object. The above data reading method may include the following steps.
[0032] S201: Based on the structural information of the target pixel matrix, determine the target position information of the object to be sensed in the target pixel matrix; wherein, the structural information is used to characterize the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix, and the area of the target pixel matrix is greater than the first preset threshold.
[0033] In this embodiment, the target position information of the object to be sensed in the target pixel matrix can be determined based on the structural information of the target pixel matrix. Among them, the above structural information of the target pixel matrix can be used to characterize the hierarchical distribution of the row selection module and column selection module in the target pixel matrix, and the area of the target pixel matrix is greater than the first preset threshold.
[0034] In this embodiment, the above target pixel matrix may be a pixel matrix for reading data in the sensing area to identify the object to be sensed. The target pixel matrix may include a plurality of pixel units, and the plurality of pixel units may be arranged in a regular form of multiple rows and multiple columns. The above target pixel matrix may be square, rectangular, circular or irregular in shape, and can be specifically determined according to the actual situation, which is not limited in the embodiments of this specification.
[0035] In this embodiment, if the area of the target pixel matrix is close to the area of the object to be sensed, reading the data to be recognized in all pixel units of the target pixel matrix will not generate a large amount of invalid data. The smaller the proportion of the object to be sensed occupying the entire target pixel matrix, the smaller the amount of all data actually required to identify the object to be sensed compared to all the data in the entire target pixel matrix. At this time, a hierarchical structure needs to be used on the row selection module or column selection module to divide the control signals of the row selection module and column selection module into different levels, reducing the amount of invalid data read. Therefore, the area of the above target pixel matrix may be greater than or equal to the first preset threshold.
[0036] In this embodiment, the above first preset threshold may be a value greater than 0, and the above first preset threshold may be determined according to the average area of the object to be sensed. For example, the first preset threshold may be twice the average area of the object to be sensed, or the first preset threshold may be 10 greater than the average area of the object to be sensed. Of course, the method for determining the first preset threshold is not limited to the above examples. Those skilled in the art may make other changes under the inspiration of the technical essence of the embodiments of this specification, but as long as the functions and effects achieved are the same as or similar to those of the embodiments of this specification, they should all be covered within the protection scope of the embodiments of this specification.
[0037] In this embodiment, when the area of the target pixel matrix is greater than the first preset threshold, the comparison relationship between the object to be sensed and the target pixel matrix (sensing area) may be as Figure 3 shown. Among them, the actual size of the sensed object is smaller than the sensing area.
[0038] In this embodiment, since the area of the target pixel matrix is greater than the first preset threshold, the target pixel matrix can be hierarchically divided in advance. The structure information of the target pixel matrix can be used to characterize the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix. Thus, based on the structure information of the target pixel matrix, the target position information of the object to be sensed in the target pixel matrix can be determined. In some embodiments, when the sensing area is touched or pressed, an induced capacitance can be formed. The induced capacitance can be processed by an IC chip (Integrated Circuit) to analyze the position information of the touch or press, and then the target position information can be obtained by combining the structure information of the target pixel matrix.
[0039] In this embodiment, the above target position information can be used to characterize the row and column information of the object to be sensed in the target pixel matrix, as well as the hierarchical information of the rows and columns in the row selection module and / or column selection module, so as to determine which pixel units in the target pixel matrix need to have their data read. In some embodiments, the above target position information may be the coordinate information corresponding to the object to be sensed in the target pixel matrix. Of course, the target position information is not limited to the above examples. Those skilled in the art may make other changes under the inspiration of the technical essence of the embodiments of this specification, but as long as the functions and effects achieved are the same as or similar to those of the embodiments of this specification, they should all be covered within the protection scope of the embodiments of this specification.
[0040] S202: Generate control signals for the row selection module and / or column selection module according to the target position information; wherein, the control signals are used to characterize the range of data read in the target pixel matrix.
[0041] In this embodiment, since the above target position information can be used to represent the row and column information of the object to be sensed in the target pixel matrix, as well as the hierarchical information of the rows and columns in the row selection module and / or column selection module. Therefore, control signals for the row selection module and column selection module can be generated according to the above target position information. Among them, the above control signals can be used to represent the range of data read in the target pixel matrix.
[0042] In this embodiment, when the user touches or presses the sensing area, the target pixel matrix will generate corresponding electrical signals (data to be recognized) and store them in the corresponding pixel units. When it is necessary to read the data for recognition, control signals for the row selection module and / or column selection module can be generated according to the target position information. When a hierarchical structure is only set for the row selection module, only the control signal of the row selection module can be generated; when a hierarchical structure is only set for the column selection module, only the control signal of the column selection module can be generated; when hierarchical structures are set for both the row selection module and the column selection module, control signals for the row selection module and column selection module can be generated. Of course, only the control signal of the row selection module or the column selection module can also be generated. Specifically, it can be determined according to the actual situation, and the embodiments of this specification do not limit this.
[0043] In this embodiment, the above control signals can be timing control signals, so that the data to be recognized can be read sequentially according to the row and column order. The control signals can be used to control the range of data read in the target pixel matrix. The range of data read can correspond to the above target position information. The control signals can control the conduction or cutoff of the circuits in the pixel units to control whether the data to be recognized stored in the pixel units is output. Specifically, when the voltage of the control signal is at a high level, the circuit is conductive; when the voltage of the control signal is at a low level, the circuit is cutoff.
[0044] S203: Read the data to be recognized in the target pixel matrix by using the control signals; among them, the data to be recognized is used to determine the object to be sensed.
[0045] In this embodiment, the above target pixel matrix can receive the control signals sent by the row selection module and column selection module to control the reading of the data to be recognized in each pixel unit, so as to read the data set to be recognized within the range corresponding to the control signals. It can flexibly cooperate with the sequence, position, and different data volumes of the data to be read. Even if the object to be sensed appears in the last row of the target pixel matrix, the row where the object to be sensed is located can be directly selected by bypassing the rows / columns where the previous invalid data is located through the hierarchical distribution of the row selection module and / or column selection module, effectively improving the efficiency of reading data and shortening the time for reading data.
[0046] From the above description, it can be seen that the embodiments of this specification achieve the following technical effects: Based on the structural information representing the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix, the target position information of the object to be sensed in the target pixel matrix can be determined, and the area of the target pixel matrix is greater than the first preset threshold. Further, based on the target position information, control signals for the row selection module and / or column selection module can be generated, and the control signals can be used to read the data to be recognized in the target pixel matrix. Thus, the data set to be recognized within the range corresponding to the control signals can be read, and the object to be sensed can be determined based on the read data to be recognized. It can flexibly cooperate with the sequence, position, and different data volume sizes of the data to be read, avoiding the problem of single reading method. Even if the object to be sensed appears in the last row of the target pixel matrix, the row where the object to be sensed is located can be directly selected by bypassing the rows / columns where the previous invalid data is located through the hierarchical distribution of the row selection module and / or column selection module, effectively improving the efficiency of reading data and shortening the time for reading data.
[0047] In one embodiment, before determining the target position information of the object to be sensed in the target pixel matrix based on the structural information of the target pixel matrix, it may further include: obtaining a parameter information set of the target pixel matrix; wherein, the parameter information set includes the number of rows and columns of the target pixel matrix. The hierarchical division parameters of the target pixel matrix can be determined according to the parameter information set; wherein, the hierarchical division parameters include at least one of the following: the level to which each row belongs, the level to which each column belongs, the number of levels obtained by hierarchically dividing rows and columns respectively, and the number of pixel units included in each level. And based on the hierarchical division parameters, a hierarchical structure of the row selection module and a hierarchical structure of the column selection module are constructed.
[0048] In this embodiment, as the area of the target pixel matrix increases, the number of rows or columns will also increase accordingly. A hierarchical structure can be set based on the number of rows and columns of the target pixel matrix, and the determined number of levels can be a positive integer greater than or equal to 1. Taking the example of setting a hierarchical structure for rows, the number of rows can be divided into different groups according to the requirements of product design and application scenarios. The control signals between groups and the connections between groups are defined as the first level, and the control signals and connections between rows within each group are defined as the second level, and so on. According to the size and requirements of the overall area, it can be extended from two levels to multiple levels. For example, the control signals between large groups are the first level, there are multiple small groups within each large group, the control signals and connections between small groups are the second level, and there are even smaller groups within the small groups as the third level, and so on until the control signals between rows are the nth level.
[0049] In this embodiment, through hierarchical division, the hierarchical division parameters of the target pixel matrix can be obtained. Among them, the hierarchical division parameters include at least one of the following: the level to which each row belongs, the level to which each column belongs, the number of levels obtained by hierarchically dividing rows and columns respectively, the number of sub-units included in each level, etc. Of course, it can be understood that the above hierarchical division parameters may also include other parameters, such as: the positions of rows and columns in the target pixel matrix included in each level, the number of pixel units included in each sub-unit, etc. Specifically, it can be determined according to the actual situation, and the embodiments of this specification do not limit this.
[0050] In this embodiment, according to the hierarchical division parameters, a hierarchical structure of the row selection module or a hierarchical structure of the column selection module, or a hierarchical structure of the row selection module and the column selection module can be constructed. The relevant information of the constructed hierarchical structure can be stored in the host for subsequent invocation when determining the target position information.
[0051] In one embodiment, when the target pixel matrix has 640 rows and it is necessary to hierarchically divide the rows, the obtained hierarchical structure can be as Figure 4 shown. The rows can be divided into 4 large groups Group, each large group Group contains 10 small groups, and each small group contains 16 rows. Among them, the 1st to 4th large groups are the first level, and each large group is a sub-unit in the first level; each small group in the large group is the second level, and each small group is a sub-unit in the second level; each row in the small group is the third level; each row is a sub-unit in the third level. Of course, the way of hierarchical division is not limited to the above example. Those skilled in the art may make other changes under the inspiration of the technical essence of the embodiments of this specification, but as long as the functions and effects achieved are the same or similar to those of the embodiments of this specification, they should all be covered within the protection scope of the embodiments of this specification.
[0052] In one embodiment, determining the hierarchical division parameters of the target pixel matrix according to the parameter information set may include: when it is determined that the number of rows of the target pixel matrix is greater than or equal to the second preset threshold, determining the hierarchical division parameters of the row selection module. When it is determined that the number of columns of the target pixel matrix is greater than or equal to the third preset threshold, determining the hierarchical division parameters of the column selection module.
[0053] In this embodiment, since setting the hierarchical structure of the row selection module or the column selection module will increase the area, complexity, and cost of the circuit in some cases, therefore, the parameter information set of the target pixel matrix can be obtained first, so as to determine whether it is necessary to set a hierarchical structure for both.
[0054] In this embodiment, when the number of rows of the target pixel matrix is greater than or equal to the second preset threshold, it indicates that the number of rows is greater than the number of rows that the object to be sensed may cover. The rows in the target pixel matrix can be hierarchically divided to determine the hierarchical division parameters of the row selection module. When the number of columns of the target pixel matrix is greater than or equal to the third preset threshold, it indicates that the number of columns is greater than the number of columns that the object to be sensed may occupy. The columns in the target pixel matrix can be hierarchically divided to determine the hierarchical division parameters of the column selection module.
[0055] In this embodiment, the second preset threshold can be a value greater than 0. The second preset threshold can be determined according to the average number of rows or the maximum number of rows that the object to be sensed may cover. For example, the second preset threshold can be twice the average number of rows that the object to be sensed may cover, or the second preset threshold can be the maximum number of rows that the object to be sensed may cover, etc. Of course, the second preset threshold is not limited to the above examples. Those skilled in the art may make other changes under the inspiration of the technical essence of the embodiments of this specification. As long as the functions and effects achieved are the same or similar to those of the embodiments of this specification, they should all be covered within the protection scope of the embodiments of this specification.
[0056] In this embodiment, the third preset threshold can be a value greater than 0. The third preset threshold can be determined according to the average number of columns or the maximum number of columns that the object to be sensed may cover. For example, the third preset threshold can be twice the average number of columns that the object to be sensed may cover, or the third preset threshold can be the maximum number of columns that the object to be sensed may cover, etc. Of course, the third preset threshold is not limited to the above examples. Those skilled in the art may make other changes under the inspiration of the technical essence of the embodiments of this specification. As long as the functions and effects achieved are the same or similar to those of the embodiments of this specification, they should all be covered within the protection scope of the embodiments of this specification.
[0057] In one embodiment, determining the hierarchical division parameters of the target pixel matrix according to the parameter information set may further include: when it is determined that the number of rows of the target pixel matrix is less than the second preset threshold, the number of levels of the row selection module can be determined to be 0. When it is determined that the number of columns of the target pixel matrix is less than the third preset threshold, the number of levels of the column selection module can be determined to be 0.
[0058] In this embodiment, when the number of rows of the target pixel matrix is less than the second preset threshold, it indicates that the number of rows of the target pixel matrix is close to the number of rows that the object to be sensed may cover, and a large amount of invalid data will not be generated. Therefore, the number of levels of the row selection module can be determined to be 0, that is, the rows are not hierarchically divided.
[0059] In this embodiment, when the number of columns of the target pixel matrix is less than the third preset threshold, it indicates that the number of columns of the target pixel matrix is similar to the number of columns that the object to be sensed may cover, and a large amount of invalid data will not be generated. Therefore, it can be determined that the number of levels of the column selection module is 0, that is, the columns are not hierarchically divided.
[0060] In one embodiment, the logical connection method between each sub-unit in the same level includes one of the following: Decoder, Shift Register. Of course, it can be understood that other circuits with similar functions can also be used for logical connection, which can be specifically determined according to the actual situation, and the embodiments of this specification do not limit this.
[0061] In this embodiment, the connection method of the Decoder can realize pixel-to-pixel reading, thus better conforming to the shape of the object to be sensed and reducing the reading of invalid data. However, at the same time, it will increase the area and cost of the circuit. The Shift Register has better application effects for pixel matrices with larger areas. The circuit area of the Shift Register is fixed and will not increase the circuit complexity, and the synchronization is better. However, the Shift Register cannot read in a jumping manner and needs to read row by row or column by column in sequence, which will increase the amount of invalid data reading. Therefore, the logical connection method between each sub-unit in the same level can be determined according to actual needs. Among them, different logical connection methods can be adopted between sub-units in different levels to achieve better effects.
[0062] In this embodiment, taking the example of equally dividing the number of rows into multiple groups, the control signals between groups and the connections between groups are defined as the first level, and the control signals and connections between rows within each group are defined as the second level. Among them, each group contains 16 rows (16 Lines). The row selection module can be one of the following four structures: Decoder+Decoder, Decoder+Shift Register, Shift Register+Decoder, Shift Register+Shift Register.
[0063] In this embodiment, the structure of Decoder+Decoder (Matthew structure) can be as Figure 5 shown. The logical connection between groups at the first level selects the Decoder method. Each group has a corresponding Code (encoding). Different groups can be selected by controlling the Code. The logical connection between rows at the second level selects the Decoder method. Different rows within each group also have a corresponding Code (encoding). Any number of rows can be selected by controlling the Code.Figure 5 China 1 st Hierarchical Decoder indicates that the logical connection mode between the first-level groups is Decoder. The number n of Decoders is selected according to actual requirements, and the corresponding number of groups is selected by controlling the input coding of the Decoder. 2 nd Hierarachical Decocer indicates that the logical connection mode between the second-level rows is Decoder. The number n of Decoders is selected according to actual requirements, and the corresponding number of rows is selected by controlling the input coding of the Decoder.
[0064] In this embodiment, Figure 5 each Decoder in the second level can have the Enable function. Therefore, by using the output of the Decoder in the first level (1 st Hierarchical Decoder Out <n>) Connect to the Enable input of the corresponding second-level Decoder, which can match the connections of the first level with those of the second level. And logic circuits (including but not limited to AND gates, NAND gates, OR gates, NOR gates, XOR gates, XNOR gates) can be added at the place where the output of the first level is connected to the Enable of the second level. Figure 5 Row in <n>For the nth row, Addition Logic <n>The logical relationship between the first level and the second level can be strengthened and increased.
[0065] In this embodiment, adopting the Decoder+Decoder structure can read the data to be recognized in units of pixel units, which can better fit the shape of the object to be sensed, thereby effectively reducing the amount of invalid data read.
[0066] In this embodiment, for the logical connection between groups of the first level of the Decoder+Shift Register (Mark structure), the Decoder method is selected, and for the logical connection between rows of the second level, the Shift Register method is selected. By connecting the output of the first level to the input of each group of shift registers, the connection of the first level can be matched with the connection of the second level. And a logic circuit (including but not limited to AND gate, NAND gate, OR gate, NOR gate, XOR gate, XNOR gate) can be added at the connection between the input of the shift register and the output of the first level to further strengthen the logical function.
[0067] In this embodiment, adopting the Decoder+Shift Register structure, the group to be read can be selected through control coding in the first level. In the case where the group to be read is selected, since the ShiftRegister connection method is adopted in the second level, it is necessary to read the data of each row in the selected group. For example: it is determined that the target position information indicates that the object to be sensed is in the 2nd and 3rd groups of the first level, and the corresponding codes are: 001, 010. Therefore, the 2nd and 3rd groups can be selected through the Decoder of the first level, and the output of the Decoder of the first level is passed to the Shift Register of the second level, so that only the data of each row in the 2nd and 3rd groups in the second level can be read, without reading the data of other groups, effectively reducing the amount of invalid data read and improving the data reading efficiency.
[0068] In this embodiment, adopting the Shift Register+Decoder structure (Luke structure), the logical connection between groups of the first level can be selected as the Shift Register method, and the logical connection between rows of the second level can be selected as the Decoder method. By connecting the output of the shift register of the first level to the input of the Decoder of the second level, the connection of the first level can be matched with the connection of the second level. And a logic circuit (including but not limited to AND gate, NAND gate, OR gate, NOR gate, XOR gate, XNOR gate) can be selected to be added at the connection between the output of the shift register of the first level and the input of the Decoder to further strengthen the logical function.
[0069] In this embodiment, since the first-level groups are connected in the manner of a Shift Register, when reading data, it is necessary to read the data of each group in the first level. However, in the second level, the rows to be read in each group can be selected through coding. For example, according to the target position information, it can be determined that the 16th row in the 1st group, the 1st to 16th rows in the 2nd group, and the 1st to 10th rows in the 3rd group need to be read. Corresponding control signals can be generated, and the control signals of the other rows except the determined rows can be empty, so that only the determined rows can be read by skipping the other rows.
[0070] In this embodiment, a Shift Register + Shift Register structure (John structure) is adopted. The logical connection between the first-level groups can be selected in the manner of a Shift Register, and the logical connection between the rows in the second level can also be selected in the manner of a Shift Register. By connecting the output of the shift register in the first level to the input of the shift registers in different groups in the second level, the connection in the first level can be matched with the connection in the second level. And a logic circuit can be selected to be added at the connection between the output of the shift register in the first level and the input of the shift register in the second level to further enhance the logic function.
[0071] In this embodiment, since both the first level and the second level adopt the connection manner of a Shift Register, it is necessary to read the data of the pixel units in each row. However, due to the hierarchical structure, when there is a problem with the connection of a certain group or a certain row or the connection line is disconnected, the faulty group or row can be directly skipped, and the data in the next group or the next row can be read, so that the fault can be skipped. If the hierarchical structure is not adopted, when a certain row fails, the connection will be directly disconnected, and it is impossible to trace whether there is a problem with the rows behind the disconnected connection row. Thus, reading will continue with the rows that are okay. It can be seen that without the hierarchical structure, the fault cannot be skipped, and it is necessary to start reading from the first row again or wait for the fault to be repaired.
[0072] In this embodiment, when the row selection module adopts a Shift Register + Shift Register structure, preferably, when setting the hierarchical structure in the column selection module, the logical connection manner of a Decoder can be adopted in at least one level to reduce the amount of invalid data read. If the column selection module does not set the hierarchical structure, when the number of levels in the row selection module is 2, one of the three structures of Decoder + Decoder, Decoder + Shift Register, and Shift Register + Decoder can be preferably selected. Specifically, it can be determined according to the actual situation, and the embodiments of this specification do not limit this.
[0073] Of course, it can be understood that in the above embodiments, only a hierarchical structure with 2 levels of the row selection module is exemplarily illustrated. Those skilled in the art may make other changes under the inspiration of the technical essence of the embodiments of this specification. For example, expanding the number of levels, applying the above structure to the column selection module, or stacking the hierarchical structure of the column selection module to read data. However, as long as the functions and effects achieved are the same as or similar to those of the embodiments of this specification, they should all be covered within the protection scope of the embodiments of this specification.
[0074] In one embodiment, when the logical connection method between each sub-unit in the target level of the row selection module is a decoder, the control signal of the row selection module may include: the encoding of the sub-unit to be read in the target level.
[0075] In this embodiment, since the control signal is determined according to the target position information, the control signal of the row selection module may include: the encoding of the sub-unit to be read in the target level. For example: if the object to be sensed is in the 2nd group and the 3rd group of the first level, the corresponding encodings may be: 001, 010. Of course, it can be understood that other encoding methods besides binary encoding can also be used for encoding, and specifically, it can be determined according to the actual situation. The embodiments of this specification do not limit this.
[0076] In this embodiment, when the column selection module is provided with a hierarchical structure and the logical connection method between each sub-unit in the target level of the column selection module is a decoder, the control signal of the column selection module may include: the encoding of the sub-unit to be read in the target level.
[0077] In one embodiment, adjacent two levels in the target pixel matrix are connected by a logic circuit; wherein, the logic circuit includes: AND gate, NAND gate, OR gate, NOR gate, XOR gate, XNOR gate.
[0078] In this embodiment, the output and input between adjacent two levels can be connected by a logic circuit to strengthen and increase the logical relationship between adjacent two levels. The above logic circuit may include but is not limited to: AND gate, NAND gate, OR gate, NOR gate, XOR gate, XNOR gate.
[0079] In one embodiment, when the row selection module or the column selection module includes multiple levels and each level contains multiple sub-units, reading the data to be recognized in the target pixel matrix by using the control signal may include: when an abnormality occurs in reading the target sub-unit of the current level of the target pixel matrix, using the control signal to read the data to be recognized of the next sub-unit of the target sub-unit.
[0080] In this embodiment, since a hierarchical structure is adopted, when there is a problem with the connection of the target subunit or the connection line is disconnected, the target subunit can be directly skipped, and the data to be recognized of the next subunit can be obtained, so that the fault can be skipped. If the hierarchical structure is not adopted, when a fault occurs in a certain row, the connection will be directly disconnected, and it is impossible to track whether there is a problem with the rows behind the disconnected connection row to continue reading the rows without problems. Thus, it can be seen that without the hierarchical structure, the fault cannot be skipped, and it is necessary to start reading from the first row again, or wait for the fault to be repaired.
[0081] In this embodiment, since the hierarchical structure is flexible and variable, with high combinability, high selectivity, and high extensibility, when there are changes in the area or structure of the pixel matrix, more reading methods can be supported, and it can more flexibly cooperate with different reading data sequences and different data volumes. Even if the object to be sensed appears in the last row, through the hierarchical structure, the row number where the object to be measured is located can be directly selected by skipping the row numbers where the previous invalid data is located, thus effectively shortening the time for reading data and improving the efficiency of reading data.
[0082] Based on the same inventive concept, an embodiment of this specification also provides a data reading device, as described in the following embodiment. Since the principle of the data reading device for solving problems is similar to that of the data reading method, the implementation of the data reading device can refer to the implementation of the data reading method, and the repeated parts will not be elaborated. As used hereinafter, the term "unit" or "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated. Figure 6 is a structural block diagram of the data reading device according to an embodiment of this specification, as Figure 6 shown, and may include: a determination module 601, a generation module 602, and a reading module 603. The following describes this structure.
[0083] The determination module 601 can be used to determine the target position information of the object to be sensed in the target pixel matrix based on the structure information of the target pixel matrix; wherein, the structure information is used to characterize the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix, and the area of the target pixel matrix is greater than a first preset threshold;
[0084] The generation module 602 can be used to generate control signals for the row selection module and / or column selection module according to the target position information; wherein, the control signals are used to characterize the range of data read in the target pixel matrix;
[0085] The reading module 603 can be used to read the data to be recognized in the target pixel matrix by using the control signals; wherein, the data to be recognized is used to determine the object to be sensed.
[0086] The embodiment of this specification also provides an electronic device, which can be specifically referred to Figure 7 to the schematic structural diagram of the electronic device based on the data reading method provided in the embodiment of this specification as shown. The electronic device may specifically include an input device 71, a processor 72, and a memory 73. Among them, the input device 71 may specifically be used to input the structural information of the target pixel matrix. The processor 72 may specifically be used to determine the target position information of the object to be sensed in the target pixel matrix based on the structural information of the target pixel matrix; wherein, the structural information is used to characterize the hierarchical distribution of the row selection module and / or the column selection module in the target pixel matrix, and the area of the target pixel matrix is greater than a first preset threshold; generate a control signal for the row selection module and / or the column selection module according to the target position information; wherein, the control signal is used to characterize the range of data read in the target pixel matrix; read the data to be recognized in the target pixel matrix by using the control signal; wherein, the data to be recognized is used to determine the object to be sensed. The memory 73 may specifically be used to store data such as the read data to be recognized.
[0087] In this embodiment, the input device may specifically be one of the main devices for information exchange between the user and the computer system. The input device may include a keyboard, a mouse, a camera, a scanner, a light pen, a handwriting input board, a voice input device, etc.; the input device is used to input the original data and the program for processing these data into the computer. The input device may also obtain and receive data transmitted from other modules, units, and devices. The processor may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The memory may specifically be a memory device used to store information in modern information technology. The memory may include multiple levels. In a digital system, as long as it can store binary data, it can be a memory; in an integrated circuit, a circuit with a storage function without a physical form is also called a memory, such as a RAM, a FIFO, etc.; in a system, a storage device with a physical form is also called a memory, such as a memory stick, a TF card, etc.
[0088] In this embodiment, the functions and effects specifically implemented by the electronic device may be explained by comparison with other embodiments, and will not be elaborated here.
[0089] In an embodiment of this specification, a computer storage medium based on a data reading method is further provided. The computer storage medium stores computer program instructions, and when the computer program instructions are executed, the following can be achieved: determining target position information of an object to be sensed in a target pixel matrix based on the structural information of the target pixel matrix; where the structural information is used to characterize the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix, and the area of the target pixel matrix is greater than a first preset threshold; generating a control signal for the row selection module and / or column selection module according to the target position information; where the control signal is used to characterize the range for reading data in the target pixel matrix; using the control signal to read data to be recognized in the target pixel matrix; where the data to be recognized is used to determine the object to be sensed.
[0090] In this embodiment, the above storage medium includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a cache, a hard disk drive (HDD), or a memory card. The memory can be used to store computer program instructions. The network communication unit can be set according to the standards specified by the communication protocol and is an interface for network connection communication.
[0091] In this embodiment, the functions and effects specifically implemented by the program instructions stored in this computer storage medium can be explained by comparison with other embodiments and will not be elaborated here.
[0092] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the embodiments of this specification can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order than here, or they can be separately made into individual integrated circuit modules, or multiple modules or steps among them can be made into a single integrated circuit module to implement. In this way, the embodiments of this specification are not limited to any specific combination of hardware and software.
[0093] Although the embodiments of this specification provide method operation steps as described in the above embodiments or flowcharts, more or fewer operation steps may be included in the method based on routine or non-creative labor. In steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided in the embodiments of this specification. When the actual device or terminal product of the described method is executed, it may be executed in the method order shown in the embodiments or the drawings or in parallel (for example, in an environment of parallel processors or multi-threaded processing).
[0094] It should be understood that the above description is for illustrative purposes and not for limitation. Many embodiments and many applications beyond the provided examples will be apparent to those skilled in the art upon reading the above description. Therefore, the scope of the embodiments of this specification should not be determined with reference to the above description, but rather should be determined with reference to the full scope of the foregoing claims and the equivalents thereof.
[0095] The above are only the preferred embodiments of the embodiments of this specification and are not used to limit the embodiments of this specification. For those skilled in the art, various changes and modifications can be made to the embodiments of this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of this specification shall be included within the protection scope of the embodiments of this specification.< / n> < / n> < / n>
Claims
1. A data reading method, characterized in that, Including: Based on the structural information of the target pixel matrix, determining the target position information of the object to be sensed in the target pixel matrix; wherein, the structural information is used to characterize the hierarchical distribution of the row selection module and / or column selection module in the target pixel matrix, and the area of the target pixel matrix is greater than a first preset threshold; the structural information is the relevant information of the hierarchical structure of the row selection module and / or column selection module constructed based on the hierarchical division parameters of the target pixel matrix determined from the parameter information set of the target pixel matrix, and the hierarchical division parameters include at least one of the following: the level to which each row belongs, the level to which each column belongs, the number of levels obtained by hierarchically dividing rows and columns respectively, the number of subunits included in each level, and the subunits in the same level are logically connected by a circuit, and the input and output between two adjacent levels are connected by a logic circuit; Generating a control signal for the row selection module and / or column selection module according to the target position information; wherein, the control signal is used to characterize the range of data read in the target pixel matrix, and the control signal controls whether the data to be recognized stored in the pixel unit is output by controlling the conduction or cutoff of the circuit in the pixel unit; Reading the data to be recognized in the target pixel matrix by using the control signal; wherein, the data to be recognized is used to determine the object to be sensed.
2. The method according to claim 1, wherein Determining the hierarchical division parameters of the target pixel matrix according to the parameter information set, including: When it is determined that the number of rows of the target pixel matrix is greater than or equal to a second preset threshold, determining the hierarchical division parameters of the row selection module; When it is determined that the number of columns of the target pixel matrix is greater than or equal to a third preset threshold, determining the hierarchical division parameters of the column selection module.
3. The method according to claim 2, wherein Determining the hierarchical division parameters of the target pixel matrix according to the parameter information set further includes: When it is determined that the number of rows of the target pixel matrix is less than the second preset threshold, determining that the number of levels of the row selection module is 0; When it is determined that the number of columns of the target pixel matrix is less than the third preset threshold, determining that the number of levels of the column selection module is 0.
4. The method according to claim 1, characterized in that, The logical connection mode between the subunits in the same level includes one of the following: decoder, shift register.
5. The method according to claim 4, wherein When the logical connection mode between the subunits in the target level of the row selection module is a decoder, the control signal of the row selection module includes: the encoding of the subunits to be read in the target level.
6. The method according to claim 1, wherein The adjacent two levels in the target pixel matrix are connected by a logic circuit; wherein, the logic circuit includes: AND gate, NAND gate, OR gate, NOR gate, XOR gate, XNOR gate.
7. The method according to claim 1, wherein When the row selection module or column selection module includes multiple levels and each level includes multiple subunits, reading the data to be recognized in the target pixel matrix by using the control signal includes: When an abnormality occurs in reading the target subunit of the current level of the target pixel matrix, reading the data to be recognized of the next subunit of the target subunit by using the control signal.
8. A data reading device, characterized in that, Including: A determination module, configured to determine target position information of an object to be sensed in the target pixel matrix based on structure information of the target pixel matrix; wherein the structure information is used to characterize a hierarchical distribution of a row selection module and / or a column selection module in the target pixel matrix, and an area of the target pixel matrix is greater than a first preset threshold; the structure information is related information of a hierarchical structure of the row selection module and / or the column selection module constructed based on hierarchical division parameters of the target pixel matrix determined from a parameter information set of the target pixel matrix, and the hierarchical division parameters include at least one of the following: a level to which each row belongs, a level to which each column belongs, numbers of levels obtained by hierarchically dividing rows and columns respectively, numbers of sub-units included in each level, and sub-units in the same level are logically connected by a circuit, and inputs and outputs between two adjacent levels are connected by a logic circuit; A generation module, configured to generate control signals for the row selection module and / or the column selection module according to the target position information; wherein the control signals are used to characterize a data reading range in the target pixel matrix, and the control signals control whether to output data to be recognized stored in a pixel unit by controlling conduction or cutoff of a circuit in the pixel unit; A reading module, configured to read data to be recognized in the target pixel matrix by using the control signals; wherein the data to be recognized is used to determine the object to be sensed.
9. A data reading device, characterized in that, It includes a processor and a memory for storing processor-executable instructions, and when the processor executes the instructions, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that, Computer instructions are stored thereon, and when the instructions are executed, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Biological characteristic information acquisition method, biological characteristic information acquisition device and terminal
CN109670492A