Accelerated scanning method of touch screen, electronic equipment and medium
By controlling the on and off of the infrared array and adjusting the optical network density according to the target position and quadrant, the problems of slow scanning speed and low recognition accuracy of traditional infrared touch screens are solved, and faster and more accurate recognition effects are achieved.
Patent Information
- Application Number
- CN202411198161.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-08-29
AI Technical Summary
The traditional infrared touch screen scanning method is slow, and the irregular arrangement of infrared tubes makes it difficult to accurately identify the identified objects, affecting the scanning recognition accuracy.
By obtaining the electrical signal of the infrared array, determine the target position and quadrant, control the infrared array located in the target quadrant to remain on, and the array outside the target quadrant switches to the locally closed state, reducing the optical network density in the non-target area to accelerate scanning, while maintaining the The optical network density in the target quadrant ensures recognition accuracy.
Improves scanning speed and recognition accuracy, and improves the performance of the touch screen.
Smart Images

Figure CN119165984A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of touch screen scanning, and in particular to a touch screen accelerated scanning method, electronic equipment and medium. Background Art
[0002] At present, in the interactive smart all-in-one machine market, infrared touch screen solutions are more popular than capacitive and resistive touch screens due to their simple structure, strong stability, economical and durable advantages. As the number of infrared touch frame scanning light paths has increased greatly, the traditional scanning method requires controlling each transmitting tube to light up in sequence and controlling all receiving tubes to turn on in order to identify the object on the touch screen, resulting in a relatively slow scanning speed, affecting the performance of the touch frame, and the infrared tubes are arranged irregularly. If local scanning technology is used, there will be a problem that the object will be difficult to be recognized by the touch system in a timely and accurate manner when it lands randomly, affecting the scanning and recognition accuracy. Summary of the invention
[0003] The embodiment of the present invention provides a touch screen accelerated scanning method, device and medium to solve the problems existing in the related art. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present invention provides a touch screen accelerated scanning method, comprising:
[0005] Acquire the electrical signal of the infrared array, and determine the target position of the current touch point in the touch screen and the target quadrant corresponding to the target position according to the electrical signal;
[0006] The touch screen frame edge within the target quadrant is marked as the target frame edge, the infrared array on the target frame edge is maintained in an on state, and the infrared array on the touch screen frame edge outside the target frame edge is controlled to switch to a partially off state until the target quadrant corresponding to the target position changes.
[0007] In one embodiment, controlling the infrared array on the touch screen frame edge other than the target frame edge to switch to a partially closed state includes:
[0008] When the target quadrant is the first quadrant, the target frame edges in the first quadrant are the upper frame edge and the right frame edge of the touch screen;
[0009] The infrared array located at the lower frame edge of the touch screen is controlled to switch to a partially closed state; and / or, the infrared array located at the left frame edge of the touch screen is controlled to switch to a partially closed state.
[0010] In one embodiment, it further includes:
[0011] Calculate the vertical distance between the target position and each touch screen frame edge, and mark the touch screen frame edge with the farthest vertical distance from the target position as the farthest frame edge;
[0012] Control the infrared array located at the farthest edge of the frame to switch to a partially closed state.
[0013] In one embodiment, it further includes:
[0014] When there are two touch screen frame edges with the same maximum vertical distance from the target position, the infrared array on any one of the farthest frame edges is controlled to switch to a partial off state, or the infrared arrays on the two farthest frame edges are controlled to switch to a partial off state.
[0015] In one embodiment, the partial closing state is that the infrared receiving elements in the infrared receiving array are closed at intervals, or the infrared emitting elements in the infrared emitting array are closed at intervals.
[0016] In one embodiment, it further includes:
[0017] Grouping the infrared receiving elements in all infrared receiving arrays to form a plurality of receiving element groups;
[0018] Each receiving element group is controlled to be turned on in sequence, and when each receiving element group is turned on, the infrared emitting elements in all infrared emitting arrays are controlled to light up in sequence, and each receiving element group receives the light beam emitted by the infrared emitting element to obtain an electrical signal.
[0019] In one embodiment, it further includes:
[0020] Grouping the infrared receiving elements in all infrared receiving arrays to form a plurality of receiving element groups;
[0021] The infrared emitting elements in all infrared emitting arrays are grouped to form a plurality of emitting element groups, and different emitting element groups emit infrared lights of different carriers;
[0022] Each receiving element group is controlled to be turned on in sequence, and when one receiving element group is turned on, the emitting elements in each emitting element group are synchronously driven to be turned on in sequence; each receiving element group receives the light beam emitted by the infrared emitting element to obtain an electrical signal.
[0023] In one embodiment, it further includes:
[0024] Each infrared emitting element in the infrared emitting array is controlled to emit a light beam to the infrared receiving array on the opposite axis, and each infrared emitting element is controlled to emit a light beam to the infrared receiving array on the opposite axis.
[0025] In a second aspect, an embodiment of the present invention provides an electronic device, the device comprising: a memory and a processor. The memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and when the processor executes the instructions stored in the memory, the processor executes the method in any one of the above-mentioned embodiments.
[0026] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is executed.
[0027] The advantages or beneficial effects of the above technical solution include at least:
[0028] The present invention determines the target position of the current touch point in the touch screen and the target quadrant corresponding to the target position, marks the touch screen frame edge located in the target quadrant as the target frame edge, and controls the infrared array on the touch screen frame edge outside the target frame edge to switch to a partially closed state, which can reduce the optical network density of the area outside the target quadrant, thereby accelerating the scanning speed. At the same time, the optical network in the quadrant where the touch point is located still maintains a high-density state, maintains recognition accuracy, and improves touch screen performance.
[0029] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present invention and should not be regarded as limiting the scope of the present invention.
[0031] Figure 1 It is a schematic diagram of the process of the accelerated scanning method of the touch screen of the present invention;
[0032] Figure 2 This is a schematic diagram of the optical network distribution of the touch screen of the present invention;
[0033] Figure 3 A schematic diagram of the distribution of each quadrant of the touch screen of the present invention;
[0034] Figure 4 A schematic diagram of the infrared array at the lower frame edge of the touch screen of the present invention being switched to a partially closed state;
[0035] Figure 5 A schematic diagram of the infrared array on the right frame of the touch screen of the present invention being switched to a partially closed state;
[0036] Figure 6 It is a schematic diagram of the "two-transmit and multiple-receive" scanning method of the present invention;
[0037] Figure 7 This is a schematic diagram of the optical network distribution of the off-axis scanning touch screen of the present invention;
[0038] Figure 8 The structure block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0040] At present, in the interactive smart all-in-one machine market, infrared touch screen solutions are more popular than capacitive and resistive touch screens due to their simple structure, strong stability, economical and durable advantages. As the number of infrared touch frame scanning light paths has increased greatly, the traditional scanning method requires controlling each transmitting tube to light up in sequence and controlling all receiving tubes to turn on in order to identify the object on the touch screen, resulting in a relatively slow scanning speed, affecting the performance of the touch frame, and the infrared tubes are arranged irregularly. If local scanning technology is used, there will be a problem that the object will be difficult to be recognized by the touch system in a timely and accurate manner when it lands randomly, affecting the scanning and recognition accuracy.
[0041] In order to solve the above problem, this embodiment provides a touch screen accelerated scanning method, which can ensure scanning accuracy while increasing scanning speed and improving scanning efficiency.
[0042] The accelerated scanning method of the touch screen can be executed by the central controller in the touch screen, or by a server connected to the touch screen, such as Figure 1 As shown, in this embodiment, the central controller is used as the main body to perform the following scanning steps:
[0043] Step S1: Acquire the electrical signal of the infrared array, and determine the target position of the current touch point in the touch screen and the target quadrant corresponding to the target position according to the electrical signal;
[0044] Step S2: Mark the touch screen frame edge within the target quadrant as the target frame edge, maintain the infrared array on the target frame edge in an on state, and control the infrared array on the touch screen frame edge outside the target frame edge to switch to a partially off state until the target quadrant corresponding to the target position changes.
[0045] It should be noted that if Figure 2 As shown, the touch screen of this embodiment has four touch screen frame edges, namely the upper frame edge, the lower frame edge, the left frame edge and the right frame edge of the touch screen; an infrared array is arranged on each touch screen frame edge, wherein the infrared array can be an infrared receiving array or an infrared transmitting array, and the type of the infrared array installed on each touch screen frame edge can be arranged according to actual conditions.
[0046] In this embodiment, the infrared array arranged on the upper frame edge of the touch screen is an infrared receiving array, the infrared array arranged on the lower frame edge of the touch screen opposite to it is an infrared emitting array, the infrared array arranged on the left frame edge of the touch screen is an infrared receiving array of the second group, and the infrared array arranged on the right frame edge of the touch screen opposite to it is an infrared emitting array of the second group.
[0047] The infrared transmitting array is composed of a plurality of infrared transmitting elements, the infrared receiving array is composed of a plurality of infrared receiving elements, the infrared transmitting elements are used to transmit infrared light beams, and the infrared receiving elements are used to receive infrared light beams.
[0048] In this embodiment, the central controller of the touch screen can determine whether the light path is blocked according to the electrical signal of the infrared array. Specifically, if a certain infrared receiving element on the X-axis does not receive infrared rays, it means that the light path is blocked, and the position of the touch point on the X-axis can be determined. Similarly, if a certain infrared receiving element on the Y-axis does not receive infrared rays, the position of the touch point on the Y-axis can also be determined, thereby determining the position of the obstruction on the touch screen.
[0049] Before step S1, since it is not known where the user's operation point will be on the touch screen, all infrared arrays on the edges of each frame of the touch screen need to be kept in an on state. At this time, the optical network in any area of the touch screen is relatively dense and relatively evenly distributed, and the user's landing point can be accurately identified; after the user's landing point is determined, the subsequent local scanning switching operation is performed according to the position of the touch point.
[0050] In this embodiment, the position of the touch point on the touch screen determined by the electrical signal is called the target position, and the target quadrant corresponding to the target position is determined at the same time. Figure 3 As shown, the touch screen is pre-divided into four quadrants, the upper right area of the touch screen is the first quadrant, the upper left area is the second quadrant, the lower left area is the third quadrant, and the lower right area is the fourth quadrant, and the touch screen areas of the four quadrants are the same.
[0051] Assuming that it is determined that the target position of the touch point is in the upper left area of the touch screen, the target quadrant corresponding to the target position is the second quadrant; at this time, the touch screen frame edges located in the second quadrant are the upper frame edge of the touch screen and the left frame edge of the touch screen, then the upper frame edge of the touch screen and the left frame edge of the touch screen are marked as target frame edges.
[0052] Since the touch point is located in the second quadrant, it means that the user's first landing point and writing action are in the second quadrant. Therefore, the optical network in the second quadrant should remain relatively dense to more accurately identify the user's next writing action. Since the user does not write or draw in the first, third and fourth quadrants, the optical network density in the first, third and fourth quadrants can be appropriately reduced. This embodiment reduces the optical network density by controlling the local infrared receiving element or the local infrared transmitting element to turn off, so as to maintain the recognition accuracy while speeding up the scanning speed.
[0053] In this embodiment, it is assumed that in order to ensure the relative density of the optical network in the second quadrant, since the target frame edges in this embodiment are the upper frame edges and the left frame edges of the touch screen, the infrared array arranged on the upper frame edges of the touch screen is an infrared receiving array, and the infrared array arranged on the left frame edges of the touch screen is another group of infrared receiving arrays, therefore, in this embodiment, the method for maintaining the relative density of the optical network in the second quadrant is to control all the infrared receiving elements on the upper frame edges of the touch screen to be turned on and to control all the infrared receiving elements on the left frame edges of the touch screen to be turned on; and in this embodiment, the touch screen frame edges other than the target frame edges are the lower frame edges and the right frame edges of the touch screen, then the infrared emission array on the lower frame edge of the touch screen can be controlled to enter a partially closed state, and / or the infrared emission array on the right frame edge of the touch screen can be controlled to enter a partially closed state.
[0054] like Figure 4 As shown, Figure 4 The infrared emitting array located at the lower frame edge of the touch screen is switched to a partially off state, that is, the infrared emitting elements at the lower frame edge of the touch screen are partially turned off. It can be seen that the optical network in the lower half of the touch screen, that is, the third and fourth quadrants, becomes relatively sparse, while the optical network in the upper half of the touch screen, that is, the first and second quadrants, is still dense.
[0055] Since the infrared emitting element originally has a certain emitting angle, and the infrared receiving element also has a certain receiving angle, one infrared emitting element can emit infrared light to multiple infrared receiving elements at the same time. Therefore, even if the infrared emitting array on the lower frame edge of the touch screen is partially turned off, it only means that the light network around the lower frame edge of the touch screen becomes sparse, while the infrared receiving element located on the upper frame edge of the touch screen is in a fully open state. Therefore, the light network around the upper frame edge of the touch screen can still remain dense, thereby ensuring that the writing or touch actions performed by the user in the target quadrant can be accurately recognized.
[0056] Similarly, when the target quadrant is the first quadrant, the target frame edges within the first quadrant are the upper frame edge and the right frame edge of the touch screen; this embodiment can control the infrared transmitting array located at the lower frame edge of the touch screen to switch to a partially closed state, and / or control the infrared receiving array located at the left frame edge of the touch screen to switch to a partially closed state.
[0057] In some embodiments, the user's writing direction can also be predicted, thereby expanding the target quadrant range where the touch point is located, maintaining a relatively dense optical network within the target quadrant range, reducing the frequent switching of the infrared receiving element or the infrared emitting element, and improving stability.
[0058] Specifically, the positions of touch points are continuously identified, and the user's writing direction is determined by the positions of multiple touch points. For example, if multiple touch points are distributed horizontally, the user's writing direction is horizontal; if multiple touch points are distributed vertically, the user's writing direction is vertical.
[0059] Assuming that the user writes horizontally and the touch point is located in the second quadrant, the target quadrant range can be expanded to the second quadrant and the first quadrant. At this time, the corresponding target frame edges within the target quadrant range are the left frame edge, the right frame edge and the upper frame edge of the touch screen. In this embodiment, the infrared receiving array located at the left frame edge of the touch screen, the infrared transmitting array located at the right frame edge of the touch screen and the infrared receiving array located at the upper frame edge of the touch screen can be controlled to be fully turned on, and the infrared transmitting array at the lower frame edge of the touch screen outside the target frame edge can be controlled to enter a partially closed state, so that the optical networks in the first quadrant and the second quadrant are relatively dense, while the optical networks in the third and fourth quadrants are relatively sparse, ensuring accurate recognition of writing actions in the first quadrant and the second quadrant. At the same time, the infrared transmitting array located at the lower frame edge of the touch screen is controlled to enter a partially closed state so that the scanning speed can be appropriately accelerated.
[0060] Assuming that the user writes vertically and the touch point is located in the second quadrant, the target quadrant range is the second quadrant and the third quadrant. The infrared receiving array located on the upper frame edge of the touch screen, the infrared receiving array located on the left frame edge of the touch screen, and the infrared transmitting array located on the lower frame edge of the touch screen are all controlled to be in the on state, and the infrared transmitting array located on the right frame edge of the touch screen is controlled to switch to a partially off state, such as Figure 5 As shown, Figure 5 The infrared emission array located at the right frame edge of the touch screen is switched to a partially closed state. It can be seen that the optical network on the right side of the touch screen is relatively sparse, while the optical network on the left side is relatively dense.
[0061] In some embodiments, optical network switching can also be achieved by calculating the distance. Specifically, after determining the target position, the vertical distance between the target position and each touch screen frame edge is calculated, and the touch screen frame edge with the farthest vertical distance from the target position is marked as the farthest frame edge. The infrared array located on the farthest frame edge is controlled to switch to a partially closed state, and the infrared arrays on the touch screen frame edges other than the farthest frame edge are maintained in a fully open state.
[0062] If it is calculated during the distance judgment process that there are two touch screen frame edges with the same maximum vertical distance from the target position, the infrared array on any of the farthest frame edges is controlled to switch to a partially closed state, or the infrared arrays on the two farthest frame edges are controlled to switch to a partially closed state.
[0063] For example, if the target position is in the second quadrant, and the target position is at the same vertical distance from the right frame edge of the touch screen and the lower frame edge of the touch screen, then the farthest frame edges are the right frame edge of the touch screen and the lower frame edge of the touch screen; in this case, the infrared emission array located on the right frame edge of the touch screen can be controlled to switch to a partially closed state, and / or the infrared emission array located on the lower frame edge of the touch screen can be controlled to switch to a partially closed state.
[0064] The distance calculation method may be selected from the aforementioned quadrant judgment method, or further judgment may be made through the distance calculation method after the target quadrant range is determined, thereby improving the accuracy of the judgment.
[0065] In this embodiment, switching the array elements to a partially closed state can be understood as shutting down the infrared receiving elements in the infrared receiving array at intervals, or shutting down the infrared emitting elements in the infrared emitting array at intervals, which reduces the number of light paths emitted by the infrared emitting array by about half, or reduces the number of light paths received by the infrared receiving array by about half, thereby achieving the effect of reducing the number of optical networks by half. In other embodiments, other partial shut-down methods may be used, such as shutting down two array elements for every three array elements. In this case, although the scanning can be further accelerated, the scanning accuracy will be greatly reduced.
[0066] The scanning mode of the touch screen can be a "one send, multiple receive" mode. Specifically, all infrared receiving elements in the infrared receiving array are grouped in advance to form multiple groups of receiving element groups. During scanning, each group of receiving element groups is controlled to be turned on in sequence, and when each group of receiving element groups is turned on, all infrared transmitting elements are controlled to light up in sequence.
[0067] For example, assuming that there are receiving element groups A to G and infrared emitting elements n to m, the scanning method is to turn on the receiving element group A, drive the emitting element n for a period of time, turn off the emitting element n, drive the emitting element n+1 for a period of time, turn off the emitting element n+1, ..., and so on, until the emitting element m is turned off and the receiving element group A is turned off; then the receiving element group B is turned on, and the emitting elements n to m are driven in sequence; and so on, until the receiving element group G is turned off and the infrared touch frame completes the scan.
[0068] Alternatively, there are receiving element groups A to G and transmitting elements n to m, and the scanning method is to drive the receiving element group A and light up the transmitting elements n to m in sequence; after the transmitting elements n to m are lit up in sequence, the receiving element group A is turned off, the receiving element group B is turned on, and then the transmitting elements n to m are lit up in sequence, and so on, until the receiving element G is turned off and the infrared touch frame completes the scan.
[0069] In order to further improve the scanning speed, the scanning mode of this embodiment can also be "two transmit and multiple receive", or "multiple transmit and multiple receive"; that is, the infrared receiving elements in all infrared receiving arrays are grouped to form multiple groups of receiving element groups; the infrared transmitting elements in all infrared transmitting arrays are grouped to form multiple groups of transmitting element groups, and different groups of transmitting element groups emit infrared light with different carriers.
[0070] The scanning mode of "two transmit and multiple receive" corresponds to dividing the infrared transmitting elements in all infrared transmitting arrays into two groups, one group of transmitting elements emits the first infrared light, and the other group of infrared transmitting elements emits the second infrared light.
[0071] Each receiving element group is controlled to be turned on in sequence, and when one receiving element group is turned on, the emitting elements in each emitting element group are synchronously driven to be turned on in sequence; each receiving element group receives the light beam emitted by the infrared emitting element to obtain an electrical signal.
[0072] Take "two sends and multiple receives" as an example. Figure 6 As shown, there are receiving element groups a~g, the first transmitting group is n, including n1, n2...ni, and the second transmitting group is m, including m1, m2...mi; the scanning method is to drive the receiving element group a and light up the transmitting elements n1 and m1 at the same time, wherein the transmitting element n1 and the transmitting element m1 emit different infrared lights; then turn off the transmitting elements n1 and m1, and then light up the transmitting elements n2 and m2, and the transmitting element n2 and the transmitting element m2 emit different infrared lights, ... and so on, until the transmitting elements ni and mi are turned off; turn off the receiving element group a, turn on the receiving element group a+1, and then repeat lighting up the transmitting elements n1 and m1 at the same time... and so on, until the receiving element g is turned off, and the infrared touch frame completes the scan.
[0073] The "multi-transmit and multi-receive" scanning method, that is, driving multiple infrared emitting elements to emit infrared light of multiple different carriers at the same time, and each group of receiving elements makes an obstruction light path judgment after receiving multiple infrared lights, greatly improves the overall scanning efficiency and plays a significant role in improving the performance of the infrared touch frame.
[0074] Since the present embodiment adopts a local scanning method to identify the display position of the user on the touch screen, in order to further improve the scanning accuracy, the present embodiment may adopt an off-axis scanning touch screen, including a main body and a plurality of scanning elements; wherein the main body is provided with a plurality of axial edges, each axial edge is provided with a plurality of scanning elements, the scanning elements are transmitting elements and / or receiving elements, and transmitting elements and receiving elements need to be arranged on the two axial edges of the opposite axes at the same time; the emission range of each transmitting element covers the axial edge directly opposite to it and the axial edge adjacent to it, and each receiving element is used to receive the infrared light emitted by the transmitting element on the axial edge directly opposite to it and receive the infrared light emitted by the transmitting element on the axial edge adjacent to it.
[0075] The off-axis scanning touch screen can use the four sides of the main body as the X-axis side and the Y-axis side to form a rectangular detection area. In order to distinguish the two X-axis sides and the two Y-axis sides, the two X-axis sides are named the first X-axis side and the second X-axis side, and the two Y-axis sides are named the first Y-axis side and the second Y-axis side.
[0076] On a different-axis scanning touch screen, any type of scanning element can be distributed on any axis, that is, both a transmitting element and a receiving element can be arranged on the same axis; or, only a transmitting element can be arranged on the same axis, or only a receiving element can be arranged on the same axis; but it must be ensured that both transmitting elements and receiving elements are arranged on the two axis edges in a counter-axis relationship. For example:
[0077] The first arrangement: the scanning elements arranged on the first X-axis are all transmitting elements, the scanning elements arranged on the second X-axis are all receiving elements, the scanning elements arranged on the first Y-axis are all transmitting elements, and the scanning elements arranged on the second Y-axis are all receiving elements. Figure 1 As shown, in order to distinguish the same type of scanning elements on different axis edges, all transmitting elements arranged on the first X-axis edge are called first transmitting elements 1, all receiving elements arranged on the second X-axis edge are called first receiving elements 2, all transmitting elements arranged on the first Y-axis edge are called second transmitting elements 3, and all receiving elements arranged on the second Y-axis edge are called second receiving elements.
[0078] The second arrangement mode: receiving elements and transmitting elements are arranged on the edge of the first X-axis, transmitting elements and receiving elements are arranged on the edge of the second X-axis, transmitting elements are arranged on the edge of the first Y-axis, and receiving elements are arranged on the edge of the second Y-axis.
[0079] The third arrangement method: receiving elements and transmitting elements are arranged on the first X-axis, transmitting elements and receiving elements are arranged on the second X-axis, receiving elements and transmitting elements are arranged on the first Y-axis, and receiving elements and transmitting elements are arranged on the second Y-axis.
[0080] The above examples only represent partial arrangements. Other arrangements are not given here one by one. However, it should be clear that the two opposite axis edges of the off-axis scanning touch screen must have both transmitting elements and receiving elements. That is, if a transmitting element is provided on the first X-axis edge, a receiving element is required on the second X-axis edge; if a transmitting element is provided on the first Y-axis edge, a receiving element is required on the second Y-axis edge.
[0081] In addition, each transmitting element on the off-axis scanning touch screen can emit infrared light to the receiving element on the side of the axis opposite to it, and can also emit infrared light to the receiving element on the side of the adjacent axis. Therefore, an optical network is formed between the opposite axes, and an optical network can also be formed between adjacent axes (also called off-axis), so that the touch screen can achieve coaxial scanning and off-axis scanning at the same time, so as to increase the density of the optical network. Figure 2 As shown, Figure 2 The density of the optical network is obviously higher than Figure 1 The optical network density of traditional touch screens is high, which can greatly improve the recognition accuracy of touch screens.
[0082] The models and specifications of the emitting elements on different axis sides are the same, and the models and rules of the receiving elements on different axis sides are the same, ensuring that the infrared light emitted by each emitting element can be received by the receiving element on the opposite axis, and can also be received by the receiving element on the adjacent axis (also called off-axis).
[0083] On a heterogeneous axis scanning touch screen, the total number of elements on each axis may not be equal. The total number of elements refers to the sum of all transmitting elements and receiving elements on the same axis, wherein the number of transmitting elements on an axis may be zero, or the number of receiving elements may be zero.
[0084] It should be noted that, assuming that all scanning elements arranged on a certain axis are receiving elements, the total number of elements on the axis is the number of all receiving elements on the axis. For example, the total number of elements on the first X-axis is N1, and the total number of elements on the second X-axis is M1, N1≠M1; or, the total number of elements on the first X-axis is N2, and the total number of elements on the first Y-axis is M2, N2≠M2.
[0085] In some embodiments, the total number of components on the two opposite axis edges may also be the same, that is, the total number of components on the first X-axis edge is equal to the total number of components on the second X-axis edge. Even the total number of components on the two axis edges of adjacent axes may be the same. The design of the total number of components on each axis edge can be set according to actual needs, and will not be listed here one by one.
[0086] In order to increase the optical network density at the edge of the touch screen, the component arrangement density corresponding to the edge positions on both sides of the main body on the off-axis scanning touch screen can be set to be greater than the component arrangement density corresponding to the middle position of the main body. This is equivalent to the gap between the scanning elements corresponding to the edge positions on both sides of the main body being relatively small, while the gap between the scanning elements located in the middle position of the main body is relatively large, making the optical network distributed on the edges of both sides of the main body denser, thereby improving the scanning and recognition accuracy of the edge positions.
[0087] In some embodiments, the spacing between adjacent scanning elements on the same axial edge is the same, that is, the scanning elements are evenly distributed on the axial edge. In this case, increasing the number of scanning elements on the axial edge also increases the optical network density.
[0088] Since the emission and receiving angles in this embodiment are relatively wide, all infrared light beams cover to form an optical network, making the optical paths in the optical network dense, which can improve the recognition accuracy. Especially at the edge of the touch screen, the optical path coverage is relatively dense and the blind spots are relatively small, which can greatly improve the touch recognition accuracy at the edge of the touch screen.
[0089] like Figure 7 As shown, each infrared emitting element in the infrared emitting array is controlled to emit a light beam to the infrared receiving array on its opposite axis, and at the same time, each infrared emitting element is controlled to emit a light beam to the infrared receiving array on a different axis; the different-axis scanning method can make the emission angle and receiving angle of the infrared emitting element larger, so that the light network density covered by the touch screen is higher, and the light network density in the edge area of the touch screen is also greater than the edge light network density of the traditional opposite-axis scanning method. The user can use a smaller stylus to write on the touch screen, which greatly improves the accuracy of touch recognition, so that even if part of the infrared array is controlled to switch to a partially closed state, the writing position can be accurately identified.
[0090] The off-axis scanning method of the off-axis scanning touch screen provided in this embodiment can also adopt the "one transmit and multiple receive" and "multiple transmit and multiple receive" scanning methods mentioned above, and the off-axis scanning touch screen is also applicable to the optical network switching method mentioned above, which will not be repeated here.
[0091] After the present embodiment controls the corresponding infrared array to switch to a partially closed state, the touch point continues to be identified through the optical network on the touch screen, and corresponding writing handwriting is generated on the display page of the touch screen according to the position of the touch point, or a corresponding control action is performed on the touch point of the touch screen, and real-time detection is performed on whether the position of the touch point changes the quadrant. If the target quadrant where the touch screen is located has not changed, the current optical network state is maintained. If the target quadrant has changed, the target quadrant is updated according to the position of the touch point, and the corresponding infrared array is controlled to switch to a partially closed state according to the new target quadrant. This process is repeated until the touch screen is turned off or the touch screen turns off the quick scanning mode.
[0092] This embodiment improves the touch screen recognition accuracy by combining the above-mentioned multiple means, and at the same time improves the scanning speed of the touch screen, thereby greatly improving the performance of the touch screen.
[0093] In some embodiments, an electronic device is also provided. Figure 8 FIG. 2 shows a structural block diagram of an electronic device according to an embodiment of the present invention. Figure 8 As shown, the electronic device includes: a memory 100 and a processor 200, wherein the memory 100 stores a computer program that can be run on the processor 200. When the processor 200 executes the computer program, the accelerated scanning method of the touch screen in the above embodiment is implemented. The number of the memory 100 and the processor 200 can be one or more.
[0094] The electronic device also includes:
[0095] The communication interface 300 is used to communicate with external devices and perform data exchange transmission.
[0096] If the memory 100, the processor 200 and the communication interface 300 are implemented independently, the memory 100, the processor 200 and the communication interface 300 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0097] Optionally, in a specific implementation, if the memory 100, the processor 200 and the communication interface 300 are integrated on a chip, the memory 100, the processor 200 and the communication interface 300 can communicate with each other through an internal interface.
[0098] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present invention when executed by a processor.
[0099] An embodiment of the present invention further provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present invention.
[0100] An embodiment of the present invention also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided by the embodiment of the invention.
[0101] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0102] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).
[0103] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0104] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0105] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0106] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A touch screen accelerated scanning method, characterized in that: include: Acquire an electrical signal from the infrared array, and determine a target position of a current touch point within the touch screen and a target quadrant corresponding to the target position according to the electrical signal; The touch screen frame edge located in the target quadrant is marked as the target frame edge, the infrared array located on the target frame edge is maintained in an on state, and the infrared array on the touch screen frame edge located outside the target frame edge is controlled to switch to a partially off state until the target quadrant corresponding to the target position changes.
2. The accelerated scanning method of a touch screen according to claim 1, characterized in that: The controlling the infrared array on the touch screen frame edge outside the target frame edge to switch to the partial closed state includes: In the case where the target quadrant is the first quadrant, the target frame edges located in the first quadrant are the upper frame edge and the right frame edge of the touch screen; The infrared array located at the lower frame edge of the touch screen is controlled to switch to the partially closed state; and / or, the infrared array located at the left frame edge of the touch screen is controlled to switch to the partially closed state.
3. The accelerated scanning method of a touch screen according to claim 1, characterized in that: Also includes: Calculating the vertical distance between the target position and each touch screen frame edge, and marking the touch screen frame edge with the farthest vertical distance from the target position as the farthest frame edge; The infrared array located at the farthest frame edge is controlled to switch to the partial closed state.
4. The accelerated scanning method of a touch screen according to claim 3, characterized in that: Also includes: When there are two touch screen frame edges with the same farthest vertical distance from the target position, the infrared array on any one of the farthest frame edges is controlled to switch to the partial closed state, or the infrared arrays on the two farthest frame edges are controlled to switch to the partial closed state.
5. The accelerated scanning method of a touch screen according to claim 1, characterized in that: The partial closing state is that the infrared receiving elements in the infrared receiving array are closed at intervals, or the infrared emitting elements in the infrared emitting array are closed at intervals.
6. The accelerated scanning method of a touch screen according to claim 1, characterized in that: Also includes: Grouping the infrared receiving elements in all infrared receiving arrays to form a plurality of receiving element groups; Each group of the receiving element groups is controlled to be turned on in sequence, and when each group of the receiving element groups is turned on, the infrared emitting elements in all the infrared emitting arrays are controlled to light up in sequence, and each group of the receiving element groups receives the light beam emitted by the infrared emitting element to obtain the electrical signal.
7. The touch screen accelerated scanning method according to claim 1, characterized in that: Also includes: Grouping the infrared receiving elements in all infrared receiving arrays to form a plurality of receiving element groups; The infrared emitting elements in all infrared emitting arrays are grouped to form a plurality of emitting element groups, and the emitting element groups in different groups emit infrared lights with different carriers; Control each group of the receiving element groups to turn on in sequence, and when one group of the receiving element groups is turned on, synchronously drive the emitting elements in each group of the emitting element groups to turn on in sequence; each group of the receiving element groups receives the light beam emitted by the infrared emitting element to obtain the electrical signal.
8. The accelerated scanning method of a touch screen according to claim 1, characterized in that: Also includes: Each infrared emitting element in the infrared emitting array is controlled to emit a light beam to the infrared receiving array on the opposite axis, and each infrared emitting element is controlled to emit a light beam to the infrared receiving array on the opposite axis.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the accelerated scanning method of the touch screen as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the accelerated scanning method for a touch screen according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Scanning method for trapping and tracking moving target on infrared touch screen
CN101067775A
Information processing method and electronic device
CN103838347A
Multi-point touch device for laser scanning
CN105912172A
Touch screen and terminal device
CN110275644A
Display device
CN112230804A
