WO2019051809A1 - Display page switching method and display page switching system based on intelligent terminal - Google Patents

Display page switching method and display page switching system based on intelligent terminal Download PDF

Info

Publication number
WO2019051809A1
WO2019051809A1 PCT/CN2017/101959 CN2017101959W WO2019051809A1 WO 2019051809 A1 WO2019051809 A1 WO 2019051809A1 CN 2017101959 W CN2017101959 W CN 2017101959W WO 2019051809 A1 WO2019051809 A1 WO 2019051809A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
display page
page
module
distance
Prior art date
Application number
PCT/CN2017/101959
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 深圳传音通讯有限公司
Priority to PCT/CN2017/101959 priority Critical patent/WO2019051809A1/en
Publication of WO2019051809A1 publication Critical patent/WO2019051809A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Definitions

  • the present invention relates to the field of intelligent control, and in particular, to a display page switching method based on an intelligent terminal and a display page switching system.
  • the desktop or display interface of the current smart terminal includes multiple pages, and the switching between the pages is mainly realized by sliding the touch screen to the left and right. For example, the finger touches the screen to slide one page to the left or one page to the right.
  • the swipe operation is often cut off between the two pages. In the above situation, the smart terminal will judge whether to return to the original page or jump to the subsequent page according to the content displayed on the two pages.
  • an object of the present invention is to provide a display page switching method based on an intelligent terminal and a display page switching system, which is better in displaying page switching, and the switching effect is more realistic and smooth.
  • the invention discloses a display page switching method based on an intelligent terminal, which comprises the following steps:
  • the product of the distance and a proportional coefficient is a moving distance, and the first display page is synchronously moved, and the first display page and the second display page are connected;
  • the sliding operation is released, and the junction stays on the display interface and is displayed.
  • the step of recording the initial contact position and the current contact position on the screen in the sliding operation, and calculating the distance between the initial contact position and the current contact position comprises:
  • the distance between the initial position coordinates and the current contact coordinates is calculated.
  • the step of calculating the distance between the initial position coordinates and the current contact coordinates further comprises:
  • the step of synchronously moving the first display page and the intersection of the first display page and the second display page comprises:
  • the step of staying on the display interface and displaying the connection comprises:
  • the invention further discloses a display page switching system based on an intelligent terminal, comprising:
  • a setting module configured to include a first display page and a second display that are connected in the display interface of the smart terminal At least two display pages of the page;
  • a display module when displaying the first display page, receiving a sliding operation
  • a processing module connected to the display module, recording an initial contact position and a current contact position on the display module in the sliding operation, and calculating a distance between the initial contact position and the current contact position ;
  • a moving module connected to the processing module, receiving the distance, and moving, in a direction of the sliding operation, a product of the distance and a proportional coefficient as a moving distance, synchronously moving the first display page, and the a junction of the first display page and the second display page;
  • the control module is connected to the display module, and when the sliding operation is released, the connection is kept on the display interface, and the display module is controlled to be displayed.
  • the processing module comprises:
  • An initial unit establishing a coordinate system corresponding to the display module in the processing module
  • the sensing unit receives an initial contact with the display module in the sliding operation, and a current contact with the display module in the sliding operation at any time;
  • Recording units are respectively connected to the initial unit and the sensing unit, and record initial coordinate coordinates of the initial contact in the coordinate system and current contact coordinates of the current contact in the coordinate system;
  • a calculating unit connected to the recording unit, calculating a distance between the initial position coordinate and the current contact coordinate.
  • the calculation unit calculates a connecting line segment of the initial position coordinate and the current contact coordinate, and a projective length in a lateral direction of the display interface as the distance.
  • the moving module moves the first display page along a lateral direction of the display interface, and moves along a horizontal direction of the display interface at an intersection perpendicular to the lateral direction, along the display interface. Moving the second display page in a lateral direction;
  • the display module is connected to the mobile module, and simultaneously displays a portion of the first display page, the junction, and a portion of the second display page on the display interface.
  • control module comprises:
  • a storage unit recording a display position of the docking position on the display interface, the first display page and the second display page on both sides of the interface;
  • a holding unit connected to the display module to maintain the docking position of the docking station in the display module and maintain the display content in the display module.
  • the user can intuitively observe the effect of displaying the page switching, which can be used as the basis of information sharing, and the user experience is better.
  • FIG. 1 is a schematic flow chart of a method for switching a display page according to a preferred embodiment of the present invention
  • FIG. 2 is a flow chart showing a step of calculating a distance in accordance with a preferred embodiment of the present invention
  • FIG. 3 is a flow chart showing the steps of moving a display page in accordance with a preferred embodiment of the present invention.
  • FIG. 4 is a flow chart showing the steps of staying in a joint in accordance with a preferred embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a display page switching system according to a preferred embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a processing module in a display page switching system according to a preferred embodiment of the present invention.
  • FIG. 7 is a block diagram showing the structure of a control module in a page switching system in accordance with a preferred embodiment of the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the present invention may include, for example, mobile power Mobile terminals such as a smart phone, a smart phone, a laptop, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like, and a fixed terminal such as a digital TV, a desktop computer, or the like.
  • mobile power Mobile terminals such as a smart phone, a smart phone, a laptop, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like
  • a fixed terminal such as a digital TV, a desktop computer, or the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a schematic flowchart of a method for switching a display page according to a preferred embodiment of the present invention.
  • a method for switching a display page in an intelligent terminal is mainly composed of the following steps:
  • the applications installed in smart terminals and the functions of each application are becoming more and more numerous, so that all the display pages of the smart terminal cannot display all of them.
  • the application needs to have multiple display pages in the display interface of the smart terminal. Therefore, in the display page of the present invention, at least two display pages are provided. Regardless of the number of display pages being geometric, two of which are the first display page and the second display page respectively (ie, when the display page is two, the two display pages are the first display page and the second display page when displayed) When there are two or more pages, two adjacent display pages are the first display page and the second display page).
  • first display page and the second display page are two adjacent pages or adjacent pages (the head and tail are also connected), and when the display interface of the smart terminal needs to be switched, the first display page appears. Switch to the second display page, or switch from the second display page to the first display page.
  • the Android system when an Android terminal is installed on a smart terminal, the Android system has built in several animation effects when the display interface is switched.
  • the effect of screen switching is defined by the user.
  • the lower side of the screen of the smart terminal is the X axis of the horizontal direction
  • the left side of the screen is the Y axis of the vertical direction.
  • the bottom activity of the Android system is at the X axis value of -100%p, all the display contents of the first display page are displayed.
  • just on the left side of the screen all the contents of the second display page are displayed in all screens (position 1).
  • the implementation process is as follows, first define 2 animations, create an anim directory in the res directory, and then create an animated xml file in the directory: out_to_left.xml (exit animation from the left), in_from_right.xml (into the animation from the right).
  • the user may Using a finger to touch and slide on the screen, it is considered that there is a sliding operation input to the screen, and the screen will recognize the sliding operation and receive.
  • S300 Record the initial contact position on the screen and the current contact position in the sliding operation, and calculate the distance between the initial contact position and the current contact position.
  • the current common method of gesture recognition can be accomplished by the following means:
  • Get the gesture recognizer Gesture Detector object in the system implement the simple gesture listener Simple On Gesture Listener interface through the new inner geometry of the new Gesture Detector (context, listener), rewrite the onFling sliding method, and then pass in the sliding operation production, pass in four Parameters:
  • MotionEvent e1 MotionEvent e2
  • velocityX velocityY
  • E1 is the initial contact
  • e2 is the current contact
  • velocityX is the speed of the x-axis
  • velocityY is the speed of the y-axis.
  • the sliding operation is calculated at the same time to the left or to the right, and a proportional coefficient is multiplied by the distance according to the calculated direction of the sliding operation. Calculate the distance that the first display page should move.
  • the scale factor may be a fixed value such as 1, 0.8, 1.2, and the like. It can be understood that when the scale factor is set to 1, the initial contact position of the sliding operation and the current The distance of the contact position is equal to the distance the first display page moves. For the user, the sense of the movement of the first display page has a very convenient "following".
  • the scale factor When the scale factor is set to 0.8, that is, less than 1, the distance between the initial contact position of the sliding operation and the current contact position is greater than the distance moved by the first display page, and for a user who habitually slides on the screen, Avoiding the action of one of its sliding operations, causing switching of multiple display pages.
  • the scale factor when the scale factor is set to 1.2, that is, greater than 1, the distance between the initial contact position of the sliding operation and the current contact position is smaller than the distance moved by the first display page, and is for a user who habitually slides on the screen. In other words, you can “small money to do big things” to save time and effort.
  • the user can adjust the scale factor according to his or her preference and the experience of the sensitivity of the displayed page.
  • the second display page Since the first display page is connected to the second display page, the second display page will also move synchronously with the movement of the first display page, so that the first display page and the second display page are also connected. Will move with the calculated moving distance. The process of this movement can be clearly observed on the display interface.
  • the moving distance may be smaller than the width of the first display page, causing the partial content of the first display page to be displayed on the display interface, and the second Display part of the content of the page and the junction between the first display page and the second display page.
  • the first display page and the second display page are controlled to remain in the moved position, that is, the display interface must be displayed without displaying the complete first display page and the second display page. Displayed on the display interface.
  • the switching effect can stay in the display interface, providing the user with a more cool sensory experience and improving the user experience.
  • S300 records the initial contact position and the current contact position on the screen in the sliding operation, and calculates the initial contact position and the current contact position.
  • the steps of the distance include:
  • a coordinate system is established therein, and the origin of the coordinate system can be selected as the lower left corner of the display interface, and the abscissa and the ordinate of each point in the display interface are positive real numbers, which is convenient for calculation;
  • the origin of the coordinate system can also be replaced by the positive center of the display interface, and each point of the display interface can be classified into one of the four limits of the coordinate system.
  • the received sliding operation is recognized, and when the sliding operation is first contacted with the screen, the contact The position is the initial contact.
  • each point in the trajectory is the current contact of the sliding operation at any time with the screen as the trajectory of the gesture extends.
  • the identification of the current contact should be any contact within the sliding operation without a breakpoint. If the trajectory of a sliding operation is at the middle breakpoint, then the breakpoint is the final contact position.
  • the initial position coordinates of the gesture's initial contact to the screen, and the current contact coordinates of the current contact are recorded in the coordinate system to uniquely determine the position of the gesture within the visualization interface.
  • the step S300 records the initial contact position on the screen and the current contact position in the sliding operation, and calculates the distance between the initial contact position and the current contact position, and further includes:
  • the projection A' on the projection B' of the current contact coordinate point B on the straight line m, the vector A'B' is called the positive projection of AB on the straight line m or in the direction of the vector e, which is referred to as projection, that is, in the display
  • projection that is, in the display
  • the step S400 synchronously moves the first display page, and the step of the first display page and the second display page includes:
  • the first display page In the horizontal direction (X direction) of the display interface, the first display page is moved, and can be moved to the left or right.
  • the first display page has the same size as the display interface displayed on the screen, and has a rectangular shape.
  • the boundary of the first display page perpendicular to the horizontal direction is also Will move in the lateral direction.
  • the boundary between the first display page and the second display page is the intersection of the first display page and the second display page. Therefore, the movement of the first display page will drive the joint to move together.
  • the second display page is connected to the first display page, and after step S420, the second display page will also move along the first display page in the lateral direction.
  • the first display page, the joint page and the second display page will not disappear, and still display on the display interface. .
  • the process of displaying the first display page, the junction, and the portion of the second display page on the display interface is completed by the following steps:
  • the smart terminal When the first display page, the junction, and the second display page are stopped at any time, the smart terminal will record the stop position at the time of the connection on the display interface, and the first connection continuously connected on both sides of the junction.
  • the display content displayed on the display page and the second display page respectively.
  • the above stop position and display content can be cached in the smart terminal.
  • the stop position at the junction does not change, for example, when the joint moves to one-third of the horizontal direction of the display interface from left to right, the stop position is also at the one-third, and Keep it in that position without change.
  • the display content of the first display page and the second display page are maintained on both sides of the stay position.
  • the visual effect is that during the process of moving the display page, the switching effect at the junction can be at any time. Staying in any position, the sensory effect is even more cool.
  • the display page switching system includes:
  • the setting module is provided in the smart terminal, and at least two display pages including the first display page and the second display page that are connected are set in the display interface of the smart terminal. Regardless of the number of display pages set by the setting module, the two are the first display page and the second display page respectively (that is, when the display page is two, the two display pages are the first display page and the second display) The page, when the display page is two or more, two adjacent display pages are the first display page and the second display page). And the setting module sets the first display page and the second display page to be two connected pages or adjacent pages (the head and tail are also connected), and the display interface of the smart terminal needs to be switched when A display page switches to the second display page, or switches from the second display page to the first display Show how the page is switched.
  • the display module is also disposed in the smart terminal.
  • the user can use the finger to touch and slide the display module, such as the touch screen, as a touch operation on the touch screen.
  • the touch screen will recognize the slide operation and receive it.
  • the processing module is connected to the display module, records the initial contact position and the current contact position on the display module in the sliding operation, and calculates the distance between the initial contact position and the current contact position.
  • the mobile module is connected to the processing module, receives the distance calculated by the processing module, and moves the first display page, and the first display page and the second display in synchronization with the product of the distance and the proportional coefficient in the direction of the sliding operation.
  • the junction of the pages is connected to the processing module, receives the distance calculated by the processing module, and moves the first display page, and the first display page and the second display in synchronization with the product of the distance and the proportional coefficient in the direction of the sliding operation.
  • the processing module calculates the sliding operation at the same time to the left or to the right, and the mobile module receives the calculation result of the processing module, according to the calculated result.
  • the direction of the sliding operation is multiplied by the distance coefficient to calculate the distance that the first display page should be moved.
  • the scale factor may be a fixed value such as 1, 0.8, 1.2, and the like. Since the first display page is connected to the second display page, the second display page will also move synchronously with the movement of the first display page, so that the first display page and the second display page are also connected. Will move with the calculated moving distance. The process of this movement is clearly visible on the display module.
  • the control module is connected to the display module.
  • the control module keeps the interface in the display module on the display interface and controls the display module to display.
  • the control module may control the display content of the first display page and the second display page displayed in the UI interface, and the location where the interface is located, according to the control chip of the smart terminal.
  • the processing module specifically includes:
  • the initial unit initializes a coordinate system in the processing module, and the coordinate system corresponds to the display module, such as a Cartesian coordinate system corresponding to the lateral and longitudinal directions of the display module, or other types of coordinate systems such as an oblique coordinate system.
  • the coordinate system corresponds to the display module, such as a Cartesian coordinate system corresponding to the lateral and longitudinal directions of the display module, or other types of coordinate systems such as an oblique coordinate system.
  • each pixel in the display module can be classified into the position of the coordinate system, so as to obtain the position of the initial contact and the current contact, and the distance between the two contacts. Calculation.
  • the sensing unit may be constructed by a display module such as a piezoelectric sensor, which receives a sliding operation of the display module by the user, and senses an initial contact with the display module within the sliding operation, and the current operation of the sliding module and the display module at any time. Contact.
  • a display module such as a piezoelectric sensor
  • the identification of the current contact should be any contact within the sliding operation without a breakpoint. If the trajectory of a sliding operation is at the middle breakpoint, the breakpoint is the final contact position.
  • the recording unit is connected to the initial unit and the sensing unit, and the initial contact and the current contact received from the analysis sensing unit are located in the coordinate system of the initial unit, and the initial position coordinates of the initial contact in the coordinate system are recorded and current The current contact coordinates of the contact in the coordinate system.
  • the calculation unit is connected with the recording unit to obtain the initial position coordinates of the initial contact point in the coordinate system and the current contact coordinates of the current contact point in the coordinate system, and calculate the initial position coordinate and the current contact coordinate according to the algorithm of the space coordinate system. the distance.
  • the direct distance between the two contacts may be used as the distance to be calculated, or the length of the connecting line segment between the initial position coordinate and the current contact coordinate in the lateral direction of the display interface may be used as the distance.
  • the influence of the sliding gesture in the vertical direction on the movement of the page can be eliminated, and the phenomenon of being too sensitive when accidentally touching or sliding can be prevented.
  • the mobile module moves the first display page mainly in the lateral direction of the display interface, and can move to the left or right. While moving, the movement of the first display page will drive the joint to move together. The rear movement module continues to move the second display page in the lateral direction of the display interface, which will move along the first display page in the lateral direction. Finally, during the movement of the first display page, the docking point and the second display page, if the sliding gesture is stopped at any time, the first display page, the joint page and the second display page will stay in the final position. And will not disappear, still displayed on the display interface.
  • control module includes the following components:
  • the storage unit records the display position of the staying position on the display interface, the first display page and the second display page on both sides of the joint.
  • the storage unit will record the staying position at the time of the connection on the display interface, and the first consecutive connection on both sides of the joint.
  • the display content displayed on the display page and the second display page respectively.
  • the above stop position and display content can be cached in the memory Inside the storage unit.
  • the holding unit keeps the docking position at the docking position, and maintains the first display page and the second display page on both sides of the staying position.
  • the visual effect is a mobile display.
  • the switching effect at the junction can stay anywhere at any time, and the sensory effect is even more cool.

Abstract

A display page switching method and display page switching system based on an intelligent terminal. The display page switching method comprises the following steps: setting at least two display pages, comprising a first display page and a second display page, which are connected to each other, on a display interface of an intelligent terminal; when the display interface displays the first display page, receiving a sliding operation acting on a screen of the intelligent terminal; recording an initial contact point position and a current contact point position, of the sliding operation, on the screen, and calculating the distance between the initial contact point position and the current contact point position; along the direction of the sliding operation, using the product of the distance and a proportional coefficient as a moving distance, synchronously moving the first display page and an intersection of the first display page and the second display page; and releasing the sliding operation, and the intersection staying on the display interface for display. After using the technical solution, the integration is better when a display page is switched, and the switching effect is more realistic and smoother.

Description

一种基于智能终端的显示页面切换方法及显示页面切换系统Display page switching method based on intelligent terminal and display page switching system 技术领域Technical field
本发明涉及智能控制领域,尤其涉及一种基于智能终端的显示页面切换方法及显示页面切换系统。The present invention relates to the field of intelligent control, and in particular, to a display page switching method based on an intelligent terminal and a display page switching system.
背景技术Background technique
随着信息技术的发展,智能终端(如手机、个人数字助理、平板电脑等)的使用越来越广泛,其功能也越来越丰富。目前的智能终端的桌面或是显示界面包括多个页面,页面之间的切换主要是通过触摸屏的左右滑动来实现的,例如,手指触摸屏幕向左滑动一页或向右滑动一页。然而,当使用者使用滑动操作对页面切换时,常常会将滑动操作截止在两个页面的中间。遇到上述情况时,智能终端将根据两个页面里显示内容的多少判断是回复到原始页面,还是跳转到后续页面。With the development of information technology, smart terminals (such as mobile phones, personal digital assistants, tablets, etc.) are used more and more widely, and their functions are becoming more and more abundant. The desktop or display interface of the current smart terminal includes multiple pages, and the switching between the pages is mainly realized by sliding the touch screen to the left and right. For example, the finger touches the screen to slide one page to the left or one page to the right. However, when a user switches to a page using a swipe operation, the swipe operation is often cut off between the two pages. In the above situation, the smart terminal will judge whether to return to the original page or jump to the subsequent page according to the content displayed on the two pages.
随着页面切换间效果的丰富,部分用户尤其注重切换时所呈现的效果,若由智能终端自动地判断页面的跳转,将减少该部分的用户体验。With the rich effect of page switching, some users pay special attention to the effect presented when switching. If the smart terminal automatically determines the jump of the page, the user experience of the part will be reduced.
因此,需要一种可根据用户操作,实时地保留显示页面的切换方法,可暂停或保留页面切换时的炫酷效果,提高用户体验。Therefore, there is a need for a switching method that can retain a display page in real time according to a user operation, and can pause or retain the cool effect when the page is switched, thereby improving the user experience.
发明内容Summary of the invention
为了克服上述技术缺陷,本发明的目的在于提供一种基于智能终端的显示页面切换方法及显示页面切换系统,显示页面切换时整体性更佳,切换效果更为真实和流畅。In order to overcome the above technical deficiencies, an object of the present invention is to provide a display page switching method based on an intelligent terminal and a display page switching system, which is better in displaying page switching, and the switching effect is more realistic and smooth.
本发明公开了一种基于智能终端的显示页面切换方法,包括以下步骤:The invention discloses a display page switching method based on an intelligent terminal, which comprises the following steps:
于所述智能终端的显示界面内设置包括相接的第一显示页面及第二显示页面的至少两个显示页面;Setting at least two display pages including the first display page and the second display page that are connected to each other in the display interface of the smart terminal;
所述显示界面显示所述第一显示页面时,接收一作用于所述智能终端的屏幕上的滑动操作; When the display interface displays the first display page, receiving a sliding operation on a screen of the smart terminal;
记录所述滑动操作中于所述屏幕上的初始触点位置及当前触点位置,并计算所述初始触点位置与所述当前触点位置的距离;Recording an initial contact position and a current contact position on the screen in the sliding operation, and calculating a distance between the initial contact position and the current contact position;
沿所述滑动操作的方向,以所述距离与一比例系数的乘积为移动距离,同步移动所述第一显示页面,及所述第一显示页面与所述第二显示页面的相接处;In the direction of the sliding operation, the product of the distance and a proportional coefficient is a moving distance, and the first display page is synchronously moved, and the first display page and the second display page are connected;
释放所述滑动操作,所述相接处停留于所述显示界面上并显示。The sliding operation is released, and the junction stays on the display interface and is displayed.
优选地,记录所述滑动操作中于所述屏幕上的初始触点位置及当前触点位置,并计算所述初始触点位置与所述当前触点位置的距离的步骤包括:Preferably, the step of recording the initial contact position and the current contact position on the screen in the sliding operation, and calculating the distance between the initial contact position and the current contact position comprises:
建立一对应所述屏幕的坐标系;Establishing a coordinate system corresponding to the screen;
接收所述滑动操作内与所述屏幕的初始触点,及任意时刻下所述滑动操作内与所述屏幕的当前触点;Receiving an initial contact with the screen within the sliding operation, and a current contact with the screen within the sliding operation at any time;
记录所述初始触点于所述坐标系内的初始位置坐标及所述当前触点于所述坐标系内的当前触点坐标;Recording an initial position coordinate of the initial contact point in the coordinate system and a current contact coordinate of the current contact point in the coordinate system;
计算所述初始位置坐标与当前触点坐标的距离。The distance between the initial position coordinates and the current contact coordinates is calculated.
优选地,计算所述初始位置坐标与当前触点坐标的距离的步骤进一步包括:Preferably, the step of calculating the distance between the initial position coordinates and the current contact coordinates further comprises:
计算所述初始位置坐标与所述当前触点坐标的连接线段,于所述显示界面的横向方向上的射影长度作为所述距离。Calculating a connecting line segment of the initial position coordinate and the current contact coordinate, and a projecting length in a lateral direction of the display interface as the distance.
优选地,同步移动所述第一显示页面,及所述第一显示页面与所述第二显示页面的相接处的步骤包括:Preferably, the step of synchronously moving the first display page and the intersection of the first display page and the second display page comprises:
沿所述显示界面的横向方向移动所述第一显示页面;Moving the first display page along a lateral direction of the display interface;
沿所述显示界面的横向方向移动与所述横向方向垂直的相接处;Moving at a junction perpendicular to the lateral direction along a lateral direction of the display interface;
沿所述显示界面的横向方向移动所述第二显示页面;Moving the second display page along a lateral direction of the display interface;
于所述显示界面上同时显示部分所述第一显示页面、所述相接处及部分所述第二显示页面。And displaying a portion of the first display page, the junction, and a portion of the second display page on the display interface.
优选地,所述相接处停留于所述显示界面上并显示的步骤包括:Preferably, the step of staying on the display interface and displaying the connection comprises:
记录所述相接处于所述显示界面上的停留位置、所述第一显示页面及第二显示页面于所述相接处两侧的显示内容;Recording the display position of the docking position on the display interface, the first display page and the second display page on both sides of the joint;
保持所述相接处停留在所述停留位置;Keeping the junction stay at the rest position;
维持所述显示内容。Maintain the display content.
本发明又公开了一种基于智能终端的显示页面切换系统,包括:The invention further discloses a display page switching system based on an intelligent terminal, comprising:
设置模块,于所述智能终端的显示界面内设置包括相接的第一显示页面及第二显示 页面的至少两个显示页面;a setting module, configured to include a first display page and a second display that are connected in the display interface of the smart terminal At least two display pages of the page;
显示模块,显示所述第一显示页面时,接收一滑动操作;a display module, when displaying the first display page, receiving a sliding operation;
处理模块,与所述显示模块连接,记录所述滑动操作中于所述显示模块上的初始触点位置及当前触点位置,并计算所述初始触点位置与所述当前触点位置的距离;a processing module, connected to the display module, recording an initial contact position and a current contact position on the display module in the sliding operation, and calculating a distance between the initial contact position and the current contact position ;
移动模块,与所述处理模块连接,接收所述距离,并沿所述滑动操作的方向,以所述距离与一比例系数的乘积为移动距离,同步移动所述第一显示页面,及所述第一显示页面与所述第二显示页面的相接处;a moving module, connected to the processing module, receiving the distance, and moving, in a direction of the sliding operation, a product of the distance and a proportional coefficient as a moving distance, synchronously moving the first display page, and the a junction of the first display page and the second display page;
控制模块,与所述显示模块连接,当所述滑动操作释放时,保持所述相接处停留于所述显示界面上,并控制所述显示模块显示。The control module is connected to the display module, and when the sliding operation is released, the connection is kept on the display interface, and the display module is controlled to be displayed.
优选地,所述处理模块包括:Preferably, the processing module comprises:
初始单元,于所述处理模块内建立一对应所述显示模块的坐标系;An initial unit, establishing a coordinate system corresponding to the display module in the processing module;
感应单元,接收所述滑动操作内与所述显示模块的初始触点,及任意时刻下所述滑动操作内与所述显示模块的当前触点;The sensing unit receives an initial contact with the display module in the sliding operation, and a current contact with the display module in the sliding operation at any time;
记录单元,分别与所述初始单元及感应单元连接,记录所述初始触点于所述坐标系内的初始位置坐标及所述当前触点于所述坐标系内的当前触点坐标;Recording units are respectively connected to the initial unit and the sensing unit, and record initial coordinate coordinates of the initial contact in the coordinate system and current contact coordinates of the current contact in the coordinate system;
计算单元,与所述记录单元连接,计算所述初始位置坐标与当前触点坐标的距离。And a calculating unit, connected to the recording unit, calculating a distance between the initial position coordinate and the current contact coordinate.
优选地,所述计算单元计算所述初始位置坐标与所述当前触点坐标的连接线段,于所述显示界面的横向方向上的射影长度作为所述距离。Preferably, the calculation unit calculates a connecting line segment of the initial position coordinate and the current contact coordinate, and a projective length in a lateral direction of the display interface as the distance.
优选地,所述移动模块分别沿所述显示界面的横向方向移动所述第一显示页面,沿所述显示界面的横向方向移动与所述横向方向垂直的相接处,沿所述显示界面的横向方向移动所述第二显示页面;Preferably, the moving module moves the first display page along a lateral direction of the display interface, and moves along a horizontal direction of the display interface at an intersection perpendicular to the lateral direction, along the display interface. Moving the second display page in a lateral direction;
所述显示模块与所述移动模块连接,于所述显示界面上同时显示部分所述第一显示页面、所述相接处及部分所述第二显示页面。The display module is connected to the mobile module, and simultaneously displays a portion of the first display page, the junction, and a portion of the second display page on the display interface.
优选地,所述控制模块包括:Preferably, the control module comprises:
存储单元,记录所述相接处于所述显示界面上的停留位置、所述第一显示页面及第二显示页面于所述相接处两侧的显示内容;a storage unit, recording a display position of the docking position on the display interface, the first display page and the second display page on both sides of the interface;
保持单元,与所述显示模块连接,保持所述相接处停留在所述显示模块内的所述停留位置,并维持所述显示模块内的所述显示内容。And a holding unit connected to the display module to maintain the docking position of the docking station in the display module and maintain the display content in the display module.
采用了上述技术方案后,与现有技术相比,具有以下有益效果:After adopting the above technical solution, compared with the prior art, the following beneficial effects are obtained:
1.显示页面切换时整体性更佳; 1. The overall display is better when the page is switched;
2.用户可直观地观察到显示页面切换时的效果,可作为信息分享的基础,用户体验更佳。2. The user can intuitively observe the effect of displaying the page switching, which can be used as the basis of information sharing, and the user experience is better.
附图说明DRAWINGS
图1为符合本发明一优选实施例中显示页面切换方法的流程示意图;1 is a schematic flow chart of a method for switching a display page according to a preferred embodiment of the present invention;
图2为符合本发明一优选实施例中计算距离步骤的流程示意图;2 is a flow chart showing a step of calculating a distance in accordance with a preferred embodiment of the present invention;
图3为符合本发明一优选实施例中移动显示页面步骤的流程示意图;3 is a flow chart showing the steps of moving a display page in accordance with a preferred embodiment of the present invention;
图4为符合本发明一优选实施例中停留相接处步骤的流程示意图;4 is a flow chart showing the steps of staying in a joint in accordance with a preferred embodiment of the present invention;
图5为符合本发明一优选实施例中显示页面切换系统的结构示意图;FIG. 5 is a schematic structural diagram of a display page switching system according to a preferred embodiment of the present invention; FIG.
图6为符合本发明一优选实施例中显示页面切换系统内的处理模块的结构示意图;6 is a schematic structural diagram of a processing module in a display page switching system according to a preferred embodiment of the present invention;
图7为符合本发明一优选实施例中显示页面切换系统内的控制模块的结构示意图。7 is a block diagram showing the structure of a control module in a page switching system in accordance with a preferred embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图与具体实施例进一步阐述本发明的优点。Advantages of the present invention are further explained below in conjunction with the accompanying drawings and specific embodiments.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with aspects of the present disclosure as detailed in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in the present disclosure are for the purpose of describing particular embodiments only, and are not intended to limit the disclosure. The singular forms "a", "the" and "the" It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
在本发明的描述中,除非另有规定和限定,需要说明的是,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是机械连接或电连接,也可以是两个元件内部的连通,可以是直接相连,也可以通过中间媒介间接相连,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "mounted", "connected", and "connected" are to be understood broadly, and may be, for example, mechanical or electrical, or both. The internal communication of the components may be directly connected or indirectly connected through an intermediate medium. For those skilled in the art, the specific meanings of the above terms may be understood according to specific circumstances.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电 话、智能电话、笔记本电脑、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The mobile terminal can be implemented in various forms. For example, the terminal described in the present invention may include, for example, mobile power Mobile terminals such as a smart phone, a smart phone, a laptop, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like, and a fixed terminal such as a digital TV, a desktop computer, or the like. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
参阅图1,为符合本发明一优选实施例中为显示页面切换方法的流程示意图,根据该示意图,智能终端中显示页面的切换方法主要由以下步骤组成:1 is a schematic flowchart of a method for switching a display page according to a preferred embodiment of the present invention. According to the schematic diagram, a method for switching a display page in an intelligent terminal is mainly composed of the following steps:
S100:于所述智能终端的显示界面内,设置包括相接的第一显示页面及第二显示页面的至少两个显示页面S100: in the display interface of the smart terminal, setting at least two display pages including the first display page and the second display page that are connected
随着智能终端在人类生活中的使用率占比的逐渐提高,智能终端内安装的应用程序,以及各应用程序具有的功能也越发地繁多,使得在智能终端的一个显示页面内,无法显示全部的应用程序,则在智能终端的显示界面里,需要设置有多个显示页面。因此,在本发明的显示页面内,设有至少两个显示页面。无论显示页面的数量为几何,其中两个分别为第一显示页面和第二显示页面(即当显示页面为两个时,这两个显示页面为第一显示页面及第二显示页面,当显示页面为两个以上时,其中两个相邻显示页面为第一显示页面及第二显示页面)。且上述第一显示页面和第二显示页面为两相接的页面或相邻的页面(头尾相连也归入),则需要将智能终端的显示界面切换时,便会出现从第一显示页面切换到第二显示页面,或是从第二显示页面切换到第一显示页面的切换方式。With the increasing proportion of smart terminals in human life, the applications installed in smart terminals and the functions of each application are becoming more and more numerous, so that all the display pages of the smart terminal cannot display all of them. The application needs to have multiple display pages in the display interface of the smart terminal. Therefore, in the display page of the present invention, at least two display pages are provided. Regardless of the number of display pages being geometric, two of which are the first display page and the second display page respectively (ie, when the display page is two, the two display pages are the first display page and the second display page when displayed) When there are two or more pages, two adjacent display pages are the first display page and the second display page). And the first display page and the second display page are two adjacent pages or adjacent pages (the head and tail are also connected), and when the display interface of the smart terminal needs to be switched, the first display page appears. Switch to the second display page, or switch from the second display page to the first display page.
以智能终端安装有安卓系统为例,安卓系统在显示界面切换时已经内置了几种动画效果。一般情况下由用户定义屏幕切换的效果。具体实现时,以智能终端屏幕下面边为横向方向的X轴,屏幕左边为纵向方向的Y轴,当安卓系统底层Activity在X轴值为-100%p时,第一显示页面的所有显示内容刚好在屏幕的左边,第二显示页面的所有内容显示在全部屏幕内(位置1),当X轴值为0%p时,第一显示页面的所有显示内容刚好在屏幕内,第二显示页面的所有内容显示在屏幕的右侧(位置2),当X=100%p时第一显示页面的所有显示内容刚好在屏幕右边(位置3),第一显示页面与第二显示页面无缝连接。为实现左右滑动的效果,首先让要退出的Activity从位置2移动到位置1,同时让进入的Activity从位置3移动位置2,这样就能实现从左右切换效果。For example, when an Android terminal is installed on a smart terminal, the Android system has built in several animation effects when the display interface is switched. In general, the effect of screen switching is defined by the user. In the specific implementation, the lower side of the screen of the smart terminal is the X axis of the horizontal direction, and the left side of the screen is the Y axis of the vertical direction. When the bottom activity of the Android system is at the X axis value of -100%p, all the display contents of the first display page are displayed. Just on the left side of the screen, all the contents of the second display page are displayed in all screens (position 1). When the X-axis value is 0%p, all the display contents of the first display page are just inside the screen, and the second display page All the content is displayed on the right side of the screen (position 2). When X=100%p, all the display content of the first display page is just on the right side of the screen (position 3), and the first display page is seamlessly connected with the second display page. . In order to achieve the effect of sliding left and right, first let the activity to be exited move from position 2 to position 1, and let the entered Activity move position 2 from position 3, so that the effect can be switched from left to right.
实现过程如下,首先定义2个动画,在res目录创建anim目录,然后在目录创建动画的xml文件:out_to_left.xml(从左边退出动画)、in_from_right.xml(从右边进入动画)。The implementation process is as follows, first define 2 animations, create an anim directory in the res directory, and then create an animated xml file in the directory: out_to_left.xml (exit animation from the left), in_from_right.xml (into the animation from the right).
S200:显示界面显示第一显示页面时,接收一作用于智能终端的屏幕上的滑动操作S200: When the display interface displays the first display page, receiving a sliding operation on the screen of the smart terminal
当智能终端的显示界面显示的是第一显示页面时(上述实施例中的位置2),用户可 在屏幕上使用手指与屏幕接触并滑动,视作向屏幕输入有一滑动操作,屏幕将识别该滑动操作,并接收。When the display interface of the smart terminal displays the first display page (position 2 in the above embodiment), the user may Using a finger to touch and slide on the screen, it is considered that there is a sliding operation input to the screen, and the screen will recognize the sliding operation and receive.
S300:记录滑动操作中于屏幕上的初始触点位置及当前触点位置,并计算初始触点位置与当前触点位置的距离S300: Record the initial contact position on the screen and the current contact position in the sliding operation, and calculate the distance between the initial contact position and the current contact position.
一般而言,目前常见的对手势识别的方法可采用以下手段完成:In general, the current common method of gesture recognition can be accomplished by the following means:
第一,定义手势识别器First, define a gesture recognizer
获取系统内的手势识别器Gesture Detector对象,通过new Gesture Detector(context,listener)匿名内部类实现简单手势监听器Simple On Gesture Listener接口,重写onFling滑动方法,随后在滑动操作产生式,传递进来四个参数:Get the gesture recognizer Gesture Detector object in the system, implement the simple gesture listener Simple On Gesture Listener interface through the new inner geometry of the new Gesture Detector (context, listener), rewrite the onFling sliding method, and then pass in the sliding operation production, pass in four Parameters:
MotionEvent e1,MotionEvent e2,velocityX,velocityYMotionEvent e1, MotionEvent e2, velocityX, velocityY
e1是初始触点,e2是当前触点,velocityX为x轴的速度,velocityY为y轴的速度,当初始触点减去当前触点大于200时,我们认为它是从右往左划,下一页;当当前触点减去初始触点大于200时,我们认为它是从左往右划,上一页。最后调用MotionEvent对象的getRawX()可以获取到X轴的坐标。E1 is the initial contact, e2 is the current contact, velocityX is the speed of the x-axis, and velocityY is the speed of the y-axis. When the initial contact minus the current contact is greater than 200, we think it is drawn from right to left. One page; when the current contact minus the initial contact is greater than 200, we think it is drawn from left to right, the previous page. Finally, call the getRawX() of the MotionEvent object to get the coordinates of the X axis.
第二,使用手势识别器识别手势Second, use gesture recognizers to recognize gestures
重写activity的onTouchEvent()方法,获取到手势在界面上的滑动事件,而后传递进来一个参数MotionEvent对象,调用GestureDetector对象的onTouchEvent(event)方法,参数:MotionEvent对象,把获取到的事件传递进去。而当检测到滑动操作是在智能终端的显示界面内斜向滑动时,易造成两个触点的y轴坐标之间的距离大于100时,我们认为它是斜着划的,调用MotionEvent对象的getRawY()可以获取到Y轴的坐标,两个点的差值取绝对值Math.abs(),判断大于100就返回true,不往下进行。当然,如果找不到Simple On Gesture Listener类,使用new Gesture Detector.Simple On Gesture Listener()抽取公用方法到基类抽象类BaseSecActivity中,自己的activity只需要继承这个基类,实现上下页的抽象方法,就能实现左右滑动效果。Rewrite the activity's onTouchEvent() method, get the sliding event of the gesture on the interface, and then pass in a parameter MotionEvent object, call the onTouchEvent(event) method of the GestureDetector object, and the parameter: MotionEvent object, pass the obtained event into it. When it is detected that the sliding operation is obliquely sliding in the display interface of the smart terminal, it is easy to cause the distance between the y-axis coordinates of the two contacts to be greater than 100, we think that it is obliquely stroked, and the MotionEvent object is called. getRawY() can get the coordinates of the Y axis. The difference between the two points takes the absolute value Math.abs(). If it is greater than 100, it returns true and does not proceed. Of course, if you can't find the Simple On Gesture Listener class, use the new Gesture Detector.Simple On Gesture Listener() to extract the public method to the base class abstract class BaseSecActivity. Your activity only needs to inherit this base class to implement the abstract method of the upper and lower pages. , you can achieve the left and right sliding effect.
S400:沿滑动操作的方向,以距离与一比例系数的乘积为移动距离,同步移动第一显示页面,及第一显示页面与第二显示页面的相接处S400: in the direction of the sliding operation, the product of the distance and a proportional coefficient is the moving distance, synchronously moving the first display page, and the intersection of the first display page and the second display page
当通过上述函数获得初始触点位置与当前触点位置的距离后,将同时计算得到滑动操作的方式是往左或往右,按照计算所得的滑动操作的方向,将一比例系数乘以该距离,计算所得第一显示页面应当移动的距离。该实施例中,比例系数可以是固定的数值,如1、0.8、1.2等。可以理解的是,当比例系数设置为1时,即滑动操作的初始触点位置与当前 触点位置的距离就等于第一显示页面移动的距离。对于用户而言,其感观为第一显示页面的移动有着非常顺手的“跟手感”。而当比例系数设置为0.8,即小于1时,滑动操作的初始触点位置与当前触点位置的距离大于第一显示页面移动的距离,对于习惯性在屏幕上滑动过渡的用户而言,可避免其一个滑动操作的动作,引起了多个显示页面的切换。同样滴,当比例系数设置为1.2,即大于1时,滑动操作的初始触点位置与当前触点位置的距离小于第一显示页面移动的距离,对于习惯性在屏幕上小幅度滑动的用户而言,可“花小钱办大事”,节省滑动的时间和体力。无论上述何种比例系数的选定,用户可根据自身喜好,以及对显示页面的滑动敏感程度的体验,调节比例系数。When the distance between the initial contact position and the current contact position is obtained by the above function, the sliding operation is calculated at the same time to the left or to the right, and a proportional coefficient is multiplied by the distance according to the calculated direction of the sliding operation. Calculate the distance that the first display page should move. In this embodiment, the scale factor may be a fixed value such as 1, 0.8, 1.2, and the like. It can be understood that when the scale factor is set to 1, the initial contact position of the sliding operation and the current The distance of the contact position is equal to the distance the first display page moves. For the user, the sense of the movement of the first display page has a very convenient "following". When the scale factor is set to 0.8, that is, less than 1, the distance between the initial contact position of the sliding operation and the current contact position is greater than the distance moved by the first display page, and for a user who habitually slides on the screen, Avoiding the action of one of its sliding operations, causing switching of multiple display pages. Similarly, when the scale factor is set to 1.2, that is, greater than 1, the distance between the initial contact position of the sliding operation and the current contact position is smaller than the distance moved by the first display page, and is for a user who habitually slides on the screen. In other words, you can “small money to do big things” to save time and effort. Regardless of the above-mentioned selection of the scale factor, the user can adjust the scale factor according to his or her preference and the experience of the sensitivity of the displayed page.
由于第一显示页面与第二显示页面相接,随着第一显示页面的移动,第二显示页面也将随之同步地移动,从而第一显示页面与第二显示页面的相接处,也将以计算所得的移动距离移动。在显示界面上可清楚地观察到该移动的过程。Since the first display page is connected to the second display page, the second display page will also move synchronously with the movement of the first display page, so that the first display page and the second display page are also connected. Will move with the calculated moving distance. The process of this movement can be clearly observed on the display interface.
S500:释放滑动操作,所述相接处停留于所述显示界面上并显示S500: releasing a sliding operation, wherein the interface stays on the display interface and displays
当用户将手指从屏幕上移开,使得滑动操作自显示界面上释放时,此时可能移动距离小于第一显示页面的宽度,造成在显示界面上显示了第一显示页面的部分内容、第二显示页面的部分内容以及第一显示页面及第二显示页面间的相接处。但在该步骤中,控制第一显示页面和第二显示页面维持在移动的位置,即不自动地调整显示界面必须显示完整的第一显示页面和第二显示页面的规定,将相接处停留在显示界面上并显示。When the user removes the finger from the screen, so that the sliding operation is released from the display interface, the moving distance may be smaller than the width of the first display page, causing the partial content of the first display page to be displayed on the display interface, and the second Display part of the content of the page and the junction between the first display page and the second display page. However, in this step, the first display page and the second display page are controlled to remain in the moved position, that is, the display interface must be displayed without displaying the complete first display page and the second display page. Displayed on the display interface.
通过上述配置,在用户对智能终端的显示界面的显示页面切换时,切换效果可停留在显示界面内,向用户提供更加酷炫的感官感受,提高用户体验。Through the above configuration, when the user switches to the display page of the display interface of the smart terminal, the switching effect can stay in the display interface, providing the user with a more cool sensory experience and improving the user experience.
参阅图2,为符合本发明一优选实施例中计算距离步骤的流程示意图,S300记录滑动操作中于屏幕上的初始触点位置及当前触点位置,并计算初始触点位置与当前触点位置的距离的步骤包括:Referring to FIG. 2, which is a schematic flow chart of a step of calculating a distance in accordance with a preferred embodiment of the present invention, S300 records the initial contact position and the current contact position on the screen in the sliding operation, and calculates the initial contact position and the current contact position. The steps of the distance include:
S301:建立一对应屏幕的坐标系S301: Establish a coordinate system corresponding to the screen
根据屏幕所显示显示界面,在其内建立一坐标系,该坐标系的原点可选择为显示界面的左下角,则显示界面内的每一点的横坐标及纵坐标均为正实数,方便计算;另外,该坐标系的原点也可替换为显示界面的正中心,则显示界面的每一点均可归入坐标系的四限内之一。According to the display interface displayed on the screen, a coordinate system is established therein, and the origin of the coordinate system can be selected as the lower left corner of the display interface, and the abscissa and the ordinate of each point in the display interface are positive real numbers, which is convenient for calculation; In addition, the origin of the coordinate system can also be replaced by the positive center of the display interface, and each point of the display interface can be classified into one of the four limits of the coordinate system.
S302:接收滑动操作内与屏幕的初始触点,及任意时刻下滑动操作内与屏幕的当前触点S302: receiving the initial contact with the screen in the sliding operation, and the current contact between the sliding operation and the screen at any time
坐标系建立后,对接收到的滑动操作识别,当滑动操作首次与屏幕接触时,该接触 的位置为初始触点,当用户手指继续在屏幕上滑动时,随着手势的轨迹的延伸,轨迹内的每一点均为任意时刻下滑动操作与屏幕接触的当前触点。After the coordinate system is established, the received sliding operation is recognized, and when the sliding operation is first contacted with the screen, the contact The position is the initial contact. When the user's finger continues to slide on the screen, each point in the trajectory is the current contact of the sliding operation at any time with the screen as the trajectory of the gesture extends.
可以理解的是,当前触点的识别应当是一无断点的滑动操作内的任意触点,若一滑动操作的轨迹在中部断点,则断点处则为最终的触点位置。It can be understood that the identification of the current contact should be any contact within the sliding operation without a breakpoint. If the trajectory of a sliding operation is at the middle breakpoint, then the breakpoint is the final contact position.
S303:记录初始触点于坐标系内的初始位置坐标及当前触点于坐标系内的当前触点坐标S303: Record the initial position coordinates of the initial contact point in the coordinate system and the current contact coordinate of the current contact point in the coordinate system
识别到手势后,手势对屏幕的初始触点的初始位置坐标,和当前触点的当前触点坐标,记录在坐标系内,从而在可视化界面内唯一性地确定手势的位置。After the gesture is recognized, the initial position coordinates of the gesture's initial contact to the screen, and the current contact coordinates of the current contact, are recorded in the coordinate system to uniquely determine the position of the gesture within the visualization interface.
S304:最后,在坐标系内,计算初始位置坐标与当前触点坐标的距离,从而得到手势的划过痕迹的长度。S304: Finally, in the coordinate system, the distance between the initial position coordinate and the current contact coordinate is calculated, thereby obtaining the length of the stroke of the gesture.
在上述实施例中,考虑到不同用户对手势的滑取有着各自的习惯,而第一显示页面和第二显示页面的切换是在显示界面的横向方向上的,为了将手势的操作和页面的切换对应,对于任意的手势而言,都只选取其在该横向方向上的距离。因此,步骤S300记录滑动操作中于屏幕上的初始触点位置及当前触点位置,并计算初始触点位置与当前触点位置的距离的步骤还包括:In the above embodiment, it is considered that different users have their own habits for the sliding of the gesture, and the switching between the first display page and the second display page is in the lateral direction of the display interface, in order to operate the gesture and the page. Switching correspondence, for any gesture, only its distance in the lateral direction is selected. Therefore, the step S300 records the initial contact position on the screen and the current contact position in the sliding operation, and calculates the distance between the initial contact position and the current contact position, and further includes:
S305:计算初始位置坐标与当前触点坐标的连接线段,于显示界面的横向方向上的射影长度作为距离S305: Calculate the connecting line segment of the initial position coordinate and the current contact coordinate, and the projective length in the lateral direction of the display interface as the distance
也就是说,把初始位置坐标与当前触点坐标的连接线段所在的直线看为直线m,可设单位向量e是直线m的方向向量,向量AB=a,作初始位置坐标点A在直线m上的射影A′,作当前触点坐标点B在直线m上的射影B′,则向量A′B′叫做AB在直线m上或在向量e方向上的正射影,简称射影,即在显示界面的横向方向上的距离。That is to say, the straight line where the connecting line segment of the initial position coordinate and the current contact coordinate is located is regarded as the straight line m, and the unit vector e can be the direction vector of the straight line m, the vector AB=a, and the initial position coordinate point A is in the straight line m The projection A' on the projection B' of the current contact coordinate point B on the straight line m, the vector A'B' is called the positive projection of AB on the straight line m or in the direction of the vector e, which is referred to as projection, that is, in the display The distance in the lateral direction of the interface.
另一优选或可选实施例中,参阅图3,步骤S400同步移动第一显示页面,及第一显示页面与第二显示页面的相接处的步骤包括:In another preferred or alternative embodiment, referring to FIG. 3, the step S400 synchronously moves the first display page, and the step of the first display page and the second display page includes:
S401:沿显示界面的横向方向移动第一显示页面S401: moving the first display page in a lateral direction of the display interface
在显示界面的横向方向(X方向),移动第一显示页面,可向左或向右移动。In the horizontal direction (X direction) of the display interface, the first display page is moved, and can be moved to the left or right.
S402:沿显示界面的横向方向移动与横向方向垂直的相接处S402: moving in the lateral direction of the display interface and the intersection perpendicular to the lateral direction
通常而言,第一显示页面为与屏幕所显示的显示界面的大小相同,呈矩形,当第一显示页面沿显示界面的横向方向移动时,第一显示页面上与横向方向垂直的边界,也将沿横向方向移动。而该第一显示页面与横向方向垂直的边界,即为第一显示页面与第二显示页面的相接处,因此,该第一显示页面的移动将带动相接处一同移动。 Generally, the first display page has the same size as the display interface displayed on the screen, and has a rectangular shape. When the first display page moves along the lateral direction of the display interface, the boundary of the first display page perpendicular to the horizontal direction is also Will move in the lateral direction. The boundary between the first display page and the second display page is the intersection of the first display page and the second display page. Therefore, the movement of the first display page will drive the joint to move together.
S403:沿显示界面的横向方向移动第二显示页面S403: moving the second display page in a lateral direction of the display interface
第二显示页面与第一显示页面连接在相接处,在步骤S420后,第二显示页面也将随第一显示页面一同沿横向方向移动。The second display page is connected to the first display page, and after step S420, the second display page will also move along the first display page in the lateral direction.
S404:于显示界面上同时显示部分第一显示页面、相接处及部分第二显示页面S404: simultaneously displaying a part of the first display page, the junction, and a part of the second display page on the display interface
在第一显示页面、相接处和第二显示页面的移动过程中,若在任意时刻停止移动,第一显示页面、相接处和第二显示页面将不会消失,依然显示在显示界面上。During the movement of the first display page, the docking point and the second display page, if the movement is stopped at any time, the first display page, the joint page and the second display page will not disappear, and still display on the display interface. .
具体地,第一显示页面、相接处及部分第二显示页面显示在显示界面上的过程由以下步骤完成:Specifically, the process of displaying the first display page, the junction, and the portion of the second display page on the display interface is completed by the following steps:
S501:记录相接处于显示界面上的停留位置、第一显示页面及第二显示页面于相接处两侧的显示内容S501: Recording the display position of the staying position on the display interface, the first display page and the second display page on both sides of the joint
当在任意时刻停止移动第一显示页面、相接处和第二显示页面时,智能终端将记录下此时相接处在显示界面上的停留位置,以及相接处两侧连续连接的第一显示页面和第二显示页面分别显示的显示内容。上述停留位置和显示内容可缓存在智能终端内。When the first display page, the junction, and the second display page are stopped at any time, the smart terminal will record the stop position at the time of the connection on the display interface, and the first connection continuously connected on both sides of the junction. The display content displayed on the display page and the second display page respectively. The above stop position and display content can be cached in the smart terminal.
S502:保持相接处停留在停留位置S502: Keep the joint stay at the stop position
S503:维持显示内容S503: Maintain display content
缓存后,相接处的停留位置不发生变化,例如,当相接处移动到显示界面从左往右横向方向上的三分之一处时,停留位置也在该三分之一处,并保持在该位置不发生变化。而第一显示页面和第二显示页面的显示内容,维持在停留位置的两侧不变,对于用户而言,其视觉效果上为移动显示页面过程中,相接处的切换效果可在任意时刻停留在任意位置,感官效果更为酷炫。After the buffering, the stop position at the junction does not change, for example, when the joint moves to one-third of the horizontal direction of the display interface from left to right, the stop position is also at the one-third, and Keep it in that position without change. The display content of the first display page and the second display page are maintained on both sides of the stay position. For the user, the visual effect is that during the process of moving the display page, the switching effect at the junction can be at any time. Staying in any position, the sensory effect is even more cool.
参阅图5,为符合本发明一优选实施例中,显示页面切换系统的结构示意图。该显示页面切换系统内,包括有:Referring to FIG. 5, a schematic diagram of a structure of a display page switching system in accordance with a preferred embodiment of the present invention. The display page switching system includes:
-设置模块-Setup module
设置模块提供在智能终端内,并于智能终端的显示界面内设置包括相接的第一显示页面及第二显示页面的至少两个显示页面,。无论设置模块设置的显示页面的数量为几何,其中两个分别为第一显示页面和第二显示页面(即当显示页面为两个时,这两个显示页面为第一显示页面及第二显示页面,当显示页面为两个以上时,其中两个相邻显示页面为第一显示页面及第二显示页面)。且设置模块设置上述第一显示页面和第二显示页面为两相接的页面或相邻的页面(头尾相连也归入),则需要将智能终端的显示界面切换时,便会出现从第一显示页面切换到第二显示页面,或是从第二显示页面切换到第一显 示页面的切换方式。The setting module is provided in the smart terminal, and at least two display pages including the first display page and the second display page that are connected are set in the display interface of the smart terminal. Regardless of the number of display pages set by the setting module, the two are the first display page and the second display page respectively (that is, when the display page is two, the two display pages are the first display page and the second display) The page, when the display page is two or more, two adjacent display pages are the first display page and the second display page). And the setting module sets the first display page and the second display page to be two connected pages or adjacent pages (the head and tail are also connected), and the display interface of the smart terminal needs to be switched when A display page switches to the second display page, or switches from the second display page to the first display Show how the page is switched.
-显示模块- display module
显示模块同样设置在智能终端内,当智能终端的显示界面显示的是第一显示页面时,用户可在屏幕上使用手指与显示模块,例如触摸屏接触并滑动,视作向触摸屏输入有一滑动操作,触摸屏将识别该滑动操作,并接收。The display module is also disposed in the smart terminal. When the display interface of the smart terminal displays the first display page, the user can use the finger to touch and slide the display module, such as the touch screen, as a touch operation on the touch screen. The touch screen will recognize the slide operation and receive it.
-处理模块- Processing module
处理模块与显示模块连接,记录滑动操作中于显示模块上的初始触点位置及当前触点位置,并计算初始触点位置与当前触点位置的距离。The processing module is connected to the display module, records the initial contact position and the current contact position on the display module in the sliding operation, and calculates the distance between the initial contact position and the current contact position.
-移动模块-Mobile module
移动模块与处理模块连接,接收处理模块计算得到的距离,并沿滑动操作的方向,以距离与一比例系数的乘积为移动距离,同步移动第一显示页面,及第一显示页面与第二显示页面的相接处。The mobile module is connected to the processing module, receives the distance calculated by the processing module, and moves the first display page, and the first display page and the second display in synchronization with the product of the distance and the proportional coefficient in the direction of the sliding operation. The junction of the pages.
具体地,当处理模块获得初始触点位置与当前触点位置的距离后,处理模块将同时计算得到滑动操作的方式是往左或往右,移动模块接收处理模块的计算结果,按照计算所得的滑动操作的方向,将一比例系数乘以该距离,计算所得第一显示页面应当移动的距离。该实施例中,比例系数可以是固定的数值,如1、0.8、1.2等。由于第一显示页面与第二显示页面相接,随着第一显示页面的移动,第二显示页面也将随之同步地移动,从而第一显示页面与第二显示页面的相接处,也将以计算所得的移动距离移动。在显示模块上可清楚地观察到该移动的过程。Specifically, after the processing module obtains the distance between the initial contact position and the current contact position, the processing module calculates the sliding operation at the same time to the left or to the right, and the mobile module receives the calculation result of the processing module, according to the calculated result. The direction of the sliding operation is multiplied by the distance coefficient to calculate the distance that the first display page should be moved. In this embodiment, the scale factor may be a fixed value such as 1, 0.8, 1.2, and the like. Since the first display page is connected to the second display page, the second display page will also move synchronously with the movement of the first display page, so that the first display page and the second display page are also connected. Will move with the calculated moving distance. The process of this movement is clearly visible on the display module.
-控制模块-Control module
控制模块与显示模块连接,当显示模块接收到的滑动操作释放时,控制模块保持显示模块内的相接处停留于显示界面上,并控制显示模块显示。具体地,控制模块可依托于智能终端的控制芯片,控制UI界面内显示的第一显示页面和第二显示页面的显示内容,以及相接处所在的位置。The control module is connected to the display module. When the sliding operation received by the display module is released, the control module keeps the interface in the display module on the display interface and controls the display module to display. Specifically, the control module may control the display content of the first display page and the second display page displayed in the UI interface, and the location where the interface is located, according to the control chip of the smart terminal.
参阅图6,一优选实施例中,处理模块具体包括有:Referring to FIG. 6, in a preferred embodiment, the processing module specifically includes:
-初始单元- initial unit
初始单元于处理模块内初始化一坐标系,该坐标系对应显示模块,如与显示模块的横向和纵向方向对应的直角坐标系,或是其他类型的坐标系如斜坐标系等均可。对应于显示模块的坐标系的建立,将显示模块内的每一像素点均可归入至坐标系的位置内,方便后续获得初始触点和当前触点的位置,以及上述两触点的距离的计算。 The initial unit initializes a coordinate system in the processing module, and the coordinate system corresponds to the display module, such as a Cartesian coordinate system corresponding to the lateral and longitudinal directions of the display module, or other types of coordinate systems such as an oblique coordinate system. Corresponding to the establishment of the coordinate system of the display module, each pixel in the display module can be classified into the position of the coordinate system, so as to obtain the position of the initial contact and the current contact, and the distance between the two contacts. Calculation.
-感应单元- sensing unit
感应单元可以由显示模块如压电传感器为基础构造,其接收用户对显示模块的滑动操作内,并感应滑动操作内与显示模块的初始触点,及任意时刻下滑动操作内与显示模块的当前触点。The sensing unit may be constructed by a display module such as a piezoelectric sensor, which receives a sliding operation of the display module by the user, and senses an initial contact with the display module within the sliding operation, and the current operation of the sliding module and the display module at any time. Contact.
可以理解的是,当前触点的识别应当是一无断点的滑动操作内的任意触点,若一滑动操作的轨迹在中部断点,则断点处为最终的触点位置。It can be understood that the identification of the current contact should be any contact within the sliding operation without a breakpoint. If the trajectory of a sliding operation is at the middle breakpoint, the breakpoint is the final contact position.
-记录单元- Recording unit
记录单元与初始单元及感应单元连接,从分析感应单元接收到的初始触点和当前触点在初始单元内的坐标系的位置,并记录下初始触点于坐标系内的初始位置坐标及当前触点于坐标系内的当前触点坐标。The recording unit is connected to the initial unit and the sensing unit, and the initial contact and the current contact received from the analysis sensing unit are located in the coordinate system of the initial unit, and the initial position coordinates of the initial contact in the coordinate system are recorded and current The current contact coordinates of the contact in the coordinate system.
-计算单元- calculation unit
计算单元与记录单元连接,获取初始触点于坐标系内的初始位置坐标及当前触点于坐标系内的当前触点坐标,并根据空间坐标系的算法,计算初始位置坐标与当前触点坐标的距离。The calculation unit is connected with the recording unit to obtain the initial position coordinates of the initial contact point in the coordinate system and the current contact coordinates of the current contact point in the coordinate system, and calculate the initial position coordinate and the current contact coordinate according to the algorithm of the space coordinate system. the distance.
优选地,在计算距离时,可将两触点间的直接距离作为需计算的距离,也可将初始位置坐标与当前触点坐标的连接线段,于显示界面的横向方向上的射影长度作为距离,这样,可排除在竖直方向上的滑动手势对页面移动的影响,防止误触或滑动时过于敏感的现象。Preferably, when calculating the distance, the direct distance between the two contacts may be used as the distance to be calculated, or the length of the connecting line segment between the initial position coordinate and the current contact coordinate in the lateral direction of the display interface may be used as the distance. In this way, the influence of the sliding gesture in the vertical direction on the movement of the page can be eliminated, and the phenomenon of being too sensitive when accidentally touching or sliding can be prevented.
移动模块在移动第一显示页面、第二显示页面及相接处时,主要沿显示界面的横向方向移动第一显示页面,可向左或向右移动。在移动的同时,该第一显示页面的移动将带动相接处一同移动。后移动模块继续沿显示界面的横向方向移动第二显示页面,其将随第一显示页面一同沿横向方向移动。最后,移动模块在第一显示页面、相接处和第二显示页面的移动过程中,若在任意时刻停止接收滑动手势,第一显示页面、相接处和第二显示页面将停留在最终位置,且不会消失,依然显示在显示界面上。When moving the first display page, the second display page and the junction, the mobile module moves the first display page mainly in the lateral direction of the display interface, and can move to the left or right. While moving, the movement of the first display page will drive the joint to move together. The rear movement module continues to move the second display page in the lateral direction of the display interface, which will move along the first display page in the lateral direction. Finally, during the movement of the first display page, the docking point and the second display page, if the sliding gesture is stopped at any time, the first display page, the joint page and the second display page will stay in the final position. And will not disappear, still displayed on the display interface.
参阅图7,控制模块包括有以下部件:Referring to Figure 7, the control module includes the following components:
-存储单元- storage unit
存储单元记录相接处于显示界面上的停留位置、第一显示页面及第二显示页面于相接处两侧的显示内容。当在任意时刻停止移动第一显示页面、相接处和第二显示页面时,存储单元将记录下此时相接处在显示界面上的停留位置,以及相接处两侧连续连接的第一显示页面和第二显示页面分别显示的显示内容。上述停留位置和显示内容可缓存在存 储单元内。The storage unit records the display position of the staying position on the display interface, the first display page and the second display page on both sides of the joint. When the first display page, the docking point and the second display page are stopped moving at any time, the storage unit will record the staying position at the time of the connection on the display interface, and the first consecutive connection on both sides of the joint. The display content displayed on the display page and the second display page respectively. The above stop position and display content can be cached in the memory Inside the storage unit.
-保持单元- holding unit
保持单元在滑动手势消失后,保持相接处停留在停留位置,并将第一显示页面、第二显示页面维持在停留位置的两侧不变,对于用户而言,其视觉效果上为移动显示页面过程中,相接处的切换效果可在任意时刻停留在任意位置,感官效果更为酷炫。After the sliding gesture disappears, the holding unit keeps the docking position at the docking position, and maintains the first display page and the second display page on both sides of the staying position. For the user, the visual effect is a mobile display. During the page process, the switching effect at the junction can stay anywhere at any time, and the sensory effect is even more cool.
应当注意的是,本发明的实施例有较佳的实施性,且并非对本发明作任何形式的限制,任何熟悉该领域的技术人员可能利用上述揭示的技术内容变更或修饰为等同的有效实施例,但凡未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何修改或等同变化及修饰,均仍属于本发明技术方案的范围内。 It should be noted that the embodiments of the present invention are preferred embodiments, and are not intended to limit the scope of the present invention. Any one skilled in the art may use the above-disclosed technical contents to change or modify the equivalent embodiments. Any modification or equivalent changes and modifications of the above embodiments in accordance with the technical spirit of the present invention are still within the scope of the technical solutions of the present invention.

Claims (10)

  1. 一种基于智能终端的显示页面切换方法,其特征在于,包括以下步骤:A method for switching a display page based on a smart terminal, comprising the steps of:
    于所述智能终端的显示界面内设置包括相接的第一显示页面及第二显示页面的至少两个显示页面;Setting at least two display pages including the first display page and the second display page that are connected to each other in the display interface of the smart terminal;
    所述显示界面显示所述第一显示页面时,接收一作用于所述智能终端的屏幕上的滑动操作;When the display interface displays the first display page, receiving a sliding operation on a screen of the smart terminal;
    记录所述滑动操作中于所述屏幕上的初始触点位置及当前触点位置,并计算所述初始触点位置与所述当前触点位置的距离;Recording an initial contact position and a current contact position on the screen in the sliding operation, and calculating a distance between the initial contact position and the current contact position;
    沿所述滑动操作的方向,以所述距离与一比例系数的乘积为移动距离,同步移动所述第一显示页面,及所述第一显示页面与所述第二显示页面的相接处;In the direction of the sliding operation, the product of the distance and a proportional coefficient is a moving distance, and the first display page is synchronously moved, and the first display page and the second display page are connected;
    释放所述滑动操作,所述相接处停留于所述显示界面上并显示。The sliding operation is released, and the junction stays on the display interface and is displayed.
  2. 如权利要求1所述的显示页面切换方法,其特征在于,A display page switching method according to claim 1, wherein
    记录所述滑动操作中于所述屏幕上的初始触点位置及当前触点位置,并计算所述初始触点位置与所述当前触点位置的距离的步骤包括:Recording an initial contact position and a current contact position on the screen in the sliding operation, and calculating a distance between the initial contact position and the current contact position includes:
    建立一对应所述屏幕的坐标系;Establishing a coordinate system corresponding to the screen;
    接收所述滑动操作内与所述屏幕的初始触点,及任意时刻下所述滑动操作内与所述屏幕的当前触点;Receiving an initial contact with the screen within the sliding operation, and a current contact with the screen within the sliding operation at any time;
    记录所述初始触点于所述坐标系内的初始位置坐标及所述当前触点于所述坐标系内的当前触点坐标;Recording an initial position coordinate of the initial contact point in the coordinate system and a current contact coordinate of the current contact point in the coordinate system;
    计算所述初始位置坐标与当前触点坐标的距离。The distance between the initial position coordinates and the current contact coordinates is calculated.
  3. 如权利要求2所述的显示页面切换方法,其特征在于,A display page switching method according to claim 2, wherein
    计算所述初始位置坐标与当前触点坐标的距离的步骤进一步包括:The step of calculating the distance between the initial position coordinates and the current contact coordinates further includes:
    计算所述初始位置坐标与所述当前触点坐标的连接线段,于所述显示界面的横向方向上的射影长度作为所述距离。Calculating a connecting line segment of the initial position coordinate and the current contact coordinate, and a projecting length in a lateral direction of the display interface as the distance.
  4. 如权利要求1所述的显示页面切换方法,其特征在于,A display page switching method according to claim 1, wherein
    同步移动所述第一显示页面,及所述第一显示页面与所述第二显示页面的相接处的步骤包括:The step of synchronously moving the first display page and the interface between the first display page and the second display page includes:
    沿所述显示界面的横向方向移动所述第一显示页面;Moving the first display page along a lateral direction of the display interface;
    沿所述显示界面的横向方向移动与所述横向方向垂直的相接处; Moving at a junction perpendicular to the lateral direction along a lateral direction of the display interface;
    沿所述显示界面的横向方向移动所述第二显示页面;Moving the second display page along a lateral direction of the display interface;
    于所述显示界面上同时显示部分所述第一显示页面、所述相接处及部分所述第二显示页面。And displaying a portion of the first display page, the junction, and a portion of the second display page on the display interface.
  5. 如权利要求1所述的显示页面切换方法,其特征在于,A display page switching method according to claim 1, wherein
    所述相接处停留于所述显示界面上并显示的步骤包括:The step of staying on the display interface and displaying the connection includes:
    记录所述相接处于所述显示界面上的停留位置、所述第一显示页面及第二显示页面于所述相接处两侧的显示内容;Recording the display position of the docking position on the display interface, the first display page and the second display page on both sides of the joint;
    保持所述相接处停留在所述停留位置;Keeping the junction stay at the rest position;
    维持所述显示内容。Maintain the display content.
  6. 一种基于智能终端的显示页面切换系统,其特征在于,A display page switching system based on intelligent terminal, characterized in that
    所述显示页面切换系统包括:The display page switching system includes:
    设置模块,于所述智能终端的显示界面内设置包括相接的第一显示页面及第二显示页面的至少两个显示页面;Setting a module, in the display interface of the smart terminal, setting at least two display pages including the first display page and the second display page that are connected;
    显示模块,显示所述第一显示页面时,接收一滑动操作;a display module, when displaying the first display page, receiving a sliding operation;
    处理模块,与所述显示模块连接,记录所述滑动操作中于所述显示模块上的初始触点位置及当前触点位置,并计算所述初始触点位置与所述当前触点位置的距离;a processing module, connected to the display module, recording an initial contact position and a current contact position on the display module in the sliding operation, and calculating a distance between the initial contact position and the current contact position ;
    移动模块,与所述处理模块连接,接收所述距离,并沿所述滑动操作的方向,以所述距离与一比例系数的乘积为移动距离,同步移动所述第一显示页面,及所述第一显示页面与所述第二显示页面的相接处;a moving module, connected to the processing module, receiving the distance, and moving, in a direction of the sliding operation, a product of the distance and a proportional coefficient as a moving distance, synchronously moving the first display page, and the a junction of the first display page and the second display page;
    控制模块,与所述显示模块连接,当所述滑动操作释放时,保持所述相接处停留于所述显示界面上,并控制所述显示模块显示。The control module is connected to the display module, and when the sliding operation is released, the connection is kept on the display interface, and the display module is controlled to be displayed.
  7. 如权利要求6所述的显示页面切换系统,其特征在于,A display page switching system according to claim 6, wherein
    所述处理模块包括:The processing module includes:
    初始单元,于所述处理模块内建立一对应所述显示模块的坐标系;An initial unit, establishing a coordinate system corresponding to the display module in the processing module;
    感应单元,接收所述滑动操作内与所述显示模块的初始触点,及任意时刻下所述滑动操作内与所述显示模块的当前触点;The sensing unit receives an initial contact with the display module in the sliding operation, and a current contact with the display module in the sliding operation at any time;
    记录单元,分别与所述初始单元及感应单元连接,记录所述初始触点于所述坐标系内的初始位置坐标及所述当前触点于所述坐标系内的当前触点坐标;Recording units are respectively connected to the initial unit and the sensing unit, and record initial coordinate coordinates of the initial contact in the coordinate system and current contact coordinates of the current contact in the coordinate system;
    计算单元,与所述记录单元连接,计算所述初始位置坐标与当前触点坐标的距离。And a calculating unit, connected to the recording unit, calculating a distance between the initial position coordinate and the current contact coordinate.
  8. 如权利要求7所述的显示页面切换系统,其特征在于,A display page switching system according to claim 7, wherein
    所述计算单元计算所述初始位置坐标与所述当前触点坐标的连接线段,于所述显示界面 的横向方向上的射影长度作为所述距离。The calculating unit calculates a connecting line segment of the initial position coordinate and the current contact coordinate, and the display interface The length of the projecting in the lateral direction is taken as the distance.
  9. 如权利要求6所述的显示页面切换系统,其特征在于,A display page switching system according to claim 6, wherein
    所述移动模块分别沿所述显示界面的横向方向移动所述第一显示页面,沿所述显示界面的横向方向移动与所述横向方向垂直的相接处,沿所述显示界面的横向方向移动所述第二显示页面;Moving the module to move the first display page along a lateral direction of the display interface, moving the intersection perpendicular to the lateral direction along a lateral direction of the display interface, and moving along a lateral direction of the display interface The second display page;
    所述显示模块与所述移动模块连接,于所述显示界面上同时显示部分所述第一显示页面、所述相接处及部分所述第二显示页面。The display module is connected to the mobile module, and simultaneously displays a portion of the first display page, the junction, and a portion of the second display page on the display interface.
  10. 如权利要求6所述的显示页面切换系统,其特征在于,A display page switching system according to claim 6, wherein
    所述控制模块包括:The control module includes:
    存储单元,记录所述相接处于所述显示界面上的停留位置、所述第一显示页面及第二显示页面于所述相接处两侧的显示内容;a storage unit, recording a display position of the docking position on the display interface, the first display page and the second display page on both sides of the interface;
    保持单元,与所述显示模块连接,保持所述相接处停留在所述显示模块内的所述停留位置,并维持所述显示模块内的所述显示内容。 And a holding unit connected to the display module to maintain the docking position of the docking station in the display module and maintain the display content in the display module.
