WO2020244085A1 - Screen scrolling method for mobile terminal, screen scrolling device and mobile terminal - Google Patents

Screen scrolling method for mobile terminal, screen scrolling device and mobile terminal Download PDF

Info

Publication number
WO2020244085A1
WO2020244085A1 PCT/CN2019/105262 CN2019105262W WO2020244085A1 WO 2020244085 A1 WO2020244085 A1 WO 2020244085A1 CN 2019105262 W CN2019105262 W CN 2019105262W WO 2020244085 A1 WO2020244085 A1 WO 2020244085A1
Authority
WO
WIPO (PCT)
Prior art keywords
current page
mobile terminal
scrolling
posture
screen
Prior art date
Application number
PCT/CN2019/105262
Other languages
French (fr)
Chinese (zh)
Inventor
卢志辉
Original Assignee
深圳市泰衡诺科技有限公司
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 深圳市泰衡诺科技有限公司 filed Critical 深圳市泰衡诺科技有限公司
Publication of WO2020244085A1 publication Critical patent/WO2020244085A1/en

Links

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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • This application relates to the field of mobile terminal control, and in particular to a method for scrolling the screen of a mobile terminal, as well as a screen scrolling device for executing this method and a mobile terminal for running this method.
  • This application proposes a method for controlling screen scrolling through a built-in gyroscope of a mobile terminal, which specifically includes the following technical solutions:
  • a method for scrolling the screen of a mobile terminal wherein the mobile terminal is provided with a sensor for sensing the posture of the body, and includes the following steps:
  • identifying the start scrolling instruction it further includes: detecting the type of the current page to determine whether the current page satisfies the scrolling display condition.
  • the posture change when controlling the scrolling display of the current page according to the posture change, the posture change has a corresponding relationship with the scroll direction and/or scroll speed of the current page
  • the method further includes:
  • the posture of the body is calibrated as the initial posture.
  • the start scrolling instruction includes long pressing the screen of the mobile terminal, double-clicking the screen of the mobile terminal, pressing both sides of the border of the mobile terminal at the same time, sliding the screen of the mobile terminal quickly, and shaking the mobile terminal.
  • the start scrolling instruction includes long pressing the screen of the mobile terminal, double-clicking the screen of the mobile terminal, pressing both sides of the border of the mobile terminal at the same time, sliding the screen of the mobile terminal quickly, and shaking the mobile terminal.
  • the start scrolling instruction includes long pressing the screen of the mobile terminal, double-clicking the screen of the mobile terminal, pressing both sides of the border of the mobile terminal at the same time, sliding the screen of the mobile terminal quickly, and shaking the mobile terminal.
  • controlling the scroll display of the current page according to the posture change further includes:
  • controlling the scroll display of the current page according to the posture change further includes:
  • the absolute value of the rotation angle or the absolute value of the translation distance of the body relative to the initial posture is sensed to control the scrolling speed of the current page.
  • controlling the scroll display of the current page according to the posture change further includes:
  • the mobile terminal includes a body and is provided with a sensor for sensing the posture of the body.
  • the device includes:
  • Detection module used to detect the type of the current page
  • An acquiring module configured to acquire the posture change of the body relative to a preset initial posture
  • the display module controls the scrolling display of the current page according to the posture change.
  • This application also relates to a mobile terminal, which includes a body, a sensor, a processor, a screen, and a storage device;
  • the storage device stores computer-readable instructions, and the processor invokes the computer-readable instructions to implement the above-mentioned method for scrolling the screen of a mobile terminal.
  • the mobile terminal screen scrolling method of the present application avoids input methods such as sliding, and instead uses postures such as controlling the rotation or translation of the mobile terminal body to control the current page on the screen to scroll.
  • the mobile terminal is preset with an initial position, or the initial position is calibrated by the sensor, and the sensor also senses the posture change of the body relative to the initial position in real time, and then controls the current page to make a corresponding scrolling action.
  • this method does not require separate physical buttons, which is beneficial to improve the screen-to-body ratio and appearance consistency of the mobile terminal.
  • Fig. 1 is a flowchart of a method for scrolling a mobile terminal screen according to the present application
  • FIG. 2 is a flowchart of another embodiment of a method for scrolling a screen of a mobile terminal according to the present application
  • FIG. 3 is a flowchart of another embodiment of a method for scrolling a screen of a mobile terminal according to the present application
  • FIG. 5 is a schematic diagram of the screen scrolling device of the mobile terminal of the present application.
  • Fig. 6 is a schematic diagram of a mobile terminal of the present application.
  • the mobile terminal 100 involved in this application includes a body 101 and a sensor 102.
  • the sensor 102 is used to sense the posture of the body 101, which is a spatial posture, that is, the X-axis, Y-axis, and Z-axis coordinates of the body 101 in a three-dimensional space coordinate system. It is understandable that the sensor 102 can be implemented by a prior art sensing unit such as a gyroscope. Please refer to the mobile terminal screen scrolling method shown in Figure 1, which specifically includes the following steps:
  • the user activates the mobile terminal 100 to enter the scrolling mode by triggering an instruction preset in the mobile terminal 100 to start scrolling.
  • the mobile terminal 100 After the mobile terminal 100 enters the scrolling mode, it detects the current page displayed on the screen 103 of the mobile terminal 100 and identifies the type of the current page.
  • the lower or upper part of the page may also include content not displayed on the screen 103 of the mobile terminal 100 by sliding, or the current page may also include
  • the screen 103 of the mobile terminal 100 is the displayed content, and the mobile terminal 100 senses the posture of the body 101 through the sensor 102, that is, the sensor 102 senses the current real-time three-dimensional coordinates of the body 101. Further, the mobile terminal 100 compares the posture of the body 101 with the initial posture preset in the mobile terminal 100.
  • the posture change of the body 101's implementation posture relative to the preset posture three-dimensional coordinates can be detected.
  • This posture change includes the translation and rotation of the organism 101 relative to the preset posture.
  • the preset posture may be a factory setting of the mobile terminal 100, or may be a posture calibrated by the sensor 102 after the mobile terminal 100 recognizes the start scrolling instruction.
  • the mobile terminal 100 controls the current page displayed on the screen 103 to scroll and display according to the posture change. Because the posture change includes translation or rotation, when the posture change is expressed as a translation, the mobile terminal 100 controls the scrolling direction of the current page according to the translation direction of the body 101 relative to the preset posture. The mobile terminal 100 also controls the translation speed of the current page according to the translation distance of the body 101 relative to the preset posture. When the posture change is represented by rotation, the mobile terminal 100 controls the scrolling direction of the current page according to the rotation direction of the body 101 relative to the preset posture. The mobile terminal 100 also controls the scrolling direction of the current page according to the rotation angle of the body 101 relative to the preset posture. Scroll speed.
  • the user after the user triggers the start of the scrolling instruction, so that the mobile terminal 100 enters the scrolling mode, the user does not need to perform operations such as sliding, touching, or pressing, and directly senses the body 101 relative to the initial posture through the sensor 102 To control the scrolling of the current page on the screen 103.
  • the user When using this method to browse the current page, the user only needs to translate or rotate the body 101 of the mobile terminal 100 to browse the current page completely.
  • the user can also adjust the scrolling direction and speed of the current page by controlling the posture change of the body 101. That is, the scrolling method of this method can be adjusted according to different browsing habits of the user. The user is using this method to adjust the current page.
  • step S30 is directly entered to obtain the posture change of the body 101 relative to the preset initial posture, and based on the posture change Control the scrolling display of the current page. At this time, if the current page has been displayed, the scrolled content is zero, which also belongs to a special embodiment of the control method of this application.
  • step S40 the scrolling display of the current page is controlled according to the posture change, and the preset scrolling method can also be used to expand, regardless of the posture change and the scrolling direction and/or scrolling speed of the current page.
  • Step S40 describes an embodiment of the method of this application, and is not used to limit the protection scope of the method of this application.
  • the method of the present application further includes:
  • the current page has scroll conditions, that is, the current page includes two ends, a starting end and an ending end.
  • the current page includes two ends, an upper end and a lower end.
  • the current page includes two ends of the first page and the last page.
  • the calibration of the initial posture can be calibrated through factory settings for the convenience of users.
  • the initial posture can be calibrated in real time according to different usage scenarios of different users.
  • the method may further include:
  • the posture of the body 101 is calibrated as the initial posture.
  • the first moment when the mobile terminal 100 recognizes the start of the scrolling instruction is T1.
  • the posture of the body 101 of the mobile terminal 100 may slightly shake.
  • the posture of the body 101 is calibrated by the sensor 102, which can provide the time difference after the user triggers the start scrolling instruction.
  • the user can adjust the body 101 back to a comfortable browsing posture within the first preset time interval t1, and use this posture to calibrate the initial posture, which can bring the user a better browsing experience.
  • the method may further include:
  • the user's triggering of a scrolling instruction may cause the posture of the body 101 of the mobile terminal 100 to slightly shake.
  • the calibration is not completed in the first time. Instead, after the user holds the mobile terminal 100 steadily and maintains it for a stable period of time (ie, the second preset time interval t2), the posture of the body 101 is calibrated by the sensor 102 to determine the initial posture.
  • the instruction to start scrolling may include long-pressing the screen 103 of the mobile terminal 100, double-clicking the screen 103 of the mobile terminal 100, pressing both sides of the frame of the mobile terminal 100 at the same time, quickly sliding the screen 103 of the mobile terminal 100, and shaking movement One or more of the terminal 100.
  • this application does not limit other ways of starting the scrolling instruction, and those skilled in the art can choose any matching method to set the starting scrolling instruction on the basis of the prior art.
  • the instruction to stop scrolling may also adopt one or more of the above methods.
  • the instruction to stop scrolling can also be set to be the same as the instruction to start scrolling, which is convenient for users to remember.
  • controlling the scrolling display of the current page according to the posture change further includes:
  • the current page is scrolled upward or forward.
  • the plane formed by the X axis-Y axis is defined as a horizontal plane, and the Z axis is a vertical coordinate axis.
  • the direction of the Y axis can be defined as the first direction 001.
  • the current page scrolls down or back; when the user rotates the mobile terminal in the opposite direction of the first direction 001 100, or when the mobile terminal 100 is translated in the reverse direction along the first direction 001, the current page is scrolled up or page forwarded.
  • the rotation and translation along the first direction 001, or the reverse rotation or translation along the first direction 001 are all defined for the amount of change in the initial posture.
  • the user’s rotation may be accompanied by the rotation of the organism 101 along the Z-axis or X-axis
  • the user’s translational movement may be accompanied by the translation of the organism 101 along the Z-axis or X-axis, which will cause the body 101 to be relative to the original
  • the posture changes by rotating or translating along the Z axis or X axis.
  • only the first direction 001 is used to control the scrolling direction of the current page, which can filter out the interference of the rotation angle or the translation distance caused by the user's rotation action, simplify the data processing volume of the mobile terminal 100, and provide users with more convenience. Control experience.
  • a straight line between the Z axis and the X axis can be set to form the second direction 002.
  • the second direction 002 may be simulated as a direction in which the screen 103 of the mobile terminal 100 faces the user's eyes. Therefore, the user can control the scrolling direction of the current page through the process of panning the mobile terminal 100 back and forth or turning the mobile terminal 100 in the second direction 002, that is, the process of pulling the mobile terminal 100 closer or further, or turning the mobile terminal 100. Provide users with a more convenient control experience.
  • the rotation or translation of the mobile terminal 100 along the second direction 002 is also defined for the posture change of the initial posture.
  • the setting of the second direction 002 can also filter out the interference caused by the user's rotation or translation in the other directions, which simplifies the data processing volume of the mobile terminal 100.
  • the setting of the first direction 001 and the second direction 002 in this application is not limited to the manner in the foregoing embodiment.
  • the user can adjust the settings of the first direction 001 and the second direction 002 according to their own habits. That is, the first direction 001 can be a rotation direction around any axis in space or a translation direction along any axis; the second direction 002 can also be a rotation direction around any axis and a translation direction along any axis in space.
  • the first direction 001 and the second direction 002 need to be set at an included angle, that is, the first direction 001 and the second direction 002 are in a non-parallel relationship.
  • the current page may slide up and down and turn pages back and forth at the same time.
  • the rotation or translation in the first direction 001 can be distinguished from the rotation or translation in the second direction 002, namely Set the rotation action in the first direction 001 as page turning or sliding, and correspondingly set the translation movement in the second direction 002 as sliding or page turning; or set the translation movement in the first direction 001 as page turning or sliding, threshold
  • the rotation action of setting the second direction 002 is sliding or page turning.
  • a first direction 001 corresponding to page turning and a third direction corresponding to sliding are set, wherein the first direction 001 and the third direction are a first angle in space; or set The second direction 002 corresponding to page turning and the fourth direction corresponding to sliding (not shown in the figure), and the second direction 002 and the fourth direction are a second angle to each other in space.
  • the introduction of the first included angle and the second included angle ensures that the first direction 001 and the third direction will not be parallel to distinguish the operation that the user needs to perform when rotating in the first direction 001 or the third direction is page turning or sliding action , And distinguish that the operation that the user needs to perform when panning in the second direction 002 or the fourth direction is page turning or sliding action.
  • the present application also relates to an embodiment in which the first direction 001 is set as the Y axis, and the second direction 002 is set as the X axis.
  • the user holds the mobile terminal 100 to rotate around the first direction 001 to control the sliding of the current page, and the user holds the mobile terminal 100 to rotate around the second direction 002 to control the page turning of the current page. Because only the user's rotating motion is sensed to correspond to the user's operation on the current page, the data processing volume of the mobile terminal 100 can be further simplified, and at the same time, a more convenient control experience for the user can be provided.
  • the user's translation in the first direction 001 may also be set to control the sliding operation of the current page, and the user's translation in the second direction 002 may correspond to the control of the page turning operation of the current page, which can also achieve the similar effects of the foregoing embodiment.
  • the mobile terminal 100 only senses the user's movement state relative to the first direction 001 to realize the sliding and page turning operations at the same time: setting the user to hold the mobile terminal 100 around the first direction 001 Rotate to control the sliding of the current page, and set the user to hold the mobile terminal 100 to translate in the first direction 001 to control the page turning of the current page. Or, set the user to hold the mobile terminal 100 to translate in the first direction 001 to control the sliding of the current page, and set the user to hold the mobile terminal 100 to rotate around the first direction 001 to control the page turning of the current page.
  • the mobile terminal 100 because the mobile terminal 100 only senses the user's motion state relative to the first direction 001 to control the sliding and page turning operations at the same time, it also simplifies the data processing volume of the mobile terminal 100 and provides the user with more convenient control. Experience. Further, in this embodiment, there is only a variable in one direction, and there is no need to refer to whether the second direction 002 exists. Therefore, the first direction 001 can be arbitrarily set according to the user's usage habits, regardless of the angle or non-parallel state of the first direction 001 and the second direction 002 and other restrictions.
  • controlling the scrolling display of the current page according to the posture change further includes:
  • the user can also adjust the scrolling speed of the current page.
  • the greater the posture change of the body 101 from the initial posture the faster the scrolling or page turning speed of the current page.
  • the user holds the mobile terminal 100 and makes the rotation angle of the body 101 relative to the initial posture, the faster the current page scrolls down or backwards;
  • the user holds the mobile terminal 100, and the reverse of the first direction 001 makes the rotation angle of the body 101 relative to the initial posture larger, and the current page scrolls upward or forwards faster. That is, the larger the absolute value of the rotation angle of the body 101 relative to the initial posture, the faster the scrolling speed or page turning speed of the mobile terminal 100 on the current page.
  • controlling the scrolling display of the current page according to the posture change further includes:
  • the mobile terminal 100 may preset a speed lock instruction for the user to lock the current scroll speed by triggering the speed lock instruction after adjusting a suitable scroll speed or page turning speed.
  • the speed lock screen command can also include long pressing the screen 103 of the mobile terminal 100, double-clicking the screen 103 of the mobile terminal 100, pressing both sides of the border of the mobile terminal 100 at the same time, quickly sliding the screen 103 of the mobile terminal 100, and shaking the screen 103 of the mobile terminal 100.
  • This application does not limit other speed command modes, and those skilled in the art can choose any matching mode to set the speed lock command on the basis of the prior art.
  • the mobile terminal 100 After the mobile terminal 100 recognizes the speed lock instruction, it maintains the scrolling speed and scrolling direction of the current page, and continues the scrolling display of the current page. At this time, the sensor 102 no longer detects the real-time posture of the body 101.
  • the user can place the mobile terminal 100 at any angle and position to browse. For example, if the user holds the mobile terminal 100 back to the initial posture for browsing, the user’s browsing posture is more comfortable at this time. Or, the user places the mobile terminal 100 on a plane such as a desktop for browsing, which can further free his hands to engage in other tasks without affecting the user's browsing actions on the current page.
  • this application relates to a device 200 for scrolling the screen 103 of a mobile terminal.
  • the mobile terminal 100 includes a body 101 and is provided with a sensor 102 for sensing the posture of the body 101.
  • the device 200 of the present application includes:
  • the identification module 201 is used to identify the start scrolling instruction
  • the detection module 202 is used to detect the type of the current page
  • the acquiring module 203 is configured to acquire the posture change of the body 101 relative to a preset initial posture
  • the display module 204 is used to control the scrolling display of the current page according to the posture change.
  • the device 200 of the present application After the recognition module 201 recognizes the start scrolling instruction, the device 200 of the present application starts the detection module 202 to detect the type of the current page. If the type of the current page satisfies the scroll display condition, the acquiring module 203 acquires the posture change of the body 101 relative to the preset initial posture. The display module 204 controls the scrolling display action of the current page according to the posture change, where the posture change may have a corresponding relationship with the scroll direction and/or scroll speed of the current page. The device 200 of the present application uses postures such as rotation or translation of the body 101 of the mobile terminal 100 to control the scrolling of the current page.
  • the acquiring module 203 acquires the posture change of the body 101 relative to the initial posture in real time, and the display module 204 corresponds to the display of the current page according to the posture change.
  • the device 200 of the present application does not require separate physical buttons, which is beneficial to improve the screen-to-body ratio and appearance consistency of the mobile terminal 100.
  • the display module 204 is further configured to control the posture change to correspond to the scroll direction and/or scroll speed of the current page when controlling the scroll display of the current page according to the posture change. relationship.
  • the display module 204 is further configured to stop scrolling the current page when the current page is scrolled to the end or a stop scrolling instruction is recognized.
  • the acquiring module 203 is configured to define the first time T1 when the start scrolling instruction is recognized after identifying the start scrolling instruction;
  • the posture of the body 101 is calibrated as the initial posture.
  • the acquiring module 203 is configured to: after recognizing the start scrolling instruction, detect the posture change state of the body 101 within the second preset time interval t2;
  • the posture of the body 101 in a stable state is calibrated as the initial posture.
  • the identification module 201 is configured to identify one or more of the following operations of the user as a scrolling start instruction:
  • the display module 204 is used to scroll or translate the current page displayed when the body 101 rotates or translates in the first direction 001 relative to the initial posture, or rotates or translates in the second direction 002 relative to the initial posture. Or page backward;
  • the body 101 rotates or translates in the reverse direction in the first direction 001 relative to the initial posture, or rotates or translates in the second direction 002 relative to the initial posture, the displayed current page is scrolled upward or the page is turned forward.
  • the obtaining module 203 is configured to obtain the absolute value of the rotation angle or the absolute value of the translation distance of the body 101 relative to the initial posture, so as to control the scrolling speed of the current page.
  • the display module 204 is configured to control the current page to maintain the current scroll direction or scroll speed after recognizing the speed lock instruction.
  • each operation in FIG. 5 may also correspond to the corresponding description of the method embodiments shown in FIG. 1 to FIG. 3.
  • the present application also relates to the above-mentioned mobile terminal 100.
  • 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, which includes a body 101, a sensor 102, a processor 104, a screen 103, and a storage device 105.
  • the processor 104, the storage device 105, and the sensor 102 can interact with data.
  • the storage device 105 stores computer-readable instructions, and the processor 104 calls the computer-readable instructions to implement the aforementioned method for scrolling the mobile terminal screen 103.
  • the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
  • the storage device 105 may include a volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the storage device 105 may also include non-volatile memory (non-volatile memory), such as flash memory, solid-state drive drive, SSD), etc.; the storage device 105 may also include a combination of the foregoing types of memories.
  • volatile memory such as random-access memory (random-access memory, RAM)
  • non-volatile memory such as flash memory, solid-state drive drive, SSD
  • the storage device 105 may also include a combination of the foregoing types of memories.
  • the processor 104 may be a central processing unit (central processing unit, CPU).
  • the processor 401 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), Application Specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the processor 104 calls a computer-readable instruction stored in the storage device 105 to perform the following operations when controlling the scrolling display of the current page according to the posture change:
  • the posture change has a corresponding relationship with the scroll direction and/or scroll speed of the current page.
  • the processor 104 calls a computer-readable instruction stored in the storage device 105 to perform the following operations when the current page is scrolled to the end or an instruction to stop scrolling is recognized:
  • the processor 104 calls the computer-readable instructions stored in the storage device 105, and after recognizing the start scrolling instruction, performs the following operations:
  • the posture of the body 101 is calibrated as the initial posture.
  • the processor 104 calls the computer-readable instructions stored in the storage device 105, and after recognizing the start scrolling instruction, performs the following operations:
  • the posture of the body 101 in a stable state is calibrated as the initial posture.
  • the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
  • the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
  • the sensing body 101 rotates or translates in the first direction 001 relative to the initial posture, or rotates or translates in the second direction 002 relative to the initial posture, the current page is scrolled down or the page is turned back;
  • the current page is scrolled upward or forward.
  • the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
  • the absolute value of the rotation angle or the absolute value of the translation distance of the sensing body 101 relative to the initial posture is used to control the scrolling speed of the current page.
  • the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
  • the mobile terminal 100 of this application controls the scrolling display of the current page by controlling the rotation or translation of the body 101 and other postures.
  • the mobile terminal 100 uses the sensor 102 to calibrate the initial position, and further uses the sensor 102 to sense the posture change of the body 101 in real time.
  • the processor 104 controls the screen 103 to scroll the current page accordingly.
  • the scrolling display of the mobile terminal 100 of the present application saves a lot of tedious operations and effectively avoids the occurrence of false touches.
  • the body 101 does not require separate physical buttons, which is beneficial to improve the screen-to-body ratio and appearance consistency of the mobile terminal 100.
  • each operation in FIG. 6 may also correspond to the corresponding description of the method embodiments shown in FIGS. 1 to 3.
  • the computer-readable instructions can be stored in a computer-readable storage.
  • the computer-readable storage medium may be a non-volatile readable storage medium, and when the computer-readable instructions are executed, they may include processes as in the foregoing method embodiments.
  • the storage medium can be a magnetic disk, an optical disk, a read-only storage memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM), etc.

Landscapes

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

Abstract

A method for controlling the scrolling of a current page on a screen by rotating or translating a body of a mobile terminal. The method comprises: recognizing a screen rolling starting instruction (S10); detecting the type of a current page (S20); acquiring a posture change of the body relative to an initial posture (S30); and controlling the scrolling of the current page according to the posture change (S40). The method is easier to operate with respect to a swiping input, and can effectively prevent the occurrence of mistaken touch.

Description

移动终端屏幕滚动方法、屏幕滚动装置及移动终端 Screen scrolling method of mobile terminal, screen scrolling device and mobile terminal To
本申请要求于2019年6月6日提交中国专利局、申请号为201910489351.6、发明名称为“移动终端屏幕的滚动控制方法,以及执行此方法的屏幕滚动装置和运行此方法的移动终端”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application requires that it be filed with the Chinese Patent Office on June 6, 2019, the application number is 201910489351.6, and the invention title is "Mobile terminal screen scrolling control method, and screen scrolling device for executing this method and mobile terminal for operating this method" China The priority of a patent application is incorporated in the application by reference in its entirety.
技术领域Technical field
本申请涉及移动终端控制领域,尤其涉及一种移动终端屏幕的滚动控制方法,以及执行此方法的屏幕滚动装置和运行此方法的移动终端。This application relates to the field of mobile terminal control, and in particular to a method for scrolling the screen of a mobile terminal, as well as a screen scrolling device for executing this method and a mobile terminal for running this method.
背景技术Background technique
当前,以手机、平板为代表的移动终端设备越来越普及。这些移动终端多采用大屏幕触控等方式来实现操控。但随着屏幕的不断增大,要在屏幕上浏览较长的网页、竖向排版的图片或者需要连续翻页的界面时,往往需要用户在屏幕上进行大量的滑动输入才能完成浏览。滑动输入经常伴随有误触,导致点击到侧边滑动条,或侧边广告、链接等情况,给用户带来不良的体验。Currently, mobile terminal devices represented by mobile phones and tablets are becoming more and more popular. These mobile terminals mostly use large-screen touch controls to achieve control. However, with the continuous increase of screens, when browsing long web pages, vertically typeset pictures or interfaces that require continuous page turning on the screen, users often need to perform a large amount of sliding input on the screen to complete the browsing. Sliding input is often accompanied by false touches, leading to clicks on the side slider, or side advertisements, links, etc., which brings a bad experience to users.
发明内容Summary of the invention
本申请提出一种通过移动终端内置的陀螺仪来控制屏幕滚动的方法,具体包括如下技术方案:This application proposes a method for controlling screen scrolling through a built-in gyroscope of a mobile terminal, which specifically includes the following technical solutions:
一种移动终端屏幕滚动方法,所述移动终端设置有传感器用于感测机体的姿态,包括以下步骤:A method for scrolling the screen of a mobile terminal, wherein the mobile terminal is provided with a sensor for sensing the posture of the body, and includes the following steps:
识别启动滚屏指令;Recognize the start scrolling instruction;
获取所述机体相对于预设的初始姿态的姿态变化;Acquiring the posture change of the body relative to the preset initial posture;
根据所述姿态变化控制所述当前页面滚动显示。Controlling the scrolling display of the current page according to the posture change.
其中,在识别启动滚屏指令后,还包括:检测当前页面的类型,以判定当前页面是否满足滚动显示条件。Wherein, after identifying the start scrolling instruction, it further includes: detecting the type of the current page to determine whether the current page satisfies the scrolling display condition.
其中,根据所述姿态变化控制所述当前页面滚动显示时,所述姿态变化与所述当前页面的滚动方向和/或滚动速度具有对应关系Wherein, when controlling the scrolling display of the current page according to the posture change, the posture change has a corresponding relationship with the scroll direction and/or scroll speed of the current page
其中,所述方法还包括:Wherein, the method further includes:
当所述当前页面滚动至端部或识别到停止滚屏指令时,停止滚动所述当前页面。When the current page is scrolled to the end or a stop scrolling instruction is recognized, stop scrolling the current page.
其中,在识别所述启动滚屏指令之后,还包括:Wherein, after recognizing the start scrolling instruction, it further includes:
定义识别到所述启动滚屏指令的时间为第一时刻;Define the time when the start scrolling instruction is recognized as the first moment;
在所述第一时刻延迟第一预设时间间隔后,标定所述机体的姿态为初始姿态。After the first time is delayed by a first preset time interval, the posture of the body is calibrated as the initial posture.
其中,在识别所述启动滚屏指令之后,还包括:Wherein, after recognizing the start scrolling instruction, it further includes:
检测所述机体在第二预设时间间隔内的姿态变化状态;Detecting the posture change state of the body within the second preset time interval;
若所述机体处于稳定状态,则将所述机体处于稳定状态下的姿态标定为初始姿态。If the body is in a stable state, calibrate the posture of the body in a stable state as the initial posture.
其中,所述启动滚屏指令包括长按所述移动终端的屏幕、双击所述移动终端的屏幕、两侧同时按压所述移动终端的边框、快速滑动所述移动终端的屏幕、及晃动所述移动终端中的一者或多者。Wherein, the start scrolling instruction includes long pressing the screen of the mobile terminal, double-clicking the screen of the mobile terminal, pressing both sides of the border of the mobile terminal at the same time, sliding the screen of the mobile terminal quickly, and shaking the mobile terminal. One or more of the terminals.
其中,根据所述姿态变化控制所述当前页面滚动显示还包括:Wherein, controlling the scroll display of the current page according to the posture change further includes:
感应所述机体相对于所述初始姿态沿第一方向旋转或平移,或相对于所述初始姿态沿第二方向旋转或平移时,所述当前页面向下滚动或者向后翻页;Sensing that when the body rotates or translates in a first direction relative to the initial posture, or rotates or translates in a second direction relative to the initial posture, the current page scrolls down or page backwards;
感应所述机体相对于所述初始姿态沿所述第一方向的反向旋转或平移,或相对于所述初始姿态沿所述第二方向的反向旋转或平移时,所述当前页面向上滚动或者向前翻页。When sensing the reverse rotation or translation of the body in the first direction relative to the initial posture, or the reverse rotation or translation in the second direction relative to the initial posture, the current page scrolls upward Or page forward.
其中,根据所述姿态变化控制所述当前页面滚动显示还包括:Wherein, controlling the scroll display of the current page according to the posture change further includes:
感应所述机体相对于所述初始姿态的旋转角度绝对值大小或平移距离绝对值大小以控制所述当前页面的滚动速度。The absolute value of the rotation angle or the absolute value of the translation distance of the body relative to the initial posture is sensed to control the scrolling speed of the current page.
其中,根据所述姿态变化控制所述当前页面滚动显示还包括:Wherein, controlling the scroll display of the current page according to the posture change further includes:
识别速度锁定指令;Identify the speed lock command;
控制所述当前页面保持当前的滚动方向或滚动速度。Control the current page to maintain the current scrolling direction or scrolling speed.
本申请涉及一种移动终端屏幕滚动装置,所述移动终端包括机体,并设置有传感器用于感测所述机体的姿态,所述装置包括:This application relates to a screen scrolling device for a mobile terminal. The mobile terminal includes a body and is provided with a sensor for sensing the posture of the body. The device includes:
识别模块,用于识别启动滚屏指令;Recognition module, used to recognize the start scrolling instruction;
检测模块,用于检测当前页面的类型;Detection module, used to detect the type of the current page;
获取模块,用于获取所述机体相对于预设的初始姿态的姿态变化;An acquiring module, configured to acquire the posture change of the body relative to a preset initial posture;
显示模块,根据所述姿态变化控制所述当前页面滚动显示。The display module controls the scrolling display of the current page according to the posture change.
本申请还涉及一种移动终端,所述终端包括机体、传感器、处理器、屏幕、以及存储装置;This application also relates to a mobile terminal, which includes a body, a sensor, a processor, a screen, and a storage device;
所述存储装置中存储有计算机可读指令,所述处理器调用所述计算机可读指令用于实现上述的移动终端屏幕滚动方法。The storage device stores computer-readable instructions, and the processor invokes the computer-readable instructions to implement the above-mentioned method for scrolling the screen of a mobile terminal.
本申请移动终端屏幕滚动方法避开了滑动等输入方式,转而采用控制所述移动终端机体的旋转或平移等姿态来控制屏幕上的当前页面进行滚动。所述移动终端预设有初始位置,或通过所述传感器标定出初始位置,所述传感器还实时感知所述机体相对于初始位置的姿态变化,进而控制当前页做出相对应的滚动动作。用户在采用本申请方法控制屏幕的滚动时,省去了大量繁琐的滑动操作,有效避免了误触的发生。同时,本方法不需要单独设置物理按键,有利于提高移动终端的屏占比和外观一致性。The mobile terminal screen scrolling method of the present application avoids input methods such as sliding, and instead uses postures such as controlling the rotation or translation of the mobile terminal body to control the current page on the screen to scroll. The mobile terminal is preset with an initial position, or the initial position is calibrated by the sensor, and the sensor also senses the posture change of the body relative to the initial position in real time, and then controls the current page to make a corresponding scrolling action. When the user uses the method of the present application to control the scrolling of the screen, a lot of tedious sliding operations are omitted, and the occurrence of accidental touches is effectively avoided. At the same time, this method does not require separate physical buttons, which is beneficial to improve the screen-to-body ratio and appearance consistency of the mobile terminal.
附图说明Description of the drawings
图1是本申请移动终端屏幕滚动方法的流程图;Fig. 1 is a flowchart of a method for scrolling a mobile terminal screen according to the present application;
图2是本申请移动终端屏幕滚动方法另一实施例的流程图;2 is a flowchart of another embodiment of a method for scrolling a screen of a mobile terminal according to the present application;
图3是本申请移动终端屏幕滚动方法另一实施例的流程图;3 is a flowchart of another embodiment of a method for scrolling a screen of a mobile terminal according to the present application;
图4是本申请移动终端标定坐标的示意图;4 is a schematic diagram of the calibration coordinates of the mobile terminal of the present application;
图5是本申请移动终端屏幕滚动装置的示意图;FIG. 5 is a schematic diagram of the screen scrolling device of the mobile terminal of the present application;
图6是本申请移动终端的示意图。Fig. 6 is a schematic diagram of a mobile terminal of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其它实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请涉及的移动终端100包括机体101,以及传感器102。传感器102用于感测机体101的姿态,该姿态为空间姿态,即机体101在三维空间坐标系内的X轴、Y轴、Z轴坐标。可以理解的,传感器102可以采用陀螺仪等现有技术传感单元来实现。请参阅图1所示的移动终端屏幕滚动方法,具体包括以下步骤:The mobile terminal 100 involved in this application includes a body 101 and a sensor 102. The sensor 102 is used to sense the posture of the body 101, which is a spatial posture, that is, the X-axis, Y-axis, and Z-axis coordinates of the body 101 in a three-dimensional space coordinate system. It is understandable that the sensor 102 can be implemented by a prior art sensing unit such as a gyroscope. Please refer to the mobile terminal screen scrolling method shown in Figure 1, which specifically includes the following steps:
S10、识别启动滚屏指令;S10. Identify the start scrolling instruction;
具体的,用户通过触发移动终端100内预设的启动滚屏的指令,来启动移动终端100进入滚屏模式。Specifically, the user activates the mobile terminal 100 to enter the scrolling mode by triggering an instruction preset in the mobile terminal 100 to start scrolling.
S20、检测当前页面的类型;S20. Detect the type of the current page;
具体的,移动终端100进入滚屏模式后,对移动终端100的屏幕103所显示的当前页面进行检测,并识别当前页面的类型。Specifically, after the mobile terminal 100 enters the scrolling mode, it detects the current page displayed on the screen 103 of the mobile terminal 100 and identifies the type of the current page.
S30、若当前页面的类型满足滚动显示条件,则获取机体101相对于预设的初始姿态的姿态变化;S30: If the type of the current page satisfies the scrolling display condition, acquire the posture change of the body 101 relative to the preset initial posture;
具体的,如果当前页面的类型满足滚动显示的条件,如当前页面未完全显示,其下部或上部通过滑动还包括有移动终端100的屏幕103未显示的内容,或者当前页面通过翻页还包括有移动终端100的屏幕103为显示的内容,则移动终端100通过传感器102来感应机体101的姿态,即传感器102感应机体101当前的实时三维坐标。进一步,移动终端100将机体101的姿态与移动终端100内预设的初始姿态进行比较。通过机体101的实时姿态三维坐标和预设姿态三维坐标的对比,可以检测出机体101实施姿态相对于预设姿态三维坐标的姿态变化。这个姿态变化包括有机体101相对于预设姿态的平移以及转动两种动作。可以理解的,预设姿态可以是移动终端100的出厂设置,也可以是移动终端100在识别启动滚屏指令后通过传感器102标定的姿态。Specifically, if the type of the current page satisfies the scrolling display conditions, for example, the current page is not completely displayed, the lower or upper part of the page may also include content not displayed on the screen 103 of the mobile terminal 100 by sliding, or the current page may also include The screen 103 of the mobile terminal 100 is the displayed content, and the mobile terminal 100 senses the posture of the body 101 through the sensor 102, that is, the sensor 102 senses the current real-time three-dimensional coordinates of the body 101. Further, the mobile terminal 100 compares the posture of the body 101 with the initial posture preset in the mobile terminal 100. By comparing the real-time posture three-dimensional coordinates of the body 101 with the preset posture three-dimensional coordinates, the posture change of the body 101's implementation posture relative to the preset posture three-dimensional coordinates can be detected. This posture change includes the translation and rotation of the organism 101 relative to the preset posture. It is understandable that the preset posture may be a factory setting of the mobile terminal 100, or may be a posture calibrated by the sensor 102 after the mobile terminal 100 recognizes the start scrolling instruction.
S40、根据姿态变化控制当前页面滚动显示,姿态变化与当前页面的滚动方向和/或滚动速度具有对应关系。S40. Control the scrolling display of the current page according to the posture change, and the posture change has a corresponding relationship with the scroll direction and/or scroll speed of the current page.
具体的,在传感器102检测出机体101的姿态变化后,移动终端100根据姿态变化来控制屏幕103上显示的当前页面进行滚动显示。因为姿态变化包括平移或旋转两种情况,在姿态变化表现为平移时,移动终端100根据机体101相对于预设姿态的平移方向来控制当前页面的滚动方向。移动终端100还根据机体101相对于预设姿态的平移距离来控制当前页面的平移速度。当姿态变化表现为旋转时,移动终端100根据机体101相对于预设姿态的旋转方向来控制当前页面的滚动方向,移动终端100还根据机体101相对于预设姿态的旋转角度来控制当前页面的滚动速度。Specifically, after the sensor 102 detects the posture change of the body 101, the mobile terminal 100 controls the current page displayed on the screen 103 to scroll and display according to the posture change. Because the posture change includes translation or rotation, when the posture change is expressed as a translation, the mobile terminal 100 controls the scrolling direction of the current page according to the translation direction of the body 101 relative to the preset posture. The mobile terminal 100 also controls the translation speed of the current page according to the translation distance of the body 101 relative to the preset posture. When the posture change is represented by rotation, the mobile terminal 100 controls the scrolling direction of the current page according to the rotation direction of the body 101 relative to the preset posture. The mobile terminal 100 also controls the scrolling direction of the current page according to the rotation angle of the body 101 relative to the preset posture. Scroll speed.
由此,本申请移动终端屏幕滚动方法在用户触发启动滚屏指令,使得移动终端100进入滚屏模式之后,无需用户再进行滑动、触摸或者按压等操作,而直接通过传感器102感应机体101相对于初始姿态的姿态变化来控制当前页面在屏幕103上的滚动。用户在采用本方法浏览当前页面时,只需要通过平移或旋转移动终端100的机体101,即可对当前页面进行完整的浏览。而且用户还可以通过控制机体101的姿态变化,来自行匹配当前页面的滚动方向和滚动速度,即本方法的滚屏方式可以根据用户不同的浏览习惯来进行调整,用户在采用本方法对当前页面进行浏览时,操作简便准确,获得了较好的用户体验。同时,由于采用本方法进行滚动浏览时,无需按键或滑动操作,还有助于移动终端100减少物理按键的设置,可以提高机体101的外观一致性。Therefore, in the mobile terminal screen scrolling method of the present application, after the user triggers the start of the scrolling instruction, so that the mobile terminal 100 enters the scrolling mode, the user does not need to perform operations such as sliding, touching, or pressing, and directly senses the body 101 relative to the initial posture through the sensor 102 To control the scrolling of the current page on the screen 103. When using this method to browse the current page, the user only needs to translate or rotate the body 101 of the mobile terminal 100 to browse the current page completely. Moreover, the user can also adjust the scrolling direction and speed of the current page by controlling the posture change of the body 101. That is, the scrolling method of this method can be adjusted according to different browsing habits of the user. The user is using this method to adjust the current page. When browsing, the operation is simple and accurate, and a better user experience is obtained. At the same time, since this method is used for scrolling and browsing, no buttons or sliding operations are required, which also helps the mobile terminal 100 reduce physical button settings, and can improve the appearance consistency of the body 101.
可以理解的,本申请方法也可以省去检测当前页面的环节,在S10识别到启动滚屏指令之后,直接进入S30步骤,获取机体101相对于预设的初始姿态的姿态变化,并基于该姿态变化控制当前页面滚动显示。此时如果当前页面已显示完毕,则滚动显示的内容为零,也属于本申请控制方法的一种特殊实施例。It is understandable that the method of this application can also omit the link of detecting the current page. After the start scrolling instruction is recognized in S10, step S30 is directly entered to obtain the posture change of the body 101 relative to the preset initial posture, and based on the posture change Control the scrolling display of the current page. At this time, if the current page has been displayed, the scrolled content is zero, which also belongs to a special embodiment of the control method of this application.
另一方面,步骤S40中,根据姿态变化控制当前页面的滚动显示,也可以采用预设的滚动方式来展开,而不考虑姿态变化与当前页面的滚动方向和/或滚动速度具有对应关系。S40步骤描述了本申请方法中一种实施例,并不用于限定本申请方法的保护范围。On the other hand, in step S40, the scrolling display of the current page is controlled according to the posture change, and the preset scrolling method can also be used to expand, regardless of the posture change and the scrolling direction and/or scrolling speed of the current page. Step S40 describes an embodiment of the method of this application, and is not used to limit the protection scope of the method of this application.
一种实施例,参看图2,本申请方法还包括:In an embodiment, referring to FIG. 2, the method of the present application further includes:
S50、当当前页面滚动至端部或识别到停止滚屏指令时,停止滚动当前页面。S50: Stop scrolling the current page when the current page is scrolled to the end or a stop scrolling instruction is recognized.
具体的,当前页面具备滚动条件,即当前页面包括起始端和结束端两个端部,在上下滚动的场景下,也可以理解为当前页面包括上端和下端两个端部。在前后翻页的场景下,当前页面包括首页和尾页两个端部。用户在滚动浏览当前页面的过程中,当当前页面朝向一个方向滚动至任一端部时,当前页面已经全部显示完成,大多数情况下用户在当前页面全部显示完成后已经完成了浏览动作,设定当前页面滚动至端部后停止滚动当前页面,或在移动终端100识别到停止滚屏指令时停止滚动当前页面,即移动终端100退出滚动模式,可以方便用户进一步的后续操作。Specifically, the current page has scroll conditions, that is, the current page includes two ends, a starting end and an ending end. In the scenario of scrolling up and down, it can also be understood that the current page includes two ends, an upper end and a lower end. In the scenario of page turning back and forth, the current page includes two ends of the first page and the last page. When the user is scrolling through the current page, when the current page is scrolled to either end in one direction, the current page has been completely displayed. In most cases, the user has completed the browsing action after the current page is completely displayed. Stop scrolling the current page after scrolling the current page to the end, or stop scrolling the current page when the mobile terminal 100 recognizes the stop scrolling instruction, that is, the mobile terminal 100 exits the scrolling mode, which can facilitate further subsequent operations of the user.
前述中提到,对于初始姿态的标定,可以通过出厂设置时进行标定,以便于用户使用。另一种实施例,也可以根据不同用户的使用场景不同,来实时标定初始姿态。在识别启动滚屏指令之后,本方法还可以包括:As mentioned in the foregoing, the calibration of the initial posture can be calibrated through factory settings for the convenience of users. In another embodiment, the initial posture can be calibrated in real time according to different usage scenarios of different users. After recognizing the start scrolling instruction, the method may further include:
S11、定义识别到启动滚屏指令的时间为第一时刻T1;S11. Define the time when the scrolling instruction is recognized as the first time T1;
S12、在第一时刻T1延迟第一预设时间间隔t1后,标定机体101的姿态为初始姿态。S12. After the first time T1 is delayed by the first preset time interval t1, the posture of the body 101 is calibrated as the initial posture.
具体的,移动终端100在识别到启动滚屏指令的第一时刻为T1,此时因为用户触发启动滚屏指令的动作,可能造成移动终端100的机体101的姿态存在轻微晃动。待第一预设时间间隔t1之后再通过传感器102对机体101的姿态进行标定,可以提供用户触发启动滚屏指令后的时间差。用户在第一预设时间间隔t1之内可以将机体101调整回舒适的浏览姿态,并采用该姿态标定为初始姿态,可以带给用户更好的浏览体验。Specifically, the first moment when the mobile terminal 100 recognizes the start of the scrolling instruction is T1. At this time, because the user triggers the start of the scrolling instruction, the posture of the body 101 of the mobile terminal 100 may slightly shake. After the first preset time interval t1, the posture of the body 101 is calibrated by the sensor 102, which can provide the time difference after the user triggers the start scrolling instruction. The user can adjust the body 101 back to a comfortable browsing posture within the first preset time interval t1, and use this posture to calibrate the initial posture, which can bring the user a better browsing experience.
另一种实施例,参见图3,在识别启动滚屏指令之后,本方法还可以包括:In another embodiment, referring to FIG. 3, after recognizing the start scrolling instruction, the method may further include:
S13、检测机体101在第二预设时间间隔t2内的姿态变化状态;S13: Detect the posture change state of the body 101 within the second preset time interval t2;
S14、若机体101处于稳定状态,则将机体101处于稳定状态下的姿态标定为初始姿态。S14. If the body 101 is in a stable state, calibrate the posture of the body 101 in a stable state as the initial posture.
具体的,在本实施例中,同样出于用户触发启动滚屏指令的动作可能造成移动终端100的机体101的姿态轻微晃动的考虑。在标定初始姿态的时候,并非在第一时间完成标定。而是待用户将移动终端100握稳,并维持一段稳定时间(即第二预设时间间隔t2)之后,再通过传感器102对机体101的姿态进行标定,确定初始姿态。Specifically, in this embodiment, it is also considered that the user's triggering of a scrolling instruction may cause the posture of the body 101 of the mobile terminal 100 to slightly shake. When calibrating the initial posture, the calibration is not completed in the first time. Instead, after the user holds the mobile terminal 100 steadily and maintains it for a stable period of time (ie, the second preset time interval t2), the posture of the body 101 is calibrated by the sensor 102 to determine the initial posture.
一种实施例,启动滚屏的指令可以包括长按移动终端100的屏幕103、双击移动终端100的屏幕103、两侧同时按压移动终端100的边框、快速滑动移动终端100的屏幕103、及晃动移动终端100中的一者或多者。当然,本申请并不限制其它的启动滚屏指令的方式,本领域技术人员可以在现有技术的基础上,选择匹配的任意方式来设置启动滚屏指令。可以理解的,停止滚屏的指令也可以采用上述方法中的一者或多者。停止滚屏的指令还可以设置为与启动滚屏的指令相同,便于用户记忆。In one embodiment, the instruction to start scrolling may include long-pressing the screen 103 of the mobile terminal 100, double-clicking the screen 103 of the mobile terminal 100, pressing both sides of the frame of the mobile terminal 100 at the same time, quickly sliding the screen 103 of the mobile terminal 100, and shaking movement One or more of the terminal 100. Of course, this application does not limit other ways of starting the scrolling instruction, and those skilled in the art can choose any matching method to set the starting scrolling instruction on the basis of the prior art. It is understandable that the instruction to stop scrolling may also adopt one or more of the above methods. The instruction to stop scrolling can also be set to be the same as the instruction to start scrolling, which is convenient for users to remember.
一种实施例,根据姿态变化控制当前页面滚动显示还包括:In an embodiment, controlling the scrolling display of the current page according to the posture change further includes:
S41、感应机体101相对于初始姿态沿第一方向001旋转或平移,或相对于初始姿态沿第二方向002旋转或平移时,当前页面向下滚动或者向后翻页;S41. When the sensing body 101 rotates or translates in the first direction 001 relative to the initial posture, or rotates or translates in the second direction 002 relative to the initial posture, the current page is scrolled down or the page is turned back;
感应机体101相对于初始姿态沿第一方向001的反向旋转或平移,或相对于初始姿态沿第二方向002的反向旋转或平移时,当前页面向上滚动或者向前翻页。When sensing the reverse rotation or translation of the body 101 in the first direction 001 relative to the initial posture, or the reverse rotation or translation in the second direction 002 relative to the initial posture, the current page is scrolled upward or forward.
具体的,参见图4,在空间三维坐标中,定义X轴-Y轴形成的平面为水平面,Z轴为竖直坐标轴。此时可以定义Y轴的方向为第一方向001。用户在转动机体101的过程中,移动终端100通过传感器102感应机体101沿Y轴转动或平移的方向,即第一方向001的转动或平移来控制当前页面的滚动方向。当用户沿第一方向001转动移动终端100,或用于沿第一方向001平移移动终端100时,当前页面向下滚动或者向后翻页;当用户沿第一方向001的反向转动移动终端100,或沿第一方向001反向平移移动终端100时,当前页面向上滚动或者向前翻页。此处的沿第一方向001转动与平移,或沿第一方向001的反向转动或平移,都是针对初始姿态的变化量来定义的。Specifically, referring to Fig. 4, in the three-dimensional space coordinates, the plane formed by the X axis-Y axis is defined as a horizontal plane, and the Z axis is a vertical coordinate axis. At this time, the direction of the Y axis can be defined as the first direction 001. When the user rotates the body 101, the mobile terminal 100 senses the rotation or translation direction of the body 101 along the Y axis through the sensor 102, that is, the rotation or translation in the first direction 001 to control the scrolling direction of the current page. When the user rotates the mobile terminal 100 in the first direction 001, or is used to translate the mobile terminal 100 in the first direction 001, the current page scrolls down or back; when the user rotates the mobile terminal in the opposite direction of the first direction 001 100, or when the mobile terminal 100 is translated in the reverse direction along the first direction 001, the current page is scrolled up or page forwarded. Here, the rotation and translation along the first direction 001, or the reverse rotation or translation along the first direction 001, are all defined for the amount of change in the initial posture.
另一方面,因为用户的转动动作可能伴随有机体101沿Z轴或者X轴的转动动作,或用户的平移动作可能伴随有机体101沿Z轴或X轴的平移动作,会造成机体101同时相对于初始姿态发生沿Z轴或X轴转动或平移的姿态变化。此时只针对第一方向001来控制当前页面的滚动方向,可以过滤掉因为用户转动动作伴随而产生的旋转角度或平移距离的干扰,简化移动终端100的数据处理量,同时也提供用户更便捷的操控体验。On the other hand, because the user’s rotation may be accompanied by the rotation of the organism 101 along the Z-axis or X-axis, or the user’s translational movement may be accompanied by the translation of the organism 101 along the Z-axis or X-axis, which will cause the body 101 to be relative to the original The posture changes by rotating or translating along the Z axis or X axis. At this time, only the first direction 001 is used to control the scrolling direction of the current page, which can filter out the interference of the rotation angle or the translation distance caused by the user's rotation action, simplify the data processing volume of the mobile terminal 100, and provide users with more convenience. Control experience.
请继续参见图4,在空间三维坐标中,可以设置Z轴和X轴之间的一条直线来形成第二方向002。第二方向002可以模拟为移动终端100的屏幕103朝向用户眼部的方向。因此,用户在通过沿第二方向002来回平移移动终端100或转动移动终端100的过程,即将移动终端100拉近或推远、或者转动移动终端100的过程来控制当前页面的滚动方向,也可以提供用户更便捷的操控体验。Please continue to refer to FIG. 4, in the three-dimensional space coordinates, a straight line between the Z axis and the X axis can be set to form the second direction 002. The second direction 002 may be simulated as a direction in which the screen 103 of the mobile terminal 100 faces the user's eyes. Therefore, the user can control the scrolling direction of the current page through the process of panning the mobile terminal 100 back and forth or turning the mobile terminal 100 in the second direction 002, that is, the process of pulling the mobile terminal 100 closer or further, or turning the mobile terminal 100. Provide users with a more convenient control experience.
同样的道理,移动终端100沿第二方向002的转动或平移动作,也是针对初始姿态的姿态变化来定义的。同时,第二方向002的设定,同样可以过滤掉因为用户的转动或平移动作伴随而产生的其余方向移动的干扰,简化移动终端100的数据处理量。In the same way, the rotation or translation of the mobile terminal 100 along the second direction 002 is also defined for the posture change of the initial posture. At the same time, the setting of the second direction 002 can also filter out the interference caused by the user's rotation or translation in the other directions, which simplifies the data processing volume of the mobile terminal 100.
需要提出的是,本申请中对第一方向001和第二方向002的设置,并不局限于上述实施例中的方式。用户可以通过自身使用习惯,来调整第一方向001和第二方向002的设定。即第一方向001可以为空间中环绕任意轴线的旋转方向,或沿任意轴线的平移方向;第二方向002也可以为空间中绕任意轴线的旋转方向以及沿任意轴线的平移方向。当然,第一方向001和第二方向002需要互为夹角设置,即第一方向001与第二方向002为非平行的关系。另一方面,在部分场景下,当前页面可能同时存在上下滑动和前后翻页的情况,此时可以将第一方向001的旋转或平移动作和第二方向002的旋转或平移动作进行区分,即设定第一方向001的旋转动作为翻页或滑动,与之相应的设定第二方向002的平移动作为滑动或翻页;或设置第一方向001的平移动作为翻页或滑动,阈值相应的设置第二方向002的转动动作为滑动或翻页。还有一种实施方式,设置对应翻页的第一方向001和对应滑动的第三方向(图中未示),其中第一方向001和第三方向在空间中互为第一夹角;或者设置对应翻页的第二方向002以及对应滑动的第四方向(图中未示),且第二方向002和第四方向在空间中互为第二夹角。第一夹角和第二夹角的引入,保证第一方向001和第三方向不会平行,以区别用户在沿第一方向001或第三方向旋转时需要进行的操作是翻页或滑动动作,以及区别用户在沿第二方向002或第四方向平移时需要进行的操作是翻页或滑动动作。It needs to be pointed out that the setting of the first direction 001 and the second direction 002 in this application is not limited to the manner in the foregoing embodiment. The user can adjust the settings of the first direction 001 and the second direction 002 according to their own habits. That is, the first direction 001 can be a rotation direction around any axis in space or a translation direction along any axis; the second direction 002 can also be a rotation direction around any axis and a translation direction along any axis in space. Of course, the first direction 001 and the second direction 002 need to be set at an included angle, that is, the first direction 001 and the second direction 002 are in a non-parallel relationship. On the other hand, in some scenes, the current page may slide up and down and turn pages back and forth at the same time. In this case, the rotation or translation in the first direction 001 can be distinguished from the rotation or translation in the second direction 002, namely Set the rotation action in the first direction 001 as page turning or sliding, and correspondingly set the translation movement in the second direction 002 as sliding or page turning; or set the translation movement in the first direction 001 as page turning or sliding, threshold Correspondingly, the rotation action of setting the second direction 002 is sliding or page turning. In another embodiment, a first direction 001 corresponding to page turning and a third direction corresponding to sliding (not shown in the figure) are set, wherein the first direction 001 and the third direction are a first angle in space; or set The second direction 002 corresponding to page turning and the fourth direction corresponding to sliding (not shown in the figure), and the second direction 002 and the fourth direction are a second angle to each other in space. The introduction of the first included angle and the second included angle ensures that the first direction 001 and the third direction will not be parallel to distinguish the operation that the user needs to perform when rotating in the first direction 001 or the third direction is page turning or sliding action , And distinguish that the operation that the user needs to perform when panning in the second direction 002 or the fourth direction is page turning or sliding action.
本申请还涉及一种实施例,将第一方向001设置为Y轴,将第二方向002设置为X轴。此时,用户握移动终端100绕第一方向001的旋转用于控制当前页面的滑动,用户握移动终端100绕第二方向002的旋转用于控制当前页面的翻页。因为只感应用户的旋转动作来对应用户对当前页面的操作,可以进一步的简化移动终端100的数据处理量,同时也提供用户更便捷的操控体验。The present application also relates to an embodiment in which the first direction 001 is set as the Y axis, and the second direction 002 is set as the X axis. At this time, the user holds the mobile terminal 100 to rotate around the first direction 001 to control the sliding of the current page, and the user holds the mobile terminal 100 to rotate around the second direction 002 to control the page turning of the current page. Because only the user's rotating motion is sensed to correspond to the user's operation on the current page, the data processing volume of the mobile terminal 100 can be further simplified, and at the same time, a more convenient control experience for the user can be provided.
可以理解的,也可以设置用户沿第一方向001的平移对应控制当前页面的滑动操作,用户沿第二方向002的平移对应控制当前页面的翻页操作,也可以达到上述实施例的类似效果。It is understandable that the user's translation in the first direction 001 may also be set to control the sliding operation of the current page, and the user's translation in the second direction 002 may correspond to the control of the page turning operation of the current page, which can also achieve the similar effects of the foregoing embodiment.
相对应的,本申请还涉及一种实施例,移动终端100只感应用户相对于第一方向001的运动状态来同时实现滑动和翻页的操作:设置用户握移动终端100绕第一方向001的旋转以控制当前页面的滑动,设置用户握移动终端100沿第一方向001的平移以控制当前页面的翻页。或者,设置用户握移动终端100沿第一方向001的平移以控制当前页面的滑动,同时设置用户握移动终端100绕第一方向001的旋转以控制当前页面的翻页。在本实施例中,因为移动终端100只感应用户相对于第一方向001的运动状态来同时控制滑动和翻页的操作,也简化了移动终端100的数据处理量,同时提供用户更便捷的操控体验。进一步,在本实施例中,只存在一个方向上的变量,不需要参考第二方向002是否存在。因此第一方向001可以根据用户的使用习惯随意设置,而不用考虑第一方向001与第二方向002的夹角或非平行状态等限制。Correspondingly, the present application also relates to an embodiment. The mobile terminal 100 only senses the user's movement state relative to the first direction 001 to realize the sliding and page turning operations at the same time: setting the user to hold the mobile terminal 100 around the first direction 001 Rotate to control the sliding of the current page, and set the user to hold the mobile terminal 100 to translate in the first direction 001 to control the page turning of the current page. Or, set the user to hold the mobile terminal 100 to translate in the first direction 001 to control the sliding of the current page, and set the user to hold the mobile terminal 100 to rotate around the first direction 001 to control the page turning of the current page. In this embodiment, because the mobile terminal 100 only senses the user's motion state relative to the first direction 001 to control the sliding and page turning operations at the same time, it also simplifies the data processing volume of the mobile terminal 100 and provides the user with more convenient control. Experience. Further, in this embodiment, there is only a variable in one direction, and there is no need to refer to whether the second direction 002 exists. Therefore, the first direction 001 can be arbitrarily set according to the user's usage habits, regardless of the angle or non-parallel state of the first direction 001 and the second direction 002 and other restrictions.
一种实施例,根据姿态变化控制当前页面滚动显示还包括:In an embodiment, controlling the scrolling display of the current page according to the posture change further includes:
S42、感应机体101相对于初始姿态的旋转角度绝对值大小或平移距离绝对值大小以控制所述当前页面的滚动速度。S42. The absolute value of the rotation angle or the absolute value of the translation distance of the body 101 relative to the initial posture is sensed to control the scrolling speed of the current page.
具体的,在用户握持移动终端100以控制当前页面滚动的过程中,用户还可以对当前页面的滚动速度进行调整。机体101相对于初始姿态的姿态变化越大,当前页面的滚动或翻页速度越快。以沿第一方向001旋转的方式为例,当用户握持移动终端100,并使得机体101相对于初始姿态的旋转角度越大,当前页面向下滚动或向后翻页的速度越快;当用户握持移动终端100,沿第一方向001的反向使得机体101相对于初始姿态的旋转角度越大,当前页面向上滚动或向前翻页的速度越快。即机体101相对于初始姿态的旋转角度绝对值越大,移动终端100对当前页面的滚动速度或翻页速度越快。Specifically, when the user holds the mobile terminal 100 to control the scrolling of the current page, the user can also adjust the scrolling speed of the current page. The greater the posture change of the body 101 from the initial posture, the faster the scrolling or page turning speed of the current page. Taking the way of rotating in the first direction 001 as an example, when the user holds the mobile terminal 100 and makes the rotation angle of the body 101 relative to the initial posture, the faster the current page scrolls down or backwards; The user holds the mobile terminal 100, and the reverse of the first direction 001 makes the rotation angle of the body 101 relative to the initial posture larger, and the current page scrolls upward or forwards faster. That is, the larger the absolute value of the rotation angle of the body 101 relative to the initial posture, the faster the scrolling speed or page turning speed of the mobile terminal 100 on the current page.
相似的原理,移动终端100在沿第二方向002平移的过程中,当用户握持移动终端100,并使得机体101相对于初始姿态的平移距离越大,当前页面向下滚动或向后翻页的速度越快;当用户握持移动终端100,沿第二方向002的反向使得机体101相对于初始姿态的平移距离越大,当前页面向上滚动或向前翻页的速度越快。即机体101相对于初始姿态的平移距离绝对值越大,移动终端100对当前页面的滚动速度或翻页速度越快。In a similar principle, when the mobile terminal 100 is panning in the second direction 002, when the user holds the mobile terminal 100, and the greater the translation distance of the body 101 relative to the initial posture, the current page scrolls down or page backwards. When the user holds the mobile terminal 100, the reverse of the second direction 002 makes the translation distance of the body 101 relative to the initial posture larger, and the faster the current page scrolls upward or forward. That is, the larger the absolute value of the translation distance of the body 101 relative to the initial posture, the faster the scrolling speed or page turning speed of the mobile terminal 100 on the current page.
一种实施例,根据姿态变化控制当前页面滚动显示还包括:In an embodiment, controlling the scrolling display of the current page according to the posture change further includes:
S43、识别速度锁定指令;S43. Identify the speed lock command;
具体的,移动终端100可以预设速度锁定的指令,用以用户在调整出合适的滚动速度或翻页速度之后,通过触发速度锁定指令来锁定当前的滚动速度。速度锁屏指令也可以包括长按移动终端100的屏幕103、双击移动终端100的屏幕103、两侧同时按压移动终端100的边框、快速滑动移动终端100的屏幕103、及晃动移动终端100中的一者或多者。当然,本申请并不限制其它的速度指令的方式,本领域技术人员可以在现有技术的基础上,选择匹配的任意方式来设置速度锁定指令。Specifically, the mobile terminal 100 may preset a speed lock instruction for the user to lock the current scroll speed by triggering the speed lock instruction after adjusting a suitable scroll speed or page turning speed. The speed lock screen command can also include long pressing the screen 103 of the mobile terminal 100, double-clicking the screen 103 of the mobile terminal 100, pressing both sides of the border of the mobile terminal 100 at the same time, quickly sliding the screen 103 of the mobile terminal 100, and shaking the screen 103 of the mobile terminal 100. One or more. Of course, this application does not limit other speed command modes, and those skilled in the art can choose any matching mode to set the speed lock command on the basis of the prior art.
S44、控制当前页面保持当前的滚动方向或滚动速度。S44. Control the current page to maintain the current scroll direction or scroll speed.
具体的,移动终端100在识别速度锁定指令后,保持当前页面的滚动速度和滚动方向,继续当前页面的滚动显示。此时传感器102不再对机体101的实时姿态进行检测,用户在触发速度锁定指令后,可以将移动终端100放置于任意角度和位置来浏览。例如,用户将移动终端100握持回初始姿态的位置进行浏览,此时用户的浏览姿势更自如。或者,用户将移动终端100放置于桌面等平面上进行浏览,可以进一步解放双手从事其它事务,并不影响用户对当前页面的浏览动作。Specifically, after the mobile terminal 100 recognizes the speed lock instruction, it maintains the scrolling speed and scrolling direction of the current page, and continues the scrolling display of the current page. At this time, the sensor 102 no longer detects the real-time posture of the body 101. After triggering the speed lock instruction, the user can place the mobile terminal 100 at any angle and position to browse. For example, if the user holds the mobile terminal 100 back to the initial posture for browsing, the user’s browsing posture is more comfortable at this time. Or, the user places the mobile terminal 100 on a plane such as a desktop for browsing, which can further free his hands to engage in other tasks without affecting the user's browsing actions on the current page.
请参看图5,本申请涉及一种移动终端屏幕103滚动装置200。移动终端100包括机体101,并设置有传感器102用于感测机体101的姿态,本申请装置200包括:Please refer to FIG. 5, this application relates to a device 200 for scrolling the screen 103 of a mobile terminal. The mobile terminal 100 includes a body 101 and is provided with a sensor 102 for sensing the posture of the body 101. The device 200 of the present application includes:
识别模块201,用于识别启动滚屏指令;The identification module 201 is used to identify the start scrolling instruction;
检测模块202,用于检测当前页面的类型;The detection module 202 is used to detect the type of the current page;
获取模块203,用于获取机体101相对于预设的初始姿态的姿态变化;The acquiring module 203 is configured to acquire the posture change of the body 101 relative to a preset initial posture;
显示模块204,用于根据姿态变化控制当前页面滚动显示。The display module 204 is used to control the scrolling display of the current page according to the posture change.
本申请装置200在识别模块201识别到启动滚屏指令后,启动检测模块202对当前页面的类型进行检测。若当前页面的类型满足滚动显示条件,则获取模块203获取机体101相对于预设的初始姿态的姿态变化。显示模块204根据姿态变化来控制当前页面的滚动显示动作,其中姿态变化可以与当前页面的滚动方向和/或滚动速度具有对应关系。本申请装置200采用控制移动终端100的机体101的旋转或平移等姿态来控制当前页面的滚动。获取模块203实时获取机体101相对于初始姿态的姿态变化,显示模块204对当前页面的显示根据姿态变化做对应。用户在采用本申请方法控制屏幕103的滚动时,省去了大量繁琐的操作,有效避免了误触的发生。同时,本申请装置200不需要单独设置物理按键,有利于提高移动终端100的屏占比和外观一致性。After the recognition module 201 recognizes the start scrolling instruction, the device 200 of the present application starts the detection module 202 to detect the type of the current page. If the type of the current page satisfies the scroll display condition, the acquiring module 203 acquires the posture change of the body 101 relative to the preset initial posture. The display module 204 controls the scrolling display action of the current page according to the posture change, where the posture change may have a corresponding relationship with the scroll direction and/or scroll speed of the current page. The device 200 of the present application uses postures such as rotation or translation of the body 101 of the mobile terminal 100 to control the scrolling of the current page. The acquiring module 203 acquires the posture change of the body 101 relative to the initial posture in real time, and the display module 204 corresponds to the display of the current page according to the posture change. When the user uses the method of this application to control the scrolling of the screen 103, a lot of tedious operations are omitted, and the occurrence of accidental touches is effectively avoided. At the same time, the device 200 of the present application does not require separate physical buttons, which is beneficial to improve the screen-to-body ratio and appearance consistency of the mobile terminal 100.
一种可选的实施例,显示模块204还用于在在根据所述姿态变化控制所述当前页面滚动显示时,控制所述姿态变化与所述当前页面的滚动方向和/或滚动速度具有对应关系。In an optional embodiment, the display module 204 is further configured to control the posture change to correspond to the scroll direction and/or scroll speed of the current page when controlling the scroll display of the current page according to the posture change. relationship.
一种可选的实施例,显示模块204还用于在当前页面滚动至端部或识别到停止滚屏指令时,停止滚动当前页面。In an optional embodiment, the display module 204 is further configured to stop scrolling the current page when the current page is scrolled to the end or a stop scrolling instruction is recognized.
一种可选的实施例,获取模块203用于识别启动滚屏指令之后,定义识别到启动滚屏指令的时间为第一时刻T1;In an optional embodiment, the acquiring module 203 is configured to define the first time T1 when the start scrolling instruction is recognized after identifying the start scrolling instruction;
在第一时刻T1延迟第一预设时间间隔t1后,标定机体101的姿态为初始姿态。After the first time T1 is delayed by the first preset time interval t1, the posture of the body 101 is calibrated as the initial posture.
一种可选的实施例,获取模块203用于:识别启动滚屏指令之后,检测机体101在第二预设时间间隔t2内的姿态变化状态;In an optional embodiment, the acquiring module 203 is configured to: after recognizing the start scrolling instruction, detect the posture change state of the body 101 within the second preset time interval t2;
若机体101处于稳定状态,则将机体101处于稳定状态下的姿态标定为初始姿态。If the body 101 is in a stable state, the posture of the body 101 in a stable state is calibrated as the initial posture.
一种可选的实施例,识别模块201用于识别用户的如下操作中的一者或多者为启动滚屏指令:In an optional embodiment, the identification module 201 is configured to identify one or more of the following operations of the user as a scrolling start instruction:
长按移动终端100的屏幕103、双击移动终端100的屏幕103、两侧同时按压移动终端100的边框、快速滑动移动终端100的屏幕103、及晃动移动终端100。Long press the screen 103 of the mobile terminal 100, double-click the screen 103 of the mobile terminal 100, simultaneously press the frame of the mobile terminal 100 on both sides, slide the screen 103 of the mobile terminal 100 quickly, and shake the mobile terminal 100.
一种可选的实施例,显示模块204用于机体101相对于初始姿态沿第一方向001旋转或平移,或相对于初始姿态沿第二方向002旋转或平移时,显示的当前页面向下滚动或者向后翻页;In an optional embodiment, the display module 204 is used to scroll or translate the current page displayed when the body 101 rotates or translates in the first direction 001 relative to the initial posture, or rotates or translates in the second direction 002 relative to the initial posture. Or page backward;
机体101相对于初始姿态沿第一方向001的反向旋转或平移,或相对于初始姿态沿第二方向002反向旋转或平移时,显示的当前页面向上滚动或者向前翻页。When the body 101 rotates or translates in the reverse direction in the first direction 001 relative to the initial posture, or rotates or translates in the second direction 002 relative to the initial posture, the displayed current page is scrolled upward or the page is turned forward.
一种可选的实施例,获取模块203用于获取机体101相对于初始姿态的旋转角度绝对值大小或平移距离绝对值大小,以控制当前页面的滚动速度。In an optional embodiment, the obtaining module 203 is configured to obtain the absolute value of the rotation angle or the absolute value of the translation distance of the body 101 relative to the initial posture, so as to control the scrolling speed of the current page.
一种可选的实施例,显示模块204用于识别到速度锁定指令后,控制当前页面保持当前的滚动方向或滚动速度。In an optional embodiment, the display module 204 is configured to control the current page to maintain the current scroll direction or scroll speed after recognizing the speed lock instruction.
需要说明的是,图5中的各个操作的实现还可以对应参照图1至图3所示的方法实施例的相应描述。It should be noted that the implementation of each operation in FIG. 5 may also correspond to the corresponding description of the method embodiments shown in FIG. 1 to FIG. 3.
本申请还涉及上述的移动终端100。图6是本申请实施例的一种移动终端的结构示意图,包括机体101、传感器102、处理器104、屏幕103、以及存储装置105。处理器104、存储装置105以及传感器102之间可以交互数据,存储装置105中存储有计算机可读指令,处理器104调用计算机可读指令用于实现上述的移动终端屏幕103滚动方法。The present application also relates to the above-mentioned mobile terminal 100. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, which includes a body 101, a sensor 102, a processor 104, a screen 103, and a storage device 105. The processor 104, the storage device 105, and the sensor 102 can interact with data. The storage device 105 stores computer-readable instructions, and the processor 104 calls the computer-readable instructions to implement the aforementioned method for scrolling the mobile terminal screen 103.
具体的,处理器104调用存储装置105中存储的计算机可读指令,执行以下操作:Specifically, the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
识别启动滚屏指令;Recognize the start scrolling instruction;
检测当前页面的类型;Detect the type of current page;
获取机体101相对于预设的初始姿态的姿态变化;Acquiring the posture change of the body 101 relative to the preset initial posture;
根据姿态变化控制当前页面滚动显示。Control the scrolling display of the current page according to the attitude change.
存储装置105可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储装置105也可以包括非易失性存储器(non-volatile memory),例如快闪存储器(flash memory),固态硬盘(solid-state drive,SSD)等;存储装置105还可以包括上述种类的存储器的组合。The storage device 105 may include a volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the storage device 105 may also include non-volatile memory (non-volatile memory), such as flash memory, solid-state drive drive, SSD), etc.; the storage device 105 may also include a combination of the foregoing types of memories.
处理器104可以是中央处理器(central processing unit,CPU)。该处理器401还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 104 may be a central processing unit (central processing unit, CPU). The processor 401 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), Application Specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
在一个实施方式中,处理器104调用存储装置105中存储的计算机可读指令,用于在根据所述姿态变化控制所述当前页面滚动显示时,执行以下操作:In one embodiment, the processor 104 calls a computer-readable instruction stored in the storage device 105 to perform the following operations when controlling the scrolling display of the current page according to the posture change:
所述姿态变化与所述当前页面的滚动方向和/或滚动速度具有对应关系。The posture change has a corresponding relationship with the scroll direction and/or scroll speed of the current page.
在一个实施方式中,处理器104调用存储装置105中存储的计算机可读指令,用于当当前页面滚动至端部或识别到停止滚屏指令时,执行以下操作:In one embodiment, the processor 104 calls a computer-readable instruction stored in the storage device 105 to perform the following operations when the current page is scrolled to the end or an instruction to stop scrolling is recognized:
停止滚动当前页面。Stop scrolling the current page.
在一个实施方式中,处理器104调用存储装置105中存储的计算机可读指令,在识别启动滚屏指令之后,执行以下操作:In one embodiment, the processor 104 calls the computer-readable instructions stored in the storage device 105, and after recognizing the start scrolling instruction, performs the following operations:
定义识别到启动滚屏指令的时间为第一时刻T1;Define the time when the scrolling instruction is recognized as the first moment T1;
在第一时刻T1延迟第一预设时间间隔t1后,标定机体101的姿态为初始姿态。After the first time T1 is delayed by the first preset time interval t1, the posture of the body 101 is calibrated as the initial posture.
在一个实施方式中,处理器104调用存储装置105中存储的计算机可读指令,在识别启动滚屏指令之后,执行以下操作:In one embodiment, the processor 104 calls the computer-readable instructions stored in the storage device 105, and after recognizing the start scrolling instruction, performs the following operations:
检测机体101在第二预设时间间隔t2内的姿态变化状态;Detect the posture change state of the body 101 within the second preset time interval t2;
若机体101处于稳定状态,则将机体101处于稳定状态下的姿态标定为初始姿态。If the body 101 is in a stable state, the posture of the body 101 in a stable state is calibrated as the initial posture.
在一个实施方式中,处理器104调用存储装置105中存储的计算机可读指令,执行以下操作:In one embodiment, the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
识别长按移动终端100的屏幕103、双击移动终端100的屏幕103、两侧同时按压移动终端100的边框、快速滑动移动终端100的屏幕103、及晃动移动终端100中的一者或多者为启动滚屏指令。Identify one or more of long-pressing the screen 103 of the mobile terminal 100, double-clicking the screen 103 of the mobile terminal 100, simultaneously pressing the border of the mobile terminal 100 on both sides, quickly sliding the screen 103 of the mobile terminal 100, and shaking the mobile terminal 100 as Start scrolling instructions.
在一个实施方式中,处理器104调用存储装置105中存储的计算机可读指令,执行以下操作:In one embodiment, the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
感应机体101相对于初始姿态沿第一方向001旋转或平移,或相对于初始姿态沿第二方向002旋转或平移时,当前页面向下滚动或者向后翻页;When the sensing body 101 rotates or translates in the first direction 001 relative to the initial posture, or rotates or translates in the second direction 002 relative to the initial posture, the current page is scrolled down or the page is turned back;
感应机体101相对于初始姿态沿第一方向001的反向旋转或平移,或相对于初始姿态沿第二方向002的反向旋转或平移时,当前页面向上滚动或者向前翻页。When sensing the reverse rotation or translation of the body 101 in the first direction 001 relative to the initial posture, or the reverse rotation or translation in the second direction 002 relative to the initial posture, the current page is scrolled upward or forward.
在一个实施方式中,处理器104调用存储装置105中存储的计算机可读指令,执行以下操作:In one embodiment, the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
感应机体101相对于初始姿态的旋转角度绝对值大小或平移距离绝对值大小以控制当前页面的滚动速度。The absolute value of the rotation angle or the absolute value of the translation distance of the sensing body 101 relative to the initial posture is used to control the scrolling speed of the current page.
在一个实施方式中,处理器104调用存储装置105中存储的计算机可读指令,执行以下操作:In one embodiment, the processor 104 invokes computer-readable instructions stored in the storage device 105 to perform the following operations:
识别速度锁定指令;Identify the speed lock command;
控制当前页面保持当前的滚动方向或滚动速度。Control the current page to maintain the current scroll direction or scroll speed.
本申请移动终端100采用控制机体101的旋转或平移等姿态来控制当前页面的滚动显示。其中移动终端100通过传感器102标定初始位置,并进一步通过传感器102实时感知机体101的姿态变化。处理器104控制屏幕103相应的滚动当前页面。本申请移动终端100的滚动显示省去了大量繁琐的操作,有效避免了误触的发生。同时,机体101不需要单独设置物理按键,有利于提高移动终端100的屏占比和外观一致性。The mobile terminal 100 of this application controls the scrolling display of the current page by controlling the rotation or translation of the body 101 and other postures. The mobile terminal 100 uses the sensor 102 to calibrate the initial position, and further uses the sensor 102 to sense the posture change of the body 101 in real time. The processor 104 controls the screen 103 to scroll the current page accordingly. The scrolling display of the mobile terminal 100 of the present application saves a lot of tedious operations and effectively avoids the occurrence of false touches. At the same time, the body 101 does not require separate physical buttons, which is beneficial to improve the screen-to-body ratio and appearance consistency of the mobile terminal 100.
需要说明的是,图6中的各个操作的实现还可以对应参照图1至图3所示的方法实施例的相应描述。It should be noted that the implementation of each operation in FIG. 6 may also correspond to the corresponding description of the method embodiments shown in FIGS. 1 to 3.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读取存储介质中,计算机可读存储介质可以为非易失性可读存储介质,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Persons of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage. Among the media, the computer-readable storage medium may be a non-volatile readable storage medium, and when the computer-readable instructions are executed, they may include processes as in the foregoing method embodiments. Wherein, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM), etc.
以上所述的实施方式,并不构成对该技术方案保护范围的限定。任何在上述实施方式的精神和原则之内所作的修改、等同替换和改进等,均应包含在该技术方案的保护范围之内。The above-mentioned embodiments do not constitute a limitation on the protection scope of the technical solution. Any modifications, equivalent replacements and improvements made within the spirit and principles of the above implementation manners should be included in the protection scope of the technical solution.

Claims (12)

  1. 一种移动终端屏幕滚动方法,所述移动终端包括传感器用于感测机体的姿态,其特征在于,包括以下步骤: A method for scrolling a screen of a mobile terminal, the mobile terminal including a sensor for sensing the posture of a body, characterized in that it includes the following steps:
    识别启动滚屏指令;Recognize the start scrolling instruction;
    获取所述机体相对于预设的初始姿态的姿态变化;Acquiring the posture change of the body relative to the preset initial posture;
    根据所述姿态变化控制所述当前页面滚动显示。Controlling the scrolling display of the current page according to the posture change.
  2. 根据权利要求1所述的方法,其特征在于,在识别启动滚屏指令后,还包括:检测当前页面的类型,以判定当前页面是否满足滚动显示条件。The method according to claim 1, characterized in that, after recognizing the start scrolling instruction, the method further comprises: detecting the type of the current page to determine whether the current page meets the scrolling display condition.
  3. 根据权利要求2所述的方法,其特征在于,在根据所述姿态变化控制所述当前页面滚动显示时,所述姿态变化与所述当前页面的滚动方向和/或滚动速度具有对应关系。The method according to claim 2, wherein when the current page is scrolled and displayed according to the posture change, the posture change has a corresponding relationship with the scroll direction and/or the scroll speed of the current page.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, wherein the method further comprises:
    当所述当前页面滚动至端部或识别到停止滚屏指令时,停止滚动所述当前页面。When the current page is scrolled to the end or a stop scrolling instruction is recognized, stop scrolling the current page.
  5. 根据权利要求3所述的方法,其特征在于,在识别所述启动滚屏指令之后,还包括:The method according to claim 3, characterized in that, after identifying the start scrolling instruction, further comprising:
    定义识别到所述启动滚屏指令的时间为第一时刻;Define the time when the start scrolling instruction is recognized as the first moment;
    在所述第一时刻延迟第一预设时间间隔后,标定所述机体的姿态为初始姿态。After the first time is delayed by a first preset time interval, the posture of the body is calibrated as the initial posture.
  6. 根据权利要求3所述的方法,其特征在于,在识别所述启动滚屏指令之后,还包括:The method according to claim 3, characterized in that, after identifying the start scrolling instruction, further comprising:
    检测所述机体在第二预设时间间隔内的姿态变化状态;Detecting the posture change state of the body within the second preset time interval;
    若所述机体处于稳定状态,则将所述机体处于稳定状态下的姿态标定为初始姿态。If the body is in a stable state, calibrate the posture of the body in a stable state as the initial posture.
  7. 根据权利要求3所述的方法,其特征在于,所述启动滚屏指令包括长按所述移动终端的屏幕、双击所述移动终端的屏幕、两侧同时按压所述移动终端的边框、快速滑动所述移动终端的屏幕、及晃动所述移动终端中的一者或多者。The method according to claim 3, wherein the start scrolling instruction includes long pressing the screen of the mobile terminal, double-clicking the screen of the mobile terminal, pressing both sides of the border of the mobile terminal at the same time, and quickly sliding the screen. One or more of the screen of the mobile terminal and shaking the mobile terminal.
  8. 根据权利要求3所述的方法,其特征在于,根据所述姿态变化控制所述当前页面滚动显示还包括:The method according to claim 3, wherein controlling the scroll display of the current page according to the posture change further comprises:
    感应所述机体相对于所述初始姿态沿第一方向旋转或平移,或相对于所述初始姿态沿第二方向旋转或平移时,所述当前页面向下滚动或者向后翻页;Sensing that when the body rotates or translates in a first direction relative to the initial posture, or rotates or translates in a second direction relative to the initial posture, the current page scrolls down or page backwards;
    感应所述机体相对于所述初始姿态沿所述第一方向的反向旋转或平移,或相对于所述初始姿态沿所述第二方向的反向旋转或平移时,所述当前页面向上滚动或者向前翻页。When sensing the reverse rotation or translation of the body in the first direction relative to the initial posture, or the reverse rotation or translation in the second direction relative to the initial posture, the current page scrolls upward Or page forward.
  9. 根据权利要求8所述的方法,其特征在于,根据所述姿态变化控制所述当前页面滚动显示还包括:The method according to claim 8, wherein controlling the scroll display of the current page according to the posture change further comprises:
    感应所述机体相对于所述初始姿态的旋转角度绝对值大小或平移距离绝对值大小以控制所述当前页面的滚动速度。The absolute value of the rotation angle or the absolute value of the translation distance of the body relative to the initial posture is sensed to control the scrolling speed of the current page.
  10. 根据权利要求9所述的方法,其特征在于,根据所述姿态变化控制所述当前页面滚动显示还包括:The method of claim 9, wherein controlling the scroll display of the current page according to the posture change further comprises:
    识别速度锁定指令;Identify the speed lock command;
    控制所述当前页面保持当前的滚动方向或滚动速度。Control the current page to maintain the current scrolling direction or scrolling speed.
  11. 一种移动终端屏幕滚动装置,所述移动终端包括机体,并设置有传感器用于感测所述机体的姿态,其特征在于,所述装置包括:A screen scrolling device for a mobile terminal. The mobile terminal includes a body and is provided with a sensor for sensing the posture of the body. The device is characterized in that the device includes:
    识别模块,用于识别启动滚屏指令;Recognition module, used to recognize the start scrolling instruction;
    检测模块,用于检测当前页面的类型;Detection module, used to detect the type of the current page;
    获取模块,用于获取所述机体相对于预设的初始姿态的姿态变化;An acquiring module, configured to acquire the posture change of the body relative to a preset initial posture;
    显示模块,根据所述姿态变化控制所述当前页面滚动显示。The display module controls the scrolling display of the current page according to the posture change.
  12. 一种移动终端,其特征在于,所述终端包括机体、传感器、处理器、屏幕、以及存储装置;A mobile terminal, characterized in that the terminal includes a body, a sensor, a processor, a screen, and a storage device;
    所述存储装置中存储有计算机可读指令,所述处理器调用所述计算机可读指令用于实现如下步骤:The storage device stores computer-readable instructions, and the processor invokes the computer-readable instructions to implement the following steps:
    识别启动滚屏指令;Recognize the start scrolling instruction;
    获取所述机体相对于预设的初始姿态的姿态变化;Acquiring the posture change of the body relative to the preset initial posture;
    根据所述姿态变化控制所述当前页面滚动显示。 Controlling the scrolling display of the current page according to the posture change.
PCT/CN2019/105262 2019-06-06 2019-09-11 Screen scrolling method for mobile terminal, screen scrolling device and mobile terminal WO2020244085A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910489351.6A CN110209334A (en) 2019-06-06 2019-06-06 Mobile terminal screen scrolling method, screen scroll device and mobile terminal
CN201910489351.6 2019-06-06

Publications (1)

Publication Number Publication Date
WO2020244085A1 true WO2020244085A1 (en) 2020-12-10

Family

ID=67791256

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/105262 WO2020244085A1 (en) 2019-06-06 2019-09-11 Screen scrolling method for mobile terminal, screen scrolling device and mobile terminal

Country Status (2)

Country Link
CN (1) CN110209334A (en)
WO (1) WO2020244085A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209334A (en) * 2019-06-06 2019-09-06 深圳市泰衡诺科技有限公司 Mobile terminal screen scrolling method, screen scroll device and mobile terminal
CN111124225B (en) * 2019-12-16 2021-09-10 维沃移动通信有限公司 Display control method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981739A (en) * 2012-11-01 2013-03-20 广东欧珀移动通信有限公司 Intelligent terminal and method of achieving screen page switching of the same
CN103353823A (en) * 2013-06-25 2013-10-16 上海鼎为通讯电子有限公司 Mobile terminal and scrolling method thereof
CN107229399A (en) * 2016-03-24 2017-10-03 北京搜狗科技发展有限公司 A kind of page processing method and device, a kind of device handled for the page
CN108664145A (en) * 2018-05-14 2018-10-16 珠海格力电器股份有限公司 Interface display control method and device, storage medium and mobile terminal
CN110209334A (en) * 2019-06-06 2019-09-06 深圳市泰衡诺科技有限公司 Mobile terminal screen scrolling method, screen scroll device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981739A (en) * 2012-11-01 2013-03-20 广东欧珀移动通信有限公司 Intelligent terminal and method of achieving screen page switching of the same
CN103353823A (en) * 2013-06-25 2013-10-16 上海鼎为通讯电子有限公司 Mobile terminal and scrolling method thereof
CN107229399A (en) * 2016-03-24 2017-10-03 北京搜狗科技发展有限公司 A kind of page processing method and device, a kind of device handled for the page
CN108664145A (en) * 2018-05-14 2018-10-16 珠海格力电器股份有限公司 Interface display control method and device, storage medium and mobile terminal
CN110209334A (en) * 2019-06-06 2019-09-06 深圳市泰衡诺科技有限公司 Mobile terminal screen scrolling method, screen scroll device and mobile terminal

Also Published As

Publication number Publication date
CN110209334A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
WO2017119664A1 (en) Display apparatus and control methods thereof
WO2014157914A1 (en) Apparatus and method of controlling screens in a device
WO2012108715A2 (en) Method and apparatus for inputting user commands using relative movements of device panels
WO2020226294A1 (en) Foldable device and method for controlling image capturing by using plurality of cameras
WO2014058144A1 (en) Method and system for displaying fast-scrolling content and scroll bar
WO2014104472A1 (en) Method and apparatus for dual display
WO2016093506A1 (en) Mobile terminal and control method therefor
WO2014204048A1 (en) Portable device and method for controlling the same
WO2018062658A1 (en) Display apparatus and controlling method thereof
WO2016035899A1 (en) Display device for displaying multiple applications on flexible display and method for controlling the display device
WO2017096924A1 (en) Method of capturing continuous screenshot of pages on basis of mobile terminal, system and mobile terminal
WO2021118061A1 (en) Electronic device and layout configuration method using same
WO2013118941A1 (en) Portable device and method for controlling the same
WO2015102227A1 (en) Mobile terminal and method of controlling the same
EP3105649A1 (en) User terminal device and displaying method thereof
WO2014137019A1 (en) Double unlocking apparatus of a portable device equipped with an expandable display and controlling method thereof
WO2021015505A1 (en) Foldable electronic device and photographing method using multiple cameras in foldable electronic device
WO2017211054A1 (en) Bluetooth intelligent watch, intelligent terminal, and method and system thereof for remotely controlling photographing with spp
WO2015186964A1 (en) Imaging device and video generation method by imaging device
EP3011551A1 (en) Foldable display device and method of controlling therefor
WO2019117566A1 (en) Electronic device and input control method thereof
WO2020244085A1 (en) Screen scrolling method for mobile terminal, screen scrolling device and mobile terminal
WO2018145597A1 (en) Mobile terminal-based screen light-supplementing photographing method and system, and mobile terminal
WO2021118187A1 (en) Foldable electronic device having rotatable camera and method for capturing images thereby
WO2016088922A1 (en) Method for providing interface using mobile device and wearable device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19931792

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.04.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19931792

Country of ref document: EP

Kind code of ref document: A1