CN107632757A - A kind of terminal control method, terminal and computer-readable recording medium - Google Patents
A kind of terminal control method, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107632757A CN107632757A CN201710651051.4A CN201710651051A CN107632757A CN 107632757 A CN107632757 A CN 107632757A CN 201710651051 A CN201710651051 A CN 201710651051A CN 107632757 A CN107632757 A CN 107632757A
- Authority
- CN
- China
- Prior art keywords
- slide
- terminal
- preset range
- control
- sliding distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a kind of terminal control method, comprise the following steps:The slide to terminal screen edge is obtained, and determines the direction of slide;According to default slide direction and the corresponding relation of control, target widget corresponding to the direction of slide is inquired, control includes notice center and control centre;Invocation target control, and show;Present invention also offers a kind of terminal and computer-readable recording medium, by using such scheme, user only need to carry out slide at the edge of terminal screen, just notice center and control centre can be opened, it is convenient for users to operate, demand of the user in one-handed performance is met, improves Consumer's Experience.
Description
Technical field
, can more specifically to a kind of terminal control method, terminal and computer the present invention relates to field of terminal technology
Read storage medium.
Background technology
At present, the screen of the terminal such as smart mobile phone, tablet personal computer is increasing, length is increasingly longer, the end of different model
Hold its notice center, the display location of control centre different.
For example, the terminal of a certain model, under portrait layout state, notifies the display location at center at the top of terminal screen,
The display location of control centre is in the bottom of terminal screen;When needing to open notice center, user needs to use finger from top
Down slide;When needing to open control centre, user needs up to be slided from bottom with finger.
For example, the terminal of another model, under portrait layout state, notifies the display location at center in the bottom of terminal screen,
The display location of control centre is at the top of terminal screen;When needing to open notice center, user needs to use finger from bottom
Up slide;When needing to open control centre, user needs down to be slided from top with finger.
Above two scheme is needing to open notice center and during control centre, is required for the finger of user from terminal screen
Top down slide and up slided from the bottom of terminal screen, terminal screen is increasing, length is increasingly longer
Under development trend, above two opens the mode of operation of the scheme of notice center and control centre, is not easy to user's operation, especially
It is to realize that difficulty is larger in user's one-handed performance, poor user experience.
The content of the invention
It is a primary object of the present invention to propose a kind of terminal control method, terminal and computer-readable recording medium, purport
In solution in the prior art, the problem of user is difficult to notice center and control centre in opening a terminal.
In order to solve the above technical problems, the present invention provides a kind of terminal control method, terminal control method includes following step
Suddenly:
The slide to terminal screen edge is obtained, and determines the direction of slide;
According to default slide direction and the corresponding relation of control, target corresponding to the direction of slide is inquired
Control, control include notice center and control centre;
Invocation target control, and show.
Wherein, the corresponding relation of default slide direction and control includes:
Under terminal portrait layout state, when slide direction is from top to bottom, control is notice center;Slide direction
For from the bottom up when, control is control centre;Or under terminal portrait layout state, when slide direction is from top to bottom, control
Part is control centre;When slide direction is from the bottom up, control is notice center;
And/or under terminal transverse screen state, when slide direction is from top to bottom, control is notice center;Slide behaviour
Make direction for from the bottom up when, control is control centre;Or under terminal transverse screen state, slide direction is from upper past
When lower, control is control centre;When slide direction is from the bottom up, control is notice center.
Wherein, according to default slide direction and the corresponding relation of control, the direction for inquiring slide is corresponding
Control before, in addition to:
Judge that terminal current screen notifies with the presence or absence of banner;
If it is not, then entering the corresponding relation according to default slide direction and control, the side of slide is inquired
The step of to corresponding control;
If so, the opening and closing of banner notice are then determined according to the direction of slide.
Wherein, terminal screen edge includes at least one of following four:Two edges, terminal on terminal length direction are wide
The two edges spent on direction.
Wherein, effective slide scope at one of edge on terminal length direction is the first preset range, eventually
The effective slide scope for holding another edge on length direction is the second preset range;On terminal width direction wherein
Effective slide scope at one edge is the 3rd preset range, effective slip at another edge on terminal width direction
Opereating specification is the 4th preset range;
Under terminal portrait layout state, when length of the track in the first preset range or the second preset range of slide
When degree is more than the first predetermined threshold value, using slide as effective slide, otherwise as invalid slide;
Under terminal transverse screen state, when length of the track in the 3rd preset range or the 4th preset range of slide
When degree is more than the second predetermined threshold value, using slide as effective slide, otherwise as invalid slide.
Wherein, according to default slide direction and the corresponding relation of control, the direction for inquiring slide is corresponding
Target widget after, in addition to:
When slide is effective slide, and when in the first preset range or the second preset range, target widget
The number of display content on terminal length direction, follows slide in the first preset range or the second preset range
Sliding distance increase and increase;
When sliding distance of the slide in the first preset range or the second preset range be more than the first predetermined threshold value,
And sliding distance of the slide in the first preset range or the second preset range be more than the first predetermined threshold value and less than etc.
Any instant between the first numerical value disappears, then at the time of slide disappears display target control full content, the
One numerical value is the size shared by whole display contents of target widget on terminal screen length direction;
Or when sliding distance of the slide in the first preset range or the second preset range is more than the first numerical value,
When sliding distance of the slide in the first preset range or the second preset range is equal to the first numerical value, display target control
The full content of part, the first numerical value are more than or equal to the first predetermined threshold value;
When slide is effective slide, and when in the 3rd preset range or the 4th preset range, target widget
The number of display content on terminal width direction, follows slide in the 3rd preset range or the 4th preset range
Sliding distance increase and increase;
When sliding distance of the slide in the 3rd preset range or the 4th preset range be more than the second predetermined threshold value,
And sliding distance of the slide in the 3rd preset range or the 4th preset range be more than the second predetermined threshold value and less than etc.
Any instant between second value disappears, then at the time of slide disappears display target control full content, the
Two numerical value are the size shared by whole display contents of target widget on terminal screen width;
Or the sliding distance when slide in the 3rd preset range or the 4th preset range is more than second value,
When sliding distance of the slide in the 3rd preset range or the 4th preset range is equal to second value, display target control
The full content of part, second value are more than or equal to the second predetermined threshold value.
Wherein, before obtaining the slide to terminal screen edge, in addition to:
Display sets interface, sets interface to include the unlatching options of preset function, and preset function includes:Obtain to terminal
The slide of screen edge, and determine the direction of slide;Closed according to default slide direction is corresponding with control
System, inquires target widget corresponding to the direction of slide, control includes notice center and control centre;Invocation target control
Part, and show;
Receive the selected operation to opening options;
According to selected operation, preset function is opened.
Wherein, come into force at least one interface of the preset function in the following interface of terminal:Locking screen interface, desktop, appoint
One Application Program Interface, basic function interface.
Further, the present invention provides a kind of terminal, and terminal includes processor, memory and communication bus;
Communication bus is used to realize the connection communication between processor and memory;
Processor is used to perform one or more program stored in memory, to realize above-mentioned terminal control method
The step of.
Further, the present invention provides a kind of computer-readable recording medium, and computer-readable recording medium storage has one
Individual or multiple programs, one or more program can be by one or more computing devices, to realize above-mentioned terminal control
The step of method processed.
Beneficial effect
The invention provides a kind of terminal control method, terminal and computer-readable recording medium, the terminal control method
Comprise the following steps:The slide to terminal screen edge is obtained, and determines the direction of slide;According to default slip
The corresponding relation of direction and control is operated, inquires target widget corresponding to the direction of slide, control includes notice center
And control centre;Invocation target control, and show;Using such scheme, user only need to enter line slip at the edge of terminal screen
Operation, just can open notice center and control centre, be convenient for users to operate, meet demand of the user in one-handed performance,
Improve Consumer's Experience.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing each optional terminal of embodiment one of the present invention;
Fig. 2 is a kind of flow chart for terminal control method that first embodiment of the invention provides;
Fig. 3 is the schematic diagram for inventing a kind of setting interface display that each embodiment provides;
Fig. 4 is to invent a kind of showing for effective slide scope at four edges of terminal screen that each embodiment provides
It is intended to;
Fig. 5 is to invent the schematic diagram that a kind of control centre that each embodiment provides shows;
Fig. 6 is to invent the schematic diagram that another control centre that each embodiment provides shows;
Fig. 7 is a kind of schematic diagram for terminal that second embodiment of the invention provides.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the terminal of each embodiment of the present invention referring now to accompanying drawing.In follow-up description, using for
The suffix of such as " module ", " part " or " unit " of element is represented only for being advantageous to the explanation of the present invention, itself is not
There is specific meaning.Therefore, " module " can be used mixedly with " part ".
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be appreciated by those skilled in the art that in addition to being used in particular for moving the element of purpose, according to the present invention's
The construction of embodiment can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for each optional terminal of embodiment one of the realization present invention, the end
End 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
Device 109 and the grade part of processor 110.It will be understood by those skilled in the art that the terminal structure shown in Fig. 1 is not formed pair
The restriction of terminal, terminal can be included than illustrating more or less parts, either combine some parts or different parts
Arrangement.
The all parts of terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA1000 (Code
Division Multiple Access 1000, CDMA 1000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 102
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is receiving or depositing by radio frequency unit 101 or WiFi module 102 when under the isotypes such as sound recognition mode, broadcast reception mode
It is sound that the voice data stored in reservoir 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 may be used also
With the specific function provided to terminal 100 performs, related audio output is (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
Caused noise or interference during frequency signal.
Terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity transducer can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and add
The size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the user with terminal 100
Set and function control it is relevant key signals input.Specifically, user input unit 107 may include contact panel 1071 and
Other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with terminal 100.It is for example, outside
Device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless number
According to port, memory card port, for connecting the port of device with identification module, audio input/output (I/O) port, regarding
Frequency I/O ports, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and one or more elements that the input received is transferred in terminal 100 or can be used at end
Data are transmitted between end 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal 100, utilizes each of various interfaces and the whole terminal 100 of connection
Part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in memory
Data in 109, the various functions and processing data of terminal 100 are performed, so as to carry out integral monitoring to terminal 100.Processor
110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modem processor,
Wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor mainly handles nothing
Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Although Fig. 1 is not shown, terminal 100 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned terminal hardware structure, below by way of specific embodiment, the present invention is described in detail.
First embodiment
A kind of terminal control method is present embodiments provided, referring to Fig. 2, Fig. 2 is a kind of terminal control that the present embodiment provides
The flow chart of method processed, the terminal control method comprise the following steps:
S201:The slide to terminal screen edge is obtained, and determines the direction of slide;
S202:According to default slide direction and the corresponding relation of control, the direction for inquiring slide is corresponding
Target widget, control includes notice center and control centre;
The content that notice center is shown includes notification message, the short message intercepted etc..
The content that control centre shows includes the unlatching and pass of WiFi (Wireless Fidelity, Wireless Fidelity) network
Close the unlatching for opening and closing control item, offline mode for opening and closing control item, mobile data network of control item, bluetooth
Adjusted with open and close control item, the opening and closing control item in vertical setting of types direction, the screen intensity of closing control item, do-not-disturb mode
Section etc..
Wherein, the corresponding relation of default slide direction and control includes in S202:
Under terminal portrait layout state, when slide direction is from top to bottom, control is notice center, namely notice center
Top of the display location under terminal portrait layout state;When slide direction is from the bottom up, control is control centre, namely
Bottom of the display location of control centre under terminal portrait layout state;Or under terminal portrait layout state, slide direction is
When from top to bottom, control is control centre, namely top of the display location under terminal portrait layout state of control centre;Slide behaviour
Make direction for from the bottom up when, control be notice center, namely notifies the bottom of the display location under terminal portrait layout state at center
Portion;
And/or under terminal transverse screen state, slide direction for from top to bottom when, control is notice center, Ye Jitong
Know top of the display location at center under terminal transverse screen state;When slide direction is from the bottom up, control is in control
The heart, namely bottom of the display location under terminal transverse screen state of control centre;Or under terminal transverse screen state, slide behaviour
Make direction for from top to bottom when, control is control centre, namely top of the display location under terminal transverse screen state of control centre
Portion;When slide direction is from the bottom up, control is notice center, namely notifies the display location at center in terminal transverse screen shape
Bottom under state.
S203:Invocation target control, and show.
Optionally, referring to Fig. 3, Fig. 3 is a kind of schematic diagram for setting interface display that the present embodiment provides, and is obtained in S201
It is further comprising the steps of before the slide at terminal screen edge:
Display sets interface, sets interface to include the unlatching options of preset function, and preset function includes:Obtain to terminal
The slide of screen edge, and determine the direction of slide;Closed according to default slide direction is corresponding with control
System, inquires target widget corresponding to the direction of slide, control includes notice center and control centre;Invocation target control
Part, and show;
Receive the selected operation to opening options;
According to selected operation, preset function is opened.
That is, after preset function is opened, the terminal control method of the present embodiment offer could be used.
Set in interface in addition to the unlatching options for having preset function, also the closing options of preset function, when
Receive the selected operation to closing options;According to selected operation, preset function is closed.
Preset function comes into force at least one interface in the following interface of terminal:Locking screen interface, desktop, any application
Program interface, basic function interface.
Basic function interface is such as can be to set interface, calculator interface, memorandum interface, calendar interface.
Wherein, terminal screen edge includes at least one of following four in S201:Two edges on terminal length direction,
Two edges on terminal width direction.
Effective slide scope at one of edge on terminal length direction is the first preset range, terminal length
Effective slide scope at another edge on direction is the second preset range;One of side on terminal width direction
Effective slide scope of edge is the 3rd preset range, effective slide model at another edge on terminal width direction
Enclose for the 4th preset range;
For example, with reference to Fig. 4, Fig. 4 is a kind of effective slide at four edges of terminal screen that the present embodiment provides
The schematic diagram of scope;
Wherein, the size of the first preset range and the second preset range be able to can not also be waited with equal;3rd is default
The size of scope and the 4th preset range be able to can not also be waited with equal;
Effective slide scope refers to that the part of the slide of user within the range is effective, slides behaviour
The part made not within the range is invalid;
Under terminal portrait layout state, when length of the track in the first preset range or the second preset range of slide
When degree is more than the first predetermined threshold value, using slide as effective slide, otherwise as invalid slide;
For example, singlehanded erect of user holds terminal, terminal detects the slide of user, the track of the slide
Length is X, wherein, the track of the slide is Y in the length of the first preset range, and Y is less than X, the track of the slide
In the difference that the length in addition to the first preset range is X and Y;
If Y is more than the first predetermined threshold value, this time slide is effective slide, and effective slide could trigger
The calling of control and display;
If Y is less than the first predetermined threshold value, this time slide is invalid slide, and invalid slide can not trigger
The calling of control and display.
First predetermined threshold value can use default setting, can also be operated and be configured according to user.
Set the first predetermined threshold value to be effectively prevented user and the situation of maloperation occur.
Under terminal transverse screen state, when length of the track in the 3rd preset range or the 4th preset range of slide
When degree is more than the second predetermined threshold value, using slide as effective slide, otherwise as invalid slide.
For example, user is singlehanded and/or both hands are horizontal holds terminal, terminal detects the slide of user, slip behaviour
The length of the track of work is X, wherein, the track of the slide is Y in the length of the 3rd preset range, and Y is less than X, the slip
The track of operation is in the difference that the length in addition to the 3rd preset range is X and Y;
If Y is more than the second predetermined threshold value, this time slide is effective slide, and effective slide could trigger
The calling of control and display;
If Y is less than the second predetermined threshold value, this time slide is invalid slide, and invalid slide can not trigger
The calling of control and display.
Second predetermined threshold value can use default setting, can also be operated and be configured according to user.
Set the second predetermined threshold value to be effectively prevented user and the situation of maloperation occur.
Optionally, slide is inquired according to default slide direction and the corresponding relation of control in S202
It is further comprising the steps of before control corresponding to direction:
Judge that terminal current screen notifies with the presence or absence of banner;
If it is not, then entering S202 according to default slide direction and the corresponding relation of control, slide is inquired
Direction corresponding to control the step of;
If so, the opening and closing of banner notice are then determined according to the direction of slide.
For example, user is perpendicular to hold terminal or horizontal when holding terminal, terminal detects the slide of user effectively to slide
Operation, the direction of the slide is from top to bottom, and now the top of terminal has a banner and notified, then this time user
The effect of slide is to open the content of banner notice, and flow terminates;
For example, user is perpendicular to hold terminal or horizontal when holding terminal, terminal detects the slide of user effectively to slide
Operation, the direction of the slide is from top to bottom, and now the top of terminal has a banner and notified, then this time user
The effect of slide is to close banner notice, and flow terminates;
Above-mentioned opening banner notice and the mode for closing banner notice, the screen where banner notifies is clicked on without user
Top area, only it need to carry out once effective slide in screen edge, you can open the banner notice received, facilitate use
Family operates, and especially facilitates the one-handed performance of user, meets user's request, improves Consumer's Experience.
Optionally, slide is inquired according to default slide direction and the corresponding relation of control in S202
It is further comprising the steps of after target widget corresponding to direction:
When slide is effective slide, and when in the first preset range or the second preset range, target widget
The number of display content on terminal length direction, follows slide in the first preset range or the second preset range
Sliding distance increase and increase;
Include following two situations at the time of the full content of display target control:
Situation one:When sliding distance of the slide in the first preset range or the second preset range is pre- more than first
If the sliding distance of threshold value and slide in the first preset range or the second preset range be more than the first predetermined threshold value and
Disappeared less than or equal to any instant between the first numerical value, then at the time of slide disappears in the whole of display target control
Hold, the first numerical value is the size shared by whole display contents of target widget on terminal screen length direction;
If sliding distance of the slide in the first preset range or the second preset range is less than the first predetermined threshold value
Any instant just disappears, then not display target control.
Situation two:When sliding distance of the slide in the first preset range or the second preset range is more than the first number
Value, when sliding distance of the slide in the first preset range or the second preset range is equal to the first numerical value, display target
The full content of control, the first numerical value are more than or equal to the first predetermined threshold value;
That is, sliding distance of the slide in the first preset range or the second preset range has equalized to the first number
Be worth, and now slide does not stop yet in the first preset range or the second preset range, slide slip away from
From equal to this moment of the first numerical value, the full content of display target control.
For example, with reference to Fig. 5, Fig. 5 is the schematic diagram that shows of a kind of control centre that the present embodiment provides, in Fig. 4, in terminal
Under portrait layout state, the slide of user to slide from top to bottom, now slip of the slide in the first preset range away from
It is more than the first predetermined threshold value from for Y, Y;Now the number of display content of the control centre on terminal length direction is also Y, and Y is small
In the first numerical value.
Referring to Fig. 6, Fig. 6 is the schematic diagram that another control centre that the present embodiment provides shows, Fig. 5 is the base in Fig. 4
Continue to carry out slide from top to bottom in the first preset range on plinth, now the slide is in the first preset range
Sliding distance be Y+A;Now display content of the control centre on terminal length direction number be also Y+A, Y+A is less than the
One numerical value.
When slide is effective slide, and when in the 3rd preset range or the 4th preset range, target widget
The number of display content on terminal width direction, follows slide in the 3rd preset range or the 4th preset range
Sliding distance increase and increase;
Include following two situations at the time of the full content of display target control:
Situation one:When sliding distance of the slide in the 3rd preset range or the 4th preset range is pre- more than second
If the sliding distance of threshold value and slide in the 3rd preset range or the 4th preset range be more than the second predetermined threshold value and
Disappeared less than or equal to any instant between second value, then at the time of slide disappears in the whole of display target control
Hold, second value is the size shared by whole display contents of target widget on terminal screen width;
If sliding distance of the slide in the 3rd preset range or the 4th preset range is less than the second predetermined threshold value
Any instant just disappears, then not display target control.
Situation two:When sliding distance of the slide in the 3rd preset range or the 4th preset range is more than the second number
Value, when sliding distance of the slide in the 3rd preset range or the 4th preset range is equal to second value, display target
The full content of control, second value are more than or equal to the second predetermined threshold value.
That is, sliding distance of the slide in the 3rd preset range or the 4th preset range has equalized to the second number
Be worth, and now slide does not stop yet in the 3rd preset range or the 4th preset range, slide slip away from
From equal to this moment of second value, the full content of display target control.
By the implementation of the present embodiment, user only need to carry out slide at the edge of terminal screen, just can open notice
Center and control centre, are convenient for users to operate, and meet demand of the user in one-handed performance, improve Consumer's Experience.
Second embodiment
The present embodiment provides a kind of terminal, referring to Fig. 7, a kind of schematic diagram for terminal that Fig. 7 provides for the present embodiment, and the end
End includes processor 701, memory 702 and communication bus 703, wherein:
Communication bus 703 is used to realize the connection communication between processor 701 and memory 702;
Processor 701 is used to perform the one or more programs stored in memory 702, to realize following steps:
The slide to terminal screen edge is obtained, and determines the direction of slide;
According to default slide direction and the corresponding relation of control, target corresponding to the direction of slide is inquired
Control, control include notice center and control centre;
The content that notice center is shown includes notification message, the short message intercepted etc..
The content that control centre shows includes the opening and closing control for opening and closing control item, bluetooth of WiFi network
, mobile data network open and close control item, offline mode open and close control item, do-not-disturb mode unlatching and
Closing control item, the opening and closing control item in vertical setting of types direction, screen intensity regulation etc..
Wherein, the corresponding relation of default slide direction and control includes:
Under terminal portrait layout state, when slide direction is from top to bottom, control is notice center, namely notice center
Top of the display location under terminal portrait layout state;When slide direction is from the bottom up, control is control centre, namely
Bottom of the display location of control centre under terminal portrait layout state;Or under terminal portrait layout state, slide direction is
When from top to bottom, control is control centre, namely top of the display location under terminal portrait layout state of control centre;Slide behaviour
Make direction for from the bottom up when, control be notice center, namely notifies the bottom of the display location under terminal portrait layout state at center
Portion;
And/or under terminal transverse screen state, slide direction for from top to bottom when, control is notice center, Ye Jitong
Know top of the display location at center under terminal transverse screen state;When slide direction is from the bottom up, control is in control
The heart, namely bottom of the display location under terminal transverse screen state of control centre;Or under terminal transverse screen state, slide behaviour
Make direction for from top to bottom when, control is control centre, namely top of the display location under terminal transverse screen state of control centre
Portion;When slide direction is from the bottom up, control is notice center, namely notifies the display location at center in terminal transverse screen shape
Bottom under state.
Invocation target control, and show.
Optionally, referring to Fig. 3, Fig. 3 is a kind of schematic diagram for setting interface display that the present embodiment provides, and is being obtained to end
Before the slide for holding screen edge, processor 701 is additionally operable to perform the one or more programs stored in memory 702,
To realize following steps:
Display sets interface, sets interface to include the unlatching options of preset function, and preset function includes:Obtain to terminal
The slide of screen edge, and determine the direction of slide;Closed according to default slide direction is corresponding with control
System, inquires target widget corresponding to the direction of slide, control includes notice center and control centre;Invocation target control
Part, and show;
Receive the selected operation to opening options;
According to selected operation, preset function is opened.
That is, after preset function is opened, the terminal control method of the present embodiment offer could be used.
Set in interface in addition to the unlatching options for having preset function, also the closing options of preset function, when
Receive the selected operation to closing options;According to selected operation, preset function is closed.
Preset function comes into force at least one interface in the following interface of terminal:Locking screen interface, desktop, any application
Program interface, basic function interface.
Basic function interface is such as can be to set interface, calculator interface, memorandum interface, calendar interface.
Wherein, terminal screen edge includes at least one of following four:Two edges, terminal on terminal length direction are wide
The two edges spent on direction.
Effective slide scope at one of edge on terminal length direction is the first preset range, terminal length
Effective slide scope at another edge on direction is the second preset range;One of side on terminal width direction
Effective slide scope of edge is the 3rd preset range, effective slide model at another edge on terminal width direction
Enclose for the 4th preset range;
For example, with reference to Fig. 4, Fig. 4 is a kind of effective slide at four edges of terminal screen that the present embodiment provides
The schematic diagram of scope;
Wherein, the size of the first preset range and the second preset range be able to can not also be waited with equal;3rd is default
The size of scope and the 4th preset range be able to can not also be waited with equal;
Effective slide scope refers to that the part of the slide of user within the range is effective, slides behaviour
The part made not within the range is invalid;
Under terminal portrait layout state, when length of the track in the first preset range or the second preset range of slide
When degree is more than the first predetermined threshold value, using slide as effective slide, otherwise as invalid slide;
For example, singlehanded erect of user holds terminal, terminal detects the slide of user, the track of the slide
Length is X, wherein, the track of the slide is Y in the length of the first preset range, and Y is less than X, the track of the slide
In the difference that the length in addition to the first preset range is X and Y;
If Y is more than the first predetermined threshold value, this time slide is effective slide, and effective slide could trigger
The calling of control and display;
If Y is less than the first predetermined threshold value, this time slide is invalid slide, and invalid slide can not trigger
The calling of control and display.
First predetermined threshold value can use default setting, can also be operated and be configured according to user.
Set the first predetermined threshold value to be effectively prevented user and the situation of maloperation occur.
Under terminal transverse screen state, when length of the track in the 3rd preset range or the 4th preset range of slide
When degree is more than the second predetermined threshold value, using slide as effective slide, otherwise as invalid slide.
For example, user is singlehanded and/or both hands are horizontal holds terminal, terminal detects the slide of user, slip behaviour
The length of the track of work is X, wherein, the track of the slide is Y in the length of the 3rd preset range, and Y is less than X, the slip
The track of operation is in the difference that the length in addition to the 3rd preset range is X and Y;
If Y is more than the second predetermined threshold value, this time slide is effective slide, and effective slide could trigger
The calling of control and display;
If Y is less than the second predetermined threshold value, this time slide is invalid slide, and invalid slide can not trigger
The calling of control and display.
Second predetermined threshold value can use default setting, can also be operated and be configured according to user.
Set the second predetermined threshold value to be effectively prevented user and the situation of maloperation occur.
Optionally, in the corresponding relation according to default slide direction and control, the direction of slide is inquired
Before corresponding control, processor 701 is additionally operable to perform the one or more programs stored in memory 702, as follows to realize
Step:
Judge that terminal current screen notifies with the presence or absence of banner;
If it is not, then entering the corresponding relation according to default slide direction and control, the side of slide is inquired
The step of to corresponding control;
If so, the opening and closing of banner notice are then determined according to the direction of slide.
For example, user is perpendicular to hold terminal or horizontal when holding terminal, terminal detects the slide of user effectively to slide
Operation, the direction of the slide is from top to bottom, and now the top of terminal has a banner and notified, then this time user
The effect of slide is to open the content of banner notice, and flow terminates;
For example, user is perpendicular to hold terminal or horizontal when holding terminal, terminal detects the slide of user effectively to slide
Operation, the direction of the slide is from top to bottom, and now the top of terminal has a banner and notified, then this time user
The effect of slide is to close banner notice, and flow terminates;
Above-mentioned opening banner notice and the mode for closing banner notice, the screen where banner notifies is clicked on without user
Top area, only it need to carry out once effective slide in screen edge, you can open the banner notice received, facilitate use
Family operates, and especially facilitates the one-handed performance of user, meets user's request, improves Consumer's Experience.
Optionally, in the corresponding relation according to default slide direction and control, the direction of slide is inquired
After corresponding target widget, processor 701 is additionally operable to perform the one or more programs stored in memory 702, to realize
Following steps:
When slide is effective slide, and when in the first preset range or the second preset range, target widget
The number of display content on terminal length direction, follows slide in the first preset range or the second preset range
Sliding distance increase and increase;
Include following two situations at the time of the full content of display target control:
Situation one:When sliding distance of the slide in the first preset range or the second preset range is pre- more than first
If the sliding distance of threshold value and slide in the first preset range or the second preset range be more than the first predetermined threshold value and
Disappeared less than or equal to any instant between the first numerical value, then at the time of slide disappears in the whole of display target control
Hold, the first numerical value is the size shared by whole display contents of target widget on terminal screen length direction;
If sliding distance of the slide in the first preset range or the second preset range is less than the first predetermined threshold value
Any instant just disappears, then not display target control.
Situation two:When sliding distance of the slide in the first preset range or the second preset range is more than the first number
Value, when sliding distance of the slide in the first preset range or the second preset range is equal to the first numerical value, display target
The full content of control, the first numerical value are more than or equal to the first predetermined threshold value;
That is, sliding distance of the slide in the first preset range or the second preset range has equalized to the first number
Be worth, and now slide does not stop yet in the first preset range or the second preset range, slide slip away from
From equal to this moment of the first numerical value, the full content of display target control.
For example, with reference to Fig. 5, Fig. 5 is the schematic diagram that shows of a kind of control centre that the present embodiment provides, in Fig. 4, in terminal
Under portrait layout state, the slide of user to slide from top to bottom, now slip of the slide in the first preset range away from
It is more than the first predetermined threshold value from for Y, Y;Now the number of display content of the control centre on terminal length direction is also Y, and Y is small
In the first numerical value.
Referring to Fig. 6, Fig. 6 is the schematic diagram that another control centre that the present embodiment provides shows, Fig. 5 is the base in Fig. 4
Continue to carry out slide from top to bottom in the first preset range on plinth, now the slide is in the first preset range
Sliding distance be Y+A;Now display content of the control centre on terminal length direction number be also Y+A, Y+A is less than the
One numerical value.
When slide is effective slide, and when in the 3rd preset range or the 4th preset range, target widget
The number of display content on terminal width direction, follows slide in the 3rd preset range or the 4th preset range
Sliding distance increase and increase;
Include following two situations at the time of the full content of display target control:
Situation one:When sliding distance of the slide in the 3rd preset range or the 4th preset range is pre- more than second
If the sliding distance of threshold value and slide in the 3rd preset range or the 4th preset range be more than the second predetermined threshold value and
Disappeared less than or equal to any instant between second value, then at the time of slide disappears in the whole of display target control
Hold, second value is the size shared by whole display contents of target widget on terminal screen width;
If sliding distance of the slide in the 3rd preset range or the 4th preset range is less than the second predetermined threshold value
Any instant just disappears, then not display target control.
Situation two:When sliding distance of the slide in the 3rd preset range or the 4th preset range is more than the second number
Value, when sliding distance of the slide in the 3rd preset range or the 4th preset range is equal to second value, display target
The full content of control, second value are more than or equal to the second predetermined threshold value.
That is, sliding distance of the slide in the 3rd preset range or the 4th preset range has equalized to the second number
Be worth, and now slide does not stop yet in the 3rd preset range or the 4th preset range, slide slip away from
From equal to this moment of second value, the full content of display target control.
By the implementation of the present embodiment, user only need to carry out slide at the edge of terminal screen, just can open notice
Center and control centre, are convenient for users to operate, and meet demand of the user in one-handed performance, improve Consumer's Experience.
3rd embodiment
The present embodiment provides a kind of computer-readable recording medium, and computer-readable recording medium storage has one or more
Individual program, one or more program can be by one or more computing devices, to realize following steps:
The slide to terminal screen edge is obtained, and determines the direction of slide;
According to default slide direction and the corresponding relation of control, target corresponding to the direction of slide is inquired
Control, control include notice center and control centre;
The content that notice center is shown includes notification message, the short message intercepted etc..
The content that control centre shows includes the opening and closing control for opening and closing control item, bluetooth of WiFi network
, mobile data network open and close control item, offline mode open and close control item, do-not-disturb mode unlatching and
Closing control item, the opening and closing control item in vertical setting of types direction, screen intensity regulation etc..
Wherein, the corresponding relation of default slide direction and control includes:
Under terminal portrait layout state, when slide direction is from top to bottom, control is notice center, namely notice center
Top of the display location under terminal portrait layout state;When slide direction is from the bottom up, control is control centre, namely
Bottom of the display location of control centre under terminal portrait layout state;Or under terminal portrait layout state, slide direction is
When from top to bottom, control is control centre, namely top of the display location under terminal portrait layout state of control centre;Slide behaviour
Make direction for from the bottom up when, control be notice center, namely notifies the bottom of the display location under terminal portrait layout state at center
Portion;
And/or under terminal transverse screen state, slide direction for from top to bottom when, control is notice center, Ye Jitong
Know top of the display location at center under terminal transverse screen state;When slide direction is from the bottom up, control is in control
The heart, namely bottom of the display location under terminal transverse screen state of control centre;Or under terminal transverse screen state, slide behaviour
Make direction for from top to bottom when, control is control centre, namely top of the display location under terminal transverse screen state of control centre
Portion;When slide direction is from the bottom up, control is notice center, namely notifies the display location at center in terminal transverse screen shape
Bottom under state.
Invocation target control, and show.
Optionally, referring to Fig. 3, Fig. 3 is a kind of schematic diagram for setting interface display that the present embodiment provides, and is being obtained to end
Before the slide for holding screen edge, one or more program can also be by one or more computing device, to realize
Following steps:
Display sets interface, sets interface to include the unlatching options of preset function, and preset function includes:Obtain to terminal
The slide of screen edge, and determine the direction of slide;Closed according to default slide direction is corresponding with control
System, inquires target widget corresponding to the direction of slide, control includes notice center and control centre;Invocation target control
Part, and show;
Receive the selected operation to opening options;
According to selected operation, preset function is opened.
That is, after preset function is opened, the terminal control method of the present embodiment offer could be used.
Set in interface in addition to the unlatching options for having preset function, also the closing options of preset function, when
Receive the selected operation to closing options;According to selected operation, preset function is closed.
Preset function comes into force at least one interface in the following interface of terminal:Locking screen interface, desktop, any application
Program interface, basic function interface.
Basic function interface is such as can be to set interface, calculator interface, memorandum interface, calendar interface.
Wherein, terminal screen edge includes at least one of following four:Two edges, terminal on terminal length direction are wide
The two edges spent on direction.
Effective slide scope at one of edge on terminal length direction is the first preset range, terminal length
Effective slide scope at another edge on direction is the second preset range;One of side on terminal width direction
Effective slide scope of edge is the 3rd preset range, effective slide model at another edge on terminal width direction
Enclose for the 4th preset range;
For example, with reference to Fig. 4, Fig. 4 is a kind of effective slide at four edges of terminal screen that the present embodiment provides
The schematic diagram of scope;
Wherein, the size of the first preset range and the second preset range be able to can not also be waited with equal;3rd is default
The size of scope and the 4th preset range be able to can not also be waited with equal;
Effective slide scope refers to that the part of the slide of user within the range is effective, slides behaviour
The part made not within the range is invalid;
Under terminal portrait layout state, when length of the track in the first preset range or the second preset range of slide
When degree is more than the first predetermined threshold value, using slide as effective slide, otherwise as invalid slide;
For example, singlehanded erect of user holds terminal, terminal detects the slide of user, the track of the slide
Length is X, wherein, the track of the slide is Y in the length of the first preset range, and Y is less than X, the track of the slide
In the difference that the length in addition to the first preset range is X and Y;
If Y is more than the first predetermined threshold value, this time slide is effective slide, and effective slide could trigger
The calling of control and display;
If Y is less than the first predetermined threshold value, this time slide is invalid slide, and invalid slide can not trigger
The calling of control and display.
First predetermined threshold value can use default setting, can also be operated and be configured according to user.
Set the first predetermined threshold value to be effectively prevented user and the situation of maloperation occur.
Under terminal transverse screen state, when length of the track in the 3rd preset range or the 4th preset range of slide
When degree is more than the second predetermined threshold value, using slide as effective slide, otherwise as invalid slide.
For example, user is singlehanded and/or both hands are horizontal holds terminal, terminal detects the slide of user, slip behaviour
The length of the track of work is X, wherein, the track of the slide is Y in the length of the 3rd preset range, and Y is less than X, the slip
The track of operation is in the difference that the length in addition to the 3rd preset range is X and Y;
If Y is more than the second predetermined threshold value, this time slide is effective slide, and effective slide could trigger
The calling of control and display;
If Y is less than the second predetermined threshold value, this time slide is invalid slide, and invalid slide can not trigger
The calling of control and display.
Second predetermined threshold value can use default setting, can also be operated and be configured according to user.
Set the second predetermined threshold value to be effectively prevented user and the situation of maloperation occur.
Optionally, in the corresponding relation according to default slide direction and control, the direction of slide is inquired
Before corresponding control, one or more program can also be by one or more computing device, to realize following steps:
Judge that terminal current screen notifies with the presence or absence of banner;
If it is not, then entering the corresponding relation according to default slide direction and control, the side of slide is inquired
The step of to corresponding control;
If so, the opening and closing of banner notice are then determined according to the direction of slide.
For example, user is perpendicular to hold terminal or horizontal when holding terminal, terminal detects the slide of user effectively to slide
Operation, the direction of the slide is from top to bottom, and now the top of terminal has a banner and notified, then this time user
The effect of slide is to open the content of banner notice, and flow terminates;
For example, user is perpendicular to hold terminal or horizontal when holding terminal, terminal detects the slide of user effectively to slide
Operation, the direction of the slide is from top to bottom, and now the top of terminal has a banner and notified, then this time user
The effect of slide is to close banner notice, and flow terminates;
Above-mentioned opening banner notice and the mode for closing banner notice, the screen where banner notifies is clicked on without user
Top area, only it need to carry out once effective slide in screen edge, you can open the banner notice received, facilitate use
Family operates, and especially facilitates the one-handed performance of user, meets user's request, improves Consumer's Experience.
Optionally, in the corresponding relation according to default slide direction and control, the direction of slide is inquired
After corresponding target widget, one or more program can also be walked by one or more computing device so that realization is following
Suddenly:
When slide is effective slide, and when in the first preset range or the second preset range, target widget
The number of display content on terminal length direction, follows slide in the first preset range or the second preset range
Sliding distance increase and increase;
Include following two situations at the time of the full content of display target control:
Situation one:When sliding distance of the slide in the first preset range or the second preset range is pre- more than first
If the sliding distance of threshold value and slide in the first preset range or the second preset range be more than the first predetermined threshold value and
Disappeared less than or equal to any instant between the first numerical value, then at the time of slide disappears in the whole of display target control
Hold, the first numerical value is the size shared by whole display contents of target widget on terminal screen length direction;
If sliding distance of the slide in the first preset range or the second preset range is less than the first predetermined threshold value
Any instant just disappears, then not display target control.
Situation two:When sliding distance of the slide in the first preset range or the second preset range is more than the first number
Value, when sliding distance of the slide in the first preset range or the second preset range is equal to the first numerical value, display target
The full content of control, the first numerical value are more than or equal to the first predetermined threshold value;
That is, sliding distance of the slide in the first preset range or the second preset range has equalized to the first number
Be worth, and now slide does not stop yet in the first preset range or the second preset range, slide slip away from
From equal to this moment of the first numerical value, the full content of display target control.
For example, with reference to Fig. 5, Fig. 5 is the schematic diagram that shows of a kind of control centre that the present embodiment provides, in Fig. 4, in terminal
Under portrait layout state, the slide of user to slide from top to bottom, now slip of the slide in the first preset range away from
It is more than the first predetermined threshold value from for Y, Y;Now the number of display content of the control centre on terminal length direction is also Y, and Y is small
In the first numerical value.
Referring to Fig. 6, Fig. 6 is the schematic diagram that another control centre that the present embodiment provides shows, Fig. 5 is the base in Fig. 4
Continue to carry out slide from top to bottom in the first preset range on plinth, now the slide is in the first preset range
Sliding distance be Y+A;Now display content of the control centre on terminal length direction number be also Y+A, Y+A is less than the
One numerical value.
When slide is effective slide, and when in the 3rd preset range or the 4th preset range, target widget
The number of display content on terminal width direction, follows slide in the 3rd preset range or the 4th preset range
Sliding distance increase and increase;
Include following two situations at the time of the full content of display target control:
Situation one:When sliding distance of the slide in the 3rd preset range or the 4th preset range is pre- more than second
If the sliding distance of threshold value and slide in the 3rd preset range or the 4th preset range be more than the second predetermined threshold value and
Disappeared less than or equal to any instant between second value, then at the time of slide disappears in the whole of display target control
Hold, second value is the size shared by whole display contents of target widget on terminal screen width;
If sliding distance of the slide in the 3rd preset range or the 4th preset range is less than the second predetermined threshold value
Any instant just disappears, then not display target control.
Situation two:When sliding distance of the slide in the 3rd preset range or the 4th preset range is more than the second number
Value, when sliding distance of the slide in the 3rd preset range or the 4th preset range is equal to second value, display target
The full content of control, second value are more than or equal to the second predetermined threshold value.
That is, sliding distance of the slide in the 3rd preset range or the 4th preset range has equalized to the second number
Be worth, and now slide does not stop yet in the 3rd preset range or the 4th preset range, slide slip away from
From equal to this moment of second value, the full content of display target control.
By the implementation of the present embodiment, user only need to carry out slide at the edge of terminal screen, just can open notice
Center and control centre, are convenient for users to operate, and meet demand of the user in one-handed performance, improve Consumer's Experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner, or network equipment etc.) method that performs each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of terminal control method, it is characterised in that the terminal control method comprises the following steps:
The slide to terminal screen edge is obtained, and determines the direction of the slide;
According to default slide direction and the corresponding relation of control, target corresponding to the direction of the slide is inquired
Control, the control include notice center and control centre;
The target widget is called, and is shown.
2. terminal control method as claimed in claim 1, it is characterised in that the default slide direction and control
Corresponding relation includes:
Under terminal portrait layout state, when slide direction is from top to bottom, control is notice center;Slide direction be from
Under up when, control is control centre;Or under terminal portrait layout state, when slide direction is from top to bottom, control is
Control centre;When slide direction is from the bottom up, control is notice center;
And/or under terminal transverse screen state, when slide direction is from top to bottom, control is notice center;Slide side
To for from the bottom up when, control is control centre;Or under terminal transverse screen state, when slide direction is from top to bottom,
Control is control centre;When slide direction is from the bottom up, control is notice center.
3. terminal control method as claimed in claim 1, it is characterised in that described according to default slide direction and control
The corresponding relation of part, before inquiring control corresponding to the direction of the slide, in addition to:
Judge that terminal current screen notifies with the presence or absence of banner;
If it is not, then enter it is described according to default slide direction and the corresponding relation of control, inquire the slide
Direction corresponding to control the step of;
If so, the opening and closing of the banner notice are then determined according to the direction of the slide.
4. terminal control method as claimed in claim 1, it is characterised in that the terminal screen edge includes following four
It is at least one:The two edges on two edges, terminal width direction on terminal length direction.
5. terminal control method as claimed in claim 4, it is characterised in that one of side on the terminal length direction
Effective slide scope of edge is the first preset range, effective slip behaviour at another edge on the terminal length direction
It is the second preset range to make scope;Effective slide scope at one of edge on the terminal width direction is the 3rd
Preset range, effective slide scope at another edge on the terminal width direction is the 4th preset range;
Under terminal portrait layout state, when the track of the slide is in first preset range or the second preset range
Length when being more than the first predetermined threshold value, using the slide as effective slide, otherwise as invalid slide;
Under terminal transverse screen state, when the track of the slide is in the 3rd preset range or the 4th preset range
Length when being more than the second predetermined threshold value, using the slide as effective slide, otherwise as invalid slide.
6. terminal control method as claimed in claim 5, it is characterised in that described according to default slide direction and control
The corresponding relation of part, after inquiring target widget corresponding to the direction of the slide, in addition to:
It is described when the slide is effective slide, and when in first preset range or the second preset range
Display content of the target widget on the terminal length direction number, follow the slide in the described first default model
Enclose or the increase of sliding distance in the second preset range and increase;
When sliding distance of the slide in first preset range or the second preset range is pre- more than described first
If the sliding distance of threshold value and the slide in first preset range or the second preset range is more than described the
One predetermined threshold value and any instant disappearance being less than or equal between the first numerical value, then show at the time of the slide disappears
Show the full content of the target widget, first numerical value is terminal screen shared by whole display contents of the target widget
Size on length direction;
Or described in being more than when sliding distance of the slide in first preset range or the second preset range
First numerical value, it is equal in sliding distance of the slide in first preset range or the second preset range described
During the first numerical value, the full content of the target widget is shown, first numerical value is more than or equal to first predetermined threshold value;
It is described when the slide is effective slide, and when in the 3rd preset range or the 4th preset range
Display content of the target widget on the terminal width direction number, follow the slide in the described 3rd default model
Enclose or the increase of sliding distance in the 4th preset range and increase;
When sliding distance of the slide in the 3rd preset range or the 4th preset range is pre- more than described second
If the sliding distance of threshold value and the slide in the 3rd preset range or the 4th preset range is more than described the
Two predetermined threshold values and any instant disappearance being less than or equal between second value, then show at the time of the slide disappears
Show the full content of the target widget, the second value is terminal screen shared by whole display contents of the target widget
Size on width;
Or described in being more than when sliding distance of the slide in the 3rd preset range or the 4th preset range
Second value, it is equal in sliding distance of the slide in the 3rd preset range or the 4th preset range described
During second value, the full content of the target widget is shown, the second value is more than or equal to second predetermined threshold value.
7. the terminal control method as described in any one of claim 1 to 6, it is characterised in that the acquisition is to terminal screen side
Before the slide of edge, in addition to:
Display sets interface, the unlatching options for setting interface to include preset function, and the preset function includes:Acquisition pair
The slide at terminal screen edge, and determine the direction of the slide;According to default slide direction and control
Corresponding relation, inquire target widget corresponding to the direction of the slide, the control includes notice center and control
Center;The target widget is called, and is shown;
Receive the selected operation to the unlatching options;
According to the selected operation, the preset function is opened.
8. terminal control method as claimed in claim 7, it is characterised in that the preset function is in the terminal with lower bound
Come into force at least one interface in face:Locking screen interface, desktop, any Application Program Interface, basic function interface.
9. a kind of terminal, it is characterised in that the terminal includes processor, memory and communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of terminal control method described in one.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be by one or more computing devices, to realize such as claim 1 to 8
Any one of terminal control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710651051.4A CN107632757A (en) | 2017-08-02 | 2017-08-02 | A kind of terminal control method, terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710651051.4A CN107632757A (en) | 2017-08-02 | 2017-08-02 | A kind of terminal control method, terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107632757A true CN107632757A (en) | 2018-01-26 |
Family
ID=61099189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710651051.4A Pending CN107632757A (en) | 2017-08-02 | 2017-08-02 | A kind of terminal control method, terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107632757A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108563388A (en) * | 2018-02-27 | 2018-09-21 | 努比亚技术有限公司 | Screen operating method, mobile terminal and computer readable storage medium |
WO2019154360A1 (en) * | 2018-02-12 | 2019-08-15 | 维沃移动通信有限公司 | Interface switching method and mobile terminal |
CN110225182A (en) * | 2019-05-07 | 2019-09-10 | 珠海格力电器股份有限公司 | Control method for flexible screen intelligent terminal and intelligent terminal |
CN110442278A (en) * | 2019-07-08 | 2019-11-12 | 清华大学 | The method of singlehanded oblique line operation control panel |
CN111142729A (en) * | 2019-12-26 | 2020-05-12 | 支付宝(杭州)信息技术有限公司 | Target object recommendation method and device |
WO2022252788A1 (en) * | 2021-06-01 | 2022-12-08 | 华为技术有限公司 | Control method and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100107067A1 (en) * | 2008-10-27 | 2010-04-29 | Nokia Corporation | Input on touch based user interfaces |
CN104049898A (en) * | 2014-06-26 | 2014-09-17 | 苏宁云商集团股份有限公司 | Touch screen operation method and device and touch terminal |
CN104331249A (en) * | 2014-11-27 | 2015-02-04 | 北京奇艺世纪科技有限公司 | Operation control method and operation control device using terminal equipment simulation remote controller |
CN105718192A (en) * | 2011-06-07 | 2016-06-29 | 联想(北京)有限公司 | Mobile terminal and touch input method therefor |
CN106406728A (en) * | 2016-08-31 | 2017-02-15 | 瓦戈科技(上海)有限公司 | Operation method for desktop gesture of mobile terminal |
CN106843740A (en) * | 2017-03-30 | 2017-06-13 | 努比亚技术有限公司 | Mobile terminal and mobile terminal touch control input method |
-
2017
- 2017-08-02 CN CN201710651051.4A patent/CN107632757A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100107067A1 (en) * | 2008-10-27 | 2010-04-29 | Nokia Corporation | Input on touch based user interfaces |
CN105718192A (en) * | 2011-06-07 | 2016-06-29 | 联想(北京)有限公司 | Mobile terminal and touch input method therefor |
CN104049898A (en) * | 2014-06-26 | 2014-09-17 | 苏宁云商集团股份有限公司 | Touch screen operation method and device and touch terminal |
CN104331249A (en) * | 2014-11-27 | 2015-02-04 | 北京奇艺世纪科技有限公司 | Operation control method and operation control device using terminal equipment simulation remote controller |
CN106406728A (en) * | 2016-08-31 | 2017-02-15 | 瓦戈科技(上海)有限公司 | Operation method for desktop gesture of mobile terminal |
CN106843740A (en) * | 2017-03-30 | 2017-06-13 | 努比亚技术有限公司 | Mobile terminal and mobile terminal touch control input method |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019154360A1 (en) * | 2018-02-12 | 2019-08-15 | 维沃移动通信有限公司 | Interface switching method and mobile terminal |
CN108563388A (en) * | 2018-02-27 | 2018-09-21 | 努比亚技术有限公司 | Screen operating method, mobile terminal and computer readable storage medium |
CN108563388B (en) * | 2018-02-27 | 2021-07-20 | 努比亚技术有限公司 | Screen operation method, mobile terminal and computer-readable storage medium |
CN110225182A (en) * | 2019-05-07 | 2019-09-10 | 珠海格力电器股份有限公司 | Control method for flexible screen intelligent terminal and intelligent terminal |
CN110225182B (en) * | 2019-05-07 | 2021-05-25 | 珠海格力电器股份有限公司 | Control method for flexible screen intelligent terminal and intelligent terminal |
CN110442278A (en) * | 2019-07-08 | 2019-11-12 | 清华大学 | The method of singlehanded oblique line operation control panel |
CN111142729A (en) * | 2019-12-26 | 2020-05-12 | 支付宝(杭州)信息技术有限公司 | Target object recommendation method and device |
CN111142729B (en) * | 2019-12-26 | 2021-07-02 | 支付宝(杭州)信息技术有限公司 | Target object recommendation method and device |
WO2022252788A1 (en) * | 2021-06-01 | 2022-12-08 | 华为技术有限公司 | Control method and electronic device |
CN115495002A (en) * | 2021-06-01 | 2022-12-20 | 华为技术有限公司 | A control method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11675442B2 (en) | Image processing method and flexible-screen terminal | |
CN107707729A (en) | A kind of terminal go out screen or bright screen method, terminal and computer-readable recording medium | |
CN107632757A (en) | A kind of terminal control method, terminal and computer-readable recording medium | |
CN108196766A (en) | A kind of display interface processing method, terminal and computer readable storage medium | |
CN108268195A (en) | One-handed performance display methods, mobile terminal and computer readable storage medium | |
CN108521658A (en) | Reduce interference method, mobile terminal and computer readable storage medium | |
CN108415781A (en) | A kind of display control method, terminal and computer readable storage medium | |
CN109901809A (en) | A kind of display control method, equipment and computer readable storage medium | |
CN107463324A (en) | A kind of image display method, mobile terminal and computer-readable recording medium | |
CN107181700A (en) | Control method, mobile terminal and the storage medium of application program for mobile terminal | |
WO2020220990A1 (en) | Receiver control method and terminal | |
CN107797643A (en) | Reduce method, terminal and the computer-readable recording medium of terminal operating power consumption | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN107704185A (en) | A kind of split screen desktop display method, terminal and computer-readable recording medium | |
CN108536291A (en) | A kind of application operating method, wearable device and storage medium | |
CN107765941A (en) | A kind of icon display method, terminal and computer-readable recording medium | |
CN108259233A (en) | Graphics processor GPU method for parameter configuration and mobile terminal in a kind of mobile terminal | |
CN108196777A (en) | A kind of flexible screen application process, equipment and computer readable storage medium | |
CN107526493A (en) | A kind of small tool display methods, equipment and computer-readable recording medium | |
CN107888759A (en) | A kind of method, equipment and computer-readable recording medium realized information and sent | |
CN107589899A (en) | One kind notice display location method of adjustment, terminal and computer-readable recording medium | |
CN107422853A (en) | A kind of gesture identification method, mobile terminal and computer-readable recording medium | |
CN107766110A (en) | A kind of message notification display method, terminal and computer-readable recording medium | |
CN107729104A (en) | A kind of display methods, mobile terminal and computer-readable storage medium | |
CN110347284A (en) | A kind of flexible display screen control method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180126 |