[go: up one dir, main page]

CN108845750A - A kind of method and terminal device starting control - Google Patents

A kind of method and terminal device starting control Download PDF

Info

Publication number
CN108845750A
CN108845750A CN201810590282.3A CN201810590282A CN108845750A CN 108845750 A CN108845750 A CN 108845750A CN 201810590282 A CN201810590282 A CN 201810590282A CN 108845750 A CN108845750 A CN 108845750A
Authority
CN
China
Prior art keywords
control
display interface
sliding trace
controls
sliding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810590282.3A
Other languages
Chinese (zh)
Inventor
陈鲁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810590282.3A priority Critical patent/CN108845750A/en
Publication of CN108845750A publication Critical patent/CN108845750A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

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

Abstract

本发明公开了一种启动控件的方法及终端设备,包括:在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作;基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动;在所述第一显示界面移动后在所述屏幕上产生的空白区域内显示第二显示界面上设置的N个控件,N为正整数;基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,所述第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同。

The invention discloses a method for starting a control and a terminal device, comprising: when displaying a first display interface on a screen, obtaining a user's sliding operation on the first display interface; based on the sliding operation, controlling the first The display interface moves along the movement direction corresponding to the first sliding track of the sliding operation; N controls set on the second display interface are displayed in a blank area generated on the screen after the first display interface moves, N is a positive integer; based on the second sliding track of the sliding operation, the first control is determined from the N controls to start, the moving direction of the first sliding track and the moving direction of the second sliding track different.

Description

一种启动控件的方法及终端设备A method for starting a control and a terminal device

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种启动控件的方法及终端设备。The present invention relates to the field of communication technology, in particular to a method for starting a control and a terminal device.

背景技术Background technique

随着科学技术的不断发展,通信技术也得到了飞速的发展,电子产品的种类也越来越多,人们也享受到了科技发展带来的各种便利。现在人们可以通过各种类型的移动终端,享受随着科技发展带来的舒适生活。例如,智能手机、平板电脑等移动终端已经成为人们生活中一个重要的组成部分,用户可以使用智能手机、平板电脑等移动终端来听音乐、玩游戏等等,以减轻现代快节奏生活所带来的压力。With the continuous development of science and technology, communication technology has also developed rapidly, and there are more and more types of electronic products, and people have also enjoyed various conveniences brought by the development of science and technology. Now people can enjoy the comfortable life brought by the development of science and technology through various types of mobile terminals. For example, mobile terminals such as smartphones and tablet computers have become an important part of people's lives. Users can use mobile terminals such as smartphones and tablet computers to listen to music, play games, etc., to alleviate the burden of modern fast-paced life. pressure.

通常情况下,移动终端中的应用程序的显示界面在用户单向滑动时,整个显示界面在滑动到一定距离之后,若用户停止滑动松手,显示界面会自动弹回到原位置。Usually, when the user slides the display interface of the application program in the mobile terminal in one direction, after the entire display interface slides to a certain distance, if the user stops sliding and lets go, the display interface will automatically bounce back to the original position.

故而现有技术中存在的技术问题是,现有的显示界面在单侧滑动一定距离之后会自动回弹的技术问题。Therefore, the technical problem existing in the prior art is that the existing display interface will automatically rebound after a certain distance is slid on one side.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种启动控件的方法及终端设备。In view of the above problems, the present invention is proposed to provide a method for activating a control and a terminal device.

本发明的一个方面,提供了一种启动控件的方法,包括:One aspect of the present invention provides a method for starting a control, including:

在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作;Obtaining a user's sliding operation on the first display interface when displaying the first display interface on the screen;

基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动;Based on the sliding operation, controlling the first display interface to move along the movement direction corresponding to the first sliding track of the sliding operation;

在所述第一显示界面移动后在所述屏幕上产生的空白区域内显示第二显示界面上设置的N个控件,N为正整数;After the first display interface is moved, display N controls set on the second display interface in the blank area generated on the screen, where N is a positive integer;

基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,所述第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同。Based on the second slide track of the slide operation, a first control is determined from the N controls to be activated, and a movement direction of the first slide track is different from a movement direction of the second slide track.

优选的,所述第二显示界面处于所述第一显示界面的下一层。Preferably, the second display interface is in the lower layer of the first display interface.

优选的,所述在所述第一显示界面移动后产生的空白区域内显示第二显示界面上设置的N个控件,具体包括:Preferably, displaying the N controls set on the second display interface in the blank area generated after the movement of the first display interface specifically includes:

在所述空白区域中将所述N个控件排列成一列显示。The N controls are arranged in a column and displayed in the blank area.

优选的,所述基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,具体包括:Preferably, the first control is determined from the N controls based on the second sliding track of the sliding operation, which specifically includes:

基于所述滑动操作的第二滑动轨迹,确定出所述第二滑动轨迹的终点位置;determining an end position of the second sliding track based on the second sliding track of the sliding operation;

基于所述第二滑动轨迹的终点位置,从所述N个控件中确定出第一控件进行启动。Based on the end position of the second sliding track, the first control is determined from the N controls for activation.

优选的,所述基于所述第二滑动轨迹的终点位置,从所述N个控件中确定出第一控件进行启动,具体包括:Preferably, the first control is determined from the N controls based on the end position of the second sliding track to start, which specifically includes:

获得二维坐标系,获得所述终点位置在所述二维坐标系中的纵坐标;Obtaining a two-dimensional coordinate system, obtaining the ordinate of the end position in the two-dimensional coordinate system;

获得所述N个控件在所述二维坐标系中各自的纵坐标范围;Obtaining respective ordinate ranges of the N controls in the two-dimensional coordinate system;

将所述终点位置的纵坐标和所述N个控件各自的纵坐标范围进行比对,确定出在纵坐标范围中包含有所述终点位置的纵坐标的所述第一控件,并进行启动。Comparing the ordinate of the end position with the respective ordinate ranges of the N controls, determining the first control that includes the ordinate of the end position in the ordinate range, and starting it.

优选的,所述基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,具体包括:Preferably, the first control is determined from the N controls based on the second sliding track of the sliding operation, which specifically includes:

获得处于所述空白区域的光标;obtaining a cursor in the blank area;

基于所述第二滑动轨迹的运动方向,控制所述光标沿着所述第二滑动轨迹的运动方向在所述N个控件中对应运动;Based on the moving direction of the second sliding track, controlling the cursor to move correspondingly among the N controls along the moving direction of the second sliding track;

当所述第二滑动轨迹产生终点位置时,确定出产生所述终点位置时所述光标指向的第一控件,并进行启动。When the second sliding track generates an end position, determine the first control pointed by the cursor when the end position is generated, and start it.

优选的,所述N个控件包含功能性控件,分类型控件;Preferably, the N controls include functional controls and classified controls;

其中,所述功能性控件是基于所述用户习惯分析获得的控件,或者根据所述用户自定义功能获得的控件;Wherein, the functional control is a control obtained based on the user habit analysis, or a control obtained according to the user-defined function;

所述分类型控件是指定分类获得的控件,或者根据所述用户自定义分类获得的控件。The classification type control is a control obtained by a specified classification, or a control obtained according to the user-defined classification.

本发明的另一个方面,提供一种终端设备,包括:Another aspect of the present invention provides a terminal device, including:

第一获得模块,用于在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作;The first obtaining module is configured to obtain the user's sliding operation on the first display interface when displaying the first display interface on the screen;

控制模块,用于基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动;A control module, configured to, based on the sliding operation, control the first display interface to move along the movement direction corresponding to the first sliding track of the sliding operation;

显示模块,用于在所述第一显示界面移动后在所述屏幕上产生的空白区域内显示第二显示界面上设置的N个控件,N为正整数;A display module, configured to display N controls set on the second display interface in a blank area generated on the screen after the first display interface moves, where N is a positive integer;

启动模块,用于基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,所述第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同。A starting module, configured to determine the first control from the N controls based on the second sliding track of the sliding operation, the moving direction of the first sliding track and the moving direction of the second sliding track different.

优选的,所述第二显示界面处于所述第一显示界面的下一层。Preferably, the second display interface is in the lower layer of the first display interface.

优选的,所述显示模块,具体用于在所述空白区域中将所述N个控件排列成一列显示。Preferably, the display module is specifically configured to display the N controls in a row in the blank area.

优选的,所述启动模块,具体包括:Preferably, the startup module specifically includes:

第一确定模块,用于基于所述滑动操作的第二滑动轨迹,确定出所述第二滑动轨迹的终点位置;A first determining module, configured to determine an end position of the second sliding track based on the second sliding track of the sliding operation;

第二确定模块,用于基于所述第二滑动轨迹的终点位置,从所述N个控件中确定出第一控件进行启动。The second determination module is configured to determine the first control from the N controls based on the end position of the second sliding track to start.

优选的,所述第二确定模块,具体包括:Preferably, the second determination module specifically includes:

第二获得模块,用于获得二维坐标系,获得所述终点位置在所述二维坐标系中的纵坐标;The second obtaining module is used to obtain a two-dimensional coordinate system, and obtain the ordinate of the end position in the two-dimensional coordinate system;

第三获得模块,用于获得所述N个控件在所述二维坐标系中各自的纵坐标范围;A third obtaining module, configured to obtain respective ordinate ranges of the N controls in the two-dimensional coordinate system;

比对模块,用于将所述终点位置的纵坐标和所述N个控件各自的纵坐标范围进行比对,确定出在纵坐标范围中包含有所述终点位置的纵坐标的所述第一控件,并进行启动。A comparison module, configured to compare the ordinate of the end point position with the respective ordinate ranges of the N controls, and determine the first one that includes the ordinate of the end point position in the ordinate range. control, and start it.

优选的,所述启动模块,具体包括:Preferably, the startup module specifically includes:

第四获得模块,用于获得处于所述空白区域的光标;The fourth obtaining module is used to obtain the cursor in the blank area;

控制模块,用于基于所述第二滑动轨迹的运动方向,控制所述光标沿着所述第二滑动轨迹的运动方向在所述N个控件中对应运动;A control module, configured to control the cursor to move correspondingly in the N controls along the moving direction of the second sliding track based on the moving direction of the second sliding track;

第三确定模块,用于当所述第二滑动轨迹产生终点位置时,确定出产生所述终点位置时所述光标指向的第一控件,并进行启动。The third determination module is configured to determine the first control pointed by the cursor when the end position is generated when the second sliding track generates the end position, and start it.

优选的,所述N个控件包含功能性控件,分类型控件;Preferably, the N controls include functional controls and classified controls;

其中,所述功能性控件是基于所述用户习惯分析获得的控件,或者根据所述用户自定义功能获得的控件;Wherein, the functional control is a control obtained based on the user habit analysis, or a control obtained according to the user-defined function;

所述分类型控件是指定分类获得的控件,或者根据所述用户自定义分类获得的控件。The classification type control is a control obtained by a specified classification, or a control obtained according to the user-defined classification.

本发明的另一个方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。Another aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented.

本发明的另一个方面,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述方法的步骤。Another aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the steps of the above method when executing the program.

本申请实施例中提供的技术方案,至少具有如下技术效果或优点:The technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

本发明公开了一种启动控件的方法及终端设备,在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作;基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动;而在所述第一显示界面移动后,会在所述屏幕上产生的空白区域,本发明实施例则在该空白区域内显示第二显示界面上设置的N个控件,由于N个控件占据了原本的空白区域,故而可以阻止第一显示界面回弹到初始位置,即便回弹也只能够回弹到和N个控件并排的位置并且不会遮挡N个控件。The invention discloses a method for starting a control and a terminal device. When a first display interface is displayed on a screen, a user's sliding operation on the first display interface is obtained; based on the sliding operation, the first display interface is controlled Move along the movement direction corresponding to the first sliding track of the sliding operation; and after the first display interface moves, a blank area will be generated on the screen, and the embodiment of the present invention displays in the blank area The N controls set on the second display interface can prevent the first display interface from bouncing back to the initial position because the N controls occupy the original blank area. position and will not block N controls.

另外,本发明的基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,由此可见,由于第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同,故而本发明能够利用同一个滑动操作用来操作第一显示界面移动,并且操作选定第一控件进行启动,进而在能够实现在阻止第一显示界面回弹的基础上,能够同时启动占据空白区域中的控件的效果。In addition, based on the second sliding track of the sliding operation in the present invention, the first control is determined from the N controls to start. It can be seen that due to the movement direction of the first sliding track and the second sliding track The direction of movement is different, so the present invention can use the same sliding operation to operate the first display interface to move, and operate the selected first control to start, and then on the basis of preventing the first display interface from rebounding, it can Also starts the effect of occupying the control in the white space.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1示出了根据本发明一个实施例的一种启动控件的方法;FIG. 1 shows a method for starting a control according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的当前显示界面显示了5个图标的示意图;FIG. 2 shows a schematic diagram showing five icons displayed on the current display interface according to an embodiment of the present invention;

图3示出了根据本发明一个实施例的滑动操作的轨迹示意图;Fig. 3 shows a schematic diagram of a trajectory of a sliding operation according to an embodiment of the present invention;

图4示出了根据本发明一个实施例的空白区域的示意图;Fig. 4 shows a schematic diagram of a blank area according to an embodiment of the present invention;

图5示出了根据本发明一个实施例的利用二维坐标系确定终点位置的示意图;Fig. 5 shows a schematic diagram of using a two-dimensional coordinate system to determine the end position according to an embodiment of the present invention;

图6示出了根据本发明一个实施例的利用光标确定终点位置的示意图;Fig. 6 shows a schematic diagram of using a cursor to determine an end position according to an embodiment of the present invention;

图7示出了根据本发明一个实施例的一种终端设备的示意图。Fig. 7 shows a schematic diagram of a terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

本发明实施例提供了一种启动控件的方法及终端设备,用以解决现有技术的显示界面在单侧滑动一定距离之后会自动回弹的技术问题。Embodiments of the present invention provide a method for activating a control and a terminal device, which are used to solve the technical problem in the prior art that a display interface automatically rebounds after a certain distance is slid on one side.

作为一种可选的实施例,参看图1,本发明实施例公开了一种启动控件的方法,包括:As an optional embodiment, referring to FIG. 1, the embodiment of the present invention discloses a method for starting a control, including:

步骤11,在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作。Step 11, when displaying the first display interface on the screen, obtain a user's sliding operation on the first display interface.

在具体的实施过程中,终端设备的屏幕上展示第一显示界面有两种情况。第一种方式是,终端设备的屏幕上显示有各类型的应用程序的图标,假设终端设备上一共显示有15个图标,分别采用了3个显示界面显示,每个显示界面显示5个图标。本发明实施例将终端设备的屏幕上展示的当前显示界面看作是第一显示界面。参看图2,是当前显示界面显示了5个图标的示意图。In a specific implementation process, there are two situations in which the first display interface is displayed on the screen of the terminal device. The first method is that icons of various types of application programs are displayed on the screen of the terminal device. Assuming that there are 15 icons displayed on the terminal device, 3 display interfaces are used for displaying, and each display interface displays 5 icons. In this embodiment of the present invention, the current display interface displayed on the screen of the terminal device is regarded as the first display interface. Referring to FIG. 2 , it is a schematic diagram showing five icons displayed on the current display interface.

第二种方式是,终端设备的屏幕上展示的是应用程序开启之后的显示画面,或者是操作应用程序对应显示出来的显示画面,其都可以看做是第一显示界面。而本发明的应用程序包含但不限于是系统级应用程序(例如计算器、日历等等),下载类应用程序(例如聊天类软件、视频类软件等等)。The second way is that what is displayed on the screen of the terminal device is the display screen after the application program is started, or the display screen corresponding to the operation of the application program, which can be regarded as the first display interface. The application programs of the present invention include but are not limited to system-level applications (such as calculators, calendars, etc.), download applications (such as chat software, video software, etc.).

在屏幕上展示第一显示界面时,用户会对第一显示界面进行滑动操作,故而在终端设备侧来说,会获得该滑动操作。When the first display interface is displayed on the screen, the user will perform a sliding operation on the first display interface, so on the side of the terminal device, the sliding operation will be obtained.

步骤12,基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动。Step 12, based on the sliding operation, controlling the first display interface to move along the movement direction corresponding to the first sliding track of the sliding operation.

在具体的实施过程中,用户的滑动操作对应的操作手势包含两个滑动轨迹:第一滑动轨迹和第二滑动轨迹。第一滑动轨迹的运动方向和第二滑动轨迹的运动方向不同。参看图3,是本发明实施例的滑动操作的轨迹示意图,第一滑动轨迹的运动方向相对于屏幕两侧边来说,是从屏幕的一侧开始滑动向另一侧,正对屏幕的角度来说,则是向左或者向右滑动。而第二滑动轨迹的运动方向是相对于屏幕的上下两边来说,从屏幕的上边滑向下边,或者从屏幕的下边滑向上边。针对屏幕的角度来说,则是向上或者向下滑动。In a specific implementation process, the operation gesture corresponding to the user's sliding operation includes two sliding tracks: a first sliding track and a second sliding track. The moving direction of the first sliding track is different from the moving direction of the second sliding track. Referring to FIG. 3 , it is a schematic diagram of the trajectory of the sliding operation according to the embodiment of the present invention. The direction of movement of the first sliding trajectory is relative to the two sides of the screen, starting from one side of the screen and sliding to the other side, facing the angle of the screen. For example, swipe left or right. The movement direction of the second sliding track is relative to the upper and lower sides of the screen, sliding from the top of the screen to the bottom, or sliding from the bottom of the screen to the top. For the angle of the screen, it is sliding up or down.

用户在第一显示界面上滑动时,第一显示界面会随着用户的滑动手势的第一滑动轨迹对应的运动方向移动。而第一滑动轨迹的运动方向可以是在屏幕上向左滑动,也可以是向右滑动。以向右滑动为例,参看图4,是空白区域的示意图。用户在第一显示界面滑动一定距离,第一显示界面会随着用户的滑动整体向右移动,故而屏幕左侧会出现相对应的空白区域。When the user slides on the first display interface, the first display interface will move along with the movement direction corresponding to the first sliding track of the user's sliding gesture. The movement direction of the first sliding track may be sliding to the left or sliding to the right on the screen. Taking sliding to the right as an example, see Figure 4, which is a schematic diagram of a blank area. When the user slides a certain distance on the first display interface, the first display interface will move to the right as a whole as the user slides, so a corresponding blank area will appear on the left side of the screen.

步骤13,在所述第一显示界面移动后在所述屏幕上产生的空白区域内显示第二显示界面上设置的N个控件,N为正整数。Step 13: Display N controls set on the second display interface in the blank area generated on the screen after the first display interface moves, where N is a positive integer.

在具体的实施过程中,在所述第一显示界面移动后产生空白区域时,该N个控件会随着用户的第一滑动轨迹的运动方向移动并出现在该空白区域。In a specific implementation process, when a blank area is generated after the first display interface is moved, the N controls will move along with the movement direction of the user's first sliding track and appear in the blank area.

第二显示界面和第一显示界面不同,所述第二显示界面处于所述第一显示界面的下一层。第一显示界面是用户操作的当前显示界面,而第二显示界面是在第一显示界面滑动出现空白区域后产生的显示界面。The second display interface is different from the first display interface, and the second display interface is in a layer below the first display interface. The first display interface is a current display interface operated by the user, and the second display interface is a display interface generated after the first display interface slides to appear a blank area.

具体来说,第一显示界面是当前屏幕,也被称作第1屏,而第二显示界面处于第一显示界面的下方,被称作负1屏。在第1屏滑动显示出空白区域时,负1屏则会显示在空白区域内,另外,负1屏中设置有N个控件显示在空白区域中,为了便于控件在空白区域显示,在所述第一显示界面移动后产生的空白区域内显示第二显示界面上设置的N个控件的具体实施过程中,在所述空白区域中将所述N个控件排列成一列显示。Specifically, the first display interface is the current screen, which is also called the first screen, and the second display interface is located below the first display interface, and is called the negative one screen. When the first screen slides to display a blank area, the negative 1 screen will be displayed in the blank area. In addition, N controls are set to be displayed in the blank area in the negative 1 screen. In order to facilitate the display of controls in the blank area, in the During the specific implementation process of displaying the N controls set on the second display interface in the blank area generated after the movement of the first display interface, the N controls are arranged in a row and displayed in the blank area.

进一步的,为了使所有的控件都能够显示在第二显示界面上,故而可在所述空白区域中将所述N个控件排列成一列滚动循环显示。Further, in order to enable all controls to be displayed on the second display interface, the N controls may be arranged in a column in the blank area for scrolling and cyclic display.

第二显示界面上设置的N个控件包含功能性控件,分类型控件。The N controls set on the second display interface include functional controls and classified controls.

其中,所述功能性控件是基于所述用户习惯分析获得的控件,或者根据所述用户自定义功能获得的控件。功能性控件包括但不限于是:收藏记录,历史记录,稍后再看列表,关注列表,主题列表,推荐信息,搜索建议,频道管理。Wherein, the functional control is a control obtained based on the user habit analysis, or a control obtained according to the user-defined function. Functional controls include but are not limited to: Favorites, History, Watch Later, Watch List, Topic List, Recommended Information, Search Suggestions, Channel Management.

所述分类型控件是指定分类获得的控件,或者根据所述用户自定义分类获得的控件。分类型控件包括但不限于是:推荐,音乐/演唱会/舞蹈/MV,新闻,搞笑,娱乐,社会,军事,游戏/吃鸡/王者荣耀/英雄联盟,生活,影视/电影/电视剧/网络剧,汽车,科技,体育/足球/篮球/NBA/网球/台球,健康,宠物/萌宠,时尚/潮流,美食,综艺/跑男,精选,爱看,少儿,动漫,纪录/纪录片,喜剧,小品,相声,服装,小说,商城/商品/购物,数码,情感,家居,旅游,母婴/早教,美容/美发,直播,摄影,演讲,股票/股市。The classification type control is a control obtained by a specified classification, or a control obtained according to the user-defined classification. Types of controls include but are not limited to: Recommendation, Music/Concert/Dance/MV, News, Funny, Entertainment, Social, Military, Game/Chicken/Glory of Kings/League of Legends, Life, Movies/Movies/TV Series/Internet Drama, Automobile, Technology, Sports/Football/Basketball/NBA/Tennis/Billiards, Health, Pets/Cute Pets, Fashion/Trend, Food, Variety Shows/Running Man, Featured, Favorites, Children, Anime, Records/Documents, Comedy, skits, cross talk, clothing, novels, mall/commodity/shopping, digital, emotion, home, travel, mother and child/early education, beauty/hairdressing, live broadcast, photography, speech, stock/stock market.

在具体的实施过程中,用户拖动第一显示界面移动时,一般是通过滚动控件实现的,滚动组件有滚动范围,当手势控制滚动控件滚动到预设范围区域内,放开手时,滚动控件会固定显示在当前位置,但是,如果滚动到预设范围区域外,则会弹回到初始位置。In the specific implementation process, when the user drags the first display interface to move, it is generally realized through the scroll control. The scroll component has a scroll range. When the gesture controls the scroll control to scroll to the preset range area and releases the hand, the scroll The control will be fixed at the current position, but if scrolled out of the preset range area, it will spring back to the original position.

滚动控件一般是指ScrollView,在ScrollView创建后会给出它的滚动范围。在这个范围内,通过手指可以控制滚动到指定的位置。但是如果超过了这个滚动范围,当手指离开屏幕后,ScrollView就会自动弹回到初始位置。故而,为了防止第一显示界面弹回到最初位置,本发明实施例在第一显示界面移动到ScrollView的滚动范围外,在空白区域添加了其他控件。故而当第一显示界面随着用户的滑动进行移动出现空白区域时,则第二显示界面上的控件则会显示在该空白区域中,故而阻止了第一显示界面弹回到最初位置。The scrolling control generally refers to ScrollView, and its scrolling range will be given after the ScrollView is created. Within this range, the finger can be used to scroll to a specified position. But if the scrolling range is exceeded, when the finger leaves the screen, the ScrollView will automatically bounce back to the initial position. Therefore, in order to prevent the first display interface from bouncing back to the original position, the embodiment of the present invention adds other controls in the blank area when the first display interface moves outside the scrolling range of the ScrollView. Therefore, when the first display interface moves with the user's sliding and a blank area appears, the controls on the second display interface will be displayed in the blank area, thus preventing the first display interface from bouncing back to the original position.

步骤14,基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动。Step 14, based on the second sliding track of the sliding operation, determine the first control from the N controls to start.

在具体的实施过程中,所述第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同。In a specific implementation process, the moving direction of the first sliding track is different from the moving direction of the second sliding track.

也就是说,用户操作第一显示界面移动,以及操作第二显示界面上的N各控件中的其中一个控件启动的手势是同一个手势,一旦用户的手指离开屏幕,这个手势就终止了。故而,本发明实施例的操作第一显示界面移动和操作第二显示界面上的N各控件中的其中一个控件启动是同一个手势控制的,只是操作第一显示界面移动的手势的第一滑动轨迹的运动方向和操作第二显示界面的N个控件移动的手势的第二滑动轨迹的运动方向不同。例如,移动第一显示界面的手势方向是向左或者向右移动,操作N个控件的第二滑动轨迹的运动方向是向上或向下。That is to say, the gesture initiated by the user operating the first display interface to move and operating one of the N controls on the second display interface is the same gesture, once the user's finger leaves the screen, the gesture is terminated. Therefore, in the embodiment of the present invention, the operation of the first display interface to move and the operation of one of the N controls on the second display interface to start are controlled by the same gesture, which is only the first slide of the gesture of operating the first display interface to move The moving direction of the track is different from the moving direction of the second sliding track of the gesture of operating the movement of N controls on the second display interface. For example, the gesture direction of moving the first display interface is to move left or right, and the movement direction of the second sliding track for operating N controls is upward or downward.

而在基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动的实施过程中,基于所述第二滑动轨迹的终点位置从所述N个控件中确定出第一控件进行启动。In the implementation process of determining the first control from the N controls based on the second sliding track of the sliding operation to start, the terminal position of the second sliding track is determined from the N controls. out of the first control to start.

在具体的实施过程中,基于所述滑动操作的第二滑动轨迹,确定出所述第二滑动轨迹的终点位置,基于所述第二滑动轨迹的终点位置,从所述N个控件中确定出第一控件进行启动。In a specific implementation process, based on the second sliding track of the sliding operation, the end position of the second sliding track is determined, and based on the end position of the second sliding track, the N controls are determined The first control is activated.

进一步的,会利用终点位置和第一控件在二位坐标系中的位置进行比对,进而确定出第一控件。Further, the end position is compared with the position of the first control in the two-dimensional coordinate system to determine the first control.

在具体的实施过程中,会执行下面的实施过程:In the specific implementation process, the following implementation process will be carried out:

获得二维坐标系,获得所述终点位置在所述二维坐标系中的纵坐标;Obtaining a two-dimensional coordinate system, obtaining the ordinate of the end position in the two-dimensional coordinate system;

获得所述N个控件在所述二维坐标系中各自的纵坐标范围;Obtaining respective ordinate ranges of the N controls in the two-dimensional coordinate system;

将所述终点位置的纵坐标和所述N个控件各自的纵坐标范围进行比对,确定出在纵坐标范围中包含有所述终点位置的纵坐标的所述第一控件,并进行启动。Comparing the ordinate of the end position with the respective ordinate ranges of the N controls, determining the first control that includes the ordinate of the end position in the ordinate range, and starting it.

举例来说,参看图5,是利用二维坐标系确定终点位置的示意图。罗列了4个控件(主题列表,推荐信息,搜索建议,频道管理)和第二运动轨迹的终点位置在二维坐标系中的位置,从图5中可以看出,终点位置的坐标(10,13)中的纵坐标13是处于“推荐信息”的纵坐标范围【10,15】内,故而可将“推荐信息”确定为第一控件。For example, refer to FIG. 5 , which is a schematic diagram of determining the end position using a two-dimensional coordinate system. Listed 4 controls (topic list, recommended information, search suggestions, channel management) and the position of the end position of the second motion track in the two-dimensional coordinate system, as can be seen from Figure 5, the coordinates of the end position (10, The vertical coordinate 13 in 13) is within the vertical coordinate range [10,15] of "recommended information", so "recommended information" can be determined as the first control.

作为一种可选的实施例,基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动的实施过程中,可以利用光标来控制选定N个控件中的第一控件。As an optional embodiment, based on the second sliding track of the sliding operation, during the implementation process of determining the first control from the N controls to start, the cursor can be used to control the selected N controls. the first control.

获得处于所述空白区域的光标;基于所述第二滑动轨迹的运动方向,控制所述光标沿着所述第二滑动轨迹的运动方向在所述N个控件中对应运动;当所述第二滑动轨迹产生终点位置时,确定出产生所述终点位置时所述光标指向的第一控件,并进行启动。参看图6,是利用光标确定终点位置的示意图。在第二滑动轨迹滑动到终点时,光标(黑色箭头示意)在4个控件(主题列表,推荐信息,搜索建议,频道管理)中运动到对应的位置,该位置对应的控件为“推荐信息”,故而可将“推荐信息”确定为第一控件进行启动。Obtaining the cursor in the blank area; based on the movement direction of the second sliding track, controlling the cursor to move correspondingly among the N controls along the moving direction of the second sliding track; when the second When the sliding track generates the end position, determine the first control pointed by the cursor when the end position is generated, and start it. Referring to FIG. 6 , it is a schematic diagram of using the cursor to determine the position of the end point. When the second sliding track slides to the end, the cursor (indicated by the black arrow) moves to the corresponding position in the 4 controls (topic list, recommendation information, search suggestion, channel management), and the control corresponding to this position is "recommendation information" , so "recommended information" can be determined as the first control to start.

当然,在所述第二滑动轨迹产生终点位置的具体实施过程中,可以利用压力传感器实时监测屏幕的压力值,如果监测到所述屏幕的压力值小于预设压力阈值,或者监测到屏幕无压力值,则表示用户的手指离开了屏幕,则会产生终点位置,进一步的,则将压力值小于所述预设压力阈值对应的位置确定为所述终点位置,或者将压力值消失对应的位置确定为终点位置。Of course, in the specific implementation process of generating the end position of the second sliding track, the pressure sensor can be used to monitor the pressure value of the screen in real time. value, it means that the user's finger leaves the screen, and the end position will be generated. Further, the position corresponding to the pressure value less than the preset pressure threshold is determined as the end position, or the position corresponding to the pressure value disappears is determined for the end position.

除此之外,还基于用户在屏幕上停留的时间作为监测标准,实时监测用户在所述屏幕上各位置的第一停留时间,并将各位置的第一停留时间和第一预设时间阈值进行比对,若有位置的第一停留时间大于第一预设时间阈值,则将第一停留时间大于第一预设时间阈值的位置确定为终点位置。In addition, based on the time the user stays on the screen as the monitoring standard, the first stay time of the user at each position on the screen is monitored in real time, and the first stay time of each position and the first preset time threshold After comparison, if the first dwell time of any position is greater than the first preset time threshold, the position whose first dwell time is greater than the first preset time threshold is determined as the end position.

进一步的,由于N个控件是滚动显示,故而基于滑动操作选定第一控件的过程中,若当前第二显示界面上并没有显示用户想要启动的第一控件,则滑动操作可在屏幕上停留,等待N个控件滚动,并显示出用户想要启动的第一控件。此处的停留所用的时间命名为第二停留时间。Further, since the N controls are displayed in a scrolling manner, during the process of selecting the first control based on the sliding operation, if the first control that the user wants to start is not displayed on the current second display interface, the sliding operation can be displayed on the screen. Pause, wait for N controls to scroll, and display the first control that the user wants to activate. The time taken for the dwell here is named the second dwell time.

进一步的,当监测到第二停留时间大于第二预设时间阈值,则控制N个控件进行循环滚动显示。Further, when it is detected that the second dwell time is greater than the second preset time threshold, the N controls are controlled to perform circular scrolling display.

进一步的,为了避免操作失误,所述第二停留时间小于所述预设时间阈值,以免将第二停留时间误判为第一停留时间,导致错误启动操作。Further, in order to avoid operational errors, the second dwell time is less than the preset time threshold, so as to prevent the second dwell time from being misjudged as the first dwell time, resulting in erroneously starting the operation.

在第二停留时间内,N个控件是实时滚动的,故而若在第二停留时间内,若显示出第一控件,则可以继续基于用户的滑动操作的第二滑动轨迹选定该第一控件。进一步的,当监测到所述滑动操作继续启动,则控制N个控件停止滚动,并根据用户的滑动操作的第二滑动轨迹选定该第一控件。During the second dwell time, the N controls are scrolled in real time, so if the first control is displayed within the second dwell time, the first control can continue to be selected based on the second slide track of the user's sliding operation . Further, when it is detected that the sliding operation continues to start, the N controls are controlled to stop scrolling, and the first control is selected according to the second sliding track of the user's sliding operation.

基于统一发明构思,参看图7,本发明实施例还公开了一种终端设备,包括:Based on the unified inventive concept, referring to Fig. 7, the embodiment of the present invention also discloses a terminal device, including:

第一获得模块21,用于在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作;The first obtaining module 21 is configured to obtain the user's sliding operation on the first display interface when displaying the first display interface on the screen;

控制模块22,用于基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动;A control module 22, configured to, based on the sliding operation, control the first display interface to move along the movement direction corresponding to the first sliding track of the sliding operation;

显示模块23,用于在所述第一显示界面移动后在所述屏幕上产生的空白区域内显示第二显示界面上设置的N个控件,N为正整数;A display module 23, configured to display N controls set on the second display interface in a blank area generated on the screen after the first display interface moves, where N is a positive integer;

启动模块24,用于基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,所述第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同。The starting module 24 is configured to determine the first control from the N controls based on the second sliding track of the sliding operation, the movement direction of the first sliding track and the movement direction of the second sliding track The direction is different.

作为一种可选的实施例,所述第二显示界面处于所述第一显示界面的下一层。As an optional embodiment, the second display interface is in a layer below the first display interface.

作为一种可选的实施例,所述显示模块23,具体用于在所述空白区域中将所述N个控件排列成一列显示。As an optional embodiment, the display module 23 is specifically configured to arrange and display the N controls in a column in the blank area.

作为一种可选的实施例,所述启动模块24,具体包括:As an optional embodiment, the startup module 24 specifically includes:

第一确定模块,用于基于所述滑动操作的第二滑动轨迹,确定出所述第二滑动轨迹的终点位置;A first determining module, configured to determine an end position of the second sliding track based on the second sliding track of the sliding operation;

第二确定模块,用于基于所述第二滑动轨迹的终点位置,从所述N个控件中确定出第一控件进行启动。The second determination module is configured to determine the first control from the N controls based on the end position of the second sliding track to start.

作为一种可选的实施例,所述第二确定模块,具体包括:As an optional embodiment, the second determining module specifically includes:

第二获得模块,用于获得二维坐标系,获得所述终点位置在所述二维坐标系中的纵坐标;The second obtaining module is used to obtain a two-dimensional coordinate system, and obtain the ordinate of the end position in the two-dimensional coordinate system;

第三获得模块,用于获得所述N个控件在所述二维坐标系中各自的纵坐标范围;A third obtaining module, configured to obtain respective ordinate ranges of the N controls in the two-dimensional coordinate system;

比对模块,用于将所述终点位置的纵坐标和所述N个控件各自的纵坐标范围进行比对,确定出在纵坐标范围中包含有所述终点位置的纵坐标的所述第一控件,并进行启动。A comparison module, configured to compare the ordinate of the end point position with the respective ordinate ranges of the N controls, and determine the first one that includes the ordinate of the end point position in the ordinate range. control, and start it.

作为一种可选的实施例,所述启动模块24,具体包括:As an optional embodiment, the startup module 24 specifically includes:

第四获得模块,用于获得处于所述空白区域的光标;The fourth obtaining module is used to obtain the cursor in the blank area;

控制模块22,用于基于所述第二滑动轨迹的运动方向,控制所述光标沿着所述第二滑动轨迹的运动方向在所述N个控件中对应运动;A control module 22, configured to control the cursor to move correspondingly among the N controls along the moving direction of the second sliding track based on the moving direction of the second sliding track;

第三确定模块,用于当所述第二滑动轨迹产生终点位置时,确定出产生所述终点位置时所述光标指向的第一控件,并进行启动。The third determination module is configured to determine the first control pointed by the cursor when the end position is generated when the second sliding track generates the end position, and start it.

作为一种可选的实施例,所述N个控件包含功能性控件,分类型控件;As an optional embodiment, the N controls include functional controls and classified controls;

其中,所述功能性控件是基于所述用户习惯分析获得的控件,或者根据所述用户自定义功能获得的控件;Wherein, the functional control is a control obtained based on the user habit analysis, or a control obtained according to the user-defined function;

所述分类型控件是指定分类获得的控件,或者根据所述用户自定义分类获得的控件。The classification type control is a control obtained by a specified classification, or a control obtained according to the user-defined classification.

基于与前述实施例中同样的发明构思,本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前文任一所述方法的步骤。Based on the same inventive concept as in the foregoing embodiments, the embodiments of the present invention further provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the foregoing methods are implemented.

基于与前述实施例中同样的发明构思,本发明实施例还提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现前文任一所述方法的步骤。Based on the same inventive concept as in the foregoing embodiments, an embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the The program is to implement the steps of any one of the methods described above.

本申请实施例中提供的技术方案,至少具有如下技术效果或优点:The technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

本发明公开了一种启动控件的方法及终端设备,在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作;基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动;而在所述第一显示界面移动后,会在所述屏幕上产生的空白区域,本发明实施例则在该空白区域内显示第二显示界面上设置的N个控件,由于N个控件占据了原本的空白区域,故而可以阻止第一显示界面回弹到初始位置,即便回弹也只能够回弹到和N个控件并排的位置并且不会遮挡N个控件。另外,本发明的基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,由此可见,由于第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同,故而本发明能够利用同一个滑动操作用来操作第一显示界面移动,并且操作选定第一控件进行启动,进而在能够实现在阻止第一显示界面回弹的基础上,能够同时启动占据空白区域中的控件的效果。The invention discloses a method for starting a control and a terminal device. When a first display interface is displayed on a screen, a user's sliding operation on the first display interface is obtained; based on the sliding operation, the first display interface is controlled Move along the movement direction corresponding to the first sliding track of the sliding operation; and after the first display interface moves, a blank area will be generated on the screen, and the embodiment of the present invention displays in the blank area The N controls set on the second display interface can prevent the first display interface from bouncing back to the initial position because the N controls occupy the original blank area. position and will not block N controls. In addition, based on the second sliding track of the sliding operation in the present invention, the first control is determined from the N controls to start. It can be seen that due to the movement direction of the first sliding track and the second sliding track The direction of movement is different, so the present invention can use the same sliding operation to operate the first display interface to move, and operate the selected first control to start, and then on the basis of preventing the first display interface from rebounding, it can Also starts the effect of occupying the control in the white space.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的网关、代理服务器、系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the gateway, proxy server, and system according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明公开了,A1、一种启动控件的方法,其特征在于,包括:The invention discloses, A1, a method for starting a control, characterized in that it includes:

在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作;Obtaining a user's sliding operation on the first display interface when displaying the first display interface on the screen;

基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动;Based on the sliding operation, controlling the first display interface to move along the movement direction corresponding to the first sliding track of the sliding operation;

在所述第一显示界面移动后,在所述屏幕上产生的空白区域内显示第二显示界面上设置的N个控件,N为正整数;After the first display interface moves, display N controls set on the second display interface in the blank area generated on the screen, where N is a positive integer;

基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,所述第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同。Based on the second slide track of the slide operation, a first control is determined from the N controls to be activated, and a movement direction of the first slide track is different from a movement direction of the second slide track.

A2、如A1所述的方法,其特征在于,所述第二显示界面处于所述第一显示界面的下一层。A2. The method according to A1, wherein the second display interface is in a lower layer than the first display interface.

A3、如A1所述的方法,其特征在于,所述在所述第一显示界面移动后产生的空白区域内显示第二显示界面上设置的N个控件,具体包括:A3, the method as described in A1, is characterized in that, the described N controls that are set on the second display interface are displayed in the blank area generated after the movement of the first display interface, specifically including:

在所述空白区域中将所述N个控件排列成一列显示。The N controls are arranged in a column and displayed in the blank area.

A4、如A1所述的方法,其特征在于,所述基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,具体包括:A4. The method as described in A1, wherein the first control is determined from the N controls based on the second sliding trajectory based on the sliding operation, specifically including:

基于所述滑动操作的第二滑动轨迹,确定出所述第二滑动轨迹的终点位置;determining an end position of the second sliding track based on the second sliding track of the sliding operation;

基于所述第二滑动轨迹的终点位置,从所述N个控件中确定出第一控件进行启动。Based on the end position of the second sliding track, the first control is determined from the N controls for activation.

A5、如A4所述的方法,其特征在于,所述基于所述第二滑动轨迹的终点位置,从所述N个控件中确定出第一控件进行启动,具体包括:A5. The method as described in A4, wherein the first control is determined from the N controls based on the end position of the second slide track to start, specifically including:

获得二维坐标系,获得所述终点位置在所述二维坐标系中的纵坐标;Obtaining a two-dimensional coordinate system, obtaining the ordinate of the end position in the two-dimensional coordinate system;

获得所述N个控件在所述二维坐标系中各自的纵坐标范围;Obtaining respective ordinate ranges of the N controls in the two-dimensional coordinate system;

将所述终点位置的纵坐标和所述N个控件各自的纵坐标范围进行比对,确定出在纵坐标范围中包含有所述终点位置的纵坐标的所述第一控件,并进行启动。Comparing the ordinate of the end position with the respective ordinate ranges of the N controls, determining the first control that includes the ordinate of the end position in the ordinate range, and starting it.

A6、如A1所述的方法,其特征在于,所述基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,具体包括:A6. The method as described in A1, wherein the first control is determined from the N controls based on the second sliding trajectory based on the sliding operation, and specifically includes:

获得处于所述空白区域的光标;obtaining a cursor in the blank area;

基于所述第二滑动轨迹的运动方向,控制所述光标沿着所述第二滑动轨迹的运动方向在所述N个控件中对应运动;Based on the moving direction of the second sliding track, controlling the cursor to move correspondingly among the N controls along the moving direction of the second sliding track;

当所述第二滑动轨迹产生终点位置时,确定出产生所述终点位置时所述光标指向的第一控件,并进行启动。When the second sliding track generates an end position, determine the first control pointed by the cursor when the end position is generated, and start it.

A7、如A1所述的方法,其特征在于,所述N个控件包含功能性控件,分类型控件;A7, the method as described in A1, is characterized in that, described N controls comprise functional control, subtype control;

其中,所述功能性控件是基于所述用户习惯分析获得的控件,或者根据所述用户自定义功能获得的控件;Wherein, the functional control is a control obtained based on the user habit analysis, or a control obtained according to the user-defined function;

所述分类型控件是指定分类获得的控件,或者根据所述用户自定义分类获得的控件。The classification type control is a control obtained by a specified classification, or a control obtained according to the user-defined classification.

B8、一种终端设备,其特征在于,包括:B8, a kind of terminal equipment, is characterized in that, comprises:

第一获得模块,用于在屏幕上展示第一显示界面时,获得用户对所述第一显示界面的滑动操作;The first obtaining module is configured to obtain the user's sliding operation on the first display interface when displaying the first display interface on the screen;

控制模块,用于基于所述滑动操作,控制所述第一显示界面沿着所述滑动操作的第一滑动轨迹对应的运动方向移动;A control module, configured to, based on the sliding operation, control the first display interface to move along the movement direction corresponding to the first sliding track of the sliding operation;

显示模块,用于在所述第一显示界面移动后在所述屏幕上产生的空白区域内显示第二显示界面上设置的N个控件,N为正整数;A display module, configured to display N controls set on the second display interface in a blank area generated on the screen after the first display interface moves, where N is a positive integer;

启动模块,用于基于所述滑动操作的第二滑动轨迹,从所述N个控件中确定出第一控件进行启动,所述第一滑动轨迹的运动方向和所述第二滑动轨迹的运动方向不同。A starting module, configured to determine the first control from the N controls based on the second sliding track of the sliding operation, the moving direction of the first sliding track and the moving direction of the second sliding track different.

B9、如B8所述的终端设备,其特征在于,所述第二显示界面处于所述第一显示界面的下一层。B9. The terminal device according to B8, wherein the second display interface is in a layer below the first display interface.

B10、如B8所述的终端设备,其特征在于,所述显示模块,具体用于在所述空白区域中将所述N个控件排列成一列显示。B10. The terminal device according to B8, wherein the display module is specifically configured to display the N controls in a row in the blank area.

B11、如B8所述的终端设备,其特征在于,所述启动模块,具体包括:B11, the terminal equipment as described in B8, is characterized in that, described startup module specifically comprises:

第一确定模块,用于基于所述滑动操作的第二滑动轨迹,确定出所述第二滑动轨迹的终点位置;A first determining module, configured to determine an end position of the second sliding track based on the second sliding track of the sliding operation;

第二确定模块,用于基于所述第二滑动轨迹的终点位置,从所述N个控件中确定出第一控件进行启动。The second determination module is configured to determine the first control from the N controls based on the end position of the second sliding track to start.

B12、如B11所述的终端设备,其特征在于,所述第二确定模块,具体包括:B12. The terminal device as described in B11, wherein the second determining module specifically includes:

第二获得模块,用于获得二维坐标系,获得所述终点位置在所述二维坐标系中的纵坐标;The second obtaining module is used to obtain a two-dimensional coordinate system, and obtain the ordinate of the end position in the two-dimensional coordinate system;

第三获得模块,用于获得所述N个控件在所述二维坐标系中各自的纵坐标范围;A third obtaining module, configured to obtain respective ordinate ranges of the N controls in the two-dimensional coordinate system;

比对模块,用于将所述终点位置的纵坐标和所述N个控件各自的纵坐标范围进行比对,确定出在纵坐标范围中包含有所述终点位置的纵坐标的所述第一控件,并进行启动。A comparison module, configured to compare the ordinate of the end point position with the respective ordinate ranges of the N controls, and determine the first one that includes the ordinate of the end point position in the ordinate range. control, and start it.

B13、如B8所述的终端设备,其特征在于,所述启动模块,具体包括:B13, the terminal equipment as described in B8, is characterized in that, described startup module specifically comprises:

第四获得模块,用于获得处于所述空白区域的光标;The fourth obtaining module is used to obtain the cursor in the blank area;

控制模块,用于基于所述第二滑动轨迹的运动方向,控制所述光标沿着所述第二滑动轨迹的运动方向在所述N个控件中对应运动;A control module, configured to control the cursor to move correspondingly in the N controls along the moving direction of the second sliding track based on the moving direction of the second sliding track;

第三确定模块,用于当所述第二滑动轨迹产生终点位置时,确定出产生所述终点位置时所述光标指向的第一控件,并进行启动。The third determination module is configured to determine the first control pointed by the cursor when the end position is generated when the second sliding track generates the end position, and start it.

B14、如B8所述的终端设备,其特征在于,所述N个控件包含功能性控件,分类型控件;B14, the terminal equipment as described in B8, is characterized in that, described N controls comprise functional control, classification control;

其中,所述功能性控件是基于所述用户习惯分析获得的控件,或者根据所述用户自定义功能获得的控件;Wherein, the functional control is a control obtained based on the user habit analysis, or a control obtained according to the user-defined function;

所述分类型控件是指定分类获得的控件,或者根据所述用户自定义分类获得的控件。The classification type control is a control obtained by a specified classification, or a control obtained according to the user-defined classification.

C15、一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现A1-A7任一项所述方法的步骤。C15. A computer-readable storage medium, on which a computer program is stored, which is characterized in that, when the program is executed by a processor, the steps of any one of the methods described in A1-A7 are implemented.

D16、一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现A1-A7任一项所述方法的步骤。D16. A computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the program, any one of A1-A7 is realized method steps.

Claims (10)

1. a kind of method for starting control, which is characterized in that including:
When showing the first display interface on the screen, user is obtained to the slide of first display interface;
Based on the slide, it is corresponding along the first sliding trace of the slide to control first display interface The direction of motion is mobile;
After first display interface is mobile, interior show of the white space generated on the screen sets on the second display interface The N number of control set, N are positive integer;
The second sliding trace based on the slide determines that the first control is started from N number of control, described The direction of motion of first sliding trace is different with the direction of motion of second sliding trace.
2. the method as described in claim 1, which is characterized in that second display interface is in first display interface Next layer.
3. the method as described in claim 1, which is characterized in that the blank generated after first display interface is mobile The N number of control being arranged on the second display interface is shown in region, is specifically included:
N number of control a column are arranged in the white space to show.
4. the method as described in claim 1, which is characterized in that second sliding trace based on the slide, from It determines that the first control is started in N number of control, specifically includes:
The second sliding trace based on the slide determines the final position of second sliding trace;
Based on the final position of second sliding trace, determine that the first control is started from N number of control.
5. method as claimed in claim 4, which is characterized in that the final position based on second sliding trace, from It determines that the first control is started in N number of control, specifically includes:
Two-dimensional coordinate system is obtained, ordinate of the final position in the two-dimensional coordinate system is obtained;
Obtain N number of control respective ordinate range in the two-dimensional coordinate system;
The ordinate in the final position and the respective ordinate range of N number of control are compared, determine to sit vertical In mark range include first control of the ordinate in the final position, and is started.
6. the method as described in claim 1, which is characterized in that second sliding trace based on the slide, from It determines that the first control is started in N number of control, specifically includes:
Obtain the cursor for being in the white space;
Based on the direction of motion of second sliding trace, the cursor is controlled along the direction of motion of second sliding trace The corresponding movement in N number of control;
When second sliding trace generates final position, determine to generate that the cursor when final position is directed toward the One control, and started.
7. the method as described in claim 1, which is characterized in that N number of control includes functionality controls, classifying type control;
Wherein, the functionality controls are to be accustomed to the control that analysis obtains based on the user, or make by oneself according to the user The adopted obtainable control of function;
The classifying type control is the control that specified classification obtains, or the control obtained according to the customized classification of the user.
8. a kind of terminal device, which is characterized in that including:
First obtains module, when for showing the first display interface on the screen, obtains user to first display interface Slide;
Control module controls first display interface along the first of the slide for being based on the slide The corresponding direction of motion of sliding trace is mobile;
Display module shows second in the white space for generating on the screen after first display interface is mobile The N number of control being arranged on display interface, N are positive integer;
Starting module determines the first control from N number of control for the second sliding trace based on the slide Started, the direction of motion of first sliding trace is different with the direction of motion of second sliding trace.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claim 1-7 the method is realized when row.
10. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes the step of any one of claim 1-7 the method when executing described program Suddenly.
CN201810590282.3A 2018-06-08 2018-06-08 A kind of method and terminal device starting control Pending CN108845750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810590282.3A CN108845750A (en) 2018-06-08 2018-06-08 A kind of method and terminal device starting control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810590282.3A CN108845750A (en) 2018-06-08 2018-06-08 A kind of method and terminal device starting control

Publications (1)

Publication Number Publication Date
CN108845750A true CN108845750A (en) 2018-11-20

Family

ID=64210863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810590282.3A Pending CN108845750A (en) 2018-06-08 2018-06-08 A kind of method and terminal device starting control

Country Status (1)

Country Link
CN (1) CN108845750A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750203A (en) * 2019-09-30 2020-02-04 Oppo广东移动通信有限公司 Communication record screening method, device, electronic device and storage medium
CN111766996A (en) * 2020-06-17 2020-10-13 Oppo广东移动通信有限公司 Application switching method, device, storage medium and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080148146A1 (en) * 2000-01-04 2008-06-19 Julio Estrada System and method for dynamically publishing a document in collaboration space responsive to room aesthetics and input text
CN103645828A (en) * 2013-12-05 2014-03-19 杭州云清科技有限公司 Main interface menu display method with sliding animation effect
US20150185979A1 (en) * 2013-12-30 2015-07-02 Huawei Technologies Co., Ltd. Side Menu Displaying Method and Apparatus and Terminal
CN105893568A (en) * 2016-03-31 2016-08-24 北京金山安全软件有限公司 Operation method and device for function bar at top of folder and electronic equipment
CN105975181A (en) * 2016-05-06 2016-09-28 平安科技(深圳)有限公司 Method and device for display control of sideslip interface
CN106775388A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of application program launching method and mobile terminal based on edge gesture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080148146A1 (en) * 2000-01-04 2008-06-19 Julio Estrada System and method for dynamically publishing a document in collaboration space responsive to room aesthetics and input text
CN103645828A (en) * 2013-12-05 2014-03-19 杭州云清科技有限公司 Main interface menu display method with sliding animation effect
US20150185979A1 (en) * 2013-12-30 2015-07-02 Huawei Technologies Co., Ltd. Side Menu Displaying Method and Apparatus and Terminal
CN105893568A (en) * 2016-03-31 2016-08-24 北京金山安全软件有限公司 Operation method and device for function bar at top of folder and electronic equipment
CN105975181A (en) * 2016-05-06 2016-09-28 平安科技(深圳)有限公司 Method and device for display control of sideslip interface
CN106775388A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of application program launching method and mobile terminal based on edge gesture

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
LIGUANJIE8: "微信小程序侧边栏滑动特效(左右滑动)", 《HTTPS://WWW.JB51.NET/ARTICLE/104067.HTM》 *
NEWKU钮酷科技: "微信更新:下拉任务栏新增小游戏类目,这几款魔性游戏必火", 《HTTPS://HAOKAN.BAIDU.COM/V?VID=5255139738638240384&PD=BJH&FR=BJHAUTHOR&TYPE=VIDEO》 *
北京大妈有话说: "北京大妈教您怎么关注小程序!", 《HTTPS://V.QQ.COM/X/PAGE/H06442FYMD4.HTML》 *
简科技简哥: "微信再次更新"压轴大戏",小程序变化重大", 《HTTPS://HAOKAN.BAIDU.COM/V?VID=5162987656204588443&PD=BJH&FR=BJHAUTHOR&TYPE=VIDEO》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750203A (en) * 2019-09-30 2020-02-04 Oppo广东移动通信有限公司 Communication record screening method, device, electronic device and storage medium
CN111766996A (en) * 2020-06-17 2020-10-13 Oppo广东移动通信有限公司 Application switching method, device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN108093290B (en) Image content switching methods of exhibiting, storage equipment and computer equipment is broadcast live
US11197069B2 (en) Display method for live broadcast screen of live broadcast room, storage device and computer device
KR102328823B1 (en) Apparatus and method for using blank area on screen
US20190340833A1 (en) Prevention of User Interface Occlusion in a Virtual Reality Environment
KR101829782B1 (en) Sharing television and video programming through social networking
US9361284B2 (en) Causing display of comments associated with an object
CN102906667B (en) Systems and methods for providing haptic effects
US8313377B2 (en) Playing browser based games with alternative controls and interfaces
CN109218819B (en) Video preview method and mobile terminal
US20140009378A1 (en) User Profile Based Gesture Recognition
KR102440339B1 (en) Methods of sharing personal information, devices, terminals and storage media
EP2761401B1 (en) Methods, apparatuses, and computer program products for improving device behavior based on user interaction
CN107885823B (en) Audio information playing method and device, storage medium and electronic equipment
CN111782129A (en) Column interface for navigating in a user interface
CN106303731A (en) The display packing of barrage and device
CN111436006A (en) Method, device, equipment and storage medium for displaying information on video
US9495064B2 (en) Information processing method and electronic device
CN105989045A (en) Method, device and system for recommending persuasion content
US11759702B2 (en) Game system, processing method, and information storage medium
US10343064B2 (en) Game service provision apparatus and method of controlling the same
CN108845750A (en) A kind of method and terminal device starting control
CN105094576B (en) Application scenarios switching method and apparatus
CN107786894B (en) A method for identifying user feedback data, mobile terminal and storage medium
Gritton What? s wrong with smart tv?: How to improve user experience
US20240397158A1 (en) User interfaces and associated systems and processes for controlling playback of content

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181120

RJ01 Rejection of invention patent application after publication