CN103186269A - Region judgment control method and system for touch screen - Google Patents

Region judgment control method and system for touch screen Download PDF

Info

Publication number
CN103186269A
CN103186269A CN2011104553560A CN201110455356A CN103186269A CN 103186269 A CN103186269 A CN 103186269A CN 2011104553560 A CN2011104553560 A CN 2011104553560A CN 201110455356 A CN201110455356 A CN 201110455356A CN 103186269 A CN103186269 A CN 103186269A
Authority
CN
China
Prior art keywords
touch
coordinate
screen
judged
effective coverage
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.)
Pending
Application number
CN2011104553560A
Other languages
Chinese (zh)
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.)
Beijing Aeonmed Co Ltd
Original Assignee
Beijing Aeonmed 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 Beijing Aeonmed Co Ltd filed Critical Beijing Aeonmed Co Ltd
Priority to CN2011104553560A priority Critical patent/CN103186269A/en
Publication of CN103186269A publication Critical patent/CN103186269A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a region judgment control method and a system for a touch screen. The method comprises the steps as follows: S1, setting an appointed region of the touch screen as an effective region; S2, judging if a touch point is in the set region, if so, carrying out the step S3, and if not, shielding the touch operation; and S3, judging if the touch operation is valid by judging if a press-down coordinate and a release coordinate are in the effective region; and only when both the press-down return coordinate and the release return coordinate generated by the press-down and release actions of a user are in the effective region, making a response and performing a corresponding operation by a touch system, and otherwise, shielding the touch operation. When the touch screen is clicked by the user, both the press-down coordinate and the release coordinate generated by the press-down and release actions are judged, so that the situation that the clicking position is valid and the release position is invalid can be prevented from occurring in the operation process; and meanwhile, the press-down and release coordinates can be judged by a development board, so that the hardware cost is saved.

Description

A kind of region decision control method and system of touch-screen
Technical field
The invention belongs to technical field of medical instruments, relate to a kind of region decision control method and system of touch-screen.
Background technology
In the operation of healthcare givers to Anesthesia machine, often come Anesthesia machine is operated by the button that shuttles back and forth.When being in an emergency down, loaded down with trivial details operation may cause damage to patient, and touch screen control can provide operating of more convenient and quicker.
And existing touch screen control method, thereby it is with by clicking the control trigger event of software because need the software of high level language, need build system platform therefore to the requirement of hardware than higher.If high-level software is used in touch-screen control, for example: C# etc., realize then the hardware platform of building being had higher requirements by control, therefore improved the cost of product.Therefore, for this field, how providing a kind of identical function, handled easily can realized can reduce hardware cost simultaneously again, is the technical matters that presses for solution.
Summary of the invention
Owing to the cost problem of conventional touch screen control, the present invention proposes a kind of region decision control method and system of touch-screen, can reduce the requirement of CPU and storage space by this programme, so reduce hardware cost.
Technical scheme of the present invention is: a kind of region decision control method of touch-screen is provided, has comprised the steps:
S1. an appointed area setting touch-screen is the effective coverage;
S2. judge touch point whether in setting regions, if, carry out step S3, if not, then shield this touch control operation;
Whether return coordinate after returning coordinate when S3. pressing by judgement and unclamping comes whether touch-control is effectively judged in the effective coverage; Have only the user to press and unclamp after the coordinate that returns all in the effective coverage, touch-control system just can respond, and operates accordingly, otherwise shields this touch control operation.
Further, step S3 detailed process is: when the user after touch-screen is pressed, whether touch-screen returns a coordinate, judge in the effective coverage by the coordinate that parsing is returned, if do not exist, then is judged to be faulty operation, this touch control operation of system mask; If, after the user unclamped, touch screen returned a coordinate, judged that this unclamps to return coordinate whether in the effective coverage, if do not exist, then was judged to be faulty operation, this touch control operation of system mask; If, system just carries out proper operation.
Further, adopt development board to coming aforesaid operations to be judged.
The invention also discloses a kind of region decision control system of touch-screen, comprising:
Set effective territory element, an appointed area that is used for the setting touch-screen is the effective coverage;
Judge the touch point unit, with set effective territory element, screen unit is connected, and is used for judging that touch point is whether in setting regions;
Judge and to return the coordinate unit, be connected with judging touch point unit, screen unit, return coordinate when being used for pressing by judgement and unclamp after return coordinate and whether in the effective coverage, come whether touch-control is effectively judged; Have only the user to press and unclamp after the coordinate that returns all in the effective coverage, touch-control system just can respond, and operates accordingly, otherwise shields this touch control operation;
Screen unit returns the coordinate unit and is connected with judging touch point unit, judgement, is used for this touch control operation of shielding.
Further, judge that return the coordinate unit comprises: when the user after touch-screen is pressed, touch-screen returns a coordinate, whether in the effective coverage, judge by the coordinate that parsing is returned, if do not exist, then be judged to be faulty operation, this touch control operation of system mask; If, after the user unclamped, touch screen returned a coordinate, judged that this unclamps to return coordinate whether in the effective coverage, if do not exist, then was judged to be faulty operation, this touch control operation of system mask; If, system just carries out proper operation.
Further, adopt development board to coming aforesaid operations to be judged.
When technical solution of the present invention is clicked touch screen the user, it is pressed and the coordinate that returns that unclamps 2 operations is all judged, thereby avoid occurring in the operating process clicking at active position, unclamp at this generic operation of inoperative position.In the zone of setting, this method can use development board that it is judged, so has just saved hardware cost in the click that the present invention simultaneously judges the user by the touch area.
Description of drawings
Fig. 1 is the region decision control method schematic flow sheet of a kind of touch-screen of the embodiment of the invention.
Embodiment
Describe technical scheme of the present invention and embodiment in detail below in conjunction with accompanying drawing:
Technical solution of the present invention is to be the effective coverage by setting an appointed area, only press according to the user then and unclamp after the coordinate that returns all behind the effective coverage touch-control system just can respond, operate accordingly.
Present embodiment discloses a kind of region decision control method of touch-screen, as shown in Figure 1, be specially: when the user after touch-screen is pressed, touch-screen can return a coordinate, whether the coordinate that program is returned by parsing is judged in the effective coverage, if not in the effective coverage, then be judged to be faulty operation, this touch control operation of system mask; If in the effective coverage, after the user unclamped, touch screen returned a coordinate, judged that this unclamps to return coordinate whether in the effective coverage, if not in the effective coverage, then was judged to be faulty operation, this touch control operation of system mask; If in the effective coverage, system just carries out proper operation.
Accordingly, present embodiment also discloses a kind of region decision control system of touch-screen, comprising:
Set effective territory element, an appointed area that is used for the setting touch-screen is the effective coverage; Judge the touch point unit, with set effective territory element, screen unit is connected, and is used for judging that touch point is whether in setting regions; Judge and to return the coordinate unit, be connected with judging touch point unit, screen unit, return coordinate when being used for pressing by judgement and unclamp after return coordinate and whether in the effective coverage, come whether touch-control is effectively judged; Have only the user to press and unclamp after the coordinate that returns all in the effective coverage, touch-control system just can respond, and operates accordingly, otherwise shields this touch control operation; Screen unit returns the coordinate unit and is connected with judging touch point unit, judgement, is used for this touch control operation of shielding.
In a word, the present invention then shields this touch control operation as long as any one is arranged not in the effective coverage when the coordinate pressed and the coordinate that returns, returns coordinate and all then operates accordingly in the effective coverage of appointment if press to return coordinate and unclamp.
The present invention is by carrying out a earlier: whether region decision responds in setting regions by judging touch point; Carry out b again: twice judgement, return coordinate after returning coordinate when pressing by judgement and unclamping and whether effectively come touch-control.Thereby avoid occurring in the operating process clicking at active position, unclamp the appearance at this generic operation of inoperative position, this method can use development board that it is judged, has therefore just saved hardware cost.
Above-mentioned only is preferred embodiment of the present invention and institute's application technology principle, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses, the variation that can expect easily or replacement, all should be encompassed in protection scope of the present invention in.

Claims (6)

1. the region decision control method of a touch-screen is characterized in that, comprises the steps:
S1. an appointed area setting touch-screen is the effective coverage;
S2. judge touch point whether in setting regions, if, carry out step S3, if not, then shield this touch control operation;
Whether return coordinate after returning coordinate when S3. pressing by judgement and unclamping comes whether touch-control is effectively judged in the effective coverage; Have only the user to press and unclamp after the coordinate that returns all in the effective coverage, touch-control system just can respond, and operates accordingly, otherwise shields this touch control operation.
2. the region decision control method of touch-screen as claimed in claim 1, it is characterized in that, step S3 detailed process is: when the user after touch-screen is pressed, touch-screen returns a coordinate, whether in the effective coverage, judge by the coordinate that parsing is returned, if do not exist, then be judged to be faulty operation, this touch control operation of system mask; If, after the user unclamped, touch screen returned a coordinate, judged that this unclamps to return coordinate whether in the effective coverage, if do not exist, then was judged to be faulty operation, this touch control operation of system mask; If, system just carries out proper operation.
3. the region decision control method of touch-screen as claimed in claim 1 or 2 is characterized in that, adopts development board to coming aforesaid operations to be judged.
4. the region decision control system of a touch-screen is characterized in that, comprising:
Set effective territory element, an appointed area that is used for the setting touch-screen is the effective coverage;
Judge the touch point unit, with set effective territory element, screen unit is connected, and is used for judging that touch point is whether in setting regions;
Judge and to return the coordinate unit, be connected with judging touch point unit, screen unit, return coordinate when being used for pressing by judgement and unclamp after return coordinate and whether in the effective coverage, come whether touch-control is effectively judged; Have only the user to press and unclamp after the coordinate that returns all in the effective coverage, touch-control system just can respond, and operates accordingly, otherwise shields this touch control operation;
Screen unit returns the coordinate unit and is connected with judging touch point unit, judgement, is used for this touch control operation of shielding.
5. the region decision control system of touch-screen as claimed in claim 4, it is characterized in that, wherein, judge that return the coordinate unit further comprises: when the user after touch-screen is pressed, whether touch-screen returns a coordinate, judge in the effective coverage by the coordinate that parsing is returned, if do not exist, then be judged to be faulty operation, this touch control operation of system mask; If, after the user unclamped, touch screen returned a coordinate, judged that this unclamps to return coordinate whether in the effective coverage, if do not exist, then was judged to be faulty operation, this touch control operation of system mask; If, system just carries out proper operation.
6. as the region decision control system of claim 4 or 5 described touch-screens, it is characterized in that, adopt development board to coming aforesaid operations to be judged.
CN2011104553560A 2011-12-30 2011-12-30 Region judgment control method and system for touch screen Pending CN103186269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104553560A CN103186269A (en) 2011-12-30 2011-12-30 Region judgment control method and system for touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104553560A CN103186269A (en) 2011-12-30 2011-12-30 Region judgment control method and system for touch screen

Publications (1)

Publication Number Publication Date
CN103186269A true CN103186269A (en) 2013-07-03

Family

ID=48677467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104553560A Pending CN103186269A (en) 2011-12-30 2011-12-30 Region judgment control method and system for touch screen

Country Status (1)

Country Link
CN (1) CN103186269A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014026633A1 (en) * 2012-08-17 2014-02-20 小米科技有限责任公司 Method for preventing misoperation of touchscreen, touchscreen and mobile terminal
CN104345947A (en) * 2013-08-07 2015-02-11 华为终端有限公司 Mistaken touch prevention method and device
CN106155547A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 A kind of intelligent terminal's processing method, intelligent terminal's processing means and intelligent terminal thereof
CN109871142A (en) * 2019-01-25 2019-06-11 广州华欣电子科技有限公司 A kind of touch shielding method, apparatus, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021762A (en) * 2007-03-26 2007-08-22 宇龙计算机通信科技(深圳)有限公司 Touch screen locking device and method
CN101364160A (en) * 2008-09-24 2009-02-11 广东威创视讯科技股份有限公司 Error correcting method for touch screen
CN101661375A (en) * 2009-09-24 2010-03-03 宇龙计算机通信科技(深圳)有限公司 Touch control method, system and display terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021762A (en) * 2007-03-26 2007-08-22 宇龙计算机通信科技(深圳)有限公司 Touch screen locking device and method
CN101364160A (en) * 2008-09-24 2009-02-11 广东威创视讯科技股份有限公司 Error correcting method for touch screen
CN101661375A (en) * 2009-09-24 2010-03-03 宇龙计算机通信科技(深圳)有限公司 Touch control method, system and display terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014026633A1 (en) * 2012-08-17 2014-02-20 小米科技有限责任公司 Method for preventing misoperation of touchscreen, touchscreen and mobile terminal
US9489068B2 (en) 2012-08-17 2016-11-08 Beijing Xiaomi Technology Co., Ltd. Methods and apparatus for preventing accidental touch operation
CN104345947A (en) * 2013-08-07 2015-02-11 华为终端有限公司 Mistaken touch prevention method and device
CN104345947B (en) * 2013-08-07 2017-10-31 华为终端有限公司 A kind of method and apparatus for preventing false touch from touching touch-screen
CN107741793A (en) * 2013-08-07 2018-02-27 华为终端有限公司 A kind of method and apparatus for preventing false touch from touching touch-screen
CN106155547A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 A kind of intelligent terminal's processing method, intelligent terminal's processing means and intelligent terminal thereof
CN109871142A (en) * 2019-01-25 2019-06-11 广州华欣电子科技有限公司 A kind of touch shielding method, apparatus, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103135818B (en) Quick operation response method and electronic equipment
CN103699454B (en) Emergency processing method of broken touch screen of computer system and application of emergency processing method
RU2014134457A (en) HYBRID TOUCH SCREEN DEVICE AND METHOD FOR ITS FUNCTIONING
CN108463792A (en) A kind of false-touch prevention method and terminal
US20110018828A1 (en) Touch device, control method and control unit for multi-touch environment
CN103186269A (en) Region judgment control method and system for touch screen
CN104166515B (en) A kind of mobile terminal touch screen unlocking method and system
CN103186333B (en) Electronic equipment unlocking system and method
CN104571693A (en) Information processing method and electronic equipment
CN102929425B (en) A kind of touch key control method and device
CN105677223B (en) A kind of pressing touch control method and device
CN102043566A (en) Electronic device with touch panel and operating method thereof
CN104657689B (en) A kind of contact action control method and device of mobile terminal
CN102253774A (en) Information input device and method with function of eliminating mutual interference among sensing signals
CN103677578A (en) Partial shielding method for screen and portable terminal with adoption of method
EP3089015A1 (en) Processing method for touch signal and terminal device
CN105867830A (en) Fingerprint identification-based processing method and mobile terminal
CN101498984B (en) Computer cursor control system and method for controlling cursor movement
CN110287666A (en) The method and relevant apparatus of unlocked by fingerprint
CN105117223A (en) Processing method and system of input event
CN104407793A (en) Method and equipment for processing touch signal
CN102945097A (en) Method and system for anti-interference of touch screen
CN101930309B (en) Method and device for preventing false triggering caused by touching key
CN107577404B (en) Information processing method and device and electronic equipment
CN103809793B (en) Information processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130703