CN103530133A - Custom operation method and device for terminal - Google Patents

Custom operation method and device for terminal Download PDF

Info

Publication number
CN103530133A
CN103530133A CN201310521018.1A CN201310521018A CN103530133A CN 103530133 A CN103530133 A CN 103530133A CN 201310521018 A CN201310521018 A CN 201310521018A CN 103530133 A CN103530133 A CN 103530133A
Authority
CN
China
Prior art keywords
terminal
self
operation information
information file
execution time
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
CN201310521018.1A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310521018.1A priority Critical patent/CN103530133A/en
Publication of CN103530133A publication Critical patent/CN103530133A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a custom operation method and device for a terminal. The method includes: acquiring the information of an operation for at least two programs to form at least one operational information file; setting a corresponding preset execution time for each operational information file; if the preset execution time is up, executing the operational information file corresponding to the preset execution time which is up. The terminal can be auto-operated on the system level through the method and device.

Description

A kind of method and device that terminal is carried out to self-defining operation
Technical field
The present invention relates to communication technical field, be specifically related to Computer Applied Technology field, relate in particular to a kind of method and device that terminal is carried out to self-defining operation.
Background technology
In existing intelligent terminal, major part has automatic function, for example there is timing automatic power up function, clock alarming and regularly affairs prompt etc., but the application program rank automatic function of the program that these automatic functions that intelligent terminal has are all terminals installs design itself, and do not have the whole system of terminal and other automatic function of designed system level, for example, if wish, at following certain time point, open A application, allow it carry out opening again C application after B operation and carry out D operation, the automatic function of intelligent terminal of the prior art cannot realize, greatly limit smart mobile phone and brought into play the effect of its intelligent automation.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and device that terminal is carried out to self-defining operation, to realize, terminal is carried out to system-level self-defining operation.
The embodiment of the present invention is by the following technical solutions:
First aspect, the embodiment of the present invention provides a kind of method of terminal being carried out to self-defining operation, comprising:
Obtain the operation information that at least two programs are operated and form at least one operation information file;
Be respectively formed operation information file the corresponding default execution time is set;
If the time arrives the default execution time, carry out the corresponding operation information file of default execution time arriving.
Second aspect, the embodiment of the present invention also provides a kind of device that terminal is carried out to self-defining operation, comprising:
Operation information file acquiring unit, forms at least one operation information file for obtaining the operation information that at least two programs are operated;
Execution time setting unit, arranges the corresponding default execution time for being respectively formed operation information file;
Automatically perform unit, if arrive and preset the execution time for the time, carry out the corresponding operation information file of default execution time arriving.
The useful technique effect of the main case of technology that the embodiment of the present invention proposes is:
The technical scheme of the embodiment of the present invention, by obtaining the operation information that at least two programs are operated, arranges the execution time respectively, to realize, at least two programs is carried out to timing automatic operation, can the automation mechanized operation to terminal in system-level realization.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during the embodiment of the present invention is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to the content of the embodiment of the present invention and these accompanying drawings other accompanying drawing.
Fig. 1 carries out the method flow diagram of self-defining operation to terminal described in the specific embodiment of the invention one;
Fig. 2 carries out the method flow diagram of self-defining operation to terminal described in the specific embodiment of the invention two;
Fig. 3 carries out the structured flowchart of the device of self-defining operation to terminal described in the specific embodiment of the invention four.
Embodiment
For the technical scheme of technical matters that the present invention is solved, employing and the technique effect that reaches clearer, below in conjunction with accompanying drawing, the technical scheme of the embodiment of the present invention is described in further detail, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those skilled in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Below in conjunction with accompanying drawing and by embodiment, further illustrate technical scheme of the present invention.
Embodiment mono-
The present embodiment provide to terminal carry out self-defining operation method can by be applicable to can mounting software mobile intelligent terminal, include but not limited to smart mobile phone, panel computer etc., its operating system includes but not limited to the Mobile operating system of Android system, iOS(Apple company), the Mobile phone operating system of Windows Phone(Microsoft issue), Symbian(Saipan system), the Windows Mobile operating system released of blackberry, blueberry, Mobile(Microsoft) etc., self-defining operation comprises the operation of operating system and the operation to application software.Fig. 1 carries out the method flow diagram of self-defining operation to terminal described in the present embodiment, and as shown in Figure 1, the method that terminal is carried out to self-defining operation described in the present embodiment comprises:
S101, obtain the operation information that at least two programs are operated and form at least one operation information file.
Described operation information comprises the operation information that at least two programs (comprising system program and application program) are operated, include but not limited to operational motion information, described operational motion information include but not limited to slide contact screen information, by physical button information and/or by virtual key information etc.
Wherein, described slip contact screen information includes but not limited to touch location, glide direction and slip dynamics etc.; Describedly by physical button information, include but not limited to secondary or physical bond sign and duration etc.; Described virtual key information includes but not limited to that virtual key mark recognizes and duration etc.
The concrete obtain manner of operation information can comprise multiple, such as obtaining by operation is recorded, write control program by script and obtain etc.
S102, be respectively formed operation information file the corresponding default execution time is set.
It should be noted that, if described operation information comprises at least two operational motion information, these operational motion information can form one or more operation information file.If certain operation information file comprises two or more operational motion information, include but not limited to following mode:
A kind of mode can be: in operation information file, comprise the time interval and/or the sequence of operation between adjacent operational motion information;
Another kind of formula can be: in operation information file, comprise default execution time of each operational motion information.
If the S103 time arrives the default execution time, carry out the corresponding operation information file of default execution time arriving.
Those skilled in the art it should be explicitly made clear at this point, if described operation information file comprises at least two operational motion information, and be the first kind of way described in step S101, in operation information file, comprise time interval between adjacent operational motion information and/or sequence of operation default execution time of default execution time corresponding to this operation information file first operational motion information that is this operation information, the default execution time of each operational motion information that this operation information file comprises is easy to calculate acquisition by the time interval between the operational motion information adjacent with each of default execution time of first operational motion information of this operation information.
If described operation information file comprises at least two operational motion information, and be the second way described in step S101, in operation information file, comprise the default execution time of each operational motion information, the default execution time of this operation information file setting be should be to the earliest time in default execution time of operational motion information included in this operation information file, according to time order and function order, by the default execution time of kind of operational motion, carry out each operational motion in turn.
Technical scheme described in the present embodiment, by obtaining the operation information that at least two programs are operated, arranges the execution time respectively, to realize, at least two programs is carried out to timing automatic operation, can the automation mechanized operation to terminal in system-level realization.
Embodiment bis-
Fig. 2 carries out the method flow diagram of self-defining operation to terminal described in the present embodiment, and as shown in Figure 2, the method that terminal is carried out to self-defining operation described in the present embodiment comprises:
S201, judge whether recording mode starts, if perform step S202, otherwise execution step S207.
S202, present desktop homepage.
S203, record the operational motion information in terminal, record the application jump information in terminal simultaneously.
S204, judge whether to receive and hold instruction, if perform step S205, otherwise return to step S203.
S205, generate an operation information file.
S206, execution time of described operation information file is set, returns to step S201.
Whether S207, the time that judges reach the default execution time of some operation information file, if perform step S208, otherwise return to step S207.
S208, carry out corresponding operation information file, return to step S201.
Compare with embodiment mono-, method described in the present embodiment is obtained with the batch of operation information file and is carried out by realize the batch of operation information file in same terminal, when needing to comprise identical self-defining operation action in same group of self-defining operation, can copy and set the different execution time same operation information file, can realize recycling and the combination of behaviour's letter information file, that further improves operation information file records efficiency and flexibility ratio.
Embodiment tri-
In the technical scheme of the present embodiment, the step of obtaining operation information file comprises: the operation that adopts the monitor log module monitoring users in operating system Root View to carry out at least two programs, described operation is recorded simultaneously, form at least one and for the operation to recorded, carry out the operation information file of playback.Be specially: for the root at view arranges monitor log module and analog module, system all to the Action Events of view all from distributing away here, then in application redirect module, monitor log module and analog module are set, phylogenetic all application redirects have record at this.When starting recording mode, user returns to desktop homepage (all recording all from desktop), then each operational motion information of recording user (for example touches touch-screen, press physical button as volume key, press virtual key etc.) and two moving letter informations of operation between time interval etc.), and the redirect of the application that record occurs simultaneously, the operation of touch-screen is by recording concrete touch information (as position, glide direction, dynamics etc.), concrete key assignments and the duration of operation note of physical button, key assignments and the duration of the operation note button of virtual key, after the behavior of recording stops, above all information is preserved, for having recorded an operation information file.
Take Android system as example, said method specifically comprises: the root ViewRootImpl at view arranges monitor log module and analog module, the all Action Events MotionEvent to view of system are from distributing away here, then in application redirect modules A ctivityManagerService and ActivityStack, monitor log module and analog module are set, phylogenetic all application redirects have record at this.When starting recording mode, user returns to desktop homepage, then the operation each time of recording user, and the redirect of the Activity that record occurs simultaneously, the operation of touch-screen is recorded key assignments and the duration of the operation note button of the concrete key assignments of the operation note of concrete touch information, physical button and duration, virtual key by TouchEvent, after the behavior of recording stops, above all information is preserved, be and recorded self-defining operation one time.
After getting operation information file by above-mentioned method for recording, can be set in certain time point in the future and carry out described operation information file, time is while arriving the time point setting, operating system is written into described operation information file, then return to desktop, for example, by the Message Simulation module (ViewRootImpl of Android system) of view root recorded information is simulated out and (comprise the touch touch screen operation while recording, physical button operation, virtual key operation etc.), by system function (as the deliverInputEvent of Android system), distribute, and in strict accordance with the time interval execution in recorded information, application redirect module is also sequentially simulated redirect by the application redirect in recorded information, be equivalent to automatically perform once self-defined behavior in situation that user do not contact terminal, because this realization is that complete simulation simulation (comprises operation sequencing, operating position, operating force etc.), so can realize the self-defined behavior of any application.
Compare with embodiment mono-, technical scheme described in the present embodiment further defines the generative process of operation information file, the operation of by the monitor log module monitoring users adopting in operating system Root View, at least two programs being carried out, described operation is recorded simultaneously, form at least one and for the operation to recorded, carry out the operation information file of playback.Further, also define the method for the default corresponding operation information file of execution time that execution arrives, adopt the analog module in operating system Root View, carry out the corresponding operation information file of default execution time arriving.The present embodiment can make system-level realization to the operational motion in the automation mechanized operation of terminal more intuitive more have learning ability, can improve in system-level realization the efficiency to the automation mechanized operation of terminal.
Embodiment tetra-
Fig. 3 carries out the structured flowchart of the device of self-defining operation to terminal described in the present embodiment, and as shown in Figure 3, the device that terminal is carried out to self-defining operation described in the present embodiment comprises:
Operation information file acquiring unit 301, forms at least one operation information file for obtaining the operation information that at least two programs are operated;
Execution time setting unit 302, arranges the corresponding default execution time for being respectively formed operation information file;
Automatically perform unit 303, if arrive and preset the execution time for the time, carry out the corresponding operation information file of default execution time arriving.
Described operation information comprises at least two operational motion information further.
Further, described operation information also comprises at least two time interval and/or sequence of operation between operational motion information.
Further, described operational motion information comprise slip contact screen information, by physical button information and/or by virtual key information.
Further:
Described slip contact screen information comprises touch location, glide direction and slip dynamics; And/or
Describedly by physical button information, comprise secondary or physical bond sign and duration; And/or
Described virtual key information comprises that virtual key mark recognizes and the duration.
Further, described operation information file acquiring unit 301 is specifically for the operation that adopts the monitor log module monitoring users in operating system Root View to carry out at least two programs, described operation is recorded simultaneously, form at least one and for the operation to recorded, carry out the operation information file of playback.
Further, described in, automatically perform unit 303 specifically for: if the time arrives the default execution time, adopt the analog module in operating system Root View, carry out the corresponding operation information file of default execution time arriving.
Technical scheme described in the present embodiment, by obtaining the operation information that at least two programs are operated, arranges the execution time respectively, to realize, at least two programs is carried out to timing automatic operation, can the automation mechanized operation to terminal in system-level realization.
All or part of content in the technical scheme that above embodiment provides can realize by software programming, and its software program is stored in the storage medium can read, storage medium for example: the hard disk in computing machine, CD or floppy disk.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not depart from protection scope of the present invention.Therefore, although the present invention is described in further detail by above embodiment, the present invention is not limited only to above embodiment, in the situation that not departing from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.

Claims (14)

1. terminal is carried out to a method for self-defining operation, it is characterized in that, comprising:
Obtain the operation information that at least two programs are operated and form at least one operation information file;
Be respectively formed operation information file the corresponding default execution time is set;
If the time arrives the default execution time, carry out the corresponding operation information file of default execution time arriving.
2. method of terminal being carried out to self-defining operation as claimed in claim 1, is characterized in that, described operation information comprises at least two operational motion information.
3. method of terminal being carried out to self-defining operation as claimed in claim 2, is characterized in that, described operation information also comprises at least two time interval and/or sequence of operation between operational motion information.
4. as claimed in claim 2 or claim 3 terminal is carried out the method for self-defining operation, it is characterized in that, described operational motion information comprises slip contact screen information, by physical button information and/or by virtual key information.
5. method of terminal being carried out to self-defining operation as claimed in claim 4, is characterized in that:
Described slip contact screen information comprises touch location, glide direction and slip dynamics; And/or
Describedly by physical button information, comprise secondary or physical bond sign and duration; And/or
Described virtual key information comprises that virtual key mark recognizes and the duration.
6. method of terminal being carried out to self-defining operation as claimed in claim 1, it is characterized in that, describedly obtain the step that the operation information that at least two programs are operated forms at least one operation information file and comprise: the operation that adopts the monitor log module monitoring users in operating system Root View to carry out at least two programs, described operation is recorded simultaneously, form at least one and for the operation to recorded, carry out the operation information file of playback.
7. method of terminal being carried out to self-defining operation as claimed in claim 6, is characterized in that, carries out the corresponding operation information file of default execution time arriving and comprises:
Adopt the analog module in operating system Root View, carry out the corresponding operation information file of default execution time arriving.
8. terminal is carried out to a device for self-defining operation, it is characterized in that, comprising:
Operation information file acquiring unit, forms at least one operation information file for obtaining the operation information that at least two programs are operated;
Execution time setting unit, arranges the corresponding default execution time for being respectively formed operation information file;
Automatically perform unit, if arrive and preset the execution time for the time, carry out the corresponding operation information file of default execution time arriving.
9. the device that terminal is carried out to self-defining operation as claimed in claim 8, is characterized in that, described operation information comprises at least two operational motion information.
10. the device that terminal is carried out to self-defining operation as claimed in claim 9, is characterized in that, described operation information also comprises at least two time interval and/or sequence of operation between operational motion information.
11. carry out the device of self-defining operation to terminal as described in claim 9 or 10, it is characterized in that, described operational motion information comprises slip contact screen information, by physical button information and/or by virtual key information.
12. devices that terminal carried out to self-defining operation as claimed in claim 11, is characterized in that:
Described slip contact screen information comprises touch location, glide direction and slip dynamics; And/or
Describedly by physical button information, comprise secondary or physical bond sign and duration; And/or
Described virtual key information comprises that virtual key mark recognizes and the duration.
13. devices that terminal carried out to self-defining operation as claimed in claim 8, is characterized in that, described operation information file acquiring unit specifically for:
The operation that adopts the monitor log module monitoring users in operating system Root View to carry out at least two programs is recorded described operation simultaneously, forms at least one for recorded operation being carried out to the operation information file of playback.
14. devices that terminal carried out to self-defining operation as claimed in claim 7, it is characterized in that, described automatically perform unit specifically for: if the time arrive the default execution time, adopt the analog module in operating system Root View, carry out the corresponding operation information file of default execution time arriving.
CN201310521018.1A 2013-10-29 2013-10-29 Custom operation method and device for terminal Pending CN103530133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310521018.1A CN103530133A (en) 2013-10-29 2013-10-29 Custom operation method and device for terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310521018.1A CN103530133A (en) 2013-10-29 2013-10-29 Custom operation method and device for terminal

Publications (1)

Publication Number Publication Date
CN103530133A true CN103530133A (en) 2014-01-22

Family

ID=49932173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310521018.1A Pending CN103530133A (en) 2013-10-29 2013-10-29 Custom operation method and device for terminal

Country Status (1)

Country Link
CN (1) CN103530133A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714876A (en) * 2015-03-25 2015-06-17 魅族科技(中国)有限公司 Terminal control method and terminal
CN109508215A (en) * 2018-09-12 2019-03-22 苏州蜗牛数字科技股份有限公司 A kind of recording that realizing touch screen multiple groups event and execute method
WO2022001564A1 (en) * 2020-06-30 2022-01-06 中兴通讯股份有限公司 Operation set obtaining and executing methods and apparatuses, storage medium, and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738376A (en) * 2005-07-08 2006-02-22 深圳创维-Rgb电子有限公司 TV set intelligent management method
CN1851735A (en) * 2005-09-09 2006-10-25 华为技术有限公司 Method and device for making mobile terminal automatic execute task
CN1937636A (en) * 2005-10-10 2007-03-28 康佳集团股份有限公司 Automatic-start music playing method for hand-held terminal
CN101640719A (en) * 2008-07-30 2010-02-03 深圳富泰宏精密工业有限公司 Alarm clock task management system and method
CN202748768U (en) * 2012-09-24 2013-02-20 广东欧珀移动通信有限公司 Communication terminal for realizing customized operation events

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738376A (en) * 2005-07-08 2006-02-22 深圳创维-Rgb电子有限公司 TV set intelligent management method
CN1851735A (en) * 2005-09-09 2006-10-25 华为技术有限公司 Method and device for making mobile terminal automatic execute task
CN1937636A (en) * 2005-10-10 2007-03-28 康佳集团股份有限公司 Automatic-start music playing method for hand-held terminal
CN101640719A (en) * 2008-07-30 2010-02-03 深圳富泰宏精密工业有限公司 Alarm clock task management system and method
CN202748768U (en) * 2012-09-24 2013-02-20 广东欧珀移动通信有限公司 Communication terminal for realizing customized operation events

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714876A (en) * 2015-03-25 2015-06-17 魅族科技(中国)有限公司 Terminal control method and terminal
CN109508215A (en) * 2018-09-12 2019-03-22 苏州蜗牛数字科技股份有限公司 A kind of recording that realizing touch screen multiple groups event and execute method
WO2022001564A1 (en) * 2020-06-30 2022-01-06 中兴通讯股份有限公司 Operation set obtaining and executing methods and apparatuses, storage medium, and terminal device

Similar Documents

Publication Publication Date Title
CN104811812B (en) Control method, device and the system of audio and video playing progress
CN105335099A (en) Memory cleaning method and terminal
US20130167065A1 (en) Electronic device and method for managing icons of home screen of the electronic device
CN102147756B (en) Methods and systems for testing terminal
CN103543819A (en) Power consumption control method and terminal
CN102141882A (en) Method for realizing marquee selection operation on touch screen terminal, and touch screen terminal
CN102279768B (en) Simulation apparatus and simulation method
US20130232451A1 (en) Electronic device and method for switching between applications
CN103019899A (en) Method and system for replaying intelligent terminal event as well as intelligent terminal
CN102693144B (en) A kind of method of capacitance plate firmware upgrade of Android mobile terminal
CN111143200A (en) Method and device for recording and playing back touch event, storage medium and equipment
CN104699408A (en) Operation method and device of touch screen and touch device
CN102591569A (en) Method for prompting user to perform touch operation on mobile terminal and client
CN102004605A (en) Specification demonstrating method and system and electronic equipment terminal
CN104731593A (en) Information processing method and electronic equipment
CN103530133A (en) Custom operation method and device for terminal
CN106354380A (en) Reading prompting method and device
CN202748768U (en) Communication terminal for realizing customized operation events
CN104216646A (en) Method and device for creating application program based on gesture
CN104077065A (en) Method for displaying virtual keyboard by touch screen terminal and touch screen terminal
CN104063316A (en) Application testing method and device
CN104182171B (en) A kind of information processing method and electronic equipment
CN110035171A (en) Electronic equipment and auxiliary operation method
US9665205B1 (en) Programmable touch emulating device
CN104346077A (en) Method and device for triggering application programs

Legal Events

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

Application publication date: 20140122

RJ01 Rejection of invention patent application after publication