CN105786328A - Data processing method and electronic terminal - Google Patents

Data processing method and electronic terminal Download PDF

Info

Publication number
CN105786328A
CN105786328A CN201610105168.8A CN201610105168A CN105786328A CN 105786328 A CN105786328 A CN 105786328A CN 201610105168 A CN201610105168 A CN 201610105168A CN 105786328 A CN105786328 A CN 105786328A
Authority
CN
China
Prior art keywords
touch event
event
processed
task list
running background
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
CN201610105168.8A
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.)
Inspur Software Group Co Ltd
Original Assignee
Inspur Software Group 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 Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201610105168.8A priority Critical patent/CN105786328A/en
Publication of CN105786328A publication Critical patent/CN105786328A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention provides a data processing method and an electronic terminal, relates to the technical field of computers, and aims to realize that a program running in a background can be checked without using a home key, so that the use by a user is facilitated. The method comprises the following steps: acquiring a touch event; determining whether the touch event is an unprocessed event; and if the touch event is determined to be an unprocessed event, acquiring a background running task list, and displaying the background running task list. The method and the device are suitable for the scene of checking the background running task.

Description

The method of a kind of data process and electric terminal
Technical field
The present invention relates to field of computer technology, particularly relate to method and electric terminal that a kind of data process.
Background technology
Android is the operating system of a kind of freedom based on Linux and open source code, is mainly used for mobile equipment, such as smart mobile phone and panel computer, by Google company and open mobile phone alliance leader and exploitation.Not yet having uniform Chinese title, the more people in CONTINENTAL AREA OF CHINA uses " Android " or " peace causes ".Android operation system is developed by AndyRubin at first, mainly supports mobile phone.In August, 2005 is registered capital to by Google purchase.In November, 2007, Google and 84 hardware manufacturer, software developer and the open mobile phone alliance of Telecom operators establishment research and develop improvement android system jointly.
Google increases income with Apache the authorization of licence subsequently, has issued the source code of Android.First Android intelligent is published in October, 2008.Android expands on panel computer and other field gradually, such as TV, digital camera, game machine etc..
At present in android system, a lot of electric terminals are fitted with multitask system, say, that multiple application program can be run simultaneously.In general, one application of startup optimization has regular hour expense, therefore to the quickening speed of service, the application on foreground before is not really exited, and it has been to switch to backstage, it is task corresponding to this application and moving component is in backstage halted state, when this application is next when switching back into foreground, its moving component transfers running status to, thus the application of correspondence can use quickly.In the prior art, if user wants the program checking running background, it is only capable of being realized by the home key of android system.Owing to the position of the home key of each electric terminal is likely to difference, when being unfamiliar with this electric terminal, can there is the situation that cannot check the program of running background because finding home key in user.
Summary of the invention
Embodiments of the invention provide method and the electric terminal of a kind of data process, in order to realize the program not using home key just can check running background, are user-friendly to.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
Embodiments provide a kind of method that data process, including: obtain touch event;Determine whether described touch event is not processed event;If it is determined that described touch event is not processed event, then obtains running background task list, and show described running background task list.
Alternatively, it is described if it is determined that described touch event is not processed event, then obtain running background task list, and show that described running background task list includes: if it is determined that described touch event is not processed event, update the acquisition number of times that touch event is not processed event;If the acquisition number of times that described touch event is not processed event after updating reaches display threshold values, then obtain running background task list, and show described running background task list.
Alternatively, if the acquisition number of times that described touch event is not processed event after described renewal reaches display threshold values, then obtain running background task list, and show that described running background task list includes: if the acquisition number of times that described touch event is not processed event after updating reaches display threshold values, and the time difference touching the time of the time that touches of current touch event and a front touch event is in Preset Time threshold values, then obtain running background task list, and show described running background task list.
Alternatively, described determine whether described touch event is that not processed event includes: according to described touch event, in whole views, search whether to process the view of described touch event;If not finding the view processing described touch event in described whole views, it is determined that described touch event is not processed event.
Alternatively, also include: if there being the view processing described touch event in described whole views, it is determined that described touch event is processed event, and described touch event is processed by the view of the described touch event of described process accordingly.
Further, embodiments provide a kind of electric terminal, including: acquiring unit, it is used for obtaining touch event;Determine unit, for determining whether the described touch event that described acquiring unit obtains is not processed event;Processing unit, for described determine that unit determines that described touch event is not processed event time, obtain running background task list, and show described running background task list.
Alternatively, described processing unit, specifically for described determine that unit determines that described touch event is not processed event time, updating touch event is the acquisition number of times of not processed event;When the acquisition number of times that described touch event is not processed event in the updated reaches display threshold values, obtain running background task list, and show described running background task list.
Alternatively, when the described processing unit acquisition number of times that described touch event is not processed event in the updated reaches display threshold values, obtain running background task list, and show described running background task list particularly as follows: the acquisition number of times that described touch event is not processed event in the updated reaches display threshold values, and the time difference touching the time touching time and a front touch event of current touch event in Preset Time threshold values time, obtain running background task list, and show described running background task list.
Alternatively, described determine unit, specifically for according to described touch event, searching whether to process the view of described touch event in whole views;If not finding the view processing described touch event in described whole views, it is determined that described touch event is not processed event.
Alternatively, described determine unit, when being additionally operable to have, in described whole views, the view processing described touch event, it is determined that described touch event is processed event;Described processing unit, be additionally operable to described determine that unit determines described touch event for processed event time, described touch event is processed by the view of the described touch event of described process accordingly.
Embodiments provide method and electric terminal that a kind of data process, including: obtain touch event;Determine whether touch event is not processed event;If it is determined that touch event is not processed event, then obtains running background task list, and show running background task list.So, user can touch the white space of electric terminal, now, after electric terminal gets touch event, it is determined that whether this touch event is not processed event, determining that this touch event is not processed event, then can getting running background task list, and then show this backstage operation task list, user can get running background task list without clicking home key, it is achieved thereby that do not use home key just can check the program of running background, the purpose being user-friendly to.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the method that a kind of data that Fig. 1 provides for the embodiment of the present invention process;
The structural representation of a kind of electric terminal that Fig. 2 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Embodiments provide a kind of method that data process, as it is shown in figure 1, include:
Step 101, acquisition touch event.
Concrete, whether electric terminal can touch its touch viewing area by monitoring users, if touching it to touch viewing area, then can obtain this touch event, and record touch location and the touch time of touch event.
Step 102, determine whether touch event is not processed event.
Concrete, electric terminal is after obtaining touch event, it is necessary to touch event is processed, and now, according to the touch location of touch event, electric terminal can determine that this touch event is processed event or not processed event.
Further, the dispatchTouchEvent function that touch event is given in Activity (moving component) by this event can be processed by electric terminal, determines whether touch event is not processed event by the dispatchTouchEvent function in Activity.
Further, it is determined that whether touch event is that not processed event includes: according to touch event, in whole views, search whether to process the view of described touch event;If not finding the view processing described touch event in whole views, it is determined that touch event is not processed event.
If there being the view processing described touch event in whole views, it is determined that touch event is processed event, and touch event is processed by view accordingly that process touch event.
Concrete, electric terminal can at program entry main function creation UIApplication (UserInterfaceApplication, user-interface application) example.When Acitivty in UIAppliction example receives touch event, sub-View (view) will be traveled through and carry out the distribution of Down (downwards) event.The traversal of ViewGroup (sets of views) can regard recurrence as.Distribution in order that find the View really processing this complete touch event, this View can return true in onTouchuEvent result, when certain sub-View returns true, the distribution of Down event can be stopped, in ViewGroup, record this sub-View simultaneously.Subsequent Move (movement) and Up (upwards) event will be made directly process by this sub-View.Now, electric terminal may determine that this determines that touch event is processed event.
When not having sub-View to return true, illustrating do not have sub-View can process this touch event, now, this touch event can be defined as not processed event by electric terminal.
Step 103 if it is determined that touch event is not processed event, then obtains running background task list, and shows running background task list.
Concrete, electric terminal is when determining that touch event is not processed event, the touch viewing area that the electric terminal that user clicks is described is white space, it is the region do not applied, now, electric terminal can obtain the running background task list of the task of have recorded running background, this backstage operation task list is demonstrated, in order to user knows which task of running background.
Further, during in order to prevent user from clicking white space due to maloperation, running background task list is demonstrated by electric terminal, user can be limited and touch the number of times of white space, only touching the number of times of white space when reaching certain number of times, running background task list is just demonstrated by electric terminal.
Now, however, it is determined that touch event is not processed event, then obtain running background task list, and show that running background task list includes: if it is determined that touch event is not processed event, update the acquisition number of times that touch event is not processed event;If the acquisition number of times that touch event is not processed event after updating reaches display threshold values, then obtain running background task list, and show running background task list.
It is to say, electric terminal determines that touch event is after not processed event, it is possible to the acquisition number of times that touch event is not processed event is added 1, thus updating the acquisition number of times that touch event is not processed event.So, electric terminal can check renewal after the acquisition number of times that touch event is not processed event whether reached display threshold values, electric terminal touch event after determining renewal is that the acquisition number of times of not processed event is when reaching display threshold values, running background task list can be obtained, and show running background task list.
It should be noted that display threshold values is that user pre-sets according to actual needs, for instance, it is possible to being 2 times, be now user and double-click the white space of electric terminal, electric terminal can show running background task list.It is, of course, also possible to be other number of times, the invention is not limited in this regard.
Further, in order to prevent user from clicking white space due to maloperation, and crossed a period of time click white space due to maloperation again and make renewal after the acquisition number of times that touch event is not processed event reach display threshold values time, running background task list is demonstrated by electric terminal, reduces Consumer's Experience.At this point it is possible to the difference between the touch time limiting adjacent twice touch event.
Now, if the acquisition number of times that touch event is not processed event after updating reaches display threshold values, then obtain running background task list, and show that running background task list includes: if the acquisition number of times that touch event is not processed event after updating reaches display threshold values, and the time difference touching the time of the time that touches of current touch event and a front touch event is in Preset Time threshold values, then obtain running background task list, and show running background task list.
That is, electric terminal touch event after determining renewal is that the acquisition number of times of not processed event is when reaching display threshold values, due to when obtaining touch event, record the touch time of this touch event simultaneously, therefore electric terminal can check that the time difference of the touch time of current touch event and the touch time of last touch event is whether in Preset Time threshold values further, if in pre-set threshold value, then illustrate that user is the continuous touch of the white space to electric terminal, now, electric terminal can be determined that to be needed to obtain running background task list, now, electric terminal can obtain running background task list, and show running background task list.
Pre-set according to the actual requirements it should be noted that Preset Time threshold values is user, it is possible to be five seconds, it is possible to be other times, the invention is not limited in this regard.
Embodiments provide a kind of method that data process, including: obtain touch event;Determine whether touch event is not processed event;If it is determined that touch event is not processed event, then obtains running background task list, and show running background task list.So, user can touch the white space of electric terminal, now, after electric terminal gets touch event, it is determined that whether this touch event is not processed event, determining that this touch event is not processed event, then can getting running background task list, and then show this backstage operation task list, user can get running background task list without clicking home key, it is achieved thereby that do not use home key just can check the program of running background, the purpose being user-friendly to.
Embodiments provide a kind of electric terminal, as in figure 2 it is shown, include:
Acquiring unit 201, is used for obtaining touch event.
Determine unit 202, for determining whether the touch event that acquiring unit 201 obtains is not processed event.
Concrete, it is determined that unit 202, specifically for according to touch event, searching whether to process the view of touch event in whole views;If not finding the view processing described touch event in whole views, it is determined that touch event is not processed event.
Processing unit 203, for when determining that unit 202 determines that touch event is not processed event, obtaining running background task list, and show running background task list.
Concrete, processing unit 203, specifically for when determining that unit 202 determines that touch event is not processed event, updating the acquisition number of times that touch event is not processed event.If the acquisition number of times that touch event is not processed event after updating reaches display threshold values, then obtain running background task list, and show running background task list.
Further, processing unit 203 touch event in the updated is that the acquisition number of times of not processed event is when reaching display threshold values, obtain running background task list, and show running background task list particularly as follows: the acquisition number of times that described touch event is not processed event in the updated reaches display threshold values, and the time difference touching the time touching time and a front touch event of current touch event in Preset Time threshold values time, obtain running background task list, and show described running background task list.
Further, it is determined that unit 202, when being additionally operable to have in whole views the view processing touch event, it is determined that touch event is processed event.
Processing unit 203, is additionally operable to when determining that unit 202 determines that touch event is processed event, and touch event is processed by view accordingly that process touch event.
Embodiments provide a kind of electric terminal, including: obtain touch event;Determine whether touch event is not processed event;If it is determined that touch event is not processed event, then obtains running background task list, and show running background task list.So, user can touch the white space of electric terminal, now, after electric terminal gets touch event, it is determined that whether this touch event is not processed event, determining that this touch event is not processed event, then can getting running background task list, and then show this backstage operation task list, user can get running background task list without clicking home key, it is achieved thereby that do not use home key just can check the program of running background, the purpose being user-friendly to.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method that data process, it is characterised in that including:
Obtain touch event;
Determine whether described touch event is not processed event;
If it is determined that described touch event is not processed event, then obtains running background task list, and show described running background task list.
2. method according to claim 1, it is characterised in that described if it is determined that described touch event is not processed event, then obtain running background task list, and show that described running background task list includes:
If it is determined that described touch event is not processed event, update the acquisition number of times that touch event is not processed event;
If the acquisition number of times that described touch event is not processed event after updating reaches display threshold values, then obtain running background task list, and show described running background task list.
3. method according to claim 2, it is characterised in that if the acquisition number of times that described touch event is not processed event after described renewal reaches display threshold values, then obtain running background task list, and show that described running background task list includes:
If the acquisition number of times that described touch event is not processed event after updating reaches display threshold values, and the time difference touching the time of the time that touches of current touch event and a front touch event is in Preset Time threshold values, then obtain running background task list, and show described running background task list.
4. method according to claim 1, it is characterised in that described determine whether described touch event is that not processed event includes:
According to described touch event, in whole views, search whether to process the view of described touch event;
If not finding the view processing described touch event in described whole views, it is determined that described touch event is not processed event.
5. method according to claim 4, it is characterised in that also include:
If there being the view processing described touch event in described whole views, it is determined that described touch event is processed event, and described touch event is processed by the view of the described touch event of described process accordingly.
6. an electric terminal, it is characterised in that including:
Acquiring unit, is used for obtaining touch event;
Determine unit, for determining whether the described touch event that described acquiring unit obtains is not processed event;
Processing unit, for described determine that unit determines that described touch event is not processed event time, obtain running background task list, and show described running background task list.
7. electric terminal according to claim 6, it is characterised in that
Described processing unit, specifically for described determine that unit determines that described touch event is not processed event time, updating touch event is the acquisition number of times of not processed event;
When the acquisition number of times that described touch event is not processed event in the updated reaches display threshold values, obtain running background task list, and show described running background task list.
8. electric terminal according to claim 7, it is characterised in that
When the described processing unit acquisition number of times that described touch event is not processed event in the updated reaches display threshold values, obtain running background task list, and show described running background task list particularly as follows: the acquisition number of times that described touch event is not processed event in the updated reaches display threshold values, and the time difference touching the time touching time and a front touch event of current touch event in Preset Time threshold values time, obtain running background task list, and show described running background task list.
9. electric terminal according to claim 6, it is characterised in that
Described determine unit, specifically for according to described touch event, searching whether to process the view of described touch event in whole views;If not finding the view processing described touch event in described whole views, it is determined that described touch event is not processed event.
10. electric terminal according to claim 9, it is characterised in that
Described determine unit, when being additionally operable to have, in described whole views, the view processing described touch event, it is determined that described touch event is processed event;
Described processing unit, be additionally operable to described determine that unit determines described touch event for processed event time, described touch event is processed by the view of the described touch event of described process accordingly.
CN201610105168.8A 2016-02-25 2016-02-25 Data processing method and electronic terminal Pending CN105786328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610105168.8A CN105786328A (en) 2016-02-25 2016-02-25 Data processing method and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610105168.8A CN105786328A (en) 2016-02-25 2016-02-25 Data processing method and electronic terminal

Publications (1)

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

Family

ID=56403090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610105168.8A Pending CN105786328A (en) 2016-02-25 2016-02-25 Data processing method and electronic terminal

Country Status (1)

Country Link
CN (1) CN105786328A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945111A (en) * 2012-09-29 2013-02-27 北京百度网讯科技有限公司 Background program management method and device for mobile terminal
CN104024985A (en) * 2011-12-28 2014-09-03 三星电子株式会社 Multitasking method and apparatus of user device
US20150227283A1 (en) * 2010-03-30 2015-08-13 Seven Networks, Inc. 3d mobile user interface with configurable workspace management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150227283A1 (en) * 2010-03-30 2015-08-13 Seven Networks, Inc. 3d mobile user interface with configurable workspace management
CN104024985A (en) * 2011-12-28 2014-09-03 三星电子株式会社 Multitasking method and apparatus of user device
CN102945111A (en) * 2012-09-29 2013-02-27 北京百度网讯科技有限公司 Background program management method and device for mobile terminal

Similar Documents

Publication Publication Date Title
CN103607660A (en) Intelligent television interface switching control method and control apparatus
CN104252284A (en) File display method and device
US11372612B2 (en) Display device and method for controlling same
CN103412793A (en) Method, device and system for optimizing system resources
CN103941964A (en) Information loading method based on desktop components and intelligent terminal
CN110007800B (en) Control method, device and equipment of touch operation mode and storage medium
CN105740669A (en) Screen lock interface processing method and terminal
CN104571928A (en) Interface display control method and device
CN104714815A (en) Method for updating application software and device
CN108460259B (en) Information processing method and device and terminal
US20150199058A1 (en) Information processing method and electronic device
CN103648043B (en) Search control method and control device to intelligent television
CN103596058A (en) Control method and control device for interface switching of intelligent television
CN104636158A (en) Mouse pointer control method and device based on Android operating system
US20170269961A1 (en) Application program switching method and apparatus, and electronic terminal
CN105808042A (en) Information processing method and electronic device
CN104156240A (en) Client skin template changing method and device, client and electronic device
CN113253897A (en) Application window switching method, device and equipment
CN103747352A (en) Smart television search control method and control device
CN112558833B (en) Application running method and device and electronic equipment
CN103561334A (en) Browse operation method and device based on browser on intelligent television
CN105786328A (en) Data processing method and electronic terminal
CN104407763A (en) Content input method and system
CN109521924B (en) Method and device for assisting user in selecting target application
CN109739590B (en) Desktop wallpaper replacing method, device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160720

WD01 Invention patent application deemed withdrawn after publication