CN108196699B - Page switching method and equipment - Google Patents

Page switching method and equipment Download PDF

Info

Publication number
CN108196699B
CN108196699B CN201711378514.0A CN201711378514A CN108196699B CN 108196699 B CN108196699 B CN 108196699B CN 201711378514 A CN201711378514 A CN 201711378514A CN 108196699 B CN108196699 B CN 108196699B
Authority
CN
China
Prior art keywords
display interface
page
terminal device
terminal equipment
central axis
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
CN201711378514.0A
Other languages
Chinese (zh)
Other versions
CN108196699A (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 CN201711378514.0A priority Critical patent/CN108196699B/en
Publication of CN108196699A publication Critical patent/CN108196699A/en
Application granted granted Critical
Publication of CN108196699B publication Critical patent/CN108196699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Abstract

The embodiment of the application discloses a page switching method and device, relates to the technical field of terminals, and can solve the problem that when a user uses a terminal device, the display effect of the terminal device is poor due to the fact that the size of a page displayed on a display interface of the terminal device is reduced. The specific scheme is as follows: if the preset rotation of the terminal equipment around the central axis of the display interface is detected, switching a first page displayed by the current display interface to an upper page of the first page or switching the first page displayed by the current display interface to a lower page of the first page according to the rotation direction of the terminal equipment, wherein the display state of the current display interface comprises a vertical screen display state and a horizontal screen display state. The embodiment of the application is applied to the process of switching the pages of the terminal equipment, can realize the switching of the pages, is convenient for the single-hand operation of a user, and has a better display effect.

Description

Page switching method and equipment
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a page switching method and device.
Background
With the development of terminal devices, the functions of the terminal devices are also more powerful, and users can not only use the terminal devices for communication, but also watch electronic books, play games, transmit files, make video shots and the like on the terminal devices.
Nowadays, with the development of technology, the demand of users for the intellectualization of terminal equipment is higher and higher. For example, when a user holds the terminal device with a single hand on a bus or a subway, the terminal device can be operated conveniently (for example, pages are switched continuously when the user browses photos and watches electronic books). According to the requirements of users, some current terminal devices adopt a mode of reducing the size of a display interface of a screen, and when a user holds the terminal device with one hand, the user can operate on the reduced display interface, for example, slide a photo leftwards on the reduced display interface, and switch the photo displayed on the current display interface to the next photo.
However, when the user operates on the reduced display interface, the size of the page (e.g., a photo) displayed on the display interface of the terminal device is also reduced, which destroys the original display effect of the terminal device and causes a poor display effect.
Disclosure of Invention
The embodiment of the application provides a page switching method and device, which can solve the problem that when a user uses a terminal device, the display effect of the terminal device is poor due to the fact that the size of a page displayed on a display interface of the terminal device is reduced.
In order to achieve the purpose, the following technical scheme is adopted in the application:
in a first aspect of the present application, a method for switching pages is provided, where the method is applicable to a terminal device, a display interface of the terminal device displays a first page, and the method for switching pages includes: if the terminal equipment is detected to rotate around the central axis of the display interface in a preset manner, switching a first page displayed by the current display interface to a previous page of the first page or switching the first page displayed by the current display interface to a next page of the first page according to the rotation direction of the terminal equipment; the display state of the current display interface of the terminal equipment comprises a vertical screen display state and a horizontal screen display state.
In a second aspect of the present application, a terminal device is provided, where a display interface of the terminal device displays a first page, and the terminal device includes: and a processing unit. The processing unit is used for switching a first page displayed on a current display interface to a previous page of the first page or switching the first page displayed on the current display interface to a next page of the first page according to the rotation direction of the terminal equipment if the preset rotation of the terminal equipment around the central axis of the display interface is detected; the display state of the current display interface of the terminal equipment comprises a vertical screen display state and a horizontal screen display state.
In a third aspect of the present application, a terminal device is provided, which comprises a processor, a memory and a computer program stored on the memory and operable on the processor, and which, when executed by the processor, implements the steps of the method for page switching according to the first aspect.
In a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method for page switching according to the first aspect.
In the application, the terminal equipment can switch the first page displayed on the current display interface of the terminal equipment according to the rotating direction of the terminal equipment. The terminal equipment can realize the switching of the first page according to the rotating direction of the terminal equipment, and the switching of the first page is not required to be carried out by sliding the first page leftwards or rightwards on the terminal equipment by a user, so that the one-hand operation of the user is more convenient; in addition, the current display interface of the terminal equipment is not reduced, and the first page displayed on the current display interface is not reduced, so that the display effect is good, and the user experience is better.
Drawings
Fig. 1 is a schematic architecture diagram of an android operating system according to an embodiment of the present application;
fig. 2 is a first flowchart of a page switching method according to an embodiment of the present disclosure;
fig. 3 is a first schematic view of an example display interface of a mobile phone according to an embodiment of the present disclosure;
fig. 4 is a schematic view illustrating an example of a rotation direction of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a state example of a display interface of a mobile phone according to an embodiment of the present application;
fig. 6 is a schematic view illustrating a second example of a display interface of a mobile phone according to an embodiment of the present application;
fig. 7 is a third schematic view of an example display interface of a mobile phone according to an embodiment of the present application;
fig. 8 is a fourth schematic view of an example display interface of a mobile phone according to an embodiment of the present application;
FIG. 9 is a diagram illustrating an example display interface of a mobile phone according to the prior art;
fig. 10 is a flowchart of a page switching method according to an embodiment of the present application;
fig. 11 is a schematic view of an example display interface of a mobile phone according to an embodiment of the present application;
fig. 12 is a third flowchart of a page switching method according to an embodiment of the present application;
fig. 13 is a schematic diagram six of an example display interface of a mobile phone according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 15 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first" and "second," and the like, in the description and in the claims of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first instruction and the second instruction, etc. are for distinguishing between different instructions, rather than for describing a particular order of the instructions. In the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the application provides a page switching method and device, which can be applied to a scene in which a user operates a terminal device with one hand, for example, when the user is on a bus or a subway, one hand of the user pulls a handrail, and the other hand holds a mobile phone and browses pictures or watches an electronic book. The embodiment of the application provides a page switching method, which can facilitate one-hand operation of a user when the user holds a terminal device with one hand, and the terminal device has a good display effect and good user experience.
The terminal device in the embodiment of the present application may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
Next, a software environment applied to the page switching method provided by the embodiment of the present application is introduced by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present application. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present application, a developer may develop a software program for implementing the method for switching a page provided in the embodiment of the present application based on the system architecture of the android operating system shown in fig. 1, so that the method for switching a page may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the page switching method provided by the embodiment of the application by running the software program in the android operating system.
In a first embodiment of the present application, fig. 2 shows a method for page switching provided in the embodiment of the present application, where the method can be applied to a terminal device having an android operating system as shown in fig. 1. As shown in fig. 2, the page switching method includes S201 to S204:
s201, the terminal equipment receives a turn-on instruction of the rotary change-over switch.
Wherein, the turn-on instruction of the turn-on switch is used for instructing to turn on the function of 'turning the switching page'. When a user touches or presses the terminal device, the terminal device may receive related instructions generated by the user operating the terminal device, and open corresponding functions according to the instructions.
For example, when the user presses a switch (or button) for turning on the "rotation switching page" function in the "setting" of the terminal device through the touch screen of the terminal device, the terminal device may detect the pressing operation of the user on the touch screen, receive a rotation switching switch turning-on instruction according to the pressing operation, and then turn on the "rotation switching page" function according to the rotation switching switch turning-on instruction.
For example, as shown in fig. 3, a switch for "turn toggle page" on the display interface of the mobile phone 10 is shown. When the user clicks a switch to turn on the "rotation switching page" shown in fig. 3 in the "setting" of the mobile phone 10, the mobile phone 10 may receive a rotation switching switch on instruction.
For example, in this embodiment of the application, the user may further trigger the "turn switching page" function by pressing a shortcut key or a preset key combination of the mobile phone, for example, the user may double-click the "Home" key of the mobile phone to trigger the "turn switching page" function, which is not limited herein.
S202, the terminal device responds to a turn-on instruction of the rotation change-over switch, and whether the terminal device rotates around the preset central axis of the current display interface or not is detected.
After triggering the function of turning the switching page of the mobile phone, the user can hold the terminal device with one hand to turn the terminal device to the left or to the right; the terminal equipment can detect whether the terminal equipment rotates around the preset central axis of the current display interface.
Illustratively, when a user holds the terminal device with a hand to rotate the terminal device, the terminal device detects whether the terminal device rotates around a central axis of a current display interface, and determines whether the rotation of the terminal device around the central axis of the display interface is a preset rotation, where the preset rotation is a rotation that meets a preset rotation condition of the terminal device.
For example, the rotation condition preset by the terminal device may include a condition of an angle value of rotation and a condition of a position of the terminal device after the rotation, that is, whether the angle value of the rotation is within a range of a preset rotation recognition angle value and whether the terminal device returns to a position before the rotation after the rotation.
For example, a terminal device is taken as a mobile phone for explanation. As shown in fig. 4, an example schematic diagram is shown in which a user holds the handset 10 with one hand to turn the handset 10 to the left or to the right. As shown in (1) in fig. 4, a user holds the mobile phone 10 with one hand to rotate the mobile phone 10 around the left rotation direction (i.e., the second direction) of the central axis 20 of the current display interface; as shown in (2) of fig. 4, the user holds the mobile phone 10 with one hand to rotate the mobile phone 10 in a right rotation direction (i.e., a first direction) around the central axis 20 of the current display interface.
The display state of the current display interface of the terminal device may include a vertical screen display state and a horizontal screen display state.
For example, the terminal device may identify a display state of a current display interface of the terminal device, detect whether the terminal device rotates around a central axis of the vertical screen display interface when the display state of the current display interface is the vertical screen display state, and detect whether the terminal device rotates around the central axis of the horizontal screen display interface when the display state of the current display interface is the horizontal screen display state.
For example, as shown in fig. 5, a display state of a current display interface of the mobile phone 10 in the embodiment of the present application is shown. As shown in fig. 5 (1), the display state of the current display interface of the mobile phone 10 is a vertical screen display state, and the central axis 20 is the central axis of the current display interface (i.e., vertical screen display interface) of the mobile phone 10 in the vertical screen display state, and the mobile phone 10 can detect whether the mobile phone 10 rotates around the central axis 20; as shown in (2) in fig. 5, the display state of the current display interface of the mobile phone 10 is a horizontal screen display state, and the central axis 20 is the central axis of the current display interface (i.e., the horizontal screen display interface) of the mobile phone 10 in the horizontal screen display state, and the mobile phone 10 can detect whether the mobile phone 10 rotates around the central axis 20.
It should be noted that the central axis shown in the drawings in the embodiments of the present application is only for convenience of describing the rotation state of the terminal device (i.e., whether the terminal device rotates around the central axis of the current display interface), and the central axis is not displayed on the display interface of the terminal device.
And S203, the terminal device detects the preset rotation of the terminal device around the central axis of the display interface.
The display interface of the terminal equipment displays a first page. When a user holds the terminal device with a hand to rotate the terminal device, the terminal device detects that the terminal device rotates around the central axis of the current display interface, and then judges whether the rotation of the terminal device around the central axis of the display interface is preset rotation.
For example, when it is determined that the rotation of the terminal device around the central axis of the display interface meets the preset rotation condition, that is, the rotation angle value of the terminal device around the central axis of the display interface is within the range of the preset rotation identification angle value, and whether the terminal device returns to the position before the rotation of the terminal device after the rotation, the terminal device determines the preset rotation of the terminal device around the central axis of the display interface.
Of course, the preset rotation recognition angle value in the embodiment of the present application may also be adjusted by the user on the terminal device. Optionally, in this embodiment of the application, the terminal device may detect a rotation recognition angle adjustment instruction, where the rotation recognition angle adjustment instruction is used to instruct to adjust a preset rotation recognition angle value of the preset rotation.
For example, the user may click an "angle value adjustment" icon in "setting" of the terminal device through a touch screen of the terminal device, and select one of a plurality of angle values displayed on the display interface. After the user selects, the terminal device may detect a rotation recognition angle adjustment instruction, where the rotation recognition angle adjustment instruction is used to instruct to adjust the preset rotation recognition angle value to another angle value.
For example, as shown in fig. 6, an icon of "angle value adjustment" and a selection icon for angle value adjustment on the display interface of the cellular phone 10 are shown. It is assumed that the preset rotation recognition angle value preset by the mobile phone 10 is 15-25 °. After the user clicks the icon of "angle value adjustment" shown in (1) in fig. 6 in the "setting" of the mobile phone 10, the user enters a page of angle value adjustment shown in (2) in fig. 6, where the page includes a plurality of angle value selection icons, and the user can click the angle value selection icon on the page to select an angle value.
Of course, when the user clicks the angle selection icon to select the corresponding angle value, the current display interface of the mobile phone 10 may also display the preview image of the rotation of the mobile phone 10 at the angle value selected by the user, so that the user may select the corresponding angle value according to the own usage habit.
Of course, when the user turns on the switch of the "rotation switching page", the terminal device may also display a prompt message indicating whether to adjust the rotation switching angle value on the display interface, so as to prompt the user to adjust the preset rotation identification angle value of the terminal device.
Optionally, in this embodiment of the application, the step S203 may specifically be implemented by steps S203a and S203 b:
s203a, the terminal device obtains the angle value and the direction of the terminal device rotating around the central axis of the display interface.
And the angle value of the terminal equipment rotating around the central axis of the display interface is within the range of the preset rotation identification angle value of the preset rotation.
Illustratively, the direction of the terminal device rotating around the central axis of the display interface is a left rotating direction or a right rotating direction, and the preset rotation identification angle value ranges from 15 degrees to 25 degrees. When the angle value x of the terminal device rotating around the central axis of the display interface is greater than or equal to 15 ° and less than or equal to 25 °, the angle value of the terminal device rotating meets the condition of the angle value of the rotation in the rotation condition.
S203b, the terminal device detects that the terminal device returns to the position before the terminal device is rotated after the terminal device is rotated.
After a user rotates the terminal device around the central axis of the display interface, the terminal device can detect the angle value and the direction of the rotation of the terminal device; then, the terminal device can detect whether the terminal device returns to the position before rotation within a certain time period by detecting the angle value of the terminal device after a certain time period after rotation.
For example, referring to fig. 4 and 5, it is assumed that the display state of the current display interface of the mobile phone 10 is the vertical screen display state. The mobile phone 10 detects that the mobile phone 10 rotates 20 ° around the left rotation direction of the central axis 20 of the vertical screen display interface, and then detects that the rotation angle value of the mobile phone 10 is 0 ° after 1s, and then detects that the mobile phone 10 returns to the position before rotation after rotation.
S204, the terminal device switches the first page displayed on the current display interface to the previous page of the first page according to the rotating direction, or switches the first page displayed on the current display interface to the next page of the first page.
The terminal device can switch the first page displayed on the current display interface according to the detected rotation direction of the terminal device.
Optionally, in this embodiment of the application, the S204 may be specifically implemented by S204a and S204 b:
and S204a, if the rotating direction of the terminal equipment is the first direction, the terminal equipment slides the first page displayed on the current display interface to the right and switches to the last page of the first page.
For example, assume that the display state of the current display interface of the mobile phone 10 is the portrait display state. When a user rotates the mobile phone 10 to the right around the central axis 20 of the vertical screen display interface, the rotation direction of the mobile phone 10 is a right rotation direction (i.e., a first direction), and the mobile phone 10 slides the picture shown in (1) in fig. 7 displayed on the vertical screen display interface to the right of the last picture of the picture, i.e., the picture shown in (2) in fig. 7 displayed on the vertical screen display interface.
And S204b, if the rotating direction of the terminal equipment is the second direction, the terminal equipment slides the first page displayed on the current display interface to the left and switches the first page to the next page of the first page.
Wherein the first direction is different from the second direction.
For example, assume that the display state of the current display interface of the mobile phone 10 is the portrait display state. When a user rotates the mobile phone 10 to the left around the central axis 20 of the vertical screen display interface, the rotation direction of the mobile phone 10 is the left rotation direction (i.e., the second direction), and the mobile phone 10 slides the picture shown in (1) in fig. 7 displayed on the vertical screen display interface to the next picture of the picture, i.e., the picture shown in fig. 8, to the left.
Compared with the prior art, the page switching method provided by the embodiment of the application can facilitate the operation of a user when the user holds the terminal device with one hand; in addition, the size of the page (such as a photo) displayed on the display interface of the terminal equipment is not reduced, and the display effect of the terminal equipment is good. The following describes the effect of page switching in the prior art and the embodiment of the present application with reference to the drawings.
For example, in the prior art, after the user triggers the "one-handed operation" function of the mobile phone, the mobile phone 10 shrinks the current display interface, and the user may slide a picture to the left to browse a next picture or slide a picture to the right to browse a next picture on the shrunk display interface. As shown in fig. 9, a picture displayed on the current display interface of the mobile phone 10 in the prior art is shown.
For example, in the embodiment of the present application, after triggering the "turn page switching" function of the mobile phone 10, the user may turn the mobile phone 10 to the left or to the right; the mobile phone 10 can switch the picture displayed on the current display interface to the next picture or the previous picture according to the rotation direction (i.e. the first direction or the second direction) of the mobile phone 10, and the pictures displayed on the current display interface of the mobile phone 10 refer to fig. 7 and 8.
It can be seen that, in the prior art, since the display interface of the mobile phone is reduced, when the user opens the "gallery" of the mobile phone and browses the pictures, the pictures displayed on the current display interface are also reduced, so that the original display effect of the terminal device is damaged, and the display effect is poor.
In the embodiment of the application, the user does not need to slide the picture leftwards or rightwards to browse the picture, but turns the mobile phone leftwards or rightwards to realize the switching of the picture, so that the single-hand operation of the user is more convenient; in addition, the current display interface of the mobile phone is not reduced, and the picture displayed on the current display interface is not reduced, so that the display effect is better, and the user experience is better.
The embodiment of the application provides a page switching method, and a terminal device can switch a first page displayed on a current display interface according to the rotating direction of the terminal device. The terminal equipment can realize the switching of the first page according to the rotating direction of the terminal equipment, and the switching of the first page is not required to be carried out by sliding the first page leftwards or rightwards on the terminal equipment by a user, so that the one-hand operation of the user is more convenient; in addition, the current display interface of the terminal equipment is not reduced, and the first page displayed on the current display interface is not reduced, so that the display effect is good, and the user experience is better.
Optionally, in this embodiment of the application, with reference to fig. 2, as shown in fig. 10, after S204, the method for page switching provided in this embodiment of the application may further include S205 and S206:
and S205, if the terminal device detects that the terminal device rotates in the same direction around the central axis of the display interface for N times, the terminal device displays a second message on the display interface.
The second message is used for indicating whether to start page switching, and N is a positive integer greater than 1.
Illustratively, when the terminal device detects that the terminal device rotates around the central axis of the display interface for N consecutive times and all the terminal devices rotate around the same direction of the central axis of the display interface, a second message is displayed on the display interface to prompt the user whether to start the function of automatically switching pages. And N is the preset times of the terminal equipment.
Illustratively, when the terminal device detects that the terminal device rotates around the left rotation direction of the central axis of the display interface for N consecutive times, the terminal device displays a prompt box containing a second message (e.g., whether to start automatic page switching) on the current display interface, so that the user can select whether to start the "automatic page switching" function.
For example, assume that the display state of the current display interface of the mobile phone 10 is the portrait display state. When the user rotates the mobile phone 10 around the left rotation direction of the central axis 20 of the vertical screen display interface for 5 times, a picture displayed on the vertical screen display interface of the mobile phone 10 is as shown in (1) in fig. 11; when the mobile phone 10 detects that the mobile phone 10 rotates 5 times around the left rotation direction of the central axis 20 of the vertical screen display interface continuously for 5 times, the mobile phone 10 displays a prompt box indicating whether to start automatically switching pages on the vertical screen display interface shown in (1) in fig. 11, and at this time, the current display interface of the mobile phone 10 is the vertical screen display interface shown in (2) in fig. 11.
S206, when the terminal equipment receives a second instruction input by the user, stopping detecting whether the terminal equipment rotates around the central axis of the current display interface, and switching the page at preset time intervals according to the rotating direction of the terminal equipment.
Wherein, the second instruction is used for indicating the start of page switching.
Optionally, in this embodiment of the application, the preset time interval may be determined by the terminal device according to a time interval between every two rotations of the terminal device detected in N consecutive rotations around the central axis of the display interface.
For example, when the mobile phone detects that the mobile phone rotates around the left rotation direction of the central axis of the vertical screen display interface for 5 consecutive times, the mobile phone may obtain a time interval 1 between the first rotation and the second rotation, a time interval 2 between the second rotation and the third rotation, a time interval 3 between the third rotation and the fourth rotation, and a time interval 4 between the fourth rotation and the fifth rotation of the 5 rotations, calculate an average value of the time interval 1, the time interval 2, the time interval 3, and the time interval 4, and determine the average value as the preset time interval.
Of course, the mobile phone may also determine the preset time interval by calculating the mean square error of the time interval 1, the time interval 2, the time interval 3, and the time interval 4, which is not limited herein in this embodiment of the application.
Optionally, in this embodiment of the application, the preset time interval may also be determined by the terminal device according to a file type of the content displayed on the current display interface.
Illustratively, the file type may be a picture type, a text type (e.g., an electronic book), or the like. When the file type is a picture type, the preset time interval is m, when the file type is a text type, the preset time interval is n, and the preset time interval under the text type is generally larger than the preset time interval under the picture type, namely n is larger than m.
For example, the preset time interval m of the picture type preset by the mobile phone is 5 seconds, and the preset time interval n of the text type is 40 seconds. When the mobile phone detects that the mobile phone rotates around the left rotation direction of the central axis of the vertical screen display interface for 5 times continuously, if the mobile phone detects that the file type of the content displayed on the vertical screen display interface is the picture type, the mobile phone determines 5 seconds as a preset time interval for switching the page; if the mobile phone detects that the file type of the content displayed on the vertical screen display interface is a text type, the mobile phone determines 40 seconds as a preset time interval for switching the page.
For example, assuming that the mobile phone 10 detects the left rotation of the mobile phone 10 around the central axis 20 of the portrait screen display for 5 consecutive times, the average value of 4 time intervals calculated by the mobile phone 10 is 6 seconds (i.e. the preset time interval is 6 seconds). When the user clicks the "yes" button on the vertical screen display interface as shown in (2) in fig. 11, the mobile phone 10 may receive an instruction (i.e., a second instruction) to start switching pages, which is input by the user; then, the mobile phone 10 stops detecting whether the mobile phone 10 rotates around the central axis 20 of the vertical screen display interface, and slides the picture displayed on the vertical screen display interface to the next picture of the picture every 6 seconds.
Illustratively, when the user wants to close the "automatically switch pages" function, the user may click the current display interface, double-click the current display interface, or press the "Home" key. Of course, when the user clicks the current display interface, double-clicks the current display interface, or presses the "Home" key, the terminal device may also display a prompt box on the current display interface whether to close the automatic switching page.
The terminal equipment can display the prompt box containing the second message on the current display interface when the terminal equipment is detected to rotate around the same direction of the central axis of the display interface for N times continuously, so that a user can select whether to start the automatic page switching function, the page is switched at preset time intervals according to the rotating direction after the second instruction input by the user is received, the user does not need to continue to rotate the terminal equipment, the operation of the user is simplified, the single-hand operation of the user is further facilitated, and the experience of the user is improved.
Optionally, in a second embodiment of the present application, a user does not turn on a switch of a "rotation switching page", and the user first rotates the terminal device around a preset central axis of the current display interface, and when the terminal device detects that the preset rotation of the terminal device around the central axis of the current display interface is the first preset rotation of the terminal device around the central axis of the current display interface, the terminal device may also display a first message on the display interface to indicate whether to turn on the "rotation switching page" function. Specifically, as shown in fig. 12, another page switching method provided in the embodiment of the present application is shown, where the page switching method includes:
s1201, the terminal device detects whether the terminal device rotates around the preset central axis of the display interface.
It should be noted that, reference may be made to the detailed description of the above embodiments for a method for detecting whether the terminal device rotates around the preset central axis of the display interface, and details of the embodiments of the present application are not described herein again.
And S203, the terminal device detects the preset rotation of the terminal device around the central axis of the display interface.
The preset rotation of the terminal device around the central axis of the display interface is detected for the first time.
And S1202, the terminal device displays the first message on a display interface.
The first message is used for indicating whether the page switching is started or not based on the fact that the terminal device rotates around the central axis of the display interface.
For example, when the terminal device detects the preset rotation of the terminal device around the central axis of the display interface for the first time, the terminal device displays a prompt box containing a first message (for example, whether to start rotating the switching page) on the current display interface, so that the user can select whether to start the "rotating the switching page" function.
For example, assume that the portrait display of the handset 10 displays a first page as a photograph shown in (1) of fig. 7. The user rotates the mobile phone 10 around the preset central axis 20 of the vertical screen display interface for the first time, and after the mobile phone 10 detects that the mobile phone rotates around the preset central axis 20 of the vertical screen display interface, a prompt box as shown in fig. 13 is displayed on the vertical screen display interface of the mobile phone 10 to indicate whether to start rotating the switching page.
S1203, the terminal equipment receives a first instruction input by a user.
The first instruction is used for indicating that the page is switched based on the rotation of the terminal equipment around the central axis of the display interface.
For example, when the user clicks the "yes" button on the vertical screen display interface shown in fig. 13, the mobile phone 10 may receive an instruction (i.e., a first instruction) input by the user to start rotating the switching page.
S204, the terminal device switches the first page displayed on the current display interface to the previous page of the first page according to the rotation direction of the terminal device, or switches the first page displayed on the current display interface to the next page of the first page.
It should be noted that, reference may be made to the detailed description of the above embodiment for a method for switching a first page displayed on a current display interface by the terminal device according to the rotation direction, and details of the embodiment of the present application are not described herein again.
The terminal device can display a prompt box of a first message (for example, whether to start rotating the switching page) on the current display interface when detecting the preset rotation of the terminal device around the central axis of the display interface for the first time, so that a user can select whether to start the function of the 'rotating the switching page', and after receiving a first instruction input by the user, the user directly starts to execute the operation responding to the detection that the terminal device rotates around the central axis of the current display interface, and does not need to turn on a switch of the 'rotating the switching page', so that the operation of the user is further simplified, and the experience of the user is improved.
In a third embodiment of the present application, fig. 14 shows a schematic diagram of a possible structure of a terminal device involved in the embodiment of the present application, and as shown in fig. 14, the terminal device 140 may include: a processing unit 141.
The processing unit 141 is configured to switch, if it is detected that the terminal device rotates around the central axis of the display interface in the preset manner, the first page displayed on the current display interface to the previous page of the first page according to the rotation direction of the terminal device, or switch the first page displayed on the current display interface to the next page of the first page.
In a possible implementation manner, the terminal device in the embodiment of the present application further includes: the device comprises a first receiving unit and a detecting unit. The first receiving unit is configured to receive an opening instruction of the rotation switch before the processing unit 141 detects that the terminal device rotates around the central axis of the display interface in advance. And the detection unit is used for responding to the turning-on instruction of the rotation change-over switch and detecting whether the terminal equipment rotates around the preset rotation of the central axis of the current display interface.
In a possible implementation manner, the detection of the preset rotation of the terminal device around the central axis of the current display interface by the processing unit 141 is the first detection of the preset rotation of the terminal device around the central axis of the current display interface. The terminal device in the embodiment of the present application further includes: a first display unit and a second receiving unit. The first display unit is configured to display a first message on the display interface after the processing unit 141 detects that the terminal device rotates around the preset central axis of the current display interface, where the first message is used to indicate whether to start to switch the page based on the rotation of the terminal device around the central axis of the display interface. And the second receiving unit is used for receiving a first instruction input by a user, and the first instruction is used for indicating that the page switching is started to rotate around the central axis of the display interface based on the terminal equipment.
In one possible implementation, the processing unit 141 is specifically configured to: acquiring an angle value and a direction of rotation of the terminal equipment around a central axis of the display interface, wherein the angle value of the rotation of the terminal equipment is within a range of a preset rotation identification angle value of preset rotation; and detecting that the terminal equipment returns to the position before the terminal equipment rotates after the terminal equipment rotates.
In a possible implementation manner, the terminal device in the embodiment of the present application further includes: and a second display unit. The second display unit is configured to display a second message on the display interface if the processing unit 141 detects that the terminal device rotates in the same direction around the central axis of the display interface N consecutive times, where N is a positive integer greater than 1, and the second message is used to indicate whether to start switching pages. The processing unit 141 is further configured to, when receiving a second instruction input by the user, stop detecting whether the terminal device rotates around the central axis of the current display interface, and switch the page at preset time intervals according to the direction of rotation of the terminal device, where the second instruction is used to instruct to start switching the page.
In a possible implementation manner, the preset time interval is determined by the terminal device according to the time interval between every two rotations of the terminal device detected by the processing unit 141 for N consecutive times; or the preset time interval is determined by the terminal device according to the file type of the content displayed on the current display interface.
In one possible implementation, the processing unit 141 is specifically configured to: if the rotating direction of the terminal equipment is the first direction, switching the first page displayed on the current display interface to the last page of the first page in a sliding mode towards the right; and if the rotating direction of the terminal equipment is the second direction, switching the first page displayed on the current display interface to the next page of the first page in a left-sliding mode, wherein the first direction is different from the second direction.
In a possible implementation manner, the terminal device in the embodiment of the present application further includes: and a third receiving unit. The third receiving unit is used for receiving a rotation identification angle adjusting instruction, and the rotation identification angle adjusting instruction is used for indicating and adjusting a preset rotation identification angle value of preset rotation.
The terminal device 140 provided in the embodiment of the present application can implement each process implemented by the terminal device in the method embodiments of fig. 2, fig. 10, and fig. 12, and for avoiding repetition, detailed description and beneficial effects are not repeated here.
Fig. 15 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present application, where the terminal device 150 includes, but is not limited to: a radio frequency unit 151, a network module 152, an audio output unit 153, an input unit 154, a sensor 155, a display unit 156, a user input unit 157, an interface unit 158, a memory 159, a processor 160, and a power supply 161.
It should be noted that, as those skilled in the art will appreciate, the terminal device structure shown in fig. 15 does not constitute a limitation of the terminal device, and the terminal device may include more or less components than those shown, or combine some components, or arrange different components. In the embodiment of the present application, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 160 is configured to detect a preset rotation of the terminal device around a central axis of the display interface; and responding to the detection that the terminal equipment rotates around the central axis of the display interface, and switching the first page displayed on the current display interface to the previous page of the first page or switching the first page displayed on the current display interface to the next page of the first page according to the rotating direction.
In this embodiment, the processor 160 in the terminal device may switch the first page displayed on the current display interface according to the rotation direction of the terminal device. The processor 160 can implement switching of the first page according to the rotation direction of the terminal device, and does not need the user to slide the first page leftwards or rightwards on the terminal device to perform switching of the first page, so that the one-handed operation of the user is facilitated; in addition, the current display interface of the terminal equipment is not reduced, and the first page displayed on the current display interface is not reduced, so that the display effect is good, and the user experience is better.
It should be understood that, in the embodiment of the present application, the rf unit 151 may be used for receiving and transmitting signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 160; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 151 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 151 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 152, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 153 may convert audio data received by the radio frequency unit 151 or the network module 152 or stored in the memory 159 into an audio signal and output as sound. Also, the audio output unit 153 may also provide audio output related to a specific function performed by the terminal device 150 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 153 includes a speaker, a buzzer, a receiver, and the like.
The input unit 154 is used to receive an audio or video signal. The input Unit 154 may include a Graphics Processing Unit (GPU) 1541 and a microphone 1542, the Graphics processor 1541 Processing image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 156. The image frames processed by the graphic processor 1541 may be stored in the memory 159 (or other storage medium) or transmitted via the radio frequency unit 151 or the network module 152. The microphone 1542 may receive sound and be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 151 in case of a phone call mode.
The terminal device 150 also includes at least one sensor 155, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 1561 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1561 and/or the backlight when the terminal device 150 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 155 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 156 is used to display information input by the user or information provided to the user. The Display unit 156 may include a Display panel 1561, and the Display panel 1561 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 157 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 157 includes a touch panel 1571 and other input devices 1572. Touch panel 1571, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 1571 using a finger, stylus, or any other suitable object or attachment). Touch panel 1571 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 160, and receives and executes commands sent from the processor 160. In addition, touch panel 1571 may be implemented with various types of devices such as resistive, capacitive, infrared, and surface acoustic wave devices. In addition to touch panel 1571, user input unit 157 may include other input devices 1572. Specifically, the other input devices 1572 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, and are not described herein.
Further, touch panel 1571 can be overlaid on display panel 1561, and when touch panel 1571 detects a touch operation on or near touch panel 1571, it can be transmitted to processor 160 for determining the type of touch event, and processor 160 can then provide a corresponding visual output on display panel 1561 according to the type of touch event. Although in fig. 15, touch panel 1571 and display panel 1561 are implemented as two separate components to implement the input and output functions of the terminal device, in some embodiments, touch panel 1571 and display panel 1561 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 158 is an interface for connecting an external device to the terminal apparatus 150. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 158 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 150 or may be used to transmit data between the terminal apparatus 150 and the external device.
The memory 159 may be used to store software programs as well as various data. The memory 159 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 159 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 160 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 159 and calling data stored in the memory 159, thereby performing overall monitoring of the terminal device. Processor 160 may include one or more processing units; preferably, the processor 160 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 160.
Terminal device 150 may also include a power supply 161 (e.g., a battery) for powering the various components, and preferably, power supply 161 may be logically coupled to processor 160 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
In addition, the terminal device 150 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present application further provides a terminal device, which includes a processor 160, a memory 159, and a computer program stored on the memory 159 and capable of running on the processor 160, where the computer program, when executed by the processor 160, implements each process of the method embodiment in any one of fig. 2, fig. 10, and fig. 12, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the method embodiment in any one of fig. 2, fig. 10, and fig. 12, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. 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 apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A page switching method is applied to a terminal device, a display interface of the terminal device displays a first page, and the method comprises the following steps:
if the preset rotation of the terminal equipment around the central axis of the display interface is detected, switching a first page displayed on a current display interface of the terminal equipment to a previous page of the first page or switching the first page displayed on the current display interface to a next page of the first page according to the rotation direction of the terminal equipment; the display state of the current display interface comprises a vertical screen display state and a horizontal screen display state;
the detection of the preset rotation of the terminal equipment around the central axis of the display interface is the first detection of the preset rotation of the terminal equipment around the central axis of the current display interface;
after the preset rotation of the terminal device around the central axis of the display interface is detected, the method further includes:
displaying a first message on the display interface, wherein the first message is used for indicating whether to start to rotate around a central axis of the display interface based on the terminal equipment to switch pages;
receiving a first instruction input by a user, wherein the first instruction is used for indicating that a page is switched based on the rotation of the terminal equipment around a central axis of a display interface;
if the terminal equipment is detected to rotate around the central axis of the display interface in the same direction for N times, displaying a second message on the display interface; when receiving a second instruction input by a user on the second message, stopping detecting whether the terminal equipment rotates around a central axis of a current display interface, and switching pages at preset time intervals according to the rotation direction of the terminal equipment; the second message is used for indicating whether to start page switching, the second instruction is used for indicating to start page switching, and N is an integer greater than 1;
the preset time interval is determined by the terminal equipment according to the time interval between every two rotations of the terminal equipment in the N continuous detections of the terminal equipment rotating around the central axis of the display interface;
or the preset time interval is determined by the terminal device according to the file type of the content displayed on the current display interface.
2. The method according to claim 1, wherein before the detecting the predetermined rotation of the terminal device around the central axis of the display interface, the method further comprises:
receiving a turn-on instruction of a rotary change-over switch;
and responding to the turning-on instruction of the rotation change-over switch, and detecting whether the terminal equipment rotates around the preset axis of the current display interface.
3. The method according to any one of claims 1-2, wherein the detecting of the preset rotation of the terminal device around the central axis of the display interface comprises:
acquiring an angle value and a direction of the terminal device rotating around a central axis of a display interface, wherein the angle value of the terminal device rotating is within a range of a preset rotation identification angle value of the preset rotation;
and detecting that the terminal equipment returns to the position before the terminal equipment rotates after the terminal equipment rotates.
4. The method according to claim 1, wherein switching the first page displayed by the current display interface to the previous page of the first page or switching the first page displayed by the current display interface to the next page of the first page according to the rotation direction of the terminal device comprises:
if the rotating direction of the terminal equipment is a first direction, switching a first page displayed on a current display interface to a previous page of the first page in a sliding mode towards the right;
and if the rotating direction of the terminal equipment is a second direction, switching a first page displayed on the current display interface to a next page of the first page in a left-sliding mode, wherein the first direction is different from the second direction.
5. The method of claim 1, further comprising:
and receiving a rotation identification angle adjusting instruction, wherein the rotation identification angle adjusting instruction is used for indicating and adjusting the preset rotation identification angle value of the preset rotation.
6. A terminal device is characterized in that a display interface of the terminal device displays a first page, and the terminal device comprises:
the processing unit is used for switching a first page displayed on a current display interface to a previous page of the first page or switching the first page displayed on the current display interface to a next page of the first page according to the rotation direction of the terminal equipment if the preset rotation of the terminal equipment around the central axis of the display interface is detected; the display state of the current display interface comprises a vertical screen display state and a horizontal screen display state;
the processing unit detects that the preset rotation of the terminal equipment around the central axis of the display interface is the first time of detecting that the preset rotation of the terminal equipment around the central axis of the current display interface is detected;
the terminal device further includes:
the first display unit is used for displaying a first message on the display interface after the processing unit detects that the terminal equipment rotates around the central axis of the current display interface in a preset manner, wherein the first message is used for indicating whether to start to switch pages based on the rotation of the terminal equipment around the central axis of the display interface;
the second receiving unit is used for receiving a first instruction input by a user, wherein the first instruction is used for indicating that the page is switched by rotating around a central axis of a display interface based on the terminal equipment;
the second display unit is used for displaying a second message on the display interface if the processing unit detects that the terminal equipment rotates around the central axis of the display interface for N times continuously;
the processing unit is specifically configured to, when receiving a second instruction input by a user on the second message, stop detecting whether the terminal device rotates around a central axis of a current display interface, and switch a page at preset time intervals according to a direction of rotation of the terminal device; the second message is used for indicating whether to start page switching, the second instruction is used for indicating to start page switching, and N is an integer greater than 1;
the second display unit is further configured to detect that the terminal device rotates in the same direction around the central axis of the display interface for N consecutive times by the processing unit; stopping detecting whether the terminal equipment rotates around a central axis of a current display interface or not, and switching pages at preset time intervals according to the rotating direction of the terminal equipment;
the processing unit is specifically configured to:
acquiring an angle value and a direction of the terminal device rotating around a central axis of a display interface, wherein the angle value of the terminal device rotating is within a range of a preset rotation identification angle value of the preset rotation;
and detecting that the terminal equipment returns to the position before the terminal equipment rotates after the terminal equipment rotates.
7. The terminal device according to claim 6, wherein the terminal device further comprises:
the first receiving unit is used for receiving a turning-on instruction of the rotation change-over switch before the processing unit detects the preset rotation of the terminal equipment around the central axis of the display interface;
and the detection unit is used for responding to the rotation change-over switch opening instruction received by the receiving unit and detecting whether the terminal equipment rotates around the preset central axis of the current display interface or not.
8. The terminal device according to any one of claims 6 to 7, wherein the processing unit is specifically configured to:
acquiring an angle value and a direction of the terminal device rotating around a central axis of a display interface, wherein the angle value of the terminal device rotating is within a range of a preset rotation identification angle value of the preset rotation;
and detecting that the terminal equipment returns to the position before the terminal equipment rotates after the terminal equipment rotates.
9. The terminal device according to claim 6, wherein the processing unit is specifically configured to:
if the rotating direction of the terminal equipment is a first direction, switching a first page displayed on a current display interface to a previous page of the first page in a sliding mode towards the right;
and if the rotating direction of the terminal equipment is a second direction, switching a first page displayed on the current display interface to a next page of the first page in a left-sliding mode, wherein the first direction is different from the second direction.
10. The terminal device according to claim 6, wherein the terminal device further comprises:
and the third receiving unit is used for receiving a rotation identification angle adjusting instruction, and the rotation identification angle adjusting instruction is used for indicating and adjusting the preset rotation identification angle value of the preset rotation.
11. A terminal device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of page switching according to any one of claims 1 to 5.
CN201711378514.0A 2017-12-19 2017-12-19 Page switching method and equipment Active CN108196699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711378514.0A CN108196699B (en) 2017-12-19 2017-12-19 Page switching method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711378514.0A CN108196699B (en) 2017-12-19 2017-12-19 Page switching method and equipment

Publications (2)

Publication Number Publication Date
CN108196699A CN108196699A (en) 2018-06-22
CN108196699B true CN108196699B (en) 2021-02-02

Family

ID=62577055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711378514.0A Active CN108196699B (en) 2017-12-19 2017-12-19 Page switching method and equipment

Country Status (1)

Country Link
CN (1) CN108196699B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062478A (en) * 2018-06-28 2018-12-21 努比亚技术有限公司 Read display control method, mobile terminal and computer readable storage medium
CN113220399B (en) * 2021-05-17 2023-08-15 百度在线网络技术(北京)有限公司 Interface display method and device, intelligent screen device and storage medium
CN113535033B (en) * 2021-08-04 2023-09-05 北京字跳网络技术有限公司 Control method, device, electronic equipment and medium for multimedia content display

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8704767B2 (en) * 2009-01-29 2014-04-22 Microsoft Corporation Environmental gesture recognition
CN101859222A (en) * 2010-03-04 2010-10-13 宇龙计算机通信科技(深圳)有限公司 Method and device for implementing page turning of electronic documents and mobile terminal
CN101814004A (en) * 2010-03-26 2010-08-25 华为终端有限公司 Reading processing method and user equipment
CN102375660B (en) * 2010-08-20 2013-11-06 国基电子(上海)有限公司 Electronic device and method for controlling user interface
KR101794000B1 (en) * 2011-06-13 2017-11-06 삼성전자주식회사 Apparatus and method for scrolling in portable terminal
CN104932688A (en) * 2012-03-29 2015-09-23 华为终端有限公司 Method for switching control of desktop container and terminal
CN104166496B (en) * 2013-05-20 2017-05-17 北大方正集团有限公司 Page turning method and device for electronic document
CN106020649B (en) * 2016-05-30 2019-09-13 北京小米移动软件有限公司 Picture rotation control method and device
CN106598382A (en) * 2016-11-17 2017-04-26 北京奇虎科技有限公司 Icon sorting method, device and mobile terminal
CN107132970A (en) * 2017-05-24 2017-09-05 上海与德科技有限公司 Desktop page switching method and device
CN107102742A (en) * 2017-06-05 2017-08-29 努比亚技术有限公司 Page browsing method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108196699A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN108182043B (en) Information display method and mobile terminal
CN108182019B (en) Suspension control display processing method and mobile terminal
CN107943374B (en) Method for starting application program in foldable terminal and foldable terminal
CN111142991A (en) Application function page display method and electronic equipment
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN110308885B (en) Screen projection method and mobile terminal
CN108174103B (en) Shooting prompting method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN108897473B (en) Interface display method and terminal
CN109508136B (en) Display method of application program and mobile terminal
CN108415642B (en) Display method and mobile terminal
CN110750189B (en) Icon display method and device
CN110752981B (en) Information control method and electronic equipment
CN108196753B (en) Interface switching method and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109600468B (en) Control method of foldable terminal and foldable terminal
CN109683802B (en) Icon moving method and terminal
CN108762613B (en) State icon display method and mobile terminal
CN108509141B (en) Control generation method and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
CN108196699B (en) Page switching method and equipment
CN110703972A (en) File control method and electronic equipment
CN109933267B (en) Method for controlling terminal equipment and terminal equipment

Legal Events

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