CN107153485A - Alarm method and alarm terminal based on touch-screen - Google Patents
Alarm method and alarm terminal based on touch-screen Download PDFInfo
- Publication number
- CN107153485A CN107153485A CN201710399408.4A CN201710399408A CN107153485A CN 107153485 A CN107153485 A CN 107153485A CN 201710399408 A CN201710399408 A CN 201710399408A CN 107153485 A CN107153485 A CN 107153485A
- Authority
- CN
- China
- Prior art keywords
- touch
- screen
- trigger action
- press key
- alarm
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
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)
- Input From Keyboards Or The Like (AREA)
Abstract
The invention provides a kind of alarm method and alarm terminal based on touch-screen, methods described includes:Whether detection touch-screen receives trigger action;Obtain the corresponding press key contents of trigger action;Perform press key contents and preserve information.The present invention is by being fabricated to code by all operational orders of warning system and being shown in touch-screen by graphic form, keyboard with touch screen uses absolute coordinate system, simple to operate, autgmentability is more preferable, simultaneously also can be well in liquid crystal display screen display from the remotely located host information of platform and cloth operation of withdraw, it is ensured that the uniformity of information shown in keyboard and main frame relevant information.
Description
Technical field
The invention belongs to police service apparatus field, more particularly to a kind of alarm method and alarm terminal based on touch-screen.
Background technology
Alarm host machine is to use physical method or electronic technology, and the intrusion row in monitored area of deploying troops on garrison duty occurs for automatic detection
To produce alarm signal, and the region portion for pointing out operator on duty to alarm, showing the system that may be taken some countermeasures.Alarm
Main frame is the critical facility of the accidents such as pre- rob-proof, theft.Burglar alarm main frame and gateway control system, closed-circuit television
Monitoring system, caller interphone system and electronic patrol system etc. together form safety and protection system.And in the market warning system
Keyboard is numeric keyboard, is configured by remembering the digital code each ordered, not only troublesome poeration, can also be because
For misremember code and operating mistake, cause damage.
The content of the invention
In view of this, the present invention provides a kind of alarm method and alarm terminal based on touch-screen, to solve button
The problem of keyboard operation is complicated, extension is inconvenient.
The present invention uses following technical scheme:
A kind of alarm method based on touch-screen, comprises the following steps:
Whether detection touch-screen receives trigger action;
Obtain the corresponding press key contents of trigger action;
Perform press key contents and preserve information.
It is preferred that, in addition to system initialization, the system initialization includes:
Start CPU core;
Initialize internal memory, UCOS and peripheral hardware;
Read Flash information;
GPRS is initialized.
It is preferred that, the corresponding press key contents of the acquisition trigger action, including:
Obtain the corresponding touch-screen position of trigger action;
Obtain the corresponding button in the touch-screen position;
Obtain the press key contents of the button.
It is preferred that, in addition to:Return and perform content and show on the touchscreen.
A kind of alarm terminal based on touch-screen, including:
Detection module, for detecting whether touch-screen receives trigger action;
Acquisition module, for obtaining the corresponding press key contents of trigger action;
Performing module, for performing press key contents and preserving information.
It is preferred that, in addition to just as changed module, the initialization module includes:
Start submodule, for starting CPU core;
First initialization submodule, for initializing internal memory, UCOS and peripheral hardware;
Reading submodule, for reading Flash information;
Second initialization submodule, for GPRS initialization.
It is preferred that, the acquisition module includes:
First acquisition submodule, for obtaining the corresponding touch-screen position of trigger action;
Second acquisition submodule, for obtaining the corresponding button in the touch-screen position;
3rd acquisition submodule, the press key contents for obtaining the button.
It is preferred that, in addition to:Display module, for returning to execution content and showing on the touchscreen.
Beneficial effects of the present invention are as follows:
The present invention uses touch screen operation mode, not only simple to operate, directly perceived, and the convenient more operation items of extension,
Traditional every button of touch-tone keypad will specific one or two (limited) definition, increase operation item means that
Increase number of keys, this just brings inconvenience to extension, and this limitation is just not present in keyboard with touch screen, can be in touch-screen
Any position increases virtual button, it is only necessary to which required extended operation can just be completed by assigning the definition of this block position newly.
The alarm terminal of the present invention uses tactile keyboard, by the way that all operational orders of warning system are fabricated into code
And shown in touch-screen by graphic form, while keyboard with touch screen uses absolute coordinate system, it is only necessary to any point selected
Which, has given up many steps, has made operation simpler.Traditional mechanical key is abandoned in design, only remaining complete display
Folding-Screen, increases the space of display, and not only every single stepping of keyboard all can synchronous on a display screen, intuitively be shown, main frame pair
The setting response of keyboard can also embody well, it is ensured that user often walks the purpose of operation very clearly, clearly, plays good finger
Draw effect.It can also be protected simultaneously from the remotely located host information of platform and cloth operation of withdraw well in liquid crystal display screen display
The uniformity of information shown in keyboard and main frame relevant information is demonstrate,proved.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, the reality with the present invention
Applying example is used to explain the present invention together, is not construed as limiting the invention.
Fig. 1 is a kind of method flow diagram of the alarm method based on touch-screen of the present invention.
Fig. 2 is a kind of method flow diagram of the alarm method step S2 based on touch-screen of the present invention.
Fig. 3 is a kind of method flow diagram of the alarm method embodiment 1 based on touch-screen of the present invention.
Fig. 4 is a kind of structured flowchart of the alarm terminal based on touch-screen of the present invention.
Fig. 5 is a kind of structured flowchart of the alarm terminal step acquisition module based on touch-screen of the present invention.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein
Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
As shown in figure 1, a kind of alarm method based on touch-screen, comprises the following steps S1-S3:
Whether step S1, detection touch-screen receives trigger action;
Step S2, obtains the corresponding press key contents of trigger action;
Step S3, performs press key contents and preserves information.
The technical scheme that the embodiment of the present invention is used, using touch screen operation mode, the virtual key on touch-screen is included
All key entries of traditional touch-tone keyboard, conventional keys are shown on the picture of touch-screen, and shown with graphic form
Out, various operation of virtual key are high-visible, it is not necessary to which the digital code each ordered of memory is configured, it is to avoid tradition
Touch-tone keypad due to misremember code and operating mistake and the problem of cause damage.After press key contents have been performed, also by touching
Touch screen to be operated, preserve this execution content information, it is convenient to inquire about later.
In one embodiment, at the beginning of technical scheme provided in an embodiment of the present invention also includes system initialization, the system
Beginning includes:
Start CPU core;
Initialize internal memory, UCOS and peripheral hardware;
Read Flash information;
GPRS is initialized.
In the embodiment, initialization step is performed before other steps start, and is started after CPU core, initialization internal memory,
UCOS, peripheral hardware and GPRS, then perform next step operation, perform the trigger action detecting step of touch-screen.
In one embodiment, as shown in Fig. 2 the step S2 may be embodied as:
Step S201, obtains the corresponding touch-screen position of trigger action;
Step S202, obtains the corresponding button in the touch-screen position;
Step S203, obtains the press key contents of the button.
In the embodiment, in the screen-picture of touch-screen, diverse location of the various virtual keys in screen is virtually being pressed
In key, the content of the button is shown with graphic form, when operating alarm terminal, touches or presses the virtual key, alarm
Terminal is to get the trigger action, the position of the corresponding position correspondence virtual key of the trigger action, is thus obtained in button
Hold.
In one embodiment, in addition to:Return and perform content and show on the touchscreen.
In the embodiment, perform after all operations, can return to execution content, and shown that this performs behaviour on the touchscreen
The relevant information of work, so that operator confirms that the operation has sent and actually performed.
Illustrate the alarm method provided in an embodiment of the present invention based on touch-screen below by specific embodiment.
Embodiment 1:
As shown in figure 3, a kind of alarm method based on touch-screen, comprises the following steps:
Start CPU core;
Initialize internal memory;
Initialize UCOS;
Initialize peripheral hardware;
Read Flash information;
GPRS is initialized;
Whether detection touch-screen receives trigger action, that is, detects whether button sends information;If result is yes, under performing
One step, if the result is negative, then re-executes whether detection touch-screen receives trigger action step;
Obtain the corresponding press key contents of trigger action;
Perform press key contents and preserve information;
Return and perform content and show.
The technical scheme that the present embodiment is provided, it is not only simple to operate, directly perceived using touch screen operation mode, and conveniently
Extend more operation items, traditional every button of touch-tone keypad will specific one or two (limited) definition, increase
Add operation project means that increase number of keys, and this just brings inconvenience to extension, and keyboard with touch screen is just in the absence of this
Limitation, can increase virtual button in any position of touch-screen, it is only necessary to which assigning this definition of block position newly can just complete
Required extended operation.
A kind of alarm method based on touch-screen provided corresponding to above-described embodiment, the embodiment of the present invention also provides one kind
Alarm terminal based on touch-screen, as shown in figure 4, including:
Detection module 1, for detecting whether touch-screen receives trigger action;
Acquisition module 2, for obtaining the corresponding press key contents of trigger action;
Performing module 3, for performing press key contents and preserving information.
In one embodiment, in addition to just as changed module, the initialization module includes:
Start submodule, for starting CPU core;
First initialization submodule, for initializing internal memory, UCOS and peripheral hardware;
Reading submodule, for reading Flash information;
Second initialization submodule, for GPRS initialization.
In one embodiment, as shown in figure 5, the acquisition module 2 includes:
First acquisition submodule 201, for obtaining the corresponding touch-screen position of trigger action;
Second acquisition submodule 202, for obtaining the corresponding button in the touch-screen position;
3rd acquisition submodule 203, the press key contents for obtaining the button.
In one embodiment, in addition to:Display module, for returning to execution content and showing on the touchscreen.
The alarm terminal of the present invention uses tactile keyboard, by the way that all operational orders of warning system are fabricated into code
And shown in touch-screen by graphic form, while keyboard with touch screen uses absolute coordinate system, it is only necessary to any point selected
Which, has given up many steps, has made operation simpler.Traditional mechanical key is abandoned in design, only remaining complete display
Folding-Screen, increases the space of display, and not only every single stepping of keyboard all can synchronous on a display screen, intuitively be shown, main frame pair
The setting response of keyboard can also embody well, it is ensured that user often walks the purpose of operation very clearly, clearly, plays good finger
Draw effect.It can also be protected simultaneously from the remotely located host information of platform and cloth operation of withdraw well in liquid crystal display screen display
The uniformity of information shown in keyboard and main frame relevant information is demonstrate,proved.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (8)
1. a kind of alarm method based on touch-screen, it is characterised in that:Comprise the following steps:
Whether detection touch-screen receives trigger action;
Obtain the corresponding press key contents of trigger action;
Perform press key contents and preserve information.
2. the alarm method according to claim 1 based on touch-screen, it is characterised in that:Also include system initialization, institute
Stating system initialization includes:
Start CPU core;
Initialize internal memory, UCOS and peripheral hardware;
Read Flash information;
GPRS is initialized.
3. the alarm method according to claim 1 based on touch-screen, it is characterised in that:The acquisition trigger action correspondence
Press key contents, including:
Obtain the corresponding touch-screen position of trigger action;
Obtain the corresponding button in the touch-screen position;
Obtain the press key contents of the button.
4. the alarm method according to claim 1 based on touch-screen, it is characterised in that:Also include:Return and perform content
And show on the touchscreen.
5. a kind of alarm terminal based on touch-screen, it is characterised in that:Including:
Detection module, for detecting whether touch-screen receives trigger action;
Acquisition module, for obtaining the corresponding press key contents of trigger action;
Performing module, for performing press key contents and preserving information.
6. the alarm terminal according to claim 5 based on touch-screen, it is characterised in that:Also include just as changed module, institute
Stating initialization module includes:
Start submodule, for starting CPU core;
First initialization submodule, for initializing internal memory, UCOS and peripheral hardware;
Reading submodule, for reading Flash information;
Second initialization submodule, for GPRS initialization.
7. the alarm terminal according to claim 5 based on touch-screen, it is characterised in that:The acquisition module includes:
First acquisition submodule, for obtaining the corresponding touch-screen position of trigger action;
Second acquisition submodule, for obtaining the corresponding button in the touch-screen position;
3rd acquisition submodule, the press key contents for obtaining the button.
8. the alarm terminal according to claim 5 based on touch-screen, it is characterised in that:Also include:Display module, is used for
Return and perform content and show on the touchscreen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710399408.4A CN107153485A (en) | 2017-05-31 | 2017-05-31 | Alarm method and alarm terminal based on touch-screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710399408.4A CN107153485A (en) | 2017-05-31 | 2017-05-31 | Alarm method and alarm terminal based on touch-screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107153485A true CN107153485A (en) | 2017-09-12 |
Family
ID=59795961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710399408.4A Pending CN107153485A (en) | 2017-05-31 | 2017-05-31 | Alarm method and alarm terminal based on touch-screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107153485A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108628725A (en) * | 2018-04-04 | 2018-10-09 | 南京英贝特智能科技有限公司 | A kind of the status display control system and application method of alarm system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2473237A (en) * | 2009-09-04 | 2011-03-09 | Hitachi Ltd | Wireless updates for a home automation network display |
CN203055117U (en) * | 2012-05-31 | 2013-07-10 | 安科智慧城市技术(中国)有限公司 | Alarm receiving machine possessing touch control operation function and alarm receiving system |
CN103269366A (en) * | 2013-05-15 | 2013-08-28 | 林景秀 | Programming-free Ethernet security protection host computer |
CN104332036A (en) * | 2014-11-11 | 2015-02-04 | 天津普泰国信科技有限公司 | Monitoring network alarm method with touch screen as operation interface and alarm host |
CN105072406A (en) * | 2015-08-14 | 2015-11-18 | 江苏轩博电子科技有限公司 | GSM and wired broadband-based system for realizing intelligent home security alarm |
-
2017
- 2017-05-31 CN CN201710399408.4A patent/CN107153485A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2473237A (en) * | 2009-09-04 | 2011-03-09 | Hitachi Ltd | Wireless updates for a home automation network display |
CN203055117U (en) * | 2012-05-31 | 2013-07-10 | 安科智慧城市技术(中国)有限公司 | Alarm receiving machine possessing touch control operation function and alarm receiving system |
CN103269366A (en) * | 2013-05-15 | 2013-08-28 | 林景秀 | Programming-free Ethernet security protection host computer |
CN104332036A (en) * | 2014-11-11 | 2015-02-04 | 天津普泰国信科技有限公司 | Monitoring network alarm method with touch screen as operation interface and alarm host |
CN105072406A (en) * | 2015-08-14 | 2015-11-18 | 江苏轩博电子科技有限公司 | GSM and wired broadband-based system for realizing intelligent home security alarm |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108628725A (en) * | 2018-04-04 | 2018-10-09 | 南京英贝特智能科技有限公司 | A kind of the status display control system and application method of alarm system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9703941B2 (en) | Electronic device with touch screen for fingerprint recognition | |
CN103699454B (en) | Emergency processing method of broken touch screen of computer system and application of emergency processing method | |
CN106126077B (en) | Display control method of application program icons and mobile terminal | |
CN105144068B (en) | Application program display method and terminal | |
EP3528157B1 (en) | Fingerprint recognition-based application starting method and device | |
EP3089433B1 (en) | Apparatus and method for controlling operation of mobile terminal | |
US20090066653A1 (en) | Systems and methods for using a keyboard as a touch panel | |
US20130159927A1 (en) | Electronic device with touch screen and screen unlocking method thereof | |
KR102774141B1 (en) | User terminal apparatus, electronic apparatus, system and control method thereof | |
CN106648382B (en) | A kind of picture browsing method and mobile terminal | |
CN107450773B (en) | False touch prevention method, terminal and computer readable storage medium | |
CN106127003A (en) | A kind of fingerprint recognition unlocking method and mobile terminal | |
CN111104038B (en) | Application function processing method and electronic equipment | |
US10013595B2 (en) | Correlating fingerprints to pointing input device actions | |
US20210127045A1 (en) | Touch interactions with image capture devices | |
CN106033355B (en) | A language setting method and mobile terminal | |
CN107153485A (en) | Alarm method and alarm terminal based on touch-screen | |
CN106445319B (en) | A file location method and terminal | |
EP3528103B1 (en) | Screen locking method, terminal and screen locking device | |
TW201624321A (en) | System and method for controlling input of user interface | |
CN108418954A (en) | An information display method and terminal | |
CN106657607A (en) | Information display method and apparatus, calling method and apparatus | |
CN110825300A (en) | Touch sensing method, electronic device and non-transitory computer readable recording medium device | |
CN103677910A (en) | Calculator starting method and system and application program | |
CN113821293B (en) | Interface switching method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170912 |
|
RJ01 | Rejection of invention patent application after publication |