CN109656387B - Touch key response method for random multi-point operation - Google Patents

Touch key response method for random multi-point operation Download PDF

Info

Publication number
CN109656387B
CN109656387B CN201811549196.4A CN201811549196A CN109656387B CN 109656387 B CN109656387 B CN 109656387B CN 201811549196 A CN201811549196 A CN 201811549196A CN 109656387 B CN109656387 B CN 109656387B
Authority
CN
China
Prior art keywords
touch
touch key
keys
touch keys
response mode
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
CN201811549196.4A
Other languages
Chinese (zh)
Other versions
CN109656387A (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.)
Zhuhai Gotech Intelligent Technology Co Ltd
Original Assignee
Zhuhai Gotech Intelligent 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 Zhuhai Gotech Intelligent Technology Co Ltd filed Critical Zhuhai Gotech Intelligent Technology Co Ltd
Priority to CN201811549196.4A priority Critical patent/CN109656387B/en
Publication of CN109656387A publication Critical patent/CN109656387A/en
Application granted granted Critical
Publication of CN109656387B publication Critical patent/CN109656387B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03547Touch pads, in which fingers can move on a surface
    • 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry

Abstract

The invention relates to a touch key response method for random multi-point operation, which comprises the following steps: receiving a touch key instruction of a user to close touch key interruption, and performing multiple detection on the number of touch keys; and executing a corresponding response mode according to the number of the touch keys for responding. The invention defines and realizes corresponding functional operation by adopting the number, the times and the time of the touch keys which are pressed simultaneously within a certain time, and solves the problem that the function of the touch keys can be realized when the specific positions of the touch keys of the touch pad can not be seen.

Description

Touch key response method for random multi-point operation
Technical Field
The invention relates to the technical field of touch keys, in particular to a touch key response method for random multi-point operation.
Background
When the existing touch pad is used, corresponding operation can be realized only when a finger is pressed to a specific mark on the touch pad, for example, a song needs to be played, a finger is pressed to a mark of the song, and then when a person drives a car, the blind person cannot play the song because of potential safety hazard caused by the fact that the sight of the driver leaves the road, the touch pad cannot be seen, and the blind person cannot see the mark of the song on the touch pad, so that the blind person cannot operate equipment to play the song at the moment, namely, the corresponding function required by the blind person cannot be realized under the condition of losing the visual field, and the problem enables the use scene and the use crowd of the touch pad to be limited.
Disclosure of Invention
The invention provides a touch key response method of random multi-point operation aiming at the defects of the prior art, which defines and realizes corresponding function operation by adopting the number, the times and the time of simultaneously pressing touch keys within a certain time, and solves the problem that the touch key function can be realized when the specific position of the touch key of a touch pad cannot be seen (driving, blind people, night and the like).
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a touch key response method of random multi-point operation, comprising:
receiving a touch key instruction of a user to close touch key interruption, and detecting the number of touch keys for multiple times at intervals;
judging the number of the touch keys to execute a corresponding response mode, wherein the response mode comprises the following steps: single touch key response mode and multi-touch key response mode:
when the single touch key response mode is executed, reading the pressing time, the numerical value and the pressing mode of the touch key to generate a corresponding digital code; when the multi-touch key response mode is executed, reading the time, the times and the pressing modes of a plurality of touch keys which are pressed simultaneously, and generating corresponding digital codes;
sending the digital code to an executive program, and opening a touch key to interrupt to wait for the response of the next touch key;
and the executive program calls the operation function corresponding to the digital code to respond.
Further, the pressing manner includes: n clicks, N double clicks and N presses, wherein N is the number of touch keys.
Further, the interval time for detecting the number of touch keys is 50ms, and the number of times of detection is two times, for preventing the touch keys from shaking.
The beneficial effects of the invention at least comprise: the method of the invention solves the problem that the touch key does not need to be accurately clicked, and the functional operation is determined by controlling the number, the times and the time of simultaneously clicking the touch key, thereby improving the applicable population for using the touch key, increasing the applicable scenes and increasing the practicability of the touch key.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the present invention will be further described in detail with reference to specific examples. The following examples are illustrative only and are not to be construed as limiting the invention. The examples, where specific techniques or conditions are not indicated, are to be construed according to the techniques or conditions described in the literature in the art or according to the product specifications.
According to the embodiment of the present invention, in order to better understand the technical solution of the present invention, the maximum number of touch keys used in this example is three, for example: the intelligent sound box adopts the touch pad to realize the control of the sound box, the touch pad is provided with specific touch key marks of a previous song, a next song, pause/play and the like, but the marks are inconvenient to see during driving and are inconvenient for blind people, and the blind people can not accurately press the keys. It will be appreciated that in other practical products, a greater number of touch keys may be defined as desired.
Fig. 1 is a flowchart of a method according to an embodiment of the present invention, and referring to fig. 1, the method for responding to a touch key by a random multi-point operation according to the present invention mainly includes the following steps.
Step 1: and receiving a touch key instruction of a user to close the touch key interruption, detecting the number of the touch keys every 50ms, and reducing false response caused by shaking of the touch keys.
Step 2: since the maximum number of touch keys employed in this embodiment is three, corresponding response modes are respectively executed according to the number of the three touch keys, and the response modes include: the single touch key response mode and the multi-touch key response mode are understood that one touch key executes the single touch key response mode, and two, three or more touch keys execute the multi-touch key response mode, so that the number of touch keys pressed by a user is judged:
step 2-1: when only one touch key is pressed by the user, executing the single-touch-key response mode: reading the pressing time, the numerical value and the pressing mode of the touch key, and generating a numerical code corresponding to the touch key, wherein the pressing mode is as follows: single click, double click and press;
step 2-2: when the number of the touch keys pressed by the user is two, the multi-touch key response mode is executed: ignoring the specific numerical values of the touch keys, reading the time, the times and the pressing modes of the two touch keys which are pressed simultaneously, and generating corresponding digital codes, wherein the pressing modes are as follows: double click, double click and double press;
step 2-3: when three touch keys are pressed by the user, the multi-touch key response mode is executed: ignoring the specific numerical values of the touch keys, reading the time, the times and the pressing modes of three touch keys which are pressed simultaneously, and generating corresponding digital codes, wherein the pressing modes are as follows: three clicks, three double clicks and three presses.
According to other embodiments of the present invention, when there are more than three touch keys, the analogy is made according to steps 2-2 and 2-3, and the description is omitted here.
And step 3: and sending the digital codes generated in different response modes to an execution program, and opening a touch key to interrupt to wait for the response of the next touch key.
And 4, step 4: and the executive program calls the operation function corresponding to the digital code to realize the corresponding operation function, namely the touch key response of random multi-point operation.
In conclusion, the method of the invention solves the problem that the touch keys do not need to be accurately clicked, and the functional operation is determined by controlling the number, the times and the time of simultaneously clicking the touch keys, thereby improving the applicable population for using the touch keys, increasing the applicable scenes and increasing the practicability of the touch keys.
Although embodiments of the present invention have been shown and described, it is understood that the embodiments are illustrative and not restrictive, that various changes, modifications, substitutions and alterations may be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (2)

1. A touch key response method for random multipoint operation, comprising:
receiving a touch key instruction of a user to close touch key interruption, and detecting the number of touch keys for multiple times at intervals; specifically, the interval time for detecting the number of touch keys is 50ms, and the detection times are two times, so as to prevent the touch keys from shaking;
judging the number of the touch keys to execute a corresponding response mode, wherein the response mode comprises the following steps: single touch key response mode and multi-touch key response mode:
when the single touch key response mode is executed, reading the pressing time, the numerical value and the pressing mode of the touch key to generate a corresponding digital code; when the multi-touch key response mode is executed, reading the time, the times and the pressing modes of a plurality of touch keys which are pressed simultaneously, and generating corresponding digital codes;
sending the digital code to an executive program, and opening a touch key to interrupt to wait for the response of the next touch key;
and the executive program calls the operation function corresponding to the digital code to respond.
2. The touch key response method of claim 1, wherein the pressing manner comprises: n clicks, N double clicks and N presses, wherein N is the number of touch keys.
CN201811549196.4A 2018-12-18 2018-12-18 Touch key response method for random multi-point operation Active CN109656387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811549196.4A CN109656387B (en) 2018-12-18 2018-12-18 Touch key response method for random multi-point operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811549196.4A CN109656387B (en) 2018-12-18 2018-12-18 Touch key response method for random multi-point operation

Publications (2)

Publication Number Publication Date
CN109656387A CN109656387A (en) 2019-04-19
CN109656387B true CN109656387B (en) 2022-03-18

Family

ID=66114518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811549196.4A Active CN109656387B (en) 2018-12-18 2018-12-18 Touch key response method for random multi-point operation

Country Status (1)

Country Link
CN (1) CN109656387B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410781A (en) * 2006-01-30 2009-04-15 苹果公司 Gesturing with a multipoint sensing device
CN102253744A (en) * 2010-05-17 2011-11-23 致伸科技股份有限公司 Method for controlling touch panel and touch device using method
CN102279665A (en) * 2011-06-24 2011-12-14 Tcl集团股份有限公司 Television remote control method, device and system based on touchpad remote control
CN202548760U (en) * 2012-01-09 2012-11-21 深圳市鸿顺泰科技有限公司 Multi-point touch and multi-language handwriting recognition wireless keyboard
CN103577086A (en) * 2012-08-08 2014-02-12 杨丽 Method for realizing shortcut key mode on touchpad
CN104951093A (en) * 2014-03-31 2015-09-30 维沃移动通信有限公司 Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal
CN106775290A (en) * 2016-11-23 2017-05-31 深圳铂睿智恒科技有限公司 The control method of touch panel device, system and touch panel device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101445196B1 (en) * 2007-11-23 2014-09-29 삼성전자주식회사 Method and apparatus for inputting character in portable terminal having touch screen

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410781A (en) * 2006-01-30 2009-04-15 苹果公司 Gesturing with a multipoint sensing device
CN104020850A (en) * 2006-01-30 2014-09-03 苹果公司 Gesturing with a multipoint sensing device
CN102253744A (en) * 2010-05-17 2011-11-23 致伸科技股份有限公司 Method for controlling touch panel and touch device using method
CN102279665A (en) * 2011-06-24 2011-12-14 Tcl集团股份有限公司 Television remote control method, device and system based on touchpad remote control
CN202548760U (en) * 2012-01-09 2012-11-21 深圳市鸿顺泰科技有限公司 Multi-point touch and multi-language handwriting recognition wireless keyboard
CN103577086A (en) * 2012-08-08 2014-02-12 杨丽 Method for realizing shortcut key mode on touchpad
CN104951093A (en) * 2014-03-31 2015-09-30 维沃移动通信有限公司 Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal
CN106775290A (en) * 2016-11-23 2017-05-31 深圳铂睿智恒科技有限公司 The control method of touch panel device, system and touch panel device

Also Published As

Publication number Publication date
CN109656387A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
WO2017118329A1 (en) Method and apparatus for controlling tab bar
CN103544973B (en) The song control method of a kind of music player and device
CN103324440A (en) Text content selecting method utilizing multi-point touch control
CN102819352A (en) Method and device for controlling terminal equipment
WO2016045331A1 (en) Method and apparatus for barrier-free intelligent terminal to implement interaction
US10739984B1 (en) System for detection of input device
US10628031B2 (en) Control instruction identification method and apparatus, and storage medium
CN104598133B (en) The specification generation method and device of object
CN103389871A (en) Control method for electronic equipment and electronic equipment
CN105607784A (en) Method for adjusting sensitivity of touch screen, adjusting device and terminal
CN109656387B (en) Touch key response method for random multi-point operation
CN104020989A (en) Control method and system based on remote application
CN109550232A (en) Touch control device and its response method, device
CN108475126A (en) The processing method and touch keyboard of touch operation
CN103176723A (en) Processing method and processing device for touch response
WO2023071610A1 (en) Execution method, electronic device, and computer storage medium
CN109446351B (en) Method for controlling PPT to automatically turn pages
CN107656691A (en) A kind of display methods of sidebar, device, equipment and storage medium
US20170168686A1 (en) Method and electronic device for processing list item operation
CN107957827B (en) Touch identification method and system based on capacitive touch panel
CN105022263A (en) Method for controlling intelligent watch and intelligent watch
CN104407763A (en) Content input method and system
US9940900B2 (en) Peripheral electronic device and method for using same
CN107783687A (en) Control intelligent back vision mirror method, apparatus, can touch control operation intelligent back vision mirror
CN105700875A (en) Intelligent task switching method and module

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