Method and apparatus for updating signal strength reference value, and electronic device and storage medium

By judging the difference between the signal intensity value and the reference value in the infrared touch screen and timely updating the signal intensity reference value, the misjudgment problem caused by the long working time of the infrared touch screen is solved, and the judgment accuracy is improved.

WO2025055342A1PCT designated stage expired Publication Date: 2025-03-20SHENZHEN HONGHE INNOVATION INFORMATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/090010
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-14
Filing Date
2024-04-26
Publication Date
2025-03-20

AI Technical Summary

Technical Problem

As the working time of the infrared touch screen increases and the equipment temperature increases, the signal strength of the infrared signal received by the infrared receiver is affected, resulting in misjudgment. The prior art cannot update the signal strength reference value in time to improve the judgment accuracy.

Method used

By controlling the infrared transmitter to transmit an infrared signal to the infrared receiver, the signal intensity value is obtained, and the update condition is determined based on the signal intensity value and the reference value. If it is satisfied, the signal intensity reference value will be updated.

Benefits of technology

Update the signal strength reference value in time to adapt to the current infrared touch screen status, thereby improving the accuracy of judging whether there is a touch area in the infrared touch screen and reducing the misjudgment rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024090010_20032025_PF_FP_ABST
    Figure CN2024090010_20032025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of touch control, and particularly relates to a method and apparatus for updating a signal strength reference value, and an electronic device and a storage medium. The method comprises: an acquisition step, involving: controlling infrared transmitters to transmit infrared signals to infrared receivers, and acquiring signal strength values of the infrared signals received by the infrared receivers; a determination step, involving: determining whether a current frame meets at least one of a first update condition and a second update condition, wherein the first update condition comprises: there being an infrared signal line, a signal strength reference value of which is a first constant and a signal strength value corresponding to which is greater than a first signal strength threshold value, and the second update condition comprises: there being an infrared signal line that satisfies |A-B|>Th2, where A is a signal strength value corresponding to the infrared signal line, B is a corresponding signal strength reference value, and Th2 is a second signal strength threshold value; and an update step, involving: if at least one of the first update condition and the second update condition is met, updating the signal strength reference value.
Need to check novelty before this filing date? Find Prior Art

Description

Signal strength reference value updating method, device, electronic device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application 202311189704.3, filed on September 14, 2023, entitled “Method, device and electronic device for updating signal strength reference value,” and the entire contents of that application are incorporated herein by reference. Technical Field

[0003] The present application relates to the field of touch technology, and in particular to a method, device, electronic device, and storage medium for updating a signal strength reference value. Background Art

[0004] With the development of touch technology, various touch screens have appeared in people's daily lives, among which infrared touch screens are widely used in various devices. Several infrared transmitters and infrared receivers are set on the frame of the infrared touch screen. The infrared transmitter transmits an infrared signal to the infrared receiver. The signal strength value of the infrared signal received by the infrared receiver is detected to determine whether there is a touch area in the infrared touch screen. Specifically, a signal strength reference value of the infrared signal received by the infrared receiver when the infrared touch screen is in a non-touch state is usually pre-set. During the operation of the infrared touch screen, the actual signal strength value received by the infrared receiver is compared with the set signal strength reference value to determine whether there is a touch area.

[0005] As the infrared touch screen's operating time increases and the device's temperature rises, the infrared receiver's ability to receive infrared signals will be affected. Furthermore, if the infrared touch screen's operating environment is not conducive to infrared signal transmission, this will also have a certain impact on the infrared receiver's ability to receive infrared signals. In this case, if the infrared receiver continues to compare the signal strength value corresponding to the infrared signal line received by the infrared receiver with a preset signal strength reference value to determine whether the infrared touch screen has a touch area, it will cause misjudgment. Therefore, how to timely update the infrared signal strength reference value to improve the accuracy of determining whether the infrared touch screen has a touch area is a problem that needs to be solved.

[0006] Summary of the Invention

[0007] Based on the above situation, the main purpose of this application is to provide a method, device, electronic device and storage medium for updating the signal strength reference value, which can timely update the signal strength reference value to improve the accuracy of determining whether there is a touch area on the infrared touch screen.

[0008] To achieve the above objectives, the method for updating the signal strength reference value provided in this application is applied to an infrared touch screen including an infrared transmitter and an infrared receiver. The technical solution adopted by the method is as follows:

[0009] The method further comprises: controlling the infrared transmitter to transmit an infrared signal to the infrared receiver, wherein an infrared signal line is formed between the infrared transmitter transmitting the infrared signal and the infrared receiver receiving the infrared signal; and obtaining a signal strength value of the infrared signal received by the infrared receiver. The method further comprises: determining, based on the signal strength value and the signal strength reference value corresponding to each infrared signal line, whether the current frame satisfies at least one of a first update condition and a second update condition, wherein the first update condition comprises: the presence of an infrared signal line whose signal strength reference value is a first constant and whose corresponding signal strength value is greater than a first signal strength threshold, wherein the infrared signal line whose signal strength reference value is the first constant is an infrared signal line considered to be blocked when determining the signal strength reference value, and the second update condition comprises: the presence of an infrared signal line satisfying |AB|>Th2, wherein A is the signal strength value corresponding to the infrared signal line, B is the signal strength reference value corresponding to the infrared signal line, and Th2 is a second signal strength threshold. The method further comprises: updating the signal strength reference value if at least one of the first update condition and the second update condition is satisfied.

[0010] Preferably, each scanning frame forms n infrared signal lines, and the second update condition includes: among the n infrared signal lines, there are m infrared signal lines that satisfy |AB|>Th2, where n and m are both positive integers, m≥n*a, a is a preset second constant, and 0<a≤1.

[0011] Preferably, n infrared signal lines are formed per scan frame, and the second update condition includes: selecting a number of infrared signal lines formed by each of the infrared receivers to form t infrared signal lines, and there are at least k infrared signal lines satisfying |AB|>Th2 among the t infrared signal lines, wherein t and k are both positive integers, t≤n, k≥t*b, b is a preset third constant, and 0<b≤1.

[0012] Preferably, the selecting a plurality of infrared signal lines from the infrared signal lines formed by the infrared receivers includes: selecting the infrared signal lines located at the leftmost, middle and rightmost positions from the infrared signal lines formed by the infrared receivers.

[0013] Preferably, the updating step includes: if consecutive preset frames all meet at least one of the first updating condition and the second updating condition, then updating the signal strength reference value; otherwise, not updating the signal strength reference value.

[0014] Preferably, the updating step further includes:

[0015] In response to the presence of an infrared signal line whose sum of the signal strength value and the third signal strength threshold is less than the corresponding signal strength reference value, it is considered that a touch area exists; otherwise, it is considered that no touch area exists; if the touch area does not exist, the update step is executed; otherwise, the update step is not executed.

[0016] Preferably, the initial value of the signal strength reference value and / or the update of the signal strength reference value adopt the following steps: controlling the infrared transmitter to transmit infrared signals to the infrared receiver multiple times; obtaining the signal strength value of the infrared signal received by the infrared receiver each time, and obtaining multiple signal strength values ​​corresponding to each infrared signal line; determining the signal strength reference value corresponding to each infrared signal line based on the minimum value or average value of the multiple signal strength values ​​corresponding to the infrared signal line.

[0017] Preferably, determining the signal strength reference value corresponding to each infrared signal line based on the minimum value or average value of multiple signal strength values ​​corresponding to the infrared signal line includes: determining the minimum value among the multiple signal strength values ​​corresponding to each infrared signal line; if the minimum value corresponding to a certain infrared signal line is less than a fourth signal strength threshold, determining a fourth constant as the signal strength reference value corresponding to the infrared signal line; if the minimum value corresponding to a certain infrared signal line is greater than or equal to the fourth signal strength threshold, determining the minimum value corresponding to the infrared signal line as the signal strength reference value corresponding to the infrared signal line, wherein the fourth constant is less than or equal to the fourth signal strength threshold; or,

[0018] Determine the average value of multiple signal strength values ​​corresponding to each infrared signal line; if the average value corresponding to a certain infrared signal line is less than a fifth signal strength threshold, determine the fifth constant as the signal strength reference value corresponding to the infrared signal line; if the average value corresponding to a certain infrared signal line is greater than or equal to the fifth signal strength threshold, determine the average value corresponding to the infrared signal line as the signal strength reference value corresponding to the infrared signal line, wherein the fifth constant is less than or equal to the fifth signal strength threshold.

[0019] The present application also provides a device for updating a signal strength reference value, the device comprising: an acquisition module for controlling the infrared transmitter to transmit an infrared signal to the infrared receiver, wherein an infrared signal line is formed between the infrared transmitter that transmits the infrared signal and the infrared receiver that receives the infrared signal, and acquiring the signal strength value of the infrared signal received by the infrared receiver; a confirmation module for confirming whether the current frame satisfies at least one of a first update condition and a second update condition based on the signal strength value corresponding to each infrared signal line and the signal strength reference value corresponding to the infrared signal line, wherein the first update condition comprises: the presence of the signal strength reference value; an infrared signal line whose signal strength reference value is a first constant and whose corresponding signal strength value is greater than a first signal strength threshold, wherein the infrared signal line whose signal strength reference value is the first constant is an infrared signal line considered to be blocked when determining the signal strength reference value, and the second update condition includes: there is an infrared signal line that satisfies |AB|>Th2, wherein A is the signal strength value corresponding to the infrared signal line, B is the signal strength reference value corresponding to the infrared signal line, and Th2 is the second signal strength threshold; an updating module, used to update the signal strength reference value if at least one update condition of the first update condition and the second update condition is met.

[0020] The present application also provides an electronic device, including: a processor and a memory, wherein the memory is used to store executable instructions, and the executable instructions enable the processor to perform operations corresponding to the above-mentioned method for updating the signal strength reference value.

[0021] The present application also provides a computer-readable storage medium having executable instructions stored thereon. When the executable instructions are executed, operations corresponding to the above-mentioned method for updating the signal strength reference value are implemented.

[0022] In an embodiment of the present application, the scanning data of the current frame of the infrared touch screen is obtained to determine whether at least one of the first update condition and the second update condition is met. As long as any update condition is met, it means that the originally determined signal strength reference value may not be suitable for judging whether there is a touch area in the infrared touch screen in the current state. By timely updating the signal strength reference value so that the updated signal strength reference value is adapted to the current state of the infrared touch screen, the accuracy of judging whether there is a touch area on the infrared touch screen is improved, and the misjudgment rate is reduced.

[0023] Other beneficial effects of the present invention will be explained through the introduction of specific technical features and technical solutions in the specific implementation methods. Those skilled in the art should be able to understand the beneficial technical effects brought about by the introduction of these technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The following describes preferred embodiments of the method, apparatus, and device for updating the signal strength reference value of the present application with reference to the accompanying drawings.

[0025] Figure 1 is a schematic diagram of the structure of an infrared touch screen;

[0026] FIG2 is a schematic diagram of an infrared signal line optical network formed in the infrared touch screen provided in FIG1 ;

[0027] FIG3 is a schematic flow chart of a method for updating a signal strength reference value according to an embodiment of the present application;

[0028] FIG4 is a schematic diagram of infrared signal lines located at the leftmost, middle, and rightmost positions of infrared signal lines formed by an infrared receiver provided by an embodiment of the present application;

[0029] FIG5 is a schematic diagram of the structure of a device for updating a signal strength reference value provided in an embodiment of the present application;

[0030] FIG6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The present invention is described below based on the following embodiments, but the present invention is not limited to these embodiments. In the following detailed description of the present invention, some specific details are described in detail. In order to avoid obscuring the essence of the present invention, well-known methods, processes, procedures, and components are not described in detail.

[0032] Furthermore, persons of ordinary skill in the art will appreciate that the figures provided herein are for illustration purposes only and are not necessarily drawn to scale.

[0033] Unless the context clearly requires otherwise, throughout the specification and claims, the words "include," "comprising," and similar words should be construed in an inclusive sense rather than an exclusive or exhaustive sense; that is, in the sense of "including but not limited to."

[0034] In the description of the present invention, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood to indicate or imply relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0035] In order to better introduce the infrared touch screen, Figure 1 shows a schematic structural diagram of the infrared touch screen. As shown in Figure 1, the infrared touch screen 10 includes four frames, namely the first frame, the second frame, the third frame and the fourth frame, wherein infrared transmitters and infrared receivers are distributed on these frames. The specific distribution method is not limited in this application. The infrared transmitter and infrared receiver can be set on the same frame, or an infrared transmitter can be set in one of two adjacent frames or two opposite frames, and an infrared receiver can be set in the other. As shown in Figure 1, an example of setting an infrared transmitter and an infrared receiver in two opposite frames is shown, that is, the first frame and the second frame include several infrared transmitters 11, and the third frame and the fourth frame include several infrared receivers 12. The infrared touch screen usually also includes a driving circuit. Under the action of the driving circuit, the infrared transmitter is controlled to transmit infrared signals to the infrared receiver. The infrared receiver receives the infrared signal transmitted by the infrared transmitter, and an infrared signal line is formed between the infrared transmitter and the infrared receiver.

[0036] Since one infrared transmitter typically corresponds to multiple infrared receivers, and one infrared receiver also corresponds to multiple infrared transmitters, an infrared transmitter transmits infrared signals to all of its corresponding infrared receivers. Correspondingly, an infrared receiver receives infrared signals from all of its corresponding infrared transmitters, thereby forming an infrared signal line optical network on the screen surface of the infrared touch screen. To better illustrate the infrared signal line optical network, Figure 2 shows a schematic diagram of the infrared signal line optical network formed in the infrared touch screen provided in Figure 1.

[0037] When a touch-operated object (such as a finger) touches the screen surface, a touch area is generated. Then, the infrared signal lines in the touch area in the infrared signal line optical network will be blocked (correspondingly, the blocked infrared signal lines are referred to as blocking lines). Then, the signal strength value corresponding to the infrared signal line received by the infrared receiver corresponding to the touch area will be smaller than that in the no-touch state. Therefore, it is usually determined whether there is a touch area in the infrared touch screen based on the signal strength value corresponding to the infrared signal line received by the infrared receiver.

[0038] Specifically, a signal strength reference value is usually set to indicate the signal strength value corresponding to the infrared signal line that the infrared receiver should receive when the infrared touch screen is in a non-touch state. If, during the operation of the infrared touch screen, the signal strength value corresponding to the infrared signal line received by the infrared receiver drops by more than a certain level compared with the set signal strength reference value, it is confirmed that there is a touch area on the current infrared touch screen.

[0039] In the prior art, after the infrared touch screen is powered on, it is usually initialized, and then the signal strength reference value is determined and set. During the subsequent operation of the infrared touch screen, the signal strength reference value set in the initialization stage is always used to determine whether there is a touch area in the infrared touch screen. Until the infrared touch screen is powered off and powered on again, it will be initialized again and the signal strength reference value will be determined again.

[0040] However, as the infrared touch screen's operating time increases, the device may experience a temperature increase. Even if the infrared transmitter maintains the same infrared signal transmission power, this will affect the signal strength of the infrared signal received by the infrared receiver. Therefore, if the previously set signal strength reference value is still used to determine whether the infrared touch screen has a touch area, the false positive rate will be high. Alternatively, if the current state of the infrared touch screen has significantly changed compared to the state when the signal strength reference value was determined during the initialization phase of the infrared touch screen, if the previously set signal strength reference value is still used to determine whether the infrared touch screen has a touch area, the false positive rate will also be high.

[0041] Based on the above considerations, the inventors of the present application have conducted in-depth research and proposed a method for updating a signal strength reference value, which is applied to an infrared touch screen including an infrared transmitter and an infrared receiver. The method determines whether a signal strength reference value update condition is met based on the signal strength value of the infrared signal received by the infrared receiver in the current infrared touch screen and the signal strength reference value. If the update condition is met, the signal strength reference value is updated in a timely manner, rather than waiting for the infrared touch screen to be powered off and then powered on again before re-determining the signal strength reference value. This ensures that the updated signal strength reference value is consistent with the current state of the infrared touch screen, thereby improving the accuracy of determining whether a touch area exists on the infrared touch screen and reducing the false positive rate.

[0042] Figure 3 shows a flow chart of the method for updating the signal strength reference value provided in an embodiment of the present application. The method is executed by an infrared touch screen comprising an infrared transmitter and an infrared receiver. The infrared touch screen may be an infrared touch screen comprising one or more processors, and the processor may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement an embodiment of the present invention, which is not limited here. When the infrared touch screen includes multiple processors, they may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs, which is not limited here. As shown in Figure 3, the method for updating the signal strength reference value provided in an embodiment of the present application includes the following steps:

[0043] S110, acquisition step: controlling the infrared transmitter to transmit an infrared signal to the infrared receiver, wherein an infrared signal line is formed between the infrared transmitter that transmits the infrared signal and the infrared receiver that receives the infrared signal; acquiring a signal strength value of the infrared signal received by the infrared receiver.

[0044] In some embodiments, an infrared touch screen typically includes a driver circuit that controls the driver circuit to cause an infrared transmitter to transmit infrared information to an infrared receiver. In the embodiments of the present application, controlling the infrared transmitter to transmit an infrared signal to the infrared receiver specifically means controlling the infrared transmitter to transmit an infrared signal, so that the corresponding infrared receiver receives the infrared signal transmitted by the infrared transmitter. If one infrared receiver corresponds to multiple infrared transmitters, multiple infrared signal lines will be formed between the infrared receiver and the corresponding infrared transmitters.

[0045] By controlling the infrared transmitter to transmit an infrared signal to the infrared receiver, the signal strength value of the infrared signal received by the infrared receiver can be obtained. It is understandable that the signal strength value of the infrared signal received by the corresponding infrared receiver will also be different depending on the transmission power of the infrared transmitter. Since one infrared receiver corresponds to multiple infrared transmitters, that is, one infrared receiver can receive infrared signals transmitted by multiple infrared transmitters respectively, then one infrared receiver will form an infrared signal line with each of its corresponding multiple infrared transmitters. Therefore, one infrared receiver will correspond to multiple infrared signal lines, and each infrared signal line will correspond to a signal strength value, which is used to represent the signal strength value of the infrared signal transmitted by the infrared transmitter corresponding to the infrared signal line received by the infrared receiver.

[0046] The infrared touch screen includes multiple infrared transmitters. When controlling the infrared transmitters to transmit infrared signals to their corresponding infrared receivers, each infrared transmitter can be controlled to transmit infrared signals in turn until all infrared transmitters have transmitted infrared signals, thereby completing a scan of the infrared touch screen and obtaining a frame of scanning data accordingly. Each frame of scanning data includes the signal strength value corresponding to each infrared signal line.

[0047] S120, judgment step: based on the signal strength values ​​and signal strength reference values ​​corresponding to each infrared signal line, confirm whether the current frame satisfies at least one of the first update condition and the second update condition. The first update condition includes: the existence of an infrared signal line whose signal strength reference value is a first constant and whose corresponding signal strength value is greater than a first signal strength threshold value, wherein the infrared signal line whose signal strength reference value is the first constant refers to an infrared signal line that is considered blocked when determining the signal strength reference value. The second update condition includes: the existence of an infrared signal line that satisfies |AB|>Th2, wherein A is the signal strength value corresponding to the infrared signal line, B is the signal strength reference value corresponding to the infrared signal line, and Th2 is the second signal strength threshold value.

[0048] As mentioned above, since an infrared receiver receives infrared signals emitted by multiple infrared transmitters, an infrared receiver forms an infrared signal line with each infrared transmitter. That is, each infrared signal line corresponds to an infrared transmitter and an infrared receiver, and each infrared signal line corresponds to a signal strength value and a signal strength reference value. The signal strength value represents the signal strength of the infrared signal. The signal strength reference value refers to a reference value used to determine whether a touch area exists on the infrared touch screen. As described in the background technology, during the operation of the infrared touch screen, the presence of a touch area is determined by comparing the signal strength value of the infrared signal currently received by the infrared receiver with the signal strength reference value. The signal strength reference value in this step can be pre-set as needed and is not limited here.

[0049] When determining the signal strength reference value corresponding to each infrared signal line, the infrared touch screen is usually scanned when no touch occurs, and after obtaining the scan data, the signal strength reference value is determined based on the scan data. However, in the process of scanning the infrared touch screen in an untouched state, it is difficult to avoid the situation where an obstruction (such as a pen) is on the surface of the infrared touch screen, so there will be an obstruction area. In this case, there will be some obstruction lines in the scan data obtained by scanning the infrared touch screen. At this time, the signal strength reference value corresponding to the infrared signal line belonging to the obstruction line is determined as a first constant, that is, the infrared signal line with the signal strength reference value of the first constant is the infrared signal line that has been obstructed when the signal strength reference value is determined. The signal strength reference value corresponding to these infrared signal lines is set to a smaller value. In this way, when the infrared touch screen is subsequently scanned and the touch area is determined, the obstruction area is not mistakenly determined as a touch area, and there is no need to remove the obstruction and rescan in the determination of the signal strength reference value, thereby saving time in determining the signal strength reference value.

[0050] In some embodiments, in the infrared signal line optical network formed by the infrared touch screen, if there is at least one infrared signal line with a signal strength reference value corresponding to a first constant, and the signal strength value corresponding to the infrared signal line is greater than a first signal strength threshold, then the current frame is determined to meet the first update condition. The infrared signal line with the signal strength reference value of the first constant is the infrared signal line considered to be blocked when determining the signal strength reference value. The first constant can be set as needed. Specifically, as described above, after obtaining the scan data, the signal strength value of the blocked infrared signals is determined based on the signal strength values ​​of the blocked infrared signals. Generally, the minimum value of these signal strength values, or a value smaller than the minimum value, can be selected, for example, it can be set to 0, 1, etc. Preferably, the first constant is 0. In this way, the signal strength value of each infrared signal line in subsequent scans will generally be greater than 0. Therefore, these infrared signal lines that were considered blocked lines when the signal strength reference value was determined are less likely to be mistakenly identified as blocked lines in the current scan frame due to comparison with their corresponding signal strength reference values. The first signal strength threshold can be set as needed, as long as the comparison result of the signal strength value corresponding to the infrared signal line with the first signal strength threshold can determine whether the infrared signal line is currently blocked. Preferably, the first constant is 0, and the first signal strength threshold is greater than the first constant. For an infrared signal line whose signal strength reference value is the first constant, if the signal strength value of the infrared signal line is greater than the first signal strength threshold, the infrared signal line is considered to be an obstruction line when the signal strength reference value was determined. However, since the obstruction was removed in the current frame, the infrared signal line is no longer an obstruction line. In other words, the first update condition is to determine whether the infrared signal lines that were considered to be obstructions when the signal strength reference value was determined exist, and in the current frame, the signal lines are no longer obstructions.

[0051] For the infrared signal line that is considered as an obstruction line when the signal strength reference value is determined, it is called a target infrared signal line. When executing the acquisition step S110 above, if there is at least one target infrared signal line in the acquired frame of scanning data with a signal strength value greater than the first signal strength threshold, it means that the obstruction when the current signal strength reference value is determined has been removed. If the previously determined signal strength reference value is still used to determine the touch area, then if a touch operation occurs in the original obstruction area (the obstruction area considered when the current signal strength reference value is determined), a missed judgment will occur. However, the present application can avoid this problem by setting the first update condition. Specifically,

[0052] In an embodiment of the present application, when an obstruction exists, by setting the signal strength reference value of the infrared signal line at the location of the obstruction to a first constant, the obstructed area will not be mistakenly identified as a touch area before the obstruction is removed; when it is detected that the obstruction placed on the infrared touch screen is removed, that is, after the first update condition provided by the embodiment of the present application is met, the signal strength reference value is updated in a timely manner, so that when the user subsequently performs a touch operation in the original obstructed area, the infrared touch screen can accurately identify the touch area, and will not mistake the touch area for an obstruction area, thereby being able to respond to the user's touch operation in a timely manner.

[0053] In some embodiments, for the same infrared signal line, if it is not blocked during the signal strength reference value determination process, that is, the signal strength reference value of the infrared signal line is not the first constant, and the infrared signal line is not blocked in the current frame, then the signal strength value of the infrared signal line in the current frame is substantially consistent with its corresponding signal strength reference value, that is, equal or very slightly different. However, in practice, due to various factors, such as temperature, transmitter power stability, etc., it is possible that the same infrared signal line, although always unblocked (i.e., always considered to be an unblocked line), may have different signal strength values ​​when scanned at different times. In this case, the infrared signal line is considered to have drifted. Specifically, in the second condition, if there is an infrared signal line that satisfies |AB|>Th2, then the infrared signal emitted by the infrared emitter corresponding to the infrared signal line is considered to have drifted, indicating that the current state of the infrared touch screen (i.e., the operating state of the infrared emitter) is significantly different from the state of the infrared touch screen when the signal strength reference value was previously determined. If the previously determined signal strength reference value is used to determine whether the current infrared touch screen has a touch area, it will result in a high misjudgment rate. However, by setting the second condition, the present application can timely update the signal strength reference value when drift occurs, thereby reducing or even eliminating the probability of misjudgment.

[0054] It is worth noting that when using the signal strength value corresponding to the infrared signal line and the signal strength reference value corresponding to the infrared signal line to determine whether at least one of the first update condition and the second update condition is met, you can first determine whether the first update condition is met. If the first update condition is not met, then continue to determine whether the second update condition is met. If the first update condition is met, there is no need to determine whether the second update condition is met. You can also first determine whether the second update condition is met. If the second update condition is not met, then continue to determine whether the first update condition is met. If the second update condition is met, there is no need to determine whether the first update condition is met. You can also only determine whether the first update condition is met or only determine whether the second update condition is met, or determine whether the first update condition and the second update condition are met at the same time.

[0055] S130, updating step: if at least one of the first updating condition and the second updating condition is satisfied, then updating the signal strength reference value.

[0056] After executing the determination step S120, if at least one of the first update condition and the second update condition is satisfied, the infrared touch screen is rescanned to update the signal strength reference value. Satisfying at least one of the first update condition and the second update condition may mean that only the first update condition is satisfied, only the second update condition is satisfied, or both the first update condition and the second update condition are satisfied.

[0057] In an embodiment of the present application, the scanning data of the current frame of the infrared touch screen is obtained to determine whether at least one of the first update condition and the second update condition is met. As long as any update condition is met, it means that the originally determined signal strength reference value is not suitable for determining whether there is a touch area in the current infrared touch screen. By timely updating the signal strength reference value so that the updated signal strength reference value is adapted to the current state of the infrared touch screen, the accuracy of determining whether there is a touch area on the infrared touch screen is improved, and the misjudgment rate is reduced.

[0058] If the signal strength reference value is updated frequently, then when the signal strength reference value is updated, if a touch operation is responded to, the touch position response may be inaccurate; if the touch operation is not responded to when the signal strength reference value is updated, the touch operation may not be performed for a long time. Therefore, if the signal strength reference value is updated at a high frequency all the time, the user experience will be seriously reduced. However, the embodiment of the present application uses the scanning data of the current frame to determine whether the first update condition or the second update condition is met. The signal strength reference value is updated only after the update condition is met, that is, the signal strength reference value is updated only after the state of the infrared touch screen changes to a certain extent, rather than updating the signal strength reference value at a high frequency all the time. This can appropriately reduce the number of times the signal strength reference value is updated, and does not affect the accuracy of the touch area judgment, and thus does not reduce the user experience.

[0059] Because there are so many infrared signal lines, it is inevitable that the scan value of a certain infrared signal line will be inaccurate or even erroneous. If only one infrared signal line drifts, it is assumed that all infrared signal lines in the current frame have drifted, and the signal strength reference value is updated, it may cause a misjudgment of the drift of the current frame, resulting in unnecessary updates of the signal strength reference value and a waste of resources. In order to improve the accuracy of determining whether the signal strength reference value needs to be updated, the present application, in a preferred embodiment, includes the second update condition: among the n infrared signal lines formed by scanning one frame, there are m infrared signal lines that satisfy |AB|>Th2, where n and m are both positive integers, m≥n*a, a is a preset second constant, and 0<a≤1.

[0060] In an embodiment of the present application, the infrared touch screen includes a plurality of infrared transmitters and a plurality of infrared receivers, which form n groups of infrared transmitters and receivers. Each group of infrared transmitters and receivers includes one infrared transmitter and one infrared receiver for receiving the infrared signal emitted by the infrared transmitter. Each group of infrared transmitters and receivers corresponds to one signal strength reference value. Therefore, each time the infrared touch screen is scanned, a frame of scan data obtained includes the signal strength values ​​of the infrared signals corresponding to n infrared signal lines. It should be noted that a can be set as needed, for example, to 50%, 60%, etc. Preferably, in the embodiment of the present application, a is 60%.

[0061] Since the infrared touch screen includes multiple infrared transmitters and multiple infrared receivers, if the infrared signal emitted by the infrared transmitter corresponding to one infrared signal line is updated when there is drift, the infrared touch screen will frequently update the signal strength reference value, thereby reducing the user experience. Therefore, in the embodiment of the present application, by setting the second update condition to be determined only when there is a certain number of infrared signal lines corresponding to the infrared transmitters drifting in the scanning data of the current frame, the signal strength reference value is updated, thereby avoiding the problem of poor user experience caused by frequent updates. Furthermore, only when the infrared signals emitted by a certain number of infrared transmitters drift will the working state of the infrared touch screen undergo a significant change. That is, in this case, the originally set signal strength reference value will no longer be applicable to the infrared touch screen in the current working state, and the signal strength reference value will need to be updated. This also improves the accuracy of determining whether the signal strength reference value needs to be updated.

[0062] In order to accurately and quickly determine whether the signal strength reference value needs to be updated, in an embodiment of the present application, n infrared signal lines are formed for each scan frame, and the second update condition includes: selecting a number of infrared signal lines formed by each infrared receiver to form t infrared signal lines, and there are at least k infrared signal lines satisfying |AB|>Th2 among the t infrared signal lines, wherein t and k are both positive integers, t≤n, k≥t*b, b is a preset third constant, and 0<b≤1.

[0063] As previously mentioned, each time the infrared touch screen is scanned, a frame of scan data is obtained, which includes the signal strength values ​​of the infrared signals corresponding to n infrared signal lines. When n is large, if the signal strength values ​​corresponding to all infrared signal lines are judged to see whether |AB|>Th2, the computational complexity is large and the judgment efficiency is low. Therefore, in the embodiment of the present application, by selecting t representative infrared signal lines from the n infrared signal lines and judging whether the signal strength value corresponding to each selected infrared signal line satisfies |AB|>Th2, the computational complexity can be reduced, thereby improving the judgment efficiency. It is worth noting that selecting t infrared signal lines from n infrared signal lines can be based on pre-set characteristic requirements, and t infrared signal lines that meet the characteristic requirements are selected so that the selected t infrared signal lines are representative among the n infrared signal lines. The specific method of selecting t infrared signal lines from the n infrared signal lines can be selected as needed and is not limited here. As long as a part of the infrared signal lines corresponding to each infrared receiver is selected, for example, the two leftmost and rightmost infrared signal lines corresponding to each infrared receiver can be selected, that is, the two infrared signal lines corresponding to each infrared receiver constitute t infrared signal lines; or five infrared signal lines corresponding to each infrared receiver can be selected, specifically the leftmost one, the three middle ones, and the rightmost one can be selected, that is, the five infrared signal lines corresponding to each infrared receiver constitute t infrared signal lines; of course, the selection can be performed in other ways, and the selection method of the present application is not limited to including the leftmost, rightmost and middle infrared lines, and can also include only the infrared lines in the middle, or only the leftmost infrared line, or the last infrared line. It should be noted that b can be set as needed, for example, it can be set to 50%, 60%, etc. Preferably, in the embodiment of the present application, b is 60%.

[0064] In some embodiments, selecting several infrared signal lines from the infrared signal lines formed by the infrared receivers includes: selecting the infrared signal lines located at the leftmost, middle, and rightmost positions from the infrared signal lines formed by the infrared receivers.

[0065] In order to better illustrate how to select the infrared signal lines located at the leftmost, middle and rightmost from all infrared signal lines formed by an infrared receiver, that is, in this embodiment, the leftmost, middle and rightmost infrared signal lines corresponding to each infrared receiver form t infrared signal lines that meet the preset conditions, Figure 4 shows a schematic diagram of the infrared signal lines located at the leftmost, middle and rightmost among the infrared signal lines formed by the infrared receiver provided in an embodiment of the present application. As shown in FIG4 , an infrared touch screen 10 includes multiple infrared transmitters 11 and multiple infrared receivers 12. The figure uses only one infrared receiver as an example. This infrared receiver corresponds to nine infrared transmitters, meaning that it can receive infrared signals from each of the nine corresponding infrared transmitters. Consequently, an infrared signal line is formed between the infrared receiver and each corresponding infrared transmitter, for a total of nine infrared signal lines as shown in the figure. These nine infrared signal lines are distinguished by solid and dashed lines. The three solid lines represent the infrared signal lines that meet the preset conditions among all the infrared signal lines formed by the infrared receiver, namely, the infrared signal lines located at the leftmost, middle, and rightmost sides of the receiver. The six dashed lines represent the infrared signal lines that do not meet the preset conditions. It will be appreciated that, among all the infrared signal lines formed by an infrared receiver, the leftmost and rightmost infrared signal lines are readily apparent. The infrared signal line located at the center of the receiver is the infrared signal line with the smallest angle to the perpendicular midline of the receiver. The infrared receiver midline is a virtual line perpendicular to the touch screen surface and the infrared receiver. In some embodiments, if the number of infrared signal lines generated by an infrared receiver is even, then either of the two infrared signal lines located in the middle of the receiver can be selected as the middle infrared signal line, or both of the two infrared signal lines can be selected as the middle infrared signal line, without limitation. If the number of infrared signal lines generated by an infrared receiver is odd, then the infrared signal line located in the middle of the receiver can be selected as the middle infrared signal line.

[0066] Since one infrared receiver corresponds to multiple infrared transmitters, that is, one infrared receiver will receive infrared signals emitted by multiple infrared transmitters, that is, one infrared receiver will receive infrared signals within a certain area. In the embodiment of the present application, by setting the infrared signal lines that meet the preset conditions to include the infrared signal lines located at the leftmost, middle and rightmost of all infrared signal lines formed by the infrared receiver, the selected infrared signal lines are representative of all infrared signal lines formed by the infrared receiver, and can well represent the infrared signals within a certain area that can be received by the infrared receiver, thereby improving the accuracy of judging whether the infrared signal emitted by the current infrared transmitter drifts.

[0067] In order to further improve the accuracy of determining whether the signal strength reference value needs to be updated, the embodiment of the present application provides another specific implementation of step S130 based on the embodiment provided in FIG3 , where S130 includes:

[0068] If the consecutive preset frames all meet at least one of the first update condition and the second update condition, the signal strength reference value is updated; otherwise, the signal strength reference value is not updated.

[0069] In some embodiments, the continuous preset frames refer to multiple frames of scan data obtained by continuously scanning the infrared touch screen multiple times, and may be two or three consecutive frames.

[0070] If the state of the infrared touch screen does change significantly, then the scan data of multiple frames obtained by scanning it multiple times will change accordingly; however, if the state of the infrared touch screen is unstable or mutated, it will generally only affect the scan data of one frame, and will not affect the scan data of multiple frames. Therefore, in the embodiment of the present application, the signal strength reference value is updated only when it is monitored that the scan data of multiple frames meet at least one of the first update condition and the second update condition, thereby improving the accuracy of determining whether the signal strength value needs to be updated. Furthermore, if the state of the infrared touch screen is unstable or mutated, if the signal strength reference value is updated all the time, the touch area may not be identified in time, which reduces the user experience. The embodiment of the present application only updates the signal strength reference value after monitoring that multiple frames of scan data meet the update conditions. If the state of the infrared touch screen is unstable or mutated, which only affects the scan data of one frame, the signal strength reference value will not be updated immediately, thereby improving the user experience.

[0071] To improve user experience, the embodiment of the present application, based on the embodiment provided in FIG. 3 , further includes, before step S130 , the method for updating the signal strength reference value:

[0072] Step a1: Determine whether a touch area exists based on the magnitude relationship between the signal strength value corresponding to each infrared signal line and the signal strength reference value.

[0073] As mentioned above, if there is a touch area on the infrared touch screen, the infrared signal at the touch area will be blocked, and the signal strength value of the corresponding infrared signal line at that position will decrease. Therefore, it is possible to confirm whether there is a touch area based on the relationship between the signal strength value corresponding to each infrared signal line and the signal strength reference value. For example, if the signal strength value of the infrared signal line is less than the signal strength reference value, it is confirmed that there is a touch area on the infrared touch screen, and the infrared signal line is a blocking line.

[0074] Step a2: If the touch area does not exist, the updating step is executed; otherwise, the updating step is not executed.

[0075] If there is a touch area, it means that the current user is touching the infrared touch screen, and the infrared touch screen should respond to the user's touch operation. If there is a touch area and the update step is performed, it will not be able to respond to the user's touch operation, thereby reducing the user experience. In the embodiment of the present application, the signal strength reference value is updated only when there is no touch area and the update conditions of the signal strength reference value are met. That is, the signal strength reference value is updated only when the current user has not performed a touch operation on the infrared touch screen. Therefore, the situation where the signal strength reference value is updated when there is a touch area and the user's touch operation cannot be responded will not occur, which will not affect the normal use of the user and improve the user experience. In addition, compared with the method of regularly updating the signal strength reference value, if the signal strength reference value is set to be updated regularly, that is, when the infrared touch screen updates the signal strength reference value after a fixed working time, there will also be a situation where there is a touch area when the signal strength value is updated, which will also reduce the user experience. In this embodiment of the present application, by first determining whether there is a touch area and updating the signal strength reference value only when there is no touch area, the user experience will not be reduced.

[0076] It is worth noting that step a1 can be executed before executing step S120 or after executing step S120. In the embodiment of the present application, preferably, step a1 is executed before executing step S120, that is, the acquisition step of step S110 is executed first, and after obtaining the scanning data of the current frame, step a1 is executed using the scanning data of the current frame. If there is a touch area currently, step S120 and step S130 are not required. If there is no touch area currently, step S120 and step S130 continue to be executed, thereby improving efficiency.

[0077] In order to improve the accuracy of determining whether there is a touch area on the infrared touch screen, in an embodiment of the present application, step a1 includes: if there is an infrared signal line whose signal strength value and the sum of the third signal strength threshold are less than the corresponding signal strength reference value, it is considered that there is a touch area; otherwise, it is considered that there is no touch area.

[0078] It is understandable that if there is signal jitter during the scanning process of the infrared touch screen, it will affect the signal strength value of the infrared signal received by the infrared receiver. Therefore, in the embodiment of the present application, by setting a third signal strength threshold, it is possible to avoid the situation where the change in signal strength value caused by signal jitter is mistakenly identified as the presence of a touch area on the infrared touch screen, and the accuracy of determining whether the infrared touch screen has a touch area can be improved. It should be noted that if there is a touch area on the infrared touch screen, the signal strength value corresponding to the infrared signal line at the touch area will drop significantly, that is, the drop will be much greater than the third signal strength threshold. Therefore, the third signal strength threshold can be set as needed, as long as the set third signal strength threshold can distinguish between the situation where the signal strength value changes due to signal jitter and the situation where the signal strength value changes due to the presence of a touch area.

[0079] In order to improve the accuracy of the determined signal strength reference value, in an embodiment of the present application, the initial value of the signal strength reference value and / or the update of the signal strength reference value are determined using the following steps b1 to b3, wherein, when the judgment step S120 is executed for the first time, the signal strength reference value is the initial value.

[0080] Step b1: Control the infrared transmitter to transmit infrared signals to the infrared receiver multiple times.

[0081] Step b2: Obtain the signal strength value of the infrared signal received by the infrared receiver each time, and obtain multiple signal strength values ​​corresponding to each infrared signal line.

[0082] In the embodiment of the present application, steps b1 and b2 are similar to step S110. Therefore, the specific implementation of steps b1 and b2 can refer to the specific implementation of step S110. It is worth noting that after executing steps b1 and b2, multiple frames of scanning data will be obtained, that is, the same infrared signal line will correspond to multiple signal strength values.

[0083] Step b3: determining a signal strength reference value corresponding to each infrared signal line according to a minimum value or an average value of a plurality of signal strength values ​​corresponding to the infrared signal line.

[0084] In some embodiments, based on the multiple frames of scan data obtained in step b2, the minimum and average values ​​of all signal strength values ​​corresponding to each infrared signal line can be first determined, and then the signal strength reference value corresponding to the infrared signal line can be determined based on the determined minimum and average values. For example, the minimum or average value corresponding to each infrared signal line can be determined as the signal strength reference value for the infrared signal line.

[0085] In an embodiment of the present application, by scanning the infrared touch screen multiple times and then using the obtained multi-frame scanning data to determine the signal strength reference value of each infrared signal line, compared with the method of determining the signal strength reference value of each infrared signal line through one frame of scanning data, the accuracy of the determined signal strength reference value can be improved, thereby improving the accuracy of determining whether there is a touch area on the infrared touch screen.

[0086] In some embodiments, step b3 includes:

[0087] Step c1: determining a minimum value among a plurality of signal strength values ​​corresponding to each infrared signal ray.

[0088] In some implementations, the minimum value among the multiple signal strength values ​​corresponding to each infrared signal ray is determined based on the multiple frames of scanning data obtained in step b2.

[0089] Step c2: If the minimum value corresponding to a certain infrared signal line is less than the fourth signal strength threshold, the fourth constant is determined as the signal strength reference value corresponding to the infrared signal line; if the minimum value corresponding to a certain infrared signal line is greater than or equal to the fourth signal strength threshold, the minimum value corresponding to the infrared signal line is determined as the signal strength reference value corresponding to the infrared signal line, wherein the fourth constant is less than or equal to the fourth signal strength threshold.

[0090] In some embodiments, if the minimum value corresponding to a certain infrared signal line is less than the fourth signal strength threshold, it indicates that the infrared signal line currently belongs to an obstruction line, that is, when the infrared touch screen is scanned multiple times in step b1, there is an obstruction in the infrared touch screen, and the area with the obstruction is correspondingly the obstruction area. Therefore, in this step, by determining the signal strength reference value of the infrared signal line whose minimum value is less than the fourth signal strength threshold as the fourth signal strength threshold, it is possible to avoid mistakenly identifying the obstruction area as the touch area when the infrared touch screen is subsequently scanned, thereby reducing the probability of misjudgment. If the minimum value corresponding to the infrared signal line is greater than or equal to the fourth constant, it indicates that when the infrared touch screen is scanned in step b1, the infrared signal line does not belong to an obstruction line. By determining the minimum value corresponding to the infrared signal line as the signal strength reference value corresponding to the infrared signal line, it is possible to accurately identify whether the infrared signal line belongs to an obstruction line when the infrared touch screen is subsequently scanned. It should be noted that the fourth constant is less than or equal to the fourth signal strength threshold, and the first signal strength threshold mentioned above must be greater than or equal to the fourth signal strength threshold. Therefore, the fourth constant and the fourth signal strength threshold can be set as needed. For example, the fourth constant can be set to 0, 1, etc. Preferably, the fourth constant is set to 0.

[0091] Alternatively, step b3 includes:

[0092] Step d1: determining an average value of a plurality of signal strength values ​​corresponding to each infrared signal ray.

[0093] In some embodiments, an average value of multiple signal strength values ​​corresponding to each infrared signal ray is determined based on the multiple frames of scanning data obtained in step b2.

[0094] Step d2: If the average value corresponding to a certain infrared signal line is less than the fifth signal strength threshold, the fifth constant is determined as the signal strength reference value corresponding to the infrared signal line; if the average value corresponding to a certain infrared signal line is greater than or equal to the fifth signal strength threshold, the average value corresponding to the infrared signal line is determined as the signal strength reference value corresponding to the infrared signal line, wherein the fifth constant is less than or equal to the fifth signal strength threshold.

[0095] In some embodiments, if the average value corresponding to a certain infrared signal line is less than the fifth signal strength threshold, it indicates that the infrared signal line currently belongs to an obstruction line, that is, when the infrared touch screen is scanned multiple times in step b1, there is an obstruction in the infrared touch screen, and the area with the obstruction is correspondingly the obstruction area. Therefore, in this step, by determining the signal strength reference value of the infrared signal line whose average value is less than the fifth signal strength threshold as the fifth constant, it is possible to avoid mistakenly identifying the obstruction area as the touch area when the infrared touch screen is subsequently scanned, thereby reducing the probability of misjudgment. If the average value corresponding to the infrared signal line is greater than or equal to the fifth signal strength threshold, it indicates that when the infrared touch screen is scanned in step b1, the infrared signal line does not belong to the obstruction line. By determining the average value corresponding to the infrared signal line as the signal strength reference value corresponding to the infrared signal line, it is possible to accurately identify whether the infrared signal line belongs to the obstruction line when the infrared touch screen is subsequently scanned. It should be noted that the fifth constant is less than or equal to the fifth signal strength threshold, and the first signal strength threshold mentioned above must be greater than or equal to the fifth signal strength threshold. Therefore, the fifth constant and the fifth signal strength threshold can be set as needed. For example, the fifth constant can be set to 0, 1, etc. Preferably, the fifth constant is set to 0.

[0096] Since the infrared transmitter is controlled to transmit an infrared signal to the infrared receiver, even if the power of the infrared transmitter is constant, the signal strength of the infrared signal emitted by the infrared transmitter will change to a certain extent after the infrared transmitter operates for a period of time. If a certain infrared signal line is an obstruction line, the corresponding signal strength value will decrease accordingly. In the embodiment of the present application, by determining the signal strength reference value based on the minimum value of the multiple signal strength values ​​corresponding to each infrared signal line from multiple frames of scanning data, it is possible to avoid misidentifying the infrared signal line as an obstruction line in the touch area after the signal strength of the infrared signal emitted due to an abnormality of the infrared transmitter decreases, thereby improving the accuracy of determining the touch area. Alternatively, in the embodiment of the present application, by determining the signal strength reference value based on the average value of the multiple signal strength values ​​corresponding to each infrared signal line from multiple frames of scanning data, the average signal strength value of the multiple frames can well reflect the average signal strength level of the infrared signal emitted by the infrared transmitter, thereby avoiding misidentifying the infrared signal line as an obstruction line in the touch area after the signal strength of the infrared signal emitted due to an abnormality of the infrared transmitter decreases, thereby improving the accuracy of determining the touch area.

[0097] Figure 5 shows a schematic diagram of the structure of a signal strength reference value updating device provided in an embodiment of the present application. The specific embodiments of the present application do not limit the specific implementation of the signal strength reference value updating device. The signal strength reference value updating device is applied to an infrared touch screen including an infrared transmitter and an infrared receiver.

[0098] As shown in FIG. 5 , the signal strength reference value updating device 200 may include an acquisition module 201 , a determination module 202 and an updating module 203 .

[0099] In some embodiments, the acquisition module 201, the judgment module 202 and the update module 203 are used to implement the relevant steps in the above-mentioned signal strength reference value updating method embodiment, for example, the acquisition module 201 is used to implement step S110, the judgment module 202 is used to implement step S120, and the update module 203 is used to implement step S130.

[0100] Based on this, in some embodiments of the present application, n infrared signal lines are formed per scanning frame.

[0101] The second update condition includes: among the n infrared signal lines, there are m infrared signal lines that satisfy |AB|>Th2, wherein n and m are both positive integers, m≥n*a, a is a preset second constant, and 0<a≤1.

[0102] In some embodiments of the present application, n infrared signal lines are formed per scanning frame.

[0103] The second update condition includes: selecting a number of infrared signal lines from each infrared receiver to form t infrared signal lines, and there are at least k infrared signal lines among the t infrared signal lines that satisfy |AB|>Th2, where t and k are both positive integers, t≤n, k≥t*b, b is a preset third constant, and 0<b≤1.

[0104] In some embodiments of the present application, selecting several infrared signal lines from the infrared signal lines formed by each infrared receiver includes: selecting the infrared signal lines located at the leftmost, middle, and rightmost positions from the infrared signal lines formed by each infrared receiver.

[0105] In some embodiments of the present application, the update module 203 is specifically configured to:

[0106] If the consecutive preset frames all meet at least one of the first update condition and the second update condition, the signal strength reference value is updated; otherwise, the signal strength reference value is not updated.

[0107] In some embodiments of the present application, the signal strength reference value updating device 200 further includes:

[0108] a first response module, configured to, before the updating step, determine that a touch area exists in response to the presence of an infrared signal line whose sum of a signal strength value and a third signal strength threshold value is less than a corresponding signal strength reference value; otherwise, determine that no touch area exists;

[0109] The second response module is configured to execute the updating step if the touch area does not exist; otherwise, not execute the updating step.

[0110] In some embodiments of the present application, the signal strength reference value updating device 200 further includes:

[0111] A control module is used to control the infrared transmitter to transmit infrared signals to the infrared receiver multiple times;

[0112] The intensity value acquisition module is used to obtain the signal intensity value of the infrared signal received by the infrared receiver each time, and obtain multiple signal intensity values ​​corresponding to each infrared signal line;

[0113] The reference value determination module is used to determine the signal strength reference value corresponding to each infrared signal line according to the minimum value or the average value of the multiple signal strength values ​​corresponding to the infrared signal line.

[0114] In some embodiments of the present application, the reference value determination module is specifically configured to:

[0115] Determine a minimum value among a plurality of signal strength values ​​corresponding to each infrared signal line;

[0116] If the minimum value corresponding to a certain infrared signal line is less than the fourth signal strength threshold, the fourth constant is determined as the signal strength reference value corresponding to the infrared signal line; if the minimum value corresponding to a certain infrared signal line is greater than or equal to the fourth signal strength threshold, the minimum value corresponding to the infrared signal line is determined as the signal strength reference value corresponding to the infrared signal line, wherein the fourth constant is less than or equal to the fourth signal strength threshold; or,

[0117] determining an average value of a plurality of signal strength values ​​corresponding to each infrared signal line;

[0118] If the average value corresponding to a certain infrared signal line is less than the fifth signal strength threshold, the fifth constant is determined as the signal strength reference value corresponding to the infrared signal line; if the average value corresponding to a certain infrared signal line is greater than or equal to the fifth signal strength threshold, the average value corresponding to the infrared signal line is determined as the signal strength reference value corresponding to the infrared signal line, wherein the fifth constant is less than or equal to the fifth signal strength threshold.

[0119] The signal strength reference value updating device 200 provided in this embodiment is used to implement the technical solution of the signal strength reference value updating device method in the aforementioned method embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0120] FIG6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application. The specific embodiment of the present application does not limit the specific implementation of the electronic device.

[0121] As shown in FIG. 6 , the electronic device may include a processor 302 and a memory 304 .

[0122] In some implementations, the processor 302 is configured to execute the program 306 , and specifically may execute the relevant steps in the above-mentioned embodiment of the method for updating the signal strength reference value.

[0123] Specifically, the program 306 may include program code including computer-executable instructions.

[0124] Processor 302 may be a central processing unit (CPU), a specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in an electronic device may be processors of the same type, such as one or more CPUs, or processors of different types, such as one or more CPUs and one or more ASICs.

[0125] The memory 304 is used to store the program 306. The memory 304 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0126] In addition, the present invention also provides a computer-readable storage medium for a method for updating a signal strength reference value, such as a chip, a CD, etc. The computer-readable storage medium stores an execution program, which, when executed, implements the method for updating a signal strength reference value as described in any one of the above items.

[0127] It should be noted that the computer-readable storage medium described in the embodiments of the present disclosure is not limited to the embodiments given above, and can also be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the embodiments of the present disclosure, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.

[0128] It will be understood by those skilled in the art that, under the premise of no conflict, the above-mentioned preferred embodiments can be freely combined and superimposed. Among them, the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, which contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. The numbering of each step in this article is only for the convenience of description and reference, and is not used to limit the order of execution. The specific execution order is determined by the technology itself, and those skilled in the art can determine various allowable and reasonable orders based on the technology itself.

[0129] It should be noted that the use of step numbers (letters or numbers) to refer to certain specific method steps in the present invention is solely for the purpose of descriptive convenience and brevity, and is in no way intended to limit the order of these method steps. Those skilled in the art will appreciate that the order of the relevant method steps is determined by the technology itself and should not be unduly limited by the presence of step numbers. Those skilled in the art can determine various permissible and reasonable step orders based on the technology itself.

[0130] It is particularly important to note that the selection of these specific numerical values ​​and the relationship between them, as well as the numerical range, requires not only the inventor to have a theoretical basis far beyond the level of ordinary technicians in this field, but also to make creative attempts and selections based on the expected target design results, supplemented by several arduous experiments, in order to finally obtain the expected target results. The determination of this numerical value is something that ordinary technicians in this field will never be able to obtain. First, the initial selection interval for these proportional relationships is (0, ∞). People with only ordinary technical knowledge in this field cannot limit and determine the approximate range within such a large initial selection interval for subsequent experimental selection. Furthermore, they do not have the creative ability to construct a feasibility experiment to accurately determine the specific final selected numerical range that obtains the best effect within this narrowed approximate range.

[0131] Those skilled in the art will appreciate that, provided there is no conflict, the above preferred solutions can be freely combined and superimposed.

[0132] It should be understood that the above-mentioned embodiments are merely illustrative and non-restrictive. Without departing from the basic principles of the present invention, various obvious or equivalent modifications or substitutions that can be made by those skilled in the art to the above-mentioned details will be included in the scope of the claims of the present invention.

Claims

1. A method for updating a signal strength reference value, the method being applied to an infrared touch screen including an infrared transmitter and an infrared receiver, the method comprising: Acquisition step: controlling the infrared transmitter to transmit an infrared signal to the infrared receiver, wherein an infrared signal line is formed between the infrared transmitter that transmits the infrared signal and the infrared receiver that receives the infrared signal; acquiring a signal strength value of the infrared signal received by the infrared receiver; Determination step: confirming whether the current frame satisfies at least one of the first update condition and the second update condition according to the signal strength value and the signal strength reference value corresponding to each infrared signal line, wherein: The first update condition includes: there is an infrared signal line whose signal strength reference value is a first constant and whose corresponding signal strength value is greater than a first signal strength threshold, wherein the infrared signal line whose signal strength reference value is the first constant refers to an infrared signal line that is considered to be blocked when determining the signal strength reference value, The second update condition includes: there is an infrared signal line that satisfies |AB|>Th2, wherein A is the signal strength value corresponding to the infrared signal line, B is the signal strength reference value corresponding to the infrared signal line, and Th2 is the second signal strength threshold; Update step: if at least one of the first update condition and the second update condition is satisfied, update the signal strength reference value.

2. The method according to claim 1, wherein: Each scan frame forms n infrared signal lines. The second update condition includes: among the n infrared signal lines, there are m infrared signal lines satisfying |AB|>Th2, wherein n and m are both positive integers, m≥n*a, a is a preset second constant, and 0<a≤1.

