CN105843531B - A kind of switching method and apparatus of screen pattern - Google Patents

A kind of switching method and apparatus of screen pattern Download PDF

Info

Publication number
CN105843531B
CN105843531B CN201510438601.5A CN201510438601A CN105843531B CN 105843531 B CN105843531 B CN 105843531B CN 201510438601 A CN201510438601 A CN 201510438601A CN 105843531 B CN105843531 B CN 105843531B
Authority
CN
China
Prior art keywords
switching
screen
sliding operation
screen mode
angle
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.)
Active
Application number
CN201510438601.5A
Other languages
Chinese (zh)
Other versions
CN105843531A (en
Inventor
张祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510438601.5A priority Critical patent/CN105843531B/en
Publication of CN105843531A publication Critical patent/CN105843531A/en
Application granted granted Critical
Publication of CN105843531B publication Critical patent/CN105843531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a kind of switching method and apparatus of screen pattern, method therein is specifically included: slide of the monitoring user on the touch screen of mobile terminal;When the slide meets preset switching condition, the switching of screen pattern is carried out.The embodiment of the present invention can be improved the efficiency of screen pattern switching, so as to improve user experience.

Description

Screen mode switching method and device
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for switching a screen mode.
Background
With the popularization and the intelligent development of the mobile terminal, a user can not only make a call by using the mobile terminal, but also complete the functional operations of browsing a webpage, listening to music, watching videos, playing games and the like. With the rapid development of the touch screen technology, the user can more conveniently and rapidly complete the transmission of the operation instruction. When the user performs the function operation, the screen mode (horizontal screen and vertical screen) of the mobile terminal needs to be switched sometimes, so as to obtain better user experience.
The existing screen mode switching scheme usually realizes the switching of horizontal and vertical screens by matching with a gravity sensor, for example, the vertical screen mode for displaying pictures can be switched by detecting the rotation of a mobile phone through a built-in gravity sensor when the pictures are viewed, so that the pictures can be conveniently viewed by a user; for example, when watching a video, the horizontal screen mode of video display is switched by detecting the rotation of the mobile phone through the built-in gravity sensor.
However, in the specific implementation process of the conventional screen mode switching scheme, if the gravity sensor is not sensitive enough, the gravity sensor may sense the rotation of the mobile terminal with a deviation or cannot sense the change of the mobile terminal, and then the switching result of the screen mode may not be the result expected by the user, so that the user needs to perform corresponding switching operations for many times to achieve the expected effect, and the problems of low screen mode switching efficiency and poor user experience are caused.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method for switching a screen mode, which can accurately and conveniently switch the screen mode and improve the efficiency of switching the screen mode.
Correspondingly, the embodiment of the invention also provides a device for switching the screen mode, which is used for ensuring the realization and the application of the method.
In order to solve the above problems, the present invention discloses a method for switching screen modes, comprising:
monitoring sliding operation of a user on a touch screen of the mobile terminal;
and when the sliding operation meets the preset switching condition, switching the screen mode.
On the other hand, the invention also discloses a device for switching the screen modes, which comprises:
the first monitoring module is used for monitoring the sliding operation of a user on a touch screen of the mobile terminal; and
and the first switching module is used for switching the screen mode when the sliding operation meets the preset switching condition.
Compared with the prior art, the embodiment of the invention has the following advantages:
the screen mode switching method and the screen mode switching device provided by the embodiment of the invention can monitor the sliding operation of a user on the touch screen of the mobile terminal, and switch the screen mode when the sliding operation meets the preset switching condition.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a method for switching between screen modes according to the present invention;
FIG. 2 is a flowchart illustrating the steps of a second embodiment of a method for switching between screen modes according to the present invention;
fig. 3 is a specific example of a screen mode switching process according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a method for switching between screen modes according to the present invention;
FIG. 5a is a schematic diagram of a display direction of a current page when a screen mode is switched to a vertical screen mode and a corresponding direction from a start point to an end point of a sliding operation is from top to bottom according to an embodiment of the present invention;
FIG. 5b is a schematic diagram of a current page display direction when the screen mode is switched to the portrait mode and a corresponding direction from the start point to the end point of the sliding operation is pointing from the bottom to the top according to the embodiment of the present invention;
FIG. 5c is a schematic diagram of a display direction of a current page when the screen mode is switched to the landscape mode and a corresponding direction from the start point to the end point of the sliding operation is from left to right according to the embodiment of the present invention;
FIG. 5d is a schematic diagram of a display direction of a current page when the screen mode is switched to the landscape mode and a corresponding direction from the start point to the end point of the sliding operation is from right to left according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a fourth step of an embodiment of a method for switching between screen modes according to the present invention;
FIG. 7 is a schematic structural diagram of a first embodiment of a device for switching between screen modes according to the present invention;
FIG. 8 is a schematic structural diagram of a second embodiment of a screen mode switching device according to the present invention;
FIG. 9 is a schematic structural diagram of a third embodiment of a device for switching between screen modes according to the present invention;
FIG. 10 is a schematic structural diagram of a fourth embodiment of a screen mode switching device according to the present invention; and
fig. 11 is a schematic structural diagram of a fifth embodiment of a screen mode switching device according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating a first step of an embodiment of a method for switching a screen mode according to the present invention is shown, which may specifically include the following steps:
step 101, monitoring sliding operation of a user on a touch screen of a mobile terminal;
and 102, switching screen modes when the sliding operation meets preset switching conditions.
The embodiment of the invention can be applied to systems of various mobile terminals such as android, IOS and the like, and is used for switching the screen mode after the sliding operation is monitored to meet the preset switching condition; the method can also be applied to application programs of various mobile terminals such as browsers, reading software application programs, video player application programs and the like, and particularly, after the sliding operation is monitored to meet the screen switching condition, the application program informs a system to switch the screen mode; that is, the embodiment of the present invention may be implemented as a part of functions in a system or an application, may be embedded in the system or the application as a plug-in, and may also be hosted in the system or the application as a hosted program.
In an embodiment of the present invention, the sliding operation may specifically include at least one of the following operations:
firstly, sliding operation of at least two fingers on the mobile terminal;
because the scheme of sliding unlocking through the sliding operation of one finger on the mobile terminal exists, the sliding operation of the at least two fingers on the mobile terminal can be distinguished from the existing sliding unlocking operation, so that the problem that the user operation for switching the screen mode is captured by other schemes can be avoided, and the accuracy of switching the screen mode can be ensured;
second, the sliding operation on the preset edge position of the mobile terminal may be that one finger slides on the preset edge position of the mobile terminal, or that a plurality of fingers slide on the preset edge position of the mobile terminal; the preset edge position is a fixed area position determined at an edge position close to a screen of the mobile terminal, and the size of the preset edge position is determined by a person skilled in the art (for example, the distance between the outer edge of the preset edge position and the edge position of the screen is 1mm, the distance between the inner edge of the preset edge position and the edge position of the screen is 8mm, and the like);
because the existing sliding unlocking operation is usually positioned in the middle of the screen, the sliding operation on the preset edge position of the mobile terminal in the embodiment of the invention can be distinguished from the existing sliding unlocking operation, so that the problem that the user operation for switching the screen mode is captured by other schemes can be avoided, and the accuracy of switching the screen mode can be ensured.
In an embodiment of the present invention, the sliding operation refers to a sliding operation of a finger on a screen of a mobile terminal, and a corresponding sliding track of the sliding operation may include: the line segment which is generated within a certain time length range, has a certain length and can be approximately regarded as a straight line segment, the sliding operation which does not meet the above conditions can be regarded as an invalid operation, and the specific method for judging whether the sliding operation is valid or invalid is not limited by the embodiment of the invention.
To sum up, the screen mode switching method provided by the embodiment of the present invention can monitor the sliding operation of the user on the touch screen of the mobile terminal, and perform the screen mode switching when the sliding operation performed on the touch screen meets the preset switching condition, and since the touch screen has very high detection sensitivity for the touch operation, the embodiment of the present invention can be regarded as completely controlling the screen mode switching by software without being limited by the hardware of the mobile terminal.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a method for switching a screen mode according to the present invention is shown, which may specifically include the following steps:
step 201, monitoring sliding operation of a user on a touch screen of a mobile terminal;
step 202, when an included angle between a straight line formed by the sliding operation and a first preset standard line is smaller than a first angle, switching the screen mode to a vertical screen mode;
step 203, when the included angle between the straight line formed by the sliding operation and the first preset standard line is larger than a second angle, switching the screen mode to a horizontal screen mode;
the first preset standard line is a straight line parallel to the vertical edge of the screen of the mobile terminal; the first angle is equal to or smaller than the second angle.
With respect to the first embodiment, the present embodiment embodies a specific process of switching the screen mode when the sliding operation meets the preset switching condition through the steps 202 and 203.
In the embodiment of the invention, the first preset standard line can be a straight line parallel to the vertical edge of the screen terminal; an included angle between a straight line formed by sliding operation and the first preset standard line is an angle smaller than 90 degrees; the first angle and the second angle may be any angles smaller than 90 degrees, and the first angle is smaller than or equal to the second angle.
In an embodiment of the present invention, the process of switching the screen mode when the sliding operation meets a preset switching condition may further include: when the included angle between the straight line formed by the sliding operation and the second preset standard line is larger than a third angle, switching the screen mode into a vertical screen mode; when the included angle between the straight line formed by the sliding operation and the second preset standard line is smaller than a fourth angle, switching the screen mode to a horizontal screen mode; the second preset standard line is a straight line parallel to the transverse edge of the screen of the mobile terminal; the third angle may be greater than or equal to the fourth angle.
In the embodiment of the invention, the second preset standard line can be a straight line parallel to the transverse edge of the screen terminal; an included angle between a straight line formed by sliding operation and the second preset standard line is an angle smaller than 90 degrees; the third angle and the fourth angle may be any angles smaller than 90 degrees, and the third angle is greater than or equal to the fourth angle, so that in an actual implementation process, a person skilled in the art can determine the angles of the third angle and the fourth angle by himself, and the embodiment of the present invention does not specifically limit the angles.
Referring to fig. 3, a specific example of a screen mode switching process according to an embodiment of the present invention is shown, which relates to a situation where a mobile terminal is horizontally placed, and specifically may include: a first preset standard line 301, a sliding track 302 and an included angle 303. The first preset standard line 301 is a straight line parallel to the vertical edge of the mobile terminal screen;
when the first angle is different from the second angle, such as: when the first angle is 40 degrees and the second angle is 60 degrees, if the included angle 303 is smaller than the first angle, namely the included angle 303 is smaller than 40 degrees, the screen mode can be switched to the vertical screen mode; if the included angle 303 is greater than the second angle, that is, the included angle 303 is greater than 60 degrees, the screen mode can be switched to the landscape screen mode; if the included angle 303 is greater than the first angle and smaller than the second angle, that is, the included angle 303 is between 40 degrees and 60 degrees, the screen mode may not be switched.
When the first angle is the same as the second angle, such as: the first angle and the second angle are both 45 degrees, and if the included angle 303 is smaller than the first angle, namely the included angle 303 is smaller than 45 degrees, the screen mode can be switched to the vertical screen mode; if the included angle 303 is greater than the second angle, that is, the included angle 303 is greater than 45 degrees, the screen mode can be switched to the landscape mode.
It should be understood that the above example is only an exemplary illustration of the embodiment of the present invention, and is not to be construed as a limitation to the embodiment of the present invention, and actually, the magnitude of the slope of the straight line corresponding to the track of the sliding operation may also be used as the preset switching condition, that is, when the slope is greater than the first preset slope, the screen mode may be switched to the portrait mode; when the slope is smaller than the second preset slope, the screen mode may be switched to the landscape mode, where the first preset slope and the second preset slope are set by a person skilled in the art, and the embodiment of the present invention is not limited to this specifically.
Referring to fig. 4, a flowchart illustrating a third step of the screen mode switching method according to the third embodiment of the present invention is shown, which may specifically include the following steps:
step 401, monitoring sliding operation of a user on a touch screen of a mobile terminal;
step 402, when the sliding operation meets the preset switching condition, switching the screen mode;
step 403, monitoring a corresponding starting point and an end point of the sliding operation on the mobile terminal;
in the embodiment of the invention, the corresponding starting point and end point of the sliding operation on the mobile terminal are the starting point and end point of the sliding track.
And 404, displaying the current page according to the directions corresponding to the starting point and the end point.
Compared with the first embodiment, the present embodiment may further monitor a starting point and an ending point of the sliding operation on the mobile terminal, and display the current page according to a direction corresponding to the starting point and the ending point.
In the embodiment of the present invention, when it is determined in step 402 that the screen mode is switched to the vertical screen mode, if the direction from the starting point to the end point is the direction from top to bottom, when the page is displayed, the upper edge of the screen is determined as the head of the page, and the lower edge of the screen is determined as the tail of the page, as shown in fig. 5a, where a first sliding track direction 501, a second sliding track direction 502, and a third sliding track direction 503 can all be regarded as the direction from top to bottom; if the direction from the starting point to the ending point is from bottom to top, when the page is displayed, the lower edge of the screen is determined as the head of the page, and the upper edge of the screen is determined as the tail of the page, as shown in fig. 5b, wherein the sliding track direction four 504, the sliding track direction five 505, and the sliding track direction six 506 can be regarded as the directions from bottom to top. When it is determined in step 402 that the screen mode is switched to the landscape mode, if the direction from the starting point to the ending point is the left-to-right direction, when the page is displayed, the left edge of the screen is determined as the head of the page, and the right edge of the screen is determined as the tail of the page, as shown in fig. 5c, where a seven sliding track direction 507, an eight sliding track direction 508, and a nine sliding track direction 509 may all be regarded as the left-to-right direction; if the direction from the starting point to the ending point is from right to left, the right edge of the screen is determined as the head of the page and the left edge of the screen is determined as the tail of the page when the page is displayed, as shown in fig. 5d, wherein the sliding track direction ten 510, the sliding track direction eleven 511 and the sliding track direction twelve 512 can be regarded as the direction from right to left.
Referring to fig. 5a to 5d, an illustration of a display direction of a current page when a corresponding direction from a start point to an end point of a sliding operation is pointing up and pointing up from down when the screen mode is switched to the portrait mode, and an illustration of a display direction of a current page when a corresponding direction from a start point to an end point of a sliding operation is pointing left and pointing right and pointing left when the screen mode is switched to the landscape mode are respectively shown.
To sum up, the method for switching screen modes according to the embodiments of the present invention displays a current page on a screen according to a corresponding direction from a starting point to an end point of a sliding track formed by a sliding operation. Because different page display directions can meet the habits of different users for watching the pages, better user experience can be brought.
Referring to fig. 6, a flowchart illustrating a fourth step of the screen mode switching method according to the embodiment of the present invention is shown, which may specifically include the following steps:
601, monitoring sliding operation of a user on a touch screen of the mobile terminal;
step 602, when the sliding operation meets a preset switching condition, switching the screen mode;
step 603, monitoring key operation of a user on the mobile terminal;
in an embodiment of the present invention, the key operation may specifically include: volume key operation and power key operation, etc.
And step 604, switching the screen modes when the simultaneous sliding operation and the operation of the preset key are monitored and the sliding operation meets the preset switching condition.
In the embodiment of the invention, the sliding operation of one finger or a plurality of fingers on the touch screen of the mobile terminal is carried out while the operation of the volume key or the operation of the power key is carried out, and the screen mode is switched after the sliding operation meets the preset switching condition.
Because the existing sliding unlocking operation only comprises a single sliding operation, the sliding operation and the key operation on the mobile terminal can be distinguished from the existing sliding unlocking operation, so that the problem that the user operation for switching the screen mode is captured by other schemes can be avoided, and the accuracy of switching the screen mode can be ensured.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 7, a schematic structural diagram of a first embodiment of the screen mode switching device of the present invention is shown, which may specifically include the following modules: a first monitoring module 701 and a first switching module 702; wherein,
the first monitoring module 701 is used for monitoring sliding operation of a user on a touch screen of the mobile terminal; and
a first switching module 702, configured to switch the screen mode when the sliding operation meets a preset switching condition.
In an embodiment of the present invention, the user operation may specifically include at least one of the following operations:
sliding operation of at least two fingers on the touch screen;
or a sliding operation at a preset edge position of the touch screen.
To sum up, the screen mode switching device provided by the embodiment of the present invention switches the screen mode by monitoring the sliding operation of the user on the touch screen of the mobile terminal, when the sliding operation performed on the touch screen meets the preset switching condition, and since the touch screen has very high detection sensitivity for the touch operation, the embodiment of the present invention can be regarded as completely controlling the switching of the screen mode by software without being limited by the hardware of the mobile terminal.
Referring to fig. 8, a schematic structural diagram of a second embodiment of the screen mode switching device of the present invention is shown, which may specifically include the following modules: a first monitoring module 801 and a first switching module 802; wherein,
a first monitoring module 801, which monitors a sliding operation of a user on a touch screen of a mobile terminal;
a first switching module 802, configured to switch a screen mode when the sliding operation meets a preset switching condition; wherein,
the first switching module 802 may include: a first switching unit 8021, a second switching unit 8022;
a first switching unit 8021, configured to switch the screen mode to a vertical screen mode when an included angle between the straight line formed by the sliding operation and a first preset standard line is smaller than a first angle; and/or
A second switching unit 8022, configured to switch the screen mode to the landscape screen mode when an included angle between a straight line formed by the sliding operation and the first preset standard line is greater than a second angle;
the first preset standard line is a straight line parallel to the vertical edge of the screen of the mobile terminal; the first angle is equal to or smaller than the second angle.
Referring to fig. 9, a schematic structural diagram of a third embodiment of the screen mode switching device of the present invention is shown, which may specifically include the following modules: a first monitoring module 901 and a switching module 902; wherein,
a first monitoring module 901, configured to monitor a sliding operation of a user on a touch screen of a mobile terminal;
a first switching module 902, configured to switch a screen mode when the sliding operation meets a preset switching condition; wherein,
the first switching module 902 may include: a third switching unit 9021 and a fourth switching unit 9022;
a third switching unit 9021, configured to switch the screen mode to the vertical screen mode when an included angle between the straight line formed by the sliding operation and the second preset standard line is greater than a third angle;
a fourth switching unit 9022, configured to switch the screen mode to the landscape screen mode when an included angle between a straight line formed by the sliding operation and the second preset standard line is smaller than a fourth angle;
the second preset standard line may be a straight line parallel to a transverse edge of a screen of the mobile terminal; the third angle may be equal to or greater than the fourth angle.
Referring to fig. 10, a schematic structural diagram of a fourth embodiment of the screen mode switching device of the present invention is shown, and specifically, the screen mode switching device may include the following modules: a first monitoring module 1001, a first switching module 1002, a second monitoring module 1003 and a display module 1004; wherein,
a first monitoring module 1001, configured to monitor a sliding operation of a user on a touch screen of a mobile terminal;
a first switching module 1002, configured to switch a screen mode when the sliding operation meets a preset switching condition;
a second monitoring module 1003, configured to monitor a starting point and an ending point of the sliding operation on the mobile terminal; and
the display module 1004 is configured to display the current page according to the direction corresponding to the starting point and the ending point.
To sum up, the device for switching screen modes according to the embodiments of the present invention displays a current page on a screen according to a corresponding direction from a starting point to an end point of a sliding track formed by a sliding operation. Because different page display directions can meet the habits of different users for watching the pages, better user experience can be brought.
Referring to fig. 11, a schematic structural diagram of a fifth embodiment of the screen mode switching device according to the present invention is shown, and specifically, the device may include the following modules: a first monitoring module 1101, a first switching module 1102, a third monitoring module 1103 and a second switching module 1104;
the first monitoring module 1101 is configured to monitor a sliding operation of a user on a touch screen of the mobile terminal;
a first switching module 1102, configured to switch a screen mode when the sliding operation meets a preset switching condition;
a third monitoring module 1103, configured to monitor a key operation performed by a user on the mobile terminal; and
the second switching module 1104 is configured to switch the screen mode when the sliding operation and the operation of the preset key that are generated simultaneously are monitored and the sliding operation meets a preset switching condition.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The screen mode switching method and the screen mode switching device provided by the invention are described in detail, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. A method for switching screen modes, comprising:
monitoring sliding operation of a user on a touch screen of the mobile terminal;
when the sliding operation meets a preset switching condition, switching screen modes;
monitoring a corresponding starting point and a corresponding end point of the sliding operation on the mobile terminal;
displaying the current page according to the direction corresponding to the starting point and the end point, wherein the displaying comprises the following steps: determining the screen edge corresponding to the starting point as the head of the current page, and determining the screen edge corresponding to the end point as the tail of the current page;
the sliding operation includes at least one of:
sliding operation of at least two fingers on the touch screen;
or a sliding operation on a preset edge position of the touch screen;
the step of switching the screen mode when the user operation meets a preset switching condition includes:
when an included angle between a straight line formed by the sliding operation and a first preset standard line is smaller than a preset first angle, switching the screen mode to a vertical screen mode; the first preset standard line is a straight line parallel to the vertical edge of the screen of the mobile terminal; or
When an included angle between a straight line formed by the sliding operation and a first preset standard line is larger than a preset second angle, switching the screen mode into a horizontal screen mode;
wherein the first angle is less than or equal to the second angle.
2. The method according to claim 1, wherein the step of switching the screen mode when the user operation meets a preset switching condition comprises:
when an included angle between a straight line formed by the sliding operation and a second preset standard line is larger than a preset third angle, switching the screen mode into a vertical screen mode; the second preset standard line is a straight line parallel to the transverse edge of the screen of the mobile terminal; or
When an included angle between a straight line formed by the sliding operation and a second preset standard line is smaller than a fourth angle, switching the screen mode into a horizontal screen mode;
wherein the third angle is greater than or equal to the fourth angle.
3. The method of claim 1, further comprising:
monitoring key operation of a user on the mobile terminal;
and switching the screen modes when the simultaneous sliding operation and the operation of the preset key are monitored and the sliding operation meets the preset switching condition.
4. A screen mode switching apparatus, comprising:
the first monitoring module is used for monitoring the sliding operation of a user on a touch screen of the mobile terminal; and
the first switching module is used for switching the screen mode when the sliding operation meets the preset switching condition;
the second monitoring module is used for monitoring a corresponding starting point and a corresponding end point of the sliding operation on the mobile terminal;
the display module is used for displaying the current page according to the directions corresponding to the starting point and the end point; the display module is specifically configured to determine the screen edge corresponding to the starting point as a head of the current page, and determine the screen edge corresponding to the ending point as a tail of the current page;
the sliding operation includes at least one of:
sliding operation of at least two fingers on the touch screen;
or a sliding operation on a preset edge position of the touch screen;
the switching module includes:
the first switching unit is used for switching the screen mode to a vertical screen mode when an included angle between a straight line formed by the sliding operation and a first preset standard line is smaller than a first angle; and/or
The second switching unit is used for switching the screen mode to the horizontal screen mode when an included angle between a straight line formed by the sliding operation and the first preset standard line is larger than a second angle; the first preset standard line is a straight line parallel to the vertical edge of the screen of the mobile terminal, and the first angle is smaller than or equal to the second angle.
5. The apparatus of claim 4, wherein the switching module comprises:
the third switching unit is used for switching the screen mode to a vertical screen mode when an included angle between a straight line formed by the sliding operation and a second preset standard line is larger than a third angle; and/or
The fourth switching unit is used for switching the screen mode to the horizontal screen mode when an included angle between a straight line formed by the sliding operation and a second preset standard line is smaller than a fourth angle; the second preset standard line is a straight line parallel to the transverse edge of the screen of the mobile terminal, and the third angle is greater than or equal to the fourth angle.
6. The apparatus of claim 4, further comprising:
the third monitoring module is used for monitoring key operation of a user on the mobile terminal;
and the second switching module is used for switching the screen mode when the simultaneous sliding operation and the operation of the preset key are monitored and the sliding operation meets the preset switching condition.
CN201510438601.5A 2015-07-23 2015-07-23 A kind of switching method and apparatus of screen pattern Active CN105843531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510438601.5A CN105843531B (en) 2015-07-23 2015-07-23 A kind of switching method and apparatus of screen pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510438601.5A CN105843531B (en) 2015-07-23 2015-07-23 A kind of switching method and apparatus of screen pattern

Publications (2)

Publication Number Publication Date
CN105843531A CN105843531A (en) 2016-08-10
CN105843531B true CN105843531B (en) 2019-08-16

Family

ID=56580760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510438601.5A Active CN105843531B (en) 2015-07-23 2015-07-23 A kind of switching method and apparatus of screen pattern

Country Status (1)

Country Link
CN (1) CN105843531B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107340958B (en) * 2017-06-23 2020-10-30 努比亚技术有限公司 Horizontal and vertical screen switching method and mobile terminal
CN107948362A (en) * 2017-11-30 2018-04-20 珠海市魅族科技有限公司 Screen display method, device, computer installation and computer-readable recording medium
CN110389700A (en) * 2018-04-19 2019-10-29 中兴通讯股份有限公司 A kind of switching method that screen is shown, device and storage medium
CN109240575A (en) * 2018-08-28 2019-01-18 维沃移动通信有限公司 A kind of screen control method and electronic equipment
CN109445658A (en) 2018-10-19 2019-03-08 北京小米移动软件有限公司 A kind of method, apparatus, mobile terminal and storage medium switching display pattern
CN109558056B (en) * 2018-10-30 2021-02-02 深圳小淼科技有限公司 Display interface switching method and device and computer readable storage medium
CN110336923B (en) * 2019-07-16 2021-06-18 网易(杭州)网络有限公司 Method and device for switching play modes, electronic equipment and storage medium
CN112445358A (en) * 2019-08-29 2021-03-05 Oppo(重庆)智能科技有限公司 Adjusting method, terminal and computer storage medium
CN115190368A (en) * 2022-07-07 2022-10-14 北京字跳网络技术有限公司 Play control method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779168A (en) * 2012-06-26 2012-11-14 华为终端有限公司 Searching method of contact person information and terminal
CN104469119A (en) * 2013-09-12 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2880709B1 (en) * 2005-01-11 2014-04-25 Vision Objects METHOD OF SEARCHING, RECOGNIZING AND LOCATING INK, DEVICE, PROGRAM AND LANGUAGE CORRESPONDING
CN103513912B (en) * 2012-06-29 2016-06-22 ***通信集团公司 A kind of interface switching method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779168A (en) * 2012-06-26 2012-11-14 华为终端有限公司 Searching method of contact person information and terminal
CN104469119A (en) * 2013-09-12 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105843531A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN105843531B (en) A kind of switching method and apparatus of screen pattern
CN105117156B (en) A kind of information processing method and electronic equipment
US20190114043A1 (en) Method, apparatus, and electronic device for displaying a page and storage medium
US20160034093A1 (en) Method for display control and electronic device
CN102741799B (en) Touch screen operation method and terminal
US20120176322A1 (en) Systems and methods to present multiple frames on a touch screen
EP2816545A2 (en) Method and apparatus for protecting eyesight
US20140089842A1 (en) Method and device for interface display
CN103631469B (en) The display processing method of icon, device and electronic equipment
KR20130099647A (en) Method and apparatus for controlling contents using side interface in user terminal
CN106843791A (en) Multi-screen display method and device
CN103399711A (en) Display control method of pop-up window and terminal
CN104461312A (en) Display control method and electronic equipment
CN103399959A (en) Display method of interactive control of webpage and terminal
CN108108078B (en) Electronic equipment, display control method and related product
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
CN104583903A (en) Method, system and terminal for preventing faulty touch operation
KR101231513B1 (en) Contents control method and device using touch, recording medium for the same and user terminal having it
WO2015181830A1 (en) User account switching interface
CN105549822B (en) A kind of icon moving method and mobile terminal
CN104536692A (en) Operation method of touch screen, touch device and touch terminal
WO2017161808A1 (en) Method for processing desktop icon and terminal
CN106325692B (en) Method and device for switching display modes and mobile terminal thereof
US9389782B2 (en) Electronic device and control method thereof
US20150160777A1 (en) Information processing method and electronic device

Legal Events

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