CN113485583B - Dual-system split-screen touch data calibration method and system - Google Patents
Dual-system split-screen touch data calibration method and system Download PDFInfo
- Publication number
- CN113485583B CN113485583B CN202110850153.5A CN202110850153A CN113485583B CN 113485583 B CN113485583 B CN 113485583B CN 202110850153 A CN202110850153 A CN 202110850153A CN 113485583 B CN113485583 B CN 113485583B
- Authority
- CN
- China
- Prior art keywords
- touch
- calibration
- point
- data packet
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention discloses a dual-system split-screen touch data calibration method and a system, wherein the method comprises the following steps: receiving original data sent by an infrared touch frame, and performing touch driving processing on the original data to obtain a first touch data packet and a second touch data packet; the first touch data packet is sent to an android system of the electronic whiteboard, so that a touch function is realized on an android system display interface corresponding to the android system; performing touch calibration on the second touch data packet by using a touch data calibration method, and feeding back the second touch data packet to the infrared touch frame; and the infrared touch frame transmits the second touch data packet after touch calibration to the information source system of the electronic whiteboard, so that the information source system display interface corresponding to the information source system realizes a touch function. According to the invention, the second touch data packet is subjected to touch calibration, so that the phenomenon of touch offset when the display interface of the information source system is displayed is solved, and the display interfaces of the android system and the information source system can realize normal touch function when the split screens of the two systems are displayed.
Description
Technical Field
The invention relates to the technical field of electronic whiteboard split-screen touch, in particular to a dual-system split-screen touch data calibration method and system.
Background
In an electronic whiteboard product based on an android system, due to the requirements of double-system split screen and drop-down split screen, the android system and an information source system need to be displayed in the electronic whiteboard at the same time, but touch offset easily occurs in the double-system split screen display process.
Disclosure of Invention
The embodiment of the invention provides a dual-system split-screen touch data calibration method and system, which aim to solve the problem of touch offset during dual-system display in the prior art.
In a first aspect, an embodiment of the present invention provides a dual-system split-screen touch data calibration method, including:
the Android main board system receives original data sent by an infrared touch frame, and performs touch driving processing on the original data to obtain a first touch data packet and a second touch data packet;
the Android main board system sends the first touch data packet to an Android system of an electronic whiteboard, so that a touch function is realized on an Android system display interface corresponding to the Android system;
the Android main board system performs touch calibration on the second touch data packet by using a touch data calibration method, and feeds back the second touch data packet after touch calibration to the infrared touch frame;
after the infrared touch frame receives the second touch data packet after touch calibration, the second touch data packet after touch calibration is sent to the information source system of the electronic whiteboard, so that the information source system display interface corresponding to the information source system realizes a touch function.
In a second aspect, an embodiment of the present invention provides a dual-system split-screen touch data calibration system, including: an infrared touch frame, an Android main board system and an electronic whiteboard;
the infrared touch frame is used for sending original data to the Android main board system;
the Android main board system is used for receiving original data sent by the infrared touch frame, and performing touch driving processing on the original data to obtain a first touch data packet and a second touch data packet;
the Android main board system is further used for sending the first touch data packet to an Android system of the electronic whiteboard, so that a touch function is realized on an Android system display interface corresponding to the Android system;
the electronic whiteboard is used for receiving the first touch data packet and enabling an android system display interface corresponding to the android system to realize a touch function;
the Android main board system is further used for carrying out touch calibration on the second touch data packet by utilizing a touch data calibration method, and feeding back the second touch data packet after touch calibration to the infrared touch frame;
the infrared touch frame is further used for sending the second touch data packet after touch calibration to the information source system of the electronic whiteboard after receiving the second touch data packet after touch calibration, so that the information source system display interface corresponding to the information source system realizes a touch function;
the electronic whiteboard is also used for receiving the second touch data packet after touch calibration and enabling the information source system display interface corresponding to the information source system to realize a touch function.
The embodiment of the invention provides a dual-system split-screen touch data calibration method and a system, wherein the method comprises the following steps: the Android main board system receives original data sent by an infrared touch frame, and performs touch driving processing on the original data to obtain a first touch data packet and a second touch data packet; the Android main board system sends the first touch data packet to an Android system of an electronic whiteboard, so that a touch function is realized on an Android system display interface corresponding to the Android system; the Android main board system performs touch calibration on the second touch data packet by using a touch data calibration method, and feeds back the second touch data packet after touch calibration to the infrared touch frame; after the infrared touch frame receives the second touch data packet after touch calibration, the second touch data packet after touch calibration is sent to the information source system of the electronic whiteboard, so that the information source system display interface corresponding to the information source system realizes a touch function. According to the embodiment of the invention, the second touch data packet is subjected to touch calibration, so that the phenomenon of touch offset when the display interface of the information source system is displayed is solved, and the display interfaces of the android system and the information source system can realize the normal touch function when the split screen display of the two systems is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a dual-system split-screen touch data calibration method according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a dual-system split-screen touch data calibration system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 is a flowchart of a dual-system split-screen touch data calibration method according to an embodiment of the invention, and the method includes steps S101 to S104.
S101, an Android main board system receives original data sent by an infrared touch frame, and performs touch driving processing on the original data to obtain a first touch data packet and a second touch data packet;
s102, the Android main board system sends the first touch data packet to an Android system of an electronic whiteboard, so that a touch function is realized on an Android system display interface corresponding to the Android system;
s103, the Android main board system performs touch calibration on the second touch data packet by using a touch data calibration method, and the second touch data packet after touch calibration is fed back to the infrared touch frame;
and S104, after the infrared touch frame receives the second touch data packet after touch calibration, the second touch data packet after touch calibration is sent to the information source system of the electronic whiteboard, so that the information source system display interface corresponding to the information source system realizes a touch function.
In this embodiment, the infrared touch frame sends the original data to the Android motherboard system, the Android motherboard system performs touch driving processing on the original data to obtain a first outgoing data packet and a second touch data packet, and the first touch data packet is directly sent to an Android system of the electronic whiteboard, so that the Android system realizes a touch function on a corresponding Android system display interface in the electronic whiteboard display interface, and the second touch data packet is fed back to the infrared touch frame after touch calibration and is sent to a source system of the electronic whiteboard through the infrared touch frame, so that the source system realizes a touch function on a corresponding source system display interface in the electronic whiteboard display interface. The touch driving processing process comprises the following steps: and acquiring original data, judging whether the data length in the original data is effective data length, if so, sending the original data to a driving algorithm library through a touch data thread to perform smoothness processing, accuracy processing and multi-point touch data processing, and then calling a driving callback function to obtain the identical first touch data packet and the second touch data packet. The first touch data packet and the second touch data packet both support 40-point touch data maximally, the touch data of one touch point comprises a touch ID, a touch pressing state, an abscissa of the touch point, an ordinate of the touch point, a touch area width, a touch area height and the like, wherein the touch ID occupies one byte, the touch pressing state occupies one byte, the abscissa of the touch point occupies two bytes, the ordinate of the touch point occupies two bytes, the touch area width occupies two bytes, the touch area height occupies two bytes, and the touch data of the whole touch point is 10 bytes in total.
And the Android main board system performs touch calibration processing on the second touch data packet and feeds back the calibrated second touch data packet to the infrared touch frame. When the android system and the information source system are displayed on the electronic whiteboard in a time division screen mode, touch offset can occur when the second touch data packet is sent to the information source system for use. In order to solve the problem of touch offset, the second touch data packet needs to be calibrated through a touch data calibration algorithm to obtain a calibrated normal second touch data packet, so that the information source system touches normally.
When the electronic whiteboard only needs to display the android system, the infrared touch frame does not send the second touch data packet to the information source system, and only when the electronic whiteboard performs dual-system display, the infrared touch frame sends the second touch data packet to the information source system. Under the double-system display of the android system and the information source system, the split screen modes are as follows: the left and right sides of the android system display interface and the information source system display interface are split, wherein the split conditions of the left and right sides can be as follows: the android system display interface comprises one third of a split screen and two thirds of the information source system display interface, wherein the android system display interface and the information source system display interface are split into one half of a split screen, and the android system display interface is split into two thirds of a split screen, the information source system display interface is split into one third of a split screen and the like in different split screen proportions. The android system display interface and the information source system display interface can be divided up and down, and the dividing proportion is set according to requirements, and the distribution direction of the android system display interface and the information source system display interface is not limited specifically in this embodiment.
In an embodiment, the performing touch calibration on the second touch data packet by using a touch data calibration method includes:
acquiring touch points corresponding to each piece of touch coordinate data in the second touch data packet, and performing touch calibration calculation on each touch point to obtain touch calibration coordinate data after each touch point is subjected to touch calibration;
and performing binary byte conversion on the touch calibration coordinate data, and replacing the touch calibration coordinate data after conversion with the touch calibration coordinate data to generate a second touch data packet after touch calibration.
In this embodiment, touch points corresponding to each piece of touch coordinate data are calculated first, then touch calibration is performed on each piece of touch points, touch calibration coordinate data after touch calibration is performed on each piece of touch points are calculated, after the touch calibration coordinate data are obtained through calculation, binary byte conversion is performed on the touch coordinate data, and both the horizontal coordinate and the vertical coordinate after touch calibration are converted into two-byte data, and the two-byte data are stored in a corresponding data packet array, so that a second touch data packet after touch calibration is obtained.
The binary byte conversion is specifically: converting the touch calibrated abscissa into two bytes of data, wherein the low byte is the low 8-bit binary data of the touch calibrated abscissa, and the high byte is the high 8-bit binary data of the touch calibrated abscissa; and converting the touch calibrated ordinate into two bytes of data, wherein the low byte is the low 8-bit binary data of the touch calibrated ordinate, and the high byte is the high 8-bit binary data of the touch calibrated ordinate.
In an embodiment, obtaining touch points corresponding to each piece of touch coordinate data in the second touch data packet, performing touch calibration calculation on each touch point, and obtaining touch calibration coordinate data after touch calibration on each touch point includes:
and calculating the abscissa of the touch point after touch calibration by using the following formula:
X 2 =((X×H)-(X 1 ×H 1 ))÷L
and calculating the ordinate of the touch point after touch calibration by using the following formula:
Y 2 =((Y×V)-(Y 1 ×V 1 ))÷W
wherein X is 2 For the abscissa after touch calibration of the touch point, Y 2 The vertical coordinate after touch calibration of the touch point is H, the horizontal pixel resolution of the information source system is H, the vertical pixel resolution of the information source system is V and X 1 Is the abscissa of the touch point, Y 1 For the ordinate of the touch point, X is the byte combination value of the abscissa of the touch point, Y is the byte combination value of the ordinate of the touch point, L is the length of the information source system in the electronic whiteboard, W is the width of the information source system in the electronic whiteboard, and H 1 For the horizontal touch resolution of the electronic whiteboard, V 1 Is the vertical touch resolution of the electronic whiteboard.
In this embodiment, the abscissa and the ordinate after touch calibration of the touch point are calculated by the above formula. Wherein H is the horizontal pixel resolution of the information source system, V is the vertical pixel resolution of the information source system, and X 1 Is the abscissa of the touch point, Y 1 For the ordinate of the touch point, X is the byte combination value of the abscissa of the touch point (i.e. the combination value of the two bytes of the abscissa of the touch point), Y is the byte combination value of the ordinate of the touch point (i.e. the combination value of the two bytes of the ordinate of the touch point), L is the length of the electronic whiteboard occupied by the information source system, W is the width of the electronic whiteboard occupied by the information source system, H 1 For the horizontal touch resolution of the electronic whiteboard, V 1 Is the vertical touch resolution of the electronic whiteboard. The data formula of the abscissa of the touch point is: (X) 2 ×L)+(X 1 ×H 1 ) X×h, ordinate data formula of touch point: (Y) 2 ×W)+(Y 1 ×V 1 ) =y×v. The data formula of the abscissa after touch calibration of the touch point is calculated according to the data formula of the abscissa of the touch point, and is as follows: x is X 2 =((X×H)-(X 1 ×H 1 ) -L), the data formula of the ordinate after touch calibration of the touch point is: y is Y 2 =((Y×V)-(Y 1 ×V 1 ) and/W). It is noted that the origin of coordinates, length, and height of the source system may vary with different split screen states. The touch coordinate data of each touch point is recombined after the touch calibration coordinate data is calculated according to the formula in sequenceAnd the second touch data packet after touch calibration is sent to the infrared touch frame through the first USB interface, and the infrared touch frame is sent to the information source system through the second USB interface for use, so that the information source system and the android system are simultaneously displayed on the electronic whiteboard in a time division manner, and at the moment, the display interface of the android system and the display interface of the information source system are normal in touch and cannot generate touch offset.
In an embodiment, after the touch calibration is performed on the second touch data packet by using the touch data calibration method, the method includes:
establishing an information source touch coordinate axis, acquiring an abscissa and an ordinate after touch calibration of a current touch point, and judging whether the value of the abscissa or the ordinate after touch calibration of the current touch point is a negative value or not;
and if the value of the abscissa or the ordinate of the current touch point after touch calibration is a negative value, judging that the current touch point exceeds the range of the information source system display interface, and discarding touch calibration coordinate data of the current touch point.
In this embodiment, after performing touch calibration, it is determined whether the value of the abscissa or the ordinate after touch calibration of the current touch point is a negative value, and if one or both of the abscissa and the ordinate after touch calibration of the current touch point are negative values, it is determined that the current touch point exceeds the source system display interface, and the touch calibration coordinate data of the current touch point is discarded.
Because the whole electronic whiteboard is divided when the android system and the information source system are displayed in a split screen mode, if the touch line drawing of the information source system exceeds the area of the information source system display interface, the condition of touch stay wires can occur on the information source system display interface, and therefore touch critical points on the information source system display interface need to be processed. And establishing an information source touch coordinate axis by taking the upper left corner of the information source system display interface as an origin, taking the right direction of the information source system display interface as a positive direction, taking the Y axis as a negative direction, and calculating the abscissa and the ordinate of each touch point after touch calibration, wherein if the abscissa or the ordinate of the current touch point after touch calibration is negative, a touch stay wire is caused, so that the current touch point is judged to exceed the range of the information source system display interface, and the touch calibration coordinates of the current touch point are discarded.
In an embodiment, if the value of the abscissa or the ordinate after touch calibration of the current touch point is a negative value, determining that the current touch point is beyond the range of the source system display interface, and discarding the touch calibration coordinate data of the current touch point includes:
calculating an abscissa and an ordinate of the current touch point after touch calibration of the last touch point and an abscissa and an ordinate of the current touch point after touch calibration of the next touch point;
and taking the average value of the abscissa after the touch calibration of the last touch point and the abscissa after the touch calibration of the next touch point as the abscissa after the touch calibration of the current touch point, and taking the average value of the ordinate after the touch calibration of the last touch point and the ordinate after the touch calibration of the next touch point as the ordinate after the touch calibration of the current touch point.
In this embodiment, after it is determined that the current touch point exceeds the range of the display interface of the information source system, the touch calibration coordinate data of the current touch point is discarded, and then the abscissa and the ordinate of the current touch point after touch calibration of the previous touch point and the next touch point are respectively calculated, and the average value of the abscissa of the previous touch point after touch calibration and the abscissa of the next touch point after touch calibration is used as the abscissa of the current touch point after touch calibration, and the average value of the ordinate of the previous touch point after touch calibration and the ordinate of the next touch point after touch calibration is used as the ordinate of the current touch point after touch calibration. In this way, the touch calibration coordinate data of the discarded touch points is compensated to ensure that the data of each touch point in the second touch data packet can be completely transmitted into the information source system.
Referring to fig. 2, fig. 2 is a schematic block diagram of a dual-system split-screen touch data calibration system according to an embodiment of the present invention, where the dual-system split-screen touch data calibration system includes: an infrared touch frame 201, an Android main board system 202 and an electronic whiteboard 203;
the infrared touch frame 201 is configured to send raw data to the Android motherboard system 202;
the Android motherboard system 202 is configured to receive original data sent by the infrared touch frame 201, and perform touch driving processing on the original data to obtain a first touch data packet and a second touch data packet;
the Android motherboard system 202 is further configured to send the first touch data packet to an Android system of the electronic whiteboard 203, so that a touch function is implemented on an Android system display interface corresponding to the Android system;
the electronic whiteboard 203 is configured to receive the first touch data packet and enable an android system display interface corresponding to the android system to implement a touch function;
the Android motherboard system 202 is further configured to feed back the second touch data packet to the infrared touch frame 201;
the infrared touch frame 201 is further configured to send a second touch data packet to the information source system of the electronic whiteboard 203 after receiving the second touch data packet, so that the information source system display interface corresponding to the information source system realizes a touch function;
the electronic whiteboard 203 is further configured to receive the second touch data packet and enable a display interface of the information source system corresponding to the information source system to implement a touch function.
In an embodiment, in the dual-system split-screen touch data calibration system, the Android motherboard system is further configured to obtain touch points corresponding to each piece of touch coordinate data in the second touch data packet, perform touch calibration calculation on each touch point, and obtain touch calibration coordinate data after touch calibration on each touch point;
the Android motherboard system is further configured to perform binary byte conversion on the touch calibration coordinate data, replace the touch coordinate data with the converted touch calibration coordinate data, and generate a second touch data packet after touch calibration.
In an embodiment, in the dual-system split-screen touch data calibration system, the Android motherboard system is further configured to calculate an abscissa of the touch point after touch calibration by using the following formula:
X 2 =((X×H)-(X 1 ×H 1 ))÷L
the Android motherboard system is further used for calculating the ordinate of the touch point after touch calibration by using the following formula:
Y 2 =((Y×V)-(Y 1 ×V 1 ))÷W
wherein X is 2 For the abscissa after touch calibration of the touch point, Y 2 The vertical coordinate after touch calibration of the touch point is H, the horizontal pixel resolution of the information source system is H, the vertical pixel resolution of the information source system is V and X 1 Is the abscissa of the touch point, Y 1 For the ordinate of the touch point, X is the byte combination value of the abscissa of the touch point, Y is the byte combination value of the ordinate of the touch point, L is the length of the information source system in the electronic whiteboard, W is the width of the information source system in the electronic whiteboard, and H 1 For the horizontal touch resolution of the electronic whiteboard, V 1 Is the vertical touch resolution of the electronic whiteboard.
In an embodiment, the Android motherboard system is further configured to establish a source touch coordinate axis, obtain an abscissa and an ordinate after touch calibration of a current touch point, and determine whether a value of the abscissa or the ordinate after touch calibration of the current touch point is a negative value;
and the Android main board system is further used for judging that the current touch point exceeds the range of the information source system display interface if the value of the abscissa or the ordinate after the touch calibration of the current touch point is a negative value, and discarding the touch calibration coordinate data of the current touch point.
In one embodiment, the electronic whiteboard 203 comprises a touch-screen interface;
the touch split screen interface is used for adjusting the split screen proportion of the electronic whiteboard 203.
In this embodiment, the touch split screen interface may be invoked by an android system, and the android system transfers different marks by invoking the touch split screen interface, so as to adjust the split screen ratio of the electronic whiteboard 203. For example: one third of the split screen of the information source system display interface, one half of the split screen of the information source system display interface, two thirds of the split screen of the information source system display interface, and the like.
The technical details of the above system embodiments correspond to those of the foregoing method embodiments, and thus are not described herein.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Claims (8)
1. The dual-system split-screen touch data calibration method is characterized by comprising the following steps of:
the Android main board system receives original data sent by an infrared touch frame, and performs touch driving processing on the original data to obtain a first touch data packet and a second touch data packet;
the Android main board system sends the first touch data packet to an Android system of an electronic whiteboard, so that a touch function is realized on an Android system display interface corresponding to the Android system;
the Android main board system performs touch calibration on the second touch data packet by using a touch data calibration method, and feeds back the second touch data packet after touch calibration to the infrared touch frame;
after the infrared touch frame receives the second touch data packet after touch calibration, the second touch data packet after touch calibration is sent to the information source system of the electronic whiteboard, so that the information source system display interface corresponding to the information source system realizes a touch function;
the touch calibration of the second touch data packet by using the touch data calibration method includes:
acquiring touch points corresponding to each piece of touch coordinate data in the second touch data packet, and performing touch calibration calculation on each touch point to obtain touch calibration coordinate data after each touch point is subjected to touch calibration;
and performing binary byte conversion on the touch calibration coordinate data, and replacing the touch calibration coordinate data after conversion with the touch calibration coordinate data to generate a second touch data packet after touch calibration.
2. The dual-system split-screen touch data calibration method according to claim 1, wherein the obtaining the touch point corresponding to each touch coordinate data in the second touch data packet, performing touch calibration calculation on each touch point, and obtaining touch calibration coordinate data after touch calibration on each touch point, includes:
and calculating the abscissa of the touch point after touch calibration by using the following formula:
X 2 =((X×H)-(X 1 ×H 1 ))÷L
and calculating the ordinate of the touch point after touch calibration by using the following formula:
Y 2 =((Y×V)-(Y 1 ×V 1 ))÷W
wherein X is 2 For the abscissa after touch calibration of the touch point, Y 2 The vertical coordinate after touch calibration of the touch point is H, the horizontal pixel resolution of the information source system is H, the vertical pixel resolution of the information source system is V and X 1 Is the abscissa of the touch point, Y 1 For the ordinate of the touch point, X is the byte combination value of the abscissa of the touch point, Y is the byte combination value of the ordinate of the touch point, L is the length of the information source system in the electronic whiteboard, W is the width of the information source system in the electronic whiteboard, and H 1 For the horizontal touch resolution of the electronic whiteboard, V 1 Is the vertical touch resolution of the electronic whiteboard.
3. The method for calibrating touch data of a dual system split screen according to claim 1, wherein after the second touch data packet is touch-calibrated by using the touch data calibration method, the method comprises:
establishing an information source touch coordinate axis, acquiring an abscissa and an ordinate after touch calibration of a current touch point, and judging whether the value of the abscissa or the ordinate after touch calibration of the current touch point is a negative value or not;
and if the value of the abscissa or the ordinate of the current touch point after touch calibration is a negative value, judging that the current touch point exceeds the range of the information source system display interface, and discarding touch calibration coordinate data of the current touch point.
4. The method for calibrating dual-system split-screen touch data according to claim 3, wherein if the value of the abscissa or the ordinate after touch calibration of the current touch point is negative, determining that the current touch point is beyond the range of the source system display interface, and discarding the touch calibration coordinate data of the current touch point comprises:
calculating an abscissa and an ordinate of the current touch point after touch calibration of the last touch point and an abscissa and an ordinate of the current touch point after touch calibration of the next touch point;
and taking the average value of the abscissa after the touch calibration of the last touch point and the abscissa after the touch calibration of the next touch point as the abscissa after the touch calibration of the current touch point, and taking the average value of the ordinate after the touch calibration of the last touch point and the ordinate after the touch calibration of the next touch point as the ordinate after the touch calibration of the current touch point.
5. A dual system split screen touch data calibration system, comprising: an infrared touch frame, an Android main board system and an electronic whiteboard;
the infrared touch frame is used for sending original data to the Android main board system;
the Android main board system is used for receiving original data sent by the infrared touch frame, and performing touch driving processing on the original data to obtain a first touch data packet and a second touch data packet;
the Android main board system is further used for sending the first touch data packet to an Android system of the electronic whiteboard, so that a touch function is realized on an Android system display interface corresponding to the Android system;
the electronic whiteboard is used for receiving the first touch data packet and enabling an android system display interface corresponding to the android system to realize a touch function;
the Android main board system is further used for carrying out touch calibration on the second touch data packet by utilizing a touch data calibration method, and feeding back the second touch data packet after touch calibration to the infrared touch frame;
the infrared touch frame is further used for sending the second touch data packet after touch calibration to the information source system of the electronic whiteboard after receiving the second touch data packet after touch calibration, so that the information source system display interface corresponding to the information source system realizes a touch function;
the electronic whiteboard is also used for receiving the second touch data packet after touch calibration and enabling the information source system display interface corresponding to the information source system to realize a touch function;
the touch calibration of the second touch data packet by using the touch data calibration method includes:
the Android motherboard system is further used for acquiring touch points corresponding to each piece of touch coordinate data in the second touch data packet, performing touch calibration calculation on each touch point, and obtaining touch calibration coordinate data after each touch point is subjected to touch calibration;
the Android motherboard system is further configured to perform binary byte conversion on the touch calibration coordinate data, replace the touch coordinate data with the converted touch calibration coordinate data, and generate a second touch data packet after touch calibration.
6. The dual-system split-screen touch data calibration system according to claim 5, wherein the Android motherboard system is further configured to obtain touch points corresponding to each touch coordinate data in the second touch data packet, perform touch calibration calculation on each touch point, and obtain touch calibration coordinate data after touch calibration of each touch point, and the method comprises:
the Android motherboard system is further used for calculating the abscissa of the touch point after touch calibration by using the following formula:
X 2 =((X×H)-(X 1 ×H 1 ))÷L
the Android motherboard system is further used for calculating the ordinate of the touch point after touch calibration by using the following formula:
Y 2 =((Y×V)-(Y 1 ×V 1 ))÷W
wherein X is 2 For the abscissa after touch calibration of the touch point, Y 2 The vertical coordinate after touch calibration of the touch point is H, the horizontal pixel resolution of the information source system is H, the vertical pixel resolution of the information source system is V and X 1 Is the abscissa of the touch point, Y 1 For the ordinate of the touch point, X is the byte combination value of the abscissa of the touch point, Y is the byte combination value of the ordinate of the touch point, L is the length of the information source system in the electronic whiteboard, W is the width of the information source system in the electronic whiteboard, and H 1 For the horizontal touch resolution of the electronic whiteboard, V 1 Is the vertical touch resolution of the electronic whiteboard.
7. The dual-system split-screen touch data calibration system according to claim 5, wherein the Android motherboard system is further configured to establish a source touch coordinate axis, obtain an abscissa and an ordinate after touch calibration of a current touch point, and determine whether a value of the abscissa or the ordinate after touch calibration of the current touch point is a negative value;
and the Android main board system is further used for judging that the current touch point exceeds the range of the information source system display interface if the value of the abscissa or the ordinate after the touch calibration of the current touch point is a negative value, and discarding the touch calibration coordinate data of the current touch point.
8. The dual system split-screen touch data calibration system of claim 5, wherein the electronic whiteboard comprises a touch split-screen interface;
the touch split screen interface is used for adjusting the split screen proportion of the electronic whiteboard.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110850153.5A CN113485583B (en) | 2021-07-27 | 2021-07-27 | Dual-system split-screen touch data calibration method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110850153.5A CN113485583B (en) | 2021-07-27 | 2021-07-27 | Dual-system split-screen touch data calibration method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113485583A CN113485583A (en) | 2021-10-08 |
| CN113485583B true CN113485583B (en) | 2024-03-19 |
Family
ID=77944022
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110850153.5A Active CN113485583B (en) | 2021-07-27 | 2021-07-27 | Dual-system split-screen touch data calibration method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113485583B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103383611A (en) * | 2012-05-02 | 2013-11-06 | 北京通世舟数字科技有限责任公司 | Multi-point touch interaction splicing method |
| CN106339135A (en) * | 2016-08-30 | 2017-01-18 | 科盟(福州)电子科技有限公司 | Infrared electronic whiteboard A/B screen splitting method capable of supporting independent operation by multiple persons |
| CN108932087A (en) * | 2018-06-22 | 2018-12-04 | 中广热点云科技有限公司 | Desktop split screen system and its implementation for mobile device |
| CN110308824A (en) * | 2019-07-04 | 2019-10-08 | 深圳市康冠商用科技有限公司 | A kind of processing method, system and the associated component of infrared touch data |
| CN111104004A (en) * | 2019-11-19 | 2020-05-05 | 中国船舶重工集团公司第七0九研究所 | Method and system for matching multi-touch screen with display equipment |
| CN112346593A (en) * | 2020-10-15 | 2021-02-09 | 北京小米移动软件有限公司 | Touch screen calibration method and touch screen calibration device |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8054296B2 (en) * | 2007-01-03 | 2011-11-08 | Apple Inc. | Storing baseline information in EEPROM |
| US20130346912A1 (en) * | 2012-06-20 | 2013-12-26 | Alexander Buening | Method And System To Launch And Manage An Application On A Computer System Having A Touch Panel Input Device |
| TWI489399B (en) * | 2012-12-14 | 2015-06-21 | Egalax Empia Technology Inc | Storage media and electronic apparatus for touch screen calibration and method thereof |
| CN103324435B (en) * | 2013-05-24 | 2017-02-08 | 华为技术有限公司 | Multi-screen display method and device and electronic device thereof |
| TWI496048B (en) * | 2013-07-03 | 2015-08-11 | Wistron Corp | Out-cell optical touch device and related calibrating method |
| TWI511104B (en) * | 2014-10-07 | 2015-12-01 | Wistron Corp | Methods for operating interactive whiteboards and apparatuses using the same |
| US11416205B2 (en) * | 2019-04-16 | 2022-08-16 | Apple Inc. | Systems and methods for initiating and interacting with a companion-display mode for an electronic device with a touch-sensitive display |
-
2021
- 2021-07-27 CN CN202110850153.5A patent/CN113485583B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103383611A (en) * | 2012-05-02 | 2013-11-06 | 北京通世舟数字科技有限责任公司 | Multi-point touch interaction splicing method |
| CN106339135A (en) * | 2016-08-30 | 2017-01-18 | 科盟(福州)电子科技有限公司 | Infrared electronic whiteboard A/B screen splitting method capable of supporting independent operation by multiple persons |
| CN108932087A (en) * | 2018-06-22 | 2018-12-04 | 中广热点云科技有限公司 | Desktop split screen system and its implementation for mobile device |
| CN110308824A (en) * | 2019-07-04 | 2019-10-08 | 深圳市康冠商用科技有限公司 | A kind of processing method, system and the associated component of infrared touch data |
| CN111104004A (en) * | 2019-11-19 | 2020-05-05 | 中国船舶重工集团公司第七0九研究所 | Method and system for matching multi-touch screen with display equipment |
| CN112346593A (en) * | 2020-10-15 | 2021-02-09 | 北京小米移动软件有限公司 | Touch screen calibration method and touch screen calibration device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113485583A (en) | 2021-10-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103248946B (en) | The method and system that a kind of video image quickly transmits | |
| CN110648626A (en) | Method and system for correcting bright and dark lines of LED display screen and storage medium thereof | |
| US8548204B2 (en) | Image processing device, method for processing image, and program for processing image | |
| US8022940B2 (en) | Capacitive touch system and data transmission method in a capacitive touch system | |
| CN109753207B (en) | Information processing method and device and storage medium | |
| JP2004219731A (en) | Information display apparatus and information processing apparatus | |
| CN101071438A (en) | Capture server, distribution server, method and system for generating webpage capture | |
| CN110602519B (en) | Continuous-microphone video processing method and device, storage medium and electronic equipment | |
| CN103475916B (en) | The method and system of mirror image synchronization between controlled device and remote controller with touch screen | |
| CN109599054A (en) | The control method and device of display panel brightness | |
| CN113485583B (en) | Dual-system split-screen touch data calibration method and system | |
| CN110706637A (en) | Display panel brightness compensation method, compensation device and display device | |
| US20040104920A1 (en) | Image display method for mobile terminal in image distribution system, and image conversion apparatus and mobile terminal using the method | |
| CN113707101A (en) | Mini LED backlight control method, device and related equipment | |
| KR20140081693A (en) | Image processing device and method thereof | |
| CN111901584A (en) | Automatic detection method and device for television transmission channel, intelligent terminal and storage medium | |
| KR20100095740A (en) | Display apparatus and control method therof | |
| US10755385B2 (en) | Image processing apparatus and recording medium | |
| CN114724522B (en) | Method, device, display device and medium for adjusting backlight brightness of display device | |
| CN112863424A (en) | Display screen brightness adjusting method and device and electronic equipment | |
| CN113381898A (en) | Display module interference removing method and device, computer equipment and storage medium | |
| CN110166813B (en) | Independent correction method and system for multi-window image of display | |
| CN109155868B (en) | Image display apparatus, frame transmission interval control method, and image display system | |
| CN109089113B (en) | A kind of method of the automatic carry out reproduction ratio adjustment of flat panel TV | |
| US20210037192A1 (en) | Video display apparatus, video display method, and video signal processing apparatus |
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 |