CN116820265B - Control method and system based on double-sided combined touch screen - Google Patents

Control method and system based on double-sided combined touch screen Download PDF

Info

Publication number
CN116820265B
CN116820265B CN202310763896.8A CN202310763896A CN116820265B CN 116820265 B CN116820265 B CN 116820265B CN 202310763896 A CN202310763896 A CN 202310763896A CN 116820265 B CN116820265 B CN 116820265B
Authority
CN
China
Prior art keywords
infrared
touch
contact position
angle
contact
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310763896.8A
Other languages
Chinese (zh)
Other versions
CN116820265A (en
Inventor
孙虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Senke Electronic Technology Co ltd
Original Assignee
Shanghai Senke Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Senke Electronic Technology Co ltd filed Critical Shanghai Senke Electronic Technology Co ltd
Priority to CN202310763896.8A priority Critical patent/CN116820265B/en
Publication of CN116820265A publication Critical patent/CN116820265A/en
Application granted granted Critical
Publication of CN116820265B publication Critical patent/CN116820265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of infrared touch control, and discloses a control method and a control system based on a double-sided combined touch screen, wherein the control method comprises the following steps: identifying the outer edge contact position of the outer edge contact, defining an inner edge contact prediction area according to the outer edge contact position, capturing the inner edge contact position according to the inner edge contact prediction area and the inner edge infrared touch matrix, calculating a touch command vector according to the outer edge contact position and the inner edge contact position, calculating an optimal touch panel regulation angle according to the touch command vector, regulating the angle of the touch panel according to the optimal touch panel regulation angle, judging whether a user regulation command is received or not, regulating the touch panel according to the user regulation command if the user regulation command is received, and regulating the touch panel according to the optimal touch panel regulation angle if the user regulation command is not received. The invention mainly aims to solve the problems of poor flexibility and low user satisfaction in the current infrared touch technology.

Description

Control method and system based on double-sided combined touch screen
Technical Field
The invention relates to a control method and a control system based on a double-sided combined touch screen, and belongs to the technical field of infrared touch control.
Background
With the development of man-machine interaction technology, touch screens are becoming common man-machine interaction devices. Compared with other man-machine interaction technologies, the infrared touch technology is widely applied to life and work of people due to the unique technical characteristics and application range.
The current infrared touch technology (Infrared touch control technology) mainly adopts a mode of simultaneously arranging infrared transmitting tubes and infrared receiving tubes on the left side, the right side, the upper side and the lower side of an infrared touch screen, so that an infrared detection network is formed on the surface of the screen, and when an object shields infrared rays on the infrared touch network, the existence of the touch object is indicated, for example: a finger or a stylus. And then the position of the contact is locked and tracked by using the blocked transverse and longitudinal infrared rays, so that the touch effect is realized. However, the current infrared touch screen only passively receives the touch instruction of the user and cannot actively regulate and control the angle of the current infrared touch screen according to the touch instruction, so that the current infrared touch technology has the problems of poor flexibility and low user satisfaction.
Disclosure of Invention
The invention provides a control method, a control system and a computer readable storage medium based on a double-sided combined touch screen, and mainly aims to solve the problems of poor flexibility and low user satisfaction in the current infrared touch technology.
In order to achieve the above object, the control method based on the double-sided combined touch screen provided by the invention comprises the following steps:
capturing an outer contact by utilizing a pre-constructed outer infrared touch matrix, and identifying the outer contact position of the outer contact;
defining an inner side contact prediction area in a pre-constructed inner side infrared touch matrix according to the outer side contact position, and capturing the inner side contact position of an inner side contact according to the inner side contact prediction area and the inner side infrared touch matrix;
calculating a touch instruction vector according to the outer edge contact position and the inner edge contact position, and calculating an optimal touch panel regulation angle according to the touch instruction vector;
adjusting the angle of the pre-constructed touch panel according to the optimal touch panel adjusting angle and judging whether a user adjusting instruction is received or not;
if a user regulation instruction is received, regulating and controlling the angle of the touch panel according to the user regulation instruction;
and if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle.
Optionally, capturing the outer contact by using the pre-built outer infrared touch matrix, and identifying the outer contact position of the outer contact includes:
Judging whether an outer infrared shielding signal exists in the outer infrared touch matrix or not;
if the outer infrared shielding signal does not exist in the outer infrared touch matrix, returning to the step of judging whether the outer infrared shielding signal exists in the outer infrared touch matrix;
if the outer infrared touch matrix has an outer infrared shielding signal, an outer transverse target infrared set and an outer longitudinal target infrared set are extracted from the outer infrared touch matrix according to the outer infrared shielding signal;
determining an outer infrared shielding area according to the outer transverse target infrared set and the outer longitudinal target infrared set;
and extracting an outer shielding central point of the outer infrared shielding area, and taking the outer shielding central point as the outer contact position.
Optionally, the determining the outer infrared shielding area according to the outer transverse target infrared set and the outer longitudinal target infrared set includes:
extracting a transverse target infrared edge line pair in the outer transverse target infrared ray set, and extracting a longitudinal target infrared edge line pair in the outer longitudinal target infrared ray set;
and identifying the interactive areas of the transverse target infrared edge line pair and the longitudinal target infrared edge line pair, and taking the interactive areas as the outer infrared shielding areas.
Optionally, the defining the inner edge contact prediction area in the pre-built inner edge infrared touch matrix according to the outer edge contact position includes:
making an associated vertical line of the inner infrared touch matrix according to the outer contact position;
identifying an association vertical point of the association vertical line and the inner-edge infrared touch matrix;
and defining an inner edge contact prediction area in the inner edge infrared touch matrix according to a preset inner edge prediction radius and the associated vertical point.
Optionally, the defining an inner edge contact prediction area in the inner edge infrared touch matrix according to a preset inner edge prediction radius and the associated vertical point includes:
taking the associated vertical point as an associated circle center, and taking the associated circle center and the inner edge prediction radius as an inner edge prediction circular area;
and taking the inner prediction circular area as the inner contact prediction area.
Optionally, capturing the inner side contact position of the inner side contact according to the inner side contact prediction area and the inner side infrared touch matrix includes:
extracting an inner edge prediction infrared ray set intersected with the inner edge contact prediction area from the inner edge infrared touch matrix;
shielding monitoring is carried out on the inner-side prediction infrared ray set, and whether an inner-side infrared shielding signal exists in the inner-side infrared touch matrix or not is judged;
If the inner infrared touch matrix does not have the inner infrared shielding signal, returning to the step of shielding and monitoring the inner predicted infrared set;
if the inner infrared touch matrix stores an inner infrared shielding signal, extracting an inner transverse target infrared set and an inner longitudinal target infrared set from the inner predicted infrared set according to the inner infrared shielding signal;
determining an inner infrared shielding area according to the inner transverse target infrared set and the inner longitudinal target infrared set;
and extracting an inner shielding central point of the inner infrared shielding area, and taking the inner shielding central point as the inner contact position.
Optionally, the calculating a touch command vector according to the outer edge contact position and the inner edge contact position includes:
constructing a touch instruction space coordinate system according to the outer infrared touch matrix and the inner infrared touch matrix;
respectively identifying the outer side space contact position and the inner side space contact position corresponding to the outer side contact position and the inner side contact position in the touch instruction space coordinate system;
and calculating the touch instruction vector according to the outer edge space contact position and the inner edge space contact position by utilizing a pre-constructed touch vector formula.
Optionally, the following is indicated according to the touch vector formula:
wherein,representing touch instruction vectors, l out Representing the outer spatial contact position, l in Representing the position of the inner side space contact point, x in Representing the coordinates of the inner side space contact position in the x-axis direction, x out Representing the coordinates of the outer spatial contact position in the x-axis direction, y in Representing the coordinates of the inner side space contact position in the y-axis direction, y out Representing the coordinate of the outer space contact position in the y-axis direction, z in Representing the coordinates of the inner edge space contact position in the z-axis direction, z out Representing the coordinates of the outer spatial contact position in the z-axis direction,/->Unit vector representing x-axis, +.>Unit vector representing y-axis, +.>Representing a unit vector of the z-axis.
Optionally, the calculating the optimal touch panel adjustment angle according to the touch instruction vector includes:
acquiring a current panel plane where the inner-edge infrared touch matrix is located;
acquiring a panel projection line segment of the touch instruction vector on the plane of the current panel;
determining a current panel angle according to the panel projection line segment and the touch instruction vector;
calculating the optimal touch panel regulation angle by utilizing the current panel angle and a preset optimal panel angle according to a preset angle regulation formula, wherein the angle regulation formula is as follows:
θ′=θ bestnow
Wherein, theta' represents the optimal control angle of the touch panel, and theta best Represents the optimal panel angle, theta now Representing the current panel angle.
In order to solve the above problems, the present invention further provides a control system based on a dual-sided combined touch screen, the system comprising:
the outer contact position identification module is used for capturing an outer contact by utilizing a pre-constructed outer infrared touch matrix and identifying the outer contact position of the outer contact;
the inner contact position capturing module is used for defining an inner contact prediction area in a pre-constructed inner infrared touch matrix according to the outer contact position and capturing the inner contact position of an inner contact according to the inner contact prediction area and the inner infrared touch matrix;
the optimal touch panel regulation and control angle calculation module is used for calculating a touch instruction vector according to the outer edge contact position and the inner edge contact position and calculating an optimal touch panel regulation and control angle according to the touch instruction vector;
the touch panel regulation and control module is used for regulating the angle of the pre-constructed touch panel according to the optimal touch panel regulation and control angle and judging whether a user regulation and control instruction is received or not, and if the user regulation and control instruction is received, regulating and controlling the angle of the touch panel according to the user regulation and control instruction; and if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle.
In order to solve the above-mentioned problems, the present invention also provides an electronic apparatus including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to implement the control method based on the double-sided combined touch screen.
In order to solve the above-mentioned problems, the present invention further provides a computer readable storage medium, where at least one instruction is stored, where the at least one instruction is executed by a processor in an electronic device to implement the control method based on the dual-sided combined touch screen.
Compared with the problems in the prior art, the embodiment of the invention determines the touch instruction vector through the inner infrared touch matrix of the outer infrared touch matrix, then realizes the purpose of regulating and controlling the touch panel according to the touch instruction vector, captures the outer contact by using the pre-built outer infrared touch matrix before obtaining the touch instruction vector, recognizes the outer contact position of the outer contact, obtains the touch information of the outer edge at the moment, realizes the calculation of the touch instruction vector by obtaining the inner contact position, and firstly defines the inner contact prediction area in the pre-built inner infrared touch matrix according to the outer contact position in order to improve the efficiency, then captures the inner contact position of the inner contact according to the inner contact prediction area and the inner infrared touch matrix, and when obtaining the touch instruction vector, calculates the optimal touch panel angle according to the touch instruction vector, thereby realizing the purpose of regulating and controlling the angle of the pre-built touch panel according to the optimal touch panel, and judging whether a user needs to receive a regulation and control instruction in a touch panel or not in a regulation process, so that the user needs to regulate and control instruction can be reached; if a user regulation instruction is received, regulating and controlling the angle of the touch panel according to the user regulation instruction; and if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle. Therefore, the control method, the control system, the electronic equipment and the computer readable storage medium based on the bilateral combined touch screen mainly aim to solve the problems of poor flexibility and low user satisfaction in the current infrared touch technology.
Drawings
Fig. 1 is a schematic flow chart of a control method based on a dual-sided combined touch screen according to an embodiment of the present invention;
FIG. 2 is a detailed flow chart of one of the steps shown in FIG. 1;
FIG. 3 is a detailed flow chart of another step of FIG. 1;
FIG. 4 is a functional block diagram of a control system based on a dual-sided combined touch screen according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device implementing the control method based on a dual-sided combined touch screen according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the application provides a control method based on a double-sided combined touch screen. The execution main body of the control method based on the double-sided combined touch screen comprises at least one of a server side, a terminal and the like which can be configured to execute the method provided by the embodiment of the application. In other words, the control method based on the double-sided combined touch screen can be executed by software or hardware installed in a terminal device or a server device. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Example 1:
referring to fig. 1, a flow chart of a control method based on a dual-sided combined touch screen according to an embodiment of the invention is shown. In this embodiment, the control method based on the dual-sided combined touch screen includes:
s1, capturing an outer contact by utilizing a pre-built outer infrared touch matrix, and identifying the outer contact position of the outer contact.
The outer infrared touch matrix is interpreted as an infrared detection network on the surface of the screen according to infrared transmitting and receiving sensing elements arranged on the outer frame of the touch screen far away from the touch screen by utilizing infrared touch technology (Infrared touch control technology). The infrared touch technology refers to the use of infrared transmitting and receiving sensing elements to form an infrared detection network on the surface of a screen, and when an object (such as a finger or a touch pen) in touch operation shields the infrared rays of the infrared detection network, the coordinate position of the touch is further identified, so that the response of the operation is realized. On an infrared touch screen, a circuit board device arranged on four sides of the screen is provided with infrared emission tubes and infrared receiving tubes, and an infrared matrix (infrared detection network) which is intersected transversely and vertically is correspondingly formed.
Further, the embodiment of the invention adopts a bilateral (layer) infrared detection network to realize the control of the touch screen, the outer infrared touch matrix is emitted by an infrared transmitting and receiving sensing element arranged in an outer touch screen outer frame which is far away from the touch screen, and the inner infrared touch matrix is emitted by an infrared transmitting and receiving sensing element arranged in an inner touch screen outer frame which is far away from the touch screen.
It can be appreciated that the assembly distance between the outer touch screen frame and the inner touch screen frame should be determined according to actual needs and production practice, for example: 2mm.
It should be appreciated that the outer contact point refers to a contact point captured by an outer infrared touch matrix, and the outer contact point position refers to a coordinate position of the outer contact point in the outer infrared touch matrix, where the coordinate position may be determined by establishing a planar coordinate system by the outer infrared touch matrix.
In the embodiment of the present invention, capturing an outer contact by using a pre-constructed outer infrared touch matrix, and identifying an outer contact position of the outer contact includes:
judging whether an outer infrared shielding signal exists in the outer infrared touch matrix or not;
if the outer infrared shielding signal does not exist in the outer infrared touch matrix, returning to the step of judging whether the outer infrared shielding signal exists in the outer infrared touch matrix;
If the outer infrared touch matrix has an outer infrared shielding signal, an outer transverse target infrared set and an outer longitudinal target infrared set are extracted from the outer infrared touch matrix according to the outer infrared shielding signal;
determining an outer infrared shielding area according to the outer transverse target infrared set and the outer longitudinal target infrared set;
and extracting an outer shielding central point of the outer infrared shielding area, and taking the outer shielding central point as the outer contact position.
The outer lateral target infrared ray set represents the blocked lateral infrared rays in the outer infrared touch matrix, and the outer longitudinal target infrared ray set refers to the blocked longitudinal infrared rays in the outer infrared touch matrix. The outer infrared shielding area refers to an interaction area of the outer transverse target infrared set and the outer longitudinal target infrared set. The outer shielding center point refers to an image center point of the outer infrared shielding area, for example: when the outer infrared shielding area is square, the outer shielding center point is the intersection point of the diagonal lines of the square.
Further, since the touch operation object (such as a finger or a stylus) has a certain thickness, more than two infrared rays (respectively, a transverse infrared ray and a longitudinal infrared ray) must exist with the outer infrared touch matrix, at this time, all the transverse and longitudinal infrared rays intersecting with the touch operation object need to be extracted from the outer infrared touch matrix, so as to obtain the outer transverse target infrared ray set and the outer longitudinal target infrared ray set.
In the embodiment of the present invention, the determining the outer infrared shielding area according to the outer transverse target infrared set and the outer longitudinal target infrared set includes:
extracting a transverse target infrared edge line pair in the outer transverse target infrared ray set, and extracting a longitudinal target infrared edge line pair in the outer longitudinal target infrared ray set;
and identifying the interactive areas of the transverse target infrared edge line pair and the longitudinal target infrared edge line pair, and taking the interactive areas as the outer infrared shielding areas.
The pair of lateral target infrared rays may be explained as the edge lines on both sides of the outer lateral target infrared ray set, and the pair of longitudinal target infrared rays may be explained as the edge lines on both sides of the outer longitudinal target infrared ray set. The interaction area refers to an area surrounded by the transverse target infrared edge pair and the longitudinal target infrared edge pair.
S2, defining an inner side contact prediction area in a pre-constructed inner side infrared touch matrix according to the outer side contact position, and capturing the inner side contact position of the inner side contact according to the inner side contact prediction area and the inner side infrared touch matrix.
The inner infrared touch matrix refers to an infrared detection network emitted by an infrared emitting and receiving sensing element in an outer frame of the inner touch screen. The inner contact prediction area refers to an area where a contact of an object in touch operation may exist in the inner infrared touch matrix. The inner contact position refers to the position of an inner infrared touch matrix of a contact of an object in touch operation.
It will be appreciated that the determination time of the inner contact position can be greatly saved by the definition of the inner contact prediction area. The time for determining the contact far lower than the outer contact is shortened, and the area for scanning and judging the position of the inner contact is reduced from the original touch screen area to the inner contact prediction area.
In detail, referring to fig. 2, the defining the inner-side contact prediction area in the pre-constructed inner-side infrared touch matrix according to the outer-side contact position includes:
s21, making an associated vertical line of the inner infrared touch matrix according to the outer contact position;
s22, identifying the association vertical line and the association vertical point of the inner-edge infrared touch matrix;
s23, defining an inner edge contact prediction area in the inner edge infrared touch matrix according to a preset inner edge prediction radius and the associated vertical point.
The associated vertical line can be interpreted to mean the vertical line of the plane where the inner infrared touch matrix is located, which is drawn through the outer contact position. The radius of the inner edge contact prediction area is preset by the inner edge prediction radius, and can be determined according to the distance between the outer frame of the touch screen and the touch screen, for example: 1cm. The inner contact prediction area refers to a circular area with a radius equal to the inner prediction radius.
In detail, referring to fig. 3, the defining an inner contact prediction area in the inner infrared touch matrix according to the preset inner prediction radius and the associated vertical point includes:
s24, taking the associated vertical point as an associated circle center, and taking the associated circle center and the inner edge prediction radius as an inner edge prediction circular area;
s25, taking the inner prediction circular area as the inner contact prediction area.
In the embodiment of the present invention, capturing the inner edge contact position of the inner edge contact according to the inner edge contact prediction area and the inner edge infrared touch matrix includes:
extracting an inner edge prediction infrared ray set intersected with the inner edge contact prediction area from the inner edge infrared touch matrix;
shielding monitoring is carried out on the inner-side prediction infrared ray set, and whether an inner-side infrared shielding signal exists in the inner-side infrared touch matrix or not is judged;
if the inner infrared touch matrix does not have the inner infrared shielding signal, returning to the step of shielding and monitoring the inner predicted infrared set;
if the inner infrared touch matrix stores an inner infrared shielding signal, extracting an inner transverse target infrared set and an inner longitudinal target infrared set from the inner predicted infrared set according to the inner infrared shielding signal;
Determining an inner infrared shielding area according to the inner transverse target infrared set and the inner longitudinal target infrared set;
and extracting an inner shielding central point of the inner infrared shielding area, and taking the inner shielding central point as the inner contact position.
Further, the inner edge prediction infrared ray set refers to infrared rays which are emitted by an infrared emission tube and an infrared receiving tube in the outer frame of the touch screen and intersect with the inner edge contact prediction area, and the infrared rays comprise transverse infrared rays and longitudinal infrared rays. The inner side transverse target infrared ray set refers to transverse infrared rays intersecting the inner side contact prediction area in the inner side infrared touch matrix. The inner-side longitudinal target infrared ray set refers to longitudinal infrared rays intersecting the inner-side contact prediction area in the inner-side infrared touch matrix.
And S3, calculating a touch instruction vector according to the outer edge contact position and the inner edge contact position, and calculating an optimal touch panel regulation angle according to the touch instruction vector.
The touch instruction vector is a vector formed by connecting the outer contact position and the inner contact position, and the direction of the touch instruction vector points to the outer contact position from the inner contact position. The optimal touch panel regulation angle refers to an optimal angle required to be regulated and controlled by the touch screen under the current angle.
In the embodiment of the present invention, the calculating the touch command vector according to the outer edge contact position and the inner edge contact position includes:
constructing a touch instruction space coordinate system according to the outer infrared touch matrix and the inner infrared touch matrix;
respectively identifying the outer side space contact position and the inner side space contact position corresponding to the outer side contact position and the inner side contact position in the touch instruction space coordinate system;
and calculating the touch instruction vector according to the outer edge space contact position and the inner edge space contact position by utilizing a pre-constructed touch vector formula.
In the embodiment of the present invention, the following is the following formula according to the touch vector formula:
wherein,representing touch instruction vectors, l out Representing the outer spatial contact position, l in Representing the position of the inner side space contact point, x in Representing the coordinates of the inner side space contact position in the x-axis direction, x out Representing the coordinates of the outer spatial contact position in the x-axis direction, y in Representing the coordinates of the inner side space contact position in the y-axis direction, y out Representing the coordinate of the outer space contact position in the y-axis direction, z in Representing the coordinates of the inner edge space contact position in the z-axis direction, z out Representing the coordinates of the outer spatial contact position in the z-axis direction,/- >Unit vector representing x-axis, +.>Unit vector representing y-axis, +.>Representing a unit vector of the z-axis.
In the embodiment of the present invention, the calculating the optimal touch panel adjustment angle according to the touch instruction vector includes:
acquiring a current panel plane where the inner-edge infrared touch matrix is located;
acquiring a panel projection line segment of the touch instruction vector on the plane of the current panel;
determining a current panel angle according to the panel projection line segment and the touch instruction vector;
calculating the optimal touch panel regulation angle by utilizing the current panel angle and a preset optimal panel angle according to a preset angle regulation formula, wherein the angle regulation formula is as follows:
θ′=θ bestnow
wherein, theta' represents the optimal control angle of the touch panel, and theta best Represents the optimal panel angle, theta now Representing the current panel angle.
The current panel plane refers to the plane where the current display screen or touch screen is located. The panel projection line segment refers to an included angle between the panel projection line segment and the touch instruction vector, and an acute angle is formed. The optimal panel angle refers to the most suitable angle that matches the current user writing angle.
It can be understood that, because the position of the plane where the user who sends the touch action and the touch screen are likely to have a poor writing angle (for example, when the user reports by using the touch panel, the user faces the audience and needs to write, and the user cannot move the position at will or can not block the sight of the audience), the aim of achieving the optimal writing angle is achieved by automatically adjusting the angle of the touch panel. The intersecting writing angle can be caused by the writing environment, and the aim of correcting bad use habits of users is fulfilled by actively adjusting the angle of the touch panel to the optimal panel angle. For example: children or persons using the infrared touch screen for a long time can cause writing fatigue if a poor writing angle is used for a long time and the children or persons do not find themselves.
And S4, adjusting the angle of the pre-constructed touch panel according to the optimal touch panel adjusting angle and judging whether a user adjusting instruction is received or not.
And if a user regulation instruction is received, executing S5, and regulating and controlling the angle of the touch panel according to the user regulation instruction.
And if the user regulation instruction is not received, executing S6, and regulating the touch panel according to the optimal touch panel regulation angle.
It can be explained that in the process of adjusting and controlling the angle of the touch panel, the user may have a writing requirement that has reached the user, and the user does not need to continuously adjust to the optimal writing angle at this time, so that the user can issue a pause instruction at any time, and if the user does not issue the pause instruction all the time, the control panel is adjusted and controlled all the time to the optimal panel angle.
Compared with the problems in the prior art, the embodiment of the invention determines the touch instruction vector through the inner infrared touch matrix of the outer infrared touch matrix, then realizes the purpose of regulating and controlling the touch panel according to the touch instruction vector, captures the outer contact by using the pre-built outer infrared touch matrix before obtaining the touch instruction vector, recognizes the outer contact position of the outer contact, obtains the touch information of the outer edge at the moment, realizes the calculation of the touch instruction vector by obtaining the inner contact position, and firstly defines the inner contact prediction area in the pre-built inner infrared touch matrix according to the outer contact position in order to improve the efficiency, then captures the inner contact position of the inner contact according to the inner contact prediction area and the inner infrared touch matrix, and when obtaining the touch instruction vector, calculates the optimal touch panel angle according to the touch instruction vector, thereby realizing the purpose of regulating and controlling the angle of the pre-built touch panel according to the optimal touch panel, and judging whether a user needs to receive a regulation and control instruction in a touch panel or not in a regulation process, so that the user needs to regulate and control instruction can be reached; if a user regulation instruction is received, regulating and controlling the angle of the touch panel according to the user regulation instruction; and if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle. Therefore, the control method, the control system, the electronic equipment and the computer readable storage medium based on the bilateral combined touch screen mainly aim to solve the problems of poor flexibility and low user satisfaction in the current infrared touch technology.
Example 2:
fig. 4 is a functional block diagram of a control system based on a dual-sided combined touch screen according to an embodiment of the present invention.
The control system 100 based on the double-sided combined touch screen can be installed in an electronic device. According to the functions implemented, the control system 100 based on the dual-sided combined touch screen may include an outer contact position recognition module 101, an inner contact position capturing module 102, an optimal touch panel regulation angle calculation module 103, and a touch panel regulation module 104. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
The outer contact position identifying module 101 is configured to capture an outer contact by using a pre-constructed outer infrared touch matrix, and identify an outer contact position of the outer contact;
the inner contact position capturing module 102 is configured to define an inner contact prediction area in a pre-constructed inner infrared touch matrix according to the outer contact position, and capture an inner contact position of an inner contact according to the inner contact prediction area and the inner infrared touch matrix;
The optimal touch panel regulation and control angle calculation module 103 is configured to calculate a touch command vector according to the outer edge contact position and the inner edge contact position, and calculate an optimal touch panel regulation and control angle according to the touch command vector;
the touch panel regulation and control module 104 is configured to regulate the angle of the pre-constructed touch panel according to the optimal touch panel regulation and control angle and determine whether a user regulation and control instruction is received, and if the user regulation and control instruction is received, regulate the angle of the touch panel according to the user regulation and control instruction; and if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle.
In detail, the modules in the control system 100 based on a dual-sided combined touch screen in the embodiment of the present invention use the same technical means as the control method based on a dual-sided combined touch screen described in fig. 1, and can produce the same technical effects, which are not described herein.
Example 3:
fig. 5 is a schematic structural diagram of an electronic device for implementing a control method based on a dual-sided combined touch screen according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11, a bus 12 and a communication interface 13, and may further comprise a computer program stored in the memory 11 and executable on the processor 10, such as a control program based on a double sided combined touch screen.
The memory 11 includes at least one type of readable storage medium, including flash memory, a mobile hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may in other embodiments also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard) or the like, provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only for storing application software installed in the electronic device 1 and various types of data, such as codes of control programs based on a double-sided combined touch screen, but also for temporarily storing data that has been output or is to be output.
The processor 10 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (CentralProcessingunit, CPU), microprocessors, digital processing chips, graphics processors, a combination of various control chips, and the like. The processor 10 is a control unit (control unit) of the electronic device, connects various components of the entire electronic device using various interfaces and lines, executes or executes programs or modules (e.g., control programs based on a double-sided combined touch screen, etc.) stored in the memory 11, and invokes data stored in the memory 11 to perform various functions of the electronic device 1 and process the data.
The bus may be an Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
Fig. 5 shows only an electronic device with components, it being understood by a person skilled in the art that the structure shown in fig. 5 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or may combine certain components, or may be arranged in different components.
For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for supplying power to the respective components, and preferably, the power source may be logically connected to the at least one processor 10 through a power management system, so as to perform functions of charge management, discharge management, and power consumption management through the power management system. The power supply may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like. The electronic device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
Further, the electronic device 1 may also comprise a network interface, optionally the network interface may comprise a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the electronic device 1 and other electronic devices.
The electronic device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (organic light-emitting diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The control program based on the double-sided combined touch screen stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, and when running in the processor 10, it can be implemented:
capturing an outer contact by utilizing a pre-constructed outer infrared touch matrix, and identifying the outer contact position of the outer contact;
defining an inner side contact prediction area in a pre-constructed inner side infrared touch matrix according to the outer side contact position, and capturing the inner side contact position of an inner side contact according to the inner side contact prediction area and the inner side infrared touch matrix;
Calculating a touch instruction vector according to the outer edge contact position and the inner edge contact position, and calculating an optimal touch panel regulation angle according to the touch instruction vector;
adjusting the angle of the pre-constructed touch panel according to the optimal touch panel adjusting angle and judging whether a user adjusting instruction is received or not;
if a user regulation instruction is received, regulating and controlling the angle of the touch panel according to the user regulation instruction;
and if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle.
Specifically, the specific implementation method of the above instruction by the processor 10 may refer to descriptions of related steps in the corresponding embodiments of fig. 1 to 4, which are not repeated herein.
Further, the modules/units integrated in the electronic device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. The computer readable storage medium may be volatile or nonvolatile. For example, the computer readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-only memory (ROM).
The present invention also provides a computer readable storage medium storing a computer program which, when executed by a processor of an electronic device, can implement:
capturing an outer contact by utilizing a pre-constructed outer infrared touch matrix, and identifying the outer contact position of the outer contact;
defining an inner side contact prediction area in a pre-constructed inner side infrared touch matrix according to the outer side contact position, and capturing the inner side contact position of an inner side contact according to the inner side contact prediction area and the inner side infrared touch matrix;
calculating a touch instruction vector according to the outer edge contact position and the inner edge contact position, and calculating an optimal touch panel regulation angle according to the touch instruction vector;
adjusting the angle of the pre-constructed touch panel according to the optimal touch panel adjusting angle and judging whether a user adjusting instruction is received or not;
if a user regulation instruction is received, regulating and controlling the angle of the touch panel according to the user regulation instruction;
and if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (4)

1. The control method based on the double-sided combined touch screen is characterized by comprising the following steps of:
capturing an outer contact by utilizing a pre-constructed outer infrared touch matrix, and identifying the outer contact position of the outer contact; the outer infrared touch matrix refers to an infrared detection network which is positioned on the surface of a screen according to an infrared transmitting and receiving sensing element arranged on an outer frame of the touch screen far away from the touch screen by utilizing an infrared touch technology;
Defining an inner contact prediction area in a pre-constructed inner infrared touch matrix according to the outer contact position, capturing the inner contact position of an inner contact according to the inner contact prediction area and the inner infrared touch matrix, wherein the inner infrared touch matrix refers to an infrared detection network emitted by an infrared transmitting and receiving sensing element in an outer frame of an inner touch screen;
calculating a touch instruction vector according to the outer edge contact position and the inner edge contact position, and calculating an optimal touch panel regulation angle according to the touch instruction vector;
adjusting the angle of the pre-constructed touch panel according to the optimal touch panel adjusting angle and judging whether a user adjusting instruction is received or not;
if a user regulation instruction is received, regulating and controlling the angle of the touch panel according to the user regulation instruction;
if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle;
the capturing the outer contact by using the pre-constructed outer infrared touch matrix, and identifying the outer contact position of the outer contact comprises the following steps:
judging whether an outer infrared shielding signal exists in the outer infrared touch matrix or not; if the outer infrared shielding signal does not exist in the outer infrared touch matrix, returning to the step of judging whether the outer infrared shielding signal exists in the outer infrared touch matrix;
If the outer infrared touch matrix has an outer infrared shielding signal, an outer transverse target infrared set and an outer longitudinal target infrared set are extracted from the outer infrared touch matrix according to the outer infrared shielding signal;
determining an outer infrared shielding area according to the outer transverse target infrared set and the outer longitudinal target infrared set;
extracting an outer shielding central point of the outer infrared shielding area, and taking the outer shielding central point as the outer contact position;
the defining the inner side contact prediction area in the pre-constructed inner side infrared touch matrix according to the outer side contact position comprises the following steps:
making an associated vertical line of the inner infrared touch matrix according to the outer contact position;
identifying an association vertical point of the association vertical line and the inner-edge infrared touch matrix;
defining an inner edge contact prediction area in the inner edge infrared touch matrix according to a preset inner edge prediction radius and the associated vertical point;
the defining an inner edge contact prediction area in the inner edge infrared touch matrix according to a preset inner edge prediction radius and the associated vertical point comprises the following steps:
taking the associated vertical point as an associated circle center, and taking the associated circle center and the inner edge prediction radius as an inner edge prediction circular area;
Taking the inner edge prediction circular area as the inner edge contact prediction area; the capturing the inner side contact position of the inner side contact according to the inner side contact prediction area and the inner side infrared touch matrix comprises the following steps:
extracting an inner edge prediction infrared ray set intersected with the inner edge contact prediction area from the inner edge infrared touch matrix;
shielding monitoring is carried out on the inner-side prediction infrared ray set, and whether an inner-side infrared shielding signal exists in the inner-side infrared touch matrix or not is judged;
if the inner infrared touch matrix does not have the inner infrared shielding signal, returning to the step of shielding and monitoring the inner predicted infrared set;
if the inner infrared touch matrix stores an inner infrared shielding signal, extracting an inner transverse target infrared set and an inner longitudinal target infrared set from the inner predicted infrared set according to the inner infrared shielding signal;
determining an inner infrared shielding area according to the inner transverse target infrared set and the inner longitudinal target infrared set;
extracting an inner shielding central point of the inner infrared shielding area, and taking the inner shielding central point as the inner contact position;
The calculating a touch instruction vector according to the outer edge contact position and the inner edge contact position includes:
constructing a touch instruction space coordinate system according to the outer infrared touch matrix and the inner infrared touch matrix;
respectively identifying the outer side space contact position and the inner side space contact position corresponding to the outer side contact position and the inner side contact position in the touch instruction space coordinate system; calculating the touch instruction vector according to the outer edge space contact position and the inner edge space contact position by utilizing a pre-constructed touch vector formula;
the following is the following according to the touch vector formula:
wherein,representing touch instruction vectors, l out Representing the outer spatial contact position, l in Representing the position of the inner side space contact point, x in Representing the coordinates of the inner side space contact position in the x-axis direction, x out Representing the coordinates of the outer spatial contact position in the x-axis direction, y in Representing the coordinates of the inner side space contact position in the y-axis direction, y out Representing the coordinate of the outer space contact position in the y-axis direction, z in Representing the coordinates of the inner edge space contact position in the z-axis direction, z out Representing the coordinates of the outer spatial contact position in the z-axis direction,/->Unit vector representing x-axis, +. >Unit vector representing y-axis, +.>Representing a unit vector of the z-axis.
2. The control method based on the double-sided combined touch screen as claimed in claim 1, wherein the determining the outer infrared shielding area according to the outer lateral target infrared set and the outer longitudinal target infrared set includes:
extracting a transverse target infrared edge line pair in the outer transverse target infrared ray set, and extracting a longitudinal target infrared edge line pair in the outer longitudinal target infrared ray set;
and identifying the interactive areas of the transverse target infrared edge line pair and the longitudinal target infrared edge line pair, and taking the interactive areas as the outer infrared shielding areas.
3. The control method based on the double-sided combined touch screen according to claim 2, wherein the calculating the optimal touch panel adjustment angle according to the touch command vector comprises: acquiring a current panel plane where the inner-edge infrared touch matrix is located;
acquiring a panel projection line segment of the touch instruction vector on the plane of the current panel;
determining a current panel angle according to the panel projection line segment and the touch instruction vector;
calculating the optimal touch panel regulation angle by utilizing the current panel angle and a preset optimal panel angle according to a preset angle regulation formula, wherein the angle regulation formula is as follows:
θ'=θ bestnow
Wherein, theta' represents the optimal control angle of the touch panel, and theta best Represents the optimal panel angle, theta now Representing the current panel angle.
4. A control system for a double sided combined touch screen based on the control method of any one of claims 1-3, the system comprising:
the outer contact position identification module is used for capturing an outer contact by utilizing a pre-constructed outer infrared touch matrix and identifying the outer contact position of the outer contact;
the inner contact position capturing module is used for defining an inner contact prediction area in a pre-constructed inner infrared touch matrix according to the outer contact position and capturing the inner contact position of an inner contact according to the inner contact prediction area and the inner infrared touch matrix;
the optimal touch panel regulation and control angle calculation module is used for calculating a touch instruction vector according to the outer edge contact position and the inner edge contact position and calculating an optimal touch panel regulation and control angle according to the touch instruction vector;
the touch panel regulation and control module is used for regulating the angle of the pre-constructed touch panel according to the optimal touch panel regulation and control angle and judging whether a user regulation and control instruction is received or not, and if the user regulation and control instruction is received, regulating and controlling the angle of the touch panel according to the user regulation and control instruction; and if the user regulation and control instruction is not received, regulating and controlling the touch panel according to the optimal touch panel regulation and control angle.
CN202310763896.8A 2023-06-26 2023-06-26 Control method and system based on double-sided combined touch screen Active CN116820265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310763896.8A CN116820265B (en) 2023-06-26 2023-06-26 Control method and system based on double-sided combined touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310763896.8A CN116820265B (en) 2023-06-26 2023-06-26 Control method and system based on double-sided combined touch screen

Publications (2)

Publication Number Publication Date
CN116820265A CN116820265A (en) 2023-09-29
CN116820265B true CN116820265B (en) 2024-01-30

Family

ID=88119840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310763896.8A Active CN116820265B (en) 2023-06-26 2023-06-26 Control method and system based on double-sided combined touch screen

Country Status (1)

Country Link
CN (1) CN116820265B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947301A (en) * 2019-03-19 2019-06-28 深圳市康冠商用科技有限公司 Touch localization method and relevant apparatus in a kind of infrared touch frame
CN111240567A (en) * 2020-01-08 2020-06-05 维沃移动通信有限公司 Display screen angle adjusting method and electronic equipment
WO2021161585A1 (en) * 2020-02-13 2021-08-19 Dmg森精機株式会社 Touchscreen device
WO2022127363A1 (en) * 2020-12-15 2022-06-23 京东方科技集团股份有限公司 Display device
CN116107450A (en) * 2022-12-02 2023-05-12 深圳市鸿合创新信息技术有限责任公司 Touch point identification method and device of infrared touch screen and infrared touch screen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8368658B2 (en) * 2008-12-02 2013-02-05 At&T Mobility Ii Llc Automatic soft key adaptation with left-right hand edge sensing
JP6081324B2 (en) * 2013-09-05 2017-02-15 シャープ株式会社 Operation input device, portable information terminal, control method for operation input device, program, and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947301A (en) * 2019-03-19 2019-06-28 深圳市康冠商用科技有限公司 Touch localization method and relevant apparatus in a kind of infrared touch frame
CN111240567A (en) * 2020-01-08 2020-06-05 维沃移动通信有限公司 Display screen angle adjusting method and electronic equipment
WO2021161585A1 (en) * 2020-02-13 2021-08-19 Dmg森精機株式会社 Touchscreen device
WO2022127363A1 (en) * 2020-12-15 2022-06-23 京东方科技集团股份有限公司 Display device
CN116107450A (en) * 2022-12-02 2023-05-12 深圳市鸿合创新信息技术有限责任公司 Touch point identification method and device of infrared touch screen and infrared touch screen

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Turn Any Display Into a Touch Screen Using Infrared Optical Technique";J Liang et al.;《IEEE Access》;第6卷;第13033-13040页 *
"基于STM32的红外触摸屏的研究与实现";蔡昌勇 等;《电脑知识与技术》;第18卷(第14期);第83-85页 *
"基于目标跟踪的红外触摸屏优化算法";周爱国;潘强标;;《计算机应用》;第35卷(第10期);第2995-2999页 *

Also Published As

Publication number Publication date
CN116820265A (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN109242903B (en) Three-dimensional data generation method, device, equipment and storage medium
CN113486797B (en) Unmanned vehicle position detection method, unmanned vehicle position detection device, unmanned vehicle position detection equipment, storage medium and vehicle
JP4727614B2 (en) Image processing apparatus, control program, computer-readable recording medium, electronic apparatus, and control method for image processing apparatus
WO2020042968A1 (en) Method for acquiring object information, device, and storage medium
JP5852120B2 (en) Contact positioning method and touch screen
CN111353458B (en) Text box labeling method, device and storage medium
CN108228057B (en) Touch inflection point correction method and device and touch screen
CN111936951A (en) Electronic device comprising a flexible display
US9019218B2 (en) Establishing an input region for sensor input
CN110969984A (en) Dynamic brightness adjusting method, system, equipment and storage medium of display equipment
CN110390295B (en) Image information identification method and device and storage medium
CN116820265B (en) Control method and system based on double-sided combined touch screen
US9778792B2 (en) Information handling system desktop surface display touch input compensation
CN112631445A (en) Touch display system, touch display method, stylus and medium
CN109241942B (en) Image processing method and device, face recognition equipment and storage medium
CN113326836A (en) License plate recognition method and device, server and storage medium
US20220351495A1 (en) Method for matching image feature point, electronic device and storage medium
CN113255456B (en) Inactive living body detection method, inactive living body detection device, electronic equipment and storage medium
CN112215935B (en) LOD model automatic switching method and device, electronic equipment and storage medium
CN113780291A (en) Image processing method and device, electronic equipment and storage medium
CN114283943A (en) Health prediction method and device, electronic equipment and storage medium
JP6373664B2 (en) Electronic device, method and program
CN113469923A (en) Image processing method and device, electronic equipment and storage medium
WO2023077665A1 (en) Palm position determination method and apparatus, and electronic device and storage medium
CN112140118B (en) Interaction method, device, robot and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant