CN111831166B - Android and Linux-based touch area segmentation method and device, computer equipment and storage medium - Google Patents

Android and Linux-based touch area segmentation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111831166B
CN111831166B CN202010664824.4A CN202010664824A CN111831166B CN 111831166 B CN111831166 B CN 111831166B CN 202010664824 A CN202010664824 A CN 202010664824A CN 111831166 B CN111831166 B CN 111831166B
Authority
CN
China
Prior art keywords
touch
android
information
menu
touch 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.)
Active
Application number
CN202010664824.4A
Other languages
Chinese (zh)
Other versions
CN111831166A (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 method, a device, computer equipment and a storage medium for segmenting touch areas based on android and Linux; wherein, the method comprises the following steps: carrying out infrared identification on touch and transmitting touch information; transmitting touch information to a Linux kernel; the Linux kernel transmits the touch information to the android motherboard; judging whether the touch information acts on the android menu or not; if yes, the android menu directly responds to the touch information and executes; 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 an information source display area outside the android menu, and forwarding a coordinate point area of the touch information; the PC interface is executed in response to the touch information. According to the method and the device, the android menu is clicked under the information source, the android menu is independently responded to touch, the information source display interface is not in response to touch, and the problem that the android menu and the PC interface are overlapped in touch is solved.

Description

Android and Linux-based touch area segmentation method and device, 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 machine for education or conferences in industry is provided with an android and Windows dual system, so that the problem of touch overlapping needs to be solved under a PC channel, namely when an android menu appears under a PC interface, the android menu responds to a touch event when the touch is applied to the android menu, and the PC interface also responds simultaneously, so that gesture operations such as sliding appear under the android menu, and a collapse of dragging of the lower PC interface can be confused, and various countermeasure methods are adopted in the prior art to solve the problem.
Touch penetration is mostly used in the market at present, but has the following disadvantages: 1. the whole coordinate area of each fixed or movable suspension menu is calculated to shield the coordinate values sent to the PC, which is very complicated and complex; 2. when the bottom layer is informed of the shielding coordinates, a time difference exists, and the time difference can cause the menu to be instantaneously invalid or double touch influence experience exists, so that the requirement cannot be met.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method, a device, computer equipment and a storage medium for segmenting touch areas based on android and Linux.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
the method for segmenting the touch area based on android and Linux comprises the following steps:
carrying out infrared identification on touch and transmitting touch information;
transmitting touch information to a Linux kernel;
the Linux kernel transmits the touch information to the android motherboard;
judging whether the touch information acts on the android menu or not;
if yes, the android menu directly responds to the touch information and executes;
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 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 coordinates are read through a read function, then the dev equipment node of the touch frame is operated by a write function, the touch information is written into the USB of the PC end, and the PC interface responds to the touch information and executes.
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 an information source display area outside the android menu, and forwarding a coordinate point area of the touch information, and distinguishing whether the touch information is on the area of the android menu or the information source display area outside the android menu through an application layer area touch segmentation algorithm.
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 an information source display area outside the android menu, and transmitting the coordinate point area of the touch information through a JNI (just in touch interface) to a bottom information algorithm.
The further technical scheme is as follows: 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 an information source display area outside the android menu, and forwarding a coordinate point area of the touch information, and if the touch information is on the area of the android menu, responding and executing the touch information by the android menu.
Touch area segmentation device based on android and Linux includes: the device comprises an identification transmission unit, a first transmission unit, a second transmission unit, a judging unit, a first response unit, a distinguishing forwarding 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 transfer unit is used for transferring the touch information to the Linux kernel;
the second transfer unit is used for transferring the touch information to the android motherboard by the Linux kernel;
the judging unit is used for judging whether the touch information acts on the android menu or not;
the first response unit is used for responding and executing the touch information directly by the android menu;
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 coordinates through a read function if the touch information is in the information source display area outside the android menu, then operating the dev equipment node of the touch frame through a write function, writing the touch information to the USB of the PC end, and executing response to the touch information through the PC interface.
The further technical scheme is as follows: in the distinguishing and forwarding unit, an application layer area touch segmentation algorithm is used for distinguishing whether the touch information is in an area of an android menu or in an information source display area outside the android menu.
The further technical scheme is as follows: and in the distinguishing and forwarding unit, the coordinate point area of the touch information is forwarded through the JNI transmission to the underlying information algorithm.
The further technical scheme is as follows: in the distinguishing and forwarding unit, if the touch information is in the region of the android menu, the android menu responds to the touch information and executes the touch information.
A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the android and Linux based touch area segmentation method as described above when executing the computer program.
A storage medium storing a computer program comprising program instructions which, when executed by a processor, implement an android and Linux based touch area segmentation method as described above.
Compared with the prior art, the invention has the beneficial effects that: and clicking the android menu under the information source, wherein the android menu responds to touch independently, the information source display interface does not respond to touch, a touch area segmentation architecture is embedded, the next layer of information source interface is not touched by touching the android menu, and the android menu can also respond to the touch of the information source interface after clicking the android menu, and the android menu is not influenced, so that the problem of touch overlapping of the android menu and the PC interface is solved, and the requirements can be better met.
The invention is further described below with reference to the drawings and specific embodiments.
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 method for dividing an android-based Linux touch area according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of an android and Linux-based touch area segmentation device according to an embodiment of the invention;
fig. 3 is a schematic block diagram of a computer device 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 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, which comprises the following steps:
s1, carrying out infrared identification on 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 motherboard;
in this embodiment, the android motherboard provides the content of the android menu.
S4, judging whether the touch information acts on the android menu or not;
s5, if yes, the android menu directly responds to the touch information and executes;
s6, 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 an information source display area outside the android menu, and forwarding a coordinate point area of the touch information; and if the touch information is in the region of the android menu, responding and executing the android menu to the touch information.
And distinguishing whether the touch information is on the region of the android menu or the information source display region outside the android menu by using an application layer region touch segmentation algorithm.
The application layer area touch segmentation algorithm first introduces a simple principle of how Windows is displayed on an electronic whiteboard based on a Linux system.
The external information source is similar to OPS, HDMI, VGA and other information sources, and the information source transmits data to a Linux system main board through a hardware interface, and the data is provided for an android system to display after being hard decoded through the main board; so the source interface is a Windows picture, but only the decoded signal is actually displayed, and the carrier is a A Zhuo Jiemian. The foregoing confirms that since it is an android interface, there is one assumption: the problem of double touch is solved by using a self-contained touch distribution mechanism of the android system, and touch region segmentation is realized; and the android system has 2 characteristics in a self-contained touch distribution mechanism: 1. each display view (interface) has its own individual touch function (touch function); 2. without special attribute processing, android touches only respond to the topmost 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 drawing on the glass, the drawing cannot be drawn on the paper below, and only the drawing can be drawn on the glass, and when drawing on a non-glass area, the drawing can be drawn on the paper; the whole large image displayed by the information source is equivalent to the large white paper, and other floating menus, side bars and floating interfaces are all small pieces of glass. The touch distribution mechanism is utilized to distinguish and monitor naturally.
And S7, if the touch information is in the information 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 the USB of the PC end, and executing response to the touch information through a PC interface.
The method comprises the steps of directly judging whether an action (touch action) is clicked on an information source display interface (equivalent to clicking on white paper instead of glass) through a zone bit of a judgment action (touch action) in a touch function of a display interface system, assigning a down value (the pressed value is 1) only by clicking on the action on the display interface, transmitting a notification from the function to a read function of a bottom driver through a JNI interface to read touch coordinates, operating dev equipment nodes of a touch frame through the driven write function, writing touch information to a USB port of a PC end, and enabling the PC interface to respond to touch events; the touch value of the touch function in the display interface is not monitored if the touch is on the floating menu (corresponding to the drawing of the small glass), so that the read-write of the bottom layer is not carried out, the PC information source section is not touched, and the touch only responds to the floating menu (namely, the line drawn on the small glass).
In step S6, the coordinate point area of the touch information is forwarded through the JNI transmission to the underlying information algorithm.
The method comprises the steps of transmitting JNI to a bottom layer information algorithm, wherein the main complexity is that the principle of the first point is that the JNI is transmitted as an interface for informing the bottom layer, the interface is directly called in a touch function of an information source display interface, the value of an action is monitored, the bottom layer is informed to perform reading and writing when the action down value is given, and the bottom layer is informed to stop reading and writing when the action up value is raised.
In S7, the touch information is processed on the information source display area outside the android menu through the bottom layer read-write dev algorithm, the bottom layer read-write is a standard read-write function of the Linux system, the read-write dev node is provided by a touch frame driver, and the control of the touch of the information source PC end can be realized on the JNI as long as the correct node is provided.
The method solves the problem of touch overlapping of the android menu and the PC interface, and all the suspension android menus are unified and applicable, have strong usability and universality, have high response speed and can not cause the problem of lost touch package; the android menu is clicked under the information source, the android menu is singly responded to touch, the information source display interface does not respond to touch, the touch area segmentation architecture is embedded, the android menu is touched and does not touch the next information source interface, after the android menu appears, the android menu can also be clicked to respond to the touch of the information source interface, the android menu is not influenced, the touch area segmentation architecture is embedded, any menu can achieve the technical effects, complex operations such as single calculation area are not needed, and the android and window double-system touch integrated machine can be applied.
Referring to fig. 2, the invention also discloses a touch area segmentation device based on android and Linux, which comprises: the identification transmission unit 10, the first transmission unit 20, the second transmission unit 30, the judgment unit 40, the first response unit 50, the differentiated forwarding unit 60, and the second response unit 70;
the recognition transfer unit 10 is used for carrying out infrared recognition on touch and transferring touch information;
the first transmitting unit 20 is configured to transmit the touch information to the Linux kernel;
the second transmitting unit 30 is configured to transmit the touch information to the android motherboard by using a Linux kernel;
the judging unit 40 is configured to judge whether the touch information acts on the android menu;
the first response unit 50 is configured to perform response execution on the touch information directly by using the android menu;
the distinguishing and forwarding unit 60 is configured to pop up an android menu under a PC interface, distinguish whether the touch information is on an area of the android menu or an information source display area outside the android menu, and forward a coordinate point area of the touch information;
and the second response unit 70 is configured to read the touch coordinates through a read function if the touch information is in the information source display area outside the android menu, then operate the dev device node of the touch frame through a write function, write the touch information to the USB of the PC side, and perform response execution on the touch information through the PC interface.
In the differentiated forwarding unit 60, the application layer area touch segmentation algorithm is used to distinguish whether the touch information is in the area of the android menu or in the information source display area outside the android menu.
In the differentiated forwarding unit 60, the coordinate point area of the touch information is forwarded through JNI transmission to the underlying information algorithm.
In the distinction forwarding unit 60, if the touch information is in the region of the android menu, the android menu responds to the touch information.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the foregoing touch area dividing device and each unit based on android and Linux may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the description is omitted herein.
The android and Linux based touch area splitting apparatus described above may be implemented in the form of a computer program that may 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 formed by a plurality of servers.
With reference 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 program 5032 includes program instructions that, when executed, cause the processor 502 to perform an android and Linux based touch area 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 a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform an android and Linux based touch area segmentation method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the structures shown in FIG. 3 are block diagrams only and do not constitute a limitation of the computer device 500 to which the present teachings apply, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be appreciated that in embodiments of the present application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can 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 which, when executed by a processor, can implement the android and Linux based touch area segmentation method described above.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate 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 solution. 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 several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above 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, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
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 combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
The foregoing examples are provided to further illustrate the technical contents of the present invention for the convenience of the reader, but are not intended to limit the embodiments of the present invention thereto, and any technical extension or re-creation according to the present invention is protected by the present invention. The protection scope of the invention is subject to the claims.

Claims (8)

1. The touch area segmentation method based on android and Linux is characterized by comprising the following steps of:
carrying out infrared identification on touch and transmitting touch information;
transmitting touch information to a Linux kernel;
the Linux kernel transmits the touch information to the android motherboard;
judging whether the touch information acts on the android menu or not;
if yes, the android menu directly responds to the touch information and executes;
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 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 region of the android menu, responding and executing the android menu to the touch information;
if the touch information is in the information source display area outside the android menu, the touch coordinates are read through a read function, then the dev equipment node of the touch frame is operated by a write function, the touch information is written into the USB of the PC end, and the PC interface responds to the touch information and executes.
2. The method for dividing the touch area based on android and Linux according to claim 1, wherein if not, the step of popping up an android menu under a PC interface to distinguish 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 distinguishing whether the touch information is on an area of the android menu or an information source display area outside the android menu by using an application layer area touch division algorithm.
3. The method for dividing the touch area based on android and Linux according to claim 2, wherein if not, the android menu is popped up under the PC interface to distinguish whether the touch information is on the area of the android menu or the information source display area outside the android menu, and the coordinate point area of the touch information is forwarded.
4. Touch area segmentation device based on android and Linux, which is characterized by comprising: the device comprises an identification transmission unit, a first transmission unit, a second transmission unit, a judging unit, a first response unit, a distinguishing forwarding 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 transfer unit is used for transferring the touch information to the Linux kernel;
the second transfer unit is used for transferring the touch information to the android motherboard by the Linux kernel;
the judging unit is used for judging whether the touch information acts on the android menu or not;
the first response unit is used for responding and executing the touch information directly by the android menu;
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; if the touch information is in the region of the android menu, responding and executing the android menu to the touch information;
and the second response unit is used for reading the touch coordinates through a read function if the touch information is in the information source display area outside the android menu, then operating the dev equipment node of the touch frame through a write function, writing the touch information to the USB of the PC end, and executing response to the touch information through the PC interface.
5. The android and Linux based touch area splitting device according to claim 4, wherein the distinction forwarding unit distinguishes whether the touch information is on an area of an android menu or an information source display area outside the android menu through an application layer area touch splitting algorithm.
6. The android and Linux based touch area splitting device according to claim 5, wherein in the differentiated forwarding unit, the coordinate point area of the touch information is forwarded through JNI transmission to the underlying information algorithm.
7. A computer device, characterized in that the computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the android and Linux based touch area segmentation method according to any of claims 1-3 when executing the computer program.
8. A storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the android and Linux based touch area segmentation method of any of claims 1-3.
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 CN111831166A (en) 2020-10-27
CN111831166B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (7)

* 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
CN103617002A (en) * 2013-12-16 2014-03-05 深圳市理邦精密仪器股份有限公司 Method and device for achieving touch interface
CN104808825B (en) * 2014-01-28 2018-08-03 联发科技(新加坡)私人有限公司 Touch event partition method and its device
US10474845B2 (en) * 2016-11-16 2019-11-12 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
CN110609653B (en) * 2018-06-15 2020-10-13 广州视源电子科技股份有限公司 Dual-system equipment, writing method and device thereof and interactive intelligent tablet
CN109144396B (en) * 2018-09-05 2021-06-15 广州视源电子科技股份有限公司 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN111831166A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
US20210303108A1 (en) System and method for on-screen graphical user interface encapsulation and reproduction
US9013438B2 (en) Touch input data handling
US7986307B2 (en) Mechanism for allowing applications to filter out or opt into tablet input
US9285969B2 (en) User interface navigation utilizing pressure-sensitive touch
US8656296B1 (en) Selection of characters in a string of characters
CN107515759B (en) Screen capture method and device, electronic equipment and readable storage medium
WO2020019616A1 (en) Touch control data processing method and device, intelligent device and storage medium
CN110737374B (en) Operation method and electronic equipment
EP2945374B1 (en) Positioning of projected augmented reality content
US20090235177A1 (en) Multi-monitor remote desktop environment user interface
WO2021072926A1 (en) File sharing method, apparatus, and system, interactive smart device, source end device, and storage medium
US11314411B2 (en) Virtual keyboard animation
CN107209756B (en) Supporting digital ink in markup language documents
WO2020175811A1 (en) Display apparatus and controlling method thereof
US9164646B2 (en) Method and apparatus for accommodating display migration among a plurality of physical displays
WO2020168786A1 (en) Touch operation response method and apparatus, storage medium and terminal
US10853152B2 (en) Touch application programming interfaces
CN105683892A (en) Hover controlled user interface element
WO2008027563A2 (en) System and device architecture for single-chip multi-core processor
US20130257750A1 (en) Establishing an input region for sensor input
US9823890B1 (en) Modifiable bezel for media device
US20190220160A1 (en) Display for input selection on a compact information processing device
CN111831166B (en) Android and Linux-based touch area segmentation method and device, computer equipment and storage medium
US20230185399A1 (en) Method and device for deriving pen position and reporting pen position to host computer
US9817490B2 (en) Presenting user interface based on location of input from body part

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