CN108632451A - A kind of terminal control method and device, terminal, storage medium - Google Patents

A kind of terminal control method and device, terminal, storage medium Download PDF

Info

Publication number
CN108632451A
CN108632451A CN201810247017.5A CN201810247017A CN108632451A CN 108632451 A CN108632451 A CN 108632451A CN 201810247017 A CN201810247017 A CN 201810247017A CN 108632451 A CN108632451 A CN 108632451A
Authority
CN
China
Prior art keywords
terminal
predeterminable area
slide
display screen
end position
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.)
Withdrawn
Application number
CN201810247017.5A
Other languages
Chinese (zh)
Inventor
王淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201810247017.5A priority Critical patent/CN108632451A/en
Publication of CN108632451A publication Critical patent/CN108632451A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The present invention relates to a kind of terminal control methods and device, terminal, storage medium, are related to the communications field.The present invention terminal control method include:Detection acts on the slide on the display screen of terminal;If the initial position of slide and end position are respectively positioned on the first predeterminable area on display screen, control terminal executes first and returns to operation.Implement technical scheme of the present invention, by carrying out slide in the first predeterminable area on terminal display screen, realizes that carrying out first to terminal returns to control, it is simple and convenient, improve the experience of user.

Description

A kind of terminal control method and device, terminal, storage medium
Technical field
The present invention relates to the communications field more particularly to a kind of terminal control methods and device, terminal, storage medium.
Background technology
With the development of intelligent terminal technology, miscellaneous intelligent terminal enters into the work and life of people.Wherein, intelligence Can mobile phone have become the highest terminal of people's frequency of use and current techniques and alternate most fast product.
Smart mobile phone common at present is provided with entity HOME keys in front screen bottom, is integrated on entity HOME keys Multiple functions, such as fingerprint recognition, control is returned to, for returning and control, when pressing HOME keys, smart mobile phone will be from current Display interface is back to desktop.Another general design be smart mobile phone bottom of screen reside virtual key, such as Virtual key, the virtual key etc. for returning to desktop for returning to upper level realize corresponding work(by clicking these buttons Energy.
In order to pursue better experience, in recent years, the screen accounting of smart mobile phone is higher and higher, the positive screen of smart mobile phone Top and bottom there are space become smaller and smaller, so that it cannot place physical button, such as traditional entity HOME keys, And often show virtual key in screen, and can cause to occupy a part of space there are one navigation elements always in screen, experience is poor.
Invention content
The technical problem to be solved in the present invention is the defect of the prior art, provide a kind of terminal control method and device, Terminal, storage medium.
The technical solution adopted by the present invention to solve the technical problems is:A kind of terminal control method is provided, terminal is shown Display screen includes the first predeterminable area, and the terminal control method includes:
Detection acts on the slide on the display screen;
If the initial position of the slide and end position are respectively positioned on first predeterminable area, the end is controlled End executes first and returns to operation.
Preferably, first predeterminable area includes navigation subregion;If the initial position of the slide and End position is respectively positioned on first predeterminable area, including:
If the initial position of the slide and end position are respectively positioned on the navigation subregion;Or
If one of the initial position of the slide and end position are located at the navigation subregion, and the cunning The other of the initial position of dynamic operation and end position are located at other than navigation subregion described in first predeterminable area Subregion.
Preferably, when the terminal is in vertical screen mode, first predeterminable area is located at the downside of the display screen Bottom;If the initial position of the slide and end position are respectively positioned on first predeterminable area, including:
If the slide is to be slided from the lower bottom of the display screen into the display screen, and stop bits set In first predeterminable area;
Alternatively, when the terminal is in transverse screen mode, first predeterminable area be located at the display screen left side or Person's bottom right side;If the initial position of the slide and end position are respectively positioned on first predeterminable area, including:
If the slide is to be slided from the left side of the display screen or bottom right side into the display screen, and is tied Beam position is located at first predeterminable area.
Preferably, the display screen further includes the second predeterminable area, and the terminal control method further includes:
If the initial position of the slide is located at first predeterminable area, and end position is located at described second in advance If region, then controls the terminal and execute the second return operation;Or
If the end position of the slide is located at first predeterminable area, and initial position is located at described second in advance If region, then controls the terminal and execute the second return operation.
If it is further preferred that the end position of the slide is located at first predeterminable area, and originating Position is located at second predeterminable area, then controls the terminal and execute the second return operation, including:
If the end position of the slide is located at first predeterminable area, and initial position is located at described second in advance If region, then judge whether the slide is more than or equal to preset duration threshold in the residence time of the end position Value;
If the determination result is YES, then it controls the terminal and enters multitask interface;
If judging result is no, controls the terminal and execute the second return operation.
It is further preferred that the control terminal, which executes first, returns to operation, including:
Control the upper level interface that the terminal is back to current display interface;
The control terminal executes second and returns to operation, including:
It controls the terminal and returns to desktop.
A kind of terminal control mechanism is provided, the display screen of terminal includes the first predeterminable area, the terminal control mechanism packet It includes:
Detection unit, for detecting the slide acted on the display screen;
First control unit, it is default for being respectively positioned on described first in the initial position of the slide and end position When region, controls the terminal and execute the first return operation.
Preferably, the display screen further includes the second predeterminable area, and the terminal control mechanism further includes:
Second control unit for being located at first predeterminable area in the initial position of the slide, and terminates When position is located at second predeterminable area, then controls the terminal and execute the second return operation;Or
Third control unit for being located at first predeterminable area in the end position of the slide, and originates When position is located at second predeterminable area, controls the terminal and execute the second return operation.
A kind of terminal is provided, the terminal includes processor, and the processor is for executing the calculating stored in memory It is realized such as the step of above-mentioned any one the method when machine program.
A kind of storage medium is provided, computer program is stored thereon with, it is real when the computer program is executed by processor The step of existing above-mentioned any one the method.
Implement technical scheme of the present invention, by carrying out slide in the first predeterminable area on terminal display screen, Realize that carrying out first to terminal returns to control, it is simple and convenient, improve the experience of user.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow chart of the first embodiment of terminal control method provided by the invention;
Fig. 2A be a kind of terminal control method provided by the invention first embodiment in terminal first under vertical screen state The schematic diagram of predeterminable area;
Fig. 2 B be a kind of terminal control method provided by the invention first embodiment in terminal first under transverse screen state The schematic diagram of predeterminable area;
Fig. 3 be a kind of terminal control method provided by the invention second embodiment in terminal it is first pre- under vertical screen state If the schematic diagram in region and the second predeterminable area;
Fig. 4 is a kind of flow chart of the second embodiment of terminal control method provided by the invention;
Fig. 5 is a kind of flow chart of the 3rd embodiment of terminal control method provided by the invention;
Fig. 6 is a kind of functional block diagram of the first embodiment of terminal control mechanism provided by the invention;
Fig. 7 is a kind of functional block diagram of the second embodiment of terminal control mechanism provided by the invention;
Fig. 8 is a kind of functional block diagram of the 3rd embodiment of terminal control mechanism provided by the invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of terminal control method first embodiment provided by the invention, the implementation The terminal control method of example can be applied in terminal.Terminal include but not limited to smart mobile phone, tablet computer, smartwatch, Intelligent bracelet, laptop, desktop computer, MP3, MP4 etc..As shown in Figure 1, the terminal control method of the embodiment includes such as Lower step:
S11:Detection acts on the slide on the display screen of terminal.
In the present embodiment, the display screen of terminal includes the first predeterminable area, and the first predeterminable area is located at the pre- of display screen If position has preset shape and size.Preferably, when terminal is in vertical screen state, the first predeterminable area is located at display screen Lower bottom, with display screen with wide, length is less than the length of display screen, such as the length of the first predeterminable area is that display screen is long / 5th or 1/10th of degree.When terminal is in transverse screen state, the first predeterminable area be located at display screen left side or Bottom on the right side of person, with display screen with width, length is less than the length of display screen, such as the length of the first predeterminable area is display screen / 5th of length.
Specifically, the first predeterminable area can be the functional response region cooked up on display screen, i.e., in addition to conduct Except the part progress content of display screen is shown, it is additionally operable to the terminal control operation of the response present invention.Terminal by taking mobile phone as an example, As shown in Figure 2 A, mobile phone is under vertical screen state, and it is pre- that region of the display screen lower bottom with preset height H is set as first If region, the first predeterminable area is shown with remaining region indistinctionization on display screen.As shown in Figure 2 B, mobile phone is in transverse screen shape Under state, region of the display screen left bottom with preset length H is set to the first predeterminable area, the first predeterminable area and display Remaining region indistinctionization display on screen.
The position of display screen is not located to the first predeterminable area in the present invention, shapes and sizes limit, such as eventually When end is in vertical screen state, the first predeterminable area is set to the centre position of the lower bottom of display screen, and width is less than display screen Width, length be less than display screen length.
In the step S11 of the present embodiment, detection acts on the slide on display screen, and obtains rising for slide Beginning position and end position.
For example, when detecting the touch control operation acted on display screen, obtain the tracing point of touch control operation, tracing point with <Moment, coordinate>Mode record, to form the tracing point coordinate set of the touch control operation, at the time of wherein touch control operation starts The corresponding coordinates of t0 are the initial position of touch control operation, and the corresponding coordinates of tn are the knot of touch control operation at the time of touch control operation terminates Beam position.Judge whether touch control operation is slide using existing method according to tracing point coordinate set is obtained.
S12:If the initial position of slide and end position are respectively positioned on the first predeterminable area of display screen, end is controlled End executes first and returns to operation.
In the step S12 of the present embodiment, judge the slide detected initial position and end position whether position In the first predeterminable area of display screen, and it is respectively positioned on first in the initial position of the slide detected and end position and presets When region, control terminal executes first and returns to operation.Wherein first returns to upper one that operation can be return current display interface Grade interface, can also be the specific interface before being back to current display interface, such as be back to the homepage of current application program, It can also be the desktop for returning to terminal.
Preferably, when terminal is in vertical screen state, the first predeterminable area is located at the lower bottom of display screen, same with display screen Width, when length is less than the length of display screen, if the glide direction of the slide detected be from the lower bottom of display screen to Sliding in display screen, i.e., t0 moment corresponding coordinate is located at the edge of display screen lower bottom, and the stop bits of slide When setting in the first predeterminable area, control terminal executes first and returns to operation.When terminal is in transverse screen state, the first preset areas Domain is located at the bottom right side of display screen, with display screen with width, when length is less than the length of display screen, if the slide detected Glide direction be slided from the left bottom of display screen into display screen, i.e., t0 moment corresponding coordinate be located at display screen right side The edge of bottom, and end position is located at the first predeterminable area, control terminal executes first and returns to operation.When terminal is in transverse screen Under state, the case where the first predeterminable area is located at the left bottom of display screen, can similarly obtain.
In other embodiments, step S12 includes following sub-step:
Whether the initial position for the slide that judgement detects and end position are located at the first predeterminable area of display screen;
If the determination result is YES, then judge whether the glide direction of slide is preset direction;
If glide direction is preset direction, control terminal executes return operation corresponding with the preset direction.
In the other embodiment, specifically, according to tracing point coordinate set (for example preceding institute of acquisition methods of slide State) in slide at the time of the corresponding coordinates of t0 and slide terminate at the time of start the corresponding coordinates of tn determine sliding Whether the initial position of operation and end position are respectively positioned on the first predeterminable area and the direction of slide of display screen.
If the corresponding coordinates of moment t0 and the corresponding coordinates of moment tn are respectively positioned in the first predeterminable area, it is determined that sliding The initial position of dynamic operation and end position are respectively positioned on the first predeterminable area of display screen.
At the direction for determining slide, for example, with reference to Fig. 2A, t0 corresponding X at the time of slide starts are chosen Tn corresponding X axis coordinate xn at the time of axial coordinate x0 and slide terminate, if x0 > xn, it is determined that slide be to Left sliding, if x0 < xn, it is determined that slide is to slide to the right.
In addition, work as x0=xn (allowing have a certain range of deviation between the two), then Y axis coordinate y0 corresponding to t0 with And the corresponding Y axis coordinate yn of tn are compared, if the absolute value of the two difference is more than zero, control terminal is back to current display The upper level interface at interface, i.e., do not differentiate between cunning and downslide at this time.Alternatively, work as x0=xn, then Y axis coordinate y0 corresponding to t0 with And the corresponding Y axis coordinate yn of tn are compared, if y0 > yn, it is determined that slide is slide downward, if y0 < yn, it is determined that Slide is upward sliding.
The corresponding pass of preset direction and preset direction and the return operation that control terminal executes has been prestored in terminal System.When preset direction includes left cunning or is right sliding, corresponding return operation includes:
Control terminal is back to the application currently shown in multiple task management device from the interface of the application program currently shown Upper one of program or the interface of next application program (rest on when i.e. the application program becomes running background from foreground Interface).
When preset direction includes left cunning and is right sliding, it is preferable that return corresponding with left cunning, which operates, includes:
Control terminal is back to the application currently shown in multiple task management device from the interface of the application program currently shown The interface of a upper application program for program.
Return corresponding with right cunning operates:
Control terminal is back to the application currently shown in multiple task management device from the interface of the application program currently shown The interface of next application program of program.
When preset direction includes upper cunning or glides, corresponding return operation includes:
Control terminal is back to the upper level interface at the interface currently shown.
In the other embodiment, preset direction can be one of the above situation or more persons.When preset direction packet Include left cunning and/or it is right sliding when, the first predeterminable area can be system navigation area, can show one or more in this region A virtual key.
In a kind of terminal control method second embodiment of the present invention, the display screen referring to Fig. 3 terminals includes first pre- If region and the second predeterminable area, the first predeterminable area be located at display screen the first predeterminated position, have the first preset shape and First default size, the second predeterminable area are located at the second predeterminated position of display screen, there is the second preset shape and second to preset Size, wherein the first predeterminated position and the second predeterminated position differ, and the first preset shape can be identical with the second preset shape Can not also be identical, the first default size and the second default size can it is identical can not also be identical.
Referring to Fig. 4, the terminal control method of the present embodiment includes the following steps:
S21:Detection acts on the slide on the display screen of terminal;
S22:If the initial position of slide and end position are respectively positioned on the first predeterminable area, control terminal executes the One returns to operation;
S23:If the initial position of slide is located at the first predeterminable area, and end position is located at the second predeterminable area, Then control terminal executes second and returns to operation.
In the step S21 of the present embodiment, detection acts on the slide on display screen, and obtains rising for slide Beginning position and end position.
For example, when detecting the touch control operation acted on display screen, obtain the tracing point of touch control operation, tracing point with <Moment, coordinate>Mode record, to form the tracing point coordinate set of the touch control operation, at the time of wherein touch control operation starts The corresponding coordinates of t0 are the initial position of touch control operation, and the corresponding coordinates of tn are the knot of touch control operation at the time of touch control operation terminates Beam position.Judge whether touch control operation is slide using existing method according to tracing point coordinate set is obtained.
In the step S22 of the present embodiment, judge the slide detected initial position and end position whether position In the first predeterminable area of display screen, if the initial position of the slide detected and end position are respectively positioned on the first preset areas Domain, then control terminal executes first and returns to operation, if the initial position of the slide detected is located at the first predeterminable area, and And end position is not belonging to the first predeterminable area, thens follow the steps S23, if the initial position of the slide detected and end When position is not located at the first predeterminable area, it is not responding to slide or executes other that the function of slide can be responded, Such as drag page scroll.Preferably first returns to operation to be back to the upper level interface of current display interface.
In the step S23 of the present embodiment, it is default to judge whether the end position of the slide detected is located at second Region, if the end position of the slide detected is located at the second predeterminable area, control terminal executes second and returns to operation. Preferably, second operation is returned to return to the desktop of terminal.
Preferably, referring to Fig. 3, when terminal is in vertical screen state, the first predeterminable area is located at the lower bottom of display screen, With display screen with width, length is the length less than display screen, such as the length of the first predeterminable area is five points of display screen length One of, the second predeterminable area is the region other than the first predeterminable area on display screen.
If the glide direction of the slide detected is to be slided from the lower bottom of display screen into display screen, i.e. when t0 The edge that corresponding coordinate is located at display screen lower bottom is carved, when the end position of slide is located in the first predeterminable area When, control terminal is back to the upper level interface (slide illustrated such as arrow shorter in Fig. 3) of current display interface, When the technology position of slide is located in the second predeterminable area, control terminal is back to desktop (such as from current display interface The slide that longer arrow is illustrated in Fig. 3).Referring to Fig. 2 B, when terminal is in transverse screen state, the first predeterminable area is located at The bottom right side of display screen, with display screen with width, length is less than the length of display screen, and the second predeterminable area is first on display screen Region other than predeterminable area.If the glide direction of the slide detected is the left bottom from display screen into display screen Sliding, i.e., t0 moment corresponding coordinate is located at the edge of display screen bottom right side, when the end position of slide is located at first When predeterminable area, control terminal is back to the upper level interface of current display interface, when the end position of slide is located at the When two predeterminable areas, control terminal returns to desktop from current display interface.When terminal is under transverse screen state, the first predeterminable area Positioned at the left bottom of display screen, the case where the second predeterminable area is other regions other than the first predeterminable area on display screen, is same Li Ke get.
In other embodiments, step S23 can also be replaced with:If it is default that the end position of slide is located at first Region, and initial position is located at the second predeterminable area, then control terminal executes second and returns to operation.
In another other embodiment, step S22 and step S23 can be performed simultaneously, i.e., judge sliding respectively Whether the initial position of operation and end position meet corresponding condition, and when meeting condition, execute corresponding return and control.
In the present embodiment, remaining situation is corresponding identical as terminal control method first embodiment, and details are not described herein.
In the 3rd embodiment of the terminal control method of the present invention, referring to Fig. 3, the display screen of terminal includes first default Region and the second predeterminable area, Fig. 5 is the flow chart of the 3rd embodiment of terminal control method, as shown in figure 5, terminal control side Method includes:
S31:Detection acts on the slide on the display screen of terminal;
S32:If the initial position of slide and end position are respectively positioned on the first predeterminable area, control terminal executes the One returns to operation;
S33:If the initial position of slide is located at the first predeterminable area, and end position is located at the second predeterminable area, Then judge whether slide is more than or equal to preset duration threshold value in the residence time of end position;
S34:If slide is more than or equal to preset duration threshold value, control terminal in the residence time of end position Into multitask interface;
S35:If slide is less than preset duration threshold value in the residence time of end position, control terminal executes second Return to operation.
In the step S32 of the present embodiment, judge the slide detected initial position and end position whether position In the first predeterminable area of display screen, if the initial position of the slide detected and end position are respectively positioned on the first preset areas Domain, then control terminal executes first and returns to operation, if the initial position of the slide detected is located at the first predeterminable area, and And end position is not belonging to the first predeterminable area, thens follow the steps S33, if the initial position of the slide detected and end When position is not located at the first predeterminable area, it is not responding to slide or executes other that the function of slide can be responded, Such as drag page scroll.Preferably first returns to operation to be back to the upper level interface of current display interface.
In the step S33 of the present embodiment, it is default to judge whether the end position of the slide detected is located at second Region further judges that slide is terminating if the end position of the slide detected is located at the second predeterminable area Whether the residence time of position is more than or equal to preset duration threshold value.
In the step S34 of the present embodiment, when judging result is:Slide be more than in the residence time of end position or Person is equal to preset duration threshold value, then control terminal enters multitask interface.
In the step S35 of the present embodiment, when judging result is:Slide is less than pre- in the residence time of end position If duration threshold value, then control terminal executes second and returns to operation.Preferably, second operation is returned to return to the desktop of terminal.
Remaining situation of the present invention is identical as terminal control method first embodiment, and details are not described herein.
In the fourth embodiment of the terminal control method of the present invention, referring to Fig. 1, terminal control method includes:
S11:Detection acts on the slide on the display screen of terminal;
S12:If the initial position of slide and end position are respectively positioned on the first predeterminable area of display screen, end is controlled End executes first and returns to operation.
In the present embodiment, the display screen of terminal includes the first predeterminable area, and the first predeterminable area is located at the pre- of display screen If position has preset shape and size.Preferably, when terminal is in vertical screen state, the first predeterminable area is located at display screen Lower bottom, with display screen with wide, length is less than the length of display screen, such as the length of the first predeterminable area is that display screen is long / 5th of degree.
First predeterminable area further includes navigation subregion, and navigation subregion is set to screen lower bottom, pre- for showing If virtual key.Navigating subregion can be with display screen with wide, length is less than the first predeterminable area, for example, display screen length 1/10th.
In the present embodiment, step S12 includes following sub-step:
If the initial position of slide and end position are respectively positioned on navigation subregion, control terminal executes first and returns Operation;Or
If one of the initial position of slide and end position are located at navigation subregion, and the starting of slide The other of position and end position are located at the subregion other than the subregion that navigates in the first predeterminable area, then control terminal is held Row first returns to operation.
Remaining situation of the present embodiment is corresponding identical as terminal control method first embodiment, and details are not described herein.
Fig. 6 is the functional block diagram of the terminal control mechanism first embodiment of the present invention, as shown in fig. 6, terminal control mechanism 600 include:
Detection unit 610, for detecting the slide acted on display screen;
First control unit 620, for being respectively positioned on the first predeterminable area in the initial position of slide and end position When, control terminal executes first and returns to operation.
In the present embodiment, the display screen of terminal includes the first predeterminable area, and the first predeterminable area is located at the pre- of display screen If position has preset shape and size.Preferably, when terminal is in vertical screen state, the first predeterminable area is located at display screen Lower bottom, with display screen with wide, length is less than the length of display screen, such as the length of the first predeterminable area is that display screen is long / 5th or 1/10th of degree.When terminal is in transverse screen state, the first predeterminable area be located at display screen left side or Bottom on the right side of person, with display screen with width, length is less than the length of display screen, such as the length of the first predeterminable area is display screen / 5th of length.
Specifically, the first predeterminable area can be the functional response region cooked up on display screen, i.e., in addition to conduct Except the part progress content of display screen is shown, it is additionally operable to the terminal control operation of the response present invention.Terminal by taking mobile phone as an example, As shown in Figure 2 A, mobile phone is under vertical screen state, and it is pre- that region of the display screen lower bottom with preset height H is set as first If region, the first predeterminable area is shown with remaining region indistinctionization on display screen.As shown in Figure 2 B, mobile phone is in transverse screen shape Under state, region of the display screen left bottom with preset length H is set to the first predeterminable area, the first predeterminable area and display Remaining region indistinctionization display on screen.
The position of display screen is not located to the first predeterminable area in the present invention, shapes and sizes limit, such as eventually When end is in vertical screen state, the first predeterminable area is set to the centre position of the lower bottom of display screen, and width is less than display screen Width, length be less than display screen length.
In the present embodiment, detection unit 610 detects the slide acted on display screen, and obtains slide Initial position and end position.
For example, when detection unit 610 detects the touch control operation acted on display screen, the track of touch control operation is obtained Point, tracing point with<Moment, coordinate>Mode record, to form the tracing point coordinate set of the touch control operation, wherein touch-control is grasped The corresponding coordinates of t0 are the initial position of touch control operation at the time of making to start, and the corresponding coordinates of tn are at the time of touch control operation terminates The end position of touch control operation.Judge whether touch control operation is sliding behaviour using existing method according to tracing point coordinate set is obtained Make.
In the present embodiment, the first control unit 620 judges initial position and the end position of the slide detected Whether it is located at the first predeterminable area of display screen, and the is respectively positioned in the initial position of the slide detected and end position When one predeterminable area, control terminal executes first and returns to operation.Wherein first return operation can return to current display interface Upper level interface, can also be the specific interface before being back to current display interface, such as be back to current application program Homepage, can also be return terminal desktop.
Preferably, when terminal is in vertical screen state, the first predeterminable area is located at the lower bottom of display screen, same with display screen Width, when length is less than the length of display screen, if the glide direction of the slide detected be from the lower bottom of display screen to Sliding in display screen, i.e., t0 moment corresponding coordinate is located at the edge of display screen lower bottom, and the stop bits of slide When setting in the first predeterminable area, control terminal executes first and returns to operation.When terminal is in transverse screen state, the first preset areas Domain is located at the bottom right side of display screen, with display screen with width, when length is less than the length of display screen, if the slide detected Glide direction be slided from the left bottom of display screen into display screen, i.e., t0 moment corresponding coordinate be located at display screen right side The edge of bottom, and end position is located at the first predeterminable area, control terminal executes first and returns to operation.When terminal is in transverse screen Under state, the case where the first predeterminable area is located at the left bottom of display screen, can similarly obtain.
In other embodiments, the first control unit 620 includes:
Whether position judging module, the initial position of the slide for judging to detect and end position are located at display First predeterminable area of screen;
Walking direction module is when being, to judge the sliding side of slide for the judging result in position judging module To whether being preset direction;
Control module is returned to, for when glide direction is preset direction, control terminal to execute corresponding with the preset direction Return operation.
In the other embodiment, specifically, according to tracing point coordinate set (for example preceding institute of acquisition methods of slide State) in slide at the time of the corresponding coordinates of t0 and slide terminate at the time of start the corresponding coordinates of tn determine sliding Whether the initial position of operation and end position are respectively positioned on the first predeterminable area and the direction of slide of display screen.
If the corresponding coordinates of moment t0 and the corresponding coordinates of moment tn are respectively positioned in the first predeterminable area, it is determined that sliding The initial position of dynamic operation and end position are respectively positioned on the first predeterminable area of display screen.
At the direction for determining slide, for example, with reference to Fig. 2A, t0 corresponding X at the time of slide starts are chosen Tn corresponding X axis coordinate xn at the time of axial coordinate x0 and slide terminate, if x0 > xn, it is determined that slide be to Left sliding, if x0 < xn, it is determined that slide is to slide to the right.
In addition, work as x0=xn (allowing have a certain range of deviation between the two), then Y axis coordinate y0 corresponding to t0 with And the corresponding Y axis coordinate yn of tn are compared, if the absolute value of the two difference is more than zero, control terminal is back to current display The upper level interface at interface, i.e., do not differentiate between cunning and downslide at this time.Alternatively, work as x0=xn, then Y axis coordinate y0 corresponding to t0 with And the corresponding Y axis coordinate yn of tn are compared, if y0 > yn, it is determined that slide is slide downward, if y0 < yn, it is determined that Slide is upward sliding.
The corresponding pass of preset direction and preset direction and the return operation that control terminal executes has been prestored in terminal System.When preset direction includes left cunning or is right sliding, corresponding return operation includes:
Control terminal is back to the application currently shown in multiple task management device from the interface of the application program currently shown Upper one of program or the interface of next application program (rest on when i.e. the application program becomes running background from foreground Interface).
When preset direction includes left cunning and is right sliding, it is preferable that return corresponding with left cunning, which operates, includes:
Control terminal is back to the application currently shown in multiple task management device from the interface of the application program currently shown The interface of a upper application program for program.
Return corresponding with right cunning operates:
Control terminal is back to the application currently shown in multiple task management device from the interface of the application program currently shown The interface of next application program of program.
When preset direction includes upper cunning or glides, corresponding return operation includes:
Control terminal is back to the upper level interface at the interface currently shown.
In the other embodiment, preset direction can be one of the above situation or more persons.When preset direction packet Include left cunning and/or it is right sliding when, the first predeterminable area can be system navigation area, can show one or more in this region A virtual key.
In a kind of second embodiment of terminal control mechanism of the present invention, the display screen referring to Fig. 3 terminals includes first Predeterminable area and the second predeterminable area, the first predeterminable area are located at the first predeterminated position of display screen, have the first preset shape With the first default size, the second predeterminable area is located at the second predeterminated position of display screen, has the second preset shape and second in advance If size, wherein the first predeterminated position and the second predeterminated position differ, and the first preset shape can phase with the second preset shape With can not also be identical, the first default size and the second default size can it is identical can not also be identical.As shown in fig. 7, terminal Control device 700 includes:
Detection unit 710, for detecting the slide acted on display screen;
First control unit 720, for being respectively positioned on the first predeterminable area in the initial position of slide and end position When, control terminal executes first and returns to operation;
Second control unit 730, for being located at the first predeterminable area, and stop bits set in the initial position of slide When the second predeterminable area, then control terminal executes second and returns to operation;Or
Third control unit 740 is located at the first predeterminable area, and start bit set for the end position in slide When the second predeterminable area, controls the terminal and execute the second return operation.
In the present embodiment, detection unit 710 detects the slide acted on display screen, and obtains slide Initial position and end position.
For example, when detecting the touch control operation acted on display screen, obtain the tracing point of touch control operation, tracing point with <Moment, coordinate>Mode record, to form the tracing point coordinate set of the touch control operation, at the time of wherein touch control operation starts The corresponding coordinates of t0 are the initial position of touch control operation, and the corresponding coordinates of tn are the knot of touch control operation at the time of touch control operation terminates Beam position.Judge whether touch control operation is slide using existing method according to tracing point coordinate set is obtained.
In the present embodiment, the first control unit 720 judges initial position and the end position of the slide detected Whether first predeterminable area of display screen is located at, if the initial position of the slide detected and end position are respectively positioned on first Predeterminable area, then control terminal executes first and returns to operation, if the initial position of the slide detected is default positioned at first Region, and end position is not belonging to the first predeterminable area, then calls the second control unit 730 to execute its function, if detecting Slide initial position and end position be located at the first predeterminable area when, be not responding to slide or execute it He can respond the function of slide, such as drag page scroll.Preferably first returns to operation to be back to current display The upper level interface at interface.
In the present embodiment, the second control unit 730 judges whether the end position of slide detected is located at the Two predeterminable areas, if the end position of the slide detected is located at the second predeterminable area, control terminal executes second and returns Return operation.Preferably, second operation is returned to return to the desktop of terminal.
Preferably, referring to Fig. 3, when terminal is in vertical screen state, the first predeterminable area is located at the lower bottom of display screen, With display screen with width, length is the length less than display screen, such as the length of the first predeterminable area is five points of display screen length One of, the second predeterminable area is the region other than the first predeterminable area on display screen.
If the glide direction of the slide detected is to be slided from the lower bottom of display screen into display screen, i.e. when t0 The edge that corresponding coordinate is located at display screen lower bottom is carved, when the end position of slide is located in the first predeterminable area When, control terminal is back to the upper level interface (slide illustrated such as arrow shorter in Fig. 3) of current display interface, When the technology position of slide is located in the second predeterminable area, control terminal is back to desktop (such as from current display interface The slide that longer arrow is illustrated in Fig. 3).Referring to Fig. 2 B, when terminal is in transverse screen state, the first predeterminable area is located at The bottom right side of display screen, with display screen with width, length is less than the length of display screen, and the second predeterminable area is first on display screen Region other than predeterminable area.If the glide direction of the slide detected is the left bottom from display screen into display screen Sliding, i.e., t0 moment corresponding coordinate is located at the edge of display screen bottom right side, when the end position of slide is located at first When predeterminable area, control terminal is back to the upper level interface of current display interface, when the end position of slide is located at the When two predeterminable areas, control terminal returns to desktop from current display interface.When terminal is under transverse screen state, the first predeterminable area Positioned at the left bottom of display screen, the case where the second predeterminable area is other regions other than the first predeterminable area on display screen, is same Li Ke get.
In other embodiments, the second control unit 730 is used to be located at the first preset areas in the end position of slide Domain, and when initial position is located at the second predeterminable area, control terminal executes second and returns to operation.
In the present embodiment, remaining situation is corresponding identical as terminal control mechanism first embodiment, and details are not described herein.
In the 3rd embodiment of the terminal control mechanism of the present invention, referring to Fig. 3, the display screen of terminal includes first default Region and the second predeterminable area, as shown in figure 8, terminal control mechanism 800 includes:
Detection unit 810, for detecting the slide acted on the display screen of terminal;
First control unit 820, for being respectively positioned on the first predeterminable area in the initial position of slide and end position, Then control terminal executes first and returns to operation;
Duration judging unit 830, for being located at the first predeterminable area, and stop bits set in the initial position of slide In the second predeterminable area, then judge whether slide is more than or equal to preset duration threshold in the residence time of end position Value;
4th control unit 840 is used in slide when the residence time of end position being more than or equal to default Long threshold value, then control terminal enter multitask interface;
5th control unit 850 controls if slide is less than preset duration threshold value in the residence time of end position Terminal executes second and returns to operation.
In the present embodiment, the first control unit 820 judges initial position and the end position of the slide detected Whether first predeterminable area of display screen is located at, if the initial position of the slide detected and end position are respectively positioned on first Predeterminable area, then control terminal executes first and returns to operation, if the initial position of the slide detected is default positioned at first Region, and end position is not belonging to the first predeterminable area, then calls duration judging unit 830, if the slide detected Initial position and end position when not being located at the first predeterminable area, be not responding to slide or execute other can to respond The function of slide, such as drag page scroll.Preferably first returns to operation to be back to upper the one of current display interface Grade interface.
In the present embodiment, duration judging unit 830 judges whether the end position of slide detected is located at the Two predeterminable areas further judge slide if the end position of the slide detected is located at the second predeterminable area Whether it is more than or equal to preset duration threshold value in the residence time of end position.
In the present embodiment, when the judging result of duration judging unit 830 is:Slide is in the stop of end position Between be more than or equal to preset duration threshold value, 840 control terminal of the 4th control unit enters multitask interface.
When the judging result of duration judging unit 830 is:Slide is when the residence time of end position being less than default Long threshold value, 850 control terminal of the 5th control unit execute second and return to operation.Preferably, second operation is returned to return to terminal Desktop.
Remaining situation of the present invention is identical as terminal control mechanism first embodiment, and details are not described herein.
In the fourth embodiment of the terminal control mechanism of the present invention, referring to Fig. 6, terminal control mechanism 600 includes:
Detection unit 610, for detecting the slide acted on display screen;
First control unit 620, for being respectively positioned on the first predeterminable area in the initial position of slide and end position When, control terminal executes first and returns to operation.
In the present embodiment, the display screen of terminal includes the first predeterminable area, and the first predeterminable area is located at the pre- of display screen If position has preset shape and size.Preferably, when terminal is in vertical screen state, the first predeterminable area is located at display screen Lower bottom, with display screen with wide, length is less than the length of display screen, such as the length of the first predeterminable area is that display screen is long / 5th of degree.
First predeterminable area further includes navigation subregion, and navigation subregion is set to screen lower bottom, pre- for showing If virtual key.Navigating subregion can be with display screen with wide, length is less than the first predeterminable area, for example, display screen length 1/10th.
In the present embodiment, the first control unit 620 includes:
First returns to control module, for being respectively positioned on navigation subregion in the initial position of slide and end position, Control terminal executes first and returns to operation;Or
Second returns to control module, for being located at navigation in one of the initial position of slide and end position Region, and the other of the initial position of slide and end position are located in the first predeterminable area other than the subregion that navigates Subregion when, control terminal execute first return operation.
Remaining situation of the present embodiment is corresponding identical as terminal control mechanism first embodiment, and details are not described herein.
The present invention also provides a kind of terminal, terminal includes processor, and processor is based on executing and being stored in memory It is realized when calculation machine program as described in terminal control method any embodiment the step of method.
The present invention also provides a kind of storage mediums, are stored thereon with computer program, and computer program is held by processor It is realized when row as described in terminal control method any embodiment the step of method.
Step in the method for the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.This Module or unit or subelement in the device of inventive embodiments can be combined, divided and deleted according to actual needs.This Field those of ordinary skill is appreciated that all or part of step in the various methods of above-described embodiment is can to pass through program Carry out the relevant hardware of command terminal device to complete, which can be stored in a computer readable storage medium, and storage is situated between Matter may include:Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Above disclosed is only presently preferred embodiments of the present invention, cannot limit the right of the present invention with this certainly Range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and according to right of the present invention Equivalent variations made by it is required that, still belong to the scope covered by the invention.

Claims (10)

1. a kind of terminal control method, which is characterized in that the display screen of terminal includes the first predeterminable area, the terminal control side Method includes:
Detection acts on the slide on the display screen;
If the initial position of the slide and end position are respectively positioned on first predeterminable area, control the terminal and hold Row first returns to operation.
2. terminal control method according to claim 1, which is characterized in that first predeterminable area includes navigation sub-district Domain;If the initial position of the slide and end position are respectively positioned on first predeterminable area, including:
If the initial position of the slide and end position are respectively positioned on the navigation subregion;Or
If one of the initial position of the slide and end position are located at the navigation subregion, and the sliding is grasped The other of the initial position of work and end position are located at the son other than the subregion that navigates described in first predeterminable area Region.
3. terminal control method according to claim 1, which is characterized in that when the terminal is in vertical screen mode, institute State the lower bottom that the first predeterminable area is located at the display screen;If initial position and the end position of the slide It is respectively positioned on first predeterminable area, including:
If the slide is to be slided from the lower bottom of the display screen into the display screen, and end position is located at institute State the first predeterminable area;
Alternatively, when the terminal is in transverse screen mode, first predeterminable area is located at the left side or the right side of the display screen Side bottom;If the initial position of the slide and end position are respectively positioned on first predeterminable area, including:
If the slide is to be slided from the left side of the display screen or bottom right side into the display screen, and stop bits Setting in first predeterminable area.
4. terminal control method according to claim 1, which is characterized in that the display screen further includes the second preset areas Domain, the terminal control method further include:
If the initial position of the slide is located at first predeterminable area, and end position is located at second preset areas Domain then controls the terminal and executes the second return operation;Or
If the end position of the slide is located at first predeterminable area, and initial position is located at second preset areas Domain then controls the terminal and executes the second return operation.
5. terminal control method according to claim 4, which is characterized in that if the end position of the slide Positioned at first predeterminable area, and initial position is located at second predeterminable area, then controls the terminal execution second and return Operation is returned, including:
If the end position of the slide is located at first predeterminable area, and initial position is located at second preset areas Domain, then judge whether the slide is more than or equal to preset duration threshold value in the residence time of the end position;
If the determination result is YES, then it controls the terminal and enters multitask interface;
If judging result is no, controls the terminal and execute the second return operation.
6. terminal control method according to claim 4, which is characterized in that the control terminal executes first and returns Operation, including:
Control the upper level interface that the terminal is back to current display interface;
The control terminal executes second and returns to operation, including:
It controls the terminal and returns to desktop.
7. a kind of terminal control mechanism, which is characterized in that the display screen of terminal includes the first predeterminable area, the terminal control dress Set including:
Detection unit, for detecting the slide acted on the display screen;
First control unit, for being respectively positioned on first predeterminable area in the initial position of the slide and end position When, it controls the terminal and executes the first return operation.
8. terminal control mechanism according to claim 7, which is characterized in that the display screen further includes the second preset areas Domain, the terminal control mechanism further include:
Second control unit, for being located at first predeterminable area, and end position in the initial position of the slide When positioned at second predeterminable area, then controls the terminal and execute the second return operation;Or
Third control unit is located at first predeterminable area, and initial position for the end position in the slide When positioned at second predeterminable area, controls the terminal and execute the second return operation.
9. a kind of terminal, which is characterized in that the terminal includes processor, and the processor is used to execute to store in memory It is realized when computer program such as the step of any one of claim 1 to 6 the method.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer program is held by processor It is realized when row such as the step of any one of claim 1 to 6 the method.
CN201810247017.5A 2018-03-23 2018-03-23 A kind of terminal control method and device, terminal, storage medium Withdrawn CN108632451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810247017.5A CN108632451A (en) 2018-03-23 2018-03-23 A kind of terminal control method and device, terminal, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810247017.5A CN108632451A (en) 2018-03-23 2018-03-23 A kind of terminal control method and device, terminal, storage medium

Publications (1)

Publication Number Publication Date
CN108632451A true CN108632451A (en) 2018-10-09

Family

ID=63696323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810247017.5A Withdrawn CN108632451A (en) 2018-03-23 2018-03-23 A kind of terminal control method and device, terminal, storage medium

Country Status (1)

Country Link
CN (1) CN108632451A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471610A (en) * 2019-08-16 2019-11-19 上海闻泰信息技术有限公司 Terminal control method, device, terminal and storage medium
CN112783408A (en) * 2021-01-28 2021-05-11 维沃移动通信有限公司 Gesture navigation method and device of electronic equipment, equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106066766A (en) * 2016-05-26 2016-11-02 努比亚技术有限公司 A kind of mobile terminal and control method thereof
CN107092418A (en) * 2017-03-31 2017-08-25 努比亚技术有限公司 The terminal and method of operation application suspension windows
CN107193482A (en) * 2017-07-12 2017-09-22 维沃移动通信有限公司 The operating method and mobile terminal of a kind of mobile terminal screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106066766A (en) * 2016-05-26 2016-11-02 努比亚技术有限公司 A kind of mobile terminal and control method thereof
CN107092418A (en) * 2017-03-31 2017-08-25 努比亚技术有限公司 The terminal and method of operation application suspension windows
CN107193482A (en) * 2017-07-12 2017-09-22 维沃移动通信有限公司 The operating method and mobile terminal of a kind of mobile terminal screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471610A (en) * 2019-08-16 2019-11-19 上海闻泰信息技术有限公司 Terminal control method, device, terminal and storage medium
CN112783408A (en) * 2021-01-28 2021-05-11 维沃移动通信有限公司 Gesture navigation method and device of electronic equipment, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN104166553B (en) A kind of display methods and electronic equipment
CN104699392B (en) A kind of method, apparatus and intelligent terminal for preventing false triggering touch key-press
CN105807997B (en) A kind of touch screen sensitivity regulation method and device
CN107193519A (en) Display control method and device, computer installation and computer-readable recording medium
CN105549813B (en) A kind of method for controlling mobile terminal and mobile terminal
CN105204745A (en) Screen capture method and device for mobile terminal
CN110493018B (en) Group chat creating method and device
CN109697265B (en) Page returning method and device
CN103995668B (en) Information processing method and electronic equipment
CN104850328B (en) A kind of object selection method and device of smartwatch
CN103853481B (en) Method and system for simulating touch screen mobile terminal key
CN106325663B (en) Mobile terminal and its screenshotss method
CN104238887B (en) The icon lookup method and device of conventional application program
CN110531920A (en) Display methods, device, terminal and the storage medium of side toolbar
CN108958627A (en) touch operation method, device, storage medium and electronic equipment
CN108803974A (en) A kind of page processing method, device and relevant device
CN103389871B (en) The control method of a kind of electronic equipment and electronic equipment
CN108984096A (en) touch operation method, device, storage medium and electronic equipment
CN108632451A (en) A kind of terminal control method and device, terminal, storage medium
CN105468243B (en) The device that the method and the page that the page returns return
CN108549518A (en) A kind of method, apparatus that music information is shown and terminal device
CN105955657A (en) Display method and electronic device
CN108399042A (en) A kind of touch control identification method, device and system
CN103500055B (en) Positioning method and system of display content of touch screen
CN110231902A (en) A kind of touch panel device event triggering method and device

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181009