CN111061396B - Infrared touch background value configuration method and device, electronic equipment and storage medium - Google Patents

Infrared touch background value configuration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111061396B
CN111061396B CN201911282617.6A CN201911282617A CN111061396B CN 111061396 B CN111061396 B CN 111061396B CN 201911282617 A CN201911282617 A CN 201911282617A CN 111061396 B CN111061396 B CN 111061396B
Authority
CN
China
Prior art keywords
receiving
voltage value
light path
infrared
lamp
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.)
Active
Application number
CN201911282617.6A
Other languages
Chinese (zh)
Other versions
CN111061396A (en
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.)
Shenzhen KTC Commercial Technology Co Ltd
Original Assignee
Shenzhen KTC Commercial 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 Shenzhen KTC Commercial Technology Co Ltd filed Critical Shenzhen KTC Commercial Technology Co Ltd
Priority to CN201911282617.6A priority Critical patent/CN111061396B/en
Publication of CN111061396A publication Critical patent/CN111061396A/en
Application granted granted Critical
Publication of CN111061396B publication Critical patent/CN111061396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
    • 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/0412Digitisers structurally integrated in a display
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses an infrared touch background value configuration method, an infrared touch background value configuration device, electronic equipment and a storage medium, wherein the method comprises the following steps: controlling any one of the emitting lamps in the infrared touch screen to emit infrared signals, and receiving light path receiving signals corresponding to the infrared signals from corresponding receiving lamps according to preset infrared signal receiving rules; acquiring attenuation parameters corresponding to each inclined light path voltage value according to the reference light path voltage value and the reference light path voltage value; acquiring a voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter; and configuring a voltage threshold value corresponding to each receiving lamp according to the voltage background value. By the method, the voltage threshold value of each receiving lamp can be accurately configured, so that the accuracy of acquiring touch information is improved, the phenomenon of false touch caused by a user in touch operation is avoided, and the method is particularly suitable for a large-size touch screen or an infrared touch screen with poor consistency of an external light path.

Description

Infrared touch background value configuration method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for configuring an infrared touch background value, an electronic device, and a storage medium.
Background
Along with the popularization of electronic products, electronic devices with touch screens are increasingly popular, the electronic devices are used for sensing touch operations of users by scanning touch sensors in the touch screens, the traditional touch information acquisition methods are used for acquiring voltage values of infrared light paths and judging whether the voltage values are not larger than a preset voltage threshold or not, or judging whether the ratio between the voltage values of the infrared light paths and initial voltage values of a transmitting lamp is not larger than a preset percentage or not so as to acquire blocked infrared light paths and acquire touch information, and the preset percentage or the preset voltage threshold is a touch background value. However, when the uniformity of the infrared light path in the infrared touch screen is poor, the touch information obtained according to the traditional method is inaccurate, so that the false touch phenomenon occurs when a user performs a touch operation, and the false touch phenomenon is particularly serious in a large-size touch screen. Therefore, the prior art method has the problem that the accuracy is not high when the touch information is acquired according to the configured touch background value.
Disclosure of Invention
The embodiment of the invention provides an infrared touch background value configuration method, an infrared touch background value configuration device, electronic equipment and a storage medium, and aims to solve the problem that in the prior art method, accuracy is not high when touch information is acquired according to the configured touch background value.
In a first aspect, an embodiment of the present invention provides a method for configuring an infrared touch background value, including:
controlling any one of the emitting lamps in the infrared touch screen to emit an infrared signal, and receiving an optical path receiving signal corresponding to the infrared signal from a corresponding receiving lamp according to a preset infrared signal receiving rule, wherein the optical path receiving signal comprises a reference optical path voltage value, a reference optical path voltage value and an inclined optical path voltage value;
acquiring attenuation parameters corresponding to each inclined light path voltage value according to the reference light path voltage value and the reference light path voltage value;
acquiring a voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter;
and configuring a voltage threshold value corresponding to each receiving lamp according to the voltage background value.
In a second aspect, an embodiment of the present invention provides an infrared touch background value configuration apparatus, including:
The optical path receiving signal acquisition unit is used for controlling any one of the emitting lamps in the infrared touch screen to emit infrared signals, and receiving optical path receiving signals corresponding to the infrared signals from the corresponding receiving lamps according to preset infrared signal receiving rules, wherein the optical path receiving signals comprise a reference optical path voltage value, a reference optical path voltage value and an inclined optical path voltage value;
the attenuation parameter acquisition unit is used for acquiring attenuation parameters corresponding to each inclined optical path voltage value according to the reference optical path voltage value and the reference optical path voltage value;
the voltage background value acquisition unit is used for acquiring the voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter;
and the voltage threshold configuration unit is used for configuring the voltage threshold corresponding to each receiving lamp according to the voltage background value.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, an infrared touch screen, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for configuring an infrared touch background value according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to perform the method for configuring an infrared touch background value according to the first aspect.
The embodiment of the invention provides an infrared touch background value configuration method, an infrared touch background value configuration device, electronic equipment and a storage medium. Receiving optical path receiving signals corresponding to infrared signals emitted by any emission lamp according to an infrared signal receiving rule, acquiring attenuation parameters corresponding to voltage values of each inclined optical path according to the optical path receiving signals, acquiring voltage background values of an infrared touch screen according to reference optical path voltage values and the attenuation parameters, and configuring voltage thresholds of each receiving lamp according to the voltage background values. By the method, the voltage threshold value of each receiving lamp can be accurately configured, so that the accuracy of acquiring touch information is improved, the false touch phenomenon caused by a user in touch operation is avoided, the method is particularly suitable for a large-size touch screen or an infrared touch screen with poor consistency of an external light path, and good technical effects are achieved in the actual use process.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of an infrared touch background value configuration method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a use state of an infrared touch background value configuration method according to an embodiment of the present invention;
FIG. 3 is a schematic sub-flowchart of an infrared touch background value configuration method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another sub-flowchart of the method for configuring an infrared touch background value according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another sub-flowchart of an infrared touch background value configuration method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another sub-flowchart of an infrared touch background value configuration method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another sub-flowchart of an infrared touch background value configuration method according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of an infrared touch background value configuration device provided by an embodiment of the present invention;
Fig. 9 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 is a flowchart illustrating an infrared touch background value configuration method according to an embodiment of the invention. The method is applied to electronic equipment with an infrared touch screen, the method is executed through application software installed in the electronic equipment, and the electronic equipment is equipment for executing the method for configuring the infrared touch background value to configure the touch background value of the infrared touch screen, such as a tablet personal computer, a mobile phone, a flat television, intelligent wearable equipment (such as a smart watch and a smart bracelet), a handwriting input tablet and the like.
As shown in fig. 1, the method includes steps S110 to S140.
S110, controlling any one of the emitting lamps in the infrared touch screen to emit infrared signals, and receiving optical path receiving signals corresponding to the infrared signals from corresponding receiving lamps according to preset infrared signal receiving rules, wherein the optical path receiving signals comprise a reference optical path voltage value, a reference optical path voltage value and an inclined optical path voltage value.
Any one of the emitting lamps in the infrared touch screen is controlled to emit infrared signals, and light path receiving signals corresponding to the infrared signals are received from corresponding receiving lamps according to preset infrared signal receiving rules, wherein the light path receiving signals comprise a reference light path voltage value, a reference light path voltage value and an inclined light path voltage value. The infrared touch screen is a rectangular or square area, the infrared touch screen comprises transmitting lamps and receiving lamps, the number of the transmitting lamps is equal to that of the receiving lamps, the receiving lamps are located on any one of the upper side or the lower side of the infrared touch screen and any one of the left side or the right side of the infrared touch screen, the transmitting lamps are opposite to the receiving lamps, and a user can touch the infrared touch screen by using hands, handwriting pens or other components. The infrared light is controlled to emit infrared signals, the receiving lamps opposite to the emitting lamps and the peripheral receiving lamps can receive the infrared signals, a certain emitting lamp is controlled to be lightened to emit the infrared signals, and the infrared signals received by the receiving lamps on a certain infrared light path corresponding to the emitting lamps are obtained according to the receiving rule of the infrared signals, so that the voltage value of the infrared light path can be obtained.
The preset infrared signal receiving rule is a rule for scanning an infrared light path in the infrared touch screen to acquire a management receiving signal, controlling any sending lamp in the infrared touch screen to emit an infrared signal, and acquiring an infrared voltage value received by a corresponding receiving lamp according to the infrared signal receiving rule. Specifically, the optical path receiving signal includes a reference optical path voltage value, a reference optical path voltage value and an inclined optical path voltage value, where the reference optical path voltage value is only one, the reference optical path voltage value and the inclined optical path voltage value are multiple and equal in number, the reference optical path voltage value is an infrared voltage value received by one receiving lamp opposite to the transmitting lamp, the inclined optical path voltage value is an infrared voltage value received by other receiving lamps around the receiving lamp opposite to the transmitting lamp, and the reference optical path voltage value is an infrared voltage value received by the receiving lamp towards which the transmitting lamp faces when the transmitting lamp faces the other receiving lamps around the receiving lamp opposite to the transmitting lamp.
Fig. 2 is a schematic diagram of a use state of the method for configuring an infrared touch background value according to the embodiment of the present invention, as shown in fig. 2, in this embodiment, the receiving lamps are located on the upper side and the left side of the infrared touch screen, and the transmitting lamps are located on the right side and the lower side opposite to the receiving lamps.
In one embodiment, as shown in FIG. 3, step S110 includes sub-steps S111, S112, S113, and S114.
And S111, taking a receiving lamp opposite to the transmitting lamp as a reference receiving lamp, and acquiring a voltage value received by the reference receiving lamp as a reference light path voltage value.
And taking the receiving lamp opposite to the transmitting lamp as a reference receiving lamp, and acquiring a voltage value received by the reference receiving lamp as a reference light path voltage value.
For example, in fig. 2, a working process when one transmitting lamp T9 on the lower side of the infrared touch screen transmits an infrared signal to a receiving lamp R9 opposite to the transmitting lamp T9 is illustrated, then R9 is a reference receiving lamp, the infrared signal transmitted by the transmitting lamp T9 is received by the reference receiving lamp R9, and the voltage value received by the reference receiving lamp R9 is obtained as the voltage value of the infrared light path V0, that is, the process of obtaining the voltage value of the reference light path.
S112, determining that a plurality of receiving lamps which are close to the reference receiving lamp are inclined receiving lamps according to the inclined light path number in the infrared signal receiving rule.
And determining a plurality of receiving lamps which are close to the reference receiving lamp as inclined receiving lamps according to the inclined light path number in the infrared signal receiving rule. The number of the inclined light paths is the information for determining the number of the inclined receiving lamps, and a plurality of receiving lamps which are close to the reference receiving lamps can be determined to be the inclined receiving lamps according to the number of the inclined light paths.
In one embodiment, as shown in FIG. 4, step S112 includes sub-steps S1121 and S1122.
S1121, randomly selecting one side of the reference receiving lamp as a target side.
And S1122, acquiring a plurality of receiving lamps which are close to the reference receiving lamp in the target side according to the inclined light path number as inclined receiving lamps.
When the inclined receiving lamp is acquired, any one side of the reference receiving lamp can be selected as a target side, and a plurality of receiving lamps, which are close to the reference receiving lamp, on the target side can be acquired as the inclined receiving lamps according to the number of inclined light paths, namely the number of the inclined receiving lamps is equal to the number of the inclined light paths.
For example, in fig. 2, a working process when one transmitting lamp T9 on the lower side of the infrared touch screen transmits an infrared signal to a receiving lamp R9 opposite to the transmitting lamp T9 is illustrated, where R9 is a reference receiving lamp, the left side of the reference receiving lamp R9 is selected as the target side, and the number of inclined light paths is 5, and R4, R5, R6, R7, and R8 on the left side of the reference lamp are selected as the corresponding 5 inclined receiving lamps.
In one embodiment, as shown in FIG. 5, step S112 includes sub-steps S1123 and S1124.
And S1123, taking the left side and the right side of the reference receiving lamp as target sides.
And S1124, respectively acquiring a plurality of receiving lamps, which are close to the reference receiving lamp, in the target side according to the inclined light path number as inclined receiving lamps.
When the oblique receiving lamps are acquired, two sides of the reference receiving lamp can be selected as target sides at the same time, and a plurality of receiving lamps, which are close to the reference receiving lamp, on the target sides can be acquired as the oblique receiving lamps according to the number of oblique light paths, namely, the number of the oblique receiving lamps is twice the number of the oblique light paths.
For example, in fig. 2, a working process when one transmitting lamp T9 on the lower side of the infrared touch screen transmits an infrared signal toward a receiving lamp R9 opposite to the transmitting lamp T9 is illustrated, where R9 is a reference receiving lamp, the left and right sides of the reference receiving lamp R9 are selected as target sides, and if the number of oblique light paths is 5, R4, R5, R6, R7, R8, R10, R11, R12, R13 and R14 on the left and right sides of the reference receiving lamp are selected as corresponding 10 oblique receiving lamps, and when obtaining an oblique light path voltage value or a reference light path voltage value, the voltage values received by the corresponding two oblique receiving lamps may be averaged to obtain a corresponding oblique light path voltage value or a reference light path voltage value, for example, the voltage value received by R4 and the voltage value received by R14 may be averaged.
S113, controlling the transmitting lamp to transmit infrared signals to the reference receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding inclined light path voltage values.
And controlling the transmitting lamp to transmit infrared signals to the reference receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a voltage value corresponding to a plurality of inclined light paths.
For example, in fig. 2, a working process when one transmitting lamp T9 at the lower side of the infrared touch screen transmits an infrared signal to a receiving lamp R9 opposite to the transmitting lamp T9 is illustrated, where R9 is a reference receiving lamp, R4, R5, R6, R7 and R8 are corresponding 5 oblique receiving lamps, the infrared signal transmitted by the transmitting lamp T9 is simultaneously received by R4, R5, R6, R7 and R8, a voltage value received by the receiving lamp R4 through the infrared light path L5 is obtained as a corresponding oblique light path voltage value, and after the voltage values received by the remaining four oblique receiving lamps are obtained simultaneously according to the above method, the corresponding five oblique light path voltage values can be obtained.
And S114, controlling the transmitting lamp to transmit infrared signals towards each inclined receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding reference light path voltage values.
And controlling the transmitting lamp to transmit infrared signals towards each inclined receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding reference light path voltage values.
For example, in fig. 2, a working process when one transmitting lamp T9 on the lower side of the infrared touch screen transmits an infrared signal toward a receiving lamp R9 opposite to the transmitting lamp T9 is illustrated, then R9 is a reference receiving lamp, R4, R5, R6, R7 and R8 are corresponding 5 inclined receiving lamps, the directions of the transmitting lamps T9 are adjusted, the infrared signal is transmitted toward R4, R5, R6, R7 and R8 respectively, the voltage value received by R4 when the transmitting lamp T9 transmits the infrared signal toward R4 is recorded, the directions of the transmitting lamps T9 are sequentially adjusted, and the voltage values received by R5, R6, R7 and R8 are respectively obtained according to the above method, so that a plurality of corresponding reference light path voltage values can be obtained.
S120, obtaining attenuation parameters corresponding to each inclined light path voltage value according to the reference light path voltage value and the reference light path voltage value.
And acquiring attenuation parameters corresponding to each inclined light path voltage value according to the reference light path voltage value and the reference light path voltage value. The attenuation parameters comprise a distance attenuation factor and an angle attenuation factor, wherein the distance attenuation factor can be expressed by alpha, and the angle attenuation factor can be expressed by beta. Because the surface of the infrared touch screen is made of glass, the infrared signal emitted by the transmitting lamp has reflection and diffraction on the infrared touch screen, the infrared voltage value received by the receiving lamp has certain attenuation relative to the infrared signal emitted by the transmitting lamp, and the attenuation parameters can quantify the attenuation of the infrared signal. If the transmitting lamp transmits an infrared signal towards the receiving lamp, the infrared voltage value received by the receiving lamp only has distance attenuation and no angle attenuation, namely, the obtained reference light path voltage value and the reference light path voltage value only have distance attenuation and no angle attenuation; if the transmitting lamp does not transmit infrared signals towards the receiving lamp, the infrared voltage value received by the receiving lamp has not only distance attenuation but also angle attenuation, namely the obtained inclined light path voltage value has both distance attenuation and angle attenuation. The attenuation parameter of each inclined light path voltage value can be determined based on the reference light path voltage value and the reference light path voltage value.
In one embodiment, as shown in FIG. 6, step S120 includes sub-steps S121 and S122. S121, determining a distance attenuation factor corresponding to each reference light path voltage value as the distance attenuation factor of the inclined light path voltage value according to the reference light path voltage value.
And determining a distance attenuation factor corresponding to each reference light path voltage value as the distance attenuation factor of the inclined light path voltage value according to the reference light path voltage value. Specifically, a difference value between the reference light path voltage value and each reference light path voltage value is obtained, and the ratio of the difference value to the reference light path voltage value is used as a distance attenuation factor of the corresponding reference light path voltage value.
The calculation formula can be expressed as: alpha x =(S V0 -S x )/S V0 Wherein S is V0 Is the reference light path voltage value S x For any reference light path voltage value, alpha x Is a distance attenuation factor corresponding to the reference light path voltage value.
The reference light path voltage value corresponds to the inclined light path voltage value one by one, namely the same infrared light path correspondingly comprises a reference light path voltage value and an inclined light path voltage value, the reference light path voltage value of the same infrared light path and the transmission light path of the inclined light path voltage value are the same, and only the difference exists between the reference light path voltage value and the transmission light path of the inclined light path voltage value in the transmitting angle of the infrared signal, so that the distance attenuation factors of the reference light path voltage value and the inclined light path voltage value are equal, and the distance attenuation factor of any reference light path voltage value can be used as the distance attenuation factor of the inclined light path voltage value corresponding to the reference light path voltage value.
For example, according to the above method, the obtained plurality of distance attenuation factors are shown in table 1.
Infrared light path number L1 L2 L3 L4 L5
Alpha value 0.03 0.05 0.13 0.17 0.22
TABLE 1
S122, determining an angle attenuation factor of the inclined light path voltage value corresponding to each distance attenuation factor according to the reference light path voltage value.
And determining an angle attenuation factor of the inclined light path voltage value corresponding to each distance attenuation factor according to the reference light path voltage value. Specifically, the reference light path voltage value corresponds to the inclined light path voltage value one by one, that is, the same infrared light path corresponds to the inclined light path voltage value and comprises one reference light path voltage value and one inclined light path voltage value, specifically, a difference value between the reference light path voltage value and each inclined light path voltage value is obtained, the ratio of the difference value to the reference light path voltage value is used as a comprehensive attenuation factor of the corresponding inclined light path voltage value, and the comprehensive attenuation factor of each inclined light path voltage value is subtracted by a distance attenuation factor corresponding to the inclined light path voltage value to obtain an angle attenuation factor corresponding to each inclined light path voltage value.
The calculation formula can be expressed as: alpha z =(S V0 -S y )/S V0 Wherein S is V0 Is the reference light path voltage value S y For any oblique light path voltage value, alpha z Is a comprehensive attenuation factor corresponding to the voltage value of the inclined light path; the angle attenuation factor can be obtained by the calculation formula: beta x =α zx ,β x An angle attenuation factor alpha as any inclined light path voltage value z Alpha is the corresponding comprehensive attenuation factor x Is the corresponding distance attenuation factor.
For example, according to the above method, a plurality of angle attenuation factors are obtained as shown in table 2.
Infrared light path number L1 L2 L3 L4 L5
Beta value 0.05 0.055 0.07 0.10 0.12
TABLE 2
In addition, in order to make the acquired attenuation parameters more accurate, a mode of repeatedly acquiring the attenuation parameters for a plurality of times and taking an average value can be adopted to acquire the more accurate attenuation parameters.
S130, acquiring a voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter.
And acquiring the voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter. The theoretical voltage value which can be received by each receiving lamp during the operation of the infrared touch screen can be obtained according to the reference light path voltage value and the attenuation parameter, so that the voltage background value of the infrared touch screen is obtained, and whether touch operation exists in the infrared touch screen can be judged according to the obtained voltage background value and the voltage value which is actually received by each receiving lamp in the infrared touch screen.
In one embodiment, as shown in FIG. 7, step S130 includes sub-steps S131 and S132.
S131, determining infrared light path information of corresponding infrared signals received by each receiving lamp in the infrared touch screen according to the attenuation parameters.
And determining infrared light path information of corresponding infrared signals received by each receiving lamp in the infrared touch screen according to the attenuation parameters. Specifically, according to the number of the distance attenuation factors or the angle attenuation factors in the attenuation parameters, the infrared light path that each receiving lamp can receive the infrared signal can be determined, namely, the infrared light path information is obtained. Specifically, if the number of distance attenuation factors or angle attenuation factors is n, the maximum number of infrared light paths that the receiving lamp can receive is 2n+1, and the minimum number of infrared light paths is n+1.
For example, as shown in fig. 2, if the angle attenuation factor is 5, the receiving lamp R9 may receive the infrared signals emitted by the emitting lamps T4, T5, T6, T7, T8, T9, T10, T11, T12, T13 and T14, and the infrared signals emitted by the 11 emitting lamps are simultaneously received by R9, so that R9 may obtain the infrared signals of the corresponding 11 infrared light paths. R0 can only receive the infrared signals emitted by the emitting lamps T0, T1, T2, T3, T4 and T5, and R0 can only obtain the infrared signals of the corresponding 6 infrared light paths.
And S132, acquiring a theoretical voltage value corresponding to each receiving lamp in the infrared light path information according to the reference light path voltage value and the attenuation parameter so as to obtain the voltage background value.
And acquiring a theoretical voltage value corresponding to each receiving lamp in the infrared light path information according to the reference light path voltage value and the attenuation parameter so as to obtain the voltage background value. And according to the infrared light path corresponding to each receiving lamp in the infrared light path information, taking the infrared voltage value which can be theoretically received by the infrared light path corresponding to each receiving lamp as the theoretical voltage value of each receiving lamp in the corresponding infrared light path, namely the obtained voltage background value of the infrared touch screen.
For example, if the reference optical path voltage value is 64mV, according to the calculation, the infrared voltage value of the infrared light path L1 is 60mV, the infrared voltage value of the infrared light path L2 is 57mV, the infrared voltage value of the infrared light path L3 is 51mV, the infrared voltage value of the infrared light path L4 is 47mV, the infrared voltage value of the infrared light path L5 is 42mV, the receiving lamp R0 can receive the infrared signals emitted by the emitting lamps T0, T1, T2, T3, T4 and T5, the infrared light path of the infrared signals received by R0 is equivalent to V0, L1, L2, L3, L4 and L5, and the theoretical voltage values corresponding to the six infrared light paths of the infrared signals received by R0 can be 64mV, 60mV, 57mV, 51mV, 47mV and 42mV, respectively.
And S140, configuring a voltage threshold corresponding to each receiving lamp according to the voltage background value.
And configuring a voltage threshold value corresponding to each receiving lamp according to the voltage background value. And configuring voltage thresholds corresponding to the receiving lamps in the infrared light paths according to the obtained voltage background values, scanning the voltage values actually received by the infrared light paths corresponding to the receiving lamps in the infrared touch screen, judging the voltage values received by the receiving lamps according to the voltage thresholds configured by the infrared light paths, namely judging whether touch operation exists in the infrared touch screen or not, and accurately positioning the touch position.
According to the configuration method for the infrared touch background value, which is provided by the embodiment of the invention, the light path receiving signals corresponding to the infrared signals emitted by any emitting lamp are received according to the infrared signal receiving rule, the attenuation parameters corresponding to the voltage values of each inclined light path are obtained according to the light path receiving signals, the voltage background value of the infrared touch screen is obtained according to the reference light path voltage values and the attenuation parameters, and the voltage threshold value of each receiving lamp is configured according to the voltage background value. By the method, the voltage threshold value of each receiving lamp can be accurately configured, so that the accuracy of acquiring touch information is improved, the false touch phenomenon caused by a user in touch operation is avoided, the method is particularly suitable for a large-size touch screen or an infrared touch screen with poor consistency of an external light path, and good technical effects are achieved in the actual use process.
The embodiment of the invention also provides an infrared touch background value configuration device which is used for executing any embodiment of the infrared touch background value configuration method. Specifically, referring to fig. 8, fig. 8 is a schematic block diagram of an infrared touch background value configuration apparatus according to an embodiment of the present invention. The infrared touch background value configuration device can be configured in an electronic device with an infrared touch screen.
As shown in fig. 8, the infrared touch background value configuration apparatus 100 includes an optical path reception signal acquisition unit 110, an attenuation parameter acquisition unit 120, a voltage background value acquisition unit 130, and a voltage threshold value configuration unit 140.
The optical path receiving signal obtaining unit 110 is configured to control any one of the sending lamps in the infrared touch screen to send an infrared signal, and receive an optical path receiving signal corresponding to the infrared signal from a corresponding receiving lamp according to a preset infrared signal receiving rule, where the optical path receiving signal includes a reference optical path voltage value, and an oblique optical path voltage value.
In other embodiments of the present invention, the optical path received signal acquisition unit 110 includes a subunit: a reference light path voltage value acquisition unit, a tilt receiving lamp determination unit, a tilt light path voltage value acquisition unit, and a reference light path voltage value acquisition unit.
The reference light path voltage value acquisition unit is used for taking a receiving lamp opposite to the transmitting lamp as a reference receiving lamp and acquiring a voltage value received by the reference receiving lamp as a reference light path voltage value; a tilt receiving lamp determining unit configured to determine, based on the number of tilt optical paths in the infrared signal receiving rule, that a plurality of receiving lamps immediately adjacent to the reference receiving lamp are tilt receiving lamps; the inclined light path voltage value acquisition unit is used for controlling the transmitting lamp to transmit infrared signals to the reference receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding inclined light path voltage values; and the reference light path voltage value acquisition unit is used for controlling the transmitting lamp to transmit infrared signals towards each inclined receiving lamp and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding reference light path voltage values.
In other inventive embodiments, the tilt-receiving lamp determining unit comprises a subunit: a first target side determining unit and a first tilt receiving lamp acquiring unit.
A first target side determining unit for randomly selecting one side of the reference receiving lamp as a target side; a first inclined receiving lamp acquisition unit configured to acquire, as inclined receiving lamps, a plurality of receiving lamps in the target side immediately adjacent to the reference receiving lamp in accordance with the inclined optical path number.
In other inventive embodiments, the tilt-receiving lamp determining unit comprises a subunit: a second target side determining unit and a first tilt receiving lamp acquiring unit.
A second target side determining unit configured to set both left and right sides of the reference receiving lamp as target sides; a first inclined receiving lamp acquisition unit configured to acquire, as inclined receiving lamps, a plurality of receiving lamps in the target side immediately adjacent to the reference receiving lamp, respectively, in accordance with the number of inclined optical paths
And the attenuation parameter obtaining unit 120 is configured to obtain an attenuation parameter corresponding to each inclined optical path voltage value according to the reference optical path voltage value and the reference optical path voltage value.
In other embodiments of the present invention, the attenuation parameter obtaining unit 120 includes a subunit: a distance attenuation factor acquisition unit and an angle attenuation factor acquisition unit.
A distance attenuation factor obtaining unit, configured to determine, according to the reference optical path voltage values, a distance attenuation factor corresponding to each reference optical path voltage value as a distance attenuation factor of the oblique optical path voltage value; and the angle attenuation factor acquisition unit is used for determining the angle attenuation factor of the inclined light path voltage value corresponding to each distance attenuation factor according to the reference light path voltage value.
And the voltage background value obtaining unit 130 is configured to obtain a voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter.
In other embodiments of the present invention, the voltage background value obtaining unit 130 includes a subunit: an infrared light path information determining unit and a theoretical voltage value acquiring unit.
The infrared light path information determining unit is used for determining the infrared light path information of the corresponding infrared signals received by each receiving lamp in the infrared touch screen according to the attenuation parameters; and the theoretical voltage value acquisition unit is used for acquiring the theoretical voltage value corresponding to each receiving lamp in the infrared light path information according to the reference light path voltage value and the attenuation parameter so as to obtain the voltage background value.
And a voltage threshold configuration unit 140, configured to configure a voltage threshold corresponding to each receiving lamp according to the voltage background value.
The configuration device for the infrared touch background value provided by the embodiment of the invention is used for executing the configuration method for the infrared touch background value, receiving the light path receiving signals corresponding to the infrared signals emitted by any emission lamp according to the infrared signal receiving rule, acquiring the attenuation parameters corresponding to the voltage values of each inclined light path according to the light path receiving signals, acquiring the voltage background value of the infrared touch screen according to the reference light path voltage values and the attenuation parameters, and configuring the voltage threshold value of each receiving lamp according to the voltage background value. By the method, the voltage threshold value of each receiving lamp can be accurately configured, so that the accuracy of acquiring touch information is improved, the false touch phenomenon caused by a user in touch operation is avoided, the method is particularly suitable for a large-size touch screen or an infrared touch screen with poor consistency of an external light path, and good technical effects are achieved in the actual use process.
The above-described infrared touch background value configuration means may be implemented in the form of a computer program that can be run on an electronic device as shown in fig. 9.
Referring to fig. 9, fig. 9 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Referring to fig. 9, the electronic device 500 includes a processor 502, a memory, and an infrared touch screen 505, which are connected by a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform an infrared touch background value configuration method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall electronic device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform an infrared touch background value configuration method.
The infrared touch screen 505 is used to receive a touch operation by a user, and the user can perform a touch operation on the infrared touch screen 505 using a hand, a stylus, or other means. It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the electronic device 500 to which the present inventive arrangements are applied, and that a particular electronic device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in a memory to perform the following functions: controlling any one of the emitting lamps in the infrared touch screen to emit an infrared signal, and receiving an optical path receiving signal corresponding to the infrared signal from a corresponding receiving lamp according to a preset infrared signal receiving rule, wherein the optical path receiving signal comprises a reference optical path voltage value, a reference optical path voltage value and an inclined optical path voltage value; acquiring attenuation parameters corresponding to each inclined light path voltage value according to the reference light path voltage value and the reference light path voltage value; acquiring a voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter; and configuring a voltage threshold value corresponding to each receiving lamp according to the voltage background value.
In one embodiment, when the processor 502 performs the step of controlling any one of the sending lamps in the infrared touch screen to send an infrared signal, and receiving an optical path receiving signal corresponding to the infrared signal from a corresponding receiving lamp according to a preset infrared signal receiving rule, the following operations are performed: taking a receiving lamp opposite to the transmitting lamp as a reference receiving lamp, and acquiring a voltage value received by the reference receiving lamp as a reference light path voltage value; determining a plurality of receiving lamps which are close to the reference receiving lamp as inclined receiving lamps according to the inclined light path number in the infrared signal receiving rule; controlling the emitting lamp to emit infrared signals to the reference receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding inclined light path voltage values; and controlling the transmitting lamp to transmit infrared signals towards each inclined receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding reference light path voltage values.
In one embodiment, the processor 502 performs the following operations when performing the step of determining that the plurality of receiving lamps immediately adjacent to the reference receiving lamp are oblique receiving lamps according to the oblique light path number in the infrared signal receiving rule: randomly selecting one side of the reference receiving lamp as a target side; and acquiring a plurality of receiving lamps, which are close to the reference receiving lamp, in the target side according to the inclined light path number as inclined receiving lamps.
In one embodiment, the processor 502 performs the following operations when performing the step of determining that the plurality of receiving lamps immediately adjacent to the reference receiving lamp are oblique receiving lamps according to the oblique light path number in the infrared signal receiving rule: taking the left side and the right side of the reference receiving lamp as target sides; and respectively acquiring a plurality of receiving lamps, which are close to the reference receiving lamp, in the target side according to the inclined light path number as inclined receiving lamps.
In one embodiment, the processor 502 performs the following operations when performing the step of obtaining the attenuation parameter corresponding to each of the oblique optical path voltage values according to the reference optical path voltage value and the reference optical path voltage value: determining a distance attenuation factor corresponding to each reference light path voltage value as a distance attenuation factor of the inclined light path voltage value according to the reference light path voltage value; and determining an angle attenuation factor of the inclined light path voltage value corresponding to each distance attenuation factor according to the reference light path voltage value.
In one embodiment, the processor 502 performs the following operations when performing the step of obtaining the voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter: determining infrared light path information of corresponding infrared signals received by each receiving lamp in the infrared touch screen according to the attenuation parameters; and acquiring a theoretical voltage value corresponding to each receiving lamp in the infrared light path information according to the reference light path voltage value and the attenuation parameter so as to obtain the voltage background value.
It will be appreciated by those skilled in the art that the embodiment of the electronic device shown in fig. 9 is not limiting of the specific construction of the electronic device, and in other embodiments the electronic device may include more or less components than illustrated, or certain components may be combined, or a different arrangement of components. For example, in some embodiments, the electronic device may include only a memory, a processor, and an infrared touch screen, and in such embodiments, the structure and functions of the memory, the processor, and the infrared touch screen are consistent with those of the embodiment shown in fig. 9, and are not described herein.
It should be appreciated that in embodiments of the present invention, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable gate arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program when executed by a processor performs the steps of: controlling any one of the emitting lamps in the infrared touch screen to emit an infrared signal, and receiving an optical path receiving signal corresponding to the infrared signal from a corresponding receiving lamp according to a preset infrared signal receiving rule, wherein the optical path receiving signal comprises a reference optical path voltage value, a reference optical path voltage value and an inclined optical path voltage value; acquiring attenuation parameters corresponding to each inclined light path voltage value according to the reference light path voltage value and the reference light path voltage value; acquiring a voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter; and configuring a voltage threshold value corresponding to each receiving lamp according to the voltage background value.
In an embodiment, the step of controlling any one of the sending lamps in the infrared touch screen to send an infrared signal, and receiving an optical path receiving signal corresponding to the infrared signal from a corresponding receiving lamp according to a preset infrared signal receiving rule includes: taking a receiving lamp opposite to the transmitting lamp as a reference receiving lamp, and acquiring a voltage value received by the reference receiving lamp as a reference light path voltage value; determining a plurality of receiving lamps which are close to the reference receiving lamp as inclined receiving lamps according to the inclined light path number in the infrared signal receiving rule; controlling the emitting lamp to emit infrared signals to the reference receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding inclined light path voltage values; and controlling the transmitting lamp to transmit infrared signals towards each inclined receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding reference light path voltage values.
In one embodiment, the step of determining that the plurality of receiving lamps immediately adjacent to the reference receiving lamp are oblique receiving lamps according to the oblique light path number in the infrared signal receiving rule includes: randomly selecting one side of the reference receiving lamp as a target side; and acquiring a plurality of receiving lamps, which are close to the reference receiving lamp, in the target side according to the inclined light path number as inclined receiving lamps.
In one embodiment, the step of determining that the plurality of receiving lamps immediately adjacent to the reference receiving lamp are oblique receiving lamps according to the oblique light path number in the infrared signal receiving rule includes: taking the left side and the right side of the reference receiving lamp as target sides; and respectively acquiring a plurality of receiving lamps, which are close to the reference receiving lamp, in the target side according to the inclined light path number as inclined receiving lamps.
In an embodiment, the step of obtaining the attenuation parameter corresponding to each inclined optical path voltage value according to the reference optical path voltage value and the reference optical path voltage value includes: determining a distance attenuation factor corresponding to each reference light path voltage value as a distance attenuation factor of the inclined light path voltage value according to the reference light path voltage value; and determining an angle attenuation factor of the inclined light path voltage value corresponding to each distance attenuation factor according to the reference light path voltage value.
In an embodiment, the step of obtaining the voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter includes: determining infrared light path information of corresponding infrared signals received by each receiving lamp in the infrared touch screen according to the attenuation parameters; and acquiring a theoretical voltage value corresponding to each receiving lamp in the infrared light path information according to the reference light path voltage value and the attenuation parameter so as to obtain the voltage background value.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention 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, 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 invention is essentially or partly contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a computer-readable storage medium comprising several instructions for causing an electronic device to perform all or part of the steps of the method according to the embodiments of the present invention. The computer readable storage medium is a physical, non-transitory storage medium, and the computer readable storage medium is a non-volatile storage medium, and the computer readable storage medium may be an internal storage unit of the foregoing device, for example, a hard disk of the device or a physical storage medium such as a memory. The storage medium may also be an external storage device of the device, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or other physical storage medium.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (7)

1. An infrared touch background value configuration method is characterized by being applied to an electronic device with an infrared touch screen, and comprises the following steps:
controlling any one of the emitting lamps in the infrared touch screen to emit an infrared signal, and receiving an optical path receiving signal corresponding to the infrared signal from a corresponding receiving lamp according to a preset infrared signal receiving rule, wherein the optical path receiving signal comprises a reference optical path voltage value, a reference optical path voltage value and an inclined optical path voltage value;
acquiring attenuation parameters corresponding to each inclined light path voltage value according to the reference light path voltage value and the reference light path voltage value;
acquiring a voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter;
Configuring a voltage threshold value corresponding to each receiving lamp according to the voltage background value;
the receiving, according to a preset infrared signal receiving rule, the optical path receiving signal corresponding to the infrared signal from the corresponding receiving lamp, including:
taking a receiving lamp opposite to the transmitting lamp as a reference receiving lamp, and acquiring a voltage value received by the reference receiving lamp as a reference light path voltage value;
determining a plurality of receiving lamps which are close to the reference receiving lamp as inclined receiving lamps according to the inclined light path number in the infrared signal receiving rule;
controlling the emitting lamp to emit infrared signals to the reference receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding inclined light path voltage values;
controlling the emitting lamp to emit infrared signals towards each inclined receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding reference light path voltage values;
the attenuation parameters comprise a distance attenuation factor and an angle attenuation factor, and the attenuation parameters corresponding to each inclined optical path voltage value are obtained according to the reference optical path voltage value and the reference optical path voltage value, and the attenuation parameters comprise:
Determining a distance attenuation factor corresponding to each reference light path voltage value as a distance attenuation factor of the inclined light path voltage value according to the reference light path voltage value;
and determining an angle attenuation factor of the inclined light path voltage value corresponding to each distance attenuation factor according to the reference light path voltage value.
2. The method according to claim 1, wherein the determining that the plurality of receiving lamps immediately adjacent to the reference receiving lamp are oblique receiving lamps according to the oblique light path number in the infrared signal receiving rule comprises:
randomly selecting one side of the reference receiving lamp as a target side;
and acquiring a plurality of receiving lamps, which are close to the reference receiving lamp, in the target side according to the inclined light path number as inclined receiving lamps.
3. The method according to claim 1, wherein the determining that the plurality of receiving lamps immediately adjacent to the reference receiving lamp are oblique receiving lamps according to the oblique light path number in the infrared signal receiving rule comprises:
taking the left side and the right side of the reference receiving lamp as target sides;
and respectively acquiring a plurality of receiving lamps, which are close to the reference receiving lamp, in the target side according to the inclined light path number as inclined receiving lamps.
4. The method for configuring an infrared touch background value according to claim 1, wherein the obtaining the voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter includes:
determining infrared light path information of corresponding infrared signals received by each receiving lamp in the infrared touch screen according to the attenuation parameters;
and acquiring a theoretical voltage value corresponding to each receiving lamp in the infrared light path information according to the reference light path voltage value and the attenuation parameter so as to obtain the voltage background value.
5. An infrared touch background value configuration apparatus configured in an electronic device having an infrared touch screen, the apparatus comprising:
the optical path receiving signal acquisition unit is used for controlling any one of the emitting lamps in the infrared touch screen to emit infrared signals, and receiving optical path receiving signals corresponding to the infrared signals from the corresponding receiving lamps according to preset infrared signal receiving rules, wherein the optical path receiving signals comprise a reference optical path voltage value, a reference optical path voltage value and an inclined optical path voltage value;
the attenuation parameter acquisition unit is used for acquiring attenuation parameters corresponding to each inclined optical path voltage value according to the reference optical path voltage value and the reference optical path voltage value;
The voltage background value acquisition unit is used for acquiring the voltage background value of the infrared touch screen according to the reference light path voltage value and the attenuation parameter;
the voltage threshold configuration unit is used for configuring the voltage threshold corresponding to each receiving lamp according to the voltage background value;
the optical path received signal acquisition unit includes:
the reference light path voltage value acquisition unit is used for taking a receiving lamp opposite to the transmitting lamp as a reference receiving lamp and acquiring a voltage value received by the reference receiving lamp as a reference light path voltage value;
a tilt receiving lamp determining unit configured to determine, based on the number of tilt optical paths in the infrared signal receiving rule, that a plurality of receiving lamps immediately adjacent to the reference receiving lamp are tilt receiving lamps;
the inclined light path voltage value acquisition unit is used for controlling the transmitting lamp to transmit infrared signals to the reference receiving lamp, and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding inclined light path voltage values;
the reference light path voltage value acquisition unit is used for controlling the transmitting lamp to transmit infrared signals towards each inclined receiving lamp and acquiring the infrared voltage value received by each inclined receiving lamp as a plurality of corresponding reference light path voltage values;
The attenuation parameters comprise a distance attenuation factor and an angle attenuation factor, and the attenuation parameter acquisition unit comprises a subunit: a distance attenuation factor obtaining unit, configured to determine, according to the reference optical path voltage values, a distance attenuation factor corresponding to each reference optical path voltage value as a distance attenuation factor of the oblique optical path voltage value; and the angle attenuation factor acquisition unit is used for determining the angle attenuation factor of the inclined light path voltage value corresponding to each distance attenuation factor according to the reference light path voltage value.
6. An electronic device comprising a memory, a processor, an infrared touch screen and a computer program stored on the memory and executable on the processor, wherein the processor implements the infrared touch context value configuration method of any one of claims 1 to 4 when the computer program is executed by the processor.
7. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the infrared touch background value configuration method according to any one of claims 1 to 4.
CN201911282617.6A 2019-12-13 2019-12-13 Infrared touch background value configuration method and device, electronic equipment and storage medium Active CN111061396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911282617.6A CN111061396B (en) 2019-12-13 2019-12-13 Infrared touch background value configuration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911282617.6A CN111061396B (en) 2019-12-13 2019-12-13 Infrared touch background value configuration method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111061396A CN111061396A (en) 2020-04-24
CN111061396B true CN111061396B (en) 2023-08-01

Family

ID=70301410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911282617.6A Active CN111061396B (en) 2019-12-13 2019-12-13 Infrared touch background value configuration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111061396B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11220414A (en) * 1998-01-30 1999-08-10 Nec Ic Microcomput Syst Ltd Infrared signal receiver
CN102693048A (en) * 2012-05-31 2012-09-26 安徽大学 Infrared touch screen
CN108536337A (en) * 2018-03-20 2018-09-14 广州华欣电子科技有限公司 The method and infrared touch frame of infrared touch frame scanning
CN110083272A (en) * 2019-05-06 2019-08-02 深圳市康冠商用科技有限公司 A kind of touch localization method and relevant apparatus of infrared touch frame

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8773366B2 (en) * 2009-11-16 2014-07-08 3M Innovative Properties Company Touch sensitive device using threshold voltage signal
US8902183B2 (en) * 2012-05-21 2014-12-02 International Business Machines Corporation Display devices and methods for detecting user-intended touch input
CN103064563A (en) * 2012-12-28 2013-04-24 北京汇冠触摸技术有限公司 Signal processing and control method and signal processing and control device of infrared touch screen
CN103558949A (en) * 2013-11-08 2014-02-05 创维光电科技(深圳)有限公司 Infrared touch screen, method and system for suspension touch control
CN105426022B (en) * 2015-12-24 2018-08-14 深圳市东方中原电子科技有限公司 A kind of infrared touch panel and the multipoint positioning method based on infrared touch panel
CN106293271A (en) * 2016-08-08 2017-01-04 青岛海信电器股份有限公司 Determine the method in the dirty region of infrared touch frame, device and terminal unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11220414A (en) * 1998-01-30 1999-08-10 Nec Ic Microcomput Syst Ltd Infrared signal receiver
CN102693048A (en) * 2012-05-31 2012-09-26 安徽大学 Infrared touch screen
CN108536337A (en) * 2018-03-20 2018-09-14 广州华欣电子科技有限公司 The method and infrared touch frame of infrared touch frame scanning
CN110083272A (en) * 2019-05-06 2019-08-02 深圳市康冠商用科技有限公司 A kind of touch localization method and relevant apparatus of infrared touch frame

Also Published As

Publication number Publication date
CN111061396A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
US9658757B2 (en) Method and device for managing progress indicator display
US10545615B2 (en) Touch device and touch device recognition method
US9910541B2 (en) Mis-touch recognition method and device
US9442606B2 (en) Image based touch apparatus and control method thereof
US11281331B2 (en) Touch sensitive processing apparatus, system and method thereof
JP5366789B2 (en) Input indication tool, control method therefor, and coordinate input device
EP2899614A1 (en) Method for obtaining touch input in electronic device combining self and mutual capacitance measurements
CN106791120B (en) Control method and device for screen-off of mobile terminal
CN108923865A (en) Calibration method, device, mobile terminal and the storage medium of infrared distance sensor
WO2015032245A1 (en) Method and device for managing progress indicator display
US9285928B2 (en) Touch detection method and related optical touch system
WO2016086647A1 (en) Infrared touch screen, touch detection method and display device thereof
CN111061396B (en) Infrared touch background value configuration method and device, electronic equipment and storage medium
CN110502160B (en) Touch point classification method and device, touch screen and display
CN110989874B (en) Infrared touch signal acquisition method and device, electronic equipment and storage medium
CN110968222B (en) Infrared touch screen tracking scanning method and device, electronic equipment and storage medium
CN106708332B (en) threshold setting method and device of proximity sensor and terminal
US10437351B2 (en) Method for detecting input device and detection device
US10282037B1 (en) Adjusting method of a virtual keyboard and touch device
CN112860104B (en) Calibration method and device for touch screen coordinate deviation, mobile terminal and storage medium
CN112000241B (en) Operation recognition method and device, storage medium and electronic device
TWI529583B (en) Touch system and touch detection method
CN110012329B (en) Response method of touch event in display equipment and display equipment
CN105528060A (en) Terminal device and control method
US10050727B2 (en) Peak detection in data stream

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
GR01 Patent grant
GR01 Patent grant