WO2024082396A1 - Method and apparatus for determining transmitting gain, device, medium and product - Google Patents

Method and apparatus for determining transmitting gain, device, medium and product Download PDF

Info

Publication number
WO2024082396A1
WO2024082396A1 PCT/CN2022/137327 CN2022137327W WO2024082396A1 WO 2024082396 A1 WO2024082396 A1 WO 2024082396A1 CN 2022137327 W CN2022137327 W CN 2022137327W WO 2024082396 A1 WO2024082396 A1 WO 2024082396A1
Authority
WO
WIPO (PCT)
Prior art keywords
infrared
signal strength
lamps
emission
infrared receiving
Prior art date
Application number
PCT/CN2022/137327
Other languages
French (fr)
Chinese (zh)
Inventor
张明华
汪帅
Original Assignee
深圳市鸿合创新信息技术有限责任公司
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 深圳市鸿合创新信息技术有限责任公司 filed Critical 深圳市鸿合创新信息技术有限责任公司
Publication of WO2024082396A1 publication Critical patent/WO2024082396A1/en

Links

Images

Definitions

  • the present application belongs to the field of touch control technology, and in particular, relates to a method, device, equipment, medium and product for determining emission gain.
  • infrared touch screens are widely used in various electronic devices. How to improve the touch detection performance of infrared touch screens has become one of the technical problems that need to be solved urgently.
  • the touch detection method of the infrared touch screen is to respectively set multiple infrared transmitting lamps and multiple infrared receiving lamps on the four sides of the infrared touch screen, wherein the infrared transmitting lamps and the infrared receiving lamps are arranged relative to each other.
  • the infrared signal is emitted by the infrared transmitting lamp, and the infrared signal is received by the relatively arranged infrared receiving lamp.
  • the signal strength of the received infrared signal it is determined whether there is any obstruction on the infrared touch screen and the obstruction area is determined, thereby realizing touch detection.
  • the infrared transmitting lamp when controlling the infrared transmitting lamp to transmit infrared signals, a unified transmission gain value is used, and the same transmission gain value may not be the optimal transmission gain value for different infrared transmitting lamps. This is because different infrared transmitting lamps have different signal transmission angles with the same infrared receiving lamp, so that when different infrared transmitting lamps transmit infrared signals at the transmission power generated by the same transmission gain, the signal strength received by the same infrared receiving lamp may be too high or too low, resulting in poor touch detection effect.
  • the embodiments of the present application provide a method, device, equipment, medium and product for determining emission gain, which can respectively determine the optimal emission gain values corresponding to multiple infrared emission lamps in an infrared touch screen, thereby improving the touch detection effect of the infrared touch screen.
  • an embodiment of the present application provides a method for determining a transmission gain, the method comprising:
  • the emission gain value of the first infrared emission lamp is increased according to a preset step size to update the emission gain value of the first infrared emission lamp, wherein the first signal strength value is any one of the signal strength values in the signal strength array;
  • the initial emission gain value of the plurality of infrared emission lamps is a preset minimum gain value.
  • the infrared touch screen includes multiple groups of infrared receiving light groups, and each group of the infrared receiving light groups includes multiple infrared receiving lights;
  • the controlling of the plurality of infrared emitting lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values comprises:
  • the multiple infrared transmitting light groups respectively corresponding to the multiple infrared receiving light groups are controlled to transmit infrared signals in sequence according to their corresponding transmission gain values.
  • controlling the plurality of infrared transmitting lamps corresponding to the plurality of infrared receiving lamp groups to transmit infrared signals in sequence according to their corresponding transmission gain values includes:
  • the multiple target infrared emitting lamps are controlled to emit infrared signals in sequence according to their corresponding emission gain values.
  • the step of obtaining infrared signal strength values received by a plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps to obtain a signal strength array includes:
  • the signal strength sub-arrays corresponding to the multiple groups of infrared receiving light groups are spliced to obtain the signal strength array.
  • the step of obtaining the signal strength value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups to obtain the signal strength subarrays corresponding to the plurality of infrared receiving light groups, respectively includes:
  • the target infrared receiving light group is any one of the multiple infrared receiving light groups
  • the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lights corresponding to the target infrared receiving light group
  • the signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp is used as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
  • the method further includes:
  • the plurality of infrared emission lamps are controlled to emit infrared signals to perform touch detection.
  • the method further comprises:
  • the preset maximum gain threshold is determined as a target emission gain value corresponding to the first infrared emission lamp.
  • an embodiment of the present application provides a transmission gain determination device, the device comprising:
  • An emission control module is used to control multiple infrared emission lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values;
  • a signal acquisition module used to acquire signal strength values of infrared signals received by a plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps, and obtain a signal strength array;
  • a gain adjustment module configured to increase the emission gain value of the first infrared emission lamp according to a preset step length to update the emission gain value of the first infrared emission lamp when the first signal strength value in the signal strength array is less than the preset strength threshold and the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is less than a preset maximum gain threshold, wherein the first signal strength value is any one of the signal strength values in the signal strength array;
  • the loop execution module is used to return to execute the control of multiple infrared emitting lamps in the infrared touch screen to emit infrared signals in turn according to their corresponding emission gain values until the first signal strength value is not less than the preset intensity threshold, thereby obtaining target emission gain values corresponding to the multiple infrared emitting lamps respectively.
  • the initial emission gain value of the plurality of infrared emission lamps is a preset minimum gain value.
  • the infrared touch screen includes multiple groups of infrared receiving light groups, and each group of the infrared receiving light groups includes multiple infrared receiving lights;
  • the launch control module comprises:
  • the control submodule is used to control the plurality of infrared transmitting lamps respectively corresponding to the plurality of infrared receiving lamp groups to transmit infrared signals in sequence according to their respective corresponding transmission gain values according to the arrangement order of the plurality of infrared receiving lamp groups in the infrared touch screen.
  • control submodule includes:
  • a target determination unit used to determine a plurality of target infrared emitting lamps corresponding to a target infrared receiving lamp group, wherein the target infrared receiving lamp group is any one of the plurality of infrared receiving lamp groups;
  • the emission control unit is used to control the multiple target infrared emission lamps to emit infrared signals in sequence according to their corresponding emission gain values according to the arrangement order of the multiple target infrared emission lamps in the infrared touch screen.
  • the signal acquisition module includes:
  • the intensity acquisition submodule is used to acquire the signal intensity value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups, and obtain the signal intensity subarrays corresponding to the plurality of infrared receiving light groups respectively;
  • the array determination submodule is used to splice the signal strength subarrays corresponding to the multiple groups of infrared receiving light groups to obtain the signal strength array.
  • the intensity acquisition submodule includes:
  • a summing processing unit is used to obtain the sum of the signal strength values of the target infrared signal received by the multiple infrared receiving lamps in the target infrared receiving lamp group, and obtain the signal strength value corresponding to the target infrared signal, wherein the target infrared receiving lamp group is any one of the multiple infrared receiving lamp groups, and the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lamps corresponding to the target infrared receiving lamp group;
  • the array generation unit is used to use the signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
  • the above device further comprises:
  • the touch detection module is used to control the multiple infrared emitting lamps to emit infrared signals according to the target emission gain values respectively corresponding to the multiple infrared emitting lamps after obtaining the target emission gain values respectively corresponding to the multiple infrared emitting lamps, so as to perform touch detection.
  • the above device further comprises:
  • the gain determination module is used to determine the preset maximum gain threshold as the target emission gain value corresponding to the first infrared emission lamp when the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is not less than the preset maximum gain threshold.
  • an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
  • an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored.
  • the computer program instructions are executed by a processor, the steps of the transmission gain determination method as described in any embodiment of the first aspect are implemented.
  • an embodiment of the present application provides a computer program product.
  • the instructions in the computer program product are executed by a processor of an electronic device, the electronic device performs the steps of the transmission gain determination method as described in any embodiment of the first aspect.
  • the transmission gain determination method, device, equipment, medium and product in the embodiments of the present application control multiple infrared transmitting lamps in the infrared touch screen to transmit infrared signals according to their respective corresponding transmission gain values, and obtain the signal strength value of the infrared signal received by the infrared receiving lamp to obtain a signal strength array, and then, when any signal strength value in the signal strength array, that is, the first signal strength value, is less than a preset strength threshold, and the transmission gain value of the first infrared transmitting lamp corresponding to the first signal strength value is less than a preset maximum gain threshold, the transmission gain value of the first infrared transmitting lamp is gradually increased in a step-by-step manner according to a preset step size, and the above process is repeated until the first signal strength value is not less than the preset intensity threshold.
  • the signal strength value of the initial infrared signal received by the infrared receiving lamp is less than the preset intensity threshold.
  • the transmission gain is gradually increased in a step-by-step manner until each infrared transmitting lamp transmits an infrared signal according to its own updated transmission gain value, and the first signal strength value of the infrared signal received by the infrared receiving lamp is greater than the preset intensity threshold.
  • the optimal target transmission gain value corresponding to each infrared transmitting lamp can be obtained, so that when different infrared transmitting lamps in the infrared touch screen use different target transmission gain values to transmit infrared signals, the intensity values of the infrared signals received by the infrared receiving lamps at different angles can just reach the preset intensity threshold, that is, the signal strength of the received infrared signals is relatively consistent, thereby improving the touch detection effect of the infrared touch screen.
  • FIG1 is a schematic diagram of the structure of an infrared touch screen provided by the present application.
  • FIG2 is a schematic diagram of a signal transmission of an infrared touch screen provided by the present application.
  • FIG3 is a flow chart of a method for determining a transmission gain provided by an embodiment of the present application.
  • FIG4 is a structural block diagram of a transmission gain determination system provided by the present application.
  • FIG5 is a schematic diagram of a corresponding relationship between a transmitting light and a receiving light group in an infrared touch screen provided by the present application;
  • FIG6 is a schematic diagram of the structure of a transmission gain determination device provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.
  • the touch detection method of the infrared touch screen is as follows: as shown in FIG1, infrared emitting lamps 11 and infrared receiving lamps 12 are distributed on the four sides of the infrared touch screen, for example, infrared emitting lamps 11 are set on the first frame and the second frame, and infrared receiving lamps 12 are set on the third frame and the fourth frame, and the infrared emitting lamps 11 and the infrared receiving lamps 12 are set opposite to each other, and the infrared emitting lamps 11 are lit one by one, and the infrared receiving lamps 12 receive the infrared detection signal emitted by the infrared emitting lamps 11, and after converting the signal into an electrical signal, the fluctuation of the electrical signal is judged to determine whether there is an obstruction and the obstruction area, thereby realizing touch detection.
  • the current passing through the infrared emitting lamp 11 determines the emission intensity of the infrared emitting lamp 11, and at the same time determines the intensity of the electrical signal converted after the infrared receiving lamp 12 receives the infrared signal.
  • each infrared transmitting lamp transmits infrared signals at different angles, and infrared signals at different angles are received by different infrared receiving lamps. Since the distances from the infrared transmitting lamp to each infrared receiving lamp are different, the infrared signal strengths received by different infrared receiving lamps are inconsistent under the same transmitting power. In order to enable the infrared signal at a large angle emitted by the infrared transmitting lamp to be received by the infrared receiving lamp, it is necessary to increase the transmitting power of the infrared transmitting lamp to increase the signal strength received by the infrared receiving lamp.
  • the infrared signal at a large angle emitted by the infrared transmitting lamp may not be received by the infrared receiving lamp due to the low signal strength.
  • the infrared signal cannot produce enough variation, resulting in detection failure. Therefore, if the emission gain of the infrared emission lamp is set too large or too small, the touch detection effect of the infrared touch screen will be affected.
  • the embodiments of the present application provide a method, device, equipment and computer-readable storage medium for determining transmission gain.
  • the transmission gain determination method can be applied to the scenario of adjusting the transmission gain of infrared touch screen signals.
  • the transmission gain determination method provided by the embodiments of the present application is first introduced below.
  • FIG3 is a flow chart of a method for determining a transmission gain provided by an embodiment of the present application. As shown in FIG3 , the method for determining a transmission gain may specifically include the following steps:
  • the multiple infrared emitting lamps in the infrared touch screen to emit infrared signals according to their respective corresponding emission gain values, and obtaining the signal strength value of the infrared signal received by the infrared receiving lamp, a signal strength array is obtained, and then when any one of the signal strength values in the signal strength array, that is, the first signal strength value, is less than the preset strength threshold, and the emission gain value of the first infrared emitting lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, the emission gain value of the first infrared emitting lamp is gradually increased in a step-by-step manner according to the preset step size, and the above process is repeated until the first signal strength value is not less than the preset strength threshold.
  • the signal strength value of the initial infrared signal received by the infrared receiving lamp is less than the preset intensity threshold.
  • the transmission gain is gradually increased in a step-by-step manner until each infrared transmitting lamp transmits an infrared signal according to its own updated transmission gain value, and the first signal strength value of the infrared signal received by the infrared receiving lamp is greater than the preset intensity threshold.
  • the optimal target transmission gain value corresponding to each infrared transmitting lamp can be obtained, so that when different infrared transmitting lamps in the infrared touch screen use different target transmission gain values to transmit infrared signals, the intensity values of the infrared signals received by the infrared receiving lamps at different angles can just reach the preset intensity threshold, that is, the signal strength of the received infrared signals is relatively consistent, thereby improving the touch detection effect of the infrared touch screen.
  • the infrared touch screen may include a plurality of infrared emitting lamps and a plurality of infrared receiving lamps that are relatively arranged.
  • the initial emission gain values of different infrared emitting lamps may be the same or different, which is not limited here.
  • the setting principle of the initial emission gain value may be that when the infrared emitting lamp emits an infrared signal according to its corresponding initial emission gain value, the signal strength value of the initial infrared signal received by the corresponding plurality of infrared receiving lamps is less than a preset intensity threshold.
  • the initial emission gain values of the plurality of infrared emission lamps may be a preset minimum gain value. Based on this, before the above S310, the emission gain determination method provided in the embodiment of the present application may further include:
  • the initial emission gain value corresponding to each infrared emission lamp in the infrared touch screen is set to a preset minimum gain value.
  • the emission gain value of each infrared emitting lamp in the infrared touch screen can be a preset minimum value.
  • the signal strength values of each initial infrared signal received by the infrared receiving lamp are all less than the preset intensity threshold.
  • the emission gain value corresponding to each infrared emitting lamp is gradually accumulated according to the preset step size, that is, the emission gain value corresponding to the infrared emitting lamp is increased in a step-by-step manner.
  • the infrared transmitting lamp when the infrared transmitting lamp is controlled to transmit an infrared signal for the first time, it can be transmitted according to the initial transmission gain value (i.e., the preset minimum value), and the signal strength value of the initial infrared signal received by the corresponding infrared receiving lamp is less than the preset intensity threshold.
  • the transmission gain value used when the infrared transmitting lamp is controlled to transmit an infrared signal again during the step loop can be the transmission gain value obtained after cumulative update according to the preset step size in the previous step.
  • the order of controlling the multiple infrared emitting lamps to transmit infrared signals in sequence may be the order in which the multiple infrared emitting lamps are arranged in the infrared touch screen. Of course, it may also be other orders, which are not limited here.
  • an infrared signal emitted by an infrared transmitting lamp can be received by multiple infrared receiving lamps that are relatively arranged, and the sum of the signal strength values of the infrared signals received by the multiple infrared receiving lamps, or the average value of the signal strength values, or the median value of the signal strength values, etc. can be used as the signal strength value of the infrared signal received by the infrared receiving lamp in the infrared touch screen at one time.
  • each of the multiple infrared emitting lamps can emit an infrared signal once, and correspondingly, the infrared receiving lamp can receive the infrared signal emitted by each infrared emitting lamp, and the number of transmissions is equal to the number of receptions.
  • the infrared receiving lamp can receive infrared signals multiple times, and obtain the signal strength value of the infrared signal received each time, forming a signal strength array.
  • the signal strength array can be a one-dimensional array obtained by sequentially arranging the signal strength values corresponding to the infrared signals received multiple times, or a multi-dimensional array consisting of the signal strength values corresponding to the infrared signals received multiple times, which is not limited here.
  • one element in the signal strength array can correspond to one signal strength value.
  • the multiple infrared receiving lights in the infrared touch screen can convert the infrared signal into an electrical signal, and then use the sum of the signal strength values of the electrical signals converted by the multiple infrared receiving lights as the signal strength value of a received infrared signal.
  • the preset intensity threshold may be the signal intensity value expected to be received by the infrared receiving lamp set according to actual needs.
  • the transmission gain value of any transmitting lamp in the infrared touch screen is the minimum transmission gain value in the initial situation
  • the signal intensity value received by the corresponding signal receiving module is lower than the preset intensity threshold.
  • the preset maximum gain threshold may be the gain value when the infrared transmitting lamp reaches the transmission power saturation. When the transmission gain value reaches a certain value, the transmission power of the transmitting lamp reaches saturation, and continuing to increase the transmission gain value has almost no effect on the intensity of the received signal.
  • the preset step size can be directly the preset gain voltage value, or it can be unit 1 in digital control.
  • the unit 1 signal is then converted into an analog gain voltage value through the DAC module, and the transmission gain value is increased step by step based on this gain voltage value.
  • the transmission gain value is increased step by step based on this gain voltage value.
  • each element in the signal strength array can be traversed to determine whether the signal strength value corresponding to each element is less than the preset strength threshold.
  • the signal strength value corresponding to each element is less than the preset strength threshold.
  • the emission gain value of the first infrared emitting lamp can be increased according to the preset step size, and the increased emission gain value can be used as the emission gain value used when the first infrared emitting lamp emits an infrared signal in the next cycle.
  • the first infrared emitting lamp can be the infrared emitting lamp that emits the first infrared signal before obtaining the first signal strength value of the first infrared signal received by the infrared receiving lamp.
  • the process may return to S310 and repeat S310-S340 until the signal strength values of all infrared signals received by the infrared receiving lamp are not less than the preset strength threshold.
  • the optimal transmission gain value corresponding to each infrared transmitting lamp that is, the target transmission gain value
  • the target transmission gain values corresponding to different infrared transmitting lamps may be different.
  • the transmission gain determination method provided in the embodiments of the present application may further include:
  • the preset maximum gain threshold is determined as the target emission gain value corresponding to the first infrared emission lamp.
  • the preset maximum gain threshold can be determined as the emission gain value corresponding to the first infrared emission lamp.
  • the emission gain value of the infrared emission lamp can be controlled so as not to exceed the preset maximum gain threshold, thereby avoiding unnecessary waste of electric energy.
  • the system may include: a microcontroller unit 40, which is used to control the transmission gain through an analog-to-digital conversion module 401; a transmission control circuit 41, which is used to control all infrared transmission lamps in the infrared transmission lamp matrix 42 to transmit infrared signals one by one according to their corresponding transmission gain values; a receiving control circuit 43, which is used to control the infrared receiving lamps in the infrared receiving lamp matrix 44 to receive infrared signals one by one and convert them into analog electrical signals, and then use the analog-to-digital conversion module 402 to convert the analog electrical signals into digital electrical signals for calculation and comparison and other processing.
  • a microcontroller unit 40 which is used to control the transmission gain through an analog-to-digital conversion module 401
  • a transmission control circuit 41 which is used to control all infrared transmission lamps in the infrared transmission lamp matrix 42 to transmit infrared signals one by one according to their corresponding transmission gain values
  • a receiving control circuit 43 which is used to control the inf
  • the infrared touch screen may include multiple groups of infrared receiving light groups, and each group of infrared receiving light groups may include multiple infrared receiving light groups.
  • the above S310 may specifically include:
  • the plurality of infrared transmitting lamps respectively corresponding to the plurality of infrared receiving lamp groups are controlled to transmit infrared signals in sequence according to the corresponding transmission gain values.
  • the infrared receiving lamps can be divided into multiple groups according to the input bit number of the analog-to-digital conversion module 402, and the number of infrared receiving lamps contained in each infrared receiving lamp group is the same as the input bit number of the analog-to-digital conversion module 402.
  • One group of infrared receiving lamps can receive infrared signals from multiple infrared transmitting lamps, based on this, the multiple infrared transmitting lamps can be used as the infrared transmitting lamps corresponding to the infrared receiving lamp group.
  • the receivable signal angle range corresponding to each group of infrared receiving lamp groups multiple infrared emitting lamps located within the range can be determined as the infrared emitting lamps corresponding to the group of infrared receiving lamp groups.
  • the multiple infrared emitting lamps corresponding to each infrared receiving lamp group can be controlled to emit infrared signals in sequence according to the arrangement order of the multiple infrared receiving lamp groups in the infrared touch screen. For example, if the first infrared receiving lamp group, the second infrared receiving lamp group, the third infrared receiving lamp group, the fourth infrared receiving lamp group and the fifth infrared receiving lamp group are arranged in sequence in the infrared touch screen, the multiple infrared emitting lamps corresponding to the first infrared receiving lamp group can be controlled to emit infrared signals in sequence, and the signal strength values corresponding to the multiple infrared signals received by the first infrared receiving lamp group can be obtained.
  • the multiple infrared emitting lamps corresponding to the second infrared receiving lamp group are controlled to emit infrared signals in sequence, and the signal strength values corresponding to the multiple infrared signals received by the second infrared receiving lamp group are obtained.
  • the multiple infrared emitting lamps corresponding to the third infrared receiving lamp group are controlled to emit infrared signals in sequence, and the signal strength values corresponding to the multiple infrared signals received by the third infrared receiving lamp group are obtained, and so on, until the emission control of the multiple infrared emitting lamps corresponding to the fifth infrared receiving lamp group and the acquisition of the signal strength values are completed.
  • the step of controlling the plurality of infrared transmitting lights corresponding to the plurality of infrared receiving light groups to transmit infrared signals in sequence according to their respective corresponding transmission gain values may specifically include:
  • the multiple target infrared emitting lamps are controlled to emit infrared signals in sequence according to their corresponding emission gain values.
  • the number of infrared transmitting lamps corresponding to different infrared receiving lamp groups may be different.
  • the number of infrared transmitting lamps corresponding to the infrared receiving lamp group located at the edge of the infrared touch screen may be smaller than the number of infrared transmitting lamps corresponding to the infrared receiving lamp group located at the center of the infrared touch screen.
  • the multiple infrared transmitting lights within the receivable signal angle range corresponding to the any group of infrared receiving light groups, that is, the target infrared receiving light group can be determined as the multiple target infrared transmitting lights corresponding to the target infrared receiving light group.
  • the 1st to 8th infrared transmitting lights within the range are the infrared transmitting lights corresponding to the first infrared receiving light group 51, and then the 1st to 8th infrared transmitting lights are lit in sequence according to the arrangement order of the 1st to 8th infrared transmitting lights in the infrared touch screen, such as lighting the 1st infrared transmitting light first, and obtaining the signal strength value corresponding to the infrared signal emitted by the 1st infrared transmitting light received by the first infrared receiving light group 51, and then lighting the 2nd infrared transmitting light, and obtaining the signal strength value corresponding to the infrared signal emitted by the 2nd infrared transmitting light received by the first infrared receiving light
  • the 5th to 14th infrared transmitting lamps within the range are determined to be the infrared transmitting lamps corresponding to the second infrared receiving lamp group 52, and then the 5th to 14th infrared transmitting lamps are lit in sequence according to the arrangement order of the 5th to 14th infrared transmitting lamps in the infrared touch screen.
  • the specific process is similar to the aforementioned first infrared receiving lamp group 51 and will not be repeated here.
  • the 11th to 20th infrared transmitting lamps within the range are determined to be the infrared transmitting lamps corresponding to the third infrared receiving lamp group 53.
  • the 17th to 26th infrared transmitting lamps within the range are determined to be the infrared transmitting lamps corresponding to the fourth infrared receiving lamp group 54.
  • the 23rd to 30th infrared transmitting lamps within the range are determined to be the infrared transmitting lamps corresponding to the fifth infrared receiving lamp group 55.
  • the emission control of the infrared emission lamps corresponding to all infrared receiving lamp groups when it is completed, it can be regarded as completing one frame scan. In this way, the signal strength values corresponding to the multiple infrared signals received in sequence by each infrared receiving lamp group can be obtained.
  • the above S320 may specifically include:
  • the signal strength sub-arrays corresponding to the multiple groups of infrared receiving light groups are spliced to obtain a signal strength array.
  • each group of infrared receiving lights corresponds to multiple infrared transmitting lights, and each infrared transmitting light is lit once, and the infrared receiving light group can receive a signal strength value corresponding to an infrared signal. Therefore, a group of infrared receiving lights can obtain a signal strength sub-array.
  • the infrared transmitting light serial numbers corresponding to the first infrared receiving light group 51 in Figure 5 are 1 to 8, so the first infrared receiving light group 51 can obtain a signal strength sub-array consisting of 8 signal strength values, and the infrared transmitting light serial numbers corresponding to the second infrared receiving light group 52 are 5 to 14, so the second infrared receiving light group 52 can obtain a signal strength sub-array consisting of 10 signal strength values, and so on, each infrared receiving light group can obtain a signal strength sub-array consisting of multiple signal strength values.
  • the step of obtaining the signal strength value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups to obtain the signal strength subarrays corresponding to the plurality of infrared receiving light groups may specifically include:
  • the target infrared receiving lamp group is any one of the multiple infrared receiving lamp groups
  • the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lamps corresponding to the target infrared receiving lamp group
  • the signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp is used as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
  • the infrared signal emitted by an infrared transmitting lamp once can be received by multiple infrared receiving lamps in the corresponding infrared receiving lamp group.
  • the sum of the signal strength values of the infrared signals received by the multiple infrared receiving lamps can be used as the signal strength value of the infrared signal received by the infrared receiving lamp group.
  • the average value or median value of the signal strength values of the infrared signals received by the multiple infrared receiving lamps can also be used as the signal strength value of the infrared signal received by the infrared receiving lamp group.
  • the infrared signal emitted by each infrared transmitting lamp corresponding to the infrared receiving lamp group can obtain a corresponding signal strength value, and then the multiple signal strength values are used as array elements to form a signal strength sub-array to obtain the signal strength sub-array corresponding to the infrared receiving lamp group.
  • the signal strength sub-arrays corresponding to the multiple infrared receiving light groups can be spliced, such as serially connected, to obtain a signal strength array, which can be set as Data[K], where K is the total number of times that the multiple infrared transmitting lights are controlled to transmit infrared signals during the process of completing a frame scan.
  • the total number of times the infrared emitter needs to be controlled to emit infrared signals for scanning one frame can be:
  • M(n) is the number of infrared transmitting lamps corresponding to each infrared receiving lamp group
  • N is the number of infrared receiving lamp groups
  • n is the group number corresponding to the infrared receiving lamp group.
  • an array of size K may be set to record the emission gain value used by the infrared emission lamp corresponding to each signal strength value in Data[K], which may be specifically set to Gain[K].
  • the transmission gain value corresponding to Gain[k] can be increased according to the preset step size to update the transmission gain value corresponding to Gain[k].
  • k is the element index number
  • S is the preset strength threshold
  • G_max is the preset maximum gain threshold.
  • the transmission gain value used by each infrared transmitter during signal transmission can be obtained from the updated Gain[K], and the received signal strength value is continued to be judged according to the above steps, and the transmission gain value of the corresponding infrared transmitter is adjusted until each infrared transmitter transmits the infrared signal according to the corresponding transmission gain value in Gain[K], and the signal strength value corresponding to each element in the obtained signal strength value array Data[K] is greater than or equal to S. Finally, the gain value array Gain[K] containing the target transmission gain value corresponding to each infrared transmitter can be obtained.
  • the same infrared transmitter may be lit multiple times during a frame scan, and the emission gain value used each time it is lit may be different, so that the target emission gain value corresponding to the same infrared transmitter at different times during a frame scan may be different.
  • the touch detection process of the infrared touch screen can be divided into two stages.
  • the first stage is the pre-scan stage, the purpose of which is to adjust the emission gain value of each infrared emitting lamp from the initial gain value to the target emission gain value, and the target emission gain values of different infrared emitting lamps may be different.
  • the same infrared emitting lamp may be lit multiple times during a frame scan, and the target emission gain value used each time it is lit may also be different.
  • This stage requires continuous scanning of dozens of frames to determine the optimal emission gain value corresponding to each emitting lamp at different scanning times, that is, the target emission gain value.
  • the transmission gain determination method provided in the embodiment of the present application may also include:
  • the multiple infrared emission lamps are controlled to emit infrared signals to perform touch detection.
  • the multiple infrared emission lamps in the infrared touch screen can transmit infrared signals in the same signal transmission order as the pre-scanning stage and according to the target emission gain value stored in Gain[K].
  • the signal strength value of the infrared signal received by each group of infrared receiving lamps each time can reach the preset intensity threshold, and will not exceed the preset intensity threshold by too much, that is, the signal strength value of the received infrared signal is relatively consistent, thereby improving the touch detection effect of the infrared touch screen.
  • the present application also provides a transmission gain determination device, which is described in detail in conjunction with FIG.
  • FIG6 is a schematic diagram of the structure of a transmission gain determination device provided in one embodiment of the present application.
  • the transmission gain determination device 600 may include:
  • the emission control module 601 is used to control the multiple infrared emission lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values;
  • the signal acquisition module 602 is used to acquire the signal strength values of the infrared signals received by the plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps, and obtain a signal strength array, wherein the signal strength value of the initial infrared signal received by the infrared receiving lamp is less than a preset strength threshold;
  • the gain adjustment module 603 is used to increase the emission gain value of the first infrared emission lamp according to a preset step size to update the emission gain value of the first infrared emission lamp when the first signal strength value in the signal strength array is less than the preset strength threshold and the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, wherein the first signal strength value is any one of the signal strength values in the signal strength array;
  • the loop execution module 604 is used to return to execute the control of multiple infrared emitting lamps in the infrared touch screen to emit infrared signals in turn according to their corresponding emission gain values until the first signal strength value is not less than the preset intensity threshold, thereby obtaining target emission gain values corresponding to the multiple infrared emitting lamps respectively.
  • the transmission gain determination device 600 is described in detail below, as shown below:
  • the initial emission gain value of the plurality of infrared emission lamps is a preset minimum gain value.
  • the infrared touch screen includes multiple groups of infrared receiving light groups, and each group of the infrared receiving light groups includes multiple infrared receiving lights;
  • the transmission control module 601 includes:
  • the control submodule is used to control the plurality of infrared transmitting lamps corresponding to the plurality of infrared receiving lamp groups to transmit infrared signals in sequence according to their corresponding transmission gain values.
  • control submodule includes:
  • a target determination unit used to determine a plurality of target infrared emitting lamps corresponding to a target infrared receiving lamp group, wherein the target infrared receiving lamp group is any one of the plurality of infrared receiving lamp groups;
  • the emission control unit is used to control the multiple target infrared emission lamps to emit infrared signals in sequence according to their corresponding emission gain values according to the arrangement order of the multiple target infrared emission lamps in the infrared touch screen.
  • the signal acquisition module 602 includes:
  • the intensity acquisition submodule is used to acquire the signal intensity value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups, and obtain the signal intensity subarrays corresponding to the plurality of infrared receiving light groups respectively;
  • the array determination submodule is used to splice the signal strength subarrays corresponding to the multiple groups of infrared receiving light groups to obtain the signal strength array.
  • the transmission gain determination apparatus 600 further includes:
  • the touch detection module is used to control the multiple infrared emitting lamps to emit infrared signals according to the target emission gain values respectively corresponding to the multiple infrared emitting lamps after obtaining the target emission gain values respectively corresponding to the multiple infrared emitting lamps, so as to perform touch detection.
  • the intensity acquisition submodule includes:
  • a summing processing unit used for obtaining the sum of the signal strength values of the target infrared signals received by the multiple infrared receiving lamps in the target infrared receiving lamp group, and obtaining the signal strength value corresponding to the target infrared signal, wherein the target infrared receiving lamp group is any one of the multiple infrared receiving lamp groups, and the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lamps corresponding to the target infrared receiving lamp group;
  • the array generation unit is used to use the signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
  • the transmission gain determination apparatus 600 further includes:
  • the gain determination module is used to determine the preset maximum gain threshold as the target emission gain value corresponding to the first infrared emission lamp when the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is not less than the preset maximum gain threshold.
  • the multiple infrared emitting lamps in the infrared touch screen to emit infrared signals according to their respective corresponding emission gain values, and obtaining the signal strength value of the infrared signal received by the infrared receiving lamp, a signal strength array is obtained, and then when any one of the signal strength values in the signal strength array, that is, the first signal strength value, is less than the preset strength threshold, and the emission gain value of the first infrared emitting lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, the emission gain value of the first infrared emitting lamp is gradually increased in a step-by-step manner according to the preset step size, and the above process is repeated until the first signal strength value is not less than the preset strength threshold.
  • the signal strength value of the initial infrared signal received by the infrared receiving lamp is less than the preset intensity threshold.
  • the transmission gain is gradually increased in a step-by-step manner until each infrared transmitting lamp transmits an infrared signal according to its own updated transmission gain value, and the first signal strength value of the infrared signal received by the infrared receiving lamp is greater than the preset intensity threshold.
  • the optimal target transmission gain value corresponding to each infrared transmitting lamp can be obtained, so that when different infrared transmitting lamps in the infrared touch screen use different target transmission gain values to transmit infrared signals, the intensity values of the infrared signals received by the infrared receiving lamps at different angles can just reach the preset intensity threshold, that is, the signal strength of the received infrared signals is relatively consistent, thereby improving the touch detection effect of the infrared touch screen.
  • FIG. 7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.
  • the electronic device 700 may include a processor 701 and a memory 702 storing computer program instructions.
  • the above-mentioned processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the memory 702 may include a large capacity memory for data or instructions.
  • the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these.
  • the memory 702 may include removable or non-removable (or fixed) media.
  • the memory 702 may be inside or outside the integrated gateway disaster recovery device.
  • the memory 702 is a non-volatile solid-state memory.
  • the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical/tangible memory storage device.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk storage medium device e.g., a hard disk drive
  • optical storage medium device e.g., a hard disk drive
  • flash memory device e.g., a flash memory device
  • electrical, optical or other physical/tangible memory storage device e.g., a flash memory device
  • the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.
  • the processor 701 implements any one of the transmission gain determination methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
  • the electronic device 700 may further include a communication interface 703 and a bus 710. As shown in Fig. 7, the processor 701, the memory 702, and the communication interface 703 are connected via the bus 710 and communicate with each other.
  • the communication interface 703 is mainly used to implement communication between various modules, devices, units and/or equipment in the embodiments of the present application.
  • Bus 710 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other.
  • bus 710 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations.
  • AGP accelerated graphics port
  • EISA enhanced industrial standard architecture
  • FAB front-end bus
  • HT hypertransport
  • ISA industrial standard architecture
  • LPC low pin count
  • MCA micro channel architecture
  • PCI peripheral component interconnection
  • PCI-X PCI-Express
  • SATA serial advanced technology attachment
  • VLB video electronics standard association local
  • bus 710 may include
  • the electronic device 700 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc.
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the electronic device 700 can execute the transmission gain determination method in the embodiment of the present application, thereby realizing the transmission gain determination method and device described in combination with Figures 1 to 6.
  • the embodiment of the present application may provide a computer-readable storage medium for implementation.
  • the computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the transmission gain determination methods in the above-mentioned embodiments is implemented.
  • Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.
  • the functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof.
  • it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc.
  • ASIC application specific integrated circuit
  • the elements of the present application are programs or code segments that are used to perform the required tasks.
  • the program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave.
  • "Machine-readable medium" can include any medium capable of storing or transmitting information.
  • machine-readable media examples include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc.
  • the code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
  • each square frame in the flow chart and/or the block diagram and the combination of each square frame in the flow chart and/or the block diagram can be realized by computer program instructions.
  • These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function/action specified in one or more square frames of the flow chart and/or the block diagram.
  • a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.
  • each square frame in the block diagram and/or the flow chart and the combination of the square frames in the block diagram and/or the flow chart can also be realized by the dedicated

Abstract

Disclosed in the present application are a method and apparatus for determining a transmitting gain, a device, a medium and a product. The method for determining a transmitting gain comprises: controlling a plurality of infrared transmitting lamps in an infrared touch screen to sequentially transmit infrared signals according to respective corresponding transmitting gain values; acquiring signal strength values of the infrared signals received by a plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps to obtain a signal strength array; when a first signal strength value in the signal strength array is smaller than a preset strength threshold, and a transmitting gain value of a first infrared transmitting lamp corresponding to the first signal strength value is smaller than a preset maximum gain threshold, increasing the transmitting gain value of the first infrared transmitting lamp according to a preset step size; and circularly executing until the first signal strength value is not smaller than the preset strength threshold to obtain target transmitting gain values respectively corresponding to the plurality of infrared transmitting lamps. According to embodiments of the present application, the touch detection effect of an infrared touch screen can be improved.

Description

发射增益确定方法、装置、设备、介质及产品Transmission gain determination method, device, equipment, medium and product
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求享有于2022年10月21日提交的名称为“发射增益确定方法、装置、设备、介质及产品”的中国专利申请202211296760.2的优先权,该申请的全部内容通过引用并入本文中。This application claims priority to Chinese patent application 202211296760.2, filed on October 21, 2022, entitled “Transmission gain determination method, device, equipment, medium and product,” and the entire contents of that application are incorporated herein by reference.
技术领域Technical Field
本申请属于触控技术领域,尤其涉及一种发射增益确定方法、装置、设备、介质及产品。The present application belongs to the field of touch control technology, and in particular, relates to a method, device, equipment, medium and product for determining emission gain.
背景技术Background technique
随着触控技术的不断发展,各种触控屏应运而生,其中,红外触控屏被广泛应用于各种电子设备上,如何提高红外触控屏的触控检测性能成为亟待解决的技术问题之一。With the continuous development of touch technology, various touch screens have emerged. Among them, infrared touch screens are widely used in various electronic devices. How to improve the touch detection performance of infrared touch screens has become one of the technical problems that need to be solved urgently.
相关技术中,红外触控屏的触控检测方式为,在红外触控屏的四个边分别设置多个红外发射灯和多个红外接收灯,其中,红外发射灯和红外接收灯相对设置,如此,通过红外发射灯发射红外信号,并利用相对设置的红外接收灯接收该红外信号,进而根据接收到的红外信号的信号强度来判定红外触控屏上是否有遮挡,以及确定遮挡区域,从而实现触控检测。In the related art, the touch detection method of the infrared touch screen is to respectively set multiple infrared transmitting lamps and multiple infrared receiving lamps on the four sides of the infrared touch screen, wherein the infrared transmitting lamps and the infrared receiving lamps are arranged relative to each other. In this way, the infrared signal is emitted by the infrared transmitting lamp, and the infrared signal is received by the relatively arranged infrared receiving lamp. Then, according to the signal strength of the received infrared signal, it is determined whether there is any obstruction on the infrared touch screen and the obstruction area is determined, thereby realizing touch detection.
目前,在控制红外发射灯发射红外信号时,采用的是统一的发射增益值,而同一个发射增益值对于不同的红外发射灯而言可能并不是其最优的发射增益值,这是因为不同的红外发射灯与同一个红外接收灯之间具有不同的信号发射角度,使得不同红外发射灯在基于相同发射增益产生的发射功率下发射的红外信号,同一个红外接收灯接收到的信号强度可能过高或过低,从而导致触控检测效果差。At present, when controlling the infrared transmitting lamp to transmit infrared signals, a unified transmission gain value is used, and the same transmission gain value may not be the optimal transmission gain value for different infrared transmitting lamps. This is because different infrared transmitting lamps have different signal transmission angles with the same infrared receiving lamp, so that when different infrared transmitting lamps transmit infrared signals at the transmission power generated by the same transmission gain, the signal strength received by the same infrared receiving lamp may be too high or too low, resulting in poor touch detection effect.
发明内容Summary of the invention
本申请实施例提供一种发射增益确定方法、装置、设备、介质及产品,能够针对红外触控屏中的多个红外发射灯分别确定得到其各自对应的最优发射增益值,从而可以提高红外触控屏的触控检测效果。The embodiments of the present application provide a method, device, equipment, medium and product for determining emission gain, which can respectively determine the optimal emission gain values corresponding to multiple infrared emission lamps in an infrared touch screen, thereby improving the touch detection effect of the infrared touch screen.
第一方面,本申请实施例提供一种发射增益确定方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for determining a transmission gain, the method comprising:
控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号;Control multiple infrared transmitting lamps in the infrared touch screen to transmit infrared signals in sequence according to their corresponding transmitting gain values;
获取所述多个红外发射灯对应的多个红外接收灯接收到的红外信号的信号强度值,得到信号强度数组;Obtain signal strength values of infrared signals received by a plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps to obtain a signal strength array;
在所述信号强度数组中的第一信号强度值小于所述预设强度阈值,且所述第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长增大所述第一红外发射灯的发射增益值,以更新所述第一红外发射灯的发射增益值,其中,所述第一信号强度值为所述信号强度数组中的任意一个信号强度值;When the first signal strength value in the signal strength array is less than the preset strength threshold, and the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, the emission gain value of the first infrared emission lamp is increased according to a preset step size to update the emission gain value of the first infrared emission lamp, wherein the first signal strength value is any one of the signal strength values in the signal strength array;
返回执行所述控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,直至所述第一信号强度值不小于所述预设强度阈值,得到与所述多个红外发射灯分别对应的目标发射增益值。Return to execute the control of multiple infrared emitting lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values until the first signal strength value is not less than the preset intensity threshold, and obtain target emission gain values corresponding to the multiple infrared emitting lamps respectively.
在一些实施方式中,所述多个红外发射灯的初始发射增益值为预设最小增益值。In some embodiments, the initial emission gain value of the plurality of infrared emission lamps is a preset minimum gain value.
在一些实施方式中,所述红外触控屏中包括多组红外接收灯组,每组所述红外接收灯组中包括多个红外接收灯;In some embodiments, the infrared touch screen includes multiple groups of infrared receiving light groups, and each group of the infrared receiving light groups includes multiple infrared receiving lights;
所述控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,包括:The controlling of the plurality of infrared emitting lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values comprises:
按照所述多组红外接收灯组在所述红外触控屏中的排列顺序,控制所述多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号。According to the arrangement order of the multiple infrared receiving light groups in the infrared touch screen, the multiple infrared transmitting light groups respectively corresponding to the multiple infrared receiving light groups are controlled to transmit infrared signals in sequence according to their corresponding transmission gain values.
在一些实施方式中,所述控制所述多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,包括:In some embodiments, controlling the plurality of infrared transmitting lamps corresponding to the plurality of infrared receiving lamp groups to transmit infrared signals in sequence according to their corresponding transmission gain values includes:
确定与目标红外接收灯组对应的多个目标红外发射灯,其中,所述目 标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组;Determine a plurality of target infrared emitting lamps corresponding to a target infrared receiving lamp group, wherein the target infrared receiving lamp group is any one infrared receiving lamp group among the plurality of infrared receiving lamp groups;
按照所述多个目标红外发射灯在所述红外触控屏中的排列顺序,控制所述多个目标红外发射灯依次按照各自对应的发射增益值发射红外信号。According to the arrangement order of the multiple target infrared emitting lamps in the infrared touch screen, the multiple target infrared emitting lamps are controlled to emit infrared signals in sequence according to their corresponding emission gain values.
在一些实施方式中,所述获取所述多个红外发射灯对应的多个红外接收灯接收到的红外信号强度值,得到信号强度数组,包括:In some embodiments, the step of obtaining infrared signal strength values received by a plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps to obtain a signal strength array includes:
获取所述多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与所述多组红外接收灯组分别对应的信号强度子数组;Acquire the signal strength value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups, and obtain the signal strength subarrays respectively corresponding to the plurality of infrared receiving light groups;
将与所述多组红外接收灯组分别对应的信号强度子数组进行拼接处理,得到所述信号强度数组。The signal strength sub-arrays corresponding to the multiple groups of infrared receiving light groups are spliced to obtain the signal strength array.
在一些实施方式中,所述获取所述多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与所述多组红外接收灯组分别对应的信号强度子数组,包括:In some embodiments, the step of obtaining the signal strength value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups to obtain the signal strength subarrays corresponding to the plurality of infrared receiving light groups, respectively, includes:
获取目标红外接收灯组中多个红外接收灯接收到的目标红外信号的信号强度值之和,得到与所述目标红外信号对应的信号强度值,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组,所述目标红外信号为所述目标红外接收灯组对应的多个目标红外发射灯中任一目标红外发射灯发射的红外信号;Obtaining the sum of the signal strength values of the target infrared signal received by the multiple infrared receiving lights in the target infrared receiving light group, and obtaining the signal strength value corresponding to the target infrared signal, wherein the target infrared receiving light group is any one of the multiple infrared receiving light groups, and the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lights corresponding to the target infrared receiving light group;
将每个目标红外发射灯发射的红外信号所对应的信号强度值作为数组元素,生成与所述目标红外接收灯组对应的信号强度子数组。The signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp is used as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
在一些实施方式中,在得到与所述多个红外发射灯分别对应的目标发射增益值之后,所述方法还包括:In some embodiments, after obtaining the target emission gain values respectively corresponding to the plurality of infrared emission lamps, the method further includes:
按照所述多个红外发射灯分别对应的目标发射增益值,控制所述多个红外发射灯发射红外信号,以进行触控检测。According to the target emission gain values respectively corresponding to the plurality of infrared emission lamps, the plurality of infrared emission lamps are controlled to emit infrared signals to perform touch detection.
在一些实施方式中,所述方法还包括:In some embodiments, the method further comprises:
在所述第一信号强度值对应的第一红外发射灯的发射增益值不小于预设最大增益阈值的情况下,将所述预设最大增益阈值确定为与所述第一红外发射灯对应的目标发射增益值。When the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is not less than a preset maximum gain threshold, the preset maximum gain threshold is determined as a target emission gain value corresponding to the first infrared emission lamp.
第二方面,本申请实施例提供了一种发射增益确定装置,该装置包括:In a second aspect, an embodiment of the present application provides a transmission gain determination device, the device comprising:
发射控制模块,用于控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号;An emission control module is used to control multiple infrared emission lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values;
信号获取模块,用于获取所述多个红外发射灯对应的多个红外接收灯接收到的红外信号的信号强度值,得到信号强度数组;A signal acquisition module, used to acquire signal strength values of infrared signals received by a plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps, and obtain a signal strength array;
增益调整模块,用于在所述信号强度数组中的第一信号强度值小于所述预设强度阈值,且所述第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长增大所述第一红外发射灯的发射增益值,以更新所述第一红外发射灯的发射增益值,其中,所述第一信号强度值为所述信号强度数组中的任意一个信号强度值;a gain adjustment module, configured to increase the emission gain value of the first infrared emission lamp according to a preset step length to update the emission gain value of the first infrared emission lamp when the first signal strength value in the signal strength array is less than the preset strength threshold and the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is less than a preset maximum gain threshold, wherein the first signal strength value is any one of the signal strength values in the signal strength array;
循环执行模块,用于返回执行所述控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,直至所述第一信号强度值不小于所述预设强度阈值,得到与所述多个红外发射灯分别对应的目标发射增益值。The loop execution module is used to return to execute the control of multiple infrared emitting lamps in the infrared touch screen to emit infrared signals in turn according to their corresponding emission gain values until the first signal strength value is not less than the preset intensity threshold, thereby obtaining target emission gain values corresponding to the multiple infrared emitting lamps respectively.
在一些实施方式中,所述多个红外发射灯的初始发射增益值为预设最小增益值。In some embodiments, the initial emission gain value of the plurality of infrared emission lamps is a preset minimum gain value.
在一些实施方式中,所述红外触控屏中包括多组红外接收灯组,每组所述红外接收灯组中包括多个红外接收灯;In some embodiments, the infrared touch screen includes multiple groups of infrared receiving light groups, and each group of the infrared receiving light groups includes multiple infrared receiving lights;
所述发射控制模块包括:The launch control module comprises:
控制子模块,用于按照所述多组红外接收灯组在所述红外触控屏中的排列顺序,控制所述多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号。The control submodule is used to control the plurality of infrared transmitting lamps respectively corresponding to the plurality of infrared receiving lamp groups to transmit infrared signals in sequence according to their respective corresponding transmission gain values according to the arrangement order of the plurality of infrared receiving lamp groups in the infrared touch screen.
在一些实施方式中,所述控制子模块包括:In some embodiments, the control submodule includes:
目标确定单元,用于确定与目标红外接收灯组对应的多个目标红外发射灯,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组;A target determination unit, used to determine a plurality of target infrared emitting lamps corresponding to a target infrared receiving lamp group, wherein the target infrared receiving lamp group is any one of the plurality of infrared receiving lamp groups;
发射控制单元,用于按照所述多个目标红外发射灯在所述红外触控屏中的排列顺序,控制所述多个目标红外发射灯依次按照各自对应的发射增益值发射红外信号。The emission control unit is used to control the multiple target infrared emission lamps to emit infrared signals in sequence according to their corresponding emission gain values according to the arrangement order of the multiple target infrared emission lamps in the infrared touch screen.
在一些实施方式中,所述信号获取模块包括:In some embodiments, the signal acquisition module includes:
强度获取子模块,用于获取所述多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与所述多组红外接收灯组分别对应的信号强度子数组;The intensity acquisition submodule is used to acquire the signal intensity value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups, and obtain the signal intensity subarrays corresponding to the plurality of infrared receiving light groups respectively;
数组确定子模块,用于将与所述多组红外接收灯组分别对应的信号强度子数组进行拼接处理,得到所述信号强度数组。The array determination submodule is used to splice the signal strength subarrays corresponding to the multiple groups of infrared receiving light groups to obtain the signal strength array.
在一些实施方式中,所述强度获取子模块包括:In some embodiments, the intensity acquisition submodule includes:
求和处理单元,用于获取目标红外接收灯组中多个红外接收灯接收到的目标红外信号的信号强度值之和,得到与所述目标红外信号对应的信号强度值,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组,所述目标红外信号为所述目标红外接收灯组对应的多个目标红外发射灯中任一目标红外发射灯发射的红外信号;A summing processing unit is used to obtain the sum of the signal strength values of the target infrared signal received by the multiple infrared receiving lamps in the target infrared receiving lamp group, and obtain the signal strength value corresponding to the target infrared signal, wherein the target infrared receiving lamp group is any one of the multiple infrared receiving lamp groups, and the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lamps corresponding to the target infrared receiving lamp group;
数组生成单元,用于将每个目标红外发射灯发射的红外信号所对应的信号强度值作为数组元素,生成与所述目标红外接收灯组对应的信号强度子数组。The array generation unit is used to use the signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
在一些实施方式中,上述装置还包括:In some embodiments, the above device further comprises:
触控检测模块,用于在得到与所述多个红外发射灯分别对应的目标发射增益值之后,按照所述多个红外发射灯分别对应的目标发射增益值,控制所述多个红外发射灯发射红外信号,以进行触控检测。The touch detection module is used to control the multiple infrared emitting lamps to emit infrared signals according to the target emission gain values respectively corresponding to the multiple infrared emitting lamps after obtaining the target emission gain values respectively corresponding to the multiple infrared emitting lamps, so as to perform touch detection.
在一些实施方式中,上述装置还包括:In some embodiments, the above device further comprises:
增益确定模块,用于在所述第一信号强度值对应的第一红外发射灯的发射增益值不小于预设最大增益阈值的情况下,将所述预设最大增益阈值确定为与所述第一红外发射灯对应的目标发射增益值。The gain determination module is used to determine the preset maximum gain threshold as the target emission gain value corresponding to the first infrared emission lamp when the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is not less than the preset maximum gain threshold.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括:处理器以及存储有计算机程序指令的存储器;In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
处理器执行所述计算机程序指令时实现如第一方面的任一项实施例中所述的发射增益确定方法的步骤。When the processor executes the computer program instructions, the steps of the transmission gain determination method as described in any one of the embodiments of the first aspect are implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序指令,计算机程序指令被处理器执行时实现如第一方面的任一项实施例中所述的发射增益确定方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the transmission gain determination method as described in any embodiment of the first aspect are implemented.
第五方面,本申请实施例提供了一种计算机程序产品,计算机程序产品中的指令由电子设备的处理器执行时,使得所述电子设备执行如第一方面的任一项实施例中所述的发射增益确定方法的步骤。In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device performs the steps of the transmission gain determination method as described in any embodiment of the first aspect.
本申请实施例中的发射增益确定方法、装置、设备、介质及产品,通过控制红外触控屏中的多个红外发射灯按照各自对应的发射增益值发射红外信号,并获取红外接收灯接收到的红外信号的信号强度值,得到信号强度数组,进而在该信号强度数组中的任意一个信号强度值,也即第一信号强度值,小于预设强度阈值,且第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长,以步进方式逐渐增大该第一红外发射灯的发射增益值,并重复上述过程,直至该第一信号强度值不小于预设强度阈值。如此,本申请实施例中由于每个红外发射灯按照初始的发射增益值发射红外信号时,红外接收灯接收到的初始红外信号的信号强度值小于预设强度阈值,在此基础上,按照步进方式逐步增大发射增益,直至每个红外发射灯按照各自更新后的发射增益值发射红外信号后,红外接收灯接收到的红外信号的第一信号强度值均大于预设强度阈值,从而可以得到每个红外发射灯各自对应的最优的目标发射增益值,使得红外触控屏中不同的红外发射灯采用不同的目标发射增益值进行红外信号发射时,不同角度的红外接收灯接收到的红外信号的强度值都能恰好达到预设强度阈值,也即接收到的红外信号的信号强度较为一致,从而提高红外触控屏的触控检测效果。The transmission gain determination method, device, equipment, medium and product in the embodiments of the present application control multiple infrared transmitting lamps in the infrared touch screen to transmit infrared signals according to their respective corresponding transmission gain values, and obtain the signal strength value of the infrared signal received by the infrared receiving lamp to obtain a signal strength array, and then, when any signal strength value in the signal strength array, that is, the first signal strength value, is less than a preset strength threshold, and the transmission gain value of the first infrared transmitting lamp corresponding to the first signal strength value is less than a preset maximum gain threshold, the transmission gain value of the first infrared transmitting lamp is gradually increased in a step-by-step manner according to a preset step size, and the above process is repeated until the first signal strength value is not less than the preset intensity threshold. In this way, in the embodiment of the present application, when each infrared transmitting lamp transmits an infrared signal according to the initial transmission gain value, the signal strength value of the initial infrared signal received by the infrared receiving lamp is less than the preset intensity threshold. On this basis, the transmission gain is gradually increased in a step-by-step manner until each infrared transmitting lamp transmits an infrared signal according to its own updated transmission gain value, and the first signal strength value of the infrared signal received by the infrared receiving lamp is greater than the preset intensity threshold. Therefore, the optimal target transmission gain value corresponding to each infrared transmitting lamp can be obtained, so that when different infrared transmitting lamps in the infrared touch screen use different target transmission gain values to transmit infrared signals, the intensity values of the infrared signals received by the infrared receiving lamps at different angles can just reach the preset intensity threshold, that is, the signal strength of the received infrared signals is relatively consistent, thereby improving the touch detection effect of the infrared touch screen.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
图1是本申请提供的红外触控屏的一种结构示意图;FIG1 is a schematic diagram of the structure of an infrared touch screen provided by the present application;
图2是本申请提供的红外触控屏的一种信号发射示意图;FIG2 is a schematic diagram of a signal transmission of an infrared touch screen provided by the present application;
图3是本申请一个实施例提供的发射增益确定方法的流程示意图;FIG3 is a flow chart of a method for determining a transmission gain provided by an embodiment of the present application;
图4是本申请提供的发射增益确定系统的一种结构框图;FIG4 is a structural block diagram of a transmission gain determination system provided by the present application;
图5是本申请提供的红外触控屏中发射灯与接收灯组之间的一种对应关系示意图;FIG5 is a schematic diagram of a corresponding relationship between a transmitting light and a receiving light group in an infrared touch screen provided by the present application;
图6是本申请一个实施例提供的发射增益确定装置的结构示意图;FIG6 is a schematic diagram of the structure of a transmission gain determination device provided by an embodiment of the present application;
图7是本申请一个实施例提供的电子设备的结构示意图。FIG. 7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅意在解释本申请,而不是限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
目前,红外触控屏的触控检测方式为:如图1所示,在红外触控屏的四个边分布红外发射灯11和红外接收灯12,例如在第一边框和第二边框上设置红外发射灯11,在第三边框和第四边框上设置红外接收灯12,红外发射灯11和红外接收灯12对向设置,通过逐个点亮红外发射灯11,并由红外接收灯12接收红外发射灯11发射的红外检测信号,将该信号转换为电信号后,通过判断电信号的波动情况来判定是否有遮挡以及遮挡区域,从而实现触控检测。点亮红外发射灯11时,通过红外发射灯11的电流决定了红外发射灯11的发射强度,同时也就决定了红外接收灯12接收 到红外信号后转换为电信号的强度。At present, the touch detection method of the infrared touch screen is as follows: as shown in FIG1, infrared emitting lamps 11 and infrared receiving lamps 12 are distributed on the four sides of the infrared touch screen, for example, infrared emitting lamps 11 are set on the first frame and the second frame, and infrared receiving lamps 12 are set on the third frame and the fourth frame, and the infrared emitting lamps 11 and the infrared receiving lamps 12 are set opposite to each other, and the infrared emitting lamps 11 are lit one by one, and the infrared receiving lamps 12 receive the infrared detection signal emitted by the infrared emitting lamps 11, and after converting the signal into an electrical signal, the fluctuation of the electrical signal is judged to determine whether there is an obstruction and the obstruction area, thereby realizing touch detection. When the infrared emitting lamp 11 is lit, the current passing through the infrared emitting lamp 11 determines the emission intensity of the infrared emitting lamp 11, and at the same time determines the intensity of the electrical signal converted after the infrared receiving lamp 12 receives the infrared signal.
另外,如图2所示,每个红外发射灯发射不同角度的红外信号,不同角度的红外信号被不同的红外接收灯接收。由于红外发射灯到各红外接收灯的距离不一样,则在同样发射功率的情况下,不同红外接收灯接收到的红外信号强度不一致。为了使红外发射灯发射的大角度红外信号能够被红外接收灯接收,则需要加大红外发射灯的发射功率,以提高红外接收灯接收到的信号强度。但是较大的发射功率,将会导致红外发射灯发射的小角度的红外信号强度过高饱和,对于细小的遮挡物体,红外接收灯接收到的红外信号强度可能超过预设检测强度值范围,从而导致检测失败。同样的,为了避免红外发射灯发射的小角度的红外信号强度过高饱和,超出红外接收灯的预设检测强度值范围,则需要减小红外发射灯的发射功率。这样,红外发射灯发射的大角度红外信号可能因为信号强度低而无法被红外接收灯接收,当存在遮挡物体时,红外信号无法产生足够的变化量,导致检测失败。因此,红外发射灯的发射增益设置得过大或过小均会影响红外触控屏的触控检测效果。In addition, as shown in FIG2 , each infrared transmitting lamp transmits infrared signals at different angles, and infrared signals at different angles are received by different infrared receiving lamps. Since the distances from the infrared transmitting lamp to each infrared receiving lamp are different, the infrared signal strengths received by different infrared receiving lamps are inconsistent under the same transmitting power. In order to enable the infrared signal at a large angle emitted by the infrared transmitting lamp to be received by the infrared receiving lamp, it is necessary to increase the transmitting power of the infrared transmitting lamp to increase the signal strength received by the infrared receiving lamp. However, a larger transmitting power will cause the infrared signal strength at a small angle emitted by the infrared transmitting lamp to be too high and saturated. For a small obstructing object, the infrared signal strength received by the infrared receiving lamp may exceed the preset detection strength value range, resulting in detection failure. Similarly, in order to avoid the infrared signal strength at a small angle emitted by the infrared transmitting lamp to be too high and saturated, exceeding the preset detection strength value range of the infrared receiving lamp, it is necessary to reduce the transmitting power of the infrared transmitting lamp. In this way, the infrared signal at a large angle emitted by the infrared transmitting lamp may not be received by the infrared receiving lamp due to the low signal strength. When there is an obstructing object, the infrared signal cannot produce enough variation, resulting in detection failure. Therefore, if the emission gain of the infrared emission lamp is set too large or too small, the touch detection effect of the infrared touch screen will be affected.
为了解决现有技术问题,本申请实施例提供了一种发射增益确定方法、装置、设备及计算机可读存储介质。该发射增益确定方法可以应用于调整红外触控屏信号发射增益的场景,下面首先对本申请实施例所提供的发射增益确定方法进行介绍。In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment and computer-readable storage medium for determining transmission gain. The transmission gain determination method can be applied to the scenario of adjusting the transmission gain of infrared touch screen signals. The transmission gain determination method provided by the embodiments of the present application is first introduced below.
图3是本申请一个实施例提供的发射增益确定方法的流程示意图。如图3所示,该发射增益确定方法具体可以包括如下步骤:FIG3 is a flow chart of a method for determining a transmission gain provided by an embodiment of the present application. As shown in FIG3 , the method for determining a transmission gain may specifically include the following steps:
S310、控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号;S310, controlling multiple infrared transmitting lamps in the infrared touch screen to transmit infrared signals in sequence according to their corresponding transmission gain values;
S320、获取多个红外发射灯对应的多个红外接收灯接收到的红外信号的信号强度值,得到信号强度数组;S320, obtaining signal strength values of infrared signals received by a plurality of infrared receiving lamps corresponding to a plurality of infrared transmitting lamps, and obtaining a signal strength array;
S330、在信号强度数组中的第一信号强度值小于预设强度阈值,且第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长增大第一红外发射灯的发射增益值,以更新第一红外发射灯的发射增益值,其中,第一信号强度值为信号强度数组中的任 意一个信号强度值;S330, when the first signal strength value in the signal strength array is less than the preset strength threshold, and the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, increase the emission gain value of the first infrared emission lamp according to the preset step length to update the emission gain value of the first infrared emission lamp, wherein the first signal strength value is any signal strength value in the signal strength array;
S340、返回执行控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,直至第一信号强度值不小于预设强度阈值,得到与多个红外发射灯分别对应的目标发射增益值。S340, return to execute control of the multiple infrared emitting lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values, until the first signal strength value is not less than the preset strength threshold, and obtain the target emission gain values corresponding to the multiple infrared emitting lamps respectively.
由此,通过控制红外触控屏中的多个红外发射灯按照各自对应的发射增益值发射红外信号,并获取红外接收灯接收到的红外信号的信号强度值,得到信号强度数组,进而在该信号强度数组中的任意一个信号强度值,也即第一信号强度值,小于预设强度阈值,且第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长,以步进方式逐渐增大该第一红外发射灯的发射增益值,并重复上述过程,直至该第一信号强度值不小于预设强度阈值。如此,本申请实施例中由于每个红外发射灯按照初始的发射增益值发射红外信号时,红外接收灯接收到的初始红外信号的信号强度值小于预设强度阈值,在此基础上,按照步进方式逐步增大发射增益,直至每个红外发射灯按照各自更新后的发射增益值发射红外信号后,红外接收灯接收到的红外信号的第一信号强度值均大于预设强度阈值,从而可以得到每个红外发射灯各自对应的最优的目标发射增益值,使得红外触控屏中不同的红外发射灯采用不同的目标发射增益值进行红外信号发射时,不同角度的红外接收灯接收到的红外信号的强度值都能恰好达到预设强度阈值,也即接收到的红外信号的信号强度较为一致,从而提高红外触控屏的触控检测效果。Therefore, by controlling the multiple infrared emitting lamps in the infrared touch screen to emit infrared signals according to their respective corresponding emission gain values, and obtaining the signal strength value of the infrared signal received by the infrared receiving lamp, a signal strength array is obtained, and then when any one of the signal strength values in the signal strength array, that is, the first signal strength value, is less than the preset strength threshold, and the emission gain value of the first infrared emitting lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, the emission gain value of the first infrared emitting lamp is gradually increased in a step-by-step manner according to the preset step size, and the above process is repeated until the first signal strength value is not less than the preset strength threshold. In this way, in the embodiment of the present application, when each infrared transmitting lamp transmits an infrared signal according to the initial transmission gain value, the signal strength value of the initial infrared signal received by the infrared receiving lamp is less than the preset intensity threshold. On this basis, the transmission gain is gradually increased in a step-by-step manner until each infrared transmitting lamp transmits an infrared signal according to its own updated transmission gain value, and the first signal strength value of the infrared signal received by the infrared receiving lamp is greater than the preset intensity threshold. Therefore, the optimal target transmission gain value corresponding to each infrared transmitting lamp can be obtained, so that when different infrared transmitting lamps in the infrared touch screen use different target transmission gain values to transmit infrared signals, the intensity values of the infrared signals received by the infrared receiving lamps at different angles can just reach the preset intensity threshold, that is, the signal strength of the received infrared signals is relatively consistent, thereby improving the touch detection effect of the infrared touch screen.
下面介绍上述各个步骤的具体实现方式。The specific implementation methods of the above steps are introduced below.
在一些实施方式中,在S310中,红外触控屏中可包括相对设置的多个红外发射灯和多个红外接收灯。不同红外发射灯的初始发射增益值可是相同的也可以是不同的,在此不作限定。另外,初始发射增益值的设置原则可以是,当红外发射灯按照其对应的初始发射增益值发射红外信号时,其对应的多个红外接收灯接收到的初始红外信号的信号强度值小于预设强度阈值。In some embodiments, in S310, the infrared touch screen may include a plurality of infrared emitting lamps and a plurality of infrared receiving lamps that are relatively arranged. The initial emission gain values of different infrared emitting lamps may be the same or different, which is not limited here. In addition, the setting principle of the initial emission gain value may be that when the infrared emitting lamp emits an infrared signal according to its corresponding initial emission gain value, the signal strength value of the initial infrared signal received by the corresponding plurality of infrared receiving lamps is less than a preset intensity threshold.
在一些示例中,多个红外发射灯的初始发射增益值可以为预设最小增益值。基于此,在上述S310之前,本申请实施例提供的发射增益确定方 法还可以包括:In some examples, the initial emission gain values of the plurality of infrared emission lamps may be a preset minimum gain value. Based on this, before the above S310, the emission gain determination method provided in the embodiment of the present application may further include:
将红外触控屏中每个红外发射灯对应的初始发射增益值设置为预设最小增益值。The initial emission gain value corresponding to each infrared emission lamp in the infrared touch screen is set to a preset minimum gain value.
这里,在初始情况下,红外触控屏中每个红外发射灯的发射增益值可以是预设的最小值。当每个红外发射灯按照该初始发射增益值发射初始红外信号时,红外接收灯接收到的各个初始红外信号的信号强度值均小于预设强度阈值。在此基础上,按照预设步长对每个红外发射灯对应的发射增益值逐步进行累加,也即,通过步进方式增大红外发射灯对应的发射增益值。Here, in the initial case, the emission gain value of each infrared emitting lamp in the infrared touch screen can be a preset minimum value. When each infrared emitting lamp emits an initial infrared signal according to the initial emission gain value, the signal strength values of each initial infrared signal received by the infrared receiving lamp are all less than the preset intensity threshold. On this basis, the emission gain value corresponding to each infrared emitting lamp is gradually accumulated according to the preset step size, that is, the emission gain value corresponding to the infrared emitting lamp is increased in a step-by-step manner.
示例性地,在确定红外发射灯对应的发射增益值的过程中,首次控制红外发射灯发射红外信号时可按照初始发射增益值(即预设的最小值)进行发射,对应的红外接收灯接收到的初始红外信号的信号强度值是小于预设强度阈值的,之后步骤循环过程中再次控制红外发射灯发射红外信号时所使用的发射增益值,可以为上次步骤中按照预设步长累加更新后得到的发射增益值。Exemplarily, in the process of determining the transmission gain value corresponding to the infrared transmitting lamp, when the infrared transmitting lamp is controlled to transmit an infrared signal for the first time, it can be transmitted according to the initial transmission gain value (i.e., the preset minimum value), and the signal strength value of the initial infrared signal received by the corresponding infrared receiving lamp is less than the preset intensity threshold. The transmission gain value used when the infrared transmitting lamp is controlled to transmit an infrared signal again during the step loop can be the transmission gain value obtained after cumulative update according to the preset step size in the previous step.
另外,控制多个红外发射灯依次进行红外信号发射的顺序可以是该多个红外发射灯在红外触控屏中的位置排列顺序,当然也可以是其他顺序,在此不作限定。In addition, the order of controlling the multiple infrared emitting lamps to transmit infrared signals in sequence may be the order in which the multiple infrared emitting lamps are arranged in the infrared touch screen. Of course, it may also be other orders, which are not limited here.
在一些实施方式中,在S320中,一个红外发射灯发射的红外信号可由相对设置的多个红外接收灯接收到,并可将该多个红外接收灯接收到的红外信号的信号强度值之和,或者信号强度值的平均值,或者信号强度值的中值等,作为该红外触控屏中红外接收灯其中一次接收到的红外信号的信号强度值。In some embodiments, in S320, an infrared signal emitted by an infrared transmitting lamp can be received by multiple infrared receiving lamps that are relatively arranged, and the sum of the signal strength values of the infrared signals received by the multiple infrared receiving lamps, or the average value of the signal strength values, or the median value of the signal strength values, etc. can be used as the signal strength value of the infrared signal received by the infrared receiving lamp in the infrared touch screen at one time.
示例性地,在单次循环中,该多个红外发射灯中的每个红外发射灯可分别发射一次红外信号,对应地,红外接收灯可接收到每个红外发射灯分别发射的红外信号,且发射次数与接收次数相等。如此,该多个红外发射灯依次发射红外信号后,红外接收灯可对应多次接收到红外信号,并获取每次接收到的红外信号的信号强度值,构成信号强度数组。For example, in a single cycle, each of the multiple infrared emitting lamps can emit an infrared signal once, and correspondingly, the infrared receiving lamp can receive the infrared signal emitted by each infrared emitting lamp, and the number of transmissions is equal to the number of receptions. In this way, after the multiple infrared emitting lamps emit infrared signals in sequence, the infrared receiving lamp can receive infrared signals multiple times, and obtain the signal strength value of the infrared signal received each time, forming a signal strength array.
这里,信号强度数组可以是多次接收到的红外信号分别对应的信号强 度值,依次排列得到的一维数组,也可以是由多次接收到的红外信号分别对应的信号强度值构成的多维数组,在此不作限定。其中,信号强度数组中的一个元素可对应一个信号强度值。Here, the signal strength array can be a one-dimensional array obtained by sequentially arranging the signal strength values corresponding to the infrared signals received multiple times, or a multi-dimensional array consisting of the signal strength values corresponding to the infrared signals received multiple times, which is not limited here. Among them, one element in the signal strength array can correspond to one signal strength value.
示例性地,红外触控屏中的多个红外接收灯在每次接收到红外信号后,可将红外信号转换为电信号,进而将该多个红外接收灯对应转换得到的电信号的信号强度值之和,作为接收到的一个红外信号的信号强度值。Exemplarily, after receiving an infrared signal each time, the multiple infrared receiving lights in the infrared touch screen can convert the infrared signal into an electrical signal, and then use the sum of the signal strength values of the electrical signals converted by the multiple infrared receiving lights as the signal strength value of a received infrared signal.
在一些实施方式中,在S330中,预设强度阈值可以是根据实际需要设置的期望红外接收灯接收到的信号强度值。当红外触控屏中任意发射灯的发射增益值为初始情况下的最小发射增益值时,对应信号接收模组接收到的信号强度值均低于该预设强度阈值。预设最大增益阈值可以是红外发射灯达到发射功率饱和时的增益值,当发射增益值达到一定值时,发射灯的发射功率达到饱和,继续增大该发射增益值对接收到的信号的强度几乎没有影响。In some embodiments, in S330, the preset intensity threshold may be the signal intensity value expected to be received by the infrared receiving lamp set according to actual needs. When the transmission gain value of any transmitting lamp in the infrared touch screen is the minimum transmission gain value in the initial situation, the signal intensity value received by the corresponding signal receiving module is lower than the preset intensity threshold. The preset maximum gain threshold may be the gain value when the infrared transmitting lamp reaches the transmission power saturation. When the transmission gain value reaches a certain value, the transmission power of the transmitting lamp reaches saturation, and continuing to increase the transmission gain value has almost no effect on the intensity of the received signal.
另外,预设步长可以直接是预设的增益电压值,也可以是数字控制中的单位1,再将该单位1信号经由DAC模块转换为模拟的增益电压值,并以此增益电压值为单位,步进式增大发射增益值,在此不作限定。In addition, the preset step size can be directly the preset gain voltage value, or it can be unit 1 in digital control. The unit 1 signal is then converted into an analog gain voltage value through the DAC module, and the transmission gain value is increased step by step based on this gain voltage value. There is no limitation here.
示例性地,在获得信号强度数组之后,可遍历信号强度数组中的每个元素,确定每个元素分别对应的信号强度值是否小于预设强度阈值。在信号强度数组中任意一个信号强度值,也即第一信号强度值,小于预设强度阈值,且对应的第一红外发射灯所使用的发射增益值小于预设最大增益阈值的情况下,则说明此时第一红外发射灯的发射增益值还没有达到其最优发射增益阈值,因此,可按照预设步长增大该第一红外发射灯的发射增益值,并将增大后的发射增益值作为下次循环中第一红外发射灯发射红外信号时使用的发射增益值。其中,第一红外发射灯可以是在获取红外接收灯接收到的第一红外信号的第一信号强度值之前,对应发射该第一红外信号的红外发射灯。Exemplarily, after obtaining the signal strength array, each element in the signal strength array can be traversed to determine whether the signal strength value corresponding to each element is less than the preset strength threshold. When any signal strength value in the signal strength array, that is, the first signal strength value, is less than the preset strength threshold, and the corresponding emission gain value used by the first infrared emitting lamp is less than the preset maximum gain threshold, it means that the emission gain value of the first infrared emitting lamp has not reached its optimal emission gain threshold at this time. Therefore, the emission gain value of the first infrared emitting lamp can be increased according to the preset step size, and the increased emission gain value can be used as the emission gain value used when the first infrared emitting lamp emits an infrared signal in the next cycle. Among them, the first infrared emitting lamp can be the infrared emitting lamp that emits the first infrared signal before obtaining the first signal strength value of the first infrared signal received by the infrared receiving lamp.
在一些实施方式中,在S340中,在更新发射增益值后,可返回至S310,重复执行S310-S340,直至红外接收灯接收到的所有红外信号的信号强度值均不小于该预设强度阈值。如此,可得到每个红外发射灯分别对 应最优的发射增益值,也即目标发射增益值。其中,不同的红外发射灯对应的目标发射增益值可以不同。In some embodiments, in S340, after updating the transmission gain value, the process may return to S310 and repeat S310-S340 until the signal strength values of all infrared signals received by the infrared receiving lamp are not less than the preset strength threshold. In this way, the optimal transmission gain value corresponding to each infrared transmitting lamp, that is, the target transmission gain value, may be obtained. The target transmission gain values corresponding to different infrared transmitting lamps may be different.
另外,在一些实施方式中,本申请实施例提供的发射增益确定方法还可以包括:In addition, in some implementations, the transmission gain determination method provided in the embodiments of the present application may further include:
在第一信号强度值对应的第一红外发射灯的发射增益值不小于预设最大增益阈值的情况下,将预设最大增益阈值确定为与第一红外发射灯对应的目标发射增益值。When the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is not less than the preset maximum gain threshold, the preset maximum gain threshold is determined as the target emission gain value corresponding to the first infrared emission lamp.
示例性地,若经过多次循环后,第一信号强度值仍然小于预设强度阈值,而对应的发射增益值已达到预设最大增益阈值,则可将该预设最大增益阈值确定为第一红外发射灯对应的发射增益值。For example, if after multiple cycles, the first signal strength value is still less than the preset strength threshold, and the corresponding emission gain value has reached the preset maximum gain threshold, the preset maximum gain threshold can be determined as the emission gain value corresponding to the first infrared emission lamp.
这样,通过设置最大增益阈值,可控制红外发射灯的发射增益值始终不会超过该预设最大增益阈值,从而可以避免不必要的电能浪费。In this way, by setting the maximum gain threshold, the emission gain value of the infrared emission lamp can be controlled so as not to exceed the preset maximum gain threshold, thereby avoiding unnecessary waste of electric energy.
另外,如图4所示为本申请实施例中发射增益确定方法所适用的一种系统框图。该系统可包括:微控制单元40,用于通过模数转换模块401进行发射增益控制;发射控制电路41,用于控制红外发射灯矩阵42中的所有红外发射灯按照各自对应的发射增益值逐个发射红外信号;接收控制电路43,用于控制红外接收灯矩阵44中的红外接收灯逐个接收红外信号,并转化为模拟电信号,再利用模数转换模块402将模拟电信号转换为数字电信号,以便进行计算和对比等处理。In addition, as shown in FIG4 , a system block diagram applicable to the transmission gain determination method in the embodiment of the present application is shown. The system may include: a microcontroller unit 40, which is used to control the transmission gain through an analog-to-digital conversion module 401; a transmission control circuit 41, which is used to control all infrared transmission lamps in the infrared transmission lamp matrix 42 to transmit infrared signals one by one according to their corresponding transmission gain values; a receiving control circuit 43, which is used to control the infrared receiving lamps in the infrared receiving lamp matrix 44 to receive infrared signals one by one and convert them into analog electrical signals, and then use the analog-to-digital conversion module 402 to convert the analog electrical signals into digital electrical signals for calculation and comparison and other processing.
在一些示例中,上述红外触控屏中可包括多组红外接收灯组,每组红外接收灯组中可包括多个红外接收灯。In some examples, the infrared touch screen may include multiple groups of infrared receiving light groups, and each group of infrared receiving light groups may include multiple infrared receiving light groups.
基于此,上述S310具体可以包括:Based on this, the above S310 may specifically include:
控制多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号。The plurality of infrared transmitting lamps respectively corresponding to the plurality of infrared receiving lamp groups are controlled to transmit infrared signals in sequence according to the corresponding transmission gain values.
这里,由于模数转换模块402的输入位数有限,一次可以接入与输入位数相同个数的红外接收灯,因此,在红外触控屏按帧扫描的过程中,可按照模数转换模块402的输入位数,将红外接收灯划分为多组,每组红外接收灯组中包含的红外接收灯的个数与模数转换模块402的输入位数相同。一组红外接收灯组能够接收到来自多个红外发射灯的红外信号,基于 此,可将该多个红外发射灯作为该红外接收灯组对应的红外发射灯。Here, since the input bit number of the analog-to-digital conversion module 402 is limited, the same number of infrared receiving lamps as the input bit number can be connected at one time. Therefore, in the process of frame scanning of the infrared touch screen, the infrared receiving lamps can be divided into multiple groups according to the input bit number of the analog-to-digital conversion module 402, and the number of infrared receiving lamps contained in each infrared receiving lamp group is the same as the input bit number of the analog-to-digital conversion module 402. One group of infrared receiving lamps can receive infrared signals from multiple infrared transmitting lamps, based on this, the multiple infrared transmitting lamps can be used as the infrared transmitting lamps corresponding to the infrared receiving lamp group.
例如,如图5所示,设红外触控屏中包括30个红外接收灯,且模数转换模块的输入位数为6,则可将该30个红外接收灯划分为N=5组,其中,第1至第6个红外接收灯为第一红外接收灯组51,第7至第12个红外接收灯为第二红外接收灯组52,第13至第18个红外接收灯为第三红外接收灯组53,第19至第24个红外接收灯为第四红外接收灯组54,第25至第30个红外接收灯为第五红外接收灯组55。根据每组红外接收灯组对应的可接收信号角度范围,可确定位于该范围内的多个红外发射灯,为该组红外接收灯组对应的红外发射灯。For example, as shown in FIG5 , assuming that the infrared touch screen includes 30 infrared receiving lamps, and the input bit number of the analog-to-digital conversion module is 6, the 30 infrared receiving lamps can be divided into N=5 groups, wherein the 1st to 6th infrared receiving lamps are the first infrared receiving lamp group 51, the 7th to 12th infrared receiving lamps are the second infrared receiving lamp group 52, the 13th to 18th infrared receiving lamps are the third infrared receiving lamp group 53, the 19th to 24th infrared receiving lamps are the fourth infrared receiving lamp group 54, and the 25th to 30th infrared receiving lamps are the fifth infrared receiving lamp group 55. According to the receivable signal angle range corresponding to each group of infrared receiving lamp groups, multiple infrared emitting lamps located within the range can be determined as the infrared emitting lamps corresponding to the group of infrared receiving lamp groups.
基于此,可按照该多个红外接收灯组在红外触控屏中的排列顺序,控制每组红外接收灯组分别对应的多个红外发射灯依次发射红外信号。举例而言,若红外触控屏中第一红外接收灯组、第二红外接收灯组、第三红外接收灯组、第四红外接收灯组和第五红外接收灯组依次排列,则可先控制第一红外接收灯组对应的多个红外发射灯依次发射红外信号,并获取第一红外接收灯组接收到的多个红外信号分别对应的信号强度值。然后,控制第二红外接收灯组对应的多个红外发射灯依次发射红外信号,并获取第二红外接收灯组接收到的多个红外信号分别对应的信号强度值。接着,控制第三红外接收灯组对应的多个红外发射灯依次发射红外信号,并获取第三红外接收灯组接收到的多个红外信号分别对应的信号强度值,以此类推,直至完成第五红外接收灯组对应的多个红外发射灯的发射控制和信号强度值的获取。Based on this, the multiple infrared emitting lamps corresponding to each infrared receiving lamp group can be controlled to emit infrared signals in sequence according to the arrangement order of the multiple infrared receiving lamp groups in the infrared touch screen. For example, if the first infrared receiving lamp group, the second infrared receiving lamp group, the third infrared receiving lamp group, the fourth infrared receiving lamp group and the fifth infrared receiving lamp group are arranged in sequence in the infrared touch screen, the multiple infrared emitting lamps corresponding to the first infrared receiving lamp group can be controlled to emit infrared signals in sequence, and the signal strength values corresponding to the multiple infrared signals received by the first infrared receiving lamp group can be obtained. Then, the multiple infrared emitting lamps corresponding to the second infrared receiving lamp group are controlled to emit infrared signals in sequence, and the signal strength values corresponding to the multiple infrared signals received by the second infrared receiving lamp group are obtained. Next, the multiple infrared emitting lamps corresponding to the third infrared receiving lamp group are controlled to emit infrared signals in sequence, and the signal strength values corresponding to the multiple infrared signals received by the third infrared receiving lamp group are obtained, and so on, until the emission control of the multiple infrared emitting lamps corresponding to the fifth infrared receiving lamp group and the acquisition of the signal strength values are completed.
基于此,在一些实施方式中,针对每组红外接收灯组,上述控制多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号的步骤,具体可以包括:Based on this, in some embodiments, for each group of infrared receiving light groups, the step of controlling the plurality of infrared transmitting lights corresponding to the plurality of infrared receiving light groups to transmit infrared signals in sequence according to their respective corresponding transmission gain values may specifically include:
确定与目标红外接收灯组对应的多个目标红外发射灯,其中,目标红外接收灯组为多组红外接收灯组中的任一组红外接收灯组;Determine a plurality of target infrared transmitting lamps corresponding to a target infrared receiving lamp group, wherein the target infrared receiving lamp group is any one infrared receiving lamp group among the plurality of infrared receiving lamp groups;
按照多个目标红外发射灯在红外触控屏中的排列顺序,控制多个目标红外发射灯依次按照各自对应的发射增益值发射红外信号。According to the arrangement order of the multiple target infrared emitting lamps in the infrared touch screen, the multiple target infrared emitting lamps are controlled to emit infrared signals in sequence according to their corresponding emission gain values.
这里,不同的红外接收灯组对应的红外发射灯的数量可能并不相同, 例如位于红外触控屏边缘处的红外接收灯组对应的红外发射灯的数量,可能会小于位于红外触控屏中心处的红外接收灯组对应的红外发射灯的数量。Here, the number of infrared transmitting lamps corresponding to different infrared receiving lamp groups may be different. For example, the number of infrared transmitting lamps corresponding to the infrared receiving lamp group located at the edge of the infrared touch screen may be smaller than the number of infrared transmitting lamps corresponding to the infrared receiving lamp group located at the center of the infrared touch screen.
在针对任一组红外接收灯组对应的红外发射灯进行发射控制时,可依据该任一组红外接收灯组,也即目标红外接收灯组,对应的可接收信号角度范围,确定位于该范围内的多个红外发射灯,作为与该目标红外接收灯组对应的多个目标红外发射灯。When controlling the emission of the infrared transmitting lights corresponding to any group of infrared receiving light groups, the multiple infrared transmitting lights within the receivable signal angle range corresponding to the any group of infrared receiving light groups, that is, the target infrared receiving light group, can be determined as the multiple target infrared transmitting lights corresponding to the target infrared receiving light group.
例如,如图5所示,在遍历至第一红外接收灯组51时,可基于第一红外接收灯组对应的可接收信号角度范围,确定位于该范围内的第1至第8个红外发射灯为与第一红外接收灯组51对应的红外发射灯,进而按照第1至第8个红外发射灯在红外触控屏中的排列顺序,依次点亮第1至第8个红外发射灯,如先点亮第1个红外发射灯,并获取第一红外接收灯组51接收到的第1个红外发射灯发射的红外信号对应的信号强度值,再点亮第2个红外发射灯,并获取第一红外接收灯组51接收到的第2个红外发射灯发射的红外信号对应的信号强度值,以此类推,直至点亮第8个红外发射灯,并获取第一红外接收灯组51接收到的第8个红外发射灯发射的红外信号对应的信号强度值。接着,基于第二红外接收灯组52对应的可接收信号角度范围,确定位于该范围内的第5至第14个红外发射灯为与第二红外接收灯组52对应的红外发射灯,进而按照第5至第14个红外发射灯在红外触控屏中的排列顺序,依次点亮第5至第14个红外发射灯,具体过程与前述第一红外接收灯组51类似,在此不再赘述。另外,基于第三红外接收灯组53对应的可接收信号角度范围,确定位于该范围内的第11至第20个红外发射灯为与第三红外接收灯组53对应的红外发射灯。基于第四红外接收灯组54对应的可接收信号角度范围,确定位于该范围内的第17至第26个红外发射灯为与第四红外接收灯组54对应的红外发射灯。基于第五红外接收灯组55对应的可接收信号角度范围,确定位于该范围内的第23至第30个红外发射灯为与第五红外接收灯组55对应的红外发射灯。For example, as shown in Figure 5, when traversing to the first infrared receiving light group 51, based on the receivable signal angle range corresponding to the first infrared receiving light group, it can be determined that the 1st to 8th infrared transmitting lights within the range are the infrared transmitting lights corresponding to the first infrared receiving light group 51, and then the 1st to 8th infrared transmitting lights are lit in sequence according to the arrangement order of the 1st to 8th infrared transmitting lights in the infrared touch screen, such as lighting the 1st infrared transmitting light first, and obtaining the signal strength value corresponding to the infrared signal emitted by the 1st infrared transmitting light received by the first infrared receiving light group 51, and then lighting the 2nd infrared transmitting light, and obtaining the signal strength value corresponding to the infrared signal emitted by the 2nd infrared transmitting light received by the first infrared receiving light group 51, and so on, until the 8th infrared transmitting light is lit, and the signal strength value corresponding to the infrared signal emitted by the 8th infrared transmitting light received by the first infrared receiving light group 51 is obtained. Next, based on the receivable signal angle range corresponding to the second infrared receiving lamp group 52, the 5th to 14th infrared transmitting lamps within the range are determined to be the infrared transmitting lamps corresponding to the second infrared receiving lamp group 52, and then the 5th to 14th infrared transmitting lamps are lit in sequence according to the arrangement order of the 5th to 14th infrared transmitting lamps in the infrared touch screen. The specific process is similar to the aforementioned first infrared receiving lamp group 51 and will not be repeated here. In addition, based on the receivable signal angle range corresponding to the third infrared receiving lamp group 53, the 11th to 20th infrared transmitting lamps within the range are determined to be the infrared transmitting lamps corresponding to the third infrared receiving lamp group 53. Based on the receivable signal angle range corresponding to the fourth infrared receiving lamp group 54, the 17th to 26th infrared transmitting lamps within the range are determined to be the infrared transmitting lamps corresponding to the fourth infrared receiving lamp group 54. Based on the receivable signal angle range corresponding to the fifth infrared receiving lamp group 55, the 23rd to 30th infrared transmitting lamps within the range are determined to be the infrared transmitting lamps corresponding to the fifth infrared receiving lamp group 55.
示例性地,当完成所有红外接收灯组对应的红外发射灯的发射控制 后,可视为完成一帧扫描。如此,可获取到每个红外接收灯组依次接收的多个红外信号分别对应的信号强度值。For example, when the emission control of the infrared emission lamps corresponding to all infrared receiving lamp groups is completed, it can be regarded as completing one frame scan. In this way, the signal strength values corresponding to the multiple infrared signals received in sequence by each infrared receiving lamp group can be obtained.
基于此,为了更好地对各个信号强度值进行遍历和比较,在一些实施方式中,上述S320具体可以包括:Based on this, in order to better traverse and compare the signal strength values, in some implementations, the above S320 may specifically include:
获取多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与多组红外接收灯组分别对应的信号强度子数组;Obtaining the signal strength value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups, and obtaining the signal strength subarrays corresponding to the plurality of infrared receiving light groups respectively;
将与多组红外接收灯组分别对应的信号强度子数组进行拼接处理,得到信号强度数组。The signal strength sub-arrays corresponding to the multiple groups of infrared receiving light groups are spliced to obtain a signal strength array.
这里,根据前述内容可知,每组红外接收灯组对应多个红外发射灯,而每个红外发射灯点亮一次,该红外接收灯组即可接收到一个红外信号对应的信号强度值,因此,一组红外接收灯组可对应获取到一个信号强度子数组。Here, according to the above content, each group of infrared receiving lights corresponds to multiple infrared transmitting lights, and each infrared transmitting light is lit once, and the infrared receiving light group can receive a signal strength value corresponding to an infrared signal. Therefore, a group of infrared receiving lights can obtain a signal strength sub-array.
例如,图5中的第一红外接收灯组51对应的红外发射灯序号为1至8,因此,第一红外接收灯组51可对应获取到一个由8个信号强度值组成的信号强度子数组,而第二红外接收灯组52对应的红外发射灯序号为5至14,因此,第二红外接收灯组52可对应获取到一个由10个信号强度值组成的信号强度子数组,以此类推,每个红外接收灯组均可对应获取到由多个信号强度值组成的信号强度子数组。For example, the infrared transmitting light serial numbers corresponding to the first infrared receiving light group 51 in Figure 5 are 1 to 8, so the first infrared receiving light group 51 can obtain a signal strength sub-array consisting of 8 signal strength values, and the infrared transmitting light serial numbers corresponding to the second infrared receiving light group 52 are 5 to 14, so the second infrared receiving light group 52 can obtain a signal strength sub-array consisting of 10 signal strength values, and so on, each infrared receiving light group can obtain a signal strength sub-array consisting of multiple signal strength values.
在一些实施方式中,上述获取多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与多组红外接收灯组分别对应的信号强度子数组的步骤,具体可以包括:In some embodiments, the step of obtaining the signal strength value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups to obtain the signal strength subarrays corresponding to the plurality of infrared receiving light groups may specifically include:
获取目标红外接收灯组中多个红外接收灯接收到的目标红外信号的信号强度值之和,得到与目标红外信号对应的信号强度值,其中,目标红外接收灯组为多组红外接收灯组中的任一组红外接收灯组,目标红外信号为目标红外接收灯组对应的多个目标红外发射灯中任一目标红外发射灯发射的红外信号;Obtaining the sum of the signal strength values of the target infrared signal received by the multiple infrared receiving lamps in the target infrared receiving lamp group, and obtaining the signal strength value corresponding to the target infrared signal, wherein the target infrared receiving lamp group is any one of the multiple infrared receiving lamp groups, and the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lamps corresponding to the target infrared receiving lamp group;
将每个目标红外发射灯发射的红外信号所对应的信号强度值作为数组元素,生成与目标红外接收灯组对应的信号强度子数组。The signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp is used as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
这里,对于一个红外发射灯一次发射的红外信号,可以由其对应的红 外接收灯组中的多个红外接收灯接收到,如此,可将该多个红外接收灯接收到的红外信号的信号强度值之和,作为该红外接收灯组接收到的该红外信号的信号强度值。当然,还可以是将该多个红外接收灯接收到的红外信号的信号强度值的平均值或中值,作为该红外接收灯组接收到的该红外信号的信号强度值。Here, the infrared signal emitted by an infrared transmitting lamp once can be received by multiple infrared receiving lamps in the corresponding infrared receiving lamp group. In this way, the sum of the signal strength values of the infrared signals received by the multiple infrared receiving lamps can be used as the signal strength value of the infrared signal received by the infrared receiving lamp group. Of course, the average value or median value of the signal strength values of the infrared signals received by the multiple infrared receiving lamps can also be used as the signal strength value of the infrared signal received by the infrared receiving lamp group.
这样,该红外接收灯组对应的每个红外发射灯发射的红外信号,均可对应获得一个信号强度值,进而将该多个信号强度值作为数组元素,组成一个信号强度子数组,即可得到该红外接收灯组对应的信号强度子数组。In this way, the infrared signal emitted by each infrared transmitting lamp corresponding to the infrared receiving lamp group can obtain a corresponding signal strength value, and then the multiple signal strength values are used as array elements to form a signal strength sub-array to obtain the signal strength sub-array corresponding to the infrared receiving lamp group.
另外,在获得各个红外接收灯组分别对应的信号强度子数组后,可将该多组红外接收灯组分别对应的信号强度子数组进行拼接,例如串联,得到信号强度数组,此处可设为Data[K],其中,K为完成一帧扫描的过程中,控制多个红外发射灯发射红外信号的总次数。如图5所述的例子,可最终得到一个大小为46的信号强度数组,也即K=8+10+10+10+8=46。In addition, after obtaining the signal strength sub-arrays corresponding to each infrared receiving light group, the signal strength sub-arrays corresponding to the multiple infrared receiving light groups can be spliced, such as serially connected, to obtain a signal strength array, which can be set as Data[K], where K is the total number of times that the multiple infrared transmitting lights are controlled to transmit infrared signals during the process of completing a frame scan. As shown in the example of Figure 5, a signal strength array of size 46 can be finally obtained, that is, K = 8 + 10 + 10 + 10 + 8 = 46.
具体地,扫描一帧需要控制红外发射灯发射红外信号的总次数可以为:Specifically, the total number of times the infrared emitter needs to be controlled to emit infrared signals for scanning one frame can be:
Figure PCTCN2022137327-appb-000001
Figure PCTCN2022137327-appb-000001
在上述公式(1)中,M(n)为每组红外接收灯组分别对应的红外发射灯的数量,N为红外接收灯组的组数,n为红外接收灯组对应的组号。In the above formula (1), M(n) is the number of infrared transmitting lamps corresponding to each infrared receiving lamp group, N is the number of infrared receiving lamp groups, and n is the group number corresponding to the infrared receiving lamp group.
与此相对应地,可设置一个大小为K的数组对应记录Data[K]中每个信号强度值分别对应的红外发射灯所使用的发射增益值,具体可设为Gain[K]。Correspondingly, an array of size K may be set to record the emission gain value used by the infrared emission lamp corresponding to each signal strength value in Data[K], which may be specifically set to Gain[K].
如此,可通过遍历Data[K]中的每个元素对应的信号强度值,如果第k个元素对应的信号强度值Data[k]<S,且Gain[k]<G_max,则可将Gain[k]对应的发射增益值按照预设步长增大,以更新Gain[k]对应的发射增益值。其中,k为元素索引序号,S为预设强度阈值,G_max为预设最大增益阈值。In this way, by traversing the signal strength value corresponding to each element in Data[K], if the signal strength value corresponding to the kth element Data[k]<S, and Gain[k]<G_max, the transmission gain value corresponding to Gain[k] can be increased according to the preset step size to update the transmission gain value corresponding to Gain[k]. Where k is the element index number, S is the preset strength threshold, and G_max is the preset maximum gain threshold.
返回重新开始下一帧的信号发射,信号发射时各个红外发射灯所使用的发射增益值可从更新后的Gain[K]中获取,并按照上述步骤继续对接收到的信号强度值进行判断,以及调整相应的红外发射灯的发射增益值,直 至每个红外发射灯按照Gain[K]中对应的发射增益值进行红外信号发射后,获取到的信号强度值数组Data[K]中的每个元素对应的信号强度值均大于或等于S为止,最终可得到包含与各个红外发射灯分别对应的目标发射增益值的增益值数组Gain[K]。Return and restart the signal transmission of the next frame. The transmission gain value used by each infrared transmitter during signal transmission can be obtained from the updated Gain[K], and the received signal strength value is continued to be judged according to the above steps, and the transmission gain value of the corresponding infrared transmitter is adjusted until each infrared transmitter transmits the infrared signal according to the corresponding transmission gain value in Gain[K], and the signal strength value corresponding to each element in the obtained signal strength value array Data[K] is greater than or equal to S. Finally, the gain value array Gain[K] containing the target transmission gain value corresponding to each infrared transmitter can be obtained.
需要说明的是,一帧扫描过程中同一红外发射灯可能会被多次点亮,而每次点亮时所使用的发射增益值也可以是不同的,进而使得最终同一红外发射灯在一帧扫描过程中的不同时刻所对应的目标发射增益值,可以是不同的。It should be noted that the same infrared transmitter may be lit multiple times during a frame scan, and the emission gain value used each time it is lit may be different, so that the target emission gain value corresponding to the same infrared transmitter at different times during a frame scan may be different.
另外,本申请实施例在实际运用时,红外触控屏的触控检测过程可分为两个阶段,第一阶段为预扫描阶段,目的是将每个红外发射灯的发射增益值由初始增益值调节到目标发射增益值,且不同红外发射灯的目标发射增益值可以是不同的。另外,一帧扫描过程中同一红外发射灯可能会被多次点亮,每次点亮时所使用的目标发射增益值也可以是不同的。该阶段需要持续扫描数十帧,即可确定每个发射灯在不同扫描时刻分别对应的最优发射增益值,也即目标发射增益值。In addition, when the embodiment of the present application is actually used, the touch detection process of the infrared touch screen can be divided into two stages. The first stage is the pre-scan stage, the purpose of which is to adjust the emission gain value of each infrared emitting lamp from the initial gain value to the target emission gain value, and the target emission gain values of different infrared emitting lamps may be different. In addition, the same infrared emitting lamp may be lit multiple times during a frame scan, and the target emission gain value used each time it is lit may also be different. This stage requires continuous scanning of dozens of frames to determine the optimal emission gain value corresponding to each emitting lamp at different scanning times, that is, the target emission gain value.
在上述预扫描阶段结束后,可进入第二阶段,也即正常工作模式。在一些实施方式中,在上述S340之后,本申请实施例提供的发射增益确定方法还可以包括:After the above-mentioned pre-scanning stage is finished, the second stage, that is, the normal working mode, can be entered. In some embodiments, after the above-mentioned S340, the transmission gain determination method provided in the embodiment of the present application may also include:
按照多个红外发射灯分别对应的目标发射增益值,控制多个红外发射灯发射红外信号,以进行触控检测。According to the target emission gain values respectively corresponding to the multiple infrared emission lamps, the multiple infrared emission lamps are controlled to emit infrared signals to perform touch detection.
示例性地,在得到存储有每个红外发射等分别对应的目标发射增益值的增益值数组Gain[K]之后,在正常工作模式下,红外触控屏中的多个红外发射灯可按照与预扫描阶段相同的信号发射顺序,并按照Gain[K]中存储的目标发射增益值进行红外信号的发射,如此,就可以使每组红外接收灯组每次接收的红外信号的信号强度值均能达到预设强度阈值,且又不至于高出预设强度阈值太多,也即接收到的红外信号的信号强度值较为一致,从而可以提高红外触控屏的触控检测效果。Exemplarily, after obtaining the gain value array Gain[K] storing the target emission gain value corresponding to each infrared emission, etc., in the normal working mode, the multiple infrared emission lamps in the infrared touch screen can transmit infrared signals in the same signal transmission order as the pre-scanning stage and according to the target emission gain value stored in Gain[K]. In this way, the signal strength value of the infrared signal received by each group of infrared receiving lamps each time can reach the preset intensity threshold, and will not exceed the preset intensity threshold by too much, that is, the signal strength value of the received infrared signal is relatively consistent, thereby improving the touch detection effect of the infrared touch screen.
需要说明的是,上述本申请实施例描述的应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方 案的限定,本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the application scenarios described in the above-mentioned embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
基于相同的发明构思,本申请还提供了一种发射增益确定装置。具体结合图6进行详细说明。Based on the same inventive concept, the present application also provides a transmission gain determination device, which is described in detail in conjunction with FIG.
图6是本申请一个实施例提供的发射增益确定装置的结构示意图。FIG6 is a schematic diagram of the structure of a transmission gain determination device provided in one embodiment of the present application.
如图6所示,该发射增益确定装置600可以包括:As shown in FIG6 , the transmission gain determination device 600 may include:
发射控制模块601,用于控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号;The emission control module 601 is used to control the multiple infrared emission lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values;
信号获取模块602,用于获取所述多个红外发射灯对应的多个红外接收灯接收到的红外信号的信号强度值,得到信号强度数组,其中,所述红外接收灯接收到的初始红外信号的信号强度值小于预设强度阈值;The signal acquisition module 602 is used to acquire the signal strength values of the infrared signals received by the plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps, and obtain a signal strength array, wherein the signal strength value of the initial infrared signal received by the infrared receiving lamp is less than a preset strength threshold;
增益调整模块603,用于在所述信号强度数组中的第一信号强度值小于所述预设强度阈值,且所述第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长增大所述第一红外发射灯的发射增益值,以更新所述第一红外发射灯的发射增益值,其中,所述第一信号强度值为所述信号强度数组中的任意一个信号强度值;The gain adjustment module 603 is used to increase the emission gain value of the first infrared emission lamp according to a preset step size to update the emission gain value of the first infrared emission lamp when the first signal strength value in the signal strength array is less than the preset strength threshold and the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, wherein the first signal strength value is any one of the signal strength values in the signal strength array;
循环执行模块604,用于返回执行所述控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,直至所述第一信号强度值不小于所述预设强度阈值,得到与所述多个红外发射灯分别对应的目标发射增益值。The loop execution module 604 is used to return to execute the control of multiple infrared emitting lamps in the infrared touch screen to emit infrared signals in turn according to their corresponding emission gain values until the first signal strength value is not less than the preset intensity threshold, thereby obtaining target emission gain values corresponding to the multiple infrared emitting lamps respectively.
下面对上述发射增益确定装置600进行详细说明,具体如下所示:The transmission gain determination device 600 is described in detail below, as shown below:
在其中一些实施例中,所述多个红外发射灯的初始发射增益值为预设最小增益值。In some of the embodiments, the initial emission gain value of the plurality of infrared emission lamps is a preset minimum gain value.
在其中一些实施例中,所述红外触控屏中包括多组红外接收灯组,每组所述红外接收灯组中包括多个红外接收灯;In some embodiments, the infrared touch screen includes multiple groups of infrared receiving light groups, and each group of the infrared receiving light groups includes multiple infrared receiving lights;
所述发射控制模块601包括:The transmission control module 601 includes:
控制子模块,用于控制所述多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号。The control submodule is used to control the plurality of infrared transmitting lamps corresponding to the plurality of infrared receiving lamp groups to transmit infrared signals in sequence according to their corresponding transmission gain values.
在一些实施方式中,所述控制子模块包括:In some embodiments, the control submodule includes:
目标确定单元,用于确定与目标红外接收灯组对应的多个目标红外发射灯,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组;A target determination unit, used to determine a plurality of target infrared emitting lamps corresponding to a target infrared receiving lamp group, wherein the target infrared receiving lamp group is any one of the plurality of infrared receiving lamp groups;
发射控制单元,用于按照所述多个目标红外发射灯在所述红外触控屏中的排列顺序,控制所述多个目标红外发射灯依次按照各自对应的发射增益值发射红外信号。The emission control unit is used to control the multiple target infrared emission lamps to emit infrared signals in sequence according to their corresponding emission gain values according to the arrangement order of the multiple target infrared emission lamps in the infrared touch screen.
在一些实施方式中,所述信号获取模块602包括:In some implementations, the signal acquisition module 602 includes:
强度获取子模块,用于获取所述多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与所述多组红外接收灯组分别对应的信号强度子数组;The intensity acquisition submodule is used to acquire the signal intensity value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups, and obtain the signal intensity subarrays corresponding to the plurality of infrared receiving light groups respectively;
数组确定子模块,用于将与所述多组红外接收灯组分别对应的信号强度子数组进行拼接处理,得到所述信号强度数组。The array determination submodule is used to splice the signal strength subarrays corresponding to the multiple groups of infrared receiving light groups to obtain the signal strength array.
在一些实施方式中,发射增益确定装置600还包括:In some implementations, the transmission gain determination apparatus 600 further includes:
触控检测模块,用于在得到与所述多个红外发射灯分别对应的目标发射增益值之后,按照所述多个红外发射灯分别对应的目标发射增益值,控制所述多个红外发射灯发射红外信号,以进行触控检测。The touch detection module is used to control the multiple infrared emitting lamps to emit infrared signals according to the target emission gain values respectively corresponding to the multiple infrared emitting lamps after obtaining the target emission gain values respectively corresponding to the multiple infrared emitting lamps, so as to perform touch detection.
在其中一些实施例中,所述强度获取子模块包括:In some embodiments, the intensity acquisition submodule includes:
求和处理单元,用于获取目标红外接收灯组中多个红外接收灯接收到的目标红外信号的信号强度值之和,得到与所述目标红外信号对应的信号强度值,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组,所述目标红外信号为所述目标红外接收灯组对应的多个目标红外发射灯中任一目标红外发射灯发射的红外信号;A summing processing unit, used for obtaining the sum of the signal strength values of the target infrared signals received by the multiple infrared receiving lamps in the target infrared receiving lamp group, and obtaining the signal strength value corresponding to the target infrared signal, wherein the target infrared receiving lamp group is any one of the multiple infrared receiving lamp groups, and the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lamps corresponding to the target infrared receiving lamp group;
数组生成单元,用于将每个目标红外发射灯发射的红外信号所对应的信号强度值作为数组元素,生成与所述目标红外接收灯组对应的信号强度子数组。The array generation unit is used to use the signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
在一些实施方式中,发射增益确定装置600还包括:In some implementations, the transmission gain determination apparatus 600 further includes:
增益确定模块,用于在所述第一信号强度值对应的第一红外发射灯的发射增益值不小于预设最大增益阈值的情况下,将所述预设最大增益阈值确定为与所述第一红外发射灯对应的目标发射增益值。The gain determination module is used to determine the preset maximum gain threshold as the target emission gain value corresponding to the first infrared emission lamp when the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is not less than the preset maximum gain threshold.
由此,通过控制红外触控屏中的多个红外发射灯按照各自对应的发射增益值发射红外信号,并获取红外接收灯接收到的红外信号的信号强度值,得到信号强度数组,进而在该信号强度数组中的任意一个信号强度值,也即第一信号强度值,小于预设强度阈值,且第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长,以步进方式逐渐增大该第一红外发射灯的发射增益值,并重复上述过程,直至该第一信号强度值不小于预设强度阈值。如此,本申请实施例中由于每个红外发射灯按照初始的发射增益值发射红外信号时,红外接收灯接收到的初始红外信号的信号强度值小于预设强度阈值,在此基础上,按照步进方式逐步增大发射增益,直至每个红外发射灯按照各自更新后的发射增益值发射红外信号后,红外接收灯接收到的红外信号的第一信号强度值均大于预设强度阈值,从而可以得到每个红外发射灯各自对应的最优的目标发射增益值,使得红外触控屏中不同的红外发射灯采用不同的目标发射增益值进行红外信号发射时,不同角度的红外接收灯接收到的红外信号的强度值都能恰好达到预设强度阈值,也即接收到的红外信号的信号强度较为一致,从而提高红外触控屏的触控检测效果。Therefore, by controlling the multiple infrared emitting lamps in the infrared touch screen to emit infrared signals according to their respective corresponding emission gain values, and obtaining the signal strength value of the infrared signal received by the infrared receiving lamp, a signal strength array is obtained, and then when any one of the signal strength values in the signal strength array, that is, the first signal strength value, is less than the preset strength threshold, and the emission gain value of the first infrared emitting lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, the emission gain value of the first infrared emitting lamp is gradually increased in a step-by-step manner according to the preset step size, and the above process is repeated until the first signal strength value is not less than the preset strength threshold. In this way, in the embodiment of the present application, when each infrared transmitting lamp transmits an infrared signal according to the initial transmission gain value, the signal strength value of the initial infrared signal received by the infrared receiving lamp is less than the preset intensity threshold. On this basis, the transmission gain is gradually increased in a step-by-step manner until each infrared transmitting lamp transmits an infrared signal according to its own updated transmission gain value, and the first signal strength value of the infrared signal received by the infrared receiving lamp is greater than the preset intensity threshold. Therefore, the optimal target transmission gain value corresponding to each infrared transmitting lamp can be obtained, so that when different infrared transmitting lamps in the infrared touch screen use different target transmission gain values to transmit infrared signals, the intensity values of the infrared signals received by the infrared receiving lamps at different angles can just reach the preset intensity threshold, that is, the signal strength of the received infrared signals is relatively consistent, thereby improving the touch detection effect of the infrared touch screen.
图7是本申请一个实施例提供的电子设备的结构示意图。FIG. 7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.
在电子设备700可以包括处理器701以及存储有计算机程序指令的存储器702。The electronic device 700 may include a processor 701 and a memory 702 storing computer program instructions.
具体地,上述处理器701可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。Specifically, the above-mentioned processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
存储器702可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器702可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器702可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器702可在综合网关容灾设备的内部或外部。在特定实施例中,存储器702是非易失性固态存储器。The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 702 may include removable or non-removable (or fixed) media. Where appropriate, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a particular embodiment, the memory 702 is a non-volatile solid-state memory.
在特定实施例中,存储器可包括只读存储器(ROM),随机存取存储器(RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请的一方面的方法所描述的操作。In certain embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical/tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.
处理器701通过读取并执行存储器702中存储的计算机程序指令,以实现上述实施例中的任意一种发射增益确定方法。The processor 701 implements any one of the transmission gain determination methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
在一些示例中,电子设备700还可包括通信接口703和总线710。其中,如图7所示,处理器701、存储器702、通信接口703通过总线710连接并完成相互间的通信。In some examples, the electronic device 700 may further include a communication interface 703 and a bus 710. As shown in Fig. 7, the processor 701, the memory 702, and the communication interface 703 are connected via the bus 710 and communicate with each other.
通信接口703主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。The communication interface 703 is mainly used to implement communication between various modules, devices, units and/or equipment in the embodiments of the present application.
总线710包括硬件、软件或两者,将在线数据流量计费设备的部件彼此耦接在一起。举例来说而非限制,总线710可包括加速图形端口(AGP)或其他图形总线、增强工业标准架构(EISA)总线、前端总线(FSB)、超传输(HT)互连、工业标准架构(ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线710可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。 Bus 710 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus 710 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
示例性的,电子设备700可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等。Exemplarily, the electronic device 700 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc.
该电子设备700可以执行本申请实施例中的发射增益确定方法,从而 实现结合图1至图6描述的发射增益确定方法和装置。The electronic device 700 can execute the transmission gain determination method in the embodiment of the present application, thereby realizing the transmission gain determination method and device described in combination with Figures 1 to 6.
另外,结合上述实施例中的发射增益确定方法,本申请实施例可提供一种计算机可读存储介质来实现。该计算机可读存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种发射增益确定方法。计算机可读存储介质的示例包括非暂态计算机可读存储介质,如便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件等。In addition, in combination with the transmission gain determination method in the above-mentioned embodiment, the embodiment of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the transmission gain determination methods in the above-mentioned embodiments is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.
需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
上面参考根据本申请的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各方面。应当理解,流程图和/或框 图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and/or the block diagram described various aspects of the present application.It should be understood that each square frame in the flow chart and/or the block diagram and the combination of each square frame in the flow chart and/or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function/action specified in one or more square frames of the flow chart and/or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square frame in the block diagram and/or the flow chart and the combination of the square frames in the block diagram and/or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims (15)

  1. 一种发射增益确定方法,包括:A method for determining a transmission gain, comprising:
    控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号;Control multiple infrared transmitting lamps in the infrared touch screen to transmit infrared signals in sequence according to their corresponding transmitting gain values;
    获取所述多个红外发射灯对应的多个红外接收灯接收到的红外信号的信号强度值,得到信号强度数组;Obtain signal strength values of infrared signals received by a plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps to obtain a signal strength array;
    在所述信号强度数组中的第一信号强度值小于所述预设强度阈值,且所述第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长增大所述第一红外发射灯的发射增益值,以更新所述第一红外发射灯的发射增益值,其中,所述第一信号强度值为所述信号强度数组中的任意一个信号强度值;When the first signal strength value in the signal strength array is less than the preset strength threshold, and the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is less than the preset maximum gain threshold, the emission gain value of the first infrared emission lamp is increased according to a preset step size to update the emission gain value of the first infrared emission lamp, wherein the first signal strength value is any one of the signal strength values in the signal strength array;
    返回执行所述控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,直至所述第一信号强度值不小于所述预设强度阈值,得到与所述多个红外发射灯分别对应的目标发射增益值。Return to execute the control of multiple infrared emitting lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values until the first signal strength value is not less than the preset intensity threshold, and obtain target emission gain values corresponding to the multiple infrared emitting lamps respectively.
  2. 根据权利要求1所述的方法,其中,所述多个红外发射灯的初始发射增益值为预设最小增益值。The method according to claim 1, wherein the initial emission gain value of the plurality of infrared emission lamps is a preset minimum gain value.
  3. 根据权利要求1所述的方法,其中,所述红外触控屏中包括多组红外接收灯组,每组所述红外接收灯组中包括多个红外接收灯;The method according to claim 1, wherein the infrared touch screen includes a plurality of infrared receiving light groups, and each of the infrared receiving light groups includes a plurality of infrared receiving light groups;
    所述控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,包括:The controlling of the plurality of infrared emitting lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values comprises:
    控制所述多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号。The plurality of infrared transmitting lamps respectively corresponding to the plurality of infrared receiving lamp groups are controlled to transmit infrared signals in sequence according to their corresponding transmission gain values.
  4. 根据权利要求3所述的方法,其中,所述控制所述多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号,包括:The method according to claim 3, wherein the controlling the plurality of infrared transmitting lamps corresponding to the plurality of infrared receiving lamp groups to transmit infrared signals in sequence according to their respective corresponding transmission gain values comprises:
    确定与目标红外接收灯组对应的多个目标红外发射灯,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组;Determine a plurality of target infrared emitting lamps corresponding to a target infrared receiving lamp group, wherein the target infrared receiving lamp group is any one infrared receiving lamp group among the plurality of infrared receiving lamp groups;
    按照所述多个目标红外发射灯在所述红外触控屏中的排列顺序,控制 所述多个目标红外发射灯依次按照各自对应的发射增益值发射红外信号。According to the arrangement order of the multiple target infrared emitting lamps in the infrared touch screen, the multiple target infrared emitting lamps are controlled to emit infrared signals in sequence according to their respective corresponding emission gain values.
  5. 根据权利要求3所述的方法,其中,所述获取所述多个红外发射灯对应的多个红外接收灯接收到的红外信号强度值,得到信号强度数组,包括:The method according to claim 3, wherein the step of obtaining the infrared signal strength values received by the plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps to obtain a signal strength array comprises:
    获取所述多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与所述多组红外接收灯组分别对应的信号强度子数组;Acquire the signal strength value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups, and obtain the signal strength subarrays respectively corresponding to the plurality of infrared receiving light groups;
    将与所述多组红外接收灯组分别对应的信号强度子数组进行拼接处理,得到所述信号强度数组。The signal strength sub-arrays corresponding to the multiple groups of infrared receiving light groups are spliced to obtain the signal strength array.
  6. 根据权利要求5所述的方法,其中,所述获取所述多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与所述多组红外接收灯组分别对应的信号强度子数组,包括:The method according to claim 5, wherein the step of obtaining the signal strength value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups to obtain the signal strength subarrays respectively corresponding to the plurality of infrared receiving light groups comprises:
    获取目标红外接收灯组中多个红外接收灯接收到的目标红外信号的信号强度值之和,得到与所述目标红外信号对应的信号强度值,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组,所述目标红外信号为所述目标红外接收灯组对应的多个目标红外发射灯中任一目标红外发射灯发射的红外信号;Obtaining the sum of the signal strength values of the target infrared signal received by the multiple infrared receiving lamps in the target infrared receiving lamp group, and obtaining the signal strength value corresponding to the target infrared signal, wherein the target infrared receiving lamp group is any one of the multiple infrared receiving lamp groups, and the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lamps corresponding to the target infrared receiving lamp group;
    将每个目标红外发射灯发射的红外信号所对应的信号强度值作为数组元素,生成与所述目标红外接收灯组对应的信号强度子数组。The signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp is used as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
  7. 一种发射增益确定装置,包括:A transmission gain determination device, comprising:
    发射控制模块,用于控制红外触控屏中的多个红外发射灯依次按照各自对应的发射增益值发射红外信号;An emission control module is used to control multiple infrared emission lamps in the infrared touch screen to emit infrared signals in sequence according to their corresponding emission gain values;
    信号获取模块,用于获取所述多个红外发射灯对应的多个红外接收灯接收到的红外信号的信号强度值,得到信号强度数组;A signal acquisition module, used to acquire signal strength values of infrared signals received by a plurality of infrared receiving lamps corresponding to the plurality of infrared transmitting lamps, and obtain a signal strength array;
    增益调整模块,用于在所述信号强度数组中的第一信号强度值小于所述预设强度阈值,且所述第一信号强度值对应的第一红外发射灯的发射增益值小于预设最大增益阈值的情况下,按照预设步长增大所述第一红外发射灯的发射增益值,以更新所述第一红外发射灯的发射增益值,其中,所述第一信号强度值为所述信号强度数组中的任意一个信号强度值;a gain adjustment module, configured to increase the emission gain value of the first infrared emission lamp according to a preset step length to update the emission gain value of the first infrared emission lamp when the first signal strength value in the signal strength array is less than the preset strength threshold and the emission gain value of the first infrared emission lamp corresponding to the first signal strength value is less than a preset maximum gain threshold, wherein the first signal strength value is any one of the signal strength values in the signal strength array;
    循环执行模块,用于返回执行所述控制红外触控屏中的多个红外发射 灯依次按照各自对应的发射增益值发射红外信号,直至所述第一信号强度值不小于所述预设强度阈值,得到与所述多个红外发射灯分别对应的目标发射增益值。A loop execution module is used to return to execute the control of multiple infrared emitting lamps in the infrared touch screen to emit infrared signals in turn according to their corresponding emission gain values until the first signal strength value is not less than the preset intensity threshold, thereby obtaining target emission gain values corresponding to the multiple infrared emitting lamps respectively.
  8. 根据权利要求7所述的装置,其中,所述多个红外发射灯的初始发射增益值为预设最小增益值。The device according to claim 7, wherein the initial emission gain value of the plurality of infrared emission lamps is a preset minimum gain value.
  9. 根据权利要求7所述的装置,其中,所述红外触控屏中包括多组红外接收灯组,每组所述红外接收灯组中包括多个红外接收灯;The device according to claim 7, wherein the infrared touch screen includes a plurality of infrared receiving light groups, and each of the infrared receiving light groups includes a plurality of infrared receiving light groups;
    所述发射控制模块包括:The launch control module comprises:
    控制子模块,用于控制所述多组红外接收灯组分别对应的多个红外发射灯依次按照各自对应的发射增益值发射红外信号。The control submodule is used to control the plurality of infrared transmitting lamps corresponding to the plurality of infrared receiving lamp groups to transmit infrared signals in sequence according to their corresponding transmission gain values.
  10. 根据权利要求9所述的装置,其中,所述控制子模块包括:The device according to claim 9, wherein the control submodule comprises:
    目标确定单元,用于确定与目标红外接收灯组对应的多个目标红外发射灯,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组;A target determination unit, used to determine a plurality of target infrared emitting lamps corresponding to a target infrared receiving lamp group, wherein the target infrared receiving lamp group is any one of the plurality of infrared receiving lamp groups;
    发射控制单元,用于按照所述多个目标红外发射灯在所述红外触控屏中的排列顺序,控制所述多个目标红外发射灯依次按照各自对应的发射增益值发射红外信号。The emission control unit is used to control the multiple target infrared emission lamps to emit infrared signals in sequence according to their corresponding emission gain values according to the arrangement order of the multiple target infrared emission lamps in the infrared touch screen.
  11. 根据权利要求9所述的装置,其中,所述信号获取模块包括:The device according to claim 9, wherein the signal acquisition module comprises:
    强度获取子模块,用于获取所述多组红外接收灯组中每组红外接收灯组接收到的红外信号的信号强度值,得到与所述多组红外接收灯组分别对应的信号强度子数组;The intensity acquisition submodule is used to acquire the signal intensity value of the infrared signal received by each infrared receiving light group in the plurality of infrared receiving light groups, and obtain the signal intensity subarrays corresponding to the plurality of infrared receiving light groups respectively;
    数组确定子模块,用于将与所述多组红外接收灯组分别对应的信号强度子数组进行拼接处理,得到所述信号强度数组。The array determination submodule is used to splice the signal strength subarrays corresponding to the multiple groups of infrared receiving light groups to obtain the signal strength array.
  12. 根据权利要求11所述的装置,其中,所述强度获取子模块包括:The apparatus according to claim 11, wherein the intensity acquisition submodule comprises:
    求和处理单元,用于获取目标红外接收灯组中多个红外接收灯接收到的目标红外信号的信号强度值之和,得到与所述目标红外信号对应的信号强度值,其中,所述目标红外接收灯组为所述多组红外接收灯组中的任一组红外接收灯组,所述目标红外信号为所述目标红外接收灯组对应的多个 目标红外发射灯中任一目标红外发射灯发射的红外信号;A summing processing unit, used for obtaining the sum of the signal strength values of the target infrared signal received by the multiple infrared receiving lamps in the target infrared receiving lamp group, and obtaining the signal strength value corresponding to the target infrared signal, wherein the target infrared receiving lamp group is any one of the multiple infrared receiving lamp groups, and the target infrared signal is an infrared signal emitted by any one of the multiple target infrared emitting lamps corresponding to the target infrared receiving lamp group;
    数组生成单元,用于将每个目标红外发射灯发射的红外信号所对应的信号强度值作为数组元素,生成与所述目标红外接收灯组对应的信号强度子数组。The array generation unit is used to use the signal strength value corresponding to the infrared signal emitted by each target infrared emitting lamp as an array element to generate a signal strength sub-array corresponding to the target infrared receiving lamp group.
  13. 一种电子设备,包括:处理器以及存储有计算机程序指令的存储器;An electronic device comprises: a processor and a memory storing computer program instructions;
    所述处理器执行所述计算机程序指令时实现如权利要求1-6任意一项所述的发射增益确定方法的步骤。When the processor executes the computer program instructions, the steps of the transmission gain determination method according to any one of claims 1 to 6 are implemented.
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如权利要求1-6任意一项所述的发射增益确定方法的步骤。A computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the steps of the transmission gain determination method according to any one of claims 1 to 6.
  15. 一种计算机程序产品,所述计算机程序产品中的指令由电子设备的处理器执行时,使得所述电子设备执行如权利要求1-6任意一项所述的发射增益确定方法的步骤。A computer program product, when the instructions in the computer program product are executed by a processor of an electronic device, enables the electronic device to perform the steps of the transmission gain determination method as described in any one of claims 1 to 6.
PCT/CN2022/137327 2022-10-21 2022-12-07 Method and apparatus for determining transmitting gain, device, medium and product WO2024082396A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211296760.2 2022-10-21
CN202211296760.2A CN115756192A (en) 2022-10-21 2022-10-21 Method, device, equipment, medium and product for determining transmission gain

Publications (1)

Publication Number Publication Date
WO2024082396A1 true WO2024082396A1 (en) 2024-04-25

Family

ID=85352676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/137327 WO2024082396A1 (en) 2022-10-21 2022-12-07 Method and apparatus for determining transmitting gain, device, medium and product

Country Status (2)

Country Link
CN (1) CN115756192A (en)
WO (1) WO2024082396A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411457A (en) * 2010-09-21 2012-04-11 北京鸿合盛视数字媒体技术有限公司 Electronic whiteboard, display equipment, adaptive transmitted power regulation method and system for electronic whiteboard and display equipment
CN104808866A (en) * 2015-04-02 2015-07-29 创维光电科技(深圳)有限公司 Self-adapted infrared touch screen and precision control method thereof
CN112083833A (en) * 2020-09-11 2020-12-15 广州华欣电子科技有限公司 Gain adjustment method, device, equipment and storage medium of infrared touch screen
CN112233410A (en) * 2020-10-14 2021-01-15 深圳市康冠商用科技有限公司 Automatic gain level selection method and device, computer equipment and storage medium
CN113934314A (en) * 2020-07-13 2022-01-14 深圳市天英联合教育股份有限公司 Signal gain adjusting circuit and system of infrared touch screen
CN114510163A (en) * 2022-02-15 2022-05-17 深圳市康冠商用科技有限公司 Gain adjustment method, device and equipment of infrared touch screen and storage medium
US20220305157A1 (en) * 2021-03-29 2022-09-29 Benq Corporation Touch screen

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411457A (en) * 2010-09-21 2012-04-11 北京鸿合盛视数字媒体技术有限公司 Electronic whiteboard, display equipment, adaptive transmitted power regulation method and system for electronic whiteboard and display equipment
CN104808866A (en) * 2015-04-02 2015-07-29 创维光电科技(深圳)有限公司 Self-adapted infrared touch screen and precision control method thereof
CN113934314A (en) * 2020-07-13 2022-01-14 深圳市天英联合教育股份有限公司 Signal gain adjusting circuit and system of infrared touch screen
CN112083833A (en) * 2020-09-11 2020-12-15 广州华欣电子科技有限公司 Gain adjustment method, device, equipment and storage medium of infrared touch screen
CN112233410A (en) * 2020-10-14 2021-01-15 深圳市康冠商用科技有限公司 Automatic gain level selection method and device, computer equipment and storage medium
US20220305157A1 (en) * 2021-03-29 2022-09-29 Benq Corporation Touch screen
CN114510163A (en) * 2022-02-15 2022-05-17 深圳市康冠商用科技有限公司 Gain adjustment method, device and equipment of infrared touch screen and storage medium

Also Published As

Publication number Publication date
CN115756192A (en) 2023-03-07

Similar Documents

Publication Publication Date Title
US9948393B2 (en) Visible light communication system and method and related device
CN102143100B (en) Method and terminal equipment for automatically tuning impedance match of multiband aerial
CN103795467B (en) Method and apparatus for identifying visible light communication signal received by camera
CN107682083B (en) Short-distance file transmission method and device
US20090041476A1 (en) Method and apparatus for processing signals of photo-detector in visible light communication system
US10348402B2 (en) Visible light signal receiving and control method, control apparatus, and receiving device
US20170366276A1 (en) Electronic device associated with a photovoltaic module to optimise the throughput of a bidirectional vlc transmission
KR20200015779A (en) Polar coding method and apparatus
WO2024082396A1 (en) Method and apparatus for determining transmitting gain, device, medium and product
JP2021517380A (en) Image scanning device, control method and device for image scanning optical signal reception
CN111224718B (en) Optical module and optical module signal processing method
CN112397996B (en) Wavelength adjusting method and device and optical module
CN101834619B (en) Emission system and method for reducing local oscillation leak power thereof
CN101359965A (en) Method and apparatus optimizing determination level of optical receiver
CN1719753A (en) Receiving circuit and electronic apparatus for optical communication
CN109155672B (en) Method and system for transmitting optical signal by passive optical network
CN104601236A (en) Reflection principle based visible light communication system and method
CN217213671U (en) Signal processing circuit, infrared receiving module and electronic equipment
CN110650054A (en) Method, apparatus and system for configuring optical operating point of modulator
CN115694655B (en) Optical domain amplitude-phase parasitic modulation method, system, device and storage medium
RU2663808C1 (en) Device and method for adaptive reception for communication using led of vehicles
JP2008211358A (en) Radio device and antenna azimuth adjusting method
CN113241583B (en) Optical signal transmitting device, optical signal sensor and electronic equipment
CN106685540B (en) Method and system for integrating radio frequency calibration parameters based on mobile terminal
KR102041489B1 (en) Repeater and method for attenuating a signal