CN116719439A - Infrared signal scanning method and device - Google Patents

Infrared signal scanning method and device Download PDF

Info

Publication number
CN116719439A
CN116719439A CN202211186345.1A CN202211186345A CN116719439A CN 116719439 A CN116719439 A CN 116719439A CN 202211186345 A CN202211186345 A CN 202211186345A CN 116719439 A CN116719439 A CN 116719439A
Authority
CN
China
Prior art keywords
receiving
signal
transmitting
lamps
target
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
Application number
CN202211186345.1A
Other languages
Chinese (zh)
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Zhongyuan Intelligent Technology Co ltd
Original Assignee
Guangzhou Zhongyuan Intelligent Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Zhongyuan Intelligent Technology Co ltd filed Critical Guangzhou Zhongyuan Intelligent Technology Co ltd
Priority to CN202211186345.1A priority Critical patent/CN116719439A/en
Publication of CN116719439A publication Critical patent/CN116719439A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means

Abstract

The application provides a scanning method and a device of infrared signals, wherein the method comprises the following steps: firstly, acquiring position information of an initial signal lamp group formed by a plurality of transmitting signal lamps and a plurality of receiving signal lamps; then, determining the number of target receiving signal lamps corresponding to each transmitting signal lamp at least according to the position information to obtain a first numerical value, wherein the target receiving signal lamps are receiving signal lamps which can receive signals sent by the transmitting signal lamps in an initial signal lamp group; then, a target signal lamp group is formed by a plurality of receiving signal lamps and the rest transmitting signal lamps, wherein the rest transmitting signal lamps are transmitting signal lamps corresponding to a first value larger than a first threshold value in the initial signal lamp group; and finally, controlling the target signal lamp group to scan the file to be scanned. The signal that each emission signal lamp in the target signal lamp group sent has all to be greater than the signal that can receive of receiving signal lamp of first threshold value, has guaranteed that the scanning speed of infrared signal is very fast.

Description

Infrared signal scanning method and device
Technical Field
The present application relates to the infrared field, and more particularly, to a scanning method of an infrared signal, an apparatus thereof, a computer-readable storage medium, a processor, and an electronic device.
Background
In the infrared touch frame, the sending lamp is lighted through continuous polling scanning in turn, so that the receiving lamp in the corresponding range sequentially receives signals, whether an object shields infrared light or not is judged according to whether the signals change, and corresponding position coordinates are output, so that the functions of clicking, line drawing, touching and the like of the infrared touch frame are realized, the frame rate of one circle of scanning of the touch frame depends on the turn-on times of the sending lamp, and the frame rate is higher as the turn-on times are smaller.
In order to increase the scanning speed, the infrared touch frame generally adopts multiple infrared signals to process and sample simultaneously, for example, when one transmitting lamp transmits, two corresponding receiving lamps simultaneously receive the signals, namely, one transmitting lamp transmits signals, and a plurality of receiving lamps receive the signals.
However, all the lamps of the touch frame are fixed with uniform angles, so that when each group of receiving lamps emit lamps in the corresponding range, the lamps of the edge emitting lamps are turned on and fail to generate enough effective signals, but the number of times of turning on is occupied, the scanning frame rate is prolonged, and the scanning speed is low.
The above information disclosed in the background section is only for enhancement of understanding of the background art from the technology described herein and, therefore, may contain some information that does not form the prior art that is already known in the country to a person of ordinary skill in the art.
Disclosure of Invention
The application mainly aims to provide an infrared signal scanning method, a device thereof, a computer readable storage medium, a processor and electronic equipment, so as to solve the problem that the scanning speed is slower because effective signals generated by an edge emitting lamp are less in the prior art.
According to an aspect of an embodiment of the present application, there is provided a scanning method of an infrared signal, the method including: acquiring position information of an initial signal lamp set, wherein the initial signal lamp set comprises a plurality of transmitting signal lamps and a plurality of receiving signal lamps; determining the number of target receiving signal lamps corresponding to each transmitting signal lamp according to at least the position information to obtain a first value, wherein the target receiving signal lamps are the receiving signal lamps capable of receiving signals sent by the transmitting signal lamps in the initial signal lamp group; determining a target signal lamp group, wherein the target signal lamp group consists of a plurality of receiving signal lamps and the rest transmitting signal lamps, and the rest transmitting signal lamps are the transmitting signal lamps corresponding to the first values larger than a first threshold value in the initial signal lamp group; and controlling the target signal lamp group to scan the file to be scanned.
Optionally, determining, at least according to the location information, the number of target receiving signal lamps corresponding to each transmitting signal lamp includes: acquiring a coverage range of the transmitting signal lamp, wherein the coverage range is used for representing a coverage range of a signal sent by the transmitting signal lamp; and determining the number of the target receiving signal lamps corresponding to the transmitting signal lamps according to the coverage area and the position information of each receiving signal lamp.
Optionally, determining the number of the target receiving signal lamps corresponding to the transmitting signal lamps according to the coverage area and the position information of each receiving signal lamp includes: determining the receiving signal lamp positioned in the coverage area as the target receiving signal lamp according to the coverage area and the position information of the receiving signal lamp; and determining the number of the target receiving signal lamps to obtain the first numerical value corresponding to the transmitting signal lamp.
Optionally, acquiring the coverage of the transmitting signal lamp includes: acquiring the emission angle of each emission signal lamp, wherein the emission angle is used for representing the maximum angle of signals emitted by the emission signal lamps; and determining the coverage area according to the emission angle.
Optionally, controlling to scan the document to be scanned by using the target signal lamp group includes: controlling the transmitting signal lamp in the target signal lamp group to be in an on state so that the transmitting signal lamp emits a signal; and the receiving signal lamp in the target signal lamp group receives the signal to finish scanning the file to be scanned.
According to another aspect of the embodiment of the present invention, there is also provided a scanning method of an infrared signal, the method including: acquiring a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp group, wherein the receiving angles are used for representing the maximum angles of the receiving signals of the receiving signal lamps; determining an initial transmitting lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, wherein the initial transmitting lamp group is used for representing a plurality of transmitting signal lamps positioned in the receiving angles of the receiving lamp group; determining the transmitting signal lamp meeting a preset condition in the initial transmitting lamp group as a target transmitting lamp group, wherein the preset condition is that the number of receiving signal lamps in the receiving lamp group, which receive signals sent by the transmitting signal lamp, is larger than a second threshold value; and controlling the receiving lamp group and the target transmitting lamp group to scan the file to be scanned.
Optionally, determining the transmitting signal lamp satisfying a predetermined condition in the initial transmitting lamp set as a target transmitting lamp set includes: determining the number of the receiving signal lamps corresponding to the transmitting signal lamps to obtain a second value, wherein the second value is used for representing the number of the receiving signal lamps capable of receiving signals sent by the transmitting signal lamps; and determining that the transmitting signal lamps with the second numerical value larger than the second threshold value form the target transmitting lamp group in the initial transmitting lamp group.
Optionally, the receiving angle ranges from 20 ° to 60 °.
According to still another aspect of the embodiment of the present invention, there is further provided a scanning apparatus for an infrared signal, where the apparatus includes a first acquisition unit, a first determination unit, a second determination unit, and a first scanning unit, where the first acquisition unit is configured to acquire position information of an initial signal light group, and the initial signal light group includes a plurality of transmitting signal lights and a plurality of receiving signal lights; the first determining unit is configured to determine, according to at least the location information, a number of target receiving signal lamps corresponding to each transmitting signal lamp, to obtain a first value, where the target receiving signal lamp is the receiving signal lamp in the initial signal lamp group, where the receiving signal lamp can receive a signal sent by the transmitting signal lamp; the second determining unit is configured to determine a target signal lamp set, where the target signal lamp set is composed of a plurality of receiving signal lamps and remaining transmitting signal lamps, and the remaining transmitting signal lamps are the transmitting signal lamps corresponding to the first value greater than a first threshold in the initial signal lamp set; the first scanning unit is used for controlling the target signal lamp group to scan the file to be scanned.
According to still another aspect of the embodiment of the present invention, there is further provided a scanning device for an infrared signal, where the device includes a second acquisition unit, a third determination unit, a fourth determination unit, and a second scanning unit, where the second acquisition unit is configured to acquire a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp group, where the receiving angles are used to characterize a maximum angle of a receiving signal of the receiving signal lamp; the third determining unit is used for determining an initial transmitting lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, and the initial transmitting lamp group is used for representing a plurality of transmitting signal lamps positioned in the receiving angles of the receiving lamp group; the fourth determining unit is configured to determine that the transmitting signal lamp in the initial transmitting lamp set meets a predetermined condition as a target transmitting lamp set, where the predetermined condition is that the number of receiving signal lamps in the receiving lamp set that receive signals sent by the transmitting signal lamp is greater than a second threshold; the second scanning unit is used for controlling the receiving lamp group and the target transmitting lamp group to scan the file to be scanned.
According to yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program is for executing any one of the methods.
According to yet another aspect of an embodiment of the present application, there is further provided a processor, where the processor is configured to execute a program, and where the program executes any of the methods.
According to yet another aspect of embodiments of the present application, there is also provided an electronic device comprising one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any of the methods.
In the method for scanning the infrared signal, firstly, position information of an initial signal lamp group formed by a plurality of transmitting signal lamps and a plurality of receiving signal lamps is obtained; then, determining the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information to obtain a first numerical value, wherein the target receiving signal lamps are the receiving signal lamps capable of receiving signals sent by the transmitting signal lamps in the initial signal lamp group; then, a plurality of receiving signal lamps and the rest of transmitting signal lamps form the target signal lamp group, and the rest of transmitting signal lamps are the transmitting signal lamps corresponding to the first numerical value larger than a first threshold value in the initial signal lamp group; and finally, controlling the target signal lamp group to scan the file to be scanned. Compared with the problem that the scanning speed is slower due to fewer effective signals generated by the transmitting lamps at the edge in the prior art, the scanning method of the infrared signal comprises the steps of acquiring the position information of a plurality of transmitting signals and a plurality of receiving signals in the initial signal lamp group, determining the number of the target receiving signals corresponding to the transmitting signals according to the position information, and obtaining the first numerical value, wherein the target receiving signals are the receiving signals which can receive the signals sent by the transmitting signals, determining that the first numerical value is larger than the first threshold, the transmitting signals corresponding to the first numerical value and the receiving signals form the target signal lamp group, and scanning the file to be scanned by using the target signal lamp group, so that the number of the target receiving signals corresponding to the transmitting signals for scanning the file to be scanned is larger than the first threshold, the signals sent by the transmitting signals in the target signal lamp group are all larger than the first threshold, the signal can be received by the receiving signals, and the scanning speed of the infrared signal is guaranteed to be lower, and the problem that the infrared signal is effectively scanned is solved due to the fact that the infrared signal is sent by the prior art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
FIG. 1 shows a flow diagram of a method of scanning infrared signals in accordance with an embodiment of the application;
FIG. 2 shows a schematic diagram of signaling of a transmitting signal and a receiving signal according to an embodiment of the application;
FIG. 3 is a flow chart of a method of scanning infrared signals according to another embodiment of the application;
FIG. 4 shows a schematic diagram of a scanning device for infrared signals according to an embodiment of the application;
FIG. 5 shows a schematic diagram of a scanning device for infrared signals according to another embodiment of the application;
fig. 6 shows a flow chart of a scanning device for infrared signals according to an embodiment of the application.
Detailed Description
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the application herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Furthermore, in the description and in the claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
As described in the background art, in order to solve the problem that the scanning speed is slow due to the fact that the effective signal generated by the edge emitting lamp is less in the prior art, in an exemplary embodiment of the present application, a scanning method of an infrared signal, an apparatus thereof, a computer readable storage medium, a processor and an electronic device are provided.
According to an embodiment of the present application, there is provided a scanning method of an infrared signal.
Fig. 1 is a flow chart of a method of scanning an infrared signal according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, obtaining position information of an initial signal lamp set, wherein the initial signal lamp set comprises a plurality of transmitting signal lamps and a plurality of receiving signal lamps;
step S102, determining the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information to obtain a first value, wherein the target receiving signal lamps are the receiving signal lamps capable of receiving the signals sent by the transmitting signal lamps in the initial signal lamp group;
step S103, determining a target signal lamp group, wherein the target signal lamp group is composed of a plurality of receiving signal lamps and the rest of transmitting signal lamps, and the rest of transmitting signal lamps are the transmitting signal lamps corresponding to the first numerical value larger than a first threshold value in the initial signal lamp group;
Step S104, the target signal lamp group is used for scanning the file to be scanned.
In the above-mentioned scanning method of infrared signal, first, obtain the position information of the initial signal lamp group that a plurality of transmitting signal lamps and a plurality of receiving signal lamps make up; then, determining the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information to obtain a first numerical value, wherein the target receiving signal lamps are the receiving signal lamps capable of receiving signals sent by the transmitting signal lamps in the initial signal lamp group; then, the plurality of receiving signal lamps and the rest of transmitting signal lamps form the target signal lamp group, and the rest of transmitting signal lamps are the transmitting signal lamps corresponding to the first numerical value larger than a first threshold value in the initial signal lamp group; and finally, controlling the target signal lamp group to scan the file to be scanned. Compared with the prior art that the scanning speed is slower due to fewer effective signals generated by the emitting lamps at the edge, the scanning method of the infrared signal of the application obtains the position information of a plurality of emitting lamps and a plurality of receiving lamps in the initial signal lamp group, and determines the number of the target receiving lamps corresponding to each emitting lamp according to the position information, so as to obtain the first numerical value, wherein the target receiving lamps are the receiving lamps which can receive the signals sent by the emitting lamps, the emitting lamps corresponding to the first numerical value and the receiving lamps corresponding to the first threshold value are determined to form the target signal lamp group, and the target signal lamp group is used for scanning the file to be scanned, so that the number of the target receiving lamps corresponding to the emitting lamps for scanning the file to be scanned is larger than the first threshold value, the signals sent by each emitting lamp in the target signal lamp group are larger than the first threshold value, the signal sent by the emitting lamps can be more effectively guaranteed, the scanning speed of the infrared signal can be more effectively guaranteed, and the problem that the infrared signal is more effectively sent by the emitting lamps in the edge is solved.
Specifically, as shown in fig. 2, R1 to R16 are the receiving signals, T1 to T16 are the transmitting signals, the physical transmitting angles of the transmitting signals have the largest range, that is, the dashed line with an arrow from the transmitting signal to the receiving signal in the figure, the physical receiving angles of the receiving signals also have the largest range, that is, the dashed line with an arrow from the receiving signal to the transmitting signal in the figure, the scanning principle is that the receiving signals are grouped, that is, R5 to R8 in the figure, firstly, the transmitting signals with corresponding ranges, that is, T3 to T10 in the figure, 4 receiving signals, that is, 7 transmitting signals, that is, if the transmitting angles are not limited, 4 x 7=28 signals, that is, 28 lights, but limited by the angles of the lamps, that is, only 20 effective signals in the figure, since only the receiving signal lamp corresponding to R5 can collect signals when the transmitting signal lamp corresponding to T3 is turned on, only the receiving signal lamp corresponding to R5 and the receiving signal lamp corresponding to R6 can collect signals when the transmitting signal lamp corresponding to T4 is turned on, and so on, only one receiving signal lamp T3 and T10 at the edge can collect signals, namely R5 and R8, so that the transmitting signal lamp at the edge cannot generate enough effective signals, and the overall scanning speed is slower due to the occupied turn-on times, the scanning operation is performed by using only the transmitting signal lamp with the first value larger than the first threshold value in the scanning process of the infrared signal of the present application, therefore, under the condition that the first threshold value is 1, T3 and T10 are not included in the target signal lamp group, of course, the first threshold value can be determined according to actual conditions, so that each transmitting signal lamp in the target signal lamp set can generate enough effective signals, and the scanning speed of the infrared signals is ensured to be higher.
In a specific embodiment, the first threshold may be determined according to an actual situation.
According to a specific embodiment of the present application, determining the number of target receiving signal lamps corresponding to the transmitting signal lamps at least according to the position information includes: acquiring a coverage range of the transmitting signal lamp, wherein the coverage range is used for representing a coverage range of a signal sent by the transmitting signal lamp; and determining the number of the target receiving signal lamps corresponding to the transmitting signal lamps according to the coverage area and the position information of each receiving signal lamp. The coverage area of the transmitting signal lamp is acquired, and then the number of the target receiving signal lamps corresponding to the transmitting signal lamps is determined according to the coverage area and the position information of each receiving signal lamp, so that the target receiving signal lamps which are determined later are all the receiving signal lamps in the coverage area of the transmitting signal lamp, the determined target receiving signal lamps can all receive signals sent by the transmitting signal lamp, the number accuracy of the determined target receiving signal lamps is ensured to be higher, the accuracy of the target signal lamp group which is determined according to the number of the target receiving signal lamps is higher, and the scanning speed of the infrared signals is further ensured to be higher.
According to another embodiment of the present application, determining the number of the target receiving signal lamps corresponding to the transmitting signal lamps according to the coverage area and the position information of each receiving signal lamp includes: determining the receiving signal lamp located in the coverage area as the target receiving signal lamp according to the coverage area and the position information of the receiving signal lamp; and determining the number of the target receiving signal lamps to obtain the first numerical value corresponding to the transmitting signal lamp. The receiving signal lamp in the coverage area is determined to be the target receiving signal lamp through the coverage area and the position information of the receiving signal lamp, the first numerical value corresponding to the transmitting signal lamp is determined according to the number of the target receiving signal lamps, the first numerical value is determined according to the coverage area and the position information, the accuracy of the first numerical value is ensured to be higher, the accuracy of the target signal lamp group determined according to the first numerical value of the target receiving signal lamp is higher, and the scanning speed of the infrared signal is further ensured to be higher.
In order to further ensure that the scanning speed of the infrared signal is high, according to another embodiment of the present application, acquiring the coverage of the transmitting signal lamp includes: acquiring the emission angle of each emission signal lamp, wherein the emission angle is used for representing the maximum angle of signals emitted by the emission signal lamps; and determining the coverage area according to the emission angle. The coverage area is determined according to the emission angles by acquiring the emission angles of the emission signal lamps, so that the coverage area is ensured to be within the emission angle range of the emission signal lamps, the receiving signal lamps in the coverage area can receive signals sent by the emission signal lamps, the accuracy of the first numerical value determined later is ensured to be higher, the accuracy of the target signal lamp group determined according to the first numerical value of the target receiving signal lamp is higher, and the scanning speed of the infrared signal is further ensured to be higher.
In a specific embodiment, through the connection between the transmitting signal lamp and each receiving signal lamp at the connection edge, whether each receiving signal lamp is in the range of the transmitting angle of the transmitting signal lamp can be directly determined, the first value corresponding to each transmitting signal lamp can be determined, and then the transmitting signal lamp with the first value larger than the first threshold value and the receiving signal lamp form the target signal lamp set, so that signals generated by the transmitting signal lamp in the target signal lamp set can be received by the receiving signal lamp with the first value larger than the first threshold value, and the signals generated by the transmitting signal lamp in the target signal lamp set are all effective signals.
According to one embodiment of the application, the emission angle is in the range of 20 to 60.
In a specific embodiment, when the transmitting signal lamp is determined, the transmitting angle is a fixed value, and of course, the transmitting angle may be defined according to the actual situation, so that the transmitting signal lamp emits more effective signals.
According to another embodiment of the present application, controlling the scanning of the document to be scanned using the target signal lamp set includes: controlling the transmitting signal lamp in the target signal lamp group to be in an on state so that the transmitting signal lamp emits a signal; and the receiving signal lamp in the target signal lamp group receives the signal to finish scanning the file to be scanned. The transmitting signal lamps in the target signal lamp set are controlled to be in an on state, namely the transmitting signal lamps are enabled to transmit signals, and the number of the receiving signal lamps which correspond to the transmitting signal lamps and can receive signals is larger than the first threshold value, so that the transmitting signal lamps in the target signal lamp set are effective signals, the receiving signal lamps in the target signal lamp set can effectively receive signals transmitted by the transmitting signal lamps, and the scanning speed of the infrared signals is further guaranteed to be higher.
In a specific embodiment, the angles of the light tubes of the emission lights in the prior art are the same, so that the effective signals generated by the emission lights at the edge positions are less, but occupy one turn-on period, and the scanning frame rate of the touch frame is reduced.
According to another exemplary embodiment of the present application, a method of scanning an infrared signal is provided.
Fig. 3 is a flow chart of a method of scanning an infrared signal in accordance with an embodiment of the present application. As shown in fig. 3, the method comprises the steps of:
Step S201, a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp group are obtained, wherein the receiving angles are used for representing the maximum angles of the receiving signals of the receiving signal lamps;
step S202, determining an initial transmitting lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, wherein the initial transmitting lamp group is used for representing a plurality of transmitting signal lamps positioned in the receiving angles of the receiving lamp group;
step S203, determining that the transmitting signal lamp satisfying a predetermined condition in the initial transmitting lamp set is a target transmitting lamp set, where the predetermined condition is that the number of receiving signal lamps in the receiving lamp set, which receive signals sent by the transmitting signal lamp, is greater than a second threshold;
step S204, controlling the receiving lamp set and the target transmitting lamp set to scan the document to be scanned.
In the above-mentioned scanning method of infrared signal, first, obtain a plurality of receiving angles corresponding to a plurality of receiving signal lamps in the receiving lamp group, wherein, the above-mentioned receiving angle is used for representing the biggest angle of the signal received by the above-mentioned receiving signal lamp; then, determining an initial transmitting lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, wherein the initial transmitting lamp group is used for representing a plurality of transmitting signal lamps positioned in the receiving angles of the receiving lamp group; then, determining the transmitting signal lamp meeting a preset condition in the initial transmitting lamp set as a target transmitting lamp set, wherein the preset condition is that the number of receiving signal lamps receiving signals sent by the transmitting signal lamp in the receiving lamp set is larger than a second threshold value; and finally, controlling the receiving lamp set and the target transmitting lamp set to scan the file to be scanned. Compared with the prior art that the scanning speed is slower due to fewer effective signals generated by the edge emitting lamps, the scanning method of the infrared signals of the application obtains the maximum angles of the receiving signals corresponding to the receiving signals, determines that the emitting signals in the receiving angles are the initial emitting lamp groups according to the receiving angles, determines that the emitting signals meeting the preset conditions in the initial emitting lamp groups are the target emitting lamp groups, namely, the signals emitted by each emitting signal in the target emitting lamp groups are all received by the receiving signals with the second threshold, ensures that the signals emitted by the emitting signals in the target emitting lamp groups are all effective signals, solves the problem that the scanning speed is slower due to fewer effective signals generated by the edge emitting lamps in the prior art, and ensures that the scanning speed of the infrared signals is faster.
The method of scanning the infrared signal is applicable to a case where the receiving angle of the receiving signal is known, whereas the method of the previous embodiment is applicable to a case where the emission angle of the transmitting signal is known, and of course, a specific method may be determined according to the angle size, that is, a method corresponding to a smaller angle may be selected when both the receiving angle of the receiving signal and the emission angle of the transmitting signal are known.
According to a specific embodiment of the present application, determining the emission signal lamp satisfying a predetermined condition in the initial emission lamp set as a target emission lamp set includes: determining the number of the receiving signal lamps corresponding to the transmitting signal lamps to obtain a second value, wherein the second value is used for representing the number of the receiving signal lamps capable of receiving the signal sent by the transmitting signal lamps; and determining that the emission signal lamp with the second value larger than the second threshold value in the initial emission lamp group forms the target emission lamp group. The second numerical value corresponding to the transmitting signal lamp is determined, namely, the number of the receiving signal lamps capable of receiving signals sent by the transmitting signal lamp is determined, and then the transmitting signal lamps with the second numerical value larger than the second threshold value are determined to form the target transmitting lamp group, so that signals sent by the target transmitting lamp group are ensured, the receiving signal lamps with the second numerical value larger than the second threshold value can receive the signals, the signals sent by the transmitting signal lamps in the target transmitting lamp group are all effective signals, and the scanning speed of the infrared signals is further ensured to be higher.
According to another embodiment of the application, the above-mentioned acceptance angle ranges from 20 ° to 60 °.
In a specific embodiment, when the receiving signal lamp is determined, the receiving angle is a fixed value, and of course, the receiving angle may be defined according to the actual situation so that the receiving signal lamp emits more effective signals.
In general, the emission angle of the emission signal is the same as the reception angle of the reception signal, and, of course, if the emission angle is different, a method corresponding to a smaller angle is selected.
The embodiment of the application also provides a scanning device for the infrared signal, and the scanning device for the infrared signal can be used for executing the scanning method for the infrared signal provided by the embodiment of the application. The following describes an infrared signal scanning device provided in an embodiment of the present application.
Fig. 4 is a schematic diagram of a scanning device for infrared signals according to an embodiment of the application. As shown in fig. 4, the apparatus includes a first acquisition unit 10, a first determination unit 20, a second determination unit 30, and a first scanning unit 40, wherein the first acquisition unit 10 is configured to acquire position information of an initial signal light group, and the initial signal light group includes a plurality of transmitting signal lights and a plurality of receiving signal lights; the first determining unit 20 is configured to determine, according to at least the location information, a number of target receiving signal lamps corresponding to each of the transmitting signal lamps, to obtain a first value, where the target receiving signal lamps are the receiving signal lamps in the initial signal lamp group that can receive a signal sent by the transmitting signal lamp; the second determining unit 30 is configured to determine a target signal lamp set, where the target signal lamp set is configured by a plurality of receiving signal lamps and the remaining transmitting signal lamps, and the remaining transmitting signal lamps are the transmitting signal lamps corresponding to the first value larger than a first threshold value in the initial signal lamp set; the first scanning unit 40 is configured to control scanning of a document to be scanned using the target signal lamp set.
The scanning device of the infrared signal acquires the position information of an initial signal lamp set through the first acquisition unit, wherein the initial signal lamp set comprises a plurality of transmitting signal lamps and a plurality of receiving signal lamps; determining, by the first determining unit, the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information, to obtain a first value, where the target receiving signal lamps are the receiving signal lamps in the initial signal lamp group that can receive signals sent by the transmitting signal lamps; determining, by the second determining unit, a target signal lamp group, where the target signal lamp group is composed of a plurality of receiving signal lamps and remaining transmitting signal lamps, and the remaining transmitting signal lamps are the transmitting signal lamps corresponding to the first values greater than a first threshold value in the initial signal lamp group; and controlling the first scanning unit to scan the file to be scanned by using the target signal lamp group. Compared with the prior art that the scanning speed is slower due to fewer effective signals generated by the emitting lamps at the edge, the scanning device for the infrared signal of the application obtains the position information of a plurality of emitting lamps and a plurality of receiving lamps in the initial signal lamp group, and determines the number of target receiving lamps corresponding to the emitting lamps according to the position information, so as to obtain the first numerical value, wherein the target receiving lamps are the receiving lamps which can receive the signals sent by the emitting lamps, the emitting lamps corresponding to the first numerical value and the receiving lamps corresponding to the first threshold value are determined to form the target signal lamp group, and the target signal lamp group is used for scanning the file to be scanned, so that the number of the target receiving lamps corresponding to the emitting lamps for scanning the file to be scanned is larger than the first threshold value, the signals sent by the emitting lamps in the target signal lamp group are larger than the first threshold value, the signal sent by the emitting lamps can be received by the receiving lamps, the scanning speed is higher, and the problem that the infrared signal is effectively generated by the receiving signals in the first threshold value is solved.
Specifically, as shown in fig. 2, R1 to R16 are the receiving signals, T1 to T16 are the transmitting signals, the physical transmitting angles of the transmitting signals have the largest range, that is, the dashed line with an arrow from the transmitting signal to the receiving signal in the figure, the physical receiving angles of the receiving signals also have the largest range, that is, the dashed line with an arrow from the receiving signal to the transmitting signal in the figure, the scanning principle is that the receiving signals are grouped, that is, R5 to R8 in the figure, firstly, the transmitting signals with corresponding ranges, that is, T3 to T10 in the figure, 4 receiving signals, that is, 7 transmitting signals, that is, if the transmitting angles are not limited, 4 x 7=28 signals, that is, 28 lights, but limited by the angles of the lamps, that is, only 20 effective signals in the figure, since only the receiving signal lamp corresponding to R5 can collect signals when the transmitting signal lamp corresponding to T3 is turned on, only the receiving signal lamp corresponding to R5 and the receiving signal lamp corresponding to R6 can collect signals when the transmitting signal lamp corresponding to T4 is turned on, and so on, only one receiving signal lamp T3 and T10 at the edge can collect signals, namely R5 and R8, so that the transmitting signal lamp at the edge cannot generate enough effective signals, and the overall scanning speed is slower due to the occupied turn-on times, the scanning operation is performed by using only the transmitting signal lamp with the first value larger than the first threshold value in the scanning process of the infrared signal of the present application, therefore, under the condition that the first threshold value is 1, T3 and T10 are not included in the target signal lamp group, of course, the first threshold value can be determined according to actual conditions, so that each transmitting signal lamp in the target signal lamp set can generate enough effective signals, and the scanning speed of the infrared signals is ensured to be higher.
In a specific embodiment, the first threshold may be determined according to an actual situation.
According to a specific embodiment of the present application, the first determining unit includes an acquiring module and a first determining module, where the acquiring module is configured to acquire a coverage area of the transmitting signal lamp, and the coverage area is configured to characterize a coverage area of a signal sent by the transmitting signal lamp; the first determining module is configured to determine, according to the coverage area and the position information of each receiving signal lamp, the number of target receiving signal lamps corresponding to the transmitting signal lamp. The coverage area of the transmitting signal lamp is acquired, and then the number of the target receiving signal lamps corresponding to the transmitting signal lamps is determined according to the coverage area and the position information of each receiving signal lamp, so that the target receiving signal lamps which are determined later are all the receiving signal lamps in the coverage area of the transmitting signal lamp, the determined target receiving signal lamps can all receive signals sent by the transmitting signal lamp, the number accuracy of the determined target receiving signal lamps is ensured to be higher, the accuracy of the target signal lamp group which is determined according to the number of the target receiving signal lamps is higher, and the scanning speed of the infrared signals is further ensured to be higher.
According to another embodiment of the present application, the first determining module includes a first determining submodule and a second determining submodule, where the first determining submodule is configured to determine, according to the coverage area and the location information of the receiving signal lamp, that the receiving signal lamp located in the coverage area is the target receiving signal lamp; the second determining submodule is used for determining the number of the target receiving signal lamps and obtaining the first numerical value corresponding to the transmitting signal lamp. The receiving signal lamp in the coverage area is determined to be the target receiving signal lamp through the coverage area and the position information of the receiving signal lamp, the first numerical value corresponding to the transmitting signal lamp is determined according to the number of the target receiving signal lamps, the first numerical value is determined according to the coverage area and the position information, the accuracy of the first numerical value is ensured to be higher, the accuracy of the target signal lamp group determined according to the first numerical value of the target receiving signal lamp is higher, and the scanning speed of the infrared signal is further ensured to be higher.
In order to further ensure that the scanning speed of the infrared signal is faster, according to another specific embodiment of the present application, the acquisition module includes an acquisition sub-module and a third determination sub-module, where the acquisition sub-module is configured to acquire an emission angle of each of the emission signal lamps, where the emission angle is used to characterize a maximum angle of an emission signal of the emission signal lamp; the third determining submodule is used for determining the coverage according to the emission angle. The coverage area is determined according to the emission angles by acquiring the emission angles of the emission signal lamps, so that the coverage area is ensured to be within the emission angle range of the emission signal lamps, the receiving signal lamps in the coverage area can receive signals sent by the emission signal lamps, the accuracy of the first numerical value determined later is ensured to be higher, the accuracy of the target signal lamp group determined according to the first numerical value of the target receiving signal lamp is higher, and the scanning speed of the infrared signal is further ensured to be higher.
In a specific embodiment, through the connection between the transmitting signal lamp and each receiving signal lamp at the connection edge, whether each receiving signal lamp is in the range of the transmitting angle of the transmitting signal lamp can be directly determined, the first value corresponding to each transmitting signal lamp can be determined, and then the transmitting signal lamp with the first value larger than the first threshold value and the receiving signal lamp form the target signal lamp set, so that signals generated by the transmitting signal lamp in the target signal lamp set can be received by the receiving signal lamp with the first value larger than the first threshold value, and the signals generated by the transmitting signal lamp in the target signal lamp set are all effective signals.
According to one embodiment of the application, the emission angle is in the range of 20 to 60.
In a specific embodiment, when the transmitting signal lamp is determined, the transmitting angle is a fixed value, and of course, the transmitting angle may be defined according to the actual situation, so that the transmitting signal lamp emits more effective signals.
According to another embodiment of the present application, the first scanning unit includes a control module and a receiving module, where the control module is configured to control the transmitting signal lamp in the target signal lamp set to be in an on state, so that the transmitting signal lamp emits a signal; the receiving module is used for receiving the signals by the receiving signal lamps in the target signal lamp group, and scanning the file to be scanned is completed. The transmitting signal lamps in the target signal lamp set are controlled to be in an on state, namely the transmitting signal lamps are enabled to transmit signals, and the number of the receiving signal lamps which correspond to the transmitting signal lamps and can receive signals is larger than the first threshold value, so that the transmitting signal lamps in the target signal lamp set are effective signals, the receiving signal lamps in the target signal lamp set can effectively receive signals transmitted by the transmitting signal lamps, and the scanning speed of the infrared signals is further guaranteed to be higher.
In a specific embodiment, the angles of the light tubes of the emission lights in the prior art are the same, so that the effective signals generated by the emission lights at the edge positions are less, but occupy one turn-on period, and the scanning frame rate of the touch frame is reduced.
The embodiment of the application also provides a scanning device for the infrared signals, and the scanning device for the infrared signals can be used for executing the scanning method for the infrared signals. The following describes an infrared signal scanning device provided in an embodiment of the present application.
Fig. 5 is a schematic diagram of a scanning device for infrared signals according to an embodiment of the application. As shown in fig. 5, the apparatus includes a second obtaining unit 50, a third determining unit 60, a fourth determining unit 70, and a second scanning unit 80, where the second obtaining unit 50 is configured to obtain a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp set, and the receiving angles are configured to characterize a maximum angle of a receiving signal received by the receiving signal lamps; the third determining unit 60 is configured to determine an initial emission lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, where the initial emission lamp group is used to characterize a plurality of emission signal lamps located in the receiving angles of the receiving lamp group; the fourth determining unit 70 is configured to determine that the transmitting signal lamp in the initial transmitting lamp set satisfies a predetermined condition as a target transmitting lamp set, where the predetermined condition is that the number of receiving signal lamps in the receiving lamp set that receive the signal sent by the transmitting signal lamp is greater than a second threshold; the second scanning unit 80 is configured to control scanning of a document to be scanned using the receiving lamp set and the target transmitting lamp set.
In the infrared signal scanning device, a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp group are acquired through the second acquisition unit, wherein the receiving angles are used for representing the maximum angle of the receiving signals of the receiving signal lamps; determining, by the third determining unit, an initial emission lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, where the initial emission lamp group is used to characterize a plurality of emission signal lamps located in the receiving angles of the receiving lamp group; determining, by the fourth determining unit, that the transmitting signal lamp in the initial transmitting lamp set satisfies a predetermined condition as a target transmitting lamp set, where the predetermined condition is that the number of receiving signal lamps in the receiving lamp set that receive signals sent by the transmitting signal lamp is greater than a second threshold; and controlling the receiving lamp set and the target transmitting lamp set to scan the document to be scanned through the second scanning unit. Compared with the problem of slower scanning speed caused by fewer effective signals generated by the edge emitting lamps in the prior art, the scanning device for the infrared signals, disclosed by the application, has the advantages that the maximum angles of the receiving signals corresponding to the receiving lamps are obtained, the emitting lamps positioned in the receiving angles are determined to be the initial emitting lamp groups according to the receiving angles, the emitting lamps meeting the preset conditions in the initial emitting lamp groups are determined to be the target emitting lamp groups, namely, the signals emitted by each emitting lamp in the target emitting lamp groups are all received by the receiving lamps with the second threshold, the signals emitted by the emitting lamps in the target emitting lamp groups are all effective signals, the problem of slower scanning speed caused by fewer effective signals generated by the edge emitting lamps in the prior art is solved, and the scanning speed of the infrared signals is ensured to be higher.
The scanning device for infrared signals is applicable to a case where the receiving angle of the receiving signal lamp is known, and the device of the previous embodiment is applicable to a case where the emitting angle of the emitting signal lamp is known, however, a specific device may be determined according to the angle size, that is, a device corresponding to a smaller angle may be selected when both the receiving angle of the receiving signal lamp and the emitting angle of the emitting signal lamp are known.
According to a specific embodiment of the present application, the fourth determining unit includes a second determining module and a third determining module, where the second determining module is configured to determine the number of the receiving signal lamps corresponding to the transmitting signal lamps, to obtain a second value, where the second value is used to characterize the number of the receiving signal lamps that can receive the signal sent by the transmitting signal lamp; the third determining module is configured to determine that, in the initial emission lamp set, the emission signal lamps with the second value greater than the second threshold value form the target emission lamp set. The second numerical value corresponding to the transmitting signal lamp is determined, namely, the number of the receiving signal lamps capable of receiving signals sent by the transmitting signal lamp is determined, and then the transmitting signal lamps with the second numerical value larger than the second threshold value are determined to form the target transmitting lamp group, so that signals sent by the target transmitting lamp group are ensured, the receiving signal lamps with the second numerical value larger than the second threshold value can receive the signals, the signals sent by the transmitting signal lamps in the target transmitting lamp group are all effective signals, and the scanning speed of the infrared signals is further ensured to be higher.
According to another embodiment of the application, the above-mentioned acceptance angle ranges from 20 ° to 60 °.
In a specific embodiment, when the receiving signal lamp is determined, the receiving angle is a fixed value, and of course, the receiving angle may be defined according to the actual situation so that the receiving signal lamp emits more effective signals.
In general, the emission angle of the emission signal is the same as the reception angle of the reception signal, and, of course, if the angles are different, a device corresponding to the smaller angle is selected.
The scanning device for infrared signals comprises a processor and a memory, wherein the first acquisition unit, the first determination unit, the second determination unit, the first scanning unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one kernel, and the problem of slower scanning speed caused by less effective signals generated by the edge emitting lamp in the prior art is solved by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the above-described scanning method of infrared signals.
The embodiment of the invention provides a processor, which is used for running a program, wherein the scanning method of the infrared signal is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes at least the following steps when executing the program:
step S101, obtaining position information of an initial signal lamp set, wherein the initial signal lamp set comprises a plurality of transmitting signal lamps and a plurality of receiving signal lamps;
step S102, determining the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information to obtain a first value, wherein the target receiving signal lamps are the receiving signal lamps capable of receiving the signals sent by the transmitting signal lamps in the initial signal lamp group;
Step S103, determining a target signal lamp group, wherein the target signal lamp group is composed of a plurality of receiving signal lamps and the rest of transmitting signal lamps, and the rest of transmitting signal lamps are the transmitting signal lamps corresponding to the first numerical value larger than a first threshold value in the initial signal lamp group;
step S104, the target signal lamp group is used for scanning the file to be scanned.
Or the processor when executing the program performs at least the following steps:
step S201, a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp group are obtained, wherein the receiving angles are used for representing the maximum angles of the receiving signals of the receiving signal lamps;
step S202, determining an initial transmitting lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, wherein the initial transmitting lamp group is used for representing a plurality of transmitting signal lamps positioned in the receiving angles of the receiving lamp group;
step S203, determining that the transmitting signal lamp satisfying a predetermined condition in the initial transmitting lamp set is a target transmitting lamp set, where the predetermined condition is that the number of receiving signal lamps in the receiving lamp set, which receive signals sent by the transmitting signal lamp, is greater than a second threshold;
Step S204, controlling the receiving lamp set and the target transmitting lamp set to scan the document to be scanned.
The device herein may be a server, PC, PAD, cell phone, etc.
The application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with at least the following method steps:
step S101, obtaining position information of an initial signal lamp set, wherein the initial signal lamp set comprises a plurality of transmitting signal lamps and a plurality of receiving signal lamps;
step S102, determining the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information to obtain a first value, wherein the target receiving signal lamps are the receiving signal lamps capable of receiving the signal sent by the transmitting signal lamps;
step S103, determining a target signal lamp group, wherein the target signal lamp group is composed of a plurality of receiving signal lamps and the rest of transmitting signal lamps, and the rest of transmitting signal lamps are the transmitting signal lamps corresponding to the first numerical value larger than a first threshold value in the initial signal lamp group;
step S104, the target signal lamp group is used for scanning the file to be scanned.
Or executing a program initialized with at least the following method steps:
step S201, a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp group are obtained, wherein the receiving angles are used for representing the maximum angles of the receiving signals of the receiving signal lamps;
step S202, determining an initial transmitting lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, wherein the initial transmitting lamp group is used for representing a plurality of transmitting signal lamps positioned in the receiving angles of the receiving lamp group;
step S203, determining that the transmitting signal lamp satisfying a predetermined condition in the initial transmitting lamp set is a target transmitting lamp set, where the predetermined condition is that the number of receiving signal lamps in the receiving lamp set, which receive signals sent by the transmitting signal lamp, is greater than a second threshold;
step S204, controlling the receiving lamp set and the target transmitting lamp set to scan the document to be scanned.
According to another exemplary embodiment of the present application, there is also provided an electronic device including one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including means for performing any of the methods described above.
Fig. 6 is a schematic diagram of the scanning process of the above-mentioned infrared signal, and the scanning process of the infrared signal will be described in detail below.
Acquiring the position information and the emission angle of the initial signal lamp group;
determining the coverage area according to the emission angle;
determining the receiving signal lamp in the coverage area as the target receiving signal lamp in the initial signal lamp group according to the coverage area and the position information of the receiving signal lamp;
determining the number of the target receiving signal lamps to obtain the first numerical value corresponding to the transmitting signal lamp;
determining that the first value is greater than the first threshold value, and the transmitting signal lamp and the receiving signal lamp form the target signal lamp group;
controlling the transmitting signal lamp in the target signal lamp group to be in an on state so that the transmitting signal lamp emits a signal;
and the receiving signal lamp in the target signal lamp group receives the signal to finish scanning the file to be scanned.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units may be a logic function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) In the scanning method of the infrared signal, firstly, the position information of an initial signal lamp group formed by a plurality of transmitting signal lamps and a plurality of receiving signal lamps is obtained; then, determining the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information to obtain a first numerical value, wherein the target receiving signal lamps are the receiving signal lamps capable of receiving signals sent by the transmitting signal lamps in the initial signal lamp group; then, the plurality of receiving signal lamps and the rest of transmitting signal lamps form the target signal lamp group, and the rest of transmitting signal lamps are the transmitting signal lamps corresponding to the first numerical value larger than a first threshold value in the initial signal lamp group; and finally, controlling the target signal lamp group to scan the file to be scanned. Compared with the prior art that the scanning speed is slower due to fewer effective signals generated by the emitting lamps at the edge, the scanning method of the infrared signal of the application obtains the position information of a plurality of emitting lamps and a plurality of receiving lamps in the initial signal lamp group, and determines the number of the target receiving lamps corresponding to each emitting lamp according to the position information, so as to obtain the first numerical value, wherein the target receiving lamps are the receiving lamps which can receive the signals sent by the emitting lamps, the emitting lamps corresponding to the first numerical value and the receiving lamps corresponding to the first threshold value are determined to form the target signal lamp group, and the target signal lamp group is used for scanning the file to be scanned, so that the number of the target receiving lamps corresponding to the emitting lamps for scanning the file to be scanned is larger than the first threshold value, the signals sent by each emitting lamp in the target signal lamp group are larger than the first threshold value, the signal sent by the emitting lamps can be more effectively guaranteed, the scanning speed of the infrared signal can be more effectively guaranteed, and the problem that the infrared signal is more effectively sent by the emitting lamps in the edge is solved.
2) In the scanning method of the infrared signal, firstly, a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp group are obtained, wherein the receiving angles are used for representing the maximum angle of the receiving signals of the receiving signal lamps; then, determining an initial transmitting lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, wherein the initial transmitting lamp group is used for representing a plurality of transmitting signal lamps positioned in the receiving angles of the receiving lamp group; then, determining the transmitting signal lamp meeting a preset condition in the initial transmitting lamp set as a target transmitting lamp set, wherein the preset condition is that the number of receiving signal lamps receiving signals sent by the transmitting signal lamp in the receiving lamp set is larger than a second threshold value; and finally, controlling the receiving lamp set and the target transmitting lamp set to scan the file to be scanned. Compared with the prior art that the scanning speed is slower due to fewer effective signals generated by the edge emitting lamps, the scanning method of the infrared signals of the application obtains the maximum angles of the receiving signals corresponding to the receiving signals, determines that the emitting signals in the receiving angles are the initial emitting lamp groups according to the receiving angles, determines that the emitting signals meeting the preset conditions in the initial emitting lamp groups are the target emitting lamp groups, namely, the signals emitted by each emitting signal in the target emitting lamp groups are all received by the receiving signals with the second threshold, ensures that the signals emitted by the emitting signals in the target emitting lamp groups are all effective signals, solves the problem that the scanning speed is slower due to fewer effective signals generated by the edge emitting lamps in the prior art, and ensures that the scanning speed of the infrared signals is faster.
3) According to the infrared signal scanning device, the first acquisition unit is used for acquiring the position information of the initial signal lamp set, and the initial signal lamp set comprises a plurality of transmitting signal lamps and a plurality of receiving signal lamps; determining, by the first determining unit, the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information, to obtain a first value, where the target receiving signal lamps are the receiving signal lamps in the initial signal lamp group that can receive signals sent by the transmitting signal lamps; determining, by the second determining unit, a target signal lamp group, where the target signal lamp group is composed of a plurality of receiving signal lamps and remaining transmitting signal lamps, and the remaining transmitting signal lamps are the transmitting signal lamps corresponding to the first values greater than a first threshold value in the initial signal lamp group; and controlling the first scanning unit to scan the file to be scanned by using the target signal lamp group. Compared with the prior art that the scanning speed is slower due to fewer effective signals generated by the emitting lamps at the edge, the scanning device for the infrared signal of the application obtains the position information of a plurality of emitting lamps and a plurality of receiving lamps in the initial signal lamp group, and determines the number of target receiving lamps corresponding to the emitting lamps according to the position information, so as to obtain the first numerical value, wherein the target receiving lamps are the receiving lamps which can receive the signals sent by the emitting lamps, the emitting lamps corresponding to the first numerical value and the receiving lamps corresponding to the first threshold value are determined to form the target signal lamp group, and the target signal lamp group is used for scanning the file to be scanned, so that the number of the target receiving lamps corresponding to the emitting lamps for scanning the file to be scanned is larger than the first threshold value, the signals sent by the emitting lamps in the target signal lamp group are larger than the first threshold value, the signal sent by the emitting lamps can be received by the receiving lamps, the scanning speed is higher, and the problem that the infrared signal is effectively generated by the receiving signals in the first threshold value is solved.
4) In the infrared signal scanning device of the present application, the second obtaining unit obtains a plurality of receiving angles corresponding to a plurality of receiving signal lamps in the receiving lamp set, where the receiving angles are used for representing a maximum angle of the receiving signals of the receiving signal lamps; determining, by the third determining unit, an initial emission lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, where the initial emission lamp group is used to characterize a plurality of emission signal lamps located in the receiving angles of the receiving lamp group; determining, by the fourth determining unit, that the transmitting signal lamp in the initial transmitting lamp set satisfies a predetermined condition as a target transmitting lamp set, where the predetermined condition is that the number of receiving signal lamps in the receiving lamp set that receive signals sent by the transmitting signal lamp is greater than a second threshold; and controlling the receiving lamp set and the target transmitting lamp set to scan the document to be scanned through the second scanning unit. Compared with the problem of slower scanning speed caused by fewer effective signals generated by the edge emitting lamps in the prior art, the scanning device for the infrared signals, disclosed by the application, has the advantages that the maximum angles of the receiving signals corresponding to the receiving lamps are obtained, the emitting lamps positioned in the receiving angles are determined to be the initial emitting lamp groups according to the receiving angles, the emitting lamps meeting the preset conditions in the initial emitting lamp groups are determined to be the target emitting lamp groups, namely, the signals emitted by each emitting lamp in the target emitting lamp groups are all received by the receiving lamps with the second threshold, the signals emitted by the emitting lamps in the target emitting lamp groups are all effective signals, the problem of slower scanning speed caused by fewer effective signals generated by the edge emitting lamps in the prior art is solved, and the scanning speed of the infrared signals is ensured to be higher.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. A method of scanning an infrared signal, the method comprising:
acquiring position information of an initial signal lamp set, wherein the initial signal lamp set comprises a plurality of transmitting signal lamps and a plurality of receiving signal lamps;
determining the number of target receiving signal lamps corresponding to each transmitting signal lamp according to at least the position information to obtain a first value, wherein the target receiving signal lamps are the receiving signal lamps capable of receiving signals sent by the transmitting signal lamps in the initial signal lamp group;
determining a target signal lamp group, wherein the target signal lamp group consists of a plurality of receiving signal lamps and the rest transmitting signal lamps, and the rest transmitting signal lamps are the transmitting signal lamps corresponding to the first values larger than a first threshold value in the initial signal lamp group;
And controlling the target signal lamp group to scan the file to be scanned.
2. The method of claim 1, wherein determining the number of target receiving signals corresponding to each transmitting signal based at least on the location information comprises:
acquiring a coverage range of the transmitting signal lamp, wherein the coverage range is used for representing a coverage range of a signal sent by the transmitting signal lamp;
and determining the number of the target receiving signal lamps corresponding to the transmitting signal lamps according to the coverage area and the position information of each receiving signal lamp.
3. The method of claim 2, wherein determining the number of target receiving signals corresponding to the transmitting signal based on the coverage area and the location information of each receiving signal comprises:
determining the receiving signal lamp positioned in the coverage area as the target receiving signal lamp according to the coverage area and the position information of the receiving signal lamp;
and determining the number of the target receiving signal lamps to obtain the first numerical value corresponding to the transmitting signal lamp.
4. The method of claim 2, wherein acquiring the coverage of the transmitting signal comprises:
Acquiring the emission angle of each emission signal lamp, wherein the emission angle is used for representing the maximum angle of signals emitted by the emission signal lamps;
and determining the coverage area according to the emission angle.
5. The method of any one of claims 1 to 4, wherein controlling scanning of the document to be scanned using the target signal light group comprises:
controlling the transmitting signal lamp in the target signal lamp group to be in an on state so that the transmitting signal lamp emits a signal;
and the receiving signal lamp in the target signal lamp group receives the signal to finish scanning the file to be scanned.
6. A method of scanning an infrared signal, the method comprising:
acquiring a plurality of receiving angles corresponding to a plurality of receiving signal lamps in a receiving lamp group, wherein the receiving angles are used for representing the maximum angles of the receiving signals of the receiving signal lamps;
determining an initial transmitting lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, wherein the initial transmitting lamp group is used for representing a plurality of transmitting signal lamps positioned in the receiving angles of the receiving lamp group;
determining the transmitting signal lamp meeting a preset condition in the initial transmitting lamp group as a target transmitting lamp group, wherein the preset condition is that the number of receiving signal lamps in the receiving lamp group, which receive signals sent by the transmitting signal lamp, is larger than a second threshold value;
And controlling the receiving lamp group and the target transmitting lamp group to scan the file to be scanned.
7. The method of claim 6, wherein determining the emission signal lamp in the initial group of emission lamps that satisfies a predetermined condition as a target group of emission lamps comprises:
determining the number of the receiving signal lamps corresponding to the transmitting signal lamps to obtain a second value, wherein the second value is used for representing the number of the receiving signal lamps capable of receiving signals sent by the transmitting signal lamps;
and determining that the transmitting signal lamps with the second numerical value larger than the second threshold value form the target transmitting lamp group in the initial transmitting lamp group.
8. The method according to any one of claims 6 to 7, wherein the acceptance angle is in the range of 20 ° to 60 °.
9. An apparatus for scanning an infrared signal, said apparatus comprising:
the first acquisition unit is used for acquiring the position information of an initial signal lamp group, wherein the initial signal lamp group comprises a plurality of transmitting signal lamps and a plurality of receiving signal lamps;
the first determining unit is used for determining the number of target receiving signal lamps corresponding to the transmitting signal lamps according to at least the position information to obtain a first value, wherein the target receiving signal lamps are the receiving signal lamps which can receive signals sent by the transmitting signal lamps in the initial signal lamp group;
The second determining unit is used for determining a target signal lamp set, wherein the target signal lamp set is composed of a plurality of receiving signal lamps and the rest transmitting signal lamps, and the rest transmitting signal lamps are the transmitting signal lamps corresponding to the first numerical value larger than a first threshold value in the initial signal lamp set;
and the first scanning unit is used for controlling the target signal lamp group to scan the file to be scanned.
10. An apparatus for scanning an infrared signal, said apparatus comprising:
the second acquisition unit is used for acquiring a plurality of receiving angles corresponding to a plurality of receiving signal lamps in the receiving lamp group, wherein the receiving angles are used for representing the maximum angle of the receiving signals of the receiving signal lamps;
a third determining unit, configured to determine an initial emission lamp group corresponding to the receiving lamp group according to a plurality of receiving angles, where the initial emission lamp group is used to characterize a plurality of emission signal lamps located in the receiving angles of the receiving lamp group;
a fourth determining unit, configured to determine that the transmitting signal lamp in the initial transmitting lamp set that satisfies a predetermined condition is a target transmitting lamp set, where the predetermined condition is that the number of receiving signal lamps in the receiving lamp set that receive signals sent by the transmitting signal lamp is greater than a second threshold;
And the second scanning unit is used for controlling the receiving lamp group and the target transmitting lamp group to scan the file to be scanned.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program performs the method of any one of claims 1 to 5 or of claims 6 to 8.
12. A processor for running a program, wherein the program when run performs the method of any one of claims 1 to 5 or claims 6 to 8.
13. An electronic device, comprising: one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of any of claims 1-5 or 6-8.
CN202211186345.1A 2022-09-27 2022-09-27 Infrared signal scanning method and device Pending CN116719439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211186345.1A CN116719439A (en) 2022-09-27 2022-09-27 Infrared signal scanning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211186345.1A CN116719439A (en) 2022-09-27 2022-09-27 Infrared signal scanning method and device

Publications (1)

Publication Number Publication Date
CN116719439A true CN116719439A (en) 2023-09-08

Family

ID=87873947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211186345.1A Pending CN116719439A (en) 2022-09-27 2022-09-27 Infrared signal scanning method and device

Country Status (1)

Country Link
CN (1) CN116719439A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110279412A1 (en) * 2010-05-13 2011-11-17 Waltop International Corporation Scanning method for determining a touch position of a touch input apparatus
US20120056853A1 (en) * 2010-09-03 2012-03-08 Toshiba Tec Kabushiki Kaisha Optical touch device and method therefor
CN103513826A (en) * 2012-06-29 2014-01-15 北京汇冠新技术股份有限公司 Infrared touch screen scanning method
US20140028588A1 (en) * 2012-07-06 2014-01-30 Ece Infrared detection device and method with predictable multitouch touch control
US20150042582A1 (en) * 2012-03-26 2015-02-12 Rndplus Co., Ltd. Multi-touch screen device
US20160246431A1 (en) * 2014-06-11 2016-08-25 BOE Technology Group Co. Ltd Touch device and method for driving the same
CN108536337A (en) * 2018-03-20 2018-09-14 广州华欣电子科技有限公司 The method and infrared touch frame of infrared touch frame scanning
CN109358774A (en) * 2018-11-15 2019-02-19 广州华欣电子科技有限公司 Infrared touch panel scan method, device, equipment and medium
CN110968222A (en) * 2019-12-13 2020-04-07 深圳市康冠商用科技有限公司 Infrared touch screen tracking scanning method and device, electronic equipment and storage medium
CN110989874A (en) * 2019-12-13 2020-04-10 深圳市康冠商用科技有限公司 Infrared touch signal acquisition method and device, electronic equipment and storage medium
CN112462984A (en) * 2020-12-21 2021-03-09 安徽鸿程光电有限公司 Infrared touch scanning method and device and storage medium
CN112799546A (en) * 2021-01-26 2021-05-14 广州创知科技有限公司 Touch detection method and device, interactive panel and storage medium
CN113076031A (en) * 2021-03-31 2021-07-06 青岛海信商用显示股份有限公司 Display device, touch positioning method and device
CN114690965A (en) * 2020-12-31 2022-07-01 广州视源电子科技股份有限公司 Interaction device, interaction method and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110279412A1 (en) * 2010-05-13 2011-11-17 Waltop International Corporation Scanning method for determining a touch position of a touch input apparatus
US20120056853A1 (en) * 2010-09-03 2012-03-08 Toshiba Tec Kabushiki Kaisha Optical touch device and method therefor
US20150042582A1 (en) * 2012-03-26 2015-02-12 Rndplus Co., Ltd. Multi-touch screen device
CN103513826A (en) * 2012-06-29 2014-01-15 北京汇冠新技术股份有限公司 Infrared touch screen scanning method
US20140028588A1 (en) * 2012-07-06 2014-01-30 Ece Infrared detection device and method with predictable multitouch touch control
US20160246431A1 (en) * 2014-06-11 2016-08-25 BOE Technology Group Co. Ltd Touch device and method for driving the same
CN108536337A (en) * 2018-03-20 2018-09-14 广州华欣电子科技有限公司 The method and infrared touch frame of infrared touch frame scanning
CN109358774A (en) * 2018-11-15 2019-02-19 广州华欣电子科技有限公司 Infrared touch panel scan method, device, equipment and medium
CN110968222A (en) * 2019-12-13 2020-04-07 深圳市康冠商用科技有限公司 Infrared touch screen tracking scanning method and device, electronic equipment and storage medium
CN110989874A (en) * 2019-12-13 2020-04-10 深圳市康冠商用科技有限公司 Infrared touch signal acquisition method and device, electronic equipment and storage medium
CN112462984A (en) * 2020-12-21 2021-03-09 安徽鸿程光电有限公司 Infrared touch scanning method and device and storage medium
CN114690965A (en) * 2020-12-31 2022-07-01 广州视源电子科技股份有限公司 Interaction device, interaction method and storage medium
CN112799546A (en) * 2021-01-26 2021-05-14 广州创知科技有限公司 Touch detection method and device, interactive panel and storage medium
CN113076031A (en) * 2021-03-31 2021-07-06 青岛海信商用显示股份有限公司 Display device, touch positioning method and device

Similar Documents

Publication Publication Date Title
US10783364B2 (en) Method, apparatus and device for waking up voice interaction function based on gesture, and computer readable medium
US10810413B2 (en) Wakeup method, apparatus and device based on lip reading, and computer readable medium
US9930005B2 (en) Method, device and system for processing DNS cache information
CN108923865B (en) Calibration method and device of infrared distance sensor, mobile terminal and storage medium
CN106937258B (en) A kind of control method of broadcast, device and mobile terminal
CN111198759A (en) Memory optimization method, system, terminal equipment and readable storage medium
CN111414843B (en) Gesture recognition method and terminal device
CN105512033A (en) Automated testing method and device of mobile terminal and mobile terminal
CN109661671B (en) Improvement of image classification using boundary bitmaps
CN116719439A (en) Infrared signal scanning method and device
EP4092529A1 (en) Service scheduling method and apparatus, electronic device, and storage medium
US20210141677A1 (en) Broadcast sending control method and apparatus, storage medium, and electronic device
CN106294123B (en) The matched method, device and mobile terminal in path in a kind of test of traversal
CN109799492B (en) Method and device for adjusting output power of microwave radar equipment
CN110471573B (en) Infrared signal adjusting method, device, equipment, medium and infrared touch frame
CN116107450A (en) Touch point identification method and device of infrared touch screen and infrared touch screen
CN112526494A (en) Method and device for acquiring ranging data, storage medium and electronic device
CN113901076A (en) Data synchronization method, device, server and storage medium
CN109657517B (en) Miniature two-dimensional code identification method and device, readable storage medium and code scanning gun
US20200311466A1 (en) Proposal processing method and related products
CN116782394A (en) Synchronization signal mapping method, synchronization signal mapping device, computer equipment and storage medium
CN101813983A (en) Method and device for solving optical finger navigation light interference
CN108108115B (en) Shortcut execution method and system based on touch screen
CN111866527B (en) Resource distribution system based on attitude detection
CN113566955B (en) Desktop illuminance acquisition method, lighting device, storage medium, and electronic apparatus

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