CN115705741A - Data reading method, device and equipment - Google Patents
Data reading method, device and equipment Download PDFInfo
- Publication number
- CN115705741A CN115705741A CN202110890149.1A CN202110890149A CN115705741A CN 115705741 A CN115705741 A CN 115705741A CN 202110890149 A CN202110890149 A CN 202110890149A CN 115705741 A CN115705741 A CN 115705741A
- Authority
- CN
- China
- Prior art keywords
- pixel matrix
- target pixel
- selection module
- data
- row
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Image Input (AREA)
Abstract
The embodiment of the specification provides a data reading method, a data reading device and data reading equipment, wherein the method comprises the following steps: determining target position information of an object to be sensed in a target pixel matrix based on structural information of the target pixel matrix; the structural information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in the target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value; generating a control signal of the row selection module and/or the column selection module according to the target position information; reading data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed. In the embodiment of the present description, the data set to be identified in the range corresponding to the control signal may be read based on the hierarchical distribution of the row selection module and/or the column selection module, so that the amount of reading invalid data is effectively reduced, and the efficiency of reading data is improved.
Description
Technical Field
The embodiment of the specification relates to the technical field of biological information detection, in particular to a data reading method, a data reading device and data reading equipment.
Background
Along with the rapid rise of the demand of the fingerprint sensor under the screen, the application range of the fingerprint sensor under the screen is more and more extensive, the application scenes are more and more, and the technology of the fingerprint sensor under the screen is continuously updated. In addition to transducer modules corresponding to various technologies and very important pixel matrix modules, circuits at the periphery of the sensing area are also very important, regardless of the traditional capacitive fingerprint sensor under the screen, the optical fingerprint sensor under the screen, which has been introduced in recent two years, or the ultrasonic fingerprint sensor under the screen, which is being developed. As market needs change, the area of the under-screen fingerprint sensor increases year by year, while the increase in area of the pixel matrix may result in a small portion of the entire sensing area being occupied by a sensed object (including but not limited to a finger fingerprint, multiple finger fingerprints, a palm print, a hand print, and a lip print). Therefore, as the sensing area of the off-screen fingerprint sensor increases, the proportion of the whole sensing area occupied by the sensed object is smaller and smaller, and all data actually required to be read by the sensed object is far smaller than all data of the whole pixel matrix.
In the prior art, data of each pixel point on the pixel matrix is read out row by row or column by using a shift register. The scanning mode of shift register can only start reading from the first line and can not select the initial line number, so that the reading mode is single and inflexible. If the sensed object is in the last row of the sensing area, the data can not be read until the data of all the previous rows are completely read, so that the amount of invalid data read and transmitted is greatly increased, and the reading time is also increased. Therefore, the actual data of the sensed object cannot be efficiently read by adopting the technical scheme in the prior art.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the specification provides a data reading method, a data reading device and data reading equipment, and aims to solve the problem that actual data of a sensed object cannot be efficiently read in the prior art.
An embodiment of the present specification provides a data reading method, including: determining target position information of an object to be sensed in a target pixel matrix based on structural information of the target pixel matrix; the structural information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in the target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value; generating a control signal of the row selection module and/or the column selection module according to the target position information; wherein the control signal is used to characterize a range of read data in the target pixel matrix; reading data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed.
An embodiment of the present specification further provides a data reading apparatus, including: the device comprises a determining module, a calculating module and a processing module, wherein the determining module is used for determining target position information of an object to be sensed in a target pixel matrix based on structural information of the target pixel matrix; the structural information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in the target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value; the generating module is used for generating a control signal of the row selecting module and/or the column selecting module according to the target position information; wherein the control signal is used to characterize a range of read data in the target pixel matrix; the reading module is used for reading data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed.
Embodiments of the present specification further provide a data reading device, including a processor and a memory for storing processor-executable instructions, where the processor executes the instructions to implement the steps of the data reading method.
The present specification also provides a computer readable storage medium, on which computer instructions are stored, which when executed implement the steps of the data reading method.
The embodiment of the present specification provides a data reading method, which may determine target position information of an object to be sensed in a target pixel matrix based on structural information representing a hierarchical distribution of a row selection module and/or a column selection module in the target pixel matrix, where an area of the target pixel matrix is greater than a first preset threshold. Further, a control signal of the row selection module and/or the column selection module may be generated according to the target position information, and the data to be identified may be read in the target pixel matrix by using the control signal. So that the data set to be identified in the range corresponding to the control signal can be read, and the object to be sensed can be determined based on the read data to be identified. The sequence and the position of data to be read and different data quantity sizes can be flexibly matched, the problem of reading mode singleness is avoided, even if an object to be sensed appears in the last row of a target pixel matrix, the row number of the object to be sensed can be directly selected by the row/column number of invalid data before the row/column number of the invalid data appears through the hierarchical distribution of the row selection module and/or the column selection module, the data reading efficiency is effectively improved, and the data reading time is shortened.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the disclosure, are incorporated in and constitute a part of this specification, and are not intended to limit the embodiments of the disclosure. In the drawings:
fig. 1 is a schematic structural diagram of an ultrasonic fingerprint detection sensor provided in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating steps of a data reading method according to an embodiment of the present disclosure;
FIG. 3 is a diagram illustrating a contrast relationship between an object to be sensed and a target pixel matrix according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a hierarchical structure provided in accordance with an embodiment of the present description;
fig. 5 is a schematic structural diagram of a Decoder + Decoder provided in an embodiment of the present specification;
FIG. 6 is a schematic structural diagram of a data reading apparatus provided in an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a data reading device provided in an embodiment of the present specification.
Detailed Description
The principles and spirit of the embodiments of the present specification will be described with reference to a number of exemplary embodiments. It should be understood that these embodiments are presented merely to enable those skilled in the art to better understand and to implement the embodiments of the present description, and are not intended to limit the scope of the embodiments of the present description in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, implementations of the embodiments of the present description may be embodied as a system, an apparatus, a method, or a computer program product. Therefore, the disclosure of the embodiments of the present specification can be embodied in the following forms: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
Although the flow described below includes operations that occur in a particular order, it should be appreciated that the processes may include more or less operations that are performed sequentially or in parallel (e.g., using parallel processors or a multi-threaded environment).
It will be understood that when an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only and do not denote a single embodiment.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The embodiment of the specification provides a data reading method, a data reading device and data reading equipment, wherein the data reading method can be applied to products related to an optical sensor under a screen, a capacitive sensor under the screen and an ultrasonic fingerprint detection sensor, is used for fingerprint identification, and can realize fingerprint unlocking, user identity verification, authority acquisition and the like. Of course, it is understood that the present invention can also be applied to other possible appliances for reading data.
In a feasible implementation scenario, the data reading method provided in the embodiment of the present specification may be preferably applied to a product related to an ultrasonic fingerprint detection sensor, where the ultrasonic fingerprint detection sensor is configured in a smart phone, and the smart phone may acquire fingerprint feature information (to-be-identified data) of a user based on the ultrasonic fingerprint detection sensor, so as to match the fingerprint feature information with fingerprint information that is stored corresponding to the user, so as to implement identity verification on the current user, and thus determine whether the current user has a corresponding right to perform related operations such as screen unlocking, user identity verification, right acquisition, and the like on the smart phone.
In the present implementation scenario, the ultrasonic fingerprint detection sensor may be as shown in fig. 1, the ultrasonic fingerprint detection sensor includes a glass substrate 1 and an ultrasonic pixel matrix 2 disposed on the glass substrate 1, and the ultrasonic pixel matrix 2 may include a plurality of ultrasonic pixel units. The plurality of ultrasonic wave pixel units can be arranged on the glass substrate 1 in a regular form of multiple rows and multiple columns, so that the surface setting space of the glass substrate 1 is fully utilized, the setting density of the ultrasonic wave pixel units is improved, and the plurality of ultrasonic wave pixel units are mutually independent. The glass substrate 1 may be a substrate on which a TFT (Thin Film Transistor) process is performed, and a conductive Film is formed thereon, and the ultrasonic pixel unit is formed on the glass substrate 1 by processing and manufacturing the conductive Film.
In this implementation scenario, the glass substrate 1 may further have a pin 3 for connecting to other IC (integrated circuit) chips and an ASIC (application specific integrated circuit) control chip, so as to implement connection between the ultrasonic fingerprint detection sensor and other IC chips, supply of power (constant voltage dc power Vcc, reset voltage) and signal control. The voltage value of the constant voltage dc power Vcc may be set and selected according to actual conditions, for example, may be selected from 6V to 12V. The Reset voltage may be Reset or Reset, and the value of the Reset voltage may be set and selected according to actual conditions, for example, may be 0V, which is not limited in this embodiment of the present disclosure.
In the present scenario example, the structure of the ultrasonic fingerprint detection sensor provided with the row selection module is only given as an example in fig. 1. It should be understood that, in some embodiments, only the column selection module may be further provided, or the row selection module and the column selection module may be provided at the same time, which may be specifically provided according to actual situations, and this is not limited in this specification embodiment.
In this scenario example, the ultrasound pixel matrix 2 shown in fig. 1 may receive a control signal of a row selection module (abbreviated as a row selection signal), and control a manner in which the piezoelectric material outputs an electrical fingerprint signal (to-be-identified data) to the ultrasound pixel matrix 2 based on the control signal of the row selection module.
In this scenario example, it should be noted that the layout shape of the ultrasound pixel matrix in this embodiment of the present disclosure is not limited to the rectangle or the square illustrated in fig. 1, and may also include any other feasible shape, which is not limited by this embodiment of the present disclosure.
Referring to fig. 2, the present embodiment can provide a data reading method. The data reading method can be used for efficiently reading actual data of a sensed object. The data reading method may include the following steps.
S201: determining target position information of an object to be sensed in the target pixel matrix based on the structural information of the target pixel matrix; the structural information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in the target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value.
In this embodiment, the target position information of the object to be sensed in the target pixel matrix may be determined based on the structural information of the target pixel matrix. The structural information of the target pixel matrix can be used for representing the hierarchical distribution of a row selection module and a column selection module in the target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value.
In this embodiment, the target pixel matrix may be a pixel matrix of the sensing region, which is to be read to identify the object to be sensed, and the target pixel matrix may include a plurality of pixel units, and the plurality of pixel units may be arranged in a regular manner with a plurality of rows and a plurality of columns. The target pixel matrix may be square, rectangular, circular or irregular, and may be determined according to actual conditions, which is not limited in this specification.
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 identified in all the pixel units in the target pixel matrix does not generate a large amount of invalid data. The smaller the specific gravity of the whole target pixel matrix occupied by the object to be sensed is, the smaller all data actually required for identifying the object to be sensed is far less than all data in the whole target pixel matrix, and at this time, a hierarchical structure needs to be used on the row selection module or the column selection module to divide the control signals of the row selection module and the column selection module into different hierarchies, so that the reading amount of invalid data is reduced. Therefore, the area of the target pixel matrix may be equal to or larger than a first preset threshold.
In this embodiment, the first preset threshold may be a value greater than 0, and the first preset threshold may be determined according to an average area of the object to be sensed, for example: the first preset threshold may be twice the average area of the objects to be sensed, the first preset threshold may be 10 times larger than the average area of the objects to be sensed, and the like. Of course, the manner of determining the first preset threshold is not limited to the above examples, and other modifications are possible for those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all that can be achieved is encompassed by the embodiments of the present disclosure as long as the functions and effects achieved by the embodiments are the same as or similar to those of the embodiments of the present disclosure.
In the present embodiment, in the case that the area of the target pixel matrix is larger than the first preset threshold, the contrast relationship between the object to be sensed and the target pixel matrix (sensing region) may be as shown in fig. 3. Wherein the actual size of the sensed object is smaller than the sensing area.
In this embodiment, since the area of the target pixel matrix is greater than the first preset threshold, the target pixel matrix may be classified into levels in advance, and the structural information of the target pixel matrix may be used to represent the level distribution of the row selection module and/or the column selection module in the target pixel matrix. Thus, 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. In some embodiments, the sensing region may form a sensing capacitor when being touched or pressed, and the sensing capacitor may analyze the touched or pressed position information through processing of an IC chip (Integrated Circuit), so as to obtain the target position information by combining with the structure information of the target pixel matrix.
In this embodiment, the target position information may be used to represent the row and column information of the object to be sensed in the target pixel matrix and the level information of the row and column selection module and/or the column selection module, so as to determine which pixel units in the target pixel matrix need to be read. In some embodiments, the target position information may be corresponding coordinate information of the object to be sensed in the target pixel matrix. Of course, the target location information is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, but the functions and effects achieved by the embodiments of the present disclosure are all covered by the scope of the embodiments of the present disclosure.
S202: generating a control signal of a row selection module and/or a column selection module according to the target position information; wherein the control signal is used to characterize a range of read data in the target pixel matrix.
In this embodiment, the target position information may be used to represent the row and column information of the object to be sensed in the target pixel matrix, and the level information of the row and column selection module and/or the column selection module. Therefore, the control signals of the row selection module and the column selection module can be generated according to the target position information. The control signal may be used to characterize a range of data read in the target pixel matrix.
In this embodiment, when a user touches or presses the sensing area, the target pixel matrix generates a corresponding electrical signal (to-be-identified data) and stores the electrical signal in the corresponding pixel unit, and when data needs to be read for identification, a control signal of the row selection module and/or the column selection module can be generated according to the target position information. The control signal of only the row selection module may be generated in the case where the hierarchical structure is set only for the row selection module; the control signal of only the column selection module may be generated in the case where the hierarchical structure is set only for the column selection module; when the hierarchical structure is provided for both the row selection module and the column selection module, control signals for the row selection module and the column selection module may be generated, or only a control signal for the row selection module or a control signal for the column selection module may be generated. The specific conditions can be determined according to actual conditions, and the embodiments in the specification do not limit the specific conditions.
In this embodiment, the control signal may be a timing control signal, so that the data to be recognized can be read sequentially according to the row and column order. The control signal may be configured to control a range of data read in the target pixel matrix, the range of the data read may correspond to the target position information, and the control signal may control whether the data to be identified stored in the pixel unit is output by controlling on or off of a circuit in the pixel unit. Specifically, when the voltage of the control signal is at a high level, the circuit is turned on; when the voltage of the control signal is low level, the circuit is turned off.
S203: reading data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed.
In this embodiment, the destination pixel matrix may receive control signals sent by the row selection module and the column selection module to control reading of data to be identified in each pixel unit, so that a data set to be identified in a range corresponding to the control signals may be read. The sequence and the position of data to be read and different data quantity can be flexibly matched, even if an object to be sensed is present in the last row of a target pixel matrix, the row number of the object to be sensed is directly selected by the row/column number of invalid data before the object to be sensed is crossed through the hierarchical distribution of the row selection module and/or the column selection module, the data reading efficiency is effectively improved, and the data reading time is shortened.
From the above description, it can be seen that the embodiments of the present specification achieve the following technical effects: target position information of an object to be sensed in the target pixel matrix can be determined based on structural information representing 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 larger than a first preset threshold value. Furthermore, control signals of the row selection module and/or the column selection module can be generated according to the target position information, and the data to be identified can be read in the target pixel matrix by using the control signals. So that the data set to be identified in the range corresponding to the control signal can be read, and the object to be sensed can be determined based on the read data to be identified. The sequence and the position of data to be read and different data quantity sizes can be flexibly matched, the problem of reading mode singleness is avoided, even if an object to be sensed appears in the last row of a target pixel matrix, the row number of the object to be sensed can be directly selected by the row/column number of invalid data before the row/column number of the invalid data appears through the hierarchical distribution of the row selection module and/or the column selection module, the data reading efficiency is effectively improved, and the data reading time is shortened.
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, the method may further include: acquiring a parameter information set of a target pixel matrix; the parameter information set comprises the row number and the column number of the target pixel matrix. Determining a hierarchical division parameter of the target pixel matrix according to the parameter information set; wherein, the hierarchy dividing parameter comprises at least one of the following parameters: the level to which each row belongs, the level to which each column belongs, the level number obtained by dividing the row and the column into levels respectively, and the number of pixel units contained in each level. And according to the hierarchical division parameters, a hierarchical structure of the row selection module and a hierarchical structure of the column selection module are constructed.
In this embodiment, as the area of the target pixel matrix increases, the number of rows or columns also increases, a hierarchical structure may be set based on the number of rows and columns of the target pixel matrix, and the determined number of hierarchical layers may be a positive integer greater than or equal to 1. Taking the hierarchical structure set for rows as an example, the rows can be divided into different groups according to the requirements of product design and the requirements of application planes, control signals between groups and connections between groups are defined as a first hierarchy, control signals and connections between rows in each group are defined as a second hierarchy, and so on. Can be according to the size and the demand of whole area, can promote from two grades and extend to the multistage. For example, the control signals between the big groups are of a first level, each big group has a plurality of small groups, the control signals between the small groups are connected to form a second level, the smaller group in the small group is of a third level, and so on until the control signals between the rows are of an nth level.
In this embodiment, a hierarchical division parameter of the target pixel matrix may be obtained through hierarchical division, where the hierarchical division parameter includes at least one of: the level to which each row belongs, the level to which each column belongs, the level number obtained by dividing the row and the column into levels, the number of subunits contained in each level, and the like. It is understood that other parameters may be included in the hierarchical partitioning parameter, such as: each level comprises the position of the rows and columns in the target pixel matrix, the number of pixel cells comprised in each sub-cell, etc. The specific conditions can be determined according to actual conditions, and the embodiments in the specification do not limit the specific conditions.
In this embodiment, a hierarchical structure of the row selection module or a hierarchical structure of the column selection module may be constructed according to the hierarchical division parameter, or the row selection module and the column selection module may obtain the hierarchical structure. The constructed hierarchical structure related information may be stored in the host for later recall in determining the target location information.
In one embodiment, where the target pixel matrix has 640 rows, and the rows need to be hierarchically divided, the hierarchical structure obtained by the division can be as shown in fig. 4. The rows may be divided into 4 large groups, each of which contains 10 subgroups with 16 rows in each subgroup. Wherein 1-4 major groups are first levels, and each major group is a subunit in the first level; each subgroup in the large group is a second level, and each subgroup is a subunit in the second level; each row in the group is a third level; each row is a subunit in the third level. Of course, the manner of hierarchical division is not limited to the above examples, and other modifications may be made by those skilled in the art within the spirit of the embodiments of the present disclosure, and all that is needed is to cover the scope of the embodiments of the present disclosure as long as the functions and effects achieved by the embodiments of the present disclosure are the same or similar to the embodiments of the present disclosure.
In one embodiment, determining the hierarchical division parameter of the target pixel matrix according to the parameter information set may include: and under the condition that the line number of the target pixel matrix is determined to be larger than or equal to a second preset threshold value, determining a hierarchical division parameter of the line selection module. And under the condition that the number of columns of the target pixel matrix is determined to be larger than or equal to a third preset threshold value, determining a hierarchical division parameter of the column selection module.
In this embodiment, since the hierarchical structure of the row selection module or the column selection module may increase the area, complexity, and cost of the circuit in some cases, the parameter information set of the target pixel matrix may be obtained first, so as to determine whether the hierarchical structure needs to be set for both.
In this embodiment, when the number of lines of the target pixel matrix is greater than or equal to the second preset threshold, it is described that the number of lines is greater than the number of lines that may be covered by the object to be sensed, and the lines in the target pixel matrix may be hierarchically divided, so as to determine the hierarchical division parameter of the line selection module. When the number of columns of the target pixel matrix is greater than or equal to the third preset threshold, it is described that the number of columns is greater than the number of columns possibly occupied by the object to be sensed, and the columns in the target pixel matrix may be hierarchically divided, so as to determine the hierarchical division parameter of the column selection module.
In this embodiment, the second preset threshold may be a value greater than 0, and the second preset threshold may be determined according to an average number of rows or a maximum number of rows that may be covered by the object to be sensed, for example: the second preset threshold may be twice the average number of rows that the object to be sensed may cover, or the second preset threshold may 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-mentioned examples, and other modifications are possible for those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and the functions and effects achieved by the second preset threshold are all within the scope of the embodiments of the present disclosure.
In this embodiment, the third preset threshold may be a numerical value greater than 0, and the third preset threshold may be determined according to an average number of columns or a maximum number of columns that the object to be sensed may cover, for example: the third preset threshold may be twice the average number of columns that the object to be sensed may cover, or the third preset threshold may 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-mentioned examples, and other modifications are possible for those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and the functions and effects achieved by the third preset threshold are all within the scope of the embodiments of the present disclosure.
In one embodiment, determining a hierarchical division parameter of the target pixel matrix according to the parameter information set may further include: in a case that it is determined that the number of rows of the target pixel matrix is smaller than the second preset threshold, it may be determined that the number of layer levels of the row selection module is 0. In a case where it is determined that the number of columns of the target pixel matrix is less than the third preset threshold, it may be determined that the number of layer levels of the column selection module is 0.
In this embodiment, when the number of rows of the target pixel matrix is smaller than the second preset threshold, it is described that the number of rows of the target pixel matrix is close to the number of rows that may be covered by the object to be sensed, and a large amount of invalid data is not generated, so that it may be determined that the number of layers of the row selection module is 0, that is, the rows are not hierarchically divided.
In this embodiment, when the number of columns of the target pixel matrix is smaller than the third preset threshold, it is described that the number of columns of the target pixel matrix is close to the number of columns that may be covered by the object to be sensed, and a large amount of invalid data is not generated, so that it may be determined that the number of levels of the column selection module is 0, that is, the columns are not hierarchically divided.
In one embodiment, the logical connection between the sub-units in the same hierarchy includes one of: decoder (Decoder), shift Register (Shift Register). It should be understood that any other circuit with similar functions may also be used for logical connection, which may be determined according to practical situations and is not limited in this embodiment of the present disclosure.
In this embodiment, the Decoder connection method can achieve pixel-to-pixel reading, so as to better conform to the shape of the object to be sensed, and reduce reading of invalid data, but at the same time, the area and cost of the circuit can also be increased. The Shift Register can have a better application effect on a pixel matrix with a larger area, the circuit area of the Shift Register is fixed, the complexity of the circuit cannot be increased, the synchronization is better, but the Shift Register cannot read in a jumping mode, the Shift Register needs to read in a whole row or a whole column in sequence, and the quantity of reading invalid data can be layered. Therefore, the logical connection mode between the sub-units in the same level can be determined according to actual requirements. Wherein, different logic connection modes can be adopted among the subunits of different levels so as to achieve a better effect.
In the present embodiment, the number of rows is equally divided into a plurality of groups, the control signals between groups and the connections between groups are defined as a first hierarchy, and the control signals and the connections between rows in each group are defined as a second hierarchy, wherein each group includes 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.
In this embodiment, the Decoder + Decoder structure (matted structure) may be as shown in fig. 5, and the logical connection between the first hierarchical group and the group is in a Decoder manner, each group has a group of codes (codes) corresponding to it, and different groups are selected by controlling the codes. Second level row-to-row logical connectionsIn the Decoder mode, different lines in each group also have a group of corresponding codes, and any number of lines can be selected by controlling the codes. 1 in FIG. 5 st The Hierarchical Decoder indicates that the logical connection mode between the first-level groups is Decoder, the number n of the decoders is selected according to actual requirements, and the corresponding group number is selected by controlling the input codes of the decoders. 2 nd The hierarchical Decocer indicates that the editing connection mode between the second-level lines is a Decoder, selects the number n of the decoders according to actual requirements, and selects the corresponding line number by controlling the input coding of the decoders.
In this embodiment, each Decoder in the second hierarchy in fig. 5 may have an Enable function, and thus, the output (1) of the Decoder in the first hierarchy is used st Hierarchical Decoder Out<n>) The connection of the first hierarchy can be matched with the connection of the second hierarchy by connecting with the Enable input of the Decoder of the corresponding second hierarchy. And logic circuitry (including but not limited to and gates, nand gates, or gates, nor gates, xor gates, and xnor gates) may be added where the first tier output is connected to the second tier Enable. Row in FIG. 5<n>On line n, addition Logic<n>The logical relationship between the first and second hierarchical levels may be strengthened and increased.
In the embodiment, the Decoder + Decoder structure is adopted, so that the data to be identified can be read by taking the pixel unit as a unit, the shape of the object to be sensed can be well attached, and the reading amount of invalid data can be effectively reduced.
In this embodiment, the Decoder + Shift Register (markov chain) is used for logical connection between the first hierarchical group and the group, and the Shift Register is used for logical connection between the second hierarchical row and the row. The connections of the first level may be matched to the connections of the second level by connecting the outputs of the first level to the inputs of each set of shift registers. And logic circuitry (including but not limited to and gates, nand gates, or gates, nor gates, xor gates, and xnor gates) may be added where the inputs of the shift register are connected to the outputs of the first stage to further enhance the logic function.
In this embodiment, with the Decoder + Shift Register structure, a read group can be selected by control encoding in the first hierarchy, and in the case where a read group is selected, since the Shift Register connection method is adopted in the second hierarchy, it is necessary to read data for each row in the selected group. For example: determining a group 2 and a group 3 of the target position information representing the object to be sensed at the first level, wherein the corresponding codes are as follows: 001. 010, therefore, the group 2 and the group 3 can be selected by the Decoder of the first hierarchy and transferred to the Shift Register of the second hierarchy through the output of the Decoder of the first hierarchy, so that only the data of each row of the group 2 and the group 3 in the second hierarchy can be read without reading the data of other groups, the amount of invalid data reading is effectively reduced, and the efficiency of data reading is improved.
In this embodiment, a Shift Register + Decoder structure (way add structure) is adopted, the Shift Register mode may be used as the logical connection between the first-level groups, and the Decoder mode may be used as the logical connection between the second-level rows. The connections of the first level can be matched to the connections of the second level by connecting the outputs of the shift register of the first level to the inputs of the Decoder of the second level. And logic circuits (including but not limited to and gates, nand gates, or gates, nor gates, xor gates, and nor gates) may optionally be added at the output of the first level shift register and the input connection of the Decoder to further enhance the logic function.
In the present embodiment, since the first-level groups are connected to each other by the Shift Register, data of each group in the first level needs to be read when reading data, but rows that need to be read in each group can be selected by encoding in the second level. For example: according to the target position information, it can be determined that the 16 th line in the 1 st group, the 1 st to 16 th lines in the 2 nd group and the 1 st to 10 th lines in the 3 rd group need to be read, and corresponding control signals can be generated, wherein the control signals of other lines except the determined line number can be null, so that other lines can be skipped to read only the determined line.
In this embodiment, a Shift Register + Shift Register structure (john structure) is adopted, and the Shift Register may be used as the logical connection between the first-level group and the group, and the Shift Register may be used as the logical connection between the second-level row and the row. The connections of the first level can be matched to the connections of the second level by connecting the outputs of the shift registers of the first level to the inputs of different groups of shift registers of the second level. And logic circuitry may optionally be added where the outputs of the first level shift registers are connected to the inputs of the second level shift registers to further enhance the logic function.
In this embodiment, since the first hierarchy and the second hierarchy both adopt the Shift Register connection scheme, it is necessary to read data of pixel cells in each row. However, due to the adoption of the hierarchical structure, when a certain group or a certain line has a problem in connection or is disconnected on the connection, the group or the line with the fault can be directly skipped, and the data in the next group or the next line can be read, so that the fault can be skipped. If the hierarchical structure is not adopted, when a certain row fails, the row which cannot be traced to the back of the disconnected row is directly disconnected, so that the row without the problem continues to be read, and therefore, the fault cannot be skipped without the hierarchical structure, the reading from the first row needs to be started again, or the fault is waited to be repaired.
In this embodiment, when the Shift Register + Shift Register structure is adopted in the row selection module, it is preferable that a Decoder logical connection mode be adopted in at least one hierarchy when the column selection module is provided with a hierarchical structure, so as to reduce the reading amount of invalid data. If the column selection module is not provided with a hierarchical structure, one of three structures of Decoder + Decoder, decoder + Shift Register and Shift Register + Decoder can be preferably selected under the condition that the level of the row selection module is 2. The specific situation can be determined according to actual situations, and the embodiment of the present specification does not limit the specific situation.
It is understood that the above embodiment only illustrates the hierarchical structure with 2 levels of the row selection module, and those skilled in the art may make other changes, for example, expanding the levels, applying the above structure to the column selection module, or overlapping the read data of the hierarchical structure of the column selection module, in light of the technical spirit of the embodiment of the present disclosure. However, as long as the functions and effects achieved by the embodiments are the same as or similar to those of the embodiments in the present specification, the embodiments are covered by the scope of protection.
In one embodiment, in the case that the logical connection manner between the sub-units in the target level of the row selection module is a decoder, the control signal of the row selection module may include: the coding of the sub-units in the target level that need to be read.
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 coding of the sub-units in the target level that need to be read. For example: the corresponding codes of the 2 nd group and the 3 rd group of the object to be sensed at the first level can be as follows: 001. 010. It is to be understood that other coding methods besides binary coding may be used for coding, which may be determined according to actual situations, and this is not limited in the embodiments of the present specification.
In this embodiment, when the column selection module has a hierarchical structure and the logical connection manner between the sub-units in the target hierarchy of the column selection module is a decoder, the control signal of the column selection module may include: the coding of the sub-units in the target level that need to be read.
In one embodiment, two adjacent levels in the target pixel matrix are connected through a logic circuit; wherein the logic circuit includes: and gate, nand gate, or gate, nor gate, xor gate, and xnor gate.
In this embodiment, the outputs and inputs of two adjacent levels may be connected by a logic circuit to strengthen and increase the logic relationship between the two adjacent levels. The logic circuit may include, but is not limited to: and gate, nand gate, or gate, nor gate, xor gate, and xnor gate.
In one embodiment, in the case that the row selection module or the column selection module includes a plurality of levels, each level including a plurality of sub-units, reading the data to be identified in the target pixel matrix by using the control signal may include: and when the reading of the target subunit of the current level of the target pixel matrix is abnormal, reading the data to be identified of the next subunit of the target subunit by using the control signal.
In the embodiment, because the hierarchical structure is adopted, when the connection of the target subunit is in a problem or the connection is disconnected, the target subunit and the data to be identified of the next subunit can be directly skipped, so that the fault can be skipped. If the hierarchical structure is not adopted, when a certain line fails, the line which cannot be traced to whether the line behind the disconnected line has a problem or not is directly disconnected so as to continue reading the line without the problem, so that the fault cannot be skipped without adopting the hierarchical structure, the reading needs to be started from the first line again, or the fault is waited to be repaired.
In the embodiment, since the hierarchical structure is flexible and variable, and has high combinability, high selectivity and high extensibility, when the area or structure of the pixel matrix is changed, more reading modes can be supported, and different reading data sequences and different data volume sizes can be more flexibly matched. Even if the object to be sensed appears in the last row, the row number of the object to be sensed can be directly selected over the row number of the previous invalid data through the hierarchical structure, so that the data reading time is effectively shortened, and the data reading efficiency is improved.
Based on the same inventive concept, the embodiment of the present specification further provides a data reading apparatus, such as the following embodiments. Because the principle of solving the problem of the data reading device 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 repeated details are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Fig. 6 is a block diagram of a structure of a data reading apparatus according to an embodiment of the present disclosure, and as shown in fig. 6, the data reading apparatus may include: the determining module 601, the generating module 602, and the reading module 603 describe the following structure.
A determining module 601, configured to determine target position information of an object to be sensed in a target pixel matrix based on structural information of the target pixel matrix; the structure information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in a target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value;
a generating module 602, configured to generate a control signal of the row selecting module and/or the column selecting module according to the target location information; wherein the control signal is used for characterizing the range of reading data in the target pixel matrix;
a reading module 603, configured to read data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed.
An embodiment of the present specification further provides an electronic device, which may specifically refer to a schematic structural diagram of the electronic device based on the data reading method provided in the embodiment of the present specification, and the electronic device may specifically include an input device 71, a processor 72, and a memory 73. The input device 71 may specifically be used to input structural information of the target pixel matrix, among others. The processor 72 may specifically be configured to determine target position information of an object to be sensed in the target pixel matrix based on the structural information of the target pixel matrix; the structure information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in a target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value; generating a control signal of a row selection module and/or a column selection module according to the target position information; wherein the control signal is used for characterizing the range of reading data in the target pixel matrix; reading data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed. The memory 73 may be specifically configured to store data such as read data to be identified.
In this embodiment, the input device may be one of the main apparatuses for information exchange between a user and a computer system. The input devices may include a keyboard, mouse, camera, scanner, light pen, handwriting input panel, voice input device, etc.; the input device is used to input raw data and a program for processing the data into the computer. The input device can also acquire and receive data transmitted by other modules, units and devices. The processor may be implemented in any suitable way. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller and embedded microcontroller, and so forth. The memory may in particular be a memory device used in modern information technology for storing information. The memory may include multiple levels, and in a digital system, memory may be used as long as binary data can be stored; in an integrated circuit, a circuit without a real form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
In this embodiment, the functions and effects specifically realized by the electronic device can be explained by comparing with other embodiments, and are not described herein again.
Embodiments of the present specification further provide a computer storage medium based on a data reading method, where the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the computer storage medium may implement: determining target position information of an object to be sensed in the target pixel matrix based on the structural information of the target pixel matrix; the structure information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in a target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value; generating a control signal of the row selection module and/or the column selection module according to the target position information; the control signal is used for representing the range of reading data in the target pixel matrix; reading data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed.
In this embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects specifically realized by the program instructions stored in the computer storage medium can be explained by comparing with other embodiments, and are not described herein again.
It should be apparent to those skilled in the art that the modules or steps of the embodiments of the present specification described above can be implemented by a general purpose computing device, they can be centralized in a single computing device or distributed over a network of multiple computing devices, and alternatively, they can be implemented by program code executable by a computing device, so that they can be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described can be executed in a different order therefrom, or they can be separately fabricated as individual integrated circuit modules, or multiple modules or steps therein can be fabricated as a single integrated circuit module. Thus, embodiments of the present description are not limited to any specific combination of hardware and software.
Although the embodiments herein provide method steps as described in the embodiments or flowcharts above, more or fewer steps may be included in the methods based on conventional or non-inventive efforts. In the case of steps where no causal relationship is logically necessary, the order of execution of the steps is not limited to that provided by the embodiments of the present description. When the method is executed in an actual device or end product, the method can be executed sequentially or in parallel according to the embodiment or the method shown in the figure (for example, in the environment of a parallel processor or a multi-thread processing).
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many embodiments and many applications other than the examples provided will be apparent to those of skill in the art upon reading the above description. The scope of embodiments of the present specification should, therefore, be determined not with reference to the above description, but should instead be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above description is only a preferred embodiment of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure, and it will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the embodiments of the present disclosure should be included in the protection scope of the embodiments of the present disclosure.
Claims (11)
1. A method of reading data, comprising:
determining target position information of an object to be sensed in a target pixel matrix based on structural information of the target pixel matrix; the structural information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in the target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value;
generating a control signal of the row selection module and/or the column selection module according to the target position information; wherein the control signal is used to characterize a range of read data in the target pixel matrix;
reading data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed.
2. The method according to claim 1, before determining 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, further comprising:
acquiring a parameter information set of the target pixel matrix; wherein the parameter information set comprises the number of rows and columns of the target pixel matrix;
determining a hierarchical division parameter of the target pixel matrix according to the parameter information set; wherein the hierarchical division parameter comprises at least one of: the hierarchy to which each row belongs, the hierarchy to which each column belongs, the number of hierarchical levels obtained by hierarchically dividing the rows and the columns, and the number of subunits contained in each hierarchy;
and constructing a hierarchical structure of the row selection module and/or a hierarchical structure of the column selection module according to the hierarchical division parameters.
3. The method of claim 2, wherein determining a hierarchical partitioning parameter of the target pixel matrix according to the set of parameter information comprises:
determining a hierarchical division parameter of the row selection module under the condition that the row number of the target pixel matrix is determined to be larger than or equal to a second preset threshold;
and under the condition that the number of columns of the target pixel matrix is determined to be larger than or equal to a third preset threshold value, determining a hierarchical division parameter of the column selection module.
4. The method of claim 3, wherein determining a hierarchical partitioning parameter for the target pixel matrix based on the set of parameter information further comprises:
determining the level number of the row selection module to be 0 under the condition that the row number of the target pixel matrix is smaller than the second preset threshold value;
and under the condition that the number of columns of the target pixel matrix is smaller than a third preset threshold value, determining that the number of layer levels of the column selection module is 0.
5. The method of claim 2, wherein the logical connection between the sub-units in the same hierarchy comprises one of: a decoder and a shift register.
6. The method of claim 5, wherein, in the case that the logical connection mode between the sub-units in the target level of the row selection module is a decoder, the control signal of the row selection module comprises: the coding of the sub-units in the target level that need to be read.
7. The method according to claim 1, wherein adjacent two levels in the target pixel matrix are connected by a logic circuit; wherein the logic circuit comprises: and gate, nand gate, or gate, nor gate, xor gate, and xnor gate.
8. The method according to claim 1, wherein in the case that the row selection module or the column selection module comprises a plurality of levels, each level comprising a plurality of sub-units, reading data to be identified in the target pixel matrix using the control signal comprises:
when reading abnormity occurs on a target subunit of the current level of the target pixel matrix, reading data to be identified of a next subunit of the target subunit by using the control signal.
9. A data reading apparatus, comprising:
the device comprises a determining module, a detecting module and a processing module, wherein the determining module is used for determining target position information of an object to be sensed in a target pixel matrix based on structural information of the target pixel matrix; the structural information is used for representing the hierarchical distribution of a row selection module and/or a column selection module in the target pixel matrix, and the area of the target pixel matrix is larger than a first preset threshold value;
the generating module is used for generating a control signal of the row selecting module and/or the column selecting module according to the target position information; wherein the control signal is used to characterize a range of read data in the target pixel matrix;
the reading module is used for reading data to be identified in the target pixel matrix by using the control signal; wherein the data to be identified is used to determine the object to be sensed.
10. A data reading device comprising a processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps of the method of any one of claims 1 to 8.
11. A computer-readable storage medium having stored thereon computer instructions which, when executed, implement the steps of the method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110890149.1A CN115705741A (en) | 2021-08-04 | 2021-08-04 | Data reading method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110890149.1A CN115705741A (en) | 2021-08-04 | 2021-08-04 | Data reading method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115705741A true CN115705741A (en) | 2023-02-17 |
Family
ID=85179780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110890149.1A Pending CN115705741A (en) | 2021-08-04 | 2021-08-04 | Data reading method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115705741A (en) |
-
2021
- 2021-08-04 CN CN202110890149.1A patent/CN115705741A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186286B (en) | In touch sensor system the method split is touched to multiple | |
CN109799950B (en) | Storage device and method for adaptive management of intermediate storage | |
CN103985415A (en) | Retention-drift-history-based non-volatile memory read threshold optimization | |
US11829730B2 (en) | Elements for in-memory compute | |
US20140281158A1 (en) | File differentiation based on data block identification | |
CN102543196B (en) | Data reading method, memory storing device and controller thereof | |
US20200242038A1 (en) | System and method for configuring a storage devcie based on prediction of host source | |
CN107980126A (en) | The scheduling scheme of more naked core storage devices | |
CN109214333A (en) | Convolutional neural networks structure, face character recognition methods, device and terminal device | |
KR100757128B1 (en) | Memory card using flash memory and controlling method thereof | |
US11610424B2 (en) | Systems and methods for registering a fingerprint based on an optical fingerprint recognition | |
CN106980466A (en) | Data storage device and its operating method | |
US8873327B2 (en) | Semiconductor device and operating method thereof | |
KR101631095B1 (en) | Method and apparatus for detecting touch by cluster, touch screen panel comprising the same | |
CN115705741A (en) | Data reading method, device and equipment | |
US11776650B2 (en) | Memory calibration device, system and method | |
US20230343094A1 (en) | Video Group Classification Using Object Tracker | |
CN109119126B (en) | Semiconductor device and error management method | |
CN108279938A (en) | command loading method and device | |
US9720851B2 (en) | Method and apparatus for managing access to a memory | |
US9558217B2 (en) | Data storage devices based on supplementation | |
CN210573709U (en) | Capacitive sensing device | |
CN106098096A (en) | Data Holding Equipment and operational approach thereof | |
CN102063381B (en) | Data writing method for flash memory, and controller and storage system thereof | |
US10983892B2 (en) | Method and system for estimating efficiency of machine vision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |