CN108984092A - Apparatus control method, device, storage medium and electronic equipment - Google Patents

Apparatus control method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108984092A
CN108984092A CN201810682445.0A CN201810682445A CN108984092A CN 108984092 A CN108984092 A CN 108984092A CN 201810682445 A CN201810682445 A CN 201810682445A CN 108984092 A CN108984092 A CN 108984092A
Authority
CN
China
Prior art keywords
instruction
group
target
candidate
target word
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.)
Granted
Application number
CN201810682445.0A
Other languages
Chinese (zh)
Other versions
CN108984092B (en
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 CN201810682445.0A priority Critical patent/CN108984092B/en
Publication of CN108984092A publication Critical patent/CN108984092A/en
Application granted granted Critical
Publication of CN108984092B publication Critical patent/CN108984092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses a kind of apparatus control method, device, storage medium and electronic equipments, the apparatus control method is applied to the electronic equipment including screen, comprising: obtains the touch duration of each tracing point in the track and the track that at least two fingers slide in the same direction on the screen;Target instruction target word group is determined from multiple candidate instruction groups according to the touch duration;Target instruction target word is determined from the target instruction target word group according to the track;The electronic equipment is accordingly controlled according to the target instruction target word, so as to start various functions of the equipments by way of referring to sliding, without entering relevant operation interface, method is simple more, and flexibility is high.

Description

Apparatus control method, device, storage medium and electronic equipment
Technical field
This application involves field of computer technology more particularly to a kind of apparatus control method, device, storage medium and electronics Equipment.
Background technique
With the development of terminal technology, the function of mobile terminal, especially intelligent terminal is stronger and stronger, also gradually at Indispensable a part in for people's lives.
In the use process of intelligent terminal, user often uses various functions, for example, screen locking function, split screen function, Sound regulatory function, screen rotation function, memory clearing function etc., in general, if desired user executes certain function, need into Enter related interfaces, is executed by related interfaces, and for different functions, user may need to enter different interfaces, operation Complexity, flexibility are poor.
Summary of the invention
The embodiment of the present application provides a kind of apparatus control method, device, storage medium and electronic equipment, without passing through interface The various functions of equipment are executed, method is simple.
The embodiment of the present application provides a kind of apparatus control method, is applied to electronic equipment, and the electronic equipment includes screen Curtain, the apparatus control method include:
Obtain each tracing point in the track and the track that at least two fingers slide in the same direction on the screen Touch duration;
Target instruction target word is determined from multiple candidate instruction groups according to the touch duration of the starting point and the touch duration of terminal Group;
Target instruction target word is determined from the target instruction target word group according to the track;
The electronic equipment is accordingly controlled according to the target instruction target word.
The embodiment of the present application also provides a kind of plant control units, are applied to electronic equipment, and the electronic equipment includes Screen, the plant control unit include:
Module is obtained, for obtaining the track and the track that at least two fingers slide in the same direction on the screen In each tracing point touch duration;
First determining module, for determining target instruction target word group from multiple candidate instruction groups according to the touch duration;
Second determining module, for determining target instruction target word from the target instruction target word group according to the track;
Control module, for accordingly being controlled according to the target instruction target word the electronic equipment.
The embodiment of the present application also provides a kind of computer readable storage medium, a plurality of finger is stored in the storage medium It enables, described instruction is suitable for being loaded by processor to execute any of the above-described apparatus control method.
The embodiment of the present application also provides a kind of electronic equipment, including processor and memory, the processor with it is described Memory is electrically connected, and the memory is set with data, the processor for described in any of the above embodiments for storing instruction Step in standby control method.
Apparatus control method, device, storage medium and electronic equipment provided by the present application, applied to the electronics including screen Equipment, by the touching for obtaining each tracing point in the track and the track that at least two fingers slide in the same direction on the screen It touches duration, and target instruction target word group is determined from multiple candidate instruction groups according to the touch duration, later according to the track from the mesh It marks and determines target instruction target word in instruction group, and the electronic equipment is accordingly controlled according to the target instruction target word, it is more so as to pass through Refer to that the mode of sliding starts various functions of the equipments, without entering relevant operation interface, method is simple, and flexibility is high, user experience Feel.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made And other beneficial effects are apparent.
Fig. 1 is the application scenarios schematic diagram of apparatus control system provided by the embodiments of the present application.
Fig. 2 is the flow diagram of apparatus control method provided by the embodiments of the present application.
Fig. 3 is another flow diagram of apparatus control method provided by the embodiments of the present application.
Fig. 4 is the schematic diagram of a variety of glide directions provided by the embodiments of the present application.
Fig. 5 is the schematic diagram of file provided by the embodiments of the present application transmission and window adjustment.
Fig. 6 is the flow diagram of step 209 provided by the embodiments of the present application.
Fig. 7 is another flow diagram of step 209 provided by the embodiments of the present application.
Fig. 8 is another flow diagram of step 209 provided by the embodiments of the present application.
Fig. 9 is another flow diagram of step 209 provided by the embodiments of the present application.
Figure 10 is the structural schematic diagram of plant control unit provided by the embodiments of the present application.
Figure 11 is another structural schematic diagram of plant control unit provided by the embodiments of the present application.
Figure 12 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of apparatus control method, device, storage medium and electronic equipment.
Referring to Fig. 1, Fig. 1 provides a kind of application scenarios schematic diagram of apparatus control system, which can To include any plant control unit provided by the embodiments of the present application, which be can integrate in electronic equipment In, which may include the equipment that smart phone, tablet computer etc. have touch function.
In the track and the track that wherein available at least two finger of electronic equipment slides in the same direction on the screen The touch duration of each tracing point, the tracing point include beginning and end, and according to the touch duration of the starting point and the touching of terminal It touches duration and determines target instruction target word group from multiple candidate instruction groups, later, mesh is determined from the target instruction target word group according to the track Mark instruction, and the electronic equipment is accordingly controlled according to the target instruction target word.
For example, which at least may include the first candidate instruction group and the second candidate instruction group, first time Selecting may include being used to indicate the instruction being adjusted to device parameter in instruction group, may include in the second candidate instruction group It is used to indicate the instruction that state switching is carried out to equipment mode.The preset duration can be manually set, such as 3 seconds or 4 seconds, omit Time needed for being longer than normal termination movement, for embodying a standstill state, in general, the touch duration of any tracing point is small Finger is represented at the tracing point without pause in the preset duration, represents finger in the rail more than or equal to preset duration Shi Ze There is a standstill state at mark point.
In Fig. 1, when electronic equipment is in the unlocked state, if detecting, two fingers of user are slided in the same direction on the screen It is dynamic, it can first determine which candidate instruction group selected according to the stall condition at beginning and end, if than only in starting point Place pauses and then selects the first candidate instruction group, if only pausing in terminal point, or does not stop and selects in terminal point and starting point The second candidate instruction group is selected, later, single instruction further can be determined from candidate instruction group according to track, for example, working as The track is when gliding, the instruction of increase volume value or brightness value to be selected in the first candidate instruction group, in the second candidate instruction In group, if only sliding in terminal point, the instruction that state switching is carried out to cleaning mode is selected, such as by the cleaning mode by non- Cleaning state switches to cleaning state, if.When the track is upper sliding, selection reduces volume value in the first candidate instruction group Or the instruction of brightness value, the instruction that state switching is carried out to notification mode is selected in the second candidate instruction group, such as will notice Mode forbids notice state by allowing notice state to switch to.
As shown in Fig. 2, Fig. 2 is the flow diagram of apparatus control method provided by the embodiments of the present application, it is applied to electricity Sub- equipment, the electronic equipment include screen, and detailed process can be such that
101, each tracing point in the track and the track that at least two fingers slide in the same direction on the screen is obtained Touch duration.
In the present embodiment, when electronic equipment is in normal operating condition (namely in the unlocked state), it can examine in real time The slip information of finger on the screen is surveyed, which includes sliding point position and corresponding touch moment, and according to the sliding Information generates corresponding sliding trace, which refers generally to from the regular or irregular line segment formed between origin-to-destination, Such as straightway, broken line, curved section etc..The sliding in the same direction refers to be slided in the same direction, in general, multiple fingers slide in the same direction When the sliding trace that is formed be the identical line segment of a plurality of shape.
102, target instruction target word group is determined from multiple candidate instruction groups according to the touch duration.
For example, the tracing point may include beginning and end, the candidate instruction group may include the first candidate instruction group and Second candidate instruction group, at this point, above-mentioned steps 102 can specifically include:
Judge whether the touch duration of the starting point is not less than preset duration;
If so, obtaining the first candidate instruction group when the touch duration of the terminal is less than preset duration and referring to as target Group is enabled, includes being used to indicate to control the instruction that the electronic equipment carries out parameter adjustment in the first candidate instruction group;
If it is not, obtaining the second candidate instruction group then when the touch duration of the terminal is less than preset duration and referring to as target Group is enabled, includes being used to indicate to control the instruction that the electronic equipment carries out state switching in the second candidate instruction group.
In the present embodiment, which can be manually set, such as 3 seconds or 4 seconds, be slightly longer than normal termination movement institute The time needed, for embodying a standstill state.When the touch duration of some tracing point is greater than or equal to the preset duration, Represent user's finger has pause here, and different pause modes can correspond to the different types of application function of starting, in hand When referring to sliding, electronic equipment can with the stall condition of each tracing point of real-time detection, such as user's finger starting point just When starting to pause, can first primarily determine out a small-scale instruction group, for example, determine to belong to parameter adjustment type or The series of instructions of state switching type, the parameter may include brightness or volume etc..
In another embodiment, which can also include third candidate instruction group, at this point, judging this Whether the touch duration of point is not less than after preset duration, which can also include:
When the touch duration of the starting point is not less than preset duration, detect in the interface of foreground whether show multiple application windows Mouthful;
It include for referring in the third candidate instruction group if so, obtaining third candidate instruction group as target instruction target word group Show the instruction handled respective application window;
If it is not, obtaining the first candidate instruction group then when the touch duration of the terminal is less than preset duration and referring to as target Enable group.
In the present embodiment, it may include adjusting to respective application window size that this, which carries out processing to respective application window, It is whole and to respective application window transmission file etc..When finger just starts sliding after starting point pause, if current interface is point Shield interface (namely showing at least two application widgets simultaneously), it is believed that user wants to handle application widget, if working as Front interface is not split screen interface, it is believed that user wants to be adjusted device parameter.
103, target instruction target word is determined from the target instruction target word group according to the track.
In the present embodiment, it can need to start in electronic equipment to determine by duration and the two dimensions of track are touched Which kind of function, for example, the different stall conditions of tracing point, different glide directions and sliding distance etc. can correspond to different fingers It enables.
(A) when the target instruction target word group is the first candidate instruction group
In one embodiment, above-mentioned steps 103 can specifically include:
When track instruction is slided along the first preset direction, and the distance of the sliding is not less than the first pre-determined distance, from The instruction that instruction increase volume value and/or brightness value are obtained in the first candidate instruction group, as target instruction target word;
When the direction sliding opposite with first preset direction of track instruction edge, and the distance of the sliding is not less than first When pre-determined distance, the instruction that instruction reduces volume value and/or brightness value is obtained from the first candidate instruction group, is referred to as target It enables.
In the present embodiment, first preset direction and the first pre-determined distance can be manually set, for example this is first default Direction can be above or below etc., which can be some fixed value, or depending on screen is long or width, It for example is screen length or wide 2/3rds.It, can be with when sliding the first pre-determined distance along the first preset direction after finger pause The instruction that tunes up the numerical parameters such as volume or brightness is obtained, along the opposite direction sliding of the first preset direction the after finger pauses When one pre-determined distance, the available instruction for turning the numerical parameters such as volume or brightness down.
(B) when the target instruction target word group is the second candidate instruction group
In one embodiment, above-mentioned steps 103 can specifically include:
Judge whether the track meets the first preset condition, first preset condition be along the second preset direction slide, and The distance of the sliding is not less than the second pre-determined distance;
If so, obtaining and referring to from the second candidate instruction group when the touch duration of the terminal is not less than preset duration Show the instruction that state switching is carried out to cleaning mode, as target instruction target word, which includes cleaning state and non-cleaning shape State;Alternatively,
When the touch duration of the terminal is less than preset duration, instruction is obtained from the second candidate instruction group to screen locking mould Formula, notification mode, acoustic pattern and/or screen rotation mode carry out the instruction of state switching, as target instruction target word, the screen locking mould Formula includes lock state and unlocked state, which includes allowing notice state and forbidding notice state, the acoustic pattern Including mute state and RINGING state, which includes forbidding rotation status and permission rotation status.
In the present embodiment, second preset direction and the second pre-determined distance can be manually set.When finger is default along second , can be to starting memory cleaning operation when the pause of the second pre-determined distance is slided in direction, or stop the memory being carrying out cleaning Operation.When finger only slides the second pre-determined distance along the second preset direction, state switching can be carried out to other modes, than Such as to one of screen locking pattern, notification mode, acoustic pattern, screen rotation mode or a variety of carry out state switchings, and In handoff procedure, needs first to determine that electronic equipment is currently at any state, switch it into another state.
In another embodiment, above-mentioned steps 103 can specifically include:
Judge whether the track indicates along curved slide motion, and foreground display interface is not belonging to default application;
If so, the instruction that instruction carries out state switching to screen display mode is obtained from the second candidate instruction group, As target instruction target word, which includes being shown displayed across state and vertically displaying state.
In the present embodiment, which can be application related with image viewing, when the track includes multiple slidings Direction, and one timing of changing rule of these glide directions, it is believed that it is along curved slide motion, in general, finger is only revolving It will form the track of curved slide motion in the case where turning.Specifically, user's finger rotation can star image in image viewing interface Rotation function checks interface non-image, and user's finger rotation can star screen rotation function.
In another embodiment, when the touch duration of the terminal is also less than preset duration, above-mentioned steps 103 specifically may be used To include:
Judge whether the track meets the second preset condition, second preset condition be along third preset direction slide, and The distance of the sliding is not less than third pre-determined distance;
If so, when foreground display interface is default interface, the first instruction, the are obtained from the second candidate instruction group Two instructions or third instruction are used as target instruction target word, which, which is used to indicate, closes foreground display interface, which uses Split screen operation is carried out to foreground display interface in instruction, third instruction, which is used to indicate, switches to notice in advance for foreground display interface Look at interface.
In the present embodiment, the third preset direction and third pre-determined distance can be manually set.The default interface can be It does not include any application interface or the interface of split screen application of screen main interface.The notice preview interface is mainly used for showing Show various missed calls, see the alert notifications such as message.Split screen operation refers mainly to for screen to be divided at least two display windows, It is operated independently of one another between different display windows.
When finger has slided third pre-determined distance along third preset direction, if it does not include screen master that foreground display interface, which is, When any application interface at interface, it may be implemented to close foreground application (be equivalent to and switch to closed state) or display notice preview Interface, wherein the switching mode that foreground display interface switches to notice preview interface be can be into downslide (downslide) or left cunning (right cunning), if foreground display interface is that split screen operation may be implemented and (be equivalent to and switch to split screen when supporting the application interface of split screen State), and during split screen, user can voluntarily select to need to show simultaneously on the screen other single or multiple answer With can also be selected by system default.
In another embodiment, when the touch duration of the terminal is also less than preset duration, above-mentioned steps 103 specifically may be used To include:
Judge whether the track is slided along the 4th preset direction, and foreground display interface is application interface;
If so, calculating sliding speed according to the total length for touching duration and the track;
When the sliding speed be not less than pre-set velocity when, from the second candidate instruction group obtain instruction to foreground application into The instruction of row switching, as target instruction target word.
In the present embodiment, the touch duration of each tracing point can be added up, obtain total duration, then calculate track Ratio between total length and total duration, obtains sliding speed.The pre-set velocity refers mainly to the speed swept on the screen, this Four preset directions and pre-set velocity can be taking human as setting, and the 4th preset direction can be left, right or top, lower section. Switch over to foreground application may include switching over foreground application and background application, or foreground application is answered with specified With switching over.
(C) when the target instruction target word group is third candidate instruction group
In one embodiment, above-mentioned steps 103 can specifically include:
When the position of boundary line in the position of starting point in the track and application widget overlaps, from the third, candidate refers to It enables and obtains the instruction that instruction carries out size adjustment to respective application window in group, as target instruction target word;Alternatively,
When the position of file in the position of starting point in the track and application widget overlaps, and the beginning and end is located at When in different windows application, the finger that instruction carries out file transmission to respective application window is obtained from the third candidate instruction group It enables, as target instruction target word.
In the present embodiment, for showing the foreground interface of multiple application widgets simultaneously, after finger is in starting point pause again When sliding, if at pause being the position where application widget boundary line, window adjustment function can star, if being to answer at pause With the position where some file in window, and when sliding beginning and end and being located in different application window, file can star Transfer function.
104, the electronic equipment is accordingly controlled according to the target instruction target word.
For example, above-mentioned steps 104 specifically can wrap when the target instruction target word is used to indicate and switches over to foreground application It includes:
Determine the starting time of the background application and the background application that run in the electronic equipment;
Target application is determined from the background application according to the starting time;
Foreground application is switched into the target application.
In the present embodiment, can by the starting time to background application from left to right, or be ranked up from top to bottom, work as electricity When sub- equipment is slided along some direction (such as left or top), it can will start background application of the time before foreground application As target application, when sliding in reverse direction, it can will start background application of the time after foreground application and be answered as target With.
For example, above-mentioned steps 104 are specific when the target instruction target word is used to indicate to the progress file transmission of respective application window May include:
The corresponding file of the starting point is transmitted in the corresponding application widget of the terminal.
In the present embodiment, the data transmission between two applications can be realized according to the corresponding different application of beginning and end.
For example, above-mentioned steps 104 are specific when the target instruction target word is used to indicate to the progress size adjustment of respective application window May include:
The corresponding boundary line of the starting point is dragged to the terminal.
In the present embodiment, when user's finger is placed in edge of window boundary line, boundary line can be dragged and moved along track, To realize that the adjustment to application window size and position operates.
It should be noted that above-mentioned first preset direction, the second preset direction, third preset direction and the 4th preset direction It can be same direction, be also possible to different directions, first pre-determined distance, the second pre-determined distance and third pre-determined distance can be with It is same distance, is also possible to different distance, it specifically can be depending on user demand.
It can be seen from the above, apparatus control method provided in this embodiment, applied to the electronic equipment including screen, by obtaining The touch duration of each tracing point in the track and the track for taking at least two fingers to slide in the same direction on the screen, and root Target instruction target word group is determined from multiple candidate instruction groups according to the touch duration, it is true from the target instruction target word group according to the track later Set the goal instruction, and is accordingly controlled according to the target instruction target word the electronic equipment, so as to by way of referring to sliding more Start various functions of the equipments, without entering relevant operation interface, method is simple, and flexibility is high, without by physical button, uses Family experience sense is good.
In the present embodiment, it will be described from the angle of plant control unit, it specifically will be with the plant control unit collection At include screen electronic equipment in for be described in detail.
Fig. 3, a kind of apparatus control method are referred to, detailed process can be such that
201. electronic equipments obtain each in the track and the track that at least two fingers slide in the same direction on the screen The touch duration of tracing point, the tracing point include beginning and end.
For example, when the screen of electronic equipment is in sense state (namely screen is in the unlocked state), if user wants to open Certain function is moved, two fingers can be made or refers to that sliding, electronic equipment can obtain correspondence in sliding process in the same direction on the screen more Track and tracing point touch duration.
202. electronic equipments judge whether the touch duration of the starting point is not less than preset duration, if so, executing following steps Rapid 203, if it is not, then executing following step 204.
For example, which can be 3 seconds or 4 seconds of artificial settings etc..It, can be according to cunning in finger sliding process Emotionally condition and operation applicable cases determination need to choose which type of instruction, which is related to the touch time of starting point With glide direction etc., the direction of the sliding substantially may include sliding up and down, horizontally slipping, rotating, and specifically may refer to figure 4。
Whether the detection of 203. electronic equipments shows multiple application widgets in the interface of foreground, if so, it is candidate to obtain third Instruction group includes being used to indicate the finger handled respective application window in the third candidate instruction group as target instruction target word group It enables, and executes following step 205-206, if it is not, it is candidate then to obtain first when the touch duration of the terminal is less than preset duration Instruction group includes being used to indicate to control the electronic equipment and carry out parameter adjustment as target instruction target word group, in the first candidate instruction group Instruction, and execute following step 207-208.
For example, when finger just slides after starting point pause, the first candidate instruction group or third candidate instruction can be chosen Group, for example, when foreground interface is the split screen interface of application third candidate instruction group can be chosen, when foreground interface is not answered When split screen interface, the first candidate instruction group can be chosen, different candidate instruction groups correspond to different types of instruction.
205. when the position of boundary line in the position of starting point in the track and application widget overlaps, electronic equipment from The instruction that instruction carries out size adjustment to respective application window is obtained in the third candidate instruction group, as target instruction target word.
206. overlap when the position of file in the position of starting point in the track and application widget, and the beginning and end When in different windows application, electronic equipment obtains instruction from the third candidate instruction group and carries out text to respective application window The instruction of part transmission, as target instruction target word.
For example, Fig. 5 is referred to, when foreground interface is divided into two application widget A and B, if at sliding initial stage, user hand Finger has been parked on the boundary line of application widget A (namely finger shown in solid in figure), then can drag the boundary line and be moved, It is adjusted with the size to application widget A, if user's finger has been parked on some file in application widget A (namely in figure Finger shown in dotted line be directed toward pdf document), then may be implemented this document across application transport.
207. indicate to slide along the first preset direction when the track, and the distance of the sliding is not less than the first pre-determined distance When, electronic equipment obtains the instruction of instruction increase volume value and/or brightness value from the first candidate instruction group, refers to as target It enables.
208. slide when track instruction along the direction opposite with first preset direction, and the distance of the sliding is not less than When the first pre-determined distance, electronic equipment obtains the finger that instruction reduces volume value and/or brightness value from the first candidate instruction group It enables, as target instruction target word.
For example, which can be downslide or upper cunning, first pre-determined distance can be according to the length of display screen Depending on degree, for example, when user's finger pause after glide (or upper cunning) distance to a declared goal when, volume or brightness can be tuned up, when with Family finger when upper sliding (or downslide) distance to a declared goal, volume or brightness can be turned down after pausing.
204. when the touch duration of the terminal is less than preset duration, and electronic equipment obtains the second candidate instruction group as mesh Instruction group is marked, includes being used to indicate the instruction for controlling electronic equipment progress state switching, and hold in the second candidate instruction group Row following step 209.
209. electronic equipments determine target instruction target word according to the track from the second candidate instruction group.
For example, referring to Fig. 6, above-mentioned steps 209 be can specifically include:
Electronic equipment judges whether the track meets the first preset condition, which is along the second preset direction Sliding, and the distance of the sliding is not less than the second pre-determined distance;
Above-mentioned steps 201 are executed if it is not, can then return;
If so, obtaining and referring to from the second candidate instruction group when the touch duration of the terminal is not less than preset duration Show the instruction that state switching is carried out to cleaning mode, as target instruction target word, which includes cleaning state and non-cleaning shape State;Alternatively,
When the touch duration of the terminal is less than preset duration, instruction is obtained from the second candidate instruction group to screen locking mould Formula, notification mode, acoustic pattern and/or screen rotation mode carry out the instruction of state switching, as target instruction target word, the screen locking mould Formula includes lock state and unlocked state, which includes allowing notice state and forbidding notice state, the acoustic pattern Including mute state and RINGING state, which includes forbidding rotation status and permission rotation status.
For example, second preset condition, the second pre-determined distance can as the first preset condition, the first pre-determined distance, Can also be different, for example, can carry out memory cleaning when pausing after user's finger downslide distance to a declared goal, work as user's finger When downslide distance to a declared goal, screen locking can be carried out, or in notification mode allow notice state and forbid notice state (namely Do not disturb state) switch over, perhaps in acoustic pattern mute state and RINGING state switch over or to screen rotation Rotation status and permission rotation status is forbidden to switch in mode.
For example, referring to Fig. 7, above-mentioned steps 209 be can specifically include:
Electronic equipment judges whether the track indicates along curved slide motion, and foreground display interface is not belonging to default application;
Above-mentioned steps 201 are executed if it is not, can then return;
If so, the instruction that instruction carries out state switching to screen display mode is obtained from the second candidate instruction group, As target instruction target word, which includes being shown displayed across state and vertically displaying state.
For example, which can be picture browsing application.When user's finger rotation when, if foreground display interface be except Screen can be switched to transverse screen by horizontal screen switching to vertical screen, or by vertical screen by the arbitrary interface of image viewing interface.
For example, referring to Fig. 8, above-mentioned steps 209 be can specifically include:
When the touch duration of the terminal is less than preset duration, electronic equipment judges whether the track meets the second default item Part, second preset condition are to slide along third preset direction, and the distance of the sliding is not less than third pre-determined distance;
Above-mentioned steps 201 are executed if it is not, can then return;
If so, when foreground display interface is default interface, the first instruction, the are obtained from the second candidate instruction group Two instructions or third instruction are used as target instruction target word, which, which is used to indicate, closes foreground display interface, which uses Split screen operation is carried out to foreground display interface in instruction, third instruction, which is used to indicate, switches to notice in advance for foreground display interface Look at interface.
For example, the third preset condition, third pre-determined distance can as the first preset condition, the first pre-determined distance, Can also be different, for example, if the default interface is application interface, can be answered this when user's finger downslide distance to a declared goal Notice center is switched to being closed, or by the application interface, it, can if the default interface be the application interface of support split screen To carry out split screen to the application.
For example, referring to Fig. 9, above-mentioned steps 209 be can specifically include:
When the touch duration of the terminal is less than preset duration, judge whether the track is slided along the 4th preset direction, and Foreground display interface is application interface;
If so, calculating sliding speed according to the total length for touching duration and the track;
When the sliding speed be not less than pre-set velocity when, from the second candidate instruction group obtain instruction to foreground application into The instruction of row switching, as target instruction target word.
For example, the 4th preset direction can be left cunning or right cunning, when finger with the left cunning of certain speed or it is right sliding when, can be with Foreground application is switched into other application.
210. electronic equipments accordingly control the electronic equipment according to the target instruction target word.
For example, it when needing to switch over foreground application, can switch it to previous starting answer according to the starting time With perhaps latter starting application or specified application.It, can be according to starting point and end when needing to transmit window file The corresponding different application window of point, file is transmitted in the two application widgets.When need to application widget carry out When size adjusts, boundary line can be dragged to final position from start position.
The method according to described in above-described embodiment, the present embodiment will be retouched from the angle further progress of plant control unit It states, which can be used as independent entity specifically to realize, also can integrate in electronic equipment, such as terminal It realizes, which may include mobile phone, tablet computer etc..
Referring to Fig. 10, plant control unit provided by the embodiments of the present application has been described in detail in Figure 10, set applied to electronics Standby, which may include: to obtain module 10, the first determining module 20, the second determining module 30 and control module 40, in which:
(1) module 10 is obtained
Module 10 is obtained, for obtaining in the track and the track that at least two fingers slide in the same direction on the screen The touch duration of each tracing point.
In the present embodiment, when electronic equipment is in normal operating condition (namely in the unlocked state), it can examine in real time The slip information of finger on the screen is surveyed, which includes sliding point position and corresponding touch moment, and according to the sliding Information generates corresponding sliding trace, which refers generally to from the regular or irregular line segment formed between origin-to-destination, Such as straightway, broken line, curved section etc..The sliding in the same direction refers to be slided in the same direction, in general, multiple fingers slide in the same direction When the sliding trace that is formed be the identical line segment of a plurality of shape.
(2) first determining modules 20
First determining module 20, for determining target instruction target word group from multiple candidate instruction groups according to the touch duration.
For example, the tracing point includes beginning and end, which may include the first candidate instruction group and second Candidate instruction group, referring to Figure 11, which includes:
Judging submodule 21, for judging whether the touch duration of the starting point is not less than preset duration;
First acquisition submodule 22, for if so, obtaining first when the touch duration of the terminal is less than preset duration Candidate instruction group includes being used to indicate to control the electronic equipment and carry out parameter as target instruction target word group, in the first candidate instruction group The instruction of adjustment;
Second acquisition submodule 23, for if it is not, obtaining second then when the touch duration of the terminal is less than preset duration Candidate instruction group includes being used to indicate to control the electronic equipment and carry out state as target instruction target word group, in the second candidate instruction group The instruction of switching.
In the present embodiment, which can be manually set, such as 3 seconds or 4 seconds, be slightly longer than normal termination movement institute The time needed, for embodying a standstill state.When the touch duration of some tracing point is greater than or equal to the preset duration, Represent user's finger has pause here, and different pause modes can correspond to the different types of application function of starting, in hand When referring to sliding, electronic equipment can with the stall condition of each tracing point of real-time detection, such as user's finger starting point just When starting to pause, can first primarily determine out a small-scale instruction group, for example, determine to belong to parameter adjustment type or The series of instructions of state switching type, the parameter may include brightness or volume etc..
In another embodiment, which can also include third candidate instruction group, first determining module Further include third acquisition submodule 24, be used for:
The judging submodule judge the starting point touch duration whether be not less than preset duration after, when the touching of the starting point When touching duration not less than preset duration, detect in the interface of foreground whether show multiple application widgets;
It include for referring in the third candidate instruction group if so, obtaining third candidate instruction group as target instruction target word group Show the instruction handled respective application window;
If it is not, then triggering second acquisition submodule when the touch duration of the terminal is less than preset duration and executing acquisition Operation of the first candidate instruction group as target instruction target word group.
In the present embodiment, it may include adjusting to respective application window size that this, which carries out processing to respective application window, It is whole and to respective application window transmission file etc..When finger just starts sliding after starting point pause, if current interface is point Shield interface (namely showing at least two application widgets simultaneously), it is believed that user wants to handle application widget, if working as Front interface is not split screen interface, it is believed that user wants to be adjusted device parameter.
(3) second determining modules 30
Second determining module 30, for determining target instruction target word from the target instruction target word group according to the track.
In the present embodiment, the second determining module 30 can determine that needs open by duration and the two dimensions of track are touched Which kind of function in dynamic electronic equipment, for example, the different stall conditions of tracing point, different glide directions and sliding distance etc. all may be used With the different instruction of correspondence.
(A) when the target instruction target word group is the first candidate instruction group
In one embodiment, above-mentioned second determining module 30 specifically can be used for:
When track instruction is slided along the first preset direction, and the distance of the sliding is not less than the first pre-determined distance, from The instruction that instruction increase volume value and/or brightness value are obtained in the first candidate instruction group, as target instruction target word;
When the direction sliding opposite with first preset direction of track instruction edge, and the distance of the sliding is not less than first When pre-determined distance, the instruction that instruction reduces volume value and/or brightness value is obtained from the first candidate instruction group, is referred to as target It enables.
In the present embodiment, first preset direction and the first pre-determined distance can be manually set, for example this is first default Direction can be above or below etc., which can be some fixed value, or depending on screen is long or width, It for example is screen length or wide 2/3rds.It, can be with when sliding the first pre-determined distance along the first preset direction after finger pause The instruction that tunes up the numerical parameters such as volume or brightness is obtained, along the opposite direction sliding of the first preset direction the after finger pauses When one pre-determined distance, the available instruction for turning the numerical parameters such as volume or brightness down.
(B) when the target instruction target word group is the second candidate instruction group
In one embodiment, above-mentioned second determining module 30 specifically can be used for:
Judge whether the track meets the first preset condition, first preset condition be along the second preset direction slide, and The distance of the sliding is not less than the second pre-determined distance;
If so, obtaining and referring to from the second candidate instruction group when the touch duration of the terminal is not less than preset duration Show the instruction that state switching is carried out to cleaning mode, as target instruction target word, which includes cleaning state and non-cleaning shape State;Alternatively,
When the touch duration of the terminal is less than preset duration, instruction is obtained from the second candidate instruction group to screen locking mould Formula, notification mode, acoustic pattern and/or screen rotation mode carry out the instruction of state switching, as target instruction target word, the screen locking mould Formula includes lock state and unlocked state, which includes allowing notice state and forbidding notice state, the acoustic pattern Including mute state and RINGING state, which includes forbidding rotation status and permission rotation status.
In the present embodiment, second preset direction and the second pre-determined distance can be manually set.When finger is default along second When the pause of the second pre-determined distance is slided in direction, the second determining module 30 can be to starting memory cleaning operation, or stops The memory cleaning operation of execution.When finger only slides the second pre-determined distance along the second preset direction, the second determining module 30 State switching can be carried out to other modes, such as in screen locking pattern, notification mode, acoustic pattern, screen rotation mode etc. One or more carry out state switchings need first to determine that electronic equipment is currently at any state and in handoff procedure, Switch it into another state.
In another embodiment, above-mentioned second determining module 30 specifically can be used for:
Judge whether the track indicates along curved slide motion, and foreground display interface is not belonging to default application;
If so, the instruction that instruction carries out state switching to screen display mode is obtained from the second candidate instruction group, As target instruction target word, which includes being shown displayed across state and vertically displaying state.
In the present embodiment, which can be application related with image viewing, when the track includes multiple slidings Direction, and one timing of changing rule of these glide directions, it is believed that it is along curved slide motion, in general, finger is only revolving It will form the track of curved slide motion in the case where turning.Specifically, user's finger rotation can star image in image viewing interface Rotation function checks interface non-image, and user's finger rotation can star screen rotation function.
In another embodiment, when the touch duration of the terminal is also less than preset duration, above-mentioned second determining module 30 specifically can be used for:
Judge whether the track meets the second preset condition, second preset condition be along third preset direction slide, and The distance of the sliding is not less than third pre-determined distance;
If so, when foreground display interface is default interface, the first instruction, the are obtained from the second candidate instruction group Two instructions or third instruction are used as target instruction target word, which, which is used to indicate, closes foreground display interface, which uses Split screen operation is carried out to foreground display interface in instruction, third instruction, which is used to indicate, switches to notice in advance for foreground display interface Look at interface.
In the present embodiment, the third preset direction and third pre-determined distance can be manually set.The default interface can be It does not include any application interface or the interface of split screen application of screen main interface.The notice preview interface is mainly used for showing Show various missed calls, see the alert notifications such as message.Split screen operation refers mainly to for screen to be divided at least two display windows, It is operated independently of one another between different display windows.
When finger has slided third pre-determined distance along third preset direction, if it does not include screen master that foreground display interface, which is, When any application interface at interface, it may be implemented to close foreground application (be equivalent to and switch to closed state) or display notice preview Interface, wherein the switching mode that foreground display interface switches to notice preview interface be can be into downslide (downslide) or left cunning (right cunning), if foreground display interface is that split screen operation may be implemented and (be equivalent to and switch to split screen when supporting the application interface of split screen State), and during split screen, user can voluntarily select to need to show simultaneously on the screen other single or multiple answer With can also be selected by system default.
In another embodiment, when the touch duration of the terminal is also less than preset duration, above-mentioned second determining module 30 specifically can be used for:
Judge whether the track is slided along the 4th preset direction, and foreground display interface is application interface;
If so, calculating sliding speed according to the total length for touching duration and the track;
When the sliding speed be not less than pre-set velocity when, from the second candidate instruction group obtain instruction to foreground application into The instruction of row switching, as target instruction target word.
In the present embodiment, determining module 30 can add up the touch duration of each tracing point, obtain total duration, so The ratio between total trajectory length and total duration is calculated afterwards, obtains sliding speed.The pre-set velocity refers mainly to sweep on the screen Speed, the 4th preset direction and pre-set velocity can be taking human as setting, and the 4th preset direction can be left, right, or Person top, lower section.Switching over to foreground application may include switching over foreground application and background application, or by foreground It is switched over using with specified application.
(C) when the target instruction target word group is third candidate instruction group
In one embodiment, above-mentioned second determining module 30 specifically can be used for:
When the position of boundary line in the position of starting point in the track and application widget overlaps, from the third, candidate refers to It enables and obtains the instruction that instruction carries out size adjustment to respective application window in group, as target instruction target word;Alternatively,
When the position of file in the position of starting point in the track and application widget overlaps, and the beginning and end is located at When in different windows application, the finger that instruction carries out file transmission to respective application window is obtained from the third candidate instruction group It enables, as target instruction target word.
In the present embodiment, for showing the foreground interface of multiple application widgets simultaneously, after finger is in starting point pause again When sliding, if at pause being the position where application widget boundary line, the second determining module 30 can star window adjustment function Can, if being the position where some file in application widget at pause, and slides beginning and end and be located in different application window When, the second determining module 30 can star file transmitting function.
(4) control module 40
Control module 40, for accordingly being controlled according to the target instruction target word the electronic equipment.
For example, when the target instruction target word is used to indicate and switches over to foreground application, above-mentioned control module 40 specifically can be with For:
Determine the starting time of the background application and the background application that run in the electronic equipment;
Target application is determined from the background application according to the starting time;
Foreground application is switched into the target application.
In the present embodiment, control module 40 can by starting the time to background application from left to right, or from top to bottom into Row sequence, when electronic equipment along some direction (such as left or top) slide when, can will starting the time foreground application it Preceding background application is as target application, when sliding in reverse direction, can will start backstage of the time after foreground application and answer It is used as target application.
For example, when the target instruction target word is used to indicate to the progress file transmission of respective application window, above-mentioned control module 40 Specifically it can be used for:
The corresponding file of the starting point is transmitted in the corresponding application widget of the terminal.
In the present embodiment, control module 40 can according to the corresponding different application of beginning and end, realize two application between Data transmission.
For example, when the target instruction target word is used to indicate to the progress size adjustment of respective application window, above-mentioned control module 40 Specifically it can be used for:
The corresponding boundary line of the starting point is dragged to the terminal.
In the present embodiment, when user's finger is placed in edge of window boundary line, control module 40 can drag boundary line edge Track it is mobile, to realize that the adjustment to application window size and position operates.
It should be noted that above-mentioned first preset direction, the second preset direction, third preset direction and the 4th preset direction It can be same direction, be also possible to different directions, first pre-determined distance, the second pre-determined distance and third pre-determined distance can be with It is same distance, is also possible to different distance, it specifically can be depending on user demand.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not It repeats again.
It can be seen from the above, plant control unit provided in this embodiment, is applied to electronic equipment, obtained by obtaining module 10 The touch duration of each tracing point in the track and the track for taking at least two fingers to slide in the same direction on the screen, first Determining module 20 determines target instruction target word group according to the touch duration from multiple candidate instruction groups, later the second determining module 30 Target instruction target word is determined from the target instruction target word group according to the track, control module 40 carries out the electronic equipment according to the target instruction target word Corresponding control, so as to start various functions of the equipments by way of more referring to sliding, without entering relevant operation interface, method letter Single, flexibility is high, and without by physical button, user experience is good.
In addition, the electronic equipment can be smart phone, plate electricity the embodiment of the present application also provides a kind of electronic equipment The equipment such as brain.As shown in figure 12, electronic equipment 100 may include control circuit, which may include storage and processing Circuit 110.The storage and processing circuit 110 can be memory, such as hard drive memory, nonvolatile memory (example Such as flash memory or be used to form other electrically programmable read only memories of solid state drive), volatile memory is (such as static Or dynamic random access memory etc.) etc., the embodiment of the present application is with no restriction.Store and process the processing circuit in circuit 110 It can be used for the operating of controlling electronic devices 100.The processing circuit can microprocessor based on one or more, microcontroller, Digital signal processor, baseband processor, power management unit, audio codec chip, specific integrated circuit, display driving Device integrated circuit etc. is realized.
Storage and processing circuit 110 can be used for running the software in electronic equipment 100, such as the Internet browser application journey Sequence, voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, Email Application program, media play-back application, operation system function etc..These softwares can be used for executing some control operations, example Such as, based on the Image Acquisition of camera, the ambient light measurement based on ambient light sensor, based on proximity sensor close to sensing Device measurement, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized, based on touch The touch event of sensor detects, function associated with information is shown on multiple (such as layering) displays, with execution The associated operation of wireless communication function, operation associated with collecting and generating audio signal, is pressed with collection and treatment button Other functions etc. in the associated control operation of event data and electronic equipment 100 are pressed, the embodiment of the present application does not limit System.
Electronic equipment 100 can also include input-output circuit 120.Input-output circuit 120 can be used for setting electronics Standby 100 realization data are output and input, i.e. permission electronic equipment 100 allows electronic equipment from outer equipment receiving data and also 100 export data to external equipment from electronic equipment 100.Input-output circuit 120 may further include sensor 121. Sensor 121 may include ambient light sensor, the proximity sensor based on light and capacitor, and touch sensor is (for example, be based on light Touch sensor and/or capacitive touch sensors, wherein touch sensor can be a part of touching display screen, can also Independently to be used as a touch sensor arrangement), acceleration transducer and other sensors etc..
Input-output circuit 120 can also include one or more displays 122.Display 122 may include liquid crystal Show device, organic light emitting diode display, electronic ink display, plasma display uses the display of other display technologies One or several kinds of combination in device.Display 122 may include touch sensor array (that is, display 122 can be touch-control Display screen).Touch sensor can be to be formed by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) array Capacitive touch sensors, or can be the touch sensor formed using other touching techniques, such as sound wave touch-control, press Quick touch, resistive touch, optical touch etc., the embodiment of the present application is with no restriction.
Electronic equipment 100 can also include audio component 123.Audio component 123 can be used for providing for electronic equipment 100 Audio input and output function.Audio component 123 in electronic equipment 100 may include loudspeaker, microphone, buzzer, sound Adjust generator and other for generating and detecting the component of sound.
Telecommunication circuit 124 can be used for providing the ability with external device communication for electronic equipment 100.Telecommunication circuit 124 It may include analog- and digital- input-output interface circuit, and the radio communication circuit based on radiofrequency signal and/or optical signal. Radio communication circuit in telecommunication circuit 124 may include radio-frequency transceiver circuitry, power amplifier circuit, low noise amplification Device, switch, filter and antenna.For example, the radio communication circuit in telecommunication circuit 124 may include for passing through transmitting The circuit of near-field communication (Near Field Communication, NFC) is supported with near-field coupling electromagnetic signal is received.Example Such as, telecommunication circuit 124 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 124 can also include honeycomb Telephone transceiver and antenna, wireless lan transceiver circuit and antenna etc..
Electronic equipment 100 can further include battery, power management circuitry and other input-output units 125.It is defeated Enter-output unit 125 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera, hair Optical diode and other positioning indicators etc..
User can input a command for the operation of controlling electronic devices 100 by input-output circuit 120, and can be with Status information and other outputs from electronic equipment 100 are received using the output data of input-output circuit 120 to realize.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one In storage media, and is loaded and executed by processor.For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein storing There is a plurality of instruction, which can be loaded by processor, to execute any equipment control provided by the embodiment of the present invention Step in method processed.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, any equipment control provided by the embodiment of the present invention can be executed Step in method processed, it is thereby achieved that achieved by any apparatus control method provided by the embodiment of the present invention Beneficial effect is detailed in the embodiment of front, and details are not described herein.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
It is to sum up somebody's turn to do, although the application is disclosed above with preferred embodiment, above preferred embodiment is not to limit The application, those skilled in the art are not departing from spirit and scope, can make various changes and profit Decorations, therefore the protection scope of the application subjects to the scope of the claims.

Claims (15)

1. a kind of apparatus control method is applied to electronic equipment, which is characterized in that the electronic equipment includes screen, described to set Include: for control method
Obtain the touch of each tracing point in the track and the track that at least two fingers slide in the same direction on the screen Duration;
Target instruction target word group is determined from multiple candidate instruction groups according to the touch duration;
Target instruction target word is determined from the target instruction target word group according to the track;
The electronic equipment is accordingly controlled according to the target instruction target word.
2. apparatus control method according to claim 1, which is characterized in that the tracing point includes beginning and end, institute Stating candidate instruction group includes the first candidate instruction group and the second candidate instruction group, it is described according to the touch duration from multiple candidates Target instruction target word group is determined in instruction group, comprising:
Judge whether the touch duration of the starting point is not less than preset duration;
If so, obtaining the first candidate instruction group as target instruction target word when the touch duration of the terminal is less than preset duration Group includes being used to indicate to control the instruction that the electronic equipment carries out parameter adjustment in the first candidate instruction group;
If it is not, obtaining the second candidate instruction group as target instruction target word then when the touch duration of the terminal is less than preset duration Group includes being used to indicate to control the instruction that the electronic equipment carries out state switching in the second candidate instruction group.
3. apparatus control method according to claim 2, which is characterized in that when the target instruction target word group is that the first candidate refers to It is described to determine target instruction target word from the target instruction target word group according to the track when enabling group, comprising:
When track instruction is slided along the first preset direction, and the distance of the sliding is not less than the first pre-determined distance, from The instruction that instruction increase volume value and/or brightness value are obtained in the first candidate instruction group, as target instruction target word;
When track instruction is slided along the direction opposite with first preset direction, and the distance of the sliding is not less than the When one pre-determined distance, the instruction that instruction reduces volume value and/or brightness value is obtained from the first candidate instruction group, as mesh Mark instruction.
4. apparatus control method according to claim 2, which is characterized in that when the target instruction target word group is that the second candidate refers to It is described to determine target instruction target word from the target instruction target word group according to the track when enabling group, comprising:
Judge whether the track meets the first preset condition, first preset condition be slided along the second preset direction, and The distance of the sliding is not less than the second pre-determined distance;
If so, obtaining and referring to from the second candidate instruction group when the touch duration of the terminal is not less than preset duration Show the instruction that state switching is carried out to cleaning mode, as target instruction target word, the cleaning mode includes cleaning state and non-cleaning State;Alternatively,
When the touch duration of the terminal is less than preset duration, instruction is obtained from the second candidate instruction group to screen locking mould Formula, notification mode, acoustic pattern and/or screen rotation mode carry out the instruction of state switching, as target instruction target word, the screen locking Mode includes lock state and unlocked state, and the notification mode includes allowing notice state and forbidding notice state, the sound Sound mode includes mute state and RINGING state, and the screen rotation mode includes forbidding rotation status and permission rotation status.
5. apparatus control method according to claim 2, which is characterized in that when the target instruction target word group is that the second candidate refers to It is described to determine target instruction target word from the target instruction target word group according to the track when enabling group, comprising:
Judge whether the track indicates along curved slide motion, and foreground display interface is not belonging to default application;
If so, obtaining the instruction that instruction carries out state switching to screen display mode from the second candidate instruction group, make For target instruction target word, the screen display mode includes being shown displayed across state and vertically displaying state.
6. apparatus control method according to claim 2, which is characterized in that when the target instruction target word group is that the second candidate refers to Enable group, and when the touch duration of the terminal is less than preset duration, it is described according to the track from the target instruction target word group really Set the goal instruction, comprising:
Judge whether the track meets the second preset condition, second preset condition be slided along third preset direction, and The distance of the sliding is not less than third pre-determined distance;
If so, obtaining the first instruction, second from the second candidate instruction group when foreground display interface is default interface Instruction or third instruction are used as target instruction target word, and first instruction, which is used to indicate, closes foreground display interface, second instruction Be used to indicate and split screen operation carried out to foreground display interface, third instruction be used to indicate foreground display interface is switched to it is logical Know preview interface.
7. apparatus control method according to claim 2, which is characterized in that when the target instruction target word group is that the second candidate refers to Enable group, and when the touch duration of the terminal is less than preset duration, it is described according to the track from the target instruction target word group really Set the goal instruction, comprising:
Judge whether the track is slided along the 4th preset direction, and foreground display interface is application interface;
If so, calculating sliding speed according to the total length for touching duration and the track;
When the sliding speed be not less than pre-set velocity when, from the second candidate instruction group obtain instruction to foreground application into The instruction of row switching, as target instruction target word.
8. apparatus control method according to claim 2, which is characterized in that the candidate instruction group further includes third candidate Instruction group, after whether the touch duration for judging the starting point is not less than preset duration, further includes:
When the touch duration of the starting point is not less than preset duration, detect in the interface of foreground whether show multiple application windows Mouthful;
If so, obtaining third candidate instruction group is used as target instruction target word group, including being used to indicate in the third candidate instruction group The instruction that respective application window is handled;
If it is not, obtaining the first candidate instruction group as target instruction target word then when the touch duration of the terminal is less than preset duration Group.
9. apparatus control method according to claim 8, which is characterized in that when the target instruction target word group is that third candidate refers to It is described to determine target instruction target word from the target instruction target word group according to the track when enabling group, comprising:
When the position of boundary line in the position of starting point in the track and application widget overlaps, refer to from the third candidate It enables and obtains the instruction that instruction carries out size adjustment to respective application window in group, as target instruction target word;
It is described that the electronic equipment is accordingly controlled according to the target instruction target word, comprising: by the corresponding boundary of the starting point Line is dragged to the terminal.
10. apparatus control method according to claim 8, which is characterized in that when the target instruction target word group is that third is candidate It is described to determine target instruction target word from the target instruction target word group according to the track when instruction group, comprising:
When the position of file in the position of starting point in the track and application widget overlaps, and the beginning and end is located at When in different windows application, the finger that instruction carries out file transmission to respective application window is obtained from the third candidate instruction group It enables, as target instruction target word;
It is described that the electronic equipment is accordingly controlled according to the target instruction target word, comprising: by the corresponding file of the starting point It is transmitted in the corresponding application widget of the terminal.
11. a kind of plant control unit is applied to electronic equipment, which is characterized in that the electronic equipment includes screen, described to set Include: for control device
Module is obtained, it is every in the track and the track that at least two fingers slide in the same direction on the screen for obtaining The touch duration of a tracing point;
First determining module, for determining target instruction target word group from multiple candidate instruction groups according to the touch duration;
Second determining module, for determining target instruction target word from the target instruction target word group according to the track;
Control module, for accordingly being controlled according to the target instruction target word the electronic equipment.
12. plant control unit according to claim 11, which is characterized in that the tracing point includes beginning and end, The candidate instruction group includes the first candidate instruction group and the second candidate instruction group, and first determining module includes:
Judging submodule, for judging whether the touch duration of the starting point is not less than preset duration;
First acquisition submodule, for if so, it is candidate to obtain first when the touch duration of the terminal is less than preset duration Instruction group includes being used to indicate the control electronic equipment to carry out parameter as target instruction target word group, in the first candidate instruction group The instruction of adjustment;
Second acquisition submodule, for if it is not, it is candidate to obtain second then when the touch duration of the terminal is less than preset duration Instruction group includes being used to indicate the control electronic equipment to carry out state as target instruction target word group, in the second candidate instruction group The instruction of switching.
13. plant control unit according to claim 12, which is characterized in that the candidate instruction group further includes that third is waited Instruction group is selected, first determining module further includes that third obtains module, it is used for:
The judging submodule judge the starting point touch duration whether be not less than preset duration after, when the starting point When touching duration not less than preset duration, detect in the interface of foreground whether show multiple application widgets;
If so, obtaining third candidate instruction group is used as target instruction target word group, including being used to indicate in the third candidate instruction group The instruction that respective application window is handled;
If it is not, triggering second acquisition submodule then when the touch duration of the terminal is less than preset duration and executing acquisition Operation of the first candidate instruction group as target instruction target word group.
14. a kind of computer readable storage medium, which is characterized in that be stored with a plurality of instruction, the finger in the storage medium It enables being suitable for being loaded by processor and 1 to 10 described in any item apparatus control methods is required with perform claim.
15. a kind of electronic equipment, which is characterized in that including processor and memory, the processor and the memory are electrical Connection, the memory is for storing instruction and data, the processor are described in any item for perform claim requirement 1 to 10 Step in apparatus control method.
CN201810682445.0A 2018-06-27 2018-06-27 Device control method, device, storage medium and electronic device Active CN108984092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810682445.0A CN108984092B (en) 2018-06-27 2018-06-27 Device control method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810682445.0A CN108984092B (en) 2018-06-27 2018-06-27 Device control method, device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN108984092A true CN108984092A (en) 2018-12-11
CN108984092B CN108984092B (en) 2020-12-22

Family

ID=64538704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810682445.0A Active CN108984092B (en) 2018-06-27 2018-06-27 Device control method, device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN108984092B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635546A (en) * 2018-12-30 2019-04-16 联想(北京)有限公司 A kind of processing method and processing device
CN109656416A (en) * 2018-12-28 2019-04-19 腾讯音乐娱乐科技(深圳)有限公司 A kind of control method based on multi-medium data, device and relevant device
CN110083266A (en) * 2019-04-02 2019-08-02 上海墨案智能科技有限公司 Information processing method, device and storage medium
CN110209330A (en) * 2019-05-28 2019-09-06 Oppo广东移动通信有限公司 A kind of control method of progress bar, terminal and computer storage medium
CN114458123A (en) * 2022-04-12 2022-05-10 国汽智控(北京)科技有限公司 Vehicle window control method, device and equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566920A (en) * 2008-04-27 2009-10-28 宏达国际电子股份有限公司 Electronic device and user interface display method thereof
CN102073437A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Method for controlling touch electronic device
CN102541390A (en) * 2010-12-07 2012-07-04 联想(北京)有限公司 Electronic equipment and method for movably displaying object
WO2013173037A1 (en) * 2012-05-16 2013-11-21 Motorola Solutions, Inc. Device and method for automated use of force sensing touch panels
CN104298455A (en) * 2013-07-15 2015-01-21 联想(北京)有限公司 Quick command generating method and electronic equipment
CN104714740A (en) * 2013-12-11 2015-06-17 联想(北京)有限公司 Preset parameter adjusting method, adjusting device and electronic equipment
CN104731507A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Application switching method of mobile terminal and mobile terminal
CN104854550A (en) * 2012-12-06 2015-08-19 三星电子株式会社 Display device and method for controlling the same
CN105430168A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Mobile terminal and file sharing method
CN105872211A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Screen brightness adjusting method and terminal
CN105867766A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Sound volume adjustment method and terminal
CN106909297A (en) * 2016-08-19 2017-06-30 阿里巴巴集团控股有限公司 A kind of data communication processing method, device and electronic equipment, touch display device
CN107168621A (en) * 2017-04-28 2017-09-15 努比亚技术有限公司 A kind of view control method by sliding and mobile terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566920A (en) * 2008-04-27 2009-10-28 宏达国际电子股份有限公司 Electronic device and user interface display method thereof
CN102073437A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Method for controlling touch electronic device
CN102541390A (en) * 2010-12-07 2012-07-04 联想(北京)有限公司 Electronic equipment and method for movably displaying object
WO2013173037A1 (en) * 2012-05-16 2013-11-21 Motorola Solutions, Inc. Device and method for automated use of force sensing touch panels
CN104854550A (en) * 2012-12-06 2015-08-19 三星电子株式会社 Display device and method for controlling the same
CN104298455A (en) * 2013-07-15 2015-01-21 联想(北京)有限公司 Quick command generating method and electronic equipment
CN104714740A (en) * 2013-12-11 2015-06-17 联想(北京)有限公司 Preset parameter adjusting method, adjusting device and electronic equipment
CN104731507A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Application switching method of mobile terminal and mobile terminal
CN105430168A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Mobile terminal and file sharing method
CN105872211A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Screen brightness adjusting method and terminal
CN105867766A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Sound volume adjustment method and terminal
CN106909297A (en) * 2016-08-19 2017-06-30 阿里巴巴集团控股有限公司 A kind of data communication processing method, device and electronic equipment, touch display device
CN107168621A (en) * 2017-04-28 2017-09-15 努比亚技术有限公司 A kind of view control method by sliding and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656416A (en) * 2018-12-28 2019-04-19 腾讯音乐娱乐科技(深圳)有限公司 A kind of control method based on multi-medium data, device and relevant device
CN109635546A (en) * 2018-12-30 2019-04-16 联想(北京)有限公司 A kind of processing method and processing device
CN110083266A (en) * 2019-04-02 2019-08-02 上海墨案智能科技有限公司 Information processing method, device and storage medium
CN110083266B (en) * 2019-04-02 2022-05-13 上海墨案智能科技有限公司 Information processing method, device and storage medium
CN110209330A (en) * 2019-05-28 2019-09-06 Oppo广东移动通信有限公司 A kind of control method of progress bar, terminal and computer storage medium
CN110209330B (en) * 2019-05-28 2022-03-08 Oppo广东移动通信有限公司 Control method of progress bar, terminal and computer storage medium
CN114458123A (en) * 2022-04-12 2022-05-10 国汽智控(北京)科技有限公司 Vehicle window control method, device and equipment
CN114458123B (en) * 2022-04-12 2022-06-14 国汽智控(北京)科技有限公司 Vehicle window control method, device and equipment

Also Published As

Publication number Publication date
CN108984092B (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN108984092A (en) Apparatus control method, device, storage medium and electronic equipment
CN105518605B (en) A kind of touch operation method and device of terminal
CN107402663A (en) Fingerprint authentication method and the electronic equipment for performing this method
CN110709806A (en) Multitasking operation method and electronic equipment
CN106371688A (en) Full-screen single-hand operation method and apparatus
CN108536365A (en) A kind of images share method and terminal
CN107493389A (en) Singlehanded mode implementation method, terminal and computer-readable medium
CN106527693A (en) Application control method and mobile terminal
CN108509105B (en) Application program management method and terminal
CN108984067A (en) A kind of display control method and terminal
CN107977132A (en) A kind of method for information display and mobile terminal
CN107992263A (en) A kind of information sharing method and mobile terminal
CN108762708A (en) A kind of display control method and terminal
CN106126101A (en) The operational approach of a kind of mobile terminal and mobile terminal
CN105893130B (en) A kind of processing method and mobile terminal of application program for mobile terminal
CN109800045A (en) A kind of display methods and terminal
EP4160370A1 (en) Icon arrangement method, electronic device, and storage medium
CN106227488A (en) The display packing of a kind of reminder message and mobile terminal
WO2019091124A1 (en) Terminal user interface display method and terminal
CN109657561A (en) Fingerprint collecting method and Related product
CN109165075A (en) Application display method, device, electronic equipment and storage medium
CN109683802A (en) A kind of icon moving method and terminal
CN109032447A (en) A kind of icon processing method and mobile terminal
CN107908355A (en) Touch control method, mobile terminal and the storage medium of mobile terminal
CN110795189A (en) Application starting method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant