CN111831166A - Touch area segmentation method and device based on android and Linux, computer equipment and storage medium - Google Patents

Touch area segmentation method and device based on android and Linux, computer equipment and storage medium Download PDF

Info

Publication number
CN111831166A
CN111831166A CN202010664824.4A CN202010664824A CN111831166A CN 111831166 A CN111831166 A CN 111831166A CN 202010664824 A CN202010664824 A CN 202010664824A CN 111831166 A CN111831166 A CN 111831166A
Authority
CN
China
Prior art keywords
touch
android
touch information
menu
information
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.)
Granted
Application number
CN202010664824.4A
Other languages
Chinese (zh)
Other versions
CN111831166B (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.)
Shenzhen KTC Commercial Technology Co Ltd
Original Assignee
Shenzhen KTC Commercial 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 Shenzhen KTC Commercial Technology Co Ltd filed Critical Shenzhen KTC Commercial Technology Co Ltd
Priority to CN202010664824.4A priority Critical patent/CN111831166B/en
Publication of CN111831166A publication Critical patent/CN111831166A/en
Application granted granted Critical
Publication of CN111831166B publication Critical patent/CN111831166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a touch area segmentation method and device based on android and Linux, computer equipment and a storage medium; the method comprises the following steps: performing infrared ray identification on the touch and transmitting touch information; transmitting the touch information to a Linux kernel; the Linux kernel transmits the touch information to the android mainboard; judging whether the touch information acts on an android menu; if yes, the android menu directly responds to the touch information for execution; if not, popping up an android menu under the PC interface, distinguishing whether the touch information is on an area of the android menu or on an information source display area outside the android menu, and forwarding a coordinate point area of the touch information; and the PC interface responds to the touch information and executes the touch information. According to the method and the device, the android menu is clicked under the information source, the android menu responds to touch independently, the information source display interface does not respond to touch, and the problem that the touch of the android menu and the touch of the PC interface are overlapped is solved.

Description

Touch area segmentation method and device based on android and Linux, computer equipment and storage medium
Technical Field
The invention relates to the technical field of touch integrated machines, in particular to a touch area segmentation method and device based on android and Linux, computer equipment and a storage medium.
Background
At present, the touch integrated machines for education or conferences in the industry are provided with an android system and a Windows system, so that under a PC channel, a problem of touch overlapping needs to be solved, namely when an android menu appears under a PC interface, the android menu responds to a touch event when the android menu is touched, the PC interface also responds at the same time, so that gesture operations such as sliding appear under the android menu can be caused, collapse and coating of dragging of the PC interface below can be realized, and in order to solve the problem, various countermeasure methods are adopted in the prior art to avoid the problem.
Currently, most touch penetration methods are adopted in the market, but the touch penetration methods have the following defects: 1. the whole coordinate area of each fixed or movable suspension menu is required to be calculated to shield the coordinate value sent to the PC, and the calculation is very complicated and complicated; 2. there is a time difference when the bottom layer shielding coordinates are notified, and this time difference still can lead to menu to appear inefficacy in the twinkling of an eye, still can have dual touch influence to experience, consequently, can't satisfy the demand.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a touch area segmentation method and device based on android and Linux, computer equipment and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme:
the touch area segmentation method based on android and Linux comprises the following steps:
performing infrared ray identification on the touch and transmitting touch information;
transmitting the touch information to a Linux kernel;
the Linux kernel transmits the touch information to the android mainboard;
judging whether the touch information acts on an android menu;
if yes, the android menu directly responds to the touch information for execution;
if not, popping up an android menu under the PC interface, distinguishing whether the touch information is on an area of the android menu or on an information source display area outside the android menu, and forwarding a coordinate point area of the touch information;
if the touch information is in the information source display area outside the android menu, the touch coordinate is read through the read function, then the write function operates the dev equipment node of the touch frame, the touch information is written to the USB of the PC end, and the PC interface responds to the touch information for execution.
The further technical scheme is as follows: if not, popping up an android menu under a PC interface, distinguishing whether the touch information is on an area of the android menu or on a source display area outside the android menu, and forwarding a coordinate point area of the touch information.
The further technical scheme is as follows: and if not, popping up an android menu under a PC interface, distinguishing whether the touch information is in an area of the android menu or in a source display area outside the android menu, and forwarding the coordinate point area of the touch information, wherein the touch information is transmitted to the coordinate point area of the touch information through a JNI algorithm.
The further technical scheme is as follows: and if not, popping up an android menu under the PC interface, distinguishing whether the touch information is on an area of the android menu or on an information source display area outside the android menu, and forwarding a coordinate point area of the touch information, wherein if the touch information is on the area of the android menu, the android menu responds to the touch information for execution.
Touch regional segmenting device based on android and Linux includes: the system comprises an identification transfer unit, a first transfer unit, a second transfer unit, a judgment unit, a first response unit, a distinguishing transfer unit and a second response unit;
the identification transmission unit is used for carrying out infrared identification on touch and transmitting touch information;
the first transmission unit is used for transmitting the touch information to a Linux kernel;
the second transmission unit is used for transmitting the touch information to the android mainboard by the Linux kernel;
the judging unit is used for judging whether the touch information acts on the android menu;
the first response unit is used for the android menu to directly respond and execute the touch information;
the distinguishing and forwarding unit is used for popping up an android menu under a PC interface, distinguishing whether the touch information is on an area of the android menu or an information source display area outside the android menu, and forwarding a coordinate point area of the touch information;
and the second response unit is used for reading the touch coordinate through a read function if the touch information is in an information source display area outside an android menu, then operating a dev equipment node of the touch frame through a write function, writing the touch information to a USB (universal serial bus) of a PC (personal computer) end, and performing response execution on the touch information through a PC interface.
The further technical scheme is as follows: in the distinguishing and forwarding unit, whether the touch information is in an area of an android menu or in a source display area outside the android menu is distinguished through an application layer area touch segmentation algorithm.
The further technical scheme is as follows: and in the distinguishing and forwarding unit, the coordinate point region of the touch information is forwarded through a bottom layer information algorithm transmitted by JNI.
The further technical scheme is as follows: in the distinguishing and forwarding unit, if the touch information is in the area of the android menu, the android menu responds to the touch information for execution.
A computer device comprising a memory having stored thereon a computer program and a processor that when executed implements the android and Linux based touch region segmentation method as described above.
A storage medium storing a computer program comprising program instructions which, when executed by a processor, may implement the android and Linux based touch region segmentation method as described above.
Compared with the prior art, the invention has the beneficial effects that: under the information source, the android menu is clicked, the android menu responds to touch independently, the information source display interface does not respond to touch, the touch area partition framework is embedded, the android menu is touched and does not touch the next layer of information source interface, after the android menu appears, the touch of the information source interface can be responded outside the clicked android menu, the android menu is not influenced, the problem that the android menu and a PC interface touch are overlapped is solved, and the requirement can be better met.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a touch region segmentation method based on android and Linux according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of an android and Linux-based touch region segmentation apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "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 the specification of the present invention 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 this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to the specific embodiment shown in fig. 1 to 3, wherein, referring to fig. 1, the invention discloses a touch area segmentation method based on android and Linux, comprising the following steps:
s1, performing infrared ray identification on the touch and transmitting touch information;
s2, transmitting the touch information to a Linux kernel;
the Linux kernel is an open source computer operating system kernel.
S3, the Linux kernel transmits the touch information to the android mainboard;
in this embodiment, the android motherboard provides android menu content.
S4, judging whether the touch information acts on the android menu;
s5, if yes, the android menu directly responds to the touch information for execution;
s6, if not, popping up an android menu under the PC interface, distinguishing whether the touch information is on the area of the android menu or on the information source display area outside the android menu, and forwarding the coordinate point area of the touch information; and if the touch information is in the area of the android menu, the android menu responds to the touch information for execution.
And distinguishing whether the touch information is in the region of the android menu or in the source display region outside the android menu by applying a layer region touch segmentation algorithm.
The application layer area touch segmentation algorithm is to first introduce a simple principle of how an electronic whiteboard based on a Linux system displays Windows.
The external information source is similar to information sources such as OPS, HDMI, VGA and the like, and is used for transmitting data to a Linux system mainboard through a hardware interface, and then providing the data for the android system to display after the data is hard decoded by the mainboard; therefore, although the source interface displays Windows pictures, only decoded signals are actually displayed, and the displayed carrier is also an android interface. The above confirms that since the interface is android, there is an assumption: the android system is used for solving the problem of double touch by a self-contained touch distribution mechanism, so that touch area segmentation is realized; and there are 2 characteristics in android system's self-carrying touch distribution mechanism: 1. each display view (interface) has its own separate touch function (touch function); 2. without special property handling, android touches only respond to the top view (interface).
For example: for example, a piece of small glass is placed in the middle of a piece of large white paper, a person takes a pen to draw, when the person draws on the glass, the person cannot draw on the lower paper and can only draw on the glass, and the person can draw on the paper in a non-glass area; similarly, the information source displays the whole large picture which is equivalent to the large white paper, and other floating menus, side columns and floating interfaces are all small pieces of glass. The touch distribution mechanism can be used for distinguishing and listening naturally.
S7, if the touch information is in the source display area outside the android menu, reading the touch coordinates through a read function, then operating the dev equipment node of the touch frame through a write function, writing the touch information to a USB (Universal Serial bus) of the PC end, and executing the response of the PC interface to the touch information.
The method comprises the steps that a zone bit of an action (touch behavior) is judged directly in a touch function of a display interface system, whether the action is clicked on an information source display interface or not is judged (the action is on white paper rather than on glass is clicked), a down value is given as long as the action is clicked on the display interface (the pressed value is 1), then a notification is transmitted from the function through a JNI (just in interface) to a read function of a bottom layer drive to read touch coordinates, then a dev equipment node of a touch frame is operated through a write function of the drive, touch information is written to a USB (universal serial bus) port of a PC (personal computer) end, and the PC interface responds to a touch event; similarly, the action will assign an up value (touch up), the bottom layer is informed to stop reading and writing, the PC end is not touched, if the action is touched on the floating menu (equivalent to drawing on the small glass), the touch function of the display interface is not monitored, the action value in the touch function is not assigned down or up (pressed value), so the bottom layer is not read and written, therefore, the PC information source section is not touched, and the touch only responds on the floating menu (namely lines drawn on the small glass).
In step S6, the coordinate point region of the touch information is forwarded by JNI transmission to the underlying information algorithm.
The JNI is transmitted to a bottom layer information algorithm, the principle is mainly complicated in the first point, the JNI transmission is actually an interface used for informing the bottom layer, the interface is directly called in a touch function of an information source display interface to monitor the action value, when the action assigned down value exists in the value, the bottom layer is informed to read and write, and when the action assigned up value is lifted, the bottom layer is informed to stop reading and writing.
Further, in S7, the touch information is processed on the information source display area outside the android menu through a bottom layer read-write dev algorithm, the bottom layer read-write is a standard read-write function carried by the Linux system, the read-write dev node is provided by the touch frame driver, and as long as a correct node is provided, the control of the touch of the information source PC end can be realized on the JNI.
The method solves the problem of touch overlapping of the android menu and the PC interface, all suspended android menus are uniform and applicable, the usability and universality are strong, the response speed is high, and the problem of touch packet loss is avoided; under the information source, click on the android menu, the android menu responds to touch alone, the information source display interface does not respond to touch, through embedding touch region segmentation framework, the touch android menu can not touch the next layer of information source interface, after the android menu appears, click on the touch of the information source interface outside the android menu, and do not influence the android menu, embedding touch region segmentation framework, any menu can both reach above technical effect, complicated operation such as independent area calculation is not needed, and the method can be applied to any android and window dual-system touch all-in-one machine.
Referring to fig. 2, the present invention further discloses a touch area splitting device based on android and Linux, including: an identification transfer unit 10, a first transfer unit 20, a second transfer unit 30, a judgment unit 40, a first response unit 50, a distinguishing transfer unit 60, and a second response unit 70;
the recognition transfer unit 10 is used for performing infrared recognition on touch and transferring touch information;
the first transmission unit 20 is configured to transmit the touch information to a Linux kernel;
the second transmission unit 30 is used for transmitting the touch information to the android mainboard by the Linux kernel;
the judging unit 40 is configured to judge whether the touch information acts on an android menu;
the first response unit 50 is configured to directly perform response execution on the touch information by the android menu;
the distinguishing and forwarding unit 60 is configured to pop up an android menu under the PC interface, distinguish whether the touch information is on an area of the android menu or on an information source display area outside the android menu, and forward a coordinate point area of the touch information;
the second response unit 70 is configured to, if the touch information is in a source display area outside the android menu, read the touch coordinates through a read function, then operate the dev device node of the touch frame through a write function, write the touch information to a USB of the PC, and perform response execution on the touch information through the PC interface.
In the distinguishing and forwarding unit 60, whether the touch information is in the region of the android menu or in the source display region outside the android menu is distinguished by an application layer region touch segmentation algorithm.
In the distinguishing and forwarding unit 60, the coordinate point region of the touch information is forwarded by transmitting the JNI to the underlying information algorithm.
In the differentiating and forwarding unit 60, if the touch information is in the area of the android menu, the android menu responds to the touch information.
It should be noted that, as can be clearly understood by those skilled in the art, for the specific implementation process of the touch area segmentation apparatus based on android and Linux and each unit, reference may be made to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided here.
The android and Linux based touch area splitting apparatus may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 3.
Referring to fig. 3, fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present application; the computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 3, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform an android and Linux based touch region segmentation method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be enabled to execute an android and Linux-based touch region segmentation method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 3 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program comprises program instructions that, when executed by a processor, implement the android and Linux based touch region segmentation method described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
The technical contents of the present invention are further illustrated by the examples only for the convenience of the reader, but the embodiments of the present invention are not limited thereto, and any technical extension or re-creation based on the present invention is protected by the present invention. The protection scope of the invention is subject to the claims.

Claims (10)

1. The touch area segmentation method based on android and Linux is characterized by comprising the following steps of:
performing infrared ray identification on the touch and transmitting touch information;
transmitting the touch information to a Linux kernel;
the Linux kernel transmits the touch information to the android mainboard;
judging whether the touch information acts on an android menu;
if yes, the android menu directly responds to the touch information for execution;
if not, popping up an android menu under the PC interface, distinguishing whether the touch information is on an area of the android menu or on an information source display area outside the android menu, and forwarding a coordinate point area of the touch information;
if the touch information is in the information source display area outside the android menu, the touch coordinate is read through the read function, then the write function operates the dev equipment node of the touch frame, the touch information is written to the USB of the PC end, and the PC interface responds to the touch information for execution.
2. The android and Linux-based touch region segmentation method according to claim 1, wherein in the step of "if not, popping up an android menu under a PC interface, distinguishing whether the touch information is on an area of the android menu or on a source display area outside the android menu, and forwarding a coordinate point area of the touch information", the step of distinguishing whether the touch information is on the area of the android menu or on the source display area outside the android menu by applying a layer area touch segmentation algorithm.
3. The android and Linux-based touch area segmentation method according to claim 2, wherein in the step of "if not, popping up an android menu under a PC interface, distinguishing whether the touch information is on an area of the android menu or on a source display area outside the android menu, and forwarding a coordinate point area of the touch information", the coordinate point area of the touch information is forwarded through a JNI transmission to a bottom information algorithm.
4. The android and Linux based touch area segmentation method according to claim 3, wherein in the step of "if not, popping up an android menu under a PC interface, distinguishing whether the touch information is on an area of the android menu or on a source display area outside the android menu, and forwarding a coordinate point area of the touch information", if the touch information is on the area of the android menu, the android menu performs response execution on the touch information.
5. Touch regional segmenting device based on android and Linux, its characterized in that includes: the system comprises an identification transfer unit, a first transfer unit, a second transfer unit, a judgment unit, a first response unit, a distinguishing transfer unit and a second response unit;
the identification transmission unit is used for carrying out infrared identification on touch and transmitting touch information;
the first transmission unit is used for transmitting the touch information to a Linux kernel;
the second transmission unit is used for transmitting the touch information to the android mainboard by the Linux kernel;
the judging unit is used for judging whether the touch information acts on the android menu;
the first response unit is used for the android menu to directly respond and execute the touch information;
the distinguishing and forwarding unit is used for popping up an android menu under a PC interface, distinguishing whether the touch information is on an area of the android menu or an information source display area outside the android menu, and forwarding a coordinate point area of the touch information;
and the second response unit is used for reading the touch coordinate through a read function if the touch information is in an information source display area outside an android menu, then operating a dev equipment node of the touch frame through a write function, writing the touch information to a USB (universal serial bus) of a PC (personal computer) end, and performing response execution on the touch information through a PC interface.
6. The android and Linux-based touch region partitioning device of claim 5, wherein in the differentiating forwarding unit, whether the touch information is on a region of an android menu or on a source display region outside the android menu is differentiated by an application layer region touch partitioning algorithm.
7. The android and Linux-based touch region segmentation apparatus of claim 6, wherein the distinguishing forwarding unit forwards the coordinate point region of the touch information through a JNI (Java native interface) to an underlying information algorithm.
8. The device according to claim 7, wherein in the diff forwarding unit, if the touch information is in an area of an android menu, the android menu is executed in response to the touch information.
9. A computer device comprising a memory having stored thereon a computer program and a processor that when executed implements the android and Linux based touch region segmentation method of any one of claims 1-4.
10. A storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the android and Linux based touch region segmentation method of any one of claims 1-4.
CN202010664824.4A 2020-07-10 2020-07-10 Android and Linux-based touch area segmentation method and device, computer equipment and storage medium Active CN111831166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010664824.4A CN111831166B (en) 2020-07-10 2020-07-10 Android and Linux-based touch area segmentation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010664824.4A CN111831166B (en) 2020-07-10 2020-07-10 Android and Linux-based touch area segmentation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111831166A true CN111831166A (en) 2020-10-27
CN111831166B CN111831166B (en) 2023-06-02