PCT/CN2017/101959 2017-09-15 2017-09-15 Display page switching method and display page switching system based on intelligent terminal WO2019051809A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101959 WO2019051809A1 (en) 2017-09-15 2017-09-15 Display page switching method and display page switching system based on intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101959 WO2019051809A1 (en) 2017-09-15 2017-09-15 Display page switching method and display page switching system based on intelligent terminal

Publications (1)

Publication Number Publication Date
WO2019051809A1 true WO2019051809A1 (en) 2019-03-21

Family

ID=65723486

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101959 WO2019051809A1 (en) 2017-09-15 2017-09-15 Display page switching method and display page switching system based on intelligent terminal

Country Status (1)

Country Link
WO (1) WO2019051809A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375650A (en) * 2010-08-11 2012-03-14 上海三旗通信科技有限公司 Fire-new mobile terminal interface distribution and switching interaction mode
CN102955658A (en) * 2011-08-25 2013-03-06 腾讯科技(深圳)有限公司 Device and method for page switching in interaction interface
CN103309571A (en) * 2012-03-14 2013-09-18 腾讯科技(深圳)有限公司 Method and device for controlling page sliding
CN103699289A (en) * 2013-12-13 2014-04-02 广州华多网络科技有限公司 Method and device for responding to sliding operation
US20150095836A1 (en) * 2012-06-13 2015-04-02 Tencent Technology (Shenzhen) Company Limited Method, apparatus and computer storage medium for switching pages
CN105094548A (en) * 2015-07-20 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375650A (en) * 2010-08-11 2012-03-14 上海三旗通信科技有限公司 Fire-new mobile terminal interface distribution and switching interaction mode
CN102955658A (en) * 2011-08-25 2013-03-06 腾讯科技(深圳)有限公司 Device and method for page switching in interaction interface
CN103309571A (en) * 2012-03-14 2013-09-18 腾讯科技(深圳)有限公司 Method and device for controlling page sliding
US20150095836A1 (en) * 2012-06-13 2015-04-02 Tencent Technology (Shenzhen) Company Limited Method, apparatus and computer storage medium for switching pages
CN103699289A (en) * 2013-12-13 2014-04-02 广州华多网络科技有限公司 Method and device for responding to sliding operation
CN105094548A (en) * 2015-07-20 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment

Similar Documents

Publication Publication Date Title
US11599154B2 (en) Adaptive enclosure for a mobile computing device
US11727650B2 (en) Systems, methods, and graphical user interfaces for displaying and manipulating virtual objects in augmented reality environments
US10401964B2 (en) Mobile terminal and method for controlling haptic feedback
US11635876B2 (en) Devices, methods, and graphical user interfaces for moving a current focus using a touch-sensitive remote control
US20220130118A1 (en) Systems, Methods, and Graphical User Interfaces for Modeling, Measuring, and Drawing Using Augmented Reality
US11323658B2 (en) Display apparatus and control methods thereof
US10775997B2 (en) Presentation of a control interface on a touch-enabled device based on a motion or absence thereof
KR101229699B1 (en) Method of moving content between applications and apparatus for the same
US10521101B2 (en) Scroll mode for touch/pointing control
CN110568965A (en) device and method for processing touch input on multiple areas of a touch-sensitive surface
US10908868B2 (en) Data processing method and mobile device
WO2022227784A1 (en) Picture display method and apparatus, device, and storage medium
US20240053859A1 (en) Systems, Methods, and Graphical User Interfaces for Interacting with Virtual Reality Environments
WO2022218352A1 (en) Method and apparatus for touch operation
US11696017B2 (en) User interface for managing audible descriptions for visual media
WO2019051809A1 (en) Display page switching method and display page switching system based on intelligent terminal
WO2022001542A1 (en) Information processing method and apparatus, and storage medium, and electronic device
JP2019537118A (en) Method and apparatus for displaying pages, graphical user interface, and mobile terminal
CN105320421A (en) Message displaying method and device, and terminal
WO2023049063A1 (en) Content manipulation via a computer-generated representation of a trackpad
TW201435718A (en) Electronic device and method for operating display page thereof

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: 17925339

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17925339

Country of ref document: EP

Kind code of ref document: A1