CN105786388A - Application control method and system based on short-range induction and mobile terminal - Google Patents

Application control method and system based on short-range induction and mobile terminal Download PDF

Info

Publication number
CN105786388A
CN105786388A CN201610117197.6A CN201610117197A CN105786388A CN 105786388 A CN105786388 A CN 105786388A CN 201610117197 A CN201610117197 A CN 201610117197A CN 105786388 A CN105786388 A CN 105786388A
Authority
CN
China
Prior art keywords
mobile terminal
event
state
touch screen
described
Prior art date
Application number
CN201610117197.6A
Other languages
Chinese (zh)
Inventor
李文铨
丁田夫
Original Assignee
惠州Tcl移动通信有限公司
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 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Priority to CN201610117197.6A priority Critical patent/CN105786388A/en
Publication of CN105786388A publication Critical patent/CN105786388A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04108Touchless 2D- digitiser, i.e. digitiser detecting the X/Y position of the input means, finger or stylus, also when it does not touch, but is proximate to the digitiser's interaction surface without distance measurement in the Z direction

Abstract

The invention discloses an application control method and system based on short-range induction and a mobile terminal. The method includes the steps that A, when a touch screen of the mobile terminal inducts a contact of a finger, a bottom driver generates interruption and reports a TP event; B, a bottom frame packages the TP event into a unified motion event; C, the motion event is transmitted to a current active window and finally processed by a view obtaining a focus; D, when the view recognizes that the current motion event is a designated suspension event, the three-dimensional coordinates and motion trend of the contact are read, and corresponding content is displayed according to the state of a current application. A short-range induction mode is adopted for detecting the change of the distance between the contact of the finger and the mobile terminal, the state of the application is controlled according to the change of the distance, a user does not need to perform more operations by means of the mode, and application control can be achieved in any state of the mobile terminal only in the mode that the finger gets close to or keeps away from the mobile terminal.

Description

A kind of based on the application controls method, system and the mobile terminal that closely sense

Technical field

The present invention relates to mobile communication device field, particularly relate to a kind of based on the application controls method, system and the mobile terminal that closely sense.

Background technology

At present, mobile terminal is under the main screen state that equipment is in locking or non-locking, all carry out various operation only by clicking, particularly under the state being in lock-screen, cannot be carried out mutual especially, displaying some information only by content of announcement, if user selects not show notice in advance, then content of announcement also cannot show.So the interactive mode of mobile terminal is comparatively single at present, use comparatively inconvenience.

Therefore, prior art has yet to be improved and developed.

Summary of the invention

In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of based on the application controls method, system and the mobile terminal that closely sense, it is intended to solve existing mobile terminal interactive mode single in-convenience in use etc. problem.

Technical scheme is as follows:

A kind of based on the mobile terminal application controls method closely sensed, wherein, including step:

A, when the touch screen induction of mobile terminal is to the contact of finger, bottom layer driving produces to interrupt also reporting TP event;

Described TP Event Package is become unified motion event by B, bottom frame;

C, described motion event is passed to current active window, finally transfer to the view obtaining focus to process;

D, when view identification obtain current motion event type be the suspension event specified time, then read three-dimensional coordinate and the movement tendency of contact, and the oneself state according to current application represent corresponding content.

Described based on the mobile terminal application controls method closely sensed, wherein, described step D specifically includes:

D1, when the movement tendency of motion event be from far-end near touch screen time, follow the tracks of described suspension event:

D2, when coordinate height is more than threshold value, do not change the state of current application;When coordinate height is less than threshold value, controls to apply progressively to be converted to from silent status and enliven attitude.

Described based on the mobile terminal application controls method closely sensed, wherein, in described step D2, when touch screen is in main screen state, the desktop wallpaper controlling described touch screen fades to fringe from clear state.

Described based on the mobile terminal application controls method closely sensed, wherein, in described step D2, when touch screen is in screen lock state, control to gradually spread out the content of announcement of touch screen.

Described based on the mobile terminal application controls method closely sensed, wherein, also include after described step D2:

When the movement tendency of motion event is proximally to leave touch screen, controls application and be progressively converted to silent status from enlivening attitude.

Described based on the mobile terminal application controls method closely sensed, wherein, in described step D2, when the state that motion event causes current application changes, then judge in the given time, whether the state of current application has new change, if not, present new state.

A kind of based on the mobile terminal application controls system closely sensed, wherein, including:

TP reporting events module, for when the touch screen induction of mobile terminal is to the contact of finger, bottom layer driving produces interruption and also reports TP event;

TP Event Package module, becomes unified motion event for bottom frame by described TP Event Package;

Motion event transmission module, for described motion event is passed to current active window, finally transfers to the view obtaining focus to process;

Application controls module, for when view identification obtain current motion event type be the suspension event specified time, then read three-dimensional coordinate and the movement tendency of contact, and the oneself state according to current application represent corresponding content.

Described based on the mobile terminal application controls system closely sensed, wherein, described application controls module specifically includes:

Suspension event tracking unit, for when the movement tendency of motion event be from far-end near touch screen time, follow the tracks of described suspension event:

Application state control unit, for when coordinate height is more than threshold value, not changing the state of current application;When coordinate height is less than threshold value, controls to apply progressively to be converted to from silent status and enliven attitude.

Described based on the mobile terminal application controls system closely sensed, wherein, described touch screen is AMOLED screen.

A kind of mobile terminal, wherein, including mobile terminal application controls system as above.

Beneficial effect: the present invention utilizes the mode closely sensed, detect the distance change between the contact of finger and mobile terminal, and realize the control to application state according to this distance change, this mode carries out more multioperation without user, only need to closer or far from realizing application controls under any state of mobile terminal, so more convenient to use.

Accompanying drawing explanation

Fig. 1 is a kind of flow chart based on the mobile terminal application controls method preferred embodiment closely sensed of the present invention.

Fig. 2 is the particular flow sheet of step S104 in method shown in Fig. 1.

Fig. 3 is a kind of structured flowchart based on the mobile terminal application controls system preferred embodiment closely sensed of the present invention.

Fig. 4 is the concrete structure block diagram of application controls module in system shown in Figure 3.

Detailed description of the invention

The present invention provides a kind of based on the application controls method, system and the mobile terminal that closely sense, and for making the purpose of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.

Referring to Fig. 1, Fig. 1 is a kind of flow chart based on the mobile terminal application controls method preferred embodiment closely sensed of the present invention, as it can be seen, it includes step:

S101, when the touch screen induction of mobile terminal is to the contact of finger, bottom layer driving produces to interrupt also reporting TP event;

Described TP Event Package is become unified motion event by S102, bottom frame;

S103, described motion event is passed to current active window, finally transfer to the view obtaining focus to process;

S104, when view identification obtain current motion event type be the suspension event specified time, then read three-dimensional coordinate and the movement tendency of contact, and the oneself state according to current application represent corresponding content.

The present invention is by detecting finger contact and changing according to the distance between finger and touch screen, the oneself state of connected applications determines how and represents content, thus realizing in mobile terminal screen locking or solving under screen state, user can interact with mobile terminal, and application is controlled accordingly.

Specifically, in described step S101, when the contact of touch screen induction to finger, bottom layer driving can produce interrupt and report TP event (TouchPanel event);

In described step S102, TP event processes through bottom frame and is packaged into unified MotionEvent(motion event), described motion event contains three-dimensional coordinate and the event type of contact, three-dimensional coordinate specifies plan-position and the height at finger (i.e. contact) place, event type specifies the trend of finger motion, including close, mobile and away from, the Hover(being built-in that android system adopts suspends) event refers to the touch event not in contact with touch screen.

In described step S103, MotionEvent is passed to current active window by system framework, finally transfers to the view (View) obtaining focus to process.

In described step S104, when view identification determines that current MotionEvent type is the Hover event specified, then read MotionEvent, obtain three-dimensional coordinate and the movement tendency (being alternatively referred to as three-dimensional coordinate and the movement tendency of MotionEvent) of contact, by series of algorithms, represent corresponding content in conjunction with current application oneself state.

Further, as in figure 2 it is shown, described step S104 specifically includes:

S201, when the movement tendency of motion event be from far-end near touch screen time, follow the tracks of described suspension event:

S202, when coordinate height is more than threshold value, do not change the state of current application;When coordinate height is less than threshold value, controls to apply progressively to be converted to from silent status and enliven attitude.

When the movement tendency of MotionEvent is HOVER_IN, namely from far-end near touch screen time, the application state hurdle of current active window starts to follow the tracks of HOVER event: when the coordinate height of contact is more than threshold value, then do not change current state;When contact continue close to touch screen until to coordinate height less than threshold value time, application enters BLUR_IN state, and this state is application intermediate state from silent status to active state, shows typically by some frame animations, and after animation terminates, application enters active state;When contact motion but height less than threshold value time, application maintain active state.In the present invention, described threshold value can be 2.5cm, for instance contact height is more than 2.5cm, then state will not change, if contact height is less than 2.5cm, then can control accordingly according to movement tendency connected applications oneself state.The threshold value of this height is set, it can be ensured that user finger near time, application can timely respond to, and simultaneously also can avoid too much maloperation.

Also include after described step S202:

When the movement tendency of motion event is proximally to leave touch screen, controls application and be progressively converted to silent status from enlivening attitude.

In this step, when movement tendency is HOVER_OUT, when namely proximally leaving touch screen, or when losing the contact information followed the tracks of, application enters BLUR_OUT state, this state is application intermediate state from active state to silent status, same with the performance of some frame animations, animation terminates rear application recovery silent status, and contact moves from touch screen and highly exceedes threshold value, maintains silent status.

In superincumbent analysis process, it can be seen that for the motion of contact, application will make different reactions, for instance is transformed into silent status from active state, or is transformed into active state from silent status.And concrete, the state for touch screen is different, then can carry out different responses.

Such as: in described step S202, when touch screen is in main screen state, the desktop wallpaper controlling described touch screen fades to fringe from clear state.It is to say, be under solution screen state at touch screen, if finger moves closer to touch screen, then the desktop wallpaper of touch screen will gradually become fringe from clear state, if now clicking application, then corresponding application will be opened.And if now finger is gradually distance from touch screen, so the desktop wallpaper of touch screen will gradually become clear state from fringe, thus achieve and utilize closely sensing to realize the virtualization of desktop wallpaper, and virtualization degree is dynamically adjusted according to distance, if contact is more near with the distance of touch screen, more fuzzy, if contact is more remote with the distance of touch screen, more clear.

In described step S202, when touch screen is in screen lock state, control to gradually spread out the content of announcement of touch screen.It is to say, when touch screen is in screen lock state, if finger moves closer to touch screen, and it being in threshold range, then the content of announcement of touch screen will be gradually opened (original state is icon), thus launching notice details, if now double-clicking content of announcement, then corresponding application will be opened.If finger is gradually distance from touch screen, then the content of announcement of touch screen is reduced into initial icon by progressively closing off, to protect the privacy of user.

That is; it is in screen locking situation at equipment (mobile terminal); notification message only can show in the way of icon; only user's finger closely near screen time; icon is unfolded display content of announcement; both facilitate user to understand the content of announcement under screen lock state at any time, protect again privacy of user.And in the main screen situation that equipment is in non-locking, by the distance of finger sensing, dynamically adjust the virtualization degree of desktop wallpaper, improve screen readability and user-interaction experience.

It addition, it should be noted that, according to principles of the invention, its effect realized is also not limited to virtualization of display content of announcement or desktop wallpaper etc., it is also possible to according to practical situation, realize various different effect.The switching of such as desktop wallpaper, the adjustment of volume, backlight illumination adjustment etc., like this.

In described step S202, when the state that motion event causes current application changes, then judging in the given time, whether the state of current application has new change, if not, presents new state.

That is, in order to prevent the state that motion event causes at critical altitude bob from frequently switching, the conversion of mourn in silence mode and active state is taked to the strategy of delayed response, namely motion event cause the state of current application change (being changed to new state) time, in the scheduled time, state does not have new change then new state to be presented to user after the change.The described scheduled time is such as 0.1s, 0.5s, 1s or 2s etc., for instance 0.5s, so can ensure that and is presented to one stable interface of user.

In order to realize remote finger suspension Hover sensing, the touch screen in the present invention need to use the mode that self-capacitance scans together with mutual capacitance, and by strengthening scanning voltage, on average realizes low noise and high sensitivity with the scanning of touch screen time-division and many frame data.Preferably employing AMOLED as touch screen, the noise ratio of this screen is relatively low, and touch-control interference is little, it is possible to achieve stable remote finger detection.

Based on said method, the present invention also provides for a kind of based on the mobile terminal application controls system closely sensed, as it is shown on figure 3, comprising:

TP reporting events module 100, for when the touch screen induction of mobile terminal is to the contact of finger, bottom layer driving produces interruption and also reports TP event;

TP Event Package module 200, becomes unified motion event for bottom frame by described TP Event Package;

Motion event transmission module 300, for described motion event is passed to current active window, finally transfers to the view obtaining focus to process;

Application controls module 400, for when view identification obtain current motion event type be the suspension event specified time, then read three-dimensional coordinate and the movement tendency of contact, and the oneself state according to current application represent corresponding content.

Further, as shown in Figure 4, described application controls module 400 specifically includes:

Suspension event tracking unit 410, for when the movement tendency of motion event be from far-end near touch screen time, follow the tracks of described suspension event:

Application state control unit 420, for when coordinate height is more than threshold value, not changing the state of current application;When coordinate height is less than threshold value, controls to apply progressively to be converted to from silent status and enliven attitude.

Further, described touch screen is AMOLED screen, and the noise ratio of this screen is relatively low, and touch-control interference is little, it is possible to achieve stable remote finger detection.

About ins and outs existing detailed description in method above of above-mentioned modular unit, therefore repeat no more.

The present invention also provides for a kind of mobile terminal, and it includes mobile terminal application controls system as above.Such as, described mobile terminal is mobile phone, flat board etc. portable electric appts.

In sum, the present invention utilizes the mode closely sensed, detect the distance change between the contact of finger and mobile terminal, and realize the control to application state according to this distance change, this mode carries out more multioperation without user, only need to closer or far from realizing application controls under any state of mobile terminal, so more convenient to use.

It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, it is possible to improved according to the above description or convert, all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (10)

1. one kind based on the mobile terminal application controls method closely sensed, it is characterised in that include step:
A, when the touch screen induction of mobile terminal is to the contact of finger, bottom layer driving produces to interrupt also reporting TP event;
Described TP Event Package is become unified motion event by B, bottom frame;
C, described motion event is passed to current active window, finally transfer to the view obtaining focus to process;
D, when view identification obtain current motion event type be the suspension event specified time, then read three-dimensional coordinate and the movement tendency of contact, and the oneself state according to current application represent corresponding content.
2. according to claim 1 based on the mobile terminal application controls method closely sensed, it is characterised in that described step D specifically includes:
D1, when the movement tendency of motion event be from far-end near touch screen time, follow the tracks of described suspension event:
D2, when coordinate height is more than threshold value, do not change the state of current application;When coordinate height is less than threshold value, controls to apply progressively to be converted to from silent status and enliven attitude.
3. according to claim 2 based on the mobile terminal application controls method closely sensed, it is characterised in that in described step D2, when touch screen is in main screen state, the desktop wallpaper controlling described touch screen fades to fringe from clear state.
4. according to claim 2 based on the mobile terminal application controls method closely sensed, it is characterised in that in described step D2, when touch screen is in screen lock state, control to gradually spread out the content of announcement of touch screen.
5. according to claim 2 based on the mobile terminal application controls method closely sensed, it is characterised in that also to include after described step D2:
When the movement tendency of motion event is proximally to leave touch screen, controls application and be progressively converted to silent status from enlivening attitude.
6. according to claim 2 based on the mobile terminal application controls method closely sensed, it is characterized in that, in described step D2, when the state that motion event causes current application changes, then judge in the given time, whether the state of current application has new change, if not, presents new state.
7. one kind based on the mobile terminal application controls system closely sensed, it is characterised in that including:
TP reporting events module, for when the touch screen induction of mobile terminal is to the contact of finger, bottom layer driving produces interruption and also reports TP event;
TP Event Package module, becomes unified motion event for bottom frame by described TP Event Package;
Motion event transmission module, for described motion event is passed to current active window, finally transfers to the view obtaining focus to process;
Application controls module, for when view identification obtain current motion event type be the suspension event specified time, then read three-dimensional coordinate and the movement tendency of contact, and the oneself state according to current application represent corresponding content.
8. according to claim 7 based on the mobile terminal application controls system closely sensed, it is characterised in that described application controls module specifically includes:
Suspension event tracking unit, for when the movement tendency of motion event be from far-end near touch screen time, follow the tracks of described suspension event:
Application state control unit, for when coordinate height is more than threshold value, not changing the state of current application;When coordinate height is less than threshold value, controls to apply progressively to be converted to from silent status and enliven attitude.
9. according to claim 7 based on the mobile terminal application controls system closely sensed, it is characterised in that described touch screen is AMOLED screen.
10. a mobile terminal, it is characterised in that include the mobile terminal application controls system as described in any one of claim 7-9.
CN201610117197.6A 2016-03-02 2016-03-02 Application control method and system based on short-range induction and mobile terminal CN105786388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610117197.6A CN105786388A (en) 2016-03-02 2016-03-02 Application control method and system based on short-range induction and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610117197.6A CN105786388A (en) 2016-03-02 2016-03-02 Application control method and system based on short-range induction and mobile terminal

Publications (1)

Publication Number Publication Date
CN105786388A true CN105786388A (en) 2016-07-20

Family

ID=56387828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610117197.6A CN105786388A (en) 2016-03-02 2016-03-02 Application control method and system based on short-range induction and mobile terminal

Country Status (1)

Country Link
CN (1) CN105786388A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594994A (en) * 2012-03-13 2012-07-18 惠州Tcl移动通信有限公司 Mobile phone-based induction operation method and mobile phone
CN103914143A (en) * 2013-01-07 2014-07-09 义明科技股份有限公司 Control method of electronic apparatus
CN103929464A (en) * 2013-01-11 2014-07-16 三星电子株式会社 System And Method For Detecting Three Dimensional Gestures To Initiate And Complete The Transfer Of Application Data Between Networked Devices
CN104049737A (en) * 2013-03-14 2014-09-17 三星电子株式会社 Object control method and apparatus of user device
CN104793863A (en) * 2015-04-21 2015-07-22 努比亚技术有限公司 Display control method and device for terminal screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594994A (en) * 2012-03-13 2012-07-18 惠州Tcl移动通信有限公司 Mobile phone-based induction operation method and mobile phone
CN103914143A (en) * 2013-01-07 2014-07-09 义明科技股份有限公司 Control method of electronic apparatus
CN103929464A (en) * 2013-01-11 2014-07-16 三星电子株式会社 System And Method For Detecting Three Dimensional Gestures To Initiate And Complete The Transfer Of Application Data Between Networked Devices
CN104049737A (en) * 2013-03-14 2014-09-17 三星电子株式会社 Object control method and apparatus of user device
CN104793863A (en) * 2015-04-21 2015-07-22 努比亚技术有限公司 Display control method and device for terminal screen

Similar Documents

Publication Publication Date Title
AU2013368443B2 (en) Device, method, and graphical user interface for transitioning between touch input to display output relationships
JP6138274B2 (en) Device, method and graphical user interface for navigating a user interface hierarchy
US10481769B2 (en) Device, method, and graphical user interface for providing navigation and search functionalities
US9305374B2 (en) Device, method, and graphical user interface for adjusting the appearance of a control
US9335887B2 (en) Multi display device and method of providing tool therefor
AU2013259614B2 (en) Device, method, and graphical user interface for providing feedback for changing activation states of a user interface object
CN103430124B (en) Electronic device and method of displaying information in response to a gesture
EP2708983B1 (en) Method for auto-switching user interface of handheld terminal device and handheld terminal device thereof
US20100325575A1 (en) Application programming interfaces for scrolling operations
US9063648B2 (en) Mobile terminal and operating method thereof
US20090289916A1 (en) Electronic device and method for switching between locked state and unlocked state
US20120098639A1 (en) Method and apparatus for providing a device unlock mechanism
EP3108342B1 (en) Transition from use of one device to another
US8558803B2 (en) Input device for portable terminal and method thereof
KR20140139377A (en) Method and apparatus for controlling screen display using environmental information
EP2806339B1 (en) Method and apparatus for displaying a picture on a portable device
CN101770399B (en) Electronic equipment, method and device for switching operating system desktop
EP2772844A1 (en) Terminal device and method for quickly starting program
KR101810884B1 (en) Apparatus and method for providing web browser interface using gesture in device
KR20140051719A (en) Mobile terminal and control method thereof
US20140267130A1 (en) Hover gestures for touch-enabled devices
US10445425B2 (en) Emoji and canned responses
WO2013117804A1 (en) Apparatus and method for providing for remote user interaction
CN102736852A (en) Application programming interfaces for gesture operations
CN104583908A (en) Flexible display apparatus and controlling method thereof

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination