CN107092433A - The method of toch control and device of touch-control all-in-one machine - Google Patents

The method of toch control and device of touch-control all-in-one machine Download PDF

Info

Publication number
CN107092433A
CN107092433A CN201710235100.6A CN201710235100A CN107092433A CN 107092433 A CN107092433 A CN 107092433A CN 201710235100 A CN201710235100 A CN 201710235100A CN 107092433 A CN107092433 A CN 107092433A
Authority
CN
China
Prior art keywords
touch
coordinate
touch point
control
coordinates
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
CN201710235100.6A
Other languages
Chinese (zh)
Other versions
CN107092433B (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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201710235100.6A priority Critical patent/CN107092433B/en
Publication of CN107092433A publication Critical patent/CN107092433A/en
Application granted granted Critical
Publication of CN107092433B publication Critical patent/CN107092433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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

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 embodiment of the present application discloses the method for toch control and device of a kind of touch-control all-in-one machine, and methods described includes:The touch point coordinates for detecting coherent touch action is stored in coordinate queue;If detecting, touch point lateral coordinates and/or longitudinal coordinate consecutive variations trend in the coordinate queue are consistent, and changing value exceedes threshold value, key command then is sent to processor CPU, the key command is used to indicate that display screen display content performs the respective operations for meeting the lateral coordinates and/or longitudinal coordinate variation tendency.In the embodiment of the present application, when the application that display screen is shown is full screen display state, MCU in slave computer switches to keyboard mode, and the touch point Coordinate Conversion detected into key command, key response corresponding with the key command is performed by the CPU in host computer by MCU.Therefore, can be simple to operate to carry out touch control to application program directly by way of swiping when the application that display screen is shown is full screen display state.

Description

The method of toch control and device of touch-control all-in-one machine
Technical field
The application is related to touch-control all-in-one machine technical field, more particularly to a kind of touch-control all-in-one machine method of toch control and dress Put.
Background technology
Touch-control all-in-one machine is a kind of man-machine interactive equipment for integrating touch technology and computer technology, and it uses tactile Touch the traditional mouse of screen replacement or keyboard enters row information input so that man-machine interaction is simpler, is widely used in meeting, religion Etc. place.
Fig. 1 is a kind of structured flowchart of touch-control all-in-one machine in the prior art, as shown in figure 1, touch-control all-in-one machine is including upper Machine and slave computer.Wherein, host computer and slave computer can not only be wholely set but also can be with separately positioned, and host computer includes processor (Central Processing Unit, CPU), slave computer include micro-control unit (Microcontroller Unit, MCU), Display screen and touch-screen.The MCU communication connections of the CPU of host computer and slave computer, in slave computer, MCU again respectively with display screen With touch panel communication connection.In use, user can install corresponding application program according to the demand of itself on host computer, by CPU transmits the image information of the application program to MCU, and MCU control display screens show corresponding picture.Meanwhile, MCU is according to pre- If time interval detection touch-screen on touch point coordinates, and the touch point coordinates detected is sent to CPU, held by CPU The corresponding touch-responsive of row.For example, when it is (x1, y1) to touch point coordinates, CPU performs touching for click at coordinate (x1, y1) place Touch response.
Generally there are two kinds of dispaly states on a display screen in the picture of application program:Full screen display state and non-full screen display State.When the picture of application program is in non-full screen display state, touch control region is generally set, and is touching on display screen The corresponding command identification of control area internal labeling (for example, page up or lower one page etc.) is touched, user can be corresponding by clicking on Realize the touch control operation of application program in touch control region.Although which can facilitate operation of the user to application program, It is due to that picture is relatively low to the occupancy of display screen, and there is the interference in touch control region on display screen, causes picture exhibition Effect is poor.Therefore, when using touch-control all-in-one machine, the picture of application program is generally switched to full screen display state by user.
When the picture of application program is in full screen display state, generally touch control region is hidden or deleted.Due to Touch control region is not shown on display screen, therefore user can only recall hiding touch control region by long-press touch-screen Or full screen display state is exited, and then touch control operation is carried out to application program, it is cumbersome.
The content of the invention
This application provides a kind of method of toch control of touch-control all-in-one machine and device, to solve touch-control of the prior art All-in-one is not easy to the problem of user carries out touch control operation to application program under full screen display state.
In a first aspect, the embodiment of the present application provides the touch control side under a kind of touch-control all-in-one machine full screen display state Method, applied to slave computer, methods described includes:The touch point coordinates for detecting coherent touch action is stored in coordinate queue In;If detecting, touch point lateral coordinates and/or longitudinal coordinate consecutive variations trend in the coordinate queue are consistent, and changing value More than threshold value, then key command is sent to processor CPU, the key command is used to indicate that the execution of display screen display content meets The respective operations of the lateral coordinates and/or longitudinal coordinate variation tendency.
Second aspect, the embodiment of the present application provides a kind of method of toch control of touch-control all-in-one machine, applied to slave computer, Methods described includes:If the application that display screen is currently shown is full screen display state, using the control described in above-mentioned first aspect Method processed;If the application that display screen is currently shown is non-full screen display state, after touch point coordinates is detected, to processor CPU sends the touch point coordinates, and the touch point coordinates is used to indicate that the execution of display screen display content meets the touch point The respective operations of coordinate.
The third aspect, the embodiment of the present application provides the touch control side under a kind of touch-control all-in-one machine full screen display state Method, applied to host computer, methods described includes:The key command that micro-control unit MCU is sent is received, the key command is institute State the key command that MCU uses following manner to generate:The touch point coordinates for detecting coherent touch action is stored in coordinate team In row;If detecting, touch point lateral coordinates and/or longitudinal coordinate consecutive variations trend in the coordinate queue are consistent, and change Value exceedes threshold value, then generates key command;Performed in display screen display content and meet the lateral coordinates and/or longitudinal coordinate The respective operations of variation tendency.
Fourth aspect, the embodiment of the present application provides a kind of method of toch control of touch-control all-in-one machine, applied to host computer, Methods described includes:If the application that display screen is currently shown is full screen display state, using the control described in the above-mentioned third aspect Method processed;If the application that display screen is currently shown is non-full screen display state, the touch point that micro-control unit MCU is sent is received Coordinate;The respective operations for meeting the touch point coordinates are performed in display screen display content.
5th aspect, the embodiment of the present application provides a kind of slave computer, and the slave computer includes:Micro-control unit MCU and Touch-screen, the MCU and touch panel communication connection;The MCU is used to perform above-mentioned first aspect and/or second aspect institute The method stated.
6th aspect, the embodiment of the present application provides a kind of host computer, and the host computer includes processor CPU;For depositing Store up the memory of the execute instruction of the CPU;Wherein, the CPU is configured as performing the above-mentioned third aspect and/or fourth aspect Described method.
7th aspect, the embodiment of the present application provides a kind of touch-control all-in-one machine, and the touch-control all-in-one machine includes the above-mentioned 5th Processor CPU and the bottom in the host computer described in slave computer and above-mentioned 6th aspect described in aspect, the host computer Micro-control unit MCU communication connections in machine.
The technical scheme provided using the embodiment of the present application, when the application that display screen is shown is full screen display state, MCU in slave computer switches to keyboard mode, and now touch-screen is matched somebody with somebody in MCU equivalent to a keyboard being external on host computer The corresponding relation of the changing value and key command that touch point coordinates is equipped with, MCU is according to the corresponding relation by the touch point detected Coordinate Conversion performs key response corresponding with the key command into key command by the CPU in host computer.Therefore, display is worked as When the application of screen display is full screen display state, it can be grasped with carrying out touch control to application program directly by way of swiping Make simple.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme of the application, letter will be made to the required accompanying drawing used in embodiment below Singly introduce, it should be apparent that, for those of ordinary skills, without having to pay creative labor, Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of structured flowchart of touch-control all-in-one machine in the prior art;
A kind of schematic diagram of a scenario that Fig. 2 provides for the embodiment of the present application;
Method of toch control flow under a kind of touch-control all-in-one machine full screen display state that Fig. 3 provides for the embodiment of the present application Schematic diagram;
The screen sliding operation chart that Fig. 4 A-4C provide for the embodiment of the present application;
A kind of method of toch control schematic flow sheet for touch-control all-in-one machine that Fig. 5 provides for the embodiment of the present application;
A kind of structural representation for slave computer that Fig. 6 provides for the embodiment of the present application;
A kind of structural representation for host computer that Fig. 7 provides for the embodiment of the present application.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation Example only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection Scope.
A kind of schematic diagram of a scenario that Fig. 2 provides for the embodiment of the present application, Fig. 2 includes host computer 201 and slave computer 202. Wherein, host computer 201 includes processor (Central Processing Unit, CPU), and slave computer 202 includes micro-control unit (Microcontroller Unit, MCU), display screen and touch-screen.In use, user can be according to the demand of itself upper Corresponding application program, such as PPT programs are installed on machine, transmitted PPT image informations to MCU, MCU control display screens by CPU Show corresponding PPT pictures.Meanwhile, MCU detects the touch point coordinates on touch-screen according to default time interval, and will detection To touch point coordinates send to CPU, corresponding touch-responsive is performed by CPU.For example, when user touches, " page up touches control During region processed ", the touch point coordinates detected is sent to CPU, CPU and performs point at " page up touch control region " place by MCU The touch-responsive hit, realizes PPT upper page turn over operation.
It is pointed out that being only the He of host computer 201 in a kind of schematic diagram of a scenario of the embodiment of the present application, figure shown in Fig. 2 The particular type and corresponding relation of slave computer 202 are not limited to the concrete form disclosed in Fig. 2.For example, host computer 201 and bottom Machine 202 be able to can be both wholely set again with separately positioned;Host computer 201 and slave computer 202 both can be by signal wires (for example USB line) communication connection, can wirelessly it communicate to connect again;Host computer 201 can be PC, notebook computer or flat Plate computer etc., the embodiment of the present application is not specifically limited to this.
By taking PPT application scenarios as an example.When user carries out PPT demonstrations using touch-control all-in-one machine, in order to obtain preferably Picture exhibition effect, it usually needs PPT pictures are switched to full screen display state.But, due to showing under full screen display state Touch control region is not shown in display screen, can only when user needs to operate PPT (such as upper page turning or lower page turning) Hiding touch control region is recalled by long-press touch-screen or full screen display state is exited, and then carries out touch control operation, behaviour Make cumbersome.
In view of the above-mentioned problems, the embodiment of the present application provides the touch control under a kind of touch-control all-in-one machine full screen display state Method.Method of toch control flow under a kind of touch-control all-in-one machine full screen display state that Fig. 3 provides for the embodiment of the present application is shown It is intended to, this method can be applied to the touch-control all-in-one machine shown in Fig. 1 and Fig. 2, as shown in figure 3, it is mainly included the following steps that.
Step S301:The touch point coordinates for detecting coherent touch action is stored in coordinate queue.
During work, the MCU in slave computer detects the touch point coordinates on touch-screen according to default detection cycle.For example, When there is the touch operation of user on touch-screen, MCU can detect the touch location of user on the touchscreen, i.e. touch point Coordinate.
In the embodiment of the present application, the touch point coordinates for detecting coherent touch action is stored in coordinate queue by MCU. Specially:If MCU detects push action, the push is acted into corresponding coordinate and is stored in coordinate queue In, and by subsequent detection to touch point coordinates be sequentially stored in coordinate queue, until detecting lift action, then terminate Storage to touching point coordinates.In other words, the touch point coordinates stored in coordinate queue is to press action and lift action Between the touch point coordinates that detects, then the coordinate queue is defined as to the touch coordinate of coherent touch action.
For example, when user carries out screen sliding operation on the touchscreen using finger, whole screen sliding operation can be by starting point, cunning Dynamic rail mark and end point composition.Wherein, starting point is that user starts to contact the position of touch-screen, and it is MCU to be reflected in slave computer Detect the position of push action;End point is that user leaves the position for touching screen, is reflected in slave computer and is examined for MCU Measure the position for lifting operational motion;Touch coordinate in coordinate queue can reflect the slip rail of screen sliding operation on the touchscreen Mark.
In the embodiment of the present application, the touch-screen of slave computer can be infrared type touch-screen, capacitive touch screen, resistance-type Touch-screen or electromagnetical type touch screen, the application are not specifically limited to it.
Step S302:If detecting, touch point lateral coordinates and/or longitudinal coordinate consecutive variations in the coordinate queue become Gesture is consistent, and changing value exceedes threshold value, then sends key command to processor CPU.
In the embodiment of the present application, when MCU detects lift action, illustrate that user has completed screen sliding operation, now Touch point coordinates that can be in coordinate queue calculates the key command that touch-screen is received.If being sat specifically, detection is described The touch point lateral coordinates and/or longitudinal coordinate consecutive variations trend marked in queue are consistent, and changing value exceedes threshold value, then to place Manage device CPU and send key command.
Wherein, in order to realize the inputs of a variety of key commands, different buttons can be configured for different sliding paths and referred to Order.Because the variation tendency in different sliding paths, touching point coordinates is different, therefore touch point lateral coordinates can be based on And/or the variation tendency of longitudinal coordinate determines that user is intended to the key command of input.
Based on the principle, in the embodiment of the present application, the variation tendency of configuration touch point lateral coordinates and/or longitudinal coordinate With the corresponding relation of key command, according to touch point lateral coordinates in coordinate queue and/or the variation tendency of longitudinal coordinate, it is determined that The key command that the touch-screen is received.In addition, can be touch point lateral coordinates in order to avoid touch-screen triggered sensitive And/or the changing value of longitudinal coordinate sets certain threshold value, only when changing value exceedes the threshold value, the touch-screen is just determined The key command received.The activation threshold value can neither it is excessive can not be too small, if the activation threshold value it is excessive may result in it is tactile Touch screen to be difficult to trigger, if the too small touch-screen that may result in of the activation threshold value triggered sensitive, easily cause maloperation.
It is understood that after it is determined that touch-screen receives key command, for the ease of the determination of key command next time, needing Touch point coordinates in changing coordinates queue is removed, that is, empties the touch point coordinates stored in the coordinate queue.
Step S303:Processor CPU is performed in display screen display content meets the lateral coordinates and/or longitudinal coordinate The respective operations of variation tendency.
CPU in host computer is performed after key command is received, then in display screen display content meets the transverse direction The respective operations of coordinate and/or longitudinal coordinate variation tendency.Wherein, display screen display content can be understood as what display screen was shown Using such as PPT, flash.
By taking PPT application scenarios as an example, if operation corresponding with the lateral coordinates and/or longitudinal coordinate variation tendency is Lower page turning, then perform the operation of lower page turning to PPT;If behaviour corresponding with the lateral coordinates and/or longitudinal coordinate variation tendency As upper page turning, then to the operation of page turning in PPT execution;If corresponding with the lateral coordinates and/or longitudinal coordinate variation tendency Operation for revocation previous action, then to PPT perform revocation previous action.
As seen from the above technical solution, in the embodiment of the present application, when the application that display screen is shown is full screen display state When, the MCU in slave computer switches to keyboard mode, and now touch-screen is equivalent to a keyboard being external on host computer, in MCU The corresponding relation of the variation tendency for touching point coordinates and key command is configured with, MCU is tactile by what is detected according to the corresponding relation Touch point coordinates and be converted into key command, key response corresponding with the key command is performed by the CPU in host computer.Therefore, when The application that display screen is shown be full screen display state when, can with directly by way of swiping to application program carry out touch control System, it is simple to operate.
Further, since the determination process of key command is realized in slave computer in the above-mentioned technical solutions, host computer Only need to receive corresponding key command, therefore the application program installed in host computer need not be adjusted, it is easy to use.
More fully understand the technical program for the ease of those skilled in the art, below in conjunction with PPT application scenarios to touch Touch point coordinates variation tendency and key command corresponding relation it is illustrative.Wherein, in figs. 4 a-4 c, touch-screen The lower left corner (orientation shown in figure) be origin of coordinates O.
In a kind of possible implementation, variation tendency and the button of touch point lateral coordinates and/or longitudinal coordinate refer to The corresponding relation of order is configured as:If detecting, touch point lateral coordinates are continuously incremented by and/or longitudinal coordinate in the coordinate queue Continuously successively decrease, and changing value exceedes threshold value, it is determined that the key command that the touch-screen is received is lower page turning.
Two kinds of screen sliding operation is shown in Fig. 4 A, is respectively:The operation 401 of first screen sliding and the operation of the second screen sliding 402.Wherein, the orientation that are shown along along figure of the first screen sliding operation 401 are by the left side of touch-screen Slideslip to the right, and touch point is laterally sat Mark is continuous to be incremented by, therefore, when there is the first screen sliding operation 401 on touch-screen, and the button of the lower page turning of MCU generations of slave computer refers to Order.Second screen sliding operates 402 orientation shown along along figure by the downward Slideslip in upside of touch-screen, and touch point longitudinal coordinate is continuous Successively decrease, therefore, when there is the second screen sliding operation 402 on touch-screen, the key command of the lower page turning of MCU generations of slave computer.
In alternatively possible implementation, the variation tendency and button of touch point lateral coordinates and/or longitudinal coordinate The corresponding relation of instruction is configured as:If detecting, touch point lateral coordinates are continuously successively decreased in the coordinate queue and/or longitudinal direction is sat Mark is continuous to be incremented by, and changing value exceedes threshold value, it is determined that the key command that the touch-screen is received is upper page turning.
Two kinds of screen sliding operation is shown in Fig. 4 B, is respectively:The operation 403 of 3rd screen sliding and the operation of the 4th screen sliding 404.Wherein, the orientation that are shown along along figure of the 3rd screen sliding operation 403 are by the right side of touch-screen Slideslip to the left, and touch point is laterally sat Mark continuously successively decreases, therefore, when there is the 3rd screen sliding operation 403 on touch-screen, and the button of page turning refers in the MCU generations of slave computer Order.
The orientation that are shown along along figure of 4th screen sliding operation 404 Slideslip on the side under touch-screen, touch point is longitudinally sat Mark is continuous to be incremented by, therefore, when there is the 4th screen sliding operation 404 on touch-screen, and the button of page turning refers in the MCU generations of slave computer Order.
In alternatively possible implementation, the lateral coordinates of point coordinates and/or the variation tendency of longitudinal coordinate are touched It is configured as with the corresponding relation of key command:If detecting, touch point lateral coordinates value is first incrementally successively decreased again in the coordinate queue Or first successively decrease again incrementally, and/or longitudinal coordinate value is first incrementally successively decreased or first successively decreased again incremental again, it is determined that the touch-screen is received The key command arrived is revocation previous action.
The screen sliding operation of four types is shown in Fig. 4 C, is respectively:5th screen sliding operates the operation of the 405, the 6th screen sliding 406th, the operation 407 of the 7th screen sliding and the 8th screen sliding operation 408.Wherein, the orientation that are shown along along figure of the 5th screen sliding operation 405 first by The left side of touch-screen Slideslip to the right, then by the right side of touch-screen Slideslip to the left, touch point lateral coordinates value is first incremented by passs again Subtract, therefore, when there is the 5th screen sliding operation 405 on touch-screen, the button of the MCU generation revocation previous actions of slave computer refers to Order.
The orientation that 6th screen sliding operation 406 is shown along along figure is first by the right side of touch-screen Slideslip, then by touch-screen to the left Left side Slideslip to the right, touch point lateral coordinates value first successively decreasing and is incremented by again, therefore, being operated when there is the 6th screen sliding on touch-screen When 406, the key command of the MCU generation revocation previous actions of slave computer.
The first Slideslip, then by touch-screen on the side under touch-screen in orientation that 7th screen sliding operation 407 is shown along along figure The downward Slideslip in upside, touch point longitudinal coordinate value first be incremented by successively decreases again, therefore, when on touch-screen exist the 7th screen sliding operate When 407, the key command of the MCU generation revocation previous actions of slave computer.
The orientation that 8th screen sliding operation 408 is shown along along figure is first by the downward Slideslip in upside of touch-screen, then by touch-screen Under Slideslip on the side, touch point longitudinal coordinate value first successively decreasing and is incremented by again, therefore, being operated when there is the 8th screen sliding on touch-screen When 408, the key command of the MCU generation revocation previous actions of slave computer.
Using above-mentioned technical proposal, when the application that display screen is shown is full screen display state, the MCU switchings in slave computer For keyboard mode.But, when the application that display screen is shown is non-full screen display state, it is necessary to recover MCU multiple point touching mould Formula, therefore, in real work, MCU mode of operation needs to switch over the dispaly state of application.Its mainly include with Lower step.
Step S501:Judge whether the application that display screen is currently shown is full screen display state.
In the embodiment of the present application, the dispaly state that can have both been applied by upper computer detection, can pass through slave computer again Detect the dispaly state of application.
Wherein, it is necessary in the system (such as windows systems) of host computer during the dispaly state applied by upper computer detection The middle specific application of installation, passes through API (the Application Programming of the application implementation detecting system Interface, application programming interface) interface, and then determine the dispaly state of application.Pass through showing that the next machine testing is applied When showing state, the MCU of slave computer detects the application in the api interface of host computer in real time, judges whether played in full screen event, And then determine the dispaly state of application.
Step S502:If the application that display screen is currently shown is full screen display state, MCU is switched into keyboard mode.
Wherein, the control mode in the keyboard mode being related in the application i.e. embodiment illustrated in fig. 3.
Step S503:If the application that display screen is currently shown is non-full screen display state, MCU is switched into multiple point touching Pattern.
The multiple point touching pattern includes:After touch point coordinates is detected, send the touch point to processor CPU and sit Mark, the point coordinates that touches is used to indicate that display screen display content performs the respective operations for meeting the touch point coordinates.
For example, processor CPU is after touch point coordinates is received, with the touch point coordinates in display screen display content Corresponding position performs the touch-responsive clicked on.
Using above-mentioned technical proposal, MCU can be switched over according to the dispaly state of application between different mode of operations.
On the basis of above method embodiment, present invention also provides a kind of slave computer.Fig. 6 carries for the embodiment of the present application The structural representation of a kind of slave computer supplied, as shown in fig. 6, the slave computer 600 includes micro-control unit MCU601, touch-screen 602nd, display screen 603 and communication unit 604.These components are communicated by one or more bus, those skilled in the art It is appreciated that the structure of the server shown in figure does not constitute the restriction to the application, it both can be busbar network, It can be hub-and-spoke configuration, can also include than illustrating more or less parts, either combine some parts or different portions Part is arranged.
Wherein, the communication unit 604, for setting up communication channel, so that the micro-control unit MCU601 can be with Communicated with touch-screen 602 and display screen 603.
The micro-control unit MCU601 includes processor and memory.Wherein, the processor, is the control of storage device Center processed, using the various pieces of various interfaces and the whole electronic equipment of connection, storage is stored in by operation or execution Software program and/or module in device, and the data being stored in memory are called, to perform the various functions of electronic equipment And/or processing data.The processor can be made up of integrated circuit (Integrated Circuit, abbreviation IC), for example may be used Constituted, can also be made up of the encapsulation IC of many identical functions of connection or difference in functionality with the IC by single encapsulation.Citing For, processor can only include central processing unit (Central Processing Unit, abbreviation CPU).Implement in the application In mode, CPU can be single arithmetic core, can also include multioperation core.
The memory, the execute instruction for storing processor, memory can be by any kind of volatibility or non- Volatile storage devices or combinations thereof realization, such as static RAM (SRAM), electrically erasable is only Memory (EEPROM) is read, Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM) is read-only to deposit Reservoir (ROM), magnetic memory, flash memory, disk or CD.
When the execute instruction in memory is by computing device so that slave computer, which is able to carry out the following above method, to be implemented Part or all of step in example.
On the basis of above method embodiment, present invention also provides a kind of host computer.Fig. 7 carries for the embodiment of the present application The structural representation of a kind of host computer supplied, as shown in fig. 7, the host computer 700 can include:Processor CPU701, storage Device 702 and communication unit 703.These components are communicated by one or more bus, it will be understood by those skilled in the art that The structure of the server shown in figure does not constitute the restriction to the application, and it both can be busbar network or star Type structure, can also be included than illustrating more or less parts, either combine some parts or different parts arrangement.
Wherein, the communication unit 703, for setting up communication channel, so that the storage device can be set with other It is standby to be communicated.Receive other equipment and send out the user data for being or send user data to other equipment.
The processor CPU701, is the control centre of storage device, utilizes various interfaces and the whole electronics of connection The various pieces of equipment, by operation or perform and are stored in software program and/or module in memory 702, and call and deposit The data in memory are stored up, to perform the various functions and/or processing data of electronic equipment.The processor can be by integrated Circuit (Integrated Circuit, abbreviation IC) is constituted, for example, can be made up of the IC of single encapsulation, can also be by connecting The encapsulation IC of many identical functions or difference in functionality and constitute.For example, processor CPU701 can only include center processing Device.In the application embodiment, CPU can be single arithmetic core, can also include multioperation core.
The memory 702, the execute instruction for storing processor CPU701, memory 702 can be by any types Volatibility or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), electricity can Erasable programmable read-only memory (EPROM) (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
When the execute instruction in memory 702 is performed by processor CPU701 so that host computer 700 is able to carry out following Part or all of step in above method embodiment.
On the basis of above method embodiment, the embodiment of the present application additionally provides a kind of touch-control all-in-one machine, the touch-control All-in-one includes the slave computer shown in Fig. 6 and the host computer shown in Fig. 7, wherein, processor CPU in the host computer and described Micro-control unit MCU communication connections in slave computer.
In the specific implementation, the application also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored There is program, the program may include the part or all of step in each embodiment for the method for calling that the application is provided when performing.Institute The storage medium stated can be magnetic disc, CD, read-only memory (English:Read-only memory, referred to as:ROM) or with Machine storage memory (English:Random access memory, referred to as:RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software The mode of general hardware platform realize.Understood based on such, the technical scheme in the embodiment of the present application substantially or Say that the part contributed to prior art can be embodied in the form of software product, the computer software product can be deposited Storage is in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment (can be with It is personal computer, server, or network equipment etc.) perform some part institutes of each embodiment of the application or embodiment The method stated.
Between the embodiment of each in this specification identical similar part mutually referring to.It is real especially for host computer Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method In explanation.
Above-described the application embodiment does not constitute the restriction to the application protection domain.

Claims (10)

1. the method for toch control under a kind of touch-control all-in-one machine full screen display state, it is characterised in that methods described includes:
The touch point coordinates for detecting coherent touch action is stored in coordinate queue;
If detecting, touch point lateral coordinates and/or longitudinal coordinate consecutive variations trend in the coordinate queue are consistent, and change Value exceedes threshold value, then sends key command to processor CPU, and the key command is used to indicate that display screen display content performs symbol Close the respective operations of the lateral coordinates and/or longitudinal coordinate variation tendency.
2. according to the method described in claim 1, it is characterised in that store the touch point coordinates for detecting coherent touch action In coordinate queue, specifically include:
If detecting push action, the coordinate that the push is acted is stored in coordinate queue;
And detect that other touch point coordinates and continue to be stored in coordinate queue, until when having detected lift action, it is determined that The coordinate queue is the touch coordinate of coherent touch action.
3. according to the method described in claim 1, it is characterised in that the touch point coordinates that coherent touch action will be detected It is stored in coordinate queue, also includes afterwards:
Data in the coordinate queue are calculated, and empty the touch point coordinates stored in the coordinate queue.
4. the method according to claim any one of 1-3, it is characterised in that if detecting the touch point in the coordinate queue Lateral coordinates and/or longitudinal coordinate consecutive variations trend are consistent, and changing value exceedes threshold value, then send button to processor CPU Instruction, including:
If detecting, the touch point lateral coordinates in the coordinate queue are continuously incremented by and/or longitudinal coordinate continuously successively decreases, and change Value exceedes threshold value, then the key command of lower page turning is sent to CPU;
If detecting, the touch point lateral coordinates in the coordinate queue are continuously successively decreased and/or longitudinal coordinate is continuously incremented by, and change Value exceedes threshold value, then to the key command of page turning in CPU transmissions.
5. a kind of method of toch control of touch-control all-in-one machine, it is characterised in that methods described includes:
If the application that display screen is currently shown is full screen display state, using the controlling party described in claim any one of 1-4 Method;
If the application that display screen is currently shown is non-full screen display state, after touch point coordinates is detected, to processor CPU The touch point coordinates is sent, the touch point coordinates is used to indicate that the execution of display screen display content meets the touch point coordinates Respective operations.
6. the method for toch control under a kind of touch-control all-in-one machine full screen display state, it is characterised in that methods described includes:
The key command that micro-control unit MCU is sent is received, the key command is the MCU using pressing that following manner is generated Key is instructed:The touch point coordinates for detecting coherent touch action is stored in coordinate queue;If detecting in the coordinate queue Touch point lateral coordinates and/or longitudinal coordinate consecutive variations trend it is consistent, and changing value exceedes threshold value, then generates button and refer to Order;
The respective operations for meeting the lateral coordinates and/or longitudinal coordinate variation tendency are performed in display screen display content.
7. a kind of method of toch control of touch-control all-in-one machine, it is characterised in that methods described includes:
If the application that display screen is currently shown is full screen display state, using the control method described in claim 6;
If the application that display screen is currently shown is non-full screen display state, the touch point seat that micro-control unit MCU is sent is received Mark;
The respective operations for meeting the touch point coordinates are performed in display screen display content.
8. a kind of slave computer, it is characterised in that including:Micro-control unit MCU and touch-screen, the MCU and the touch-screen lead to Letter connection;
The MCU is used for the method described in perform claim requirement any one of 1-5.
9. a kind of host computer, it is characterised in that including processor CPU;
For the memory for the execute instruction for storing the CPU;
Wherein, the CPU is configured as the method described in perform claim requirement 6 or 7.
10. a kind of touch-control all-in-one machine, it is characterised in that including upper described in the slave computer and claim 9 described in claim 8 Micro-control unit MCU communication connections in processor CPU and the slave computer in position machine, the host computer.
CN201710235100.6A 2017-04-12 2017-04-12 Touch control method and device of touch control all-in-one machine Active CN107092433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710235100.6A CN107092433B (en) 2017-04-12 2017-04-12 Touch control method and device of touch control all-in-one machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710235100.6A CN107092433B (en) 2017-04-12 2017-04-12 Touch control method and device of touch control all-in-one machine

Publications (2)

Publication Number Publication Date
CN107092433A true CN107092433A (en) 2017-08-25
CN107092433B CN107092433B (en) 2021-03-02

Family

ID=59637635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710235100.6A Active CN107092433B (en) 2017-04-12 2017-04-12 Touch control method and device of touch control all-in-one machine

Country Status (1)

Country Link
CN (1) CN107092433B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766028A (en) * 2019-03-18 2019-05-17 深圳市康冠商用科技有限公司 A kind of infrared touch panel touch-control is in charge of system and method
CN110806514A (en) * 2019-09-23 2020-02-18 芜湖宏景电子股份有限公司 Automatic touch key detection system and working method
CN111316207A (en) * 2017-11-23 2020-06-19 深圳市柔宇科技有限公司 Head-mounted display equipment and automatic calibration method of touch device of head-mounted display equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731499A (en) * 2015-03-13 2015-06-24 深圳市中兴移动通信有限公司 Method and device for starting background applications and mobile terminal
CN104915139A (en) * 2015-04-30 2015-09-16 努比亚技术有限公司 Automatic adjusting method and device for brightness of display interface
CN105511774A (en) * 2014-10-17 2016-04-20 深圳Tcl新技术有限公司 Method and device for displaying display terminal interface
JP2016154056A (en) * 2010-04-13 2016-08-25 グリッドマーク株式会社 Stream dot pattern

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016154056A (en) * 2010-04-13 2016-08-25 グリッドマーク株式会社 Stream dot pattern
CN105511774A (en) * 2014-10-17 2016-04-20 深圳Tcl新技术有限公司 Method and device for displaying display terminal interface
CN104731499A (en) * 2015-03-13 2015-06-24 深圳市中兴移动通信有限公司 Method and device for starting background applications and mobile terminal
CN104915139A (en) * 2015-04-30 2015-09-16 努比亚技术有限公司 Automatic adjusting method and device for brightness of display interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316207A (en) * 2017-11-23 2020-06-19 深圳市柔宇科技有限公司 Head-mounted display equipment and automatic calibration method of touch device of head-mounted display equipment
CN109766028A (en) * 2019-03-18 2019-05-17 深圳市康冠商用科技有限公司 A kind of infrared touch panel touch-control is in charge of system and method
CN109766028B (en) * 2019-03-18 2022-03-18 深圳市康冠商用科技有限公司 Touch control sub-management system and method for infrared touch screen
CN110806514A (en) * 2019-09-23 2020-02-18 芜湖宏景电子股份有限公司 Automatic touch key detection system and working method

Also Published As

Publication number Publication date
CN107092433B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
US9965177B2 (en) Event recognition
US9104308B2 (en) Multi-touch finger registration and its applications
CN105760019A (en) Touch operation method and system based on interactive electronic whiteboard
CN105117132B (en) Touch control method and device
CN103218044B (en) A kind of touching device of physically based deformation feedback and processing method of touch thereof
GB2532766A (en) Interaction with a graph for device control
CN101482799A (en) Method for controlling electronic equipment through touching type screen and electronic equipment thereof
CN107092433A (en) The method of toch control and device of touch-control all-in-one machine
CN103389876A (en) Function switching method based on touch display equipment and touch display equipment
US20140298275A1 (en) Method for recognizing input gestures
WO2019185007A1 (en) Window control bar layout method, apparatus and device
CN103809793B (en) Information processing method and electronic device
CN104714643B (en) A kind of method, system and mobile terminal that simulated touch screen is realized using sensor
CN105760077A (en) Game control method and device
TW201506787A (en) Electronic device and inputting managemtne method thereof
CN105204769A (en) Method for realizing handwriting input rapid instruction and mobile terminal
CN104123088B (en) Mouse action implementation method and its device and touch screen terminal
TWI461985B (en) Multi - mode touch system
CN106775236A (en) The control method and control device of electronic equipment virtual identifying
WO2014187419A1 (en) Method and device for simulating mouse operations for touch screen terminal
CN106909293A (en) The method and electronic installation of analog mouse operation
TWI451320B (en) Computer peripheral device and method for controlling scroll bars in different windows
CN108664080A (en) Control method, electronic device and non-instantaneous readable in computer recording medium
CN101887320A (en) Multipoint touch plate control method

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
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant