CN108287645B - Interface display method and mobile terminal - Google Patents

Interface display method and mobile terminal Download PDF

Info

Publication number
CN108287645B
CN108287645B CN201810040222.4A CN201810040222A CN108287645B CN 108287645 B CN108287645 B CN 108287645B CN 201810040222 A CN201810040222 A CN 201810040222A CN 108287645 B CN108287645 B CN 108287645B
Authority
CN
China
Prior art keywords
mobile terminal
interface
switching
user
preset
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
CN201810040222.4A
Other languages
Chinese (zh)
Other versions
CN108287645A (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 CN201810040222.4A priority Critical patent/CN108287645B/en
Publication of CN108287645A publication Critical patent/CN108287645A/en
Application granted granted Critical
Publication of CN108287645B publication Critical patent/CN108287645B/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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The invention provides an interface display method and a mobile terminal, wherein the method comprises the following steps: receiving shaking operation of a user on the mobile terminal; and responding to the shaking operation, and switching the target display content of the current display interface of the mobile terminal to a preset position. In this way, if a shaking operation of the mobile terminal by the user is received, the target display content of the current display interface of the mobile terminal can be switched to the preset position. The operation process of quickly switching to the designated position of the interface is more convenient.

Description

Interface display method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to an interface display method and a mobile terminal.
Background
Various interfaces, such as a web interface, a document interface, or a list interface, etc., may be displayed on the mobile terminal. When a user browses the interface, the user may need to quickly switch to a specified position of the interface, for example, the user may need to quickly switch to an interface starting position. If the position of the content currently consulted in the interface is far away from the starting position of the interface and the interface needs to be quickly returned to the starting position of the interface, a user can click the starting position of the screen of the mobile terminal, and the content displayed on the screen of the mobile terminal can be automatically switched to the content of the starting position of the interface.
For the scheme, if the screen of the mobile terminal is long, when a user operates the mobile terminal with one hand, the user is inconvenient to click the initial position of the screen. Therefore, in the prior art, the operation process of quickly switching to the specified position of the interface is not convenient enough.
Disclosure of Invention
The embodiment of the invention provides an interface display method and a mobile terminal, and aims to solve the problem that in the prior art, the operation process of quickly switching to an interface designated position is not convenient enough.
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 display method, which is applied to a mobile terminal, and the method includes:
receiving shaking operation of a user on the mobile terminal;
and responding to the shaking operation, and switching the target display content of the current display interface of the mobile terminal to a preset position.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the receiving module is used for receiving shaking operation of a user on the mobile terminal;
and the first switching module is used for responding to the shaking operation and switching the target display content of the current display interface of the mobile terminal to a preset 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 display 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 display method are implemented.
In this way, in the embodiment of the present invention, a shake operation of a user on the mobile terminal is received; and responding to the shaking operation, and switching the target display content of the current display interface of the mobile terminal to a preset position. In this way, if a shaking operation of the mobile terminal by the user is received, the target display content of the current display interface of the mobile terminal can be switched to the preset position. The operation process of quickly switching to the designated position of the interface is more convenient.
Drawings
Fig. 1 is a flowchart of an interface display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a setup list interface provided by an embodiment of the invention;
FIG. 3a is a diagram illustrating target content currently displayed in a set list interface according to an embodiment of the present invention;
fig. 3b is a schematic diagram illustrating that the content located at the start position of the setting list interface is displayed on the screen of the mobile terminal according to the embodiment of the present invention;
FIG. 4 is a flow chart of another interface display method provided by the embodiments of the present invention;
FIG. 5 is a schematic diagram of acquiring the acceleration of the mobile terminal at various time points according to an embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 8 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 9 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a mobile terminal according to an 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 display method provided by an embodiment of the present invention, and is applied to a mobile terminal. As shown in fig. 1, the method comprises the following steps:
step 101, receiving shaking operation of a user on the mobile terminal.
In step 101, a shaking operation of the mobile terminal by a user may be received.
And step 102, responding to the shaking operation, and switching the target display content of the current display interface of the mobile terminal to a preset position.
In step 102, after receiving a shaking operation of the mobile terminal by a user, the mobile terminal may detect that the mobile terminal is at a first time point t1First acceleration of
Figure BDA0001549248780000031
And can detect that the mobile terminal is at the second time point t2Second acceleration ofDegree of rotation
Figure BDA0001549248780000032
Wherein, the first time point t1And a second time point t2The difference between the acceleration and the acceleration is a preset first time interval, that is, the mobile terminal obtains the acceleration of the mobile terminal at every preset first time interval. The preset first time interval may be 30 milliseconds.
Next, a second acceleration may be calculated
Figure BDA0001549248780000033
And a first acceleration
Figure BDA0001549248780000034
The difference value of (a):
Figure BDA0001549248780000035
wherein A is the second acceleration
Figure BDA0001549248780000036
And a first acceleration
Figure BDA0001549248780000037
Is a length value of the difference, i.e. A is the second acceleration
Figure BDA0001549248780000038
And a first acceleration
Figure BDA0001549248780000039
The magnitude of the difference. The second acceleration can be judged
Figure BDA00015492487800000310
And a first acceleration
Figure BDA00015492487800000311
Is greater than or equal to a preset threshold. If the mobile terminal determines the second acceleration
Figure BDA00015492487800000312
And a first acceleration
Figure BDA00015492487800000313
If the difference value a is greater than or equal to the preset threshold value, the target display content of the current display interface of the mobile terminal can be switched to the preset position in response to the shaking operation. In the following description, the current display interface is taken as a list interface for explanation.
It is assumed that the list interface is a setting list interface in the mobile terminal. As shown in fig. 2, a schematic diagram of a setup list interface is shown. The setting list interface may include many function options, and the user may need to continuously perform a sliding operation on the screen of the mobile terminal to browse all the function options of the setting list interface. In FIG. 2, arranged in the first column of the settings list interface is an "offline mode" option; arranged in the second column of the setup list interface is a "Wireless Local Area Network (WLAN)" option; arranged in the third column of the setting list interface is a 'mobile network' option; arranged in the fourth column of the setting list interface is a 'personal hotspot' option; arranged in the last column of the settings list interface is a "quick launch" option, or the like.
The target content currently displayed in the setting list interface may be content located at a middle position of the setting list interface. As shown in fig. 3a, it is a schematic diagram of the target content currently displayed in the setting list interface. In FIG. 3a, the content located in the middle of the set-up list interface may be a "System upgrade" option; a "fingerprint and password" option; a "battery" option; a "location services" option; a "load and store" option and a "more settings" option.
In response to the received shaking operation, the target content currently displayed in the list interface may be switched to the content at a preset position in the list interface. The preset position may be a start position or an end position of the list interface.
Take the preset position as the starting position of the list interface as an example. At this time, the currently displayed content in the setting list interface may be switched from the content located in the middle position of the setting list interface to the content located in the start position of the setting list interface; that is, the content displayed on the screen of the mobile terminal can be switched from the content located in the middle position of the setting list interface to the content located in the start position of the setting list interface. As shown in fig. 3b, a schematic diagram of displaying the content located at the start position of the setting list interface on the screen of the mobile terminal is shown. In FIG. 3b, the content at the start of the setup list interface may be an "offline mode" option; a "WLAN" option; a "mobile network" option; a "personal hotspot" option; a "bluetooth" option and a "status bar and notification" option. That is, in response to the received shaking operation, the preset position of the list interface can be quickly located. As described above, the middle position of the setting list interface can be immediately switched to the starting position of the setting list interface, and the starting position of the setting list interface can be reached without the user continuously performing sliding operation on the screen of the mobile terminal.
In the prior art, a user needs to click the top position of a screen of a mobile terminal to quickly switch to the starting position of a list interface. If the screen of the mobile terminal is long, it is inconvenient for a user to click the top position of the screen when the user operates the mobile terminal with one hand.
According to the invention, the mobile terminal is shaken by the user, so that the mobile terminal can be quickly switched to the preset position of the list interface. Compared with the prior art, the method avoids the inconvenience of single-hand operation, and enables the operation process of quickly switching to the designated position of the list interface to be more convenient.
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 display method provided by the embodiment of the invention is applied to the mobile terminal. Receiving shaking operation of a user on the mobile terminal; and responding to the shaking operation, and switching the target display content of the current display interface of the mobile terminal to a preset position. And if the shaking operation of the mobile terminal by the user is received, switching the target display content of the current display interface of the mobile terminal to a preset position. The operation process of quickly switching to the designated position of the interface is more convenient.
Referring to fig. 4, fig. 4 is a flowchart of another interface display method provided by the embodiment of the present invention, and is applied to a mobile terminal. The main difference between this embodiment and the previous embodiment is that if a shaking operation of the mobile terminal by the user is received within a preset second time interval after the target display content currently displayed in the interface is switched to the content at the preset position in the interface, the content at the preset position can be switched to the target display content. As shown in fig. 4, the method comprises the following steps:
step 401, if an interface position switching function starting instruction is detected, receiving a shaking operation of a user on the mobile terminal.
In step 401, the mobile terminal may detect whether an interface position switching function opening instruction is received. For example, a switch button may be provided. Whether to start the interface position switching function can be determined by controlling the on and off of the switch button. And if an interface position switching function starting instruction is received, receiving shaking operation of the mobile terminal by the user.
Step 402, detecting a first acceleration of the mobile terminal at a first time point and a second acceleration of the mobile terminal at a second time point, wherein a preset first time interval is different between the first time point and the second time point.
In step 402, after receiving a shaking operation of the mobile terminal by a user, the mobile terminal may detect that the mobile terminal is at a first time point t1First acceleration of
Figure BDA0001549248780000051
And can detect that the mobile terminal is at the second time point t2Second acceleration of
Figure BDA0001549248780000052
Wherein, the first time point t1And a second time point t2BetweenThe difference is a preset first time interval, that is, the mobile terminal obtains the acceleration of the mobile terminal every other preset first time interval. The preset first time interval may be 30 milliseconds.
And 403, calculating the difference value between the second acceleration and the first acceleration.
In step 403, a second acceleration may be calculated
Figure BDA0001549248780000053
And a first acceleration
Figure BDA0001549248780000054
The difference value of (a):
Figure BDA0001549248780000055
wherein A is the second acceleration
Figure BDA0001549248780000061
And a first acceleration
Figure BDA0001549248780000062
Is a length value of the difference, i.e. A is the second acceleration
Figure BDA0001549248780000063
And a first acceleration
Figure BDA0001549248780000064
The magnitude of the difference. The second acceleration can be judged
Figure BDA0001549248780000065
And a first acceleration
Figure BDA0001549248780000066
Is greater than or equal to a preset threshold.
And step 404, if the difference value is larger than or equal to a preset threshold value, switching the target display content of the current display interface of the mobile terminal to a preset position in response to the shaking operation.
In step 404, if the mobile terminal determines the second acceleration
Figure BDA0001549248780000067
And a first acceleration
Figure BDA0001549248780000068
If the difference value a is greater than or equal to the preset threshold value, the target display content of the current display interface of the mobile terminal can be switched to the preset position in response to the shaking operation. In the following description, the current display interface is taken as a list interface for explanation.
It is assumed that the list interface is a setting list interface in the mobile terminal. Again taking fig. 2 as an example. The setting list interface may include many function options, and the user may need to continuously perform a sliding operation on the screen of the mobile terminal to browse all the function options of the setting list interface. In FIG. 2, arranged in the first column of the settings list interface is an "offline mode" option; arranged in the second column of the setup list interface is a "WLAN" option; arranged in the third column of the setting list interface is a 'mobile network' option; arranged in the fourth column of the setting list interface is a 'personal hotspot' option; arranged in the last column of the settings list interface is a "quick launch" option, or the like.
The target content currently displayed in the setting list interface may be content located at a middle position of the setting list interface. Again taking fig. 3a as an example. In FIG. 3a, the content located in the middle of the set-up list interface may be a "System upgrade" option; a "fingerprint and password" option; a "battery" option; a "location services" option; a "load and store" option and a "more settings" option.
Optionally, the preset position is a starting position of the current display interface or an ending position of the current display interface.
The preset position may be a start position of a current display interface or an end position of the current display interface, that is, the preset position may be a start position of a list interface or an end position of the list interface.
Take the preset position as the starting position of the list interface as an example. At this time, in response to the received shaking operation, the currently displayed content in the setting list interface may be switched from the content located at the middle position of the setting list interface to the content located at the start position of the setting list interface; that is, the content displayed on the screen of the mobile terminal can be switched from the content located in the middle position of the setting list interface to the content located in the start position of the setting list interface. Again taking fig. 3b as an example. In FIG. 3b, the content at the start of the setup list interface may be an "offline mode" option; a "WLAN" option; a "mobile network" option; a "personal hotspot" option; a "bluetooth" option and a "status bar and notification" option. Namely, after receiving the shaking operation of the mobile terminal by the user, the mobile terminal can be quickly positioned to the preset position of the list interface. As described above, the middle position of the setting list interface can be immediately switched to the starting position of the setting list interface, and the starting position of the setting list interface can be reached without the user continuously performing sliding operation on the screen of the mobile terminal.
In the prior art, a user needs to click the top position of a screen of a mobile terminal to quickly switch to the starting position of a list interface. If the screen of the mobile terminal is long, it is inconvenient for a user to click the top position of the screen when the user operates the mobile terminal with one hand.
According to the invention, the mobile terminal is shaken by the user, so that the mobile terminal can be quickly switched to the preset position of the list interface. Compared with the prior art, the method avoids the inconvenience of single-hand operation, and enables the operation process of quickly switching to the designated position of the list interface to be more convenient.
Step 405, if a shaking operation of the mobile terminal by the user is received within a preset second time interval, switching the preset position to the target display content.
In step 405, if a shaking operation of the mobile terminal by the user is received again within a preset second time interval after the target content currently displayed in the list interface is switched to the content at the preset position in the list interface, the target display content can be switched from the preset position. The starting position of the setting list interface can be switched to the middle position of the setting list interface again, and the user can return to the middle position of the setting list interface without continuously sliding on the screen of the mobile terminal.
For example, as shown in fig. 5, a schematic diagram of acquiring the acceleration of the mobile terminal at various time points is shown. In 5, the mobile terminal detects that the mobile terminal is at a first time point t1First acceleration of
Figure BDA00015492487800000714
At a second point in time t2Second acceleration of
Figure BDA0001549248780000071
And determines the second acceleration
Figure BDA0001549248780000072
And a first acceleration
Figure BDA0001549248780000073
Is greater than or equal to the preset threshold, at this time, the middle position of the setting list interface can be immediately switched to the starting position of the setting list interface.
Next, if the mobile terminal detects that the mobile terminal is at the third time point t3Third acceleration of
Figure BDA0001549248780000074
At a fourth point in time t4Fourth acceleration of
Figure BDA0001549248780000075
And calculates a fourth acceleration
Figure BDA0001549248780000076
And a third acceleration
Figure BDA0001549248780000077
The difference value of (a):
Figure BDA0001549248780000078
wherein B is a fourth acceleration
Figure BDA0001549248780000079
And a third acceleration
Figure BDA00015492487800000710
Is the length of the difference, i.e. B is the fourth acceleration
Figure BDA00015492487800000711
And a third acceleration
Figure BDA00015492487800000713
The magnitude of the difference.
If the mobile terminal judges the fourth acceleration
Figure BDA0001549248780000081
And a third acceleration
Figure BDA0001549248780000082
Is greater than or equal to a preset threshold, and t4And t2The time interval therebetween is less than or equal to a preset second time interval. That is, after the intermediate position of the setting list interface is switched to the starting position of the setting list interface, if the shaking operation of the mobile terminal by the user is received again within the preset second time interval, the target display content may be switched from the preset position. I.e. again from the start position of the setting list interface to the middle position of the setting list interface.
In this way, after the position corresponding to the current target content of the list interface is switched to the preset position of the list interface, if the shaking operation of the mobile terminal by the user is received again within the preset second time interval, the preset position of the list interface can be switched to the position corresponding to the target content of the previous list interface again. The method and the device realize the quick switching of the list interface positions, and can realize the switching of the list interface positions without frequent sliding operation of a user on a screen of the mobile terminal. The process of switching the positions of the list interfaces is more convenient and faster.
The interface display method provided by the embodiment of the invention is applied to the mobile terminal. And if the shaking operation of the mobile terminal by the user is received, switching the currently displayed target content in the interface into the content at the preset position in the interface. The operation process of quickly switching to the designated position of the interface is more convenient. Further, if the user shakes the mobile terminal again within a preset second time interval after switching the target content currently displayed in the interface to the content at the preset position in the interface, the preset position of the interface may be switched to the position corresponding to the target content of the previous interface again. The method and the device realize the quick switching of the interface position, and can realize the switching of the interface position without frequently sliding operation of a user on a screen of the mobile terminal. The interface position switching process is more convenient and faster.
Referring to fig. 6, fig. 6 is a structural diagram of a mobile terminal provided in the implementation of the present invention, and as shown in fig. 6, the mobile terminal 600 includes a receiving module 601 and a first switching module 602, where:
a receiving module 601, configured to receive a shaking operation of the mobile terminal by a user;
a first switching module 602, configured to switch, in response to the shaking operation, target display content of a current display interface of the mobile terminal to a preset position.
Optionally, as shown in fig. 7, the mobile terminal further includes:
a detecting module 603, configured to detect a first acceleration of the mobile terminal at a first time point and a second acceleration of the mobile terminal at a second time point, where a difference between the first time point and the second time point is a preset first time interval;
a calculating module 604, configured to calculate a difference between the second acceleration and the first acceleration;
a first executing module 605, configured to execute the step of switching the target display content of the current display interface of the mobile terminal to a preset position in response to the shaking operation if the difference is greater than or equal to a preset threshold.
Optionally, as shown in fig. 8, the mobile terminal further includes:
a second switching module 606, configured to switch, if a shaking operation of the mobile terminal by the user is received within a preset second time interval, the preset position to the target display content.
Optionally, as shown in fig. 9, the mobile terminal further includes:
a second executing module 607, configured to execute the step of receiving a shaking operation of the mobile terminal by the user if the interface location switching function starting instruction is detected.
Optionally, the preset position is a starting position of the current display interface or an ending position of the current display interface.
The mobile terminal 600 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 and fig. 4, and is not described herein again to avoid repetition. And the mobile terminal 600 may implement that if a shaking operation of the mobile terminal by the user is received, the target content currently displayed in the interface may be switched to the content at the preset position in the interface. The operation process of quickly switching to the designated position of the interface is more convenient. Further, if the user shakes the mobile terminal again within a preset second time interval after switching the target content currently displayed in the interface to the content at the preset position in the interface, the preset position of the interface may be switched to the position corresponding to the target content of the previous interface again. The method and the device realize the quick switching of the interface position, and can realize the switching of the interface position without frequently sliding operation of a user on a screen of the mobile terminal. The interface position switching process is more convenient and faster.
Fig. 10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 10 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, 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 mobile terminal, a wearable device, a pedometer, and the like.
A processor 1010 configured to receive a shaking operation of the mobile terminal by a user;
and responding to the shaking operation, and switching the target display content of the current display interface of the mobile terminal to a preset position.
And if the shaking operation of the mobile terminal by the user is received, switching the currently displayed target content in the interface into the content at the preset position in the interface. The operation process of quickly switching to the designated position of the interface is more convenient. Further, if the user shakes the mobile terminal again within a preset second time interval after switching the target content currently displayed in the interface to the content at the preset position in the interface, the preset position of the interface may be switched to the position corresponding to the target content of the previous interface again. The method and the device realize the quick switching of the interface position, and can realize the switching of the interface position without frequently sliding operation of a user on a screen of the mobile terminal. The interface position switching process is more convenient and faster.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending 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 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 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 1001 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 1002, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures 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 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 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 1001 in case of a phone call mode.
The mobile terminal 1000 can also include at least one sensor 1005, 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 10061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 10061 and/or the backlight when the mobile terminal 1000 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 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 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 1006 is used to display information input by the user or information provided to the user. The Display unit 1006 may include a Display panel 10061, and the Display panel 10061 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 1007 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 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, 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 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 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 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 1008 is an interface through which an external device is connected to the mobile terminal 1000. 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 1008 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 1000 or may be used to transmit data between the mobile terminal 1000 and external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 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, and the like), 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 1009 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 1010 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 1009 and calling data stored in the memory 1009, thereby integrally monitoring the mobile terminal. Processor 1010 may include one or more processing units; preferably, the processor 1010 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 1010.
The mobile terminal 1000 may also include a power supply 1011 (e.g., a battery) for powering the various components, and the power supply 1011 may be logically coupled to the processor 1010 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the mobile terminal 1000 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, the processor 1010 is further configured to:
detecting a first acceleration of the mobile terminal at a first time point and a second acceleration of the mobile terminal at a second time point, wherein a difference between the first time point and the second time point is a preset first time interval;
calculating the magnitude of the difference between the second acceleration and the first acceleration;
and if the difference value is larger than or equal to a preset threshold value, executing the step of responding to the shaking operation and switching the target display content of the current display interface of the mobile terminal to a preset position.
Optionally, the processor 1010 is further configured to:
and if the shaking operation of the mobile terminal by the user is received within a preset second time interval, switching the preset position to the target display content.
Optionally, the processor 1010 is further configured to:
and if an interface position switching function starting instruction is detected, executing the step of receiving the shaking operation of the user on the mobile terminal.
Optionally, the processor 1010 is further configured to:
the preset position is the starting position of the current display interface or the ending position of the current display interface.
The mobile terminal 1000 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition. And the mobile terminal 1000 may implement that if a shaking operation of the mobile terminal by the user is received, the target content currently displayed in the interface may be switched to the content at the preset position in the interface. The operation process of quickly switching to the designated position of the interface is more convenient. Further, if the user shakes the mobile terminal again within a preset second time interval after switching the target content currently displayed in the interface to the content at the preset position in the interface, the preset position of the interface may be switched to the position corresponding to the target content of the previous interface again. The method and the device realize the quick switching of the interface position, and can realize the switching of the interface position without frequently sliding operation of a user on a screen of the mobile terminal. The interface position switching process is more convenient and faster.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process of the above-mentioned interface display 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 display 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 mobile 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 display method is applied to a mobile terminal, and is characterized by comprising the following steps:
receiving shaking operation of a user on the mobile terminal;
responding to the shaking operation, and switching the target display content of the current display interface of the mobile terminal to a preset position;
after the step of receiving a shaking operation of the mobile terminal by a user, and before the step of switching target display content of a current display interface of the mobile terminal to a preset position in response to the shaking operation, the method further comprises:
detecting a first acceleration of the mobile terminal at a first time point and a second acceleration of the mobile terminal at a second time point, wherein a difference between the first time point and the second time point is a preset first time interval;
calculating the magnitude of the difference between the second acceleration and the first acceleration;
if the difference value is larger than or equal to a preset threshold value, executing the step of responding to the shaking operation and switching the target display content of the current display interface of the mobile terminal to a preset position;
after the step of switching the target display content of the current display interface of the mobile terminal to the preset position in response to the shaking operation, the method further comprises:
if the shaking operation of the mobile terminal by the user is received within a preset second time interval, switching the preset position to the target display content;
before the step of receiving a shaking operation of the mobile terminal by a user, the method further includes:
and if an interface position switching function starting instruction is detected, executing the step of receiving the shaking operation of the user on the mobile terminal.
2. The method of any one of claim 1, wherein the preset position is a start position of the current display interface or an end position of the current display interface.
3. A mobile terminal, comprising:
the receiving module is used for receiving shaking operation of a user on the mobile terminal;
the first switching module is used for responding to the shaking operation and switching the target display content of the current display interface of the mobile terminal to a preset position;
the mobile terminal further includes:
the mobile terminal comprises a detection module, a processing module and a control module, wherein the detection module is used for detecting a first acceleration of the mobile terminal at a first time point and a second acceleration of the mobile terminal at a second time point, and a preset first time interval is formed between the first time point and the second time point;
the calculating module is used for calculating the difference value of the second acceleration and the first acceleration;
the first execution module is used for executing the step of responding to the shaking operation and switching the target display content of the current display interface of the mobile terminal to a preset position if the difference value is larger than or equal to a preset threshold value;
the mobile terminal further includes:
the second switching module is used for switching the preset position to the target display content if the shaking operation of the mobile terminal by the user is received within a preset second time interval;
the mobile terminal also comprises;
and the second execution module is used for executing the step of receiving the shaking operation of the user on the mobile terminal if the interface position switching function starting instruction is detected.
4. The mobile terminal according to any of claim 3, wherein the preset position is a start position of the current display interface or an end position of the current display interface.
5. A mobile terminal, characterized in that it comprises 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 interface display method according to any one of claims 1 to 2.
6. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps of the interface display method according to any one of claims 1 to 2.
CN201810040222.4A 2018-01-16 2018-01-16 Interface display method and mobile terminal Active CN108287645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810040222.4A CN108287645B (en) 2018-01-16 2018-01-16 Interface display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810040222.4A CN108287645B (en) 2018-01-16 2018-01-16 Interface display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108287645A CN108287645A (en) 2018-07-17
CN108287645B true CN108287645B (en) 2020-05-19

Family

ID=62835417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810040222.4A Active CN108287645B (en) 2018-01-16 2018-01-16 Interface display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108287645B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109529320B (en) * 2018-12-29 2022-04-12 网易(杭州)网络有限公司 Steering control method and device in game

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092480A (en) * 2013-01-17 2013-05-08 广东欧珀移动通信有限公司 Method for quickly returning to list home page and mobile terminal
CN103235681A (en) * 2013-04-25 2013-08-07 广东欧珀移动通信有限公司 Method and device for controlling list interface
CN103377016A (en) * 2012-04-16 2013-10-30 联想(北京)有限公司 Display content switching method, microprocessor and mobile terminal
CN104932688A (en) * 2012-03-29 2015-09-23 华为终端有限公司 Method for switching control of desktop container and terminal
CN105573625A (en) * 2015-12-14 2016-05-11 魅族科技(中国)有限公司 Page display control method and device
CN107037948A (en) * 2017-05-04 2017-08-11 浙江路港互通信息技术有限公司 It is a kind of to realize the method and system that list is slided

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375660B (en) * 2010-08-20 2013-11-06 国基电子(上海)有限公司 Electronic device and method for controlling user interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932688A (en) * 2012-03-29 2015-09-23 华为终端有限公司 Method for switching control of desktop container and terminal
CN103377016A (en) * 2012-04-16 2013-10-30 联想(北京)有限公司 Display content switching method, microprocessor and mobile terminal
CN103092480A (en) * 2013-01-17 2013-05-08 广东欧珀移动通信有限公司 Method for quickly returning to list home page and mobile terminal
CN103235681A (en) * 2013-04-25 2013-08-07 广东欧珀移动通信有限公司 Method and device for controlling list interface
CN105573625A (en) * 2015-12-14 2016-05-11 魅族科技(中国)有限公司 Page display control method and device
CN107037948A (en) * 2017-05-04 2017-08-11 浙江路港互通信息技术有限公司 It is a kind of to realize the method and system that list is slided

Also Published As

Publication number Publication date
CN108287645A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN108182019B (en) Suspension control display processing method and mobile terminal
CN108509123B (en) Application program closing method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN109407932B (en) Icon moving method and mobile terminal
CN111142991A (en) Application function page display method and electronic equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN108958593B (en) Method for determining communication object and mobile terminal
CN108196753B (en) Interface switching method and mobile terminal
CN109558046B (en) Information display method and terminal equipment
CN107992342B (en) Application configuration changing method and mobile terminal
CN109889757B (en) Video call method and terminal equipment
CN109710130B (en) Display method and terminal
CN109600468B (en) Control method of foldable terminal and foldable terminal
CN109683768B (en) Application operation method and mobile terminal
CN108762613B (en) State icon display method and mobile terminal
CN110609648A (en) Application program control method and terminal
CN107728923B (en) Operation processing method and mobile terminal
CN110471559B (en) False touch prevention method and mobile terminal
CN109782970B (en) Display method and terminal
CN109669656B (en) Information display method and terminal equipment
CN109597546B (en) Icon processing method and terminal equipment
CN109542321B (en) Control method and device for screen display content
CN109002245B (en) Application interface operation 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