3. The method according to claim 1, wherein: Each scan frame forms n infrared signal lines. The second update condition includes: selecting a number of infrared signal lines formed by each of the infrared receivers to form t infrared signal lines, and there are at least k infrared signal lines among the t infrared signal lines that satisfy |AB|>Th2, wherein t and k are both positive integers, t≤n, k≥t*b, b is a preset third constant, and 0<b≤1.

4. The method according to claim 3, wherein: The selecting a plurality of infrared signal lines from the infrared signal lines formed by the infrared receivers includes: selecting the infrared signal lines located at the leftmost, middle and rightmost positions from the infrared signal lines formed by the infrared receivers.

5. The method according to any one of claims 1 to 4, wherein: The updating step comprises: If consecutive preset frames all meet at least one of the first update condition and the second update condition, the signal strength reference value is updated; otherwise, the signal strength reference value is not updated.

6. The method according to any one of claims 1 to 4, wherein: The updating step also includes: In response to the presence of an infrared signal line whose sum of the signal strength value and the third signal strength threshold is less than the corresponding signal strength reference value, it is considered that a touch area exists; otherwise, it is considered that no touch area exists; If the touch area does not exist, the updating step is performed; otherwise, the updating step is not performed.

7. The method according to any one of claims 1 to 4, wherein: The initial value of the signal strength reference value and / or the update of the signal strength reference value adopt the following steps: Controlling the infrared transmitter to transmit infrared signals to the infrared receiver multiple times; Acquire the signal strength value of the infrared signal received by the infrared receiver each time, and obtain multiple signal strength values ​​corresponding to each infrared signal line; The signal strength reference value corresponding to each infrared signal line is determined according to a minimum value or an average value of a plurality of signal strength values ​​corresponding to the infrared signal line.

8. The method according to claim 7, wherein: The step of determining the signal strength reference value corresponding to each infrared signal line according to a minimum value or an average value of a plurality of signal strength values ​​corresponding to the infrared signal line comprises: Determine a minimum value among a plurality of signal strength values ​​corresponding to each infrared signal line; If the minimum value corresponding to a certain infrared signal line is less than the fourth signal strength threshold, the fourth constant is determined as the signal strength reference value corresponding to the infrared signal line; if the minimum value corresponding to a certain infrared signal line is greater than or equal to the fourth signal strength threshold, the minimum value corresponding to the infrared signal line is determined as the signal strength reference value corresponding to the infrared signal line. value, wherein the fourth constant is less than or equal to the fourth signal strength threshold; or, Determine an average value of a plurality of signal strength values ​​corresponding to each infrared signal line; If the average value corresponding to a certain infrared signal line is less than the fifth signal strength threshold, the fifth constant is determined as the signal strength reference value corresponding to the infrared signal line; if the average value corresponding to a certain infrared signal line is greater than or equal to the fifth signal strength threshold, the average value corresponding to the infrared signal line is determined as the signal strength reference value corresponding to the infrared signal line, wherein the fifth constant is less than or equal to the fifth signal strength threshold.

9. A device for updating a signal strength reference value, comprising: an acquisition module, used for controlling the infrared transmitter to transmit an infrared signal to the infrared receiver, wherein an infrared signal line is formed between the infrared transmitter that transmits the infrared signal and the infrared receiver that receives the infrared signal, and acquiring a signal strength value of the infrared signal received by the infrared receiver; A confirmation module is used to confirm whether the current frame satisfies at least one of the first update condition and the second update condition according to the signal strength value corresponding to each infrared signal line and the signal strength reference value corresponding to the infrared signal line, wherein: The first update condition includes: there is an infrared signal line whose signal strength reference value is a first constant and whose corresponding signal strength value is greater than a first signal strength threshold, wherein the infrared signal line whose signal strength reference value is the first constant is an infrared signal line that is considered to be blocked when determining the signal strength reference value, The second update condition includes: there is an infrared signal line that satisfies |AB|>Th2, wherein A is the signal strength value corresponding to the infrared signal line, B is the signal strength reference value corresponding to the infrared signal line, and Th2 is the second signal strength threshold; An updating module is configured to update the signal strength reference value if at least one of the first updating condition and the second updating condition is satisfied.

10. The device according to claim 9, wherein: Each scan frame forms n infrared signal lines. The second update condition includes: among the n infrared signal lines, there are m infrared signal lines satisfying |AB|>Th2, wherein n and m are both positive integers, m≥n*a, a is a preset second constant, and 0<a≤1.

11. The device according to claim 9, wherein: Each scan frame forms n infrared signal lines. The second update condition includes: selecting a number of infrared signal lines formed by each of the infrared receivers to form t infrared signal lines, and there are at least k infrared signal lines among the t infrared signal lines that satisfy |AB|>Th2, wherein t and k are both positive integers, t≤n, k≥t*b, b is a preset third constant, and 0<b≤1.

12. The device according to claim 11, wherein The selecting a plurality of infrared signal lines from the infrared signal lines formed by the infrared receivers includes: selecting the infrared signal lines located at the leftmost, middle and rightmost positions from the infrared signal lines formed by the infrared receivers.

13. The device according to any one of claims 9 to 12, wherein: The update module is specifically used for: If consecutive preset frames all meet at least one of the first update condition and the second update condition, the signal strength reference value is updated; otherwise, the signal strength reference value is not updated.

14. The device according to any one of claims 9 to 12, wherein: The device also includes: A first response module, used for, before the updating step, in response to the presence of an infrared signal line whose sum of the signal strength value and the third signal strength threshold is less than the corresponding signal strength reference value, considering that a touch area exists; otherwise, considering that no touch area exists; The second response module is used for executing the updating step if the touch area does not exist; otherwise, not executing the updating step.

15. The device according to any one of claims 9 to 12, wherein: The device also includes: A control module, used for controlling the infrared transmitter to transmit infrared signals to the infrared receiver multiple times; The strength value acquisition module is used to acquire the signal strength value of the infrared signal received by the infrared receiver each time, and obtain multiple signal strength values ​​corresponding to each infrared signal line; The reference value determination module is used to determine the signal strength reference value corresponding to each infrared signal line according to the minimum value or the average value of multiple signal strength values ​​corresponding to the infrared signal line.

16. The device according to claim 15, wherein: The reference value determination module is specifically used for: Determine a minimum value among a plurality of signal strength values ​​corresponding to each infrared signal line; If the minimum value corresponding to a certain infrared signal line is less than the fourth signal strength threshold, the fourth constant is determined as the signal strength reference value corresponding to the infrared signal line; If the minimum value corresponding to a certain infrared signal line is greater than or equal to the fourth signal strength threshold, the minimum value corresponding to the infrared signal line is determined as the signal strength reference value corresponding to the infrared signal line, wherein the fourth constant is less than or equal to the fourth signal strength threshold; or, Determine an average value of a plurality of signal strength values ​​corresponding to each infrared signal line; If the average value corresponding to a certain infrared signal line is less than the fifth signal strength threshold, the fifth constant is determined as the signal strength reference value corresponding to the infrared signal line; if the average value corresponding to a certain infrared signal line is greater than or equal to the fifth signal strength threshold, the average value corresponding to the infrared signal line is determined as the signal strength reference value corresponding to the infrared signal line, wherein the fifth constant is less than or equal to the fifth signal strength threshold.

17. An electronic device comprising: A processor and a memory, wherein the memory is used to store executable instructions, and the executable instructions enable the processor to execute the method according to any one of claims 1 to 8.

18. A computer-readable storage medium having executable instructions stored thereon, wherein the executable instructions, when executed, implement operations corresponding to the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • A method and apparatus for adjusting the sensing threshold of an infrared proximity sensor

    CN102265252A

  • Method for improving ambient light interference resistance of infrared touch panel

    CN102902424A

  • Anti-interference method and device for touch system

    CN103777821A

  • Self-adapting restoring method for touch screen device and touch screen device

    CN103885647A

  • Updating method and device of signal intensity reference value and electronic equipment

    CN117348758A