WO2019051840A1 - Dynamic display method and device for terminal interface - Google Patents

Dynamic display method and device for terminal interface Download PDF

Info

Publication number
WO2019051840A1
WO2019051840A1 PCT/CN2017/102107 CN2017102107W WO2019051840A1 WO 2019051840 A1 WO2019051840 A1 WO 2019051840A1 CN 2017102107 W CN2017102107 W CN 2017102107W WO 2019051840 A1 WO2019051840 A1 WO 2019051840A1
Authority
WO
WIPO (PCT)
Prior art keywords
display interface
display
dividing line
user
target
Prior art date
Application number
PCT/CN2017/102107
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/102107 priority Critical patent/WO2019051840A1/en
Publication of WO2019051840A1 publication Critical patent/WO2019051840A1/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Definitions

  • the present application relates to the field of terminal technologies, and in particular, to a dynamic display method and apparatus for a terminal interface.
  • the invention provides a dynamic display method and device for a terminal interface, so as to realize that the user can operate all the controls and/or applications on the entire display interface with one hand, and the operation is simple and the user experience is good.
  • the present invention provides a dynamic display method of a terminal interface, including:
  • determining, according to the sliding trajectory, a target moving direction and a target display position of the display interface including:
  • the displaying the part or all of the content of the display interface in the target display location includes:
  • the display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and a display interface of one side of the vertical dividing line or one side of the horizontal dividing line is displayed.
  • the acquiring a user-triggered sliding track includes:
  • a selection button for displaying a moving direction and a moving position according to the opening instruction
  • the sliding track is acquired according to a triggering operation of the button by the user.
  • the method further includes:
  • the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
  • the present invention provides a dynamic display device for a terminal interface, including:
  • An acquisition module configured to acquire a sliding track triggered by a user
  • a determining module configured to determine a target moving direction and a target display position of the display interface according to the sliding track
  • an execution module configured to move the display interface to the target moving direction, and display part or all of the content of the display interface at the target display position.
  • the determining module is specifically configured to:
  • the execution module is specifically configured to:
  • the display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and a display interface of one side of the vertical dividing line or one side of the horizontal dividing line is displayed.
  • the acquiring module is further specifically configured to:
  • a selection button for displaying a moving direction and a moving position according to the opening instruction
  • the sliding track is acquired according to a triggering operation of the button by the user.
  • it also includes:
  • the receiving module is configured to receive a preset trigger signal input by the user;
  • the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
  • a recovery module configured to restore an initial display state of the display interface according to the preset trigger signal.
  • the present invention provides a dynamic display device for a terminal interface, including:
  • processor for executing the program stored by the memory, the processor for performing the method of any of the first aspects when the program is executed.
  • the invention provides a computer readable storage medium comprising: instructions, when executed on a computer, causing a computer to perform the method of any of the first aspects.
  • the dynamic display method and device for the terminal interface provided by the present invention extracts the target moving direction and the target display position of the display interface by the user-triggered sliding track, and dynamically displays part or all of the content of the interface according to the target moving direction and the target display position.
  • the operation is simple and the user experience is good.
  • FIG. 1 is a schematic diagram of a display interface of a smart phone in the prior art
  • FIG. 2 is a schematic flowchart of a dynamic display method of a terminal interface according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic diagram of a usage state of a mobile assistant on a smartphone interface
  • step S102 in FIG. 2 is a schematic flow chart of the method of step S102 in FIG. 2;
  • FIG. 5 is a schematic diagram showing a state of a vertical dividing line displayed on a terminal interface
  • FIG. 6 is a schematic diagram showing a state of a horizontal dividing line displayed on a terminal interface
  • Figure 7 is a schematic view showing a state when displayed under the horizontal dividing line
  • Figure 8 is a schematic view showing a state when displayed on the left side of the vertical dividing line
  • FIG. 9 is a schematic flowchart of a dynamic display method of a terminal interface according to Embodiment 2 of the present invention.
  • FIG. 10 is a schematic structural diagram of a dynamic display device for a terminal interface according to Embodiment 1 of the present invention.
  • FIG. 11 is a schematic structural diagram of a dynamic display device for a terminal interface according to Embodiment 2 of the present invention.
  • FIG. 12 is a schematic structural diagram of a dynamic display device of a terminal interface according to Embodiment 1 of the present invention.
  • FIG. 1 is a schematic diagram of a display interface of a smart phone in the prior art; taking a smart phone as an example (see FIG. 1).
  • Existing smartphones can support the installation of many applications, and integrate many control functions on the display interface (touch screen) of the smartphone, such as setting keys, shortcut pull-down Menu (including multiple control buttons, such as data flow key, flash drive key, global positioning system key, WiFi switch key, etc.), back button, Home button, and so on.
  • these application and control functions are often fixed in a specific location on the smartphone display interface.
  • the dynamic display method of the terminal interface provided by the present invention aims to solve the above technical problems of the prior art.
  • FIG. 2 is a schematic flowchart of a dynamic display method of a terminal interface according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic diagram of a usage state of a mobile assistant on a smart phone interface
  • FIG. 4 is a schematic flowchart of a method of step S102 in FIG. 2
  • It is a schematic diagram of the state of the vertical dividing line displayed on the terminal interface
  • FIG. 6 is a schematic diagram showing the state of the horizontal dividing line displayed on the terminal interface
  • FIG. 7 is a schematic diagram showing the state when displayed under the horizontal dividing line
  • the method in this embodiment may include:
  • the terminal in this embodiment includes: a tablet computer with a touch screen, a smart phone, a smart watch, and the like.
  • the sliding track may be a sliding track formed by a sliding operation of the user directly on the touch screen of the terminal, or may be generated by a trigger signal input by a user through a special function button on the terminal. Sliding track.
  • the mobile assistant icon 1 is first displayed on the terminal interface; the mobile assistant icon 1 is after receiving the opening instruction of the user for the mobile assistant icon 1; A selection button for displaying the moving direction and the moving position (see FIG. 3); the sliding track is obtained according to the user's triggering operation on the button. Specifically, when the user clicks the up button, an upward sliding track is generated; when the user clicks the down button, a downward sliding track is generated; when the user clicks the left button, a sliding track to the left is generated; When the user clicks the right button, a sliding track to the right is generated. It should be noted that the embodiment does not limit the number and arrangement of the buttons in the mobile assistant icon.
  • the display interface can be determined according to the sliding direction of the sliding track and the ending position of the sliding track.
  • the target moves direction and the target display position.
  • FIG. 4 is a schematic flowchart of the method in step S102 in FIG. Step S102 can include:
  • the starting position and the ending position of the sliding track are acquired. Specifically, the starting point coordinate position touched by the user's finger and the coordinate position at the user sliding operation lifting position are acquired by the sensor on the touch screen of the terminal.
  • the starting position and the ending position of the sliding track may be determined according to the default sliding track length and the sliding track direction of the terminal system.
  • S1022 Obtain a moving direction of the display interface according to the magnitude of the slope value of the connection between the starting position and the ending position.
  • the sliding trajectory triggered by the user may be an irregular curved segment, so it is difficult to directly extract the direction of the curved segment.
  • the start position and the end position of the slide track are determined, the start position and the end position are connected to form a straight line segment, and the direction of the slide track is determined by calculating the slope of the straight line segment.
  • the slope of the straight line segment is greater than 0 and less than or equal to 1, it is determined that the moving direction of the display interface is to the right; when the slope of the straight line segment is greater than 1, it is determined that the moving direction of the display interface is upward; when the straight line segment is When the slope is greater than -1 and less than or equal to 0, it is determined that the moving direction of the display interface is rightward; when the slope of the straight line segment is less than or equal to -1, it is determined that the moving direction of the display interface is downward.
  • the upper and lower limits of the slope value are 0, -1, and 1 as the upper and lower limits of the slope value, but the upper and lower limits of the slope value are not limited in this embodiment. It can be optimized based on empirical values or repeated trials.
  • the final display position of the display interface is determined by the end position of the sliding track.
  • the end position of the sliding track may be used as the center of the display interface to determine the final display position of the display interface, and the sliding track may also be The end position is located on a certain boundary of the display interface to determine the final display position of the display interface.
  • the display interface is moved to the target display position, and part or all of the content of the display interface is displayed at the target display position.
  • the display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position. Displaying the display interfaces of the two parts divided by the vertical dividing line or the horizontal dividing line change.
  • the display interface is displayed, and the display interface is displayed on one side area of the vertical dividing line 2 or one side area of the horizontal dividing line 3.
  • the display interface may be divided into two parts by a vertical dividing line 2 or a horizontal dividing line 3 passing through the end position, and a display interface on the side of the vertical dividing line 2 or the side of the horizontal dividing line 3 may be displayed.
  • the target moving direction and the target display position of the display interface are extracted by the user-triggered sliding track, and part or all of the content of the interface is dynamically displayed according to the target moving direction and the target display position, so that the user can operate the entire display interface with one hand. All controls and/or applications on the screen are easy to operate and have a good user experience.
  • FIG. 9 is a schematic flowchart of a dynamic display method of a terminal interface according to Embodiment 2 of the present invention. As shown in FIG. 9 , the method in this embodiment may include:
  • the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken. It should be noted that this embodiment does not limit the specific form of the trigger signal.
  • the sliding gesture signal input by the user is taken as an example for detailed description. It is assumed that the current display interface is divided by a horizontal dividing line, and the upper and lower parts are displayed with the interface interchanged; at this time, the user can input at any position on the touch screen.
  • a swipe gesture signal eg, a swipe gesture signal that slides the touch screen up and down).
  • the display interface when a preset trigger signal is received, the display interface is restored to the initial display state.
  • the sliding gesture signal input by the user is taken as an example for detailed description. It is assumed that the current display interface is divided by the horizontal dividing line, and the upper and lower parts are displayed for the interface interchange; when the sliding gesture signal input by the user through the touch screen is received (For example, when sliding the sliding gesture signal of the touch screen up and down); the upper and lower partial display interfaces with the horizontal dividing line as the boundary are switched back to the initial display state, and the horizontal dividing line is hidden on the display interface.
  • the display interface in the dynamic display state can be restored to the initial normal display interface. Therefore, it can be quickly restored to normal display under various dynamic display interface states.
  • the display interface is easy to operate and has high switching efficiency.
  • FIG. 10 is a schematic structural diagram of a dynamic display device for a terminal interface according to Embodiment 1 of the present invention. As shown in FIG. 10, the device in this embodiment may include:
  • the obtaining module 10 is configured to acquire a sliding track triggered by the user
  • a determining module 20 configured to determine a target moving direction and a target display position of the display interface according to the sliding track
  • the execution module 30 is configured to move the display interface to the target moving direction, and display part or all of the content of the display interface at the target display position.
  • the determining module 20 is specifically configured to:
  • the display position of the display interface is determined according to the end position.
  • the executing module 30 is specifically configured to:
  • the display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and the two parts divided by the vertical dividing line or the horizontal dividing line are interchangeably displayed;
  • the display interface is reduced, and a display interface is displayed on one side area of the vertical dividing line or one side area of the horizontal dividing line;
  • the display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and the display interface on the side of the vertical dividing line or the side of the horizontal dividing line is displayed.
  • the obtaining module 10 is further configured to:
  • a selection button for displaying a moving direction and a moving position according to an opening command
  • the sliding track is obtained according to the trigger operation of the button by the user.
  • This embodiment can perform the technical solutions in the method shown in FIG. 2 or FIG. 9 , and the implementation process and technical effects are similar to the foregoing methods, and details are not described herein again.
  • FIG. 11 is a schematic structural diagram of a dynamic display device for a terminal interface according to Embodiment 2 of the present invention, as shown in FIG. 11 As shown in the device shown in FIG. 10, the device in this embodiment may further include:
  • the receiving module 40 is configured to receive a preset trigger signal input by the user;
  • the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
  • the recovery module 50 is configured to restore an initial display state of the display interface according to the preset trigger signal.
  • This embodiment can perform the technical solutions in the method shown in FIG. 1 or FIG. 2, and the implementation process and technical effects are similar to the foregoing methods, and details are not described herein again.
  • FIG. 12 is a schematic structural diagram of a dynamic display device of a terminal interface according to Embodiment 1 of the present invention, including:
  • the processor 70 is configured to execute a program stored in the memory. When the program is executed, the processor 70 is configured to perform the following steps:
  • determining a target moving direction and a target display position of the display interface according to the sliding trajectory including:
  • the display position of the display interface is determined according to the end position.
  • displaying part or all of the content of the display interface at the target display position including:
  • the display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and the two parts divided by the vertical dividing line or the horizontal dividing line are interchangeably displayed;
  • the display interface is reduced, and a display interface is displayed on one side area of the vertical dividing line or one side area of the horizontal dividing line;
  • the display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and the display interface on the side of the vertical dividing line or the side of the horizontal dividing line is displayed.
  • acquiring a user-triggered sliding track includes:
  • a selection button for displaying a moving direction and a moving position according to an opening command
  • the sliding track is obtained according to the trigger operation of the button by the user.
  • the method further includes:
  • the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
  • the initial display state of the display interface is restored according to the preset trigger signal.
  • the embodiment of the present application further provides a computer readable storage medium, where computer execution instructions are stored, when the at least one processor of the user equipment executes the computer to execute an instruction, the user equipment performs the foregoing various possibilities.
  • the computer readable medium comprises a computer storage medium and a communication medium, wherein the communication medium comprises any medium that facilitates transfer of the computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium may be located in an application specific integrated circuit (ASIC). Additionally, the application specific integrated circuit can be located in the user equipment.
  • ASIC application specific integrated circuit
  • the processor and the storage medium may also reside as discrete components in the communication device.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.

Abstract

A dynamic display method and device for a terminal interface. The method comprises: acquiring a sliding track triggered by a user; determining a target moving direction and a target display position of the display interface according to the sliding track; and moving the display interface in the target moving direction, and displaying part or all of the content of the display interface at the target display position. By means of the method, a target moving direction and a target display position of a display interface are extracted by means of a sliding track triggered by a user, and part or all of the content of the interface is displayed dynamically according to the target moving direction and the target display position, so that the user can operate all controls and/or application programs on the entire display interface with one hand. Therefore, the operation thereof is simple and convenient, and the user experience is good.

Description

终端界面的动态显示方法和装置Dynamic display method and device for terminal interface 技术领域Technical field
本申请涉及终端技术领域,尤其涉及一种终端界面的动态显示方法和装置。The present application relates to the field of terminal technologies, and in particular, to a dynamic display method and apparatus for a terminal interface.
背景技术Background technique
随着终端技术的发展,通信终端、平板电脑、智能手机等设备上能够安装越来越多的应用程序,并在其触摸屏上集成了数量众多的控件功能。With the development of terminal technologies, more and more applications can be installed on devices such as communication terminals, tablet computers, and smart phones, and a large number of control functions are integrated on the touch screen.
但是,终端界面上的控件和应用程序往往被布局在固定的位置。However, controls and applications on the terminal interface are often laid out in a fixed location.
随着终端触摸屏尺寸的增大,用户很难通过单手实现对触摸屏上所有控件和应用程序的控制,用户体验不佳。As the size of the touch screen of the terminal increases, it is difficult for the user to control all the controls and applications on the touch screen by one hand, and the user experience is not good.
发明内容Summary of the invention
本发明提供一种终端界面的动态显示方法和装置,以实现用户能够单手操作整个显示界面上的所有控件和/或应用程序,操作简便,用户体验度佳。The invention provides a dynamic display method and device for a terminal interface, so as to realize that the user can operate all the controls and/or applications on the entire display interface with one hand, and the operation is simple and the user experience is good.
第一方面,本发明提供一种终端界面的动态显示方法,包括:In a first aspect, the present invention provides a dynamic display method of a terminal interface, including:
获取用户触发的滑动轨迹;Obtain a sliding track triggered by the user;
根据所述滑动轨迹,确定所述显示界面的目标移动方向和目标显示位置;Determining a target moving direction and a target display position of the display interface according to the sliding track;
向所述目标移动方向移动显示界面,并在所述目标显示位置显示所述显示界面的部分或者全部内容。Moving the display interface to the target moving direction, and displaying part or all of the content of the display interface at the target display position.
可选地,所述根据所述滑动轨迹,确定所述显示界面的目标移动方向和目标显示位置,包括:Optionally, determining, according to the sliding trajectory, a target moving direction and a target display position of the display interface, including:
提取出所述滑动轨迹的起点位置和终点位置;Extracting a starting position and an ending position of the sliding track;
根据所述起点位置和所述终点位置之间的连线的斜率值的大小得到所述显示界面的移动方向;Obtaining a moving direction of the display interface according to a magnitude of a slope value of a connection between the starting point position and the ending position;
根据所述终点位置确定所述显示界面的显示位置。Determining a display position of the display interface according to the end position.
可选地,所述在所述目标显示位置显示所述显示界面的部分或者全部内容,包括:Optionally, the displaying the part or all of the content of the display interface in the target display location includes:
以经过所述终点位置的竖直分割线或者水平分割线将所述显示界面划分为两个部分,互换显示所述竖直分割线或者所述水平分割线划分的两个部分; Dividing the display interface into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and interchangeably displaying the vertical dividing line or the two parts divided by the horizontal dividing line;
或者or
缩小所述显示界面,在所述竖直分割线的一侧区域或者所述水平分割线的一侧区域显示所述显示界面;Shrinking the display interface, displaying the display interface in a side area of the vertical dividing line or a side area of the horizontal dividing line;
或者or
以经过所述终点位置的竖直分割线或者水平分割线将所述显示界面划分为两个部分,显示所述竖直分割线一侧或者所述水平分割线一侧的显示界面。The display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and a display interface of one side of the vertical dividing line or one side of the horizontal dividing line is displayed.
可选地,所述获取用户触发的滑动轨迹,包括:Optionally, the acquiring a user-triggered sliding track includes:
获取用户输入的所述滑动轨迹;Obtaining the sliding track input by a user;
或者or
在终端界面上显示移动助手图标;Display the mobile assistant icon on the terminal interface;
接收用户针对所述移动助手图标的开启指令;Receiving an opening instruction of the user for the mobile assistant icon;
根据所述开启指令显示移动方向和移动位置的选择按键;a selection button for displaying a moving direction and a moving position according to the opening instruction;
根据用户对所述按键的触发操作获取所述滑动轨迹。The sliding track is acquired according to a triggering operation of the button by the user.
可选地,所述向所述目标移动方向移动显示界面,并在所述目标显示位置显示所述显示界面的部分或者全部内容之后,还包括:Optionally, after the moving the display interface to the target moving direction, and displaying the part or all of the content of the display interface after the target display position, the method further includes:
接收用户输入的预设触发信号;所述预设触发信号具体为如下中的任一:单击信号、双击信号、滑动手势信号、晃动终端时所生成的感应信号;Receiving a preset trigger signal input by the user; the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
根据所述预设的触发信号,恢复所述显示界面的初始显示状态。And recovering an initial display state of the display interface according to the preset trigger signal.
第二方面,本发明提供一种终端界面的动态显示装置,包括:In a second aspect, the present invention provides a dynamic display device for a terminal interface, including:
获取模块,用于获取用户触发的滑动轨迹;An acquisition module, configured to acquire a sliding track triggered by a user;
确定模块,用于根据所述滑动轨迹,确定所述显示界面的目标移动方向和目标显示位置;a determining module, configured to determine a target moving direction and a target display position of the display interface according to the sliding track;
执行模块,用于向所述目标移动方向移动显示界面,并在所述目标显示位置显示所述显示界面的部分或者全部内容。And an execution module, configured to move the display interface to the target moving direction, and display part or all of the content of the display interface at the target display position.
可选地,所述确定模块,具体用于:Optionally, the determining module is specifically configured to:
提取出所述滑动轨迹的起点位置和终点位置;Extracting a starting position and an ending position of the sliding track;
根据所述起点位置和所述终点位置之间的连线的斜率值的大小得到所述显示界面的移动方向;Obtaining a moving direction of the display interface according to a magnitude of a slope value of a connection between the starting point position and the ending position;
根据所述终点位置确定所述显示界面的显示位置。Determining a display position of the display interface according to the end position.
可选地,所述执行模块,具体用于: Optionally, the execution module is specifically configured to:
以经过所述终点位置的竖直分割线或者水平分割线将所述显示界面划分为两个部分,互换显示所述竖直分割线或者所述水平分割线划分的两个部分;Dividing the display interface into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and interchangeably displaying the vertical dividing line or the two parts divided by the horizontal dividing line;
或者or
缩小所述显示界面,在所述竖直分割线的一侧区域或者所述水平分割线的一侧区域显示所述显示界面;Shrinking the display interface, displaying the display interface in a side area of the vertical dividing line or a side area of the horizontal dividing line;
或者or
以经过所述终点位置的竖直分割线或者水平分割线将所述显示界面划分为两个部分,显示所述竖直分割线一侧或者所述水平分割线一侧的显示界面。The display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and a display interface of one side of the vertical dividing line or one side of the horizontal dividing line is displayed.
可选地,所述获取模块,还具体用于:Optionally, the acquiring module is further specifically configured to:
获取用户输入的所述滑动轨迹;Obtaining the sliding track input by a user;
或者or
在终端界面上显示移动助手图标;Display the mobile assistant icon on the terminal interface;
接收用户针对所述移动助手图标的开启指令;Receiving an opening instruction of the user for the mobile assistant icon;
根据所述开启指令显示移动方向和移动位置的选择按键;a selection button for displaying a moving direction and a moving position according to the opening instruction;
根据用户对所述按键的触发操作获取所述滑动轨迹。The sliding track is acquired according to a triggering operation of the button by the user.
可选地,还包括:Optionally, it also includes:
接收模块,用于接收用户输入的预设触发信号;所述预设触发信号具体为如下中的任一:单击信号、双击信号、滑动手势信号、晃动终端时所生成的感应信号;The receiving module is configured to receive a preset trigger signal input by the user; the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
恢复模块,用于根据所述预设的触发信号,恢复所述显示界面的初始显示状态。And a recovery module, configured to restore an initial display state of the display interface according to the preset trigger signal.
第三方面,本发明提供一种终端界面的动态显示设备,包括:In a third aspect, the present invention provides a dynamic display device for a terminal interface, including:
存储器,用于存储程序;Memory for storing programs;
处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述处理器用于执行第一方面中任一所述的方法。a processor for executing the program stored by the memory, the processor for performing the method of any of the first aspects when the program is executed.
第四方面,本发明提供一种计算机可读存储介质,包括:指令,当其在计算机上运行时,使得计算机执行第一方面中任一所述的方法。In a fourth aspect, the invention provides a computer readable storage medium comprising: instructions, when executed on a computer, causing a computer to perform the method of any of the first aspects.
本发明提供的终端界面的动态显示方法和装置,通过用户触发的滑动轨迹提取出显示界面的目标移动方向和目标显示位置,并根据目标移动方向和目标显示位置动态显示界面的部分或者全部内容,以实现用户单手操作整个显示界面上的所有控件和/或应用程序,操作简便,用户体验度佳。The dynamic display method and device for the terminal interface provided by the present invention extracts the target moving direction and the target display position of the display interface by the user-triggered sliding track, and dynamically displays part or all of the content of the interface according to the target moving direction and the target display position. In order to realize the user's one-hand operation of all the controls and/or applications on the entire display interface, the operation is simple and the user experience is good.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为现有技术中智能手机的显示界面示意图;1 is a schematic diagram of a display interface of a smart phone in the prior art;
图2为本发明实施例一提供的终端界面的动态显示方法的流程示意图;2 is a schematic flowchart of a dynamic display method of a terminal interface according to Embodiment 1 of the present invention;
图3为智能手机界面上的移动助手的使用状态示意图;3 is a schematic diagram of a usage state of a mobile assistant on a smartphone interface;
图4为图2中步骤S102的方法流程示意图;4 is a schematic flow chart of the method of step S102 in FIG. 2;
图5为终端界面上显示的竖直分割线的状态示意图;5 is a schematic diagram showing a state of a vertical dividing line displayed on a terminal interface;
图6为终端界面上显示的水平分割线的状态示意图;6 is a schematic diagram showing a state of a horizontal dividing line displayed on a terminal interface;
图7为在水平分割线下方显示时的状态示意图;Figure 7 is a schematic view showing a state when displayed under the horizontal dividing line;
图8为在竖直分割线左侧显示时的状态示意图;Figure 8 is a schematic view showing a state when displayed on the left side of the vertical dividing line;
图9为本发明实施例二提供的终端界面的动态显示方法的流程示意图;FIG. 9 is a schematic flowchart of a dynamic display method of a terminal interface according to Embodiment 2 of the present invention;
图10为本发明实施例一提供的终端界面的动态显示装置的结构示意图;FIG. 10 is a schematic structural diagram of a dynamic display device for a terminal interface according to Embodiment 1 of the present invention; FIG.
图11为本发明实施例二提供的终端界面的动态显示装置的结构示意图;11 is a schematic structural diagram of a dynamic display device for a terminal interface according to Embodiment 2 of the present invention;
图12为本发明实施例一提供的终端界面的动态显示设备的结构示意图。FIG. 12 is a schematic structural diagram of a dynamic display device of a terminal interface according to Embodiment 1 of the present invention.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。The embodiments of the present disclosure have been shown by the above-described drawings, which will be described in more detail later. The drawings and the text are not intended to limit the scope of the present disclosure in any way, and the description of the present disclosure will be described by those skilled in the art by reference to the specific embodiments.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明提供的终端界面的动态显示方法,可以应用在具有触摸屏的平板电脑、智能手机、智能手表等终端的显示界面上。图1为现有技术中智能手机的显示界面示意图;以智能手机为例(参见图1)。现有的智能手机能够支持安装许多应用程序,并且在智能手机的显示界面(触摸屏)上集成了很多控件功能,例如设置键、快捷下拉 菜单(包含多个控件按键,例如数据流量开关键、电筒开关键、全球定位系统开关键、WiFi开关键等等)、返回键、Home键等等。但是,这些应用程序和控件功能往往被固定布局在智能手机显示界面的特定位置,如果要更改应用程序图标的位置,用户必须逐个移动应用程序的图标,并将其拖动至显示界面的目标位置,操作繁琐。当智能手机的屏幕尺寸大于用户单手操作的范围时,用户就很难方便地使用单手去操作智能手机上的所有控件功能或者应用程序。The dynamic display method of the terminal interface provided by the invention can be applied to a display interface of a terminal such as a tablet computer, a smart phone or a smart watch with a touch screen. FIG. 1 is a schematic diagram of a display interface of a smart phone in the prior art; taking a smart phone as an example (see FIG. 1). Existing smartphones can support the installation of many applications, and integrate many control functions on the display interface (touch screen) of the smartphone, such as setting keys, shortcut pull-down Menu (including multiple control buttons, such as data flow key, flash drive key, global positioning system key, WiFi switch key, etc.), back button, Home button, and so on. However, these application and control functions are often fixed in a specific location on the smartphone display interface. If you want to change the location of the application icon, the user must move the application's icon one by one and drag it to the target location of the display interface. The operation is cumbersome. When the screen size of a smartphone is larger than the range of one-handed operation of the user, it is difficult for the user to conveniently operate all the control functions or applications on the smartphone with one hand.
本发明提供的终端界面的动态显示方法,旨在解决现有技术的如上技术问题。The dynamic display method of the terminal interface provided by the present invention aims to solve the above technical problems of the prior art.
下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solutions of the present invention and how the technical solutions of the present application solve the above technical problems will be described in detail below with reference to specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
图2为本发明实施例一提供的终端界面的动态显示方法的流程示意图,图3为智能手机界面上的移动助手的使用状态示意图;图4为图2中步骤S102的方法流程示意图;图5为终端界面上显示的竖直分割线的状态示意图;图6为终端界面上显示的水平分割线的状态示意图;图7为在水平分割线下方显示时的状态示意图;图8为在竖直分割线左侧显示时的状态示意图。如图2所示,本实施例中的方法可以包括:2 is a schematic flowchart of a dynamic display method of a terminal interface according to Embodiment 1 of the present invention, FIG. 3 is a schematic diagram of a usage state of a mobile assistant on a smart phone interface; FIG. 4 is a schematic flowchart of a method of step S102 in FIG. 2; It is a schematic diagram of the state of the vertical dividing line displayed on the terminal interface; FIG. 6 is a schematic diagram showing the state of the horizontal dividing line displayed on the terminal interface; FIG. 7 is a schematic diagram showing the state when displayed under the horizontal dividing line; FIG. A schematic diagram of the state when the line is displayed on the left side. As shown in FIG. 2, the method in this embodiment may include:
S101、获取用户触发的滑动轨迹。S101. Acquire a sliding track triggered by a user.
本实施例中的终端包括:具有触摸屏的平板电脑、智能手机、智能手表等。首先,接收用户在触摸屏上触发的滑动轨迹,该滑动轨迹可以是用户直接在终端的触摸屏上的滑动操作所形成的滑动轨迹,也可以是用户通过终端上的特殊功能按键输入的触发信号生成的滑动轨迹。The terminal in this embodiment includes: a tablet computer with a touch screen, a smart phone, a smart watch, and the like. Firstly, receiving a sliding track triggered by the user on the touch screen, the sliding track may be a sliding track formed by a sliding operation of the user directly on the touch screen of the terminal, or may be generated by a trigger signal input by a user through a special function button on the terminal. Sliding track.
可选地,采用特殊功能按键输入的触发信号生成的滑动轨迹时,首先在终端界面上显示移动助手图标1;该移动助手图标1在接收用户针对移动助手图标1的开启指令之后;根据开启指令显示移动方向和移动位置的选择按键(参见图3);根据用户对按键的触发操作获取滑动轨迹。具体的,当用户通过点击向上按键时,生成向上的滑动轨迹;当用户通过点击向下按键时,生成向下的滑动轨迹;当用户通过点击向左按键时,生成向左的滑动轨迹;当用户通过点击向右按键时,生成向右的滑动轨迹。需要说明的是,本实施例不限定移动助手图标中按键的数量和排列方式。Optionally, when the sliding track generated by the trigger signal input by the special function button is used, the mobile assistant icon 1 is first displayed on the terminal interface; the mobile assistant icon 1 is after receiving the opening instruction of the user for the mobile assistant icon 1; A selection button for displaying the moving direction and the moving position (see FIG. 3); the sliding track is obtained according to the user's triggering operation on the button. Specifically, when the user clicks the up button, an upward sliding track is generated; when the user clicks the down button, a downward sliding track is generated; when the user clicks the left button, a sliding track to the left is generated; When the user clicks the right button, a sliding track to the right is generated. It should be noted that the embodiment does not limit the number and arrangement of the buttons in the mobile assistant icon.
S102、根据滑动轨迹,确定显示界面的目标移动方向和目标显示位置。S102. Determine a target moving direction and a target display position of the display interface according to the sliding track.
本实施例中,可以根据滑动轨迹的滑动方向和滑动轨迹的终点位置确定显示界面 的目标移动方向和目标显示位置。In this embodiment, the display interface can be determined according to the sliding direction of the sliding track and the ending position of the sliding track. The target moves direction and the target display position.
可选地,如图4所示,图4为图2中步骤S102的方法流程示意图。步骤S102可以包括:Optionally, as shown in FIG. 4, FIG. 4 is a schematic flowchart of the method in step S102 in FIG. Step S102 can include:
S1021、提取出滑动轨迹的起点位置和终点位置。S1021, extracting a starting position and an ending position of the sliding track.
本实施例中,获取滑动轨迹的起点位置和终点位置,具体的,通过终端的触摸屏上的传感器获取用户手指触摸的起点坐标位置和用户滑动操作抬起位置处的坐标位置。或者,在采用特殊功能按键输入的触发信号生成的滑动轨迹时,可以根据终端系统默认的滑动轨迹长度和滑动轨迹方向确定该滑动轨迹的起点位置和终点位置。In this embodiment, the starting position and the ending position of the sliding track are acquired. Specifically, the starting point coordinate position touched by the user's finger and the coordinate position at the user sliding operation lifting position are acquired by the sensor on the touch screen of the terminal. Alternatively, when the sliding track generated by the trigger signal input by the special function button is used, the starting position and the ending position of the sliding track may be determined according to the default sliding track length and the sliding track direction of the terminal system.
S1022、根据起点位置和终点位置之间的连线的斜率值的大小得到显示界面的移动方向。S1022: Obtain a moving direction of the display interface according to the magnitude of the slope value of the connection between the starting position and the ending position.
本实施例,在实际操作情况中,用户触发的滑动轨迹可能是一段不规则的曲线段,因此很难直接提取出曲线段的方向。当确定了滑动轨迹的起点位置和终点位置之后,将起点位置和终点位置相连以形成一条直线段,通过计算该直线段的斜率来确定滑动轨迹的方向。例如,当该直线段的斜率大于0且小于等于1时,确定显示界面的移动方向为向右;当该直线段的斜率大于1时,确定显示界面的移动方向为向上;当该直线段的斜率大于-1且小于等于0时,确定显示界面的移动方向为向右;当该直线段的斜率小于等于-1时,确定显示界面的移动方向为向下。需要说明的是,本实施例中以斜率为0、-1、1作为斜率值的上下限值,用来确定滑动轨迹的移动方向,但是本实施例不限定斜率值的上下限值,具体数值可以根据经验值或者重复试验进行优化。In this embodiment, in the actual operation situation, the sliding trajectory triggered by the user may be an irregular curved segment, so it is difficult to directly extract the direction of the curved segment. After the start position and the end position of the slide track are determined, the start position and the end position are connected to form a straight line segment, and the direction of the slide track is determined by calculating the slope of the straight line segment. For example, when the slope of the straight line segment is greater than 0 and less than or equal to 1, it is determined that the moving direction of the display interface is to the right; when the slope of the straight line segment is greater than 1, it is determined that the moving direction of the display interface is upward; when the straight line segment is When the slope is greater than -1 and less than or equal to 0, it is determined that the moving direction of the display interface is rightward; when the slope of the straight line segment is less than or equal to -1, it is determined that the moving direction of the display interface is downward. It should be noted that, in the embodiment, the upper and lower limits of the slope value are 0, -1, and 1 as the upper and lower limits of the slope value, but the upper and lower limits of the slope value are not limited in this embodiment. It can be optimized based on empirical values or repeated trials.
S1023、根据终点位置确定显示界面的显示位置。S1023. Determine a display position of the display interface according to the end position.
本实施例中,以滑动轨迹的终点位置确定显示界面的最终显示位置,具体的,可以是以滑动轨迹的终点位置作为显示界面的中心来确定显示界面的最终显示位置,也可以使滑动轨迹的终点位置位于显示界面的某一边界上,以确定显示界面的最终显示位置。In this embodiment, the final display position of the display interface is determined by the end position of the sliding track. Specifically, the end position of the sliding track may be used as the center of the display interface to determine the final display position of the display interface, and the sliding track may also be The end position is located on a certain boundary of the display interface to determine the final display position of the display interface.
S103、向目标移动方向移动显示界面,并在目标显示位置显示显示界面的部分或者全部内容。S103. Move the display interface to the target moving direction, and display part or all of the content of the display interface at the target display position.
本实施例中,在确定了显示界面的目标移动方向和目标显示位置后,将显示界面移动至目标显示位置,并在目标显示位置显示该显示界面的部分或者全部内容。In this embodiment, after the target moving direction and the target display position of the display interface are determined, the display interface is moved to the target display position, and part or all of the content of the display interface is displayed at the target display position.
具体的,参见图5、图6,以经过终点位置的竖直分割线或者水平分割线将显示界面划分为两个部分。将竖直分割线或者水平分割线划分的两个部分的显示界面进行互 换。Specifically, referring to FIG. 5 and FIG. 6, the display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position. Displaying the display interfaces of the two parts divided by the vertical dividing line or the horizontal dividing line change.
可选地,参见图7、图8,缩小显示界面,在竖直分割线2的一侧区域或者水平分割线3的一侧区域显示显示界面。也可以是,以经过终点位置的竖直分割线2或者水平分割线3将显示界面划分为两个部分,显示竖直分割线2一侧或者水平分割线3一侧的显示界面。Alternatively, referring to FIG. 7 and FIG. 8, the display interface is displayed, and the display interface is displayed on one side area of the vertical dividing line 2 or one side area of the horizontal dividing line 3. Alternatively, the display interface may be divided into two parts by a vertical dividing line 2 or a horizontal dividing line 3 passing through the end position, and a display interface on the side of the vertical dividing line 2 or the side of the horizontal dividing line 3 may be displayed.
本实施例,通过用户触发的滑动轨迹提取出显示界面的目标移动方向和目标显示位置,并根据目标移动方向和目标显示位置动态显示界面的部分或者全部内容,以实现用户单手操作整个显示界面上的所有控件和/或应用程序,操作简便,用户体验度佳。In this embodiment, the target moving direction and the target display position of the display interface are extracted by the user-triggered sliding track, and part or all of the content of the interface is dynamically displayed according to the target moving direction and the target display position, so that the user can operate the entire display interface with one hand. All controls and/or applications on the screen are easy to operate and have a good user experience.
图9为本发明实施例二提供的终端界面的动态显示方法的流程示意图,如图9所示,本实施例的方法在图1所示方法的基础上,可以包括:FIG. 9 is a schematic flowchart of a dynamic display method of a terminal interface according to Embodiment 2 of the present invention. As shown in FIG. 9 , the method in this embodiment may include:
S201、获取用户触发的滑动轨迹。S201. Acquire a sliding track triggered by a user.
S202、根据滑动轨迹,确定显示界面的目标移动方向和目标显示位置。S202. Determine a target moving direction and a target display position of the display interface according to the sliding track.
S203、向目标移动方向移动显示界面,并在目标显示位置显示显示界面的部分或者全部内容。S203. Move the display interface to the target moving direction, and display part or all of the content of the display interface at the target display position.
本实施例中,步骤S201-S203的具体实现过程参见图1所示方法中的相关描述,此处不再赘述。For the specific implementation process of the steps S201-S203 in this embodiment, refer to the related description in the method shown in FIG. 1, and details are not described herein again.
S204、接收用户输入的预设触发信号。S204. Receive a preset trigger signal input by a user.
本实施例中,预设触发信号具体为如下中的任一:单击信号、双击信号、滑动手势信号、晃动终端时所生成的感应信号。需要说明的是,本实施例不限定触发信号的具体形式。具体的,以用户输入的滑动手势信号为例进行详细说明,假设当前的显示界面为以水平分割线为分界,上下两部分显示界面互换的情况;此时用户可以在触摸屏上任意位置处输入滑动手势信号(例如上下滑动触摸屏的滑动手势信号)。In this embodiment, the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken. It should be noted that this embodiment does not limit the specific form of the trigger signal. Specifically, the sliding gesture signal input by the user is taken as an example for detailed description. It is assumed that the current display interface is divided by a horizontal dividing line, and the upper and lower parts are displayed with the interface interchanged; at this time, the user can input at any position on the touch screen. A swipe gesture signal (eg, a swipe gesture signal that slides the touch screen up and down).
S205、根据预设的触发信号,恢复显示界面的初始显示状态。S205. Restore an initial display state of the display interface according to the preset trigger signal.
本实施例中,当接收到预设的触发信号时,将显示界面恢复为初始的显示状态。具体的,以用户输入的滑动手势信号为例进行详细说明,假设当前的显示界面为以水平分割线为分界,上下两部分显示界面互换的情况;当接收到用户通过触摸屏输入的滑动手势信号(例如上下滑动触摸屏的滑动手势信号)时;将水平分割线为分界的上下两部分显示界面换回初始的显示状态,并在显示界面上隐藏水平分割线。In this embodiment, when a preset trigger signal is received, the display interface is restored to the initial display state. Specifically, the sliding gesture signal input by the user is taken as an example for detailed description. It is assumed that the current display interface is divided by the horizontal dividing line, and the upper and lower parts are displayed for the interface interchange; when the sliding gesture signal input by the user through the touch screen is received (For example, when sliding the sliding gesture signal of the touch screen up and down); the upper and lower partial display interfaces with the horizontal dividing line as the boundary are switched back to the initial display state, and the horizontal dividing line is hidden on the display interface.
本实施例,在接收到预设触发信号时,可以将处于动态显示状态的显示界面恢复为初始的正常显示界面。从而可以在各种动态显示界面状态下快速地恢复到正常的显 示界面,操作简便,切换效率高。In this embodiment, when the preset trigger signal is received, the display interface in the dynamic display state can be restored to the initial normal display interface. Therefore, it can be quickly restored to normal display under various dynamic display interface states. The display interface is easy to operate and has high switching efficiency.
图10为本发明实施例一提供的终端界面的动态显示装置的结构示意图,如图10所示,本实施例中的装置,可以包括:FIG. 10 is a schematic structural diagram of a dynamic display device for a terminal interface according to Embodiment 1 of the present invention. As shown in FIG. 10, the device in this embodiment may include:
获取模块10,用于获取用户触发的滑动轨迹;The obtaining module 10 is configured to acquire a sliding track triggered by the user;
确定模块20,用于根据滑动轨迹,确定显示界面的目标移动方向和目标显示位置;a determining module 20, configured to determine a target moving direction and a target display position of the display interface according to the sliding track;
执行模块30,用于向目标移动方向移动显示界面,并在目标显示位置显示显示界面的部分或者全部内容。The execution module 30 is configured to move the display interface to the target moving direction, and display part or all of the content of the display interface at the target display position.
可选地,确定模块20,具体用于:Optionally, the determining module 20 is specifically configured to:
提取出滑动轨迹的起点位置和终点位置;Extracting the starting position and the ending position of the sliding track;
根据起点位置和终点位置之间的连线的斜率值的大小得到显示界面的移动方向;Obtaining a moving direction of the display interface according to the magnitude of the slope value of the connection between the starting position and the ending position;
根据终点位置确定显示界面的显示位置。The display position of the display interface is determined according to the end position.
可选地,执行模块30,具体用于:Optionally, the executing module 30 is specifically configured to:
以经过终点位置的竖直分割线或者水平分割线将显示界面划分为两个部分,互换显示竖直分割线或者水平分割线划分的两个部分;The display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and the two parts divided by the vertical dividing line or the horizontal dividing line are interchangeably displayed;
或者or
缩小显示界面,在竖直分割线的一侧区域或者水平分割线的一侧区域显示显示界面;The display interface is reduced, and a display interface is displayed on one side area of the vertical dividing line or one side area of the horizontal dividing line;
或者or
以经过终点位置的竖直分割线或者水平分割线将显示界面划分为两个部分,显示竖直分割线一侧或者水平分割线一侧的显示界面。The display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and the display interface on the side of the vertical dividing line or the side of the horizontal dividing line is displayed.
可选地,获取模块10,还具体用于:Optionally, the obtaining module 10 is further configured to:
获取用户输入的滑动轨迹;Obtain a sliding track input by the user;
或者or
在终端界面上显示移动助手图标;Display the mobile assistant icon on the terminal interface;
接收用户针对移动助手图标的开启指令;Receiving an opening instruction of the user for the mobile assistant icon;
根据开启指令显示移动方向和移动位置的选择按键;a selection button for displaying a moving direction and a moving position according to an opening command;
根据用户对按键的触发操作获取滑动轨迹。The sliding track is obtained according to the trigger operation of the button by the user.
本实施例可以执行上述图2或图9所示的方法中的技术方案,其实现过程和技术效果与上述方法类似,此处不再赘述。This embodiment can perform the technical solutions in the method shown in FIG. 2 or FIG. 9 , and the implementation process and technical effects are similar to the foregoing methods, and details are not described herein again.
图11为本发明实施例二提供的终端界面的动态显示装置的结构示意图,如图11 所示,本实施例中的装置在图10所示装置的基础上,还可以包括:FIG. 11 is a schematic structural diagram of a dynamic display device for a terminal interface according to Embodiment 2 of the present invention, as shown in FIG. 11 As shown in the device shown in FIG. 10, the device in this embodiment may further include:
接收模块40,用于接收用户输入的预设触发信号;预设触发信号具体为如下中的任一:单击信号、双击信号、滑动手势信号、晃动终端时所生成的感应信号;The receiving module 40 is configured to receive a preset trigger signal input by the user; the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
恢复模块50,用于根据预设的触发信号,恢复显示界面的初始显示状态。The recovery module 50 is configured to restore an initial display state of the display interface according to the preset trigger signal.
本实施例可以执行上述图1或图2所示的方法中的技术方案,其实现过程和技术效果与上述方法类似,此处不再赘述。This embodiment can perform the technical solutions in the method shown in FIG. 1 or FIG. 2, and the implementation process and technical effects are similar to the foregoing methods, and details are not described herein again.
图12为本发明实施例一提供的终端界面的动态显示设备的结构示意图,包括:FIG. 12 is a schematic structural diagram of a dynamic display device of a terminal interface according to Embodiment 1 of the present invention, including:
存储器60,用于存储程序;a memory 60 for storing a program;
处理器70,用于执行存储器存储的程序,当程序被执行时,处理器70用于执行如下步骤:The processor 70 is configured to execute a program stored in the memory. When the program is executed, the processor 70 is configured to perform the following steps:
获取用户触发的滑动轨迹;Obtain a sliding track triggered by the user;
根据滑动轨迹,确定显示界面的目标移动方向和目标显示位置;Determining a target moving direction and a target display position of the display interface according to the sliding track;
向目标移动方向移动显示界面,并在目标显示位置显示显示界面的部分或者全部内容。Move the display interface to the target moving direction, and display part or all of the display interface at the target display position.
进一步地,根据滑动轨迹,确定显示界面的目标移动方向和目标显示位置,包括:Further, determining a target moving direction and a target display position of the display interface according to the sliding trajectory, including:
提取出滑动轨迹的起点位置和终点位置;Extracting the starting position and the ending position of the sliding track;
根据起点位置和终点位置之间的连线的斜率值的大小得到显示界面的移动方向;Obtaining a moving direction of the display interface according to the magnitude of the slope value of the connection between the starting position and the ending position;
根据终点位置确定显示界面的显示位置。The display position of the display interface is determined according to the end position.
进一步地,在目标显示位置显示显示界面的部分或者全部内容,包括:Further, displaying part or all of the content of the display interface at the target display position, including:
以经过终点位置的竖直分割线或者水平分割线将显示界面划分为两个部分,互换显示竖直分割线或者水平分割线划分的两个部分;The display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and the two parts divided by the vertical dividing line or the horizontal dividing line are interchangeably displayed;
或者or
缩小显示界面,在竖直分割线的一侧区域或者水平分割线的一侧区域显示显示界面;The display interface is reduced, and a display interface is displayed on one side area of the vertical dividing line or one side area of the horizontal dividing line;
或者or
以经过终点位置的竖直分割线或者水平分割线将显示界面划分为两个部分,显示竖直分割线一侧或者水平分割线一侧的显示界面。The display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and the display interface on the side of the vertical dividing line or the side of the horizontal dividing line is displayed.
进一步地,获取用户触发的滑动轨迹,包括:Further, acquiring a user-triggered sliding track includes:
获取用户输入的滑动轨迹;Obtain a sliding track input by the user;
或者 Or
在终端界面上显示移动助手图标;Display the mobile assistant icon on the terminal interface;
接收用户针对移动助手图标的开启指令;Receiving an opening instruction of the user for the mobile assistant icon;
根据开启指令显示移动方向和移动位置的选择按键;a selection button for displaying a moving direction and a moving position according to an opening command;
根据用户对按键的触发操作获取滑动轨迹。The sliding track is obtained according to the trigger operation of the button by the user.
进一步地,向目标移动方向移动显示界面,并在目标显示位置显示显示界面的部分或者全部内容之后,还包括:Further, after moving the display interface to the target moving direction and displaying part or all of the content of the display interface in the target display position, the method further includes:
接收用户输入的预设触发信号;预设触发信号具体为如下中的任一:单击信号、双击信号、滑动手势信号、晃动终端时所生成的感应信号;Receiving a preset trigger signal input by the user; the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
根据预设的触发信号,恢复显示界面的初始显示状态。The initial display state of the display interface is restored according to the preset trigger signal.
此外,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当用户设备的至少一个处理器执行该计算机执行指令时,用户设备执行上述各种可能的方法。In addition, the embodiment of the present application further provides a computer readable storage medium, where computer execution instructions are stored, when the at least one processor of the user equipment executes the computer to execute an instruction, the user equipment performs the foregoing various possibilities. Methods.
其中,计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于应用专用集成电路(ASIC)中。另外,该应用专用集成电路可以位于用户设备中。当然,处理器和存储介质也可以作为分立组件存在于通信设备中。Wherein, the computer readable medium comprises a computer storage medium and a communication medium, wherein the communication medium comprises any medium that facilitates transfer of the computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium may be located in an application specific integrated circuit (ASIC). Additionally, the application specific integrated circuit can be located in the user equipment. Of course, the processor and the storage medium may also reside as discrete components in the communication device.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:只读存储器(ROM)、随机存取存储器(RAM)、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本发明旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。Other embodiments of the present disclosure will be apparent to those skilled in the <RTIgt; The present invention is intended to cover any variations, uses, or adaptations of the present disclosure, which are in accordance with the general principles of the present disclosure and include common general knowledge or common technical means in the art that are not disclosed in the present disclosure. . The specification and examples are to be regarded as illustrative only,
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。 It is to be understood that the invention is not limited to the details of the details and The scope of the disclosure is to be limited only by the appended claims.

Claims (10)

  1. 一种终端界面的动态显示方法,其特征在于,包括:A dynamic display method for a terminal interface, comprising:
    获取用户触发的滑动轨迹;Obtain a sliding track triggered by the user;
    根据所述滑动轨迹,确定所述显示界面的目标移动方向和目标显示位置;Determining a target moving direction and a target display position of the display interface according to the sliding track;
    向所述目标移动方向移动显示界面,并在所述目标显示位置显示所述显示界面的部分或者全部内容。Moving the display interface to the target moving direction, and displaying part or all of the content of the display interface at the target display position.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述滑动轨迹,确定所述显示界面的目标移动方向和目标显示位置,包括:The method according to claim 1, wherein the determining a target moving direction and a target display position of the display interface according to the sliding trajectory comprises:
    提取出所述滑动轨迹的起点位置和终点位置;Extracting a starting position and an ending position of the sliding track;
    根据所述起点位置和所述终点位置之间的连线的斜率值的大小得到所述显示界面的移动方向;Obtaining a moving direction of the display interface according to a magnitude of a slope value of a connection between the starting point position and the ending position;
    根据所述终点位置确定所述显示界面的显示位置。Determining a display position of the display interface according to the end position.
  3. 根据权利要求2所述的方法,其特征在于,所述在所述目标显示位置显示所述显示界面的部分或者全部内容,包括:The method according to claim 2, wherein the displaying part or all of the content of the display interface at the target display position comprises:
    以经过所述终点位置的竖直分割线或者水平分割线将所述显示界面划分为两个部分,互换显示所述竖直分割线或者所述水平分割线划分的两个部分;Dividing the display interface into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and interchangeably displaying the vertical dividing line or the two parts divided by the horizontal dividing line;
    或者or
    缩小所述显示界面,在所述竖直分割线的一侧区域或者所述水平分割线的一侧区域显示所述显示界面;Shrinking the display interface, displaying the display interface in a side area of the vertical dividing line or a side area of the horizontal dividing line;
    或者or
    以经过所述终点位置的竖直分割线或者水平分割线将所述显示界面划分为两个部分,显示所述竖直分割线一侧或者所述水平分割线一侧的显示界面。The display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and a display interface of one side of the vertical dividing line or one side of the horizontal dividing line is displayed.
  4. 根据权利要求1-3任意一项所述的方法,其特征在于,所述获取用户触发的滑动轨迹,包括:The method according to any one of claims 1-3, wherein the obtaining a user-triggered sliding track comprises:
    获取用户输入的所述滑动轨迹;Obtaining the sliding track input by a user;
    或者or
    在终端界面上显示移动助手图标;Display the mobile assistant icon on the terminal interface;
    接收用户针对所述移动助手图标的开启指令;Receiving an opening instruction of the user for the mobile assistant icon;
    根据所述开启指令显示移动方向和移动位置的选择按键;a selection button for displaying a moving direction and a moving position according to the opening instruction;
    根据用户对所述按键的触发操作获取所述滑动轨迹。 The sliding track is acquired according to a triggering operation of the button by the user.
  5. 根据权利要求1-3任意一项所述的方法,其特征在于,所述向所述目标移动方向移动显示界面,并在所述目标显示位置显示所述显示界面的部分或者全部内容之后,还包括:The method according to any one of claims 1 to 3, wherein the moving the display interface to the target moving direction and displaying part or all of the content of the display interface after the target display position include:
    接收用户输入的预设触发信号;所述预设触发信号具体为如下中的任一:单击信号、双击信号、滑动手势信号、晃动终端时所生成的感应信号;Receiving a preset trigger signal input by the user; the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
    根据所述预设的触发信号,恢复所述显示界面的初始显示状态。And recovering an initial display state of the display interface according to the preset trigger signal.
  6. 一种终端界面的动态显示装置,其特征在于,包括:A dynamic display device for a terminal interface, comprising:
    获取模块,用于获取用户触发的滑动轨迹;An acquisition module, configured to acquire a sliding track triggered by a user;
    确定模块,用于根据所述滑动轨迹,确定所述显示界面的目标移动方向和目标显示位置;a determining module, configured to determine a target moving direction and a target display position of the display interface according to the sliding track;
    执行模块,用于向所述目标移动方向移动显示界面,并在所述目标显示位置显示所述显示界面的部分或者全部内容。And an execution module, configured to move the display interface to the target moving direction, and display part or all of the content of the display interface at the target display position.
  7. 根据权利要求6所述的装置,其特征在于,所述确定模块,具体用于:The device according to claim 6, wherein the determining module is specifically configured to:
    提取出所述滑动轨迹的起点位置和终点位置;Extracting a starting position and an ending position of the sliding track;
    根据所述起点位置和所述终点位置之间的连线的斜率值的大小得到所述显示界面的移动方向;Obtaining a moving direction of the display interface according to a magnitude of a slope value of a connection between the starting point position and the ending position;
    根据所述终点位置确定所述显示界面的显示位置。Determining a display position of the display interface according to the end position.
  8. 根据权利要求7所述的装置,其特征在于,所述执行模块,具体用于:The device according to claim 7, wherein the execution module is specifically configured to:
    以经过所述终点位置的竖直分割线或者水平分割线将所述显示界面划分为两个部分,互换显示所述竖直分割线或者所述水平分割线划分的两个部分;Dividing the display interface into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and interchangeably displaying the vertical dividing line or the two parts divided by the horizontal dividing line;
    或者or
    缩小所述显示界面,在所述竖直分割线的一侧区域或者所述水平分割线的一侧区域显示所述显示界面;Shrinking the display interface, displaying the display interface in a side area of the vertical dividing line or a side area of the horizontal dividing line;
    或者or
    以经过所述终点位置的竖直分割线或者水平分割线将所述显示界面划分为两个部分,显示所述竖直分割线一侧或者所述水平分割线一侧的显示界面。The display interface is divided into two parts by a vertical dividing line or a horizontal dividing line passing through the end position, and a display interface of one side of the vertical dividing line or one side of the horizontal dividing line is displayed.
  9. 根据权利要求6-8任意一项所述的装置,其特征在于,所述获取模块,还具体用于:The device according to any one of claims 6-8, wherein the obtaining module is further configured to:
    获取用户输入的所述滑动轨迹;Obtaining the sliding track input by a user;
    或者 Or
    在终端界面上显示移动助手图标;Display the mobile assistant icon on the terminal interface;
    接收用户针对所述移动助手图标的开启指令;Receiving an opening instruction of the user for the mobile assistant icon;
    根据所述开启指令显示移动方向和移动位置的选择按键;a selection button for displaying a moving direction and a moving position according to the opening instruction;
    根据用户对所述按键的触发操作获取所述滑动轨迹。The sliding track is acquired according to a triggering operation of the button by the user.
  10. 根据权利要求6-8任意一项所述的装置,其特征在于,还包括:The device according to any one of claims 6-8, further comprising:
    接收模块,用于接收用户输入的预设触发信号;所述预设触发信号具体为如下中的任一:单击信号、双击信号、滑动手势信号、晃动终端时所生成的感应信号;The receiving module is configured to receive a preset trigger signal input by the user; the preset trigger signal is specifically any one of the following: a click signal, a double-click signal, a sliding gesture signal, and a sensing signal generated when the terminal is shaken;
    恢复模块,用于根据所述预设的触发信号,恢复所述显示界面的初始显示状态。 And a recovery module, configured to restore an initial display state of the display interface according to the preset trigger signal.
PCT/CN2017/102107 2017-09-18 2017-09-18 Dynamic display method and device for terminal interface WO2019051840A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102107 WO2019051840A1 (en) 2017-09-18 2017-09-18 Dynamic display method and device for terminal interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102107 WO2019051840A1 (en) 2017-09-18 2017-09-18 Dynamic display method and device for terminal interface

Publications (1)

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

Family

ID=65722349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102107 WO2019051840A1 (en) 2017-09-18 2017-09-18 Dynamic display method and device for terminal interface

Country Status (1)

Country Link
WO (1) WO2019051840A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855066A (en) * 2012-09-26 2013-01-02 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN103777863A (en) * 2014-01-06 2014-05-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and display method of application program
CN104182144A (en) * 2014-08-22 2014-12-03 Tcl通讯(宁波)有限公司 Mobile terminal interface browsing method and system
CN104503681A (en) * 2014-12-30 2015-04-08 乐视致新电子科技(天津)有限公司 Interface icon movement control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855066A (en) * 2012-09-26 2013-01-02 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN103777863A (en) * 2014-01-06 2014-05-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and display method of application program
CN104182144A (en) * 2014-08-22 2014-12-03 Tcl通讯(宁波)有限公司 Mobile terminal interface browsing method and system
CN104503681A (en) * 2014-12-30 2015-04-08 乐视致新电子科技(天津)有限公司 Interface icon movement control method and device

Similar Documents

Publication Publication Date Title
US9632681B2 (en) Electronic Device, memory and control method for displaying multiple objects on a display screen
US9261995B2 (en) Apparatus, method, and computer readable recording medium for selecting object by using multi-touch with related reference point
EP3190502B1 (en) Icon control method and corresponding terminal
US10095386B2 (en) Mobile device for displaying virtually listed pages and displaying method thereof
US9323444B2 (en) Device, method, and storage medium storing program
CA2892143C (en) Using clamping to modify scrolling
US9304656B2 (en) Systems and method for object selection on presence sensitive devices
AU2013276998B2 (en) Mouse function provision method and terminal implementing the same
US20160110100A1 (en) Triggering display of application
US20140362119A1 (en) One-handed gestures for navigating ui using touch-screen hover events
CN105373326B (en) Data processing system and method
US20130167090A1 (en) Device, method, and storage medium storing program
JP2015510211A (en) Touch screen hover input processing
EP2613247B1 (en) Method and apparatus for displaying a keypad on a terminal having a touch screen
US20150186004A1 (en) Multimode gesture processing
KR101683793B1 (en) Method and apparatus for component display
US20140071171A1 (en) Pinch-and-zoom, zoom-and-pinch gesture control
KR20150095541A (en) User terminal device and method for displaying thereof
KR20150039552A (en) Display manipulating method of electronic apparatus and electronic apparatus thereof
CN112214156B (en) Touch screen magnifier calling method and device, electronic equipment and storage medium
US20160286036A1 (en) Method for quick access to application functionalities
WO2019051840A1 (en) Dynamic display method and device for terminal interface
KR20140131051A (en) electro device comprising pressure sensor and method for controlling thereof
JP5905550B1 (en) Information processing apparatus, information display program, and information display method
CN104407789A (en) Mobile-terminal desktop-icon display control method and 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: 17924981

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

Country of ref document: EP

Kind code of ref document: A1