Family

ID=72900478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010664824.4A Active CN111831166B (en) 2020-07-10 2020-07-10 Android and Linux-based touch area segmentation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111831166B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440107A (en) * 2013-09-04 2013-12-11 北京奇虎科技有限公司 Method and device for processing touch operation of electronic device
US20150212730A1 (en) * 2014-01-28 2015-07-30 Mediatek Singapore Pte. Ltd. Touch event isolation method and related device and computer readable medium
US20160299632A1 (en) * 2013-12-16 2016-10-13 Edan Instruments, Inc. Method and device for implementing a touch interface
CN106708409A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Popup menu response method and device and mobile terminal
CN107577495A (en) * 2017-09-05 2018-01-12 广东欧珀移动通信有限公司 interface display method, device and terminal
US20180137308A1 (en) * 2016-11-16 2018-05-17 Foundation Of Soongsil University-Industry Cooperation Duo operating system for android security, mobile device having the same, method of securing mobile device having the same
CN109144396A (en) * 2018-09-05 2019-01-04 广州视源电子科技股份有限公司 Touch information processing method, device, equipment and storage medium
CN110308824A (en) * 2019-07-04 2019-10-08 深圳市康冠商用科技有限公司 A kind of processing method, system and the associated component of infrared touch data
CN110609653A (en) * 2018-06-15 2019-12-24 广州视源电子科技股份有限公司 Dual-system equipment, writing method and device thereof and interactive intelligent tablet

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440107A (en) * 2013-09-04 2013-12-11 北京奇虎科技有限公司 Method and device for processing touch operation of electronic device
US20160299632A1 (en) * 2013-12-16 2016-10-13 Edan Instruments, Inc. Method and device for implementing a touch interface
US20150212730A1 (en) * 2014-01-28 2015-07-30 Mediatek Singapore Pte. Ltd. Touch event isolation method and related device and computer readable medium
US20180137308A1 (en) * 2016-11-16 2018-05-17 Foundation Of Soongsil University-Industry Cooperation Duo operating system for android security, mobile device having the same, method of securing mobile device having the same
CN106708409A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Popup menu response method and device and mobile terminal
CN107577495A (en) * 2017-09-05 2018-01-12 广东欧珀移动通信有限公司 interface display method, device and terminal
CN110609653A (en) * 2018-06-15 2019-12-24 广州视源电子科技股份有限公司 Dual-system equipment, writing method and device thereof and interactive intelligent tablet
CN109144396A (en) * 2018-09-05 2019-01-04 广州视源电子科技股份有限公司 Touch information processing method, device, equipment and storage medium
CN110308824A (en) * 2019-07-04 2019-10-08 深圳市康冠商用科技有限公司 A kind of processing method, system and the associated component of infrared touch data

Also Published As

Publication number Publication date
CN111831166B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
US20210026456A1 (en) Method, apparatus and system for interacting with content on web browsers
US20210303108A1 (en) System and method for on-screen graphical user interface encapsulation and reproduction
US7986307B2 (en) Mechanism for allowing applications to filter out or opt into tablet input
US9285969B2 (en) User interface navigation utilizing pressure-sensitive touch
US9013438B2 (en) Touch input data handling
EP3207458B1 (en) Input signal emulation
US20090235177A1 (en) Multi-monitor remote desktop environment user interface
US11614912B2 (en) Dual-system device and writing method and apparatus thereof, and interactive intelligent tablet
US10853152B2 (en) Touch application programming interfaces
US20180239777A1 (en) Method and apparatus for dissolving folder and mobile terminal
WO2020168786A1 (en) Touch operation response method and apparatus, storage medium and terminal
CN108958630A (en) Writing content display method and device and electronic equipment
US9823890B1 (en) Modifiable bezel for media device
CN111831166B (en) Android and Linux-based touch area segmentation method and device, computer equipment and storage medium
US20160054818A1 (en) Presenting user interface based on location of input from body part
US10963983B2 (en) Graphics performance for complex user interfaces
US20170206685A1 (en) Ensuring contrast for text within a web page
EP3674875A1 (en) Information processing terminal device
US11036365B2 (en) Hang condition mitigation for browser applications
KR20200140708A (en) Electronic apparatus and method for controlling thereof
CN117234368A (en) Touch event response method, electronic device and readable storage medium
KR20200140675A (en) Electronic apparatus and method for controlling thereof
CN114816095A (en) Method and device for moving annotation toolbar of touch screen, medium and interactive panel
CN116136721A (en) Delay-free line drawing display method, device, equipment and storage medium
CN110945470A (en) Programmable multi-touch on-screen keyboard

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