CN108196753B - Interface switching method and mobile terminal - Google Patents

Interface switching method and mobile terminal Download PDF

Info

Publication number
CN108196753B
CN108196753B CN201810058455.7A CN201810058455A CN108196753B CN 108196753 B CN108196753 B CN 108196753B CN 201810058455 A CN201810058455 A CN 201810058455A CN 108196753 B CN108196753 B CN 108196753B
Authority
CN
China
Prior art keywords
page turning
user
mobile terminal
target page
finger
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
CN201810058455.7A
Other languages
Chinese (zh)
Other versions
CN108196753A (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 CN201810058455.7A priority Critical patent/CN108196753B/en
Publication of CN108196753A publication Critical patent/CN108196753A/en
Application granted granted Critical
Publication of CN108196753B publication Critical patent/CN108196753B/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The invention provides an interface switching method and a mobile terminal, wherein the method comprises the following steps: receiving sliding operation of a finger of a user sliding from a first position to a second position on a screen of the mobile terminal; and if the retention time of the finger of the user at the second position is greater than a first preset threshold value, continuously switching the interface according to a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position. Therefore, when the stay time of the finger of the user at the second position is larger than the first preset threshold value, the interface can be continuously switched in the target page turning speed and the target page turning direction, so that the purpose of automatically turning pages is achieved, the user does not need to operate the mobile terminal for multiple times to turn pages, the page turning process of the mobile terminal is simplified, and the user experience is improved.

Description

Interface switching method and mobile terminal
Technical Field
The invention relates to the technical field of terminals, in particular to an interface switching method and a mobile terminal.
Background
With the rapid development of mobile terminals, mobile terminals have become an essential tool in people's life, and bring great convenience to various aspects of users' life. The reading by using the mobile terminal is a fashionable and convenient reading mode, and is deeply loved by the majority of users. The user can read some news or some information, etc. using the mobile terminal.
However, in order to refer to more contents during reading, the user needs to slide the switching interface on the mobile terminal for multiple times to display more contents. Therefore, in the prior art, the process of page turning of the mobile terminal is complicated.
Disclosure of Invention
The embodiment of the invention provides an interface switching method and a mobile terminal, and aims to solve the problem that the operation process is complicated when the mobile terminal performs page turning operation.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an interface switching method, including:
receiving sliding operation of a finger of a user sliding from a first position to a second position on a screen of the mobile terminal;
and if the retention time of the finger of the user at the second position is greater than a first preset threshold value, continuously switching the interface according to a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the first receiving module is used for receiving sliding operation of a finger of a user sliding from a first position to a second position on a screen of the mobile terminal;
and the page turning module is used for continuously switching the interface at a target page turning speed and a target page turning direction if the retention time of the finger of the user at the second position is greater than a first preset threshold value, wherein the target page turning direction is determined according to the first position and the second position.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the interface switching method.
In a fourth aspect, an embodiment of the present invention 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 steps of the interface switching method are implemented.
In the embodiment of the invention, the sliding operation that the finger of a user slides from a first position to a second position on the screen of the mobile terminal is received; and if the retention time of the finger of the user at the second position is greater than a first preset threshold value, continuously switching the interface according to a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position. Therefore, when the stay time of the finger of the user at the second position is larger than the first preset threshold value, the interface can be continuously switched in the target page turning speed and the target page turning direction, so that the purpose of automatically turning pages is achieved, the user does not need to operate the mobile terminal for multiple times to turn pages, the page turning process of the mobile terminal is simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of an interface switching method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an interface switching method according to another embodiment of the present invention;
fig. 3 is one of the structural diagrams of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a second block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a third block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
Referring to fig. 1, fig. 1 is a flowchart of an interface switching method provided in an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, receiving a sliding operation that a finger of a user slides from a first position to a second position on a screen of the mobile terminal.
In the embodiment of the present invention, the sliding operation from the first position to the second position may be performed in various manners. For example: a sliding operation of sliding from a position above the screen to a position below the screen is possible, or a sliding operation of sliding from a position on the left side of the screen to a position on the right side of the screen is also possible. Of course, there may be other positions besides these, and the embodiment of the present invention is not limited to this.
And step 102, if the retention time of the finger of the user at the second position is greater than a first preset threshold value, continuously performing interface switching at a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position.
In this embodiment of the present invention, the first preset threshold may be 5 seconds, 8 seconds, 10 seconds, or some other time threshold, and the like, which is not limited in this embodiment of the present invention. When the staying time of the finger of the user at the second position is larger than a first preset threshold value, the page turning mode can be started. The target page turning speed may be a preset page turning speed, or may be a page turning speed determined according to some parameters of the sliding operation, and the like. When the target page turning speed is the page turning speed determined according to some parameters of the sliding operation, the target page turning speed may be the page turning speed determined according to the distance of the sliding operation, or the page turning speed determined according to the speed of the sliding operation, or the like.
In the embodiment of the present invention, the target page turning direction may be a direction determined according to the first position and the second position. For example: when the finger of the user slides from a position above the screen to a position below the screen, the page is turned downwards continuously; when the user's finger slides from a position to the left of the screen to a position to the right, the page continues to be flipped to the right.
In the embodiment of the present invention, the interface switching at the target page turning speed may be continuously displaying the content which is not displayed at a constant speed, for example, continuously displaying the content which is not displayed from bottom to top, or may also be turning over a page at certain time intervals (for example, 30 seconds or 1 minute), and the like.
In the prior art, when a user reads a certain news, one screen may not display all the contents. When the news has a large content, the user is required to slide on the mobile terminal several times to refer to the content that is not displayed. In the method of this embodiment, only the user's finger needs to slide from the first position to the second position, and when the staying time at the second position is greater than the first preset threshold, the interface is continuously switched in the target page turning speed and the target page turning direction. Therefore, the content of the news which is not displayed can be continuously displayed, and the user can browse all the content of the news only by one sliding operation. Therefore, the operation of the user is more convenient and faster, and the page turning process of the mobile terminal is simplified.
In an embodiment of the present invention, the Mobile terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The interface switching method of the embodiment of the invention receives the sliding operation that a finger of a user slides from a first position to a second position on a screen of the mobile terminal; and if the retention time of the finger of the user at the second position is greater than a first preset threshold value, continuously switching the interface according to a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position. Therefore, when the stay time of the finger of the user at the second position is larger than the first preset threshold value, the interface can be continuously switched in the target page turning speed and the target page turning direction, so that the purpose of automatically turning pages is achieved, the user does not need to operate the mobile terminal for multiple times to turn pages, the page turning process of the mobile terminal is simplified, and the user experience is improved.
Referring to fig. 2, fig. 2 is a flowchart of an interface switching method according to an embodiment of the present invention. The main difference between this embodiment and the previous embodiment is that in this method, if it is detected that the user's finger leaves the screen, the interface switching is stopped. As shown in fig. 2, the method comprises the following steps:
step 201, receiving a sliding operation that a finger of a user slides from a first position to a second position on a screen of the mobile terminal.
In the embodiment of the present invention, the sliding operation from the first position to the second position may be performed in various manners. For example: a sliding operation of sliding from a position above the screen to a position below the screen is possible, or a sliding operation of sliding from a position on the left side of the screen to a position on the right side of the screen is also possible. Of course, there may be other positions besides these, and the embodiment of the present invention is not limited to this.
Step 202, if the staying time of the finger of the user at the second position is greater than a first preset threshold, continuously performing interface switching at a target page turning speed and a target page turning direction, wherein the target page turning direction is a direction determined according to the first position and the second position.
In this embodiment of the present invention, the first preset threshold may be 5 seconds, 8 seconds, 10 seconds, or some other time threshold, and the like, which is not limited in this embodiment of the present invention. When the staying time of the finger of the user at the second position is larger than a first preset threshold value, the page turning mode can be started. The target page turning speed may be a preset page turning speed, or may be a page turning speed determined according to some parameters of the sliding operation, and the like. When the target page turning speed is the page turning speed determined according to some parameters of the sliding operation, the target page turning speed may be the page turning speed determined according to the distance of the sliding operation, or the page turning speed determined according to the speed of the sliding operation, or the like.
In the embodiment of the present invention, the target page turning direction may be a direction determined according to the first position and the second position. For example: when the finger of the user slides from a position above the screen to a position below the screen, the page is turned downwards continuously; when the user's finger slides from a position to the left of the screen to a position to the right, the page continues to be flipped to the right.
In the embodiment of the present invention, the interface switching at the target page turning speed may be continuously displaying the content which is not displayed at a constant speed, for example, continuously displaying the content which is not displayed from bottom to top, or may also be turning over a page at certain time intervals (for example, 30 seconds or 1 minute), and the like.
In the prior art, when a user reads a certain news, one screen may not display all the contents. When the news has a large content, the user is required to slide on the mobile terminal several times to refer to the content that is not displayed. In the method of this embodiment, only the user's finger needs to slide from the first position to the second position, and when the staying time at the second position is greater than the first preset threshold, the interface is continuously switched in the target page turning speed and the target page turning direction. Therefore, the content of the news which is not displayed can be continuously displayed, and the user can browse all the content of the news only by one sliding operation. Therefore, the operation of the user is more convenient and faster, and the page turning process of the mobile terminal is simplified.
And step 203, stopping interface switching if the user finger is detected to leave the screen.
In the embodiment of the invention, when the finger of the user leaves the screen, the interface switching is stopped. Therefore, the user can control the mobile terminal to stop interface switching through a simple operation, so that page turning is stopped, and the user operation is more convenient. Of course, if the page turning mode is turned on before step 203, the page turning mode may be exited after the user's finger leaves the screen.
Optionally, the step of receiving a sliding operation of a finger of a user sliding from a first position to a second position on a screen of the mobile terminal includes:
and receiving sliding operation that a user finger slides to the second position from a preset suspension mark displayed on the first position on a screen of the mobile terminal.
In this embodiment, the preset floating mark displayed at the first position may be a floating mark of various shapes. For example: the floating mark may be a preset floating mark in a concentric circle shape, a preset floating mark in a triangular shape, or a preset floating mark in a rectangular shape, etc. Of course, besides, some personalized preset floating marks customized by the user may also be provided, and the embodiment is not limited. After the preset suspension mark is displayed, the user can be well prompted. And then the sliding plate can slide to a second position from the preset floating mark as a starting point.
Optionally, before the step of receiving a sliding operation of the finger of the user on the screen of the mobile terminal from the preset floating mark displayed on the first position to the second position, the method further includes:
receiving a sliding operation of the finger of the user sliding from a third position to the first position on the screen;
and if the stay time of the finger of the user at the first position is greater than a second preset threshold value, displaying the preset suspension mark at the first position.
In this embodiment, the third position may be a position above the screen, a position on the left side of the screen, or some other position on the screen. The second preset threshold may be a time threshold set arbitrarily. The second preset threshold may be the same as the first preset threshold, or may be different from the first preset threshold, and this embodiment is not limited thereto.
In this embodiment, when the staying time of the finger of the user at the first position is longer than the second preset threshold, the preset floating mark is displayed at the first position. Therefore, the user can be well prompted by presetting the suspension identifier, and the user can start sliding operation with the preset suspension identifier as a starting point. Of course, the page turning mode can be started while the preset suspension mark is displayed.
Optionally, after the step of receiving a sliding operation of a finger of a user on the screen of the mobile terminal and sliding from a preset floating identifier displayed on the first position to the second position, before the step of continuously performing interface switching at a target page turning speed and a target page turning direction, the method further includes:
and determining the target page turning speed according to the distance between the preset suspension identifier and the second position, wherein the target page turning speed is in positive correlation with the distance between the preset suspension identifier and the second position.
In this embodiment, the page turning speed may be controlled by controlling the distance between the preset floating mark and the second position. Because the target page turning speed is in positive correlation with the distance between the preset suspension mark and the second position, when the faster page turning speed is needed, the target page turning speed can slide a longer distance from the preset suspension mark to the second position; when a slower page turning speed is required, the preset floating mark can slide a closer distance to reach the second position.
Therefore, the target page turning speed is determined according to the distance between the preset suspension mark and the second position, so that a user can control the page turning speed according to the requirement of the user. When a user reads some entertainment news, a relatively fast page turning speed can be kept; when a user reads some scientific literature, a slower page turning speed can be maintained. Different reading requirements of users are met through different page turning speeds.
Optionally, the step of continuously performing interface switching at the target page turning speed and the target page turning direction includes:
and continuously switching the interface according to the preset page turning speed and the target page turning direction.
In this embodiment, a page turning speed may be preset, so that the set page turning speed continues to turn pages. Of course, when the user feels that the page turning speed is not suitable for the current scene, the page turning speed can be actively changed, and the like, so that the requirements of the user can be better met.
The interface switching method of the embodiment of the invention receives the sliding operation that a finger of a user slides from a first position to a second position on a screen of the mobile terminal; if the staying time of the finger of the user at the second position is larger than a first preset threshold value, continuously switching the interface according to a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position; and if the user finger is detected to leave the screen, stopping interface switching. Therefore, when the stay time of the finger of the user at the second position is larger than the first preset threshold value, the interface can be continuously switched in the target page turning speed and the target page turning direction, so that the purpose of automatically turning pages is achieved, the user does not need to operate the mobile terminal for multiple times to turn pages, the page turning process of the mobile terminal is simplified, and the user experience is improved. In addition, the user can control the mobile terminal to stop interface switching through a simple operation, so that the user operation is more convenient.
Referring to fig. 3, fig. 3 is a structural diagram of a mobile terminal according to an embodiment of the present invention, which can implement details of an interface switching method in the foregoing embodiment and achieve the same effect. As shown in fig. 3, the mobile terminal 300 includes a first receiving module 301 and a page turning module 302, where the first receiving module 301 is connected to the page turning module 302, where:
a first receiving module 301, configured to receive a sliding operation of a finger of a user sliding from a first position to a second position on a screen of the mobile terminal;
a page turning module 302, configured to, if the retention time of the finger of the user at the second position is greater than a first preset threshold, continuously perform interface switching at a target page turning speed and a target page turning direction, where the target page turning direction is a direction determined according to the first position and the second position.
Optionally, the first receiving module 301 is configured to: and receiving sliding operation that a user finger slides to the second position from a preset suspension mark displayed on the first position on a screen of the mobile terminal.
Optionally, as shown in fig. 4, the mobile terminal 300 further includes:
a second receiving module 303, configured to receive a sliding operation of the user's finger sliding from a third position to the first position on the screen;
a display module 304, configured to display the preset floating identifier at the first position if the staying time of the user finger at the first position is greater than a second preset threshold.
Optionally, as shown in fig. 5, the mobile terminal 300 further includes:
a determining module 305, configured to determine the target page turning speed according to a distance between the preset floating identifier and the second location, where the target page turning speed is in a positive correlation with the distance between the preset floating identifier and the second location.
Optionally, the target page turning speed is a preset page turning speed, and the page turning module 302 is configured to: and continuously switching the interface according to the preset page turning speed and the target page turning direction.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the above method embodiments, and details are not described here again to avoid repetition.
The mobile terminal 300 of the embodiment of the invention receives the sliding operation that the finger of the user slides from a first position to a second position on the screen of the mobile terminal; and if the retention time of the finger of the user at the second position is greater than a first preset threshold value, continuously switching the interface according to a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position. Therefore, when the stay time of the finger of the user at the second position is larger than the first preset threshold value, the interface can be continuously switched in the target page turning speed and the target page turning direction, so that the purpose of automatically turning pages is achieved, the user does not need to operate the mobile terminal for multiple times to turn pages, the page turning process of the mobile terminal is simplified, and the user experience is improved.
Referring to fig. 6, fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal 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 610 is configured to receive a sliding operation of a finger of a user sliding from a first position to a second position on a screen of the mobile terminal; and if the retention time of the finger of the user at the second position is greater than a first preset threshold value, continuously switching the interface according to a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position. Therefore, when the stay time of the finger of the user at the second position is larger than the first preset threshold value, the interface can be continuously switched in the target page turning speed and the target page turning direction, so that the purpose of automatically turning pages is achieved, the user does not need to operate the mobile terminal for multiple times to turn pages, the page turning process of the mobile terminal is simplified, and the user experience is improved.
Optionally, the processor 610 is further configured to receive a sliding operation that a finger of a user slides from a preset floating identifier displayed in the first position to the second position on the screen of the mobile terminal.
Optionally, the processor 610 is further configured to receive a sliding operation of the user's finger sliding on the screen from a third position to the first position; and if the stay time of the finger of the user at the first position is greater than a second preset threshold value, displaying the preset suspension mark at the first position.
Optionally, the processor 610 is further configured to determine the target page turning speed according to a distance between the preset floating identifier and the second location, where the target page turning speed is in a positive correlation with the distance between the preset floating identifier and the second location.
Optionally, the target page turning speed is a preset page turning speed, and the processor 610 is further configured to perform interface switching continuously according to the preset page turning speed and the target page turning direction.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 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. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process 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 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved 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 posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 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 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, 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 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 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, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. 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 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by 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 609 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 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 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 the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above interface switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention 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 interface switching method embodiment, 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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. An interface switching method is applied to a mobile terminal, and is characterized by comprising the following steps:
receiving sliding operation of a finger of a user sliding from a first position to a second position on a screen of the mobile terminal;
if the staying time of the finger of the user at the second position is larger than a first preset threshold value, continuously switching the interface according to a target page turning speed and a target page turning direction, wherein the target page turning direction is determined according to the first position and the second position;
the target page turning speed is determined according to the distance of the sliding operation;
the step of receiving the sliding operation of the finger of the user sliding from the first position to the second position on the screen of the mobile terminal comprises the following steps:
receiving sliding operation that a user finger slides to the second position from a preset suspension mark displayed on the first position on a screen of the mobile terminal;
before the step of receiving a sliding operation of a finger of a user on a screen of the mobile terminal from a preset floating mark displayed on the first position to the second position, the method further includes:
receiving a sliding operation of the finger of the user sliding from a third position to the first position on the screen;
and if the stay time of the finger of the user at the first position is greater than a second preset threshold value, displaying the preset suspension mark at the first position.
2. The method according to claim 1, wherein after the step of receiving a sliding operation of a finger of a user on the screen of the mobile terminal to slide to the second position from a preset floating mark displayed on the first position, the method further comprises, before the step of continuously performing interface switching at a target page turning speed and a target page turning direction:
and determining the target page turning speed according to the distance between the preset suspension identifier and the second position, wherein the target page turning speed is in positive correlation with the distance between the preset suspension identifier and the second position.
3. The method according to claim 1, wherein the target page turning speed is a preset page turning speed, and the step of continuously performing interface switching at the target page turning speed and the target page turning direction comprises:
and continuously switching the interface according to the preset page turning speed and the target page turning direction.
4. A mobile terminal, comprising:
the first receiving module is used for receiving sliding operation of a finger of a user sliding from a first position to a second position on a screen of the mobile terminal;
the page turning module is used for continuously switching the interface at a target page turning speed and a target page turning direction if the retention time of the finger of the user at the second position is greater than a first preset threshold value, wherein the target page turning direction is determined according to the first position and the second position;
the target page turning speed is determined according to the distance of the sliding operation;
the first receiving module is configured to: receiving sliding operation that a user finger slides to the second position from a preset suspension mark displayed on the first position on a screen of the mobile terminal;
the mobile terminal further includes:
the second receiving module is used for receiving the sliding operation of the finger of the user sliding from a third position to the first position on the screen;
and the display module is used for displaying the preset suspension identifier at the first position if the staying time of the finger of the user at the first position is greater than a second preset threshold.
5. The mobile terminal of claim 4, wherein the mobile terminal further comprises:
the determining module is configured to determine the target page turning speed according to a distance between the preset floating identifier and the second location, where the target page turning speed is in a positive correlation with the distance between the preset floating identifier and the second location.
6. The mobile terminal according to claim 4, wherein the target page turning speed is a preset page turning speed, and the page turning module is configured to: and continuously switching the interface according to the preset page turning speed and the target page turning direction.
CN201810058455.7A 2018-01-22 2018-01-22 Interface switching method and mobile terminal Active CN108196753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810058455.7A CN108196753B (en) 2018-01-22 2018-01-22 Interface switching method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810058455.7A CN108196753B (en) 2018-01-22 2018-01-22 Interface switching method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108196753A CN108196753A (en) 2018-06-22
CN108196753B true CN108196753B (en) 2021-02-23

Family

ID=62589982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810058455.7A Active CN108196753B (en) 2018-01-22 2018-01-22 Interface switching method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108196753B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920052B (en) * 2018-06-26 2021-08-24 Oppo广东移动通信有限公司 Page display control method and related product
WO2020097908A1 (en) * 2018-11-16 2020-05-22 深圳市欢太科技有限公司 Method and apparatus for jumping to page, and storage medium and electronic device
CN111698365B (en) * 2019-03-12 2023-06-02 北京京东尚科信息技术有限公司 Information display method, device, server and readable medium
CN110032308A (en) * 2019-03-15 2019-07-19 努比亚技术有限公司 A kind of page display method, terminal and computer readable storage medium
CN116630410A (en) * 2020-06-02 2023-08-22 上海联影医疗科技股份有限公司 Method for displaying breast tomogram, computer device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2060971A2 (en) * 2007-11-06 2009-05-20 Giga-Byte Communications, Inc. Method and device for controlling scrolling of pages on touch screen of hand-held electronic apparatus
CN104484092A (en) * 2014-12-12 2015-04-01 小米科技有限责任公司 Page display method, page display device and terminal
CN105353945A (en) * 2014-08-22 2016-02-24 小米科技有限责任公司 List operation method and apparatus

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090267909A1 (en) * 2008-04-27 2009-10-29 Htc Corporation Electronic device and user interface display method thereof
CN103365574A (en) * 2012-03-27 2013-10-23 百度在线网络技术(北京)有限公司 Method and equipment for executing page turning operation
CN102830902B (en) * 2012-06-29 2015-09-02 宇龙计算机通信科技(深圳)有限公司 The method and system of the automatic rolling page
CN103809891B (en) * 2012-11-13 2016-04-13 腾讯科技(深圳)有限公司 Page switching method and device
CN104093076B (en) * 2013-06-19 2018-04-10 腾讯科技(深圳)有限公司 Page turning method, device and terminal
CN103455248B (en) * 2013-08-22 2017-02-01 广东欧珀移动通信有限公司 Content sliding method and system for browsing file
CN103714131A (en) * 2013-12-17 2014-04-09 宇龙计算机通信科技(深圳)有限公司 Method for reading electronic document and mobile terminal thereof
CN104915131B (en) * 2014-03-11 2019-11-01 珠海金山办公软件有限公司 A kind of electric document page-turning method and device
CN104166553B (en) * 2014-08-18 2018-10-12 联想(北京)有限公司 A kind of display methods and electronic equipment
CN104636048A (en) * 2015-01-26 2015-05-20 上海天奕达电子科技有限公司 Page content rolling display method and device
CN105892848A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Page browsing method and device
CN105808111A (en) * 2016-03-14 2016-07-27 上海斐讯数据通信技术有限公司 Method and terminal for automatically sliding screen at adaptive speed

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2060971A2 (en) * 2007-11-06 2009-05-20 Giga-Byte Communications, Inc. Method and device for controlling scrolling of pages on touch screen of hand-held electronic apparatus
CN105353945A (en) * 2014-08-22 2016-02-24 小米科技有限责任公司 List operation method and apparatus
CN104484092A (en) * 2014-12-12 2015-04-01 小米科技有限责任公司 Page display method, page display device and terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
CN109461117B (en) Image processing method and mobile terminal
CN108196753B (en) Interface switching method and mobile terminal
CN109379484B (en) Information processing method and terminal
CN108279948B (en) Application program starting method and mobile terminal
CN107908382B (en) Split screen display method and mobile terminal
CN110531915B (en) Screen operation method and terminal equipment
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN107613095B (en) Incoming call processing method and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
CN110321046A (en) A kind of content selecting method and terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN109542321B (en) Control method and device for screen display content
CN109710130B (en) Display method and terminal
CN109669656B (en) Information display method and terminal equipment
CN109521937B (en) Screen display control method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN110333803B (en) Multimedia object selection method and terminal equipment
CN109782970B (en) Display method and terminal
CN111522477A (en) Application starting method and electronic equipment
CN108491143B (en) Object movement control method and mobile terminal
CN108021315B (en) Control method and mobile terminal

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