Movatterモバイル変換


[0]ホーム

URL:


CN109753199B - Application page display method and mobile terminal - Google Patents

Application page display method and mobile terminal
Download PDF

Info

Publication number
CN109753199B
CN109753199BCN201810644466.3ACN201810644466ACN109753199BCN 109753199 BCN109753199 BCN 109753199BCN 201810644466 ACN201810644466 ACN 201810644466ACN 109753199 BCN109753199 BCN 109753199B
Authority
CN
China
Prior art keywords
mobile terminal
page
screen
distance
displayed
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
CN201810644466.3A
Other languages
Chinese (zh)
Other versions
CN109753199A (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co LtdfiledCriticalBeijing ByteDance Network Technology Co Ltd
Priority to CN201810644466.3ApriorityCriticalpatent/CN109753199B/en
Priority to PCT/CN2019/086292prioritypatent/WO2019214696A1/en
Priority to US16/981,274prioritypatent/US11262856B2/en
Priority to SG11202011206UAprioritypatent/SG11202011206UA/en
Publication of CN109753199ApublicationCriticalpatent/CN109753199A/en
Priority to PCT/CN2019/088642prioritypatent/WO2019242457A1/en
Application grantedgrantedCritical
Publication of CN109753199BpublicationCriticalpatent/CN109753199B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application discloses an application page display method and a mobile terminal, wherein in the method, the mobile terminal firstly obtains a first application page to be displayed corresponding to a screen, and a first direction and a first distance of the movement of the mobile terminal; and displaying the page to be displayed when the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value. Whether the application page is displayed or not depends only on whether the moving direction and distance of the mobile terminal meet requirements or not and whether the screen corresponds to a certain page to be displayed of the application or not. According to the method, a user does not need to touch a specific button on a screen or execute a page switching gesture, so that the dependency of page display on manual touch operation of the user is reduced, the convenience of page display is improved, and the user experience is effectively improved.

Description

Application page display method and mobile terminal
Technical Field
the application relates to the technical field of electronic equipment, in particular to an application page display method and a mobile terminal.
Background
When using a mobile terminal, a user often faces a need for page switching within an Application (APP). For example, switching from a chat page for WeChat to a friend circle page, from a web page for a browser to a history page, etc. At this time, the mobile terminal is required to change from showing the current page to showing a new page.
The existing application page display method is that a mobile terminal firstly responds to the trigger of a user on a screen button, jumps to an application menu page or a page management window from a current page, and then displays a corresponding page according to a special switching gesture of the user or a selection operation in the page management window. However, the method is complicated to operate, has high dependency on manual touch operation of a user, and increases the display difficulty of the new application page when the screen of the mobile terminal is large and the screen button is in a position which is difficult to touch. Therefore, the method is low in convenience, and the user experience is reduced.
Disclosure of Invention
In order to solve the technical problems in the prior art, the application page display method and the mobile terminal are provided, and the mobile terminal can conveniently display the application page without clicking a screen button of the mobile terminal or using a special switching gesture.
the technical scheme for solving the technical problem is as follows:
a first aspect of the present application provides an application page display method, including:
the method comprises the steps of obtaining a first application to-be-displayed page corresponding to a screen of a mobile terminal, and a first direction and a first distance of the mobile terminal;
When the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value, displaying the page to be displayed; the preset direction is a direction perpendicular to the screen of the mobile terminal.
Optionally, the obtaining of the page to be displayed in the first application corresponding to the mobile terminal screen includes:
Obtaining a second direction and a second distance of the mobile terminal;
Obtaining a first application to-be-displayed page corresponding to the screen of the mobile terminal according to the second direction, the second distance and the initial position of each page of the first application; the initial position of each page is the position of each page laid on a plane according to a preset layout, and the plane is parallel to the screen of the mobile terminal; the second direction is parallel to the mobile terminal screen and at least comprises one of upward, downward, leftward and rightward.
Optionally, the first direction and the second direction are obtained by at least one of:
And the mobile terminal is provided with an acceleration sensor, a gyroscope sensor and a camera sensor.
Optionally, the obtaining the first distance moved by the mobile terminal includes:
Acquiring a first acceleration of the mobile terminal according to an acceleration sensor arranged on the mobile terminal; acquiring first time of the mobile terminal according to a timer set by the mobile terminal; obtaining a first speed of the mobile terminal according to the first acceleration and the first time; integrating the first speed in the first time interval to obtain the first distance;
The obtaining of the second distance moved by the mobile terminal includes:
Obtaining a second acceleration of the mobile terminal according to the acceleration sensor; obtaining a second time of the mobile terminal moving according to the timer; obtaining a second speed of the mobile terminal according to the second acceleration and the second time; and integrating the second speed in the second time interval to obtain the second distance.
optionally, the obtaining the first distance moved by the mobile terminal includes:
Acquiring a first environment image shot by a camera sensor arranged on the mobile terminal when the mobile terminal moves in the first direction; determining the moving distance of the mobile terminal between every two adjacent frames according to the position change of the feature point between every two adjacent frames in the first environment image, and accumulating the moving distances of the mobile terminal between all two adjacent frames to obtain the first distance;
The obtaining of the second distance moved by the mobile terminal includes:
acquiring a second environment image shot by a camera sensor arranged on the mobile terminal when the mobile terminal moves in the second direction; and determining the moving distance of the mobile terminal between every two adjacent frames according to the position change of the feature point between every two adjacent frames in the second environment image, and accumulating the moving distances of the mobile terminal between all two adjacent frames to obtain the second distance.
Optionally, after the page to be displayed is displayed, the method further includes:
Obtaining a third direction and a third distance of the mobile terminal;
And when the third direction is determined to be the opposite direction of the first direction and the third distance is greater than a preset second threshold value, the mobile terminal screen corresponds to the page to be displayed.
Optionally, after the page to be displayed is displayed, the method further includes:
and when detecting that a preset button on the mobile terminal is triggered, the screen of the mobile terminal corresponds to the page to be displayed.
optionally, the mobile terminal screen corresponds to the page to be displayed, and the method includes:
the mobile terminal screen comprises a micro window of the page to be displayed, and the display area of the micro window is always smaller than the full-screen display area of the screen.
A second aspect of the present application provides a mobile terminal, comprising: a controller and a screen;
The controller is used for obtaining a first application to-be-displayed page corresponding to the screen, and a first direction and a first distance of the mobile terminal; when the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value, controlling the page to be displayed through the screen; the preset direction is a direction perpendicular to the screen of the mobile terminal.
a third aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the application page presentation method provided by the first aspect.
Compared with the prior art, the method has the advantages that:
In the application, the mobile terminal firstly obtains a first application to-be-displayed page corresponding to a screen, and a first direction and a first distance of the mobile terminal; and displaying the page to be displayed when the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value. Therefore, whether the application page is displayed or not depends only on whether the moving direction and distance of the mobile terminal meet requirements or not and whether the screen corresponds to a certain page to be displayed of the application or not. According to the method, a user does not need to touch a specific button on a screen or execute a page switching gesture, so that the dependency of page display on manual touch operation of the user is reduced, the convenience of page display is improved, and the user experience is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
fig. 1 is a flowchart of an application page display method provided in this embodiment;
Fig. 2 is a layout diagram of each page of a first application provided in the embodiment of the present application;
Fig. 3 is a schematic view of a scene of a mobile terminal screen corresponding to a page to be displayed according to an embodiment of the present application;
fig. 4 is a schematic view of another scene of a mobile terminal screen corresponding to a page to be displayed according to an embodiment of the present application;
fig. 5 is a schematic view of a scene of a page to be displayed corresponding to a screen of another mobile terminal provided in an embodiment of the present application;
Fig. 6 is a flowchart of an application page display method provided in this embodiment;
fig. 7 is a schematic diagram of a left shift of a mobile terminal according to an embodiment of the present application;
fig. 8 is a schematic diagram of a mobile terminal moving down according to an embodiment of the present application;
fig. 9 is a schematic diagram of a right movement of a mobile terminal according to an embodiment of the present application;
fig. 10 is a schematic diagram of moving up a mobile terminal according to an embodiment of the present application;
Fig. 11 is a layout diagram of each page of the first application according to the embodiment of the present application;
Fig. 12 is a schematic diagram of a mobile terminal moving 20mm to the left according to an embodiment of the present application;
Fig. 13 is a schematic diagram of a mobile terminal moving along a back side orientation of a screen of the mobile terminal according to an embodiment of the present application;
Fig. 14 is a schematic diagram of a full-screen display page of a mobile terminal according to an embodiment of the present application;
Fig. 15 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
in the prior art, when a mobile terminal displays an application page, it is required to first jump from a current page to an application menu page or a page management window in response to a trigger operation of a user on a screen button, and then display a corresponding page according to a special switching gesture of the user or a selection operation in the page management window. For example, the page displayed by the mobile terminal is a conversation page between the user and the contact, at this time, the user needs to read the message of the WeChat 'friend circle' page, the user firstly needs to click the backspace button on the screen to come to the menu page of the WeChat, then click the 'find' button and then select the 'friend circle', thereby entering the 'friend circle' page.
obviously, the operation of the current method for displaying the application page is too complicated. In addition, because the dependence of the method on the manual touch operation of the user is too high, when the screen of the mobile terminal is large and the screen button is in a position which is difficult to touch, the display difficulty of the new application page is increased, and the user experience is reduced.
in order to solve the above problems, an embodiment of the present application provides an application page display method, where a mobile terminal first obtains a first application to-be-displayed page corresponding to a screen, and a first direction and a first distance of movement of the mobile terminal; and displaying the page to be displayed when the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value. Therefore, in the method, whether the application page is displayed or not depends only on whether the moving direction and distance of the mobile terminal meet requirements or not, and whether the screen corresponds to a certain page to be displayed of the application or not. According to the method, a user does not need to touch a specific button on a screen or execute a page switching gesture, so that the dependency of page display on manual touch operation of the user is reduced, the convenience of page display is improved, and the user experience is effectively improved.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The method comprises the following steps:
it should be noted that, in the present embodiment, the mobile terminal may be any mobile or portable electronic device, including but not limited to a smart phone, a mobile computer, a tablet computer, a Personal Digital Assistant (PDA), a media player, and the like. When a user needs to use the mobile terminal to display a certain page of a certain application, the user can carry the mobile terminal to move through a handheld gesture.
Referring to fig. 1, fig. 1 is a flowchart of an application page display method provided in this embodiment.
the embodiment provides an application page display method, which comprises the following steps:
S101: the method comprises the steps of obtaining a first application to-be-displayed page corresponding to a screen of the mobile terminal, and a first direction and a first distance of the mobile terminal.
The page to be displayed refers to an application page which needs to be displayed by the mobile terminal according to the requirements of the user. In the present embodiment, the first application is exemplarily described as the belonging application of the page to be displayed.
in this embodiment, the pages of the first application may be laid on a plane parallel to the screen of the mobile terminal according to the preset layout. Fig. 2 is a layout diagram of each page of a first application according to an embodiment of the present application. In the exemplary layout shown in fig. 2, a page a is disposed in a plane, and a page B, a page C, a page D, and a page E are disposed right to the left, right, and above the page a in the plane; a page F and a page G are arranged right and left of the page C; a page H and a page I are provided to the right and right of the page E.
When the mobile terminal displays the page in the full screen, only one page can be displayed at a time. Therefore, before the mobile terminal displays the page to be displayed, in order to avoid the wrong display of other pages besides the page to be displayed of the first application, the page to be displayed needs to be determined from a plurality of pages of the first application. In this embodiment, a page corresponding to a screen of the mobile terminal is used as a page to be displayed by the first application. Referring to fig. 3 to fig. 5, a scene of a page to be displayed corresponding to three mobile terminal screens is specifically illustrated.
in the scenario shown in fig. 3, the mobile terminal screen 21 includes a preset area 211 for determining a corresponding page, where the preset area 211 includes at most one first application page each time, and the mobile terminal screen 21 may include a plurality of complete pages of the first application at the same time. When a certain page of the first application is included in the preset area 211, the mobile terminal takes the page as a page corresponding to the mobile terminal screen 211, that is, a page to be displayed. According to the scenario illustrated in fig. 3, the page a is included in the preset area 211, and therefore the page to be presented by the first application corresponding to the mobile terminal screen 21 is the page a.
in the scenario shown in fig. 4, similar to fig. 3, the mobile terminal screen 21 includes a preset area 212 for determining a corresponding page, the preset area 212 includes at most one first application page at a time, and the mobile terminal screen 21 may include only one complete page of the first application at the same time. When a certain page of the first application is included in the preset area 212, the mobile terminal takes the page as a page corresponding to the mobile terminal screen 212, that is, a page to be displayed. According to the scenario illustrated in fig. 4, the page a is included in the preset area 212, and therefore the page to be presented by the first application corresponding to the mobile terminal screen 21 is the page a.
in the scenario shown in fig. 5, the mobile terminal screen 21 includes at most one complete page of the first application each time, and the mobile terminal takes the only complete page included in the mobile terminal screen 21 as a page corresponding to the mobile terminal screen 21, that is, a page to be displayed. According to the scenario illustrated in fig. 5, the page a is included in the mobile terminal screen 21, and therefore the page to be presented by the first application corresponding to the mobile terminal screen 21 is the page a.
It is understood that, in the above-described scene example, the shapes of the preset region 211 and the preset region 212 may be a rectangle, a circle, an ellipse, and the like, and the shape of the preset region is not particularly limited. The center of gravity positions of the preset region 211 and the preset region 212 may or may not coincide with the center of gravity position of the mobile terminal screen 21 as shown in fig. 3 and 4, respectively, for example, the preset region 211 or the preset region 212 is located above, below, left or right in the mobile terminal screen 21.
it can be understood that, when the user selects a page to be presented from the pages of the first application, the screen of the mobile terminal may correspond to a page that is not currently required to be presented multiple times. In order to prevent the mobile terminal from displaying the current page which is not required to be displayed, the mobile terminal needs to determine the selection of the user through additional user operation. Furthermore, in the application page display method provided in this embodiment, after obtaining the page to be displayed corresponding to the screen of the mobile terminal, the first direction and the first distance of the movement of the mobile terminal need to be obtained.
In this embodiment, the first direction is specifically a moving direction of the mobile terminal after the page to be displayed corresponding to the screen of the mobile terminal is obtained; the first distance is specifically a distance moved by the mobile terminal in a first direction as a moving direction after the page to be displayed corresponding to the screen of the mobile terminal is obtained.
S102: and displaying the page to be displayed when the first direction is determined to be the preset direction and the first distance is greater than a preset first threshold value.
The preset first threshold is a preset distance limit value for triggering the mobile terminal to display the page to be displayed. In this step, the consistency between the first direction and the preset direction and the size relationship between the first distance and the preset first threshold are two determining factors for determining whether the mobile terminal can display the page to be displayed. And only when the mobile terminal determines that the first direction is the preset direction and the first distance is greater than a preset first threshold value, the mobile terminal displays the page to be displayed.
In this embodiment, the preset direction is a direction perpendicular to the screen of the mobile terminal. The preset direction may be a back side direction of the screen of the mobile terminal, or a front side direction of the screen of the mobile terminal. It should be noted that, when the preset direction is used for determining the first direction of the mobile terminal, the preset direction is unique.
As a specific implementation manner, if the preset direction is the back side orientation of the screen of the mobile terminal, when the mobile terminal determines that the first direction is the back side orientation of the screen of the mobile terminal and the first distance is greater than a preset first threshold, displaying the page to be displayed. As another specific implementation manner, if the preset direction is the front side orientation of the screen of the mobile terminal, when the mobile terminal determines that the first direction is the front side orientation of the screen of the mobile terminal and the first distance is greater than a preset first threshold, the page to be displayed is displayed.
in the application page display method provided by the embodiment of the application, the mobile terminal firstly obtains the first application to-be-displayed page corresponding to the screen, and the first direction and the first distance of the mobile terminal; and displaying the page to be displayed when the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value. Therefore, in the method, whether the application page is displayed or not depends only on whether the moving direction and distance of the mobile terminal meet requirements or not, and whether the screen corresponds to a certain page to be displayed of the application or not. According to the method, a user does not need to touch a specific button on a screen or execute a page switching gesture, so that the dependency of page display on manual touch operation of the user is reduced, the convenience of page display is improved, and the user experience is effectively improved.
in practical applications, a mobile terminal is often faced with a need to switch from a current page of a first application being presented at a current time to another page of the first application needing to be presented at a next time. Therefore, on the basis of the application page display method provided by the foregoing embodiment, the embodiment of the present application further provides another application page display method, which details how to implement page switching display.
referring to fig. 6, fig. 6 is a flowchart of an application page display method provided in this embodiment.
The application page display method provided by the embodiment comprises the following steps:
s601: and obtaining a second direction and a second distance of the mobile terminal.
In this embodiment, after the mobile terminal moves in the second direction by the second distance, the first application page corresponding to the screen of the mobile terminal may be determined as the page to be displayed by the first application. Therefore, in this step, in order to correctly obtain the first application to-be-displayed page, the mobile terminal first obtains the second direction and the second distance when the mobile terminal actually moves.
The second direction is parallel to the screen of the mobile terminal and includes at least one of upward, downward, leftward and rightward. The acceleration sensor arranged on the mobile terminal can obtain the motion direction of the mobile terminal, the gyroscope sensor can be used for positioning and orienting the mobile terminal in motion, and the image acquired by the camera sensor can be used for judging the motion direction of the mobile terminal according to the position change of the characteristic points. Accordingly, the second direction of the mobile terminal may be obtained by one or more of an acceleration sensor, a gyro sensor, and a camera sensor. The second direction obtained with the various sensors has a higher accuracy.
referring to fig. 7 to 10, schematic diagrams of the mobile terminal moving in four different directions are respectively illustrated, and fig. 7 to 10 all use the scene of the mobile terminal screen corresponding to the page to be displayed shown in fig. 5 as a moving reference. In the scenario shown in fig. 5, the mobile terminal screen 21 corresponds to page a of the first application.
As shown in fig. 7, after the mobile terminal moves a second distance in a left direction parallel to the mobile terminal screen 21, the page B of the first application is facing the mobile terminal screen 21. Therefore, after moving, the page to be displayed by the first application corresponding to the screen 21 of the mobile terminal is the page B.
as shown in fig. 8, after the mobile terminal moves a second distance in a downward direction parallel to the mobile terminal screen 21, the page C of the first application is facing the mobile terminal screen 21. Therefore, after moving, the page to be displayed by the first application corresponding to the screen 21 of the mobile terminal is the page C.
as shown in fig. 9, the page D of the first application is facing the mobile terminal screen 21 after the mobile terminal moves a second distance in a direction parallel to the mobile terminal screen 21 to the right. Therefore, after moving, the page to be displayed by the first application corresponding to the screen 21 of the mobile terminal is the page D.
As shown in fig. 10, the page E of the first application is facing the mobile terminal screen 21 after the mobile terminal moves a second distance in an upward direction parallel to the mobile terminal screen 21. Therefore, after moving, the page to be displayed by the first application corresponding to the screen 21 of the mobile terminal is the page E.
It should be noted that the mobile terminal may move once to place or move many times to place when moving, and each movement is performed according to any one of the second directions shown in fig. 7 to 10. If the mobile terminal is moved in place several times, the second direction of each movement may be the same or different. And if the mobile terminal is moved for multiple times to reach the position, the acquired second distance is also a second distance corresponding to the second direction respectively acquired aiming at the second direction of each movement.
In this embodiment, when the mobile terminal is moved in the second direction, the acceleration obtained by the acceleration sensor is taken as the second acceleration. The mobile terminal may specifically select an obtaining manner of the second distance according to a magnitude of the second acceleration obtained by the acceleration sensor. Two ways of determining the second distance acquisition method according to the magnitude of the acceleration are provided below.
Firstly, when the second acceleration of the mobile terminal is smaller than or equal to a preset acceleration threshold, the mobile terminal shoots a second environment image by using a camera sensor arranged on the mobile terminal; then, determining the moving distance of the mobile terminal between every two adjacent frames according to the position change of the feature points between every two adjacent frames in the second environment image; and finally, accumulating the moving distances of the mobile terminal between all two adjacent frames to obtain the second distance. For ease of understanding, this embodiment is illustrated below: it takes 2 seconds for the mobile terminal to move in the second direction and the camera takes 2 seconds of video, which consists of frames taken at a frequency of 30 frames per second, so that the video contains a total of 60 frames of images. And determining the moving distance of the mobile terminal between the shooting moments of the two frames of images according to the position change of the feature points in each two adjacent frames of images. Therefore, the distance is accumulated, and the second distance of the mobile terminal moving in the 2-second video shooting process can be obtained.
secondly, when the second acceleration of the mobile terminal is larger than a preset acceleration threshold, obtaining the second time of the mobile terminal moving according to the timer; obtaining a second speed of the mobile terminal according to the second acceleration and the second time; and integrating the second speed in the second time interval to obtain the second distance.
it should be noted that the first manner of obtaining the second distance is more suitable for a scene where the mobile terminal moves at a slow speed and moves more stably, and in this scene, obtaining the second distance through an image processing manner has higher accuracy, and an error existing when obtaining the second distance through the second manner may be corrected by combining the second distance obtained through the first manner. The second way of obtaining the second distance is more suitable for a scene with a fast moving speed of the mobile terminal, in the scene, the image shot by the camera sensor is likely to have a problem of insufficient definition, and the accuracy of obtaining the second distance by calculating the acceleration and the time and integrating the calculation result is higher.
S602: and obtaining a first application to-be-displayed page corresponding to the screen of the mobile terminal according to the second direction, the second distance and the initial position of each page of the first application.
it should be noted that the initial position of each page of the first application refers to a position where each page of the first application is laid on a plane according to a preset layout, and specifically, the plane may be a plane parallel to the screen of the mobile terminal. According to the initial position of each page of the first application, the mobile terminal can obtain the relative position relation of each page before the mobile terminal moves.
for ease of understanding, please refer to the layout diagram of each page of the first application shown in fig. 11. As shown in the exemplary layout of fig. 11, a page a is disposed in a plane parallel to the mobile terminal screen, the page a is located in a preset area 211, and the preset area 211 is used to determine a page corresponding to the mobile terminal screen, that is, the page a is located at a position on the plane opposite to the mobile terminal screen 21. A page B, a page C, a page D and a page E are arranged right to the left, right below, right above the page A in the plane; a page F and a page G are arranged right and left of the page C; a page H and a page I are provided to the right and right of the page E. The horizontal distance of each page is 20mm, and the vertical distance of each page is 30 mm.
It should be noted that fig. 11 is only an exemplary layout of each page of the first application, and each page may have other initial positions and relative position relationships according to the layout. The layout of the pages on the plane is not limited herein.
because the mobile terminal can obtain the relative position relationship of each page according to the initial position of each page, for example, the relative direction and the relative distance of each page on the same plane, and the page right opposite to the screen of the mobile terminal, the mobile terminal performs corresponding calculation according to the actual second direction and the second distance of movement obtained in S601 and the initial position of each page, and can determine the page corresponding to the screen after the mobile terminal moves. It should be noted that the mobile terminal screen corresponds to only one first application page at a time. The page is the first application to-be-displayed page.
S603: a first direction and a first distance of the mobile terminal are obtained.
the first direction of the mobile terminal is the direction of the mobile terminal after the first application to-be-displayed page corresponding to the mobile terminal screen is obtained in S602. The first distance is a distance that the mobile terminal moves in the first direction after the first application to-be-displayed page corresponding to the screen of the mobile terminal is obtained in S602.
the first direction of the mobile terminal may be obtained by one or more of an acceleration sensor, a gyro sensor, and a camera sensor. The first direction obtained with the various sensors has a higher accuracy.
In this embodiment, when the mobile terminal is moved in the first direction, the acceleration obtained by the acceleration sensor is taken as the first acceleration. The mobile terminal may specifically select an obtaining manner of the first distance according to a magnitude of the first acceleration obtained by the acceleration sensor. Two ways of determining the first distance acquisition method according to the magnitude of the acceleration are provided below.
firstly, when a first acceleration of the mobile terminal is smaller than or equal to a preset acceleration threshold, the mobile terminal shoots a first environment image by using a camera sensor arranged on the mobile terminal; then, according to the position change of the feature point between every two adjacent frames in the first environment image, determining the moving distance of the mobile terminal between every two adjacent frames; and finally, accumulating the moving distances of the mobile terminal between all two adjacent frames to obtain the first distance.
Secondly, when the first acceleration of the mobile terminal is larger than a preset acceleration threshold, obtaining the first time of the mobile terminal moving according to the timer; obtaining a first speed of the mobile terminal according to the first acceleration and the first time; and integrating the first speed in the first time interval to obtain the first distance.
It should be noted that the first manner of obtaining the first distance is more suitable for a scene where the mobile terminal moves at a slow speed and moves more stably, and in this scene, obtaining the first distance through an image processing manner has higher accuracy, and an error existing when obtaining the first distance through the second manner may be corrected by combining the first distance obtained through the first manner. The second method for acquiring the first distance is more suitable for a scene with a fast moving speed of the mobile terminal, in the scene, the image shot by the camera sensor is likely to have a problem of insufficient definition, and the accuracy of acquiring the first distance by calculating the acceleration and the time and integrating the calculation result is higher.
S604: and displaying the page to be displayed when the first direction is determined to be the preset direction and the first distance is greater than a preset first threshold value.
Step 604 in this embodiment is the same as step 102 in the previous embodiment, and for brevity, detailed description is omitted here, and for detailed information, refer to the description in the previous embodiment.
In order to facilitate understanding of the implementation processes of S601 to S604, the following specifically exemplifies the implementation processes with reference to fig. 11 to 14.
The initial positions of the pages in the layout diagram of the pages of the first application shown in fig. 11 are taken as an example. Fig. 12 is a schematic diagram of the mobile terminal moving 20mm in a leftward direction parallel to the screen 21 of the mobile terminal. According to the fact that the first direction of movement is leftward, the first distance of movement is 20mm, and the initial positions of the pages, it is determined that the first application page B is a page to be displayed corresponding to the mobile terminal screen 21, and the page B is located in the preset area 211. In this example, the preset direction is the back side orientation of the mobile terminal screen 21. Thereafter, the mobile terminal moves with the back surface of the mobile terminal screen 21 facing, and the page B corresponding to the mobile terminal screen 21 is gradually enlarged as the moving distance is gradually increased. As shown in fig. 13, the schematic diagram is an enlarged effect of the page to be displayed when the mobile terminal moves along the back side of the mobile terminal screen 21. As shown in fig. 14, when the second distance of the movement reaches above the preset first threshold, the mobile terminal determines that the page to be displayed needs to be displayed, so that the real content of the page B, that is, the wechat page, is displayed in a full screen.
s605: and obtaining a third direction and a third distance of the mobile terminal.
The third direction of the mobile terminal movement is the direction of the mobile terminal movement after the mobile terminal displays the page to be displayed S604. The third distance is a distance that the mobile terminal moves in the third direction after the mobile terminal displays the page to be displayed in S604.
Similar to the alternative acquiring manner of the first direction and the second direction, the third direction of the mobile terminal may be acquired by one or more of an acceleration sensor, a gyro sensor, and a camera sensor. The third direction obtained with the various sensors is more accurate.
Similar to the selectable obtaining modes of the first distance and the second distance, the mobile terminal may specifically select the obtaining mode of the third distance according to the magnitude of the acceleration obtained by the acceleration sensor when the mobile terminal moves in the third direction and is obtained by the acceleration sensor. Are described in detail above and will not be described in detail herein.
s606: and when the third direction is determined to be the opposite direction of the first direction and the third distance is greater than a preset second threshold value, the mobile terminal screen corresponds to the page to be displayed.
The preset second threshold is a preset distance limit value for triggering the operation of the mobile terminal screen corresponding to the page to be displayed. In this step, whether the third direction is opposite to the preset direction, and the magnitude relation between the third distance and the preset second threshold are two determining factors for determining whether the mobile terminal can return from the state of displaying the page to be displayed to the state of the page to be displayed corresponding to the screen. And only when the third direction is opposite to the first direction and the third distance is greater than a preset second threshold value, the screen of the mobile terminal corresponds to the page to be displayed.
In this embodiment, the first direction determined in S604 is unique. As a specific implementation manner, if the determined first direction is the back side orientation of the screen of the mobile terminal, when the mobile terminal determines that the third direction is the front side orientation of the screen of the mobile terminal, and the third distance is greater than a preset second threshold, the screen of the mobile terminal corresponds to the page to be displayed. As another specific implementation manner, if the determined first direction is the front side orientation of the screen of the mobile terminal, when the mobile terminal determines that the third direction is the back side orientation of the screen of the mobile terminal, and the third distance is greater than a preset second threshold, the screen of the mobile terminal corresponds to the page to be displayed.
When the mobile terminal returns to the state of the page to be displayed corresponding to the screen from the state of displaying the page to be displayed, the content displayed on the screen of the mobile terminal is converted into a micro window containing the page to be displayed in a preset area or a central area of the screen from the page to be displayed in a full screen mode. The micro window may be a schematic diagram of a page to be displayed, a representative icon of the page to be displayed, or a history screenshot of the page to be displayed, or may be a micro page to be displayed image. It should be noted that the display area of the micro window is always smaller than the full screen display area of the screen.
In the application page display method provided by the embodiment of the application, the mobile terminal firstly obtains the second direction and the second distance of the mobile terminal; and obtaining a first application to-be-displayed page corresponding to the screen of the mobile terminal according to the second direction, the second distance and the initial position of each page of the first application. And then, obtaining a first direction and a first distance of the mobile terminal, and displaying the page to be displayed when the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value. After the page to be displayed is displayed, if the mobile terminal is detected to move, a third direction and a third distance of the mobile terminal are obtained, and when the third direction is determined to be the opposite direction of the first direction and the third distance is greater than a preset second threshold value, the screen of the mobile terminal corresponds to the state of the page to be displayed. Therefore, the method realizes the switching of the state of the mobile terminal from the screen corresponding to the page to be displayed of the first application to the state of displaying the page to be displayed and then returning to the screen corresponding to the page to be displayed. Furthermore, the mobile terminal can switch from displaying a certain page of the first application to displaying another page of the first application by repeatedly executing the application page displaying method provided by the embodiment, so that the requirement of a user for conveniently switching and displaying a plurality of pages of the same application is met.
In addition, the embodiment of the application also provides another optional implementation mode for realizing the effect of page switching display. After the page to be displayed is displayed in the embodiment S604, when the mobile terminal detects that the screen is touched or a preset button on the screen is triggered, the screen of the mobile terminal corresponds to the page to be displayed. To facilitate an understanding of this implementation, the following is exemplified.
The mobile terminal is preset with a button for enabling the mobile terminal to return to the state of the page to be displayed corresponding to the screen from the state of displaying the page to be displayed. The button can be arranged at a position on the mobile terminal convenient for a user to touch, such as the position near a screen locking key of the mobile terminal, on a screen of the mobile terminal, or on the back of a shell of the mobile terminal. Furthermore, the function may share the same button as the existing function of the mobile terminal. When the mobile terminal detects that the button is triggered, the mobile terminal indicates that a user wants to pause or terminate browsing of a currently displayed page and wants to reselect a page to be displayed on a screen, and at the moment, the mobile terminal responds to the triggering operation of the user, and the screen corresponds to the page to be displayed.
It can be understood that, in this embodiment, the mobile terminal may also return to the state of the page to be displayed corresponding to the screen from the state of displaying the page to be displayed in other manners. For example, the above-mentioned functions are implemented in response to a specific gesture of a user, or according to a flip angle of the mobile terminal itself, or the like. Here, the specific implementation manner of returning the mobile terminal from the state of displaying the page to be displayed to the state of the page to be displayed corresponding to the screen is not limited.
corresponding to the application page display method provided by the foregoing embodiment, the embodiment of the present application further provides a mobile terminal. A specific embodiment of the mobile terminal is described below with reference to fig. 15.
the embodiment of the mobile terminal comprises:
Referring to fig. 15, fig. 15 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. The mobile terminal 15 may include: a controller 151 and a screen 21.
the controller 151 is configured to obtain a first application to-be-displayed page corresponding to the screen, and a first direction and a first distance of movement of the mobile terminal; when the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value, controlling the page to be displayed through the screen; the preset direction is a direction perpendicular to the screen of the mobile terminal.
and a screen 21 for displaying a layout of each page of the first application and displaying a page to be displayed of the first application according to the control of the controller 151. The screen 21 displays the layout of the pages of the first application, corresponding to only one page of the first application at a time. When the screen 21 displays the page to be displayed of the first application according to the control of the controller 151, only one page to be displayed of the first application is displayed in a full screen manner at a time.
In the mobile terminal provided by this embodiment, whether the application page is displayed or not depends only on whether the moving direction and distance of the mobile terminal meet the requirements or not, and whether the screen corresponds to a certain page to be displayed of the application. According to the mobile terminal, a user does not need to touch a specific button on a screen or execute a page switching gesture, so that the dependency of page display on manual touch operation of the user is reduced, the convenience of page display is improved, and the user experience is effectively improved.
The embodiment of the present application further provides a non-transitory computer-readable storage medium storing a computer program, where an operation instruction included in the program may be executed by a processor to complete the application page display method provided in the embodiment. The non-transitory computer readable storage medium may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of application page presentation, the method comprising:
The method comprises the steps of obtaining a first application to-be-displayed page corresponding to a screen of a mobile terminal, and a first direction and a first distance of the mobile terminal;
when the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value, displaying the page to be displayed; the preset direction is a direction perpendicular to the screen of the mobile terminal.
Embodiments of the present application further provide a processor, configured to execute an operation instruction included in a computer program stored in a non-transitory computer-readable storage medium:
The method comprises the steps of obtaining a first application to-be-displayed page corresponding to a screen of a mobile terminal, and a first direction and a first distance of the mobile terminal;
When the first direction is determined to be a preset direction and the first distance is greater than a preset first threshold value, displaying the page to be displayed; the preset direction is a direction perpendicular to the screen of the mobile terminal.
The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application in any way. Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application. Those skilled in the art can now make numerous possible variations and modifications to the disclosed embodiments, or modify equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the claimed embodiments. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application without departing from the content of the technical solution of the present application.

Claims (10)

CN201810644466.3A2018-05-112018-06-21Application page display method and mobile terminalActiveCN109753199B (en)

Priority Applications (5)

Application NumberPriority DateFiling DateTitle
CN201810644466.3ACN109753199B (en)2018-06-212018-06-21Application page display method and mobile terminal
PCT/CN2019/086292WO2019214696A1 (en)2018-05-112019-05-09Method, device, and apparatus for interacting with operation object
US16/981,274US11262856B2 (en)2018-05-112019-05-09Interaction method, device and equipment for operable object
SG11202011206UASG11202011206UA (en)2018-05-112019-05-09Interaction method, device and equipment for operable object
PCT/CN2019/088642WO2019242457A1 (en)2018-06-212019-05-27Application page displaying method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810644466.3ACN109753199B (en)2018-06-212018-06-21Application page display method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN109753199A CN109753199A (en)2019-05-14
CN109753199Btrue CN109753199B (en)2019-12-06

Family

ID=66401774

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810644466.3AActiveCN109753199B (en)2018-05-112018-06-21Application page display method and mobile terminal

Country Status (2)

CountryLink
CN (1)CN109753199B (en)
WO (1)WO2019242457A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109753209B (en)2018-06-212020-05-05北京字节跳动网络技术有限公司Application program starting method, device and equipment
CN109753199B (en)*2018-06-212019-12-06北京字节跳动网络技术有限公司Application page display method and mobile terminal
SG11202011206UA (en)*2018-05-112020-12-30Beijing Bytedance Network Technology Co LtdInteraction method, device and equipment for operable object

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106528058A (en)*2015-09-102017-03-22腾讯科技(深圳)有限公司Web page display method and device for game application
CN107066171A (en)*2011-03-212017-08-18广州市动景计算机科技有限公司The multiwindow switching method and system of touch screen terminal
CN107278368A (en)*2017-04-242017-10-20北京小米移动软件有限公司 Screen control method and device
CN107368233A (en)*2017-07-032017-11-21北京小米移动软件有限公司Switching method, device and the equipment of background picture

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103885685B (en)*2012-12-242017-12-15腾讯科技(深圳)有限公司page processing method and device
US10664162B2 (en)*2013-11-182020-05-26Red Hat, Inc.Multiple display management
CN106254409A (en)*2015-11-202016-12-21深圳超多维科技有限公司It is applied to three-dimensional application startup method, the Apparatus and system of mobile terminal
US20170168704A1 (en)*2015-12-152017-06-15Le Holdings (Beijing) Co., Ltd.Apparatus and method for desktop presentation logic control of a handheld device
CN106227423A (en)*2016-07-152016-12-14百度在线网络技术(北京)有限公司Method and apparatus for displayed page
CN106131434A (en)*2016-08-182016-11-16深圳市金立通信设备有限公司A kind of image pickup method based on multi-camera system and terminal
CN106648576B (en)*2016-09-072020-08-21北京珠穆朗玛移动通信有限公司 A method and mobile terminal for realizing quick start of application
CN106502527A (en)*2016-09-292017-03-15北京小米移动软件有限公司Method, device and terminal that a kind of content is shared
CN106598382A (en)*2016-11-172017-04-26北京奇虎科技有限公司Icon sorting method, device and mobile terminal
CN106843682A (en)*2017-01-032017-06-13上海斐讯数据通信技术有限公司A kind of display page layout switch apparatus and method of mobile terminal
CN109753199B (en)*2018-06-212019-12-06北京字节跳动网络技术有限公司Application page display method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107066171A (en)*2011-03-212017-08-18广州市动景计算机科技有限公司The multiwindow switching method and system of touch screen terminal
CN106528058A (en)*2015-09-102017-03-22腾讯科技(深圳)有限公司Web page display method and device for game application
CN107278368A (en)*2017-04-242017-10-20北京小米移动软件有限公司 Screen control method and device
CN107368233A (en)*2017-07-032017-11-21北京小米移动软件有限公司Switching method, device and the equipment of background picture

Also Published As

Publication numberPublication date
WO2019242457A1 (en)2019-12-26
CN109753199A (en)2019-05-14

Similar Documents

PublicationPublication DateTitle
US10401964B2 (en)Mobile terminal and method for controlling haptic feedback
US8860672B2 (en)User interface with z-axis interaction
US9977497B2 (en)Method for providing haptic effect set by a user in a portable terminal, machine-readable storage medium, and portable terminal
KR101720849B1 (en)Touch screen hover input handling
EP2722730B1 (en)Mobile terminal and method for moving cursor thereof
KR101892567B1 (en)Method and apparatus for moving contents on screen in terminal
US11016609B2 (en)Distance-time based hit-testing for displayed target graphical elements
WO2019153824A1 (en)Virtual object control method, device, computer apparatus, and storage medium
US20120287065A1 (en)Electronic device
KR102060962B1 (en)Method and apparatus for moving contents on screen using pointing unit
KR20130097499A (en)Method and apparatus for screen scroll of display apparatus
CN109743438B (en)Method and device for sending multimedia information
US20180032152A1 (en)Mobile terminal and method for determining scrolling speed
EP3605307A1 (en)Method and device for manipulating virtual object, and storage medium
CN109753199B (en)Application page display method and mobile terminal
CN104536661A (en)Terminal screen shot method
CN104461312A (en)Display control method and electronic equipment
CN108174014A (en)A kind of screenshotss method and device
US10108257B2 (en)Electronic device, control method thereof, and storage medium
US9665232B2 (en)Information-processing device, storage medium, information-processing method, and information-processing system for enlarging or reducing an image displayed on a display device
CN109753212B (en)Document transmission method and device and mobile terminal
US9235338B1 (en)Pan and zoom gesture detection in a multiple touch display
CN109753146B (en)Method for starting application by mobile terminal and mobile terminal
US11262856B2 (en)Interaction method, device and equipment for operable object
CN104536564A (en)Terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp