[go: up one dir, main page]

CN113342218B - Interaction method and terminal equipment - Google Patents

Interaction method and terminal equipment Download PDF

Info

Publication number
CN113342218B
CN113342218B CN202010099815.5A CN202010099815A CN113342218B CN 113342218 B CN113342218 B CN 113342218B CN 202010099815 A CN202010099815 A CN 202010099815A CN 113342218 B CN113342218 B CN 113342218B
Authority
CN
China
Prior art keywords
interface
preset
interactive
operation instruction
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010099815.5A
Other languages
Chinese (zh)
Other versions
CN113342218A (en
Inventor
胡湘宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010099815.5A priority Critical patent/CN113342218B/en
Publication of CN113342218A publication Critical patent/CN113342218A/en
Application granted granted Critical
Publication of CN113342218B publication Critical patent/CN113342218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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/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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

本说明书实施例公开了涉及交互方法、获取商品评论的方法、退出视频播放的方法、终端设备、计算机可读存储介质。所述方法包括:在检测到用户的第一操作指令满足第一预设操作指令的情况下,在至少部分界面中提供一交互控件组,所述交互控件组中包括至少一个交互控件;检测所述第一操作指令的移动轨迹,根据所述移动轨迹的偏移方向,确定所述交互控件组中被选中的交互控件;在检测到所述第一操作指令结束的情况下,将被突出显示的交互控件确定为所述用户选择的交互控件,执行与用户选择的交互控件对应的交互动作。

The embodiments of this specification disclose an interactive method, a method for obtaining product reviews, a method for exiting video playback, a terminal device, and a computer-readable storage medium. The method includes: when it is detected that a user's first operation instruction satisfies a first preset operation instruction, an interactive control group is provided in at least part of the interface, and the interactive control group includes at least one interactive control; detecting the movement trajectory of the first operation instruction, and determining the selected interactive control in the interactive control group according to the offset direction of the movement trajectory; when it is detected that the first operation instruction ends, determining the highlighted interactive control as the interactive control selected by the user, and performing an interactive action corresponding to the interactive control selected by the user.

Description

交互方法和终端设备Interaction method and terminal device

技术领域Technical Field

本说明书涉及人机交互技术领域,更具体地,涉及交互方法、基于触控屏的交互方法、获取商品评论的方法、退出视频播放的方法、终端设备、计算机可读存储介质。The present specification relates to the field of human-computer interaction technology, and more specifically, to an interaction method, an interaction method based on a touch screen, a method for obtaining product reviews, a method for exiting video playback, a terminal device, and a computer-readable storage medium.

背景技术Background Art

智能终端是装载有智能操作系统的终端设备,拥有接入互联网能力,可以运行多种不同的APP(application,应用)。A smart terminal is a terminal device equipped with an intelligent operating system, which has the ability to access the Internet and can run a variety of different APPs (applications).

目前,为了实现人机交互,用户可以通过智能终端提供的实体按键、虚拟按钮等方式输入交互指令,但是,在这种方式下,用户的一次操作只能执行一个最基本的交互指令,对用户而言不够方便。At present, in order to realize human-computer interaction, users can input interaction instructions through physical buttons, virtual buttons, etc. provided by smart terminals. However, in this way, the user's operation can only execute a most basic interaction instruction at one time, which is not convenient for users.

发明内容Summary of the invention

本说明书实施例提供的交互方法,使得用户可以通过一个连续操作输入多个具体的交互指令。The interaction method provided in the embodiments of this specification enables the user to input multiple specific interaction instructions through one continuous operation.

根据本发明公开的第一方面,提供了一种交互方法,包括:According to a first aspect of the present disclosure, there is provided an interaction method, comprising:

在检测到用户的第一操作指令满足第一预设操作指令的情况下,在至少部分界面中提供一交互控件组,所述交互控件组中包括至少一个交互控件;When it is detected that the first operation instruction of the user satisfies the first preset operation instruction, providing an interactive control group in at least part of the interface, wherein the interactive control group includes at least one interactive control;

检测所述第一操作指令的移动轨迹,根据所述移动轨迹的偏移方向,确定所述交互控件组中被选中的交互控件,并突出显示;Detecting a moving track of the first operation instruction, determining a selected interactive control in the interactive control group according to a deviation direction of the moving track, and highlighting the selected interactive control;

在检测到所述第一操作指令结束的情况下,将被突出显示的交互控件确定为所述用户选择的交互控件,执行与用户选择的交互控件对应的交互动作。When it is detected that the first operation instruction ends, the highlighted interactive control is determined as the interactive control selected by the user, and an interactive action corresponding to the interactive control selected by the user is performed.

根据本发明公开的第二方面,提供了一种基于触控屏的交互方法,由具有触控屏的设备实施,包括以下步骤:According to a second aspect of the present disclosure, a touch screen-based interaction method is provided, which is implemented by a device having a touch screen, and includes the following steps:

在检测到用户的第一操作指令满足第一预设操作指令的情况下,在触控屏的至少部分界面中提供一交互控件组,所述交互控件组中包括至少一个交互控件;When it is detected that the first operation instruction of the user satisfies the first preset operation instruction, providing an interactive control group in at least a part of the interface of the touch screen, wherein the interactive control group includes at least one interactive control;

检测所述第一操作指令的移动轨迹,根据所述移动轨迹的偏移方向,确定所述交互控件组中被选中的交互控件,并突出显示;Detecting a moving track of the first operation instruction, determining a selected interactive control in the interactive control group according to a deviation direction of the moving track, and highlighting the selected interactive control;

在检测到所述第一操作指令结束的情况下,将被突出显示的交互控件确定为所述用户选择的交互控件,执行与用户选择的交互控件对应的交互动作;以及,返回前一页面。When it is detected that the first operation instruction ends, the highlighted interactive control is determined as the interactive control selected by the user, an interactive action corresponding to the interactive control selected by the user is performed; and, returning to the previous page.

根据本发明公开的第三方面,提供了一种获取商品评论的方法,由具有触控屏的设备实施,包括以下步骤:According to a third aspect of the present disclosure, a method for obtaining product reviews is provided, which is implemented by a device with a touch screen and includes the following steps:

在检测到用户的第一操作指令满足第一预设操作指令的情况下,在触控屏提供的商品展示界面的至少部分界面中提供一交互控件组,所述交互控件组中包括至少一个供用户表达对商品的评价的交互控件;When it is detected that the first operation instruction of the user satisfies the first preset operation instruction, an interactive control group is provided in at least a part of the interface of the commodity display interface provided by the touch screen, wherein the interactive control group includes at least one interactive control for the user to express his evaluation of the commodity;

检测所述第一操作指令的移动轨迹,根据所述移动轨迹的偏移方向,确定所述交互控件组中被选中的交互控件,并突出显示;Detecting a moving track of the first operation instruction, determining a selected interactive control in the interactive control group according to a deviation direction of the moving track, and highlighting the selected interactive control;

在检测到所述第一操作指令结束的情况下,将被突出显示的交互控件确定为所述用户选择的交互控件,执行与用户选择的交互控件对应的交互动作;以及,返回前一页面。When it is detected that the first operation instruction ends, the highlighted interactive control is determined as the interactive control selected by the user, an interactive action corresponding to the interactive control selected by the user is performed; and, returning to the previous page.

根据本发明公开的第四方面,提供了一种退出视频播放的方法,由具有触控屏的设备实施,包括以下步骤:According to a fourth aspect of the present disclosure, a method for exiting video playback is provided, which is implemented by a device having a touch screen, and includes the following steps:

在检测到用户的第一操作指令满足第一预设操作指令的情况下,在触控屏提供的视频内容播放界面的至少部分界面中提供一交互控件组,所述交互控件组中包括至少一个供用户表达对视频内容的偏好的交互控件;When it is detected that the first operation instruction of the user satisfies the first preset operation instruction, providing an interactive control group in at least a part of the video content playback interface provided by the touch screen, wherein the interactive control group includes at least one interactive control for the user to express a preference for the video content;

检测所述第一操作指令的移动轨迹,根据所述移动轨迹的偏移方向,确定所述交互控件组中被选中的交互控件,并突出显示;Detecting a moving track of the first operation instruction, determining a selected interactive control in the interactive control group according to a deviation direction of the moving track, and highlighting the selected interactive control;

在检测到所述第一操作指令结束的情况下,将被突出显示的交互控件确定为所述用户选择的交互控件,执行与用户选择的交互控件对应的交互动作;以及,退出视频内容播放。When it is detected that the first operation instruction ends, the highlighted interactive control is determined as the interactive control selected by the user, an interactive action corresponding to the interactive control selected by the user is performed; and, the video content playback is exited.

根据本发明公开的第五方面,提供了一种终端设备,包括输入装置、处理器和存储器;According to a fifth aspect of the present disclosure, there is provided a terminal device, comprising an input device, a processor and a memory;

所述输入装置用于供用户输入操作指令;The input device is used for the user to input operation instructions;

所述存储器中存储有计算机指令,所述计算机指令被所述处理器执行时,实现本发明第一方面提供的交互方法。The memory stores computer instructions, and when the computer instructions are executed by the processor, the interaction method provided in the first aspect of the present invention is implemented.

根据本发明公开的第六方面,提供了一种终端设备,包括触控屏、处理器和存储器;所述存储器中存储有计算机指令,所述计算机指令被所述处理器执行时,实现本发明第二方面提供的交互方法。According to the sixth aspect of the present invention, there is provided a terminal device, including a touch screen, a processor and a memory; the memory stores computer instructions, and when the computer instructions are executed by the processor, the interaction method provided in the second aspect of the present invention is implemented.

根据本发明公开的第七方面,提供了一种终端设备,包括触控屏、处理器和存储器;所述存储器中存储有计算机指令,所述计算机指令被所述处理器执行时,实现本发明第三方面提供的获取商品评论的方法。According to the seventh aspect of the present invention, there is provided a terminal device, including a touch screen, a processor and a memory; the memory stores computer instructions, and when the computer instructions are executed by the processor, the method for obtaining product reviews provided in the third aspect of the present invention is implemented.

根据本发明公开的第八方面,提供了一种终端设备,包括触控屏、处理器和存储器;所述存储器中存储有计算机指令,所述计算机指令被所述处理器执行时,实现本发明第四方面提供的退出视频播放的方法。According to the eighth aspect of the present invention, a terminal device is provided, including a touch screen, a processor and a memory; the memory stores computer instructions, and when the computer instructions are executed by the processor, the method for exiting video playback provided in the fourth aspect of the present invention is implemented.

根据本发明公开的第九方面,提供了一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时实现本发明第一方面提供的交互方法。According to a ninth aspect of the present disclosure, there is provided a computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the interactive method provided in the first aspect of the present disclosure.

根据本发明公开的第十方面,提供了一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时实现本发明第二方面提供的交互方法。According to a tenth aspect of the present invention, there is provided a computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the interactive method provided in the second aspect of the present invention.

根据本发明公开的第十一方面,提供了一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时实现本发明第三方面提供的获取商品评论的方法。According to an eleventh aspect of the present invention, there is provided a computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the method for obtaining product reviews provided in the third aspect of the present invention.

根据本发明公开的第十二方面,提供了一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时实现本发明第四方面提供的退出视频播放的方法。According to the twelfth aspect of the present invention, there is provided a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the method for exiting video playback provided in the fourth aspect of the present invention.

本说明书实施例提供的交互方法,在检测到用户的第一操作指令满足第一预设操作指令的情况下,提供一交互控件组,然后根据第一操作指令的移动轨迹的偏移方向,从交互控件组中选取交互控件,当第一操作指令结束时,执行与被选取的交互控件对应的交互动作。也就是说,本说明书实施例提供的交互方法,使得用户可以通过一个连续的操作输入多个具体的交互指令,实现提供交互控件组、选取交互控件、执行交互控件的多个交互动作,极大方便了用户,为用户提供了更好的使用体验。The interactive method provided in the embodiment of this specification provides an interactive control group when it is detected that the user's first operation instruction satisfies the first preset operation instruction, and then selects an interactive control from the interactive control group according to the offset direction of the moving track of the first operation instruction, and when the first operation instruction ends, executes the interactive action corresponding to the selected interactive control. In other words, the interactive method provided in the embodiment of this specification allows the user to input multiple specific interactive instructions through a continuous operation, and realizes multiple interactive actions of providing an interactive control group, selecting an interactive control, and executing an interactive control, which greatly facilitates the user and provides the user with a better user experience.

通过以下参照附图对本说明书的示例性实施例的详细描述,本说明书的实施例的特征及其优点将会变得清楚。Features and advantages of the embodiments of the present specification will become apparent from the following detailed description of exemplary embodiments of the present specification with reference to the accompanying drawings.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

被结合在说明书中并构成说明书的一部分的附图示出了本说明书的实施例,并且连同其说明一起用于解释本说明书实施例的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the specification and, together with the description, serve to explain the principles of the embodiments of the specification.

图1是本说明书一个实施例提供的终端设备的框图。FIG. 1 is a block diagram of a terminal device provided by an embodiment of the present specification.

图2是本说明书第一实施例提供的交互方法的流程图;FIG2 is a flow chart of an interactive method provided in the first embodiment of this specification;

图3是本说明书第二实施例提供的交互方法的流程图;FIG3 is a flow chart of an interactive method provided in a second embodiment of this specification;

图4是本说明书第二实施例提供的交互方法的界面变化过程的示意图;FIG4 is a schematic diagram of an interface change process of an interactive method provided in a second embodiment of this specification;

图5是本说明书第三实施例提供的获取商品评论的方法的界面变化过程的示意图;FIG5 is a schematic diagram of an interface change process of a method for obtaining product reviews provided in a third embodiment of this specification;

图6(a)-6(c)是本说明书第四实施例提供的交互方法的界面变化过程的示意图;6(a)-6(c) are schematic diagrams of the interface change process of the interaction method provided in the fourth embodiment of this specification;

图7是本说明书第五实施例提供的退出视频播放的方法的界面变化过程的示意图;7 is a schematic diagram of the interface change process of the method for exiting video playback provided in the fifth embodiment of this specification;

图8是本说明书一个实施例提供的终端设备的示意图;FIG8 is a schematic diagram of a terminal device provided by an embodiment of this specification;

图9是本说明书一个实施例提供的终端设备的示意图。FIG. 9 is a schematic diagram of a terminal device provided in one embodiment of the present specification.

具体实施方式DETAILED DESCRIPTION

现在将参照附图来详细描述本说明书的各种示例性实施例。Various exemplary embodiments of the present specification will now be described in detail with reference to the accompanying drawings.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本说明书实施例及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the embodiments of the present specification and its application or uses.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

图1是本说明书实施例提供的终端设备的硬件配置的框图。FIG. 1 is a block diagram of the hardware configuration of a terminal device provided in an embodiment of this specification.

如图1所示,终端设备300是安装有智能操作系统(例如安卓、IOS、Windows、Linux等系统)的电子设备,包括但不限于便携式电脑、台式计算机、手机、平板电脑等。终端设备300拥有接入互联网的能力。As shown in FIG1 , the terminal device 300 is an electronic device installed with an intelligent operating system (such as Android, IOS, Windows, Linux, etc.), including but not limited to a portable computer, a desktop computer, a mobile phone, a tablet computer, etc. The terminal device 300 has the ability to access the Internet.

终端设备300的配置包括但不限于处理器3010、存储器3020、接口装置3030、通信装置3040、显示装置3050、输入装置3060、扬声器3070、以及相机3080。The configuration of the terminal device 300 includes but is not limited to a processor 3010 , a memory 3020 , an interface device 3030 , a communication device 3040 , a display device 3050 , an input device 3060 , a speaker 3070 , and a camera 3080 .

处理器3010包括但不限于中央处理器CPU、微处理器MCU等。处理器3010还可以包括图像处理器GPU(Graphics Processing Unit)。存储器3020包括但不限于ROM(只读存储器)、RAM(随机存取存储器)、诸如硬盘的非易失性存储器等。接口装置3030包括但不限于USB接口、串行接口、并行接口、耳机插口等。通信装置3040例如能够进行有线通信或无线通信,具体地可以包括WiFi通信、蓝牙通信、2G/3G/4G/5G通信等。显示装置3050包括触摸屏。输入装置3060可以包括但不限于键盘、鼠标等。终端设备300的配置也可以仅包括上述装置中的部分装置。The processor 3010 includes but is not limited to a central processing unit CPU, a microprocessor MCU, etc. The processor 3010 may also include a graphics processing unit GPU (Graphics Processing Unit). The memory 3020 includes but is not limited to ROM (Read Only Memory), RAM (Random Access Memory), a non-volatile memory such as a hard disk, etc. The interface device 3030 includes but is not limited to a USB interface, a serial interface, a parallel interface, a headphone jack, etc. The communication device 3040 is capable of wired communication or wireless communication, and may specifically include WiFi communication, Bluetooth communication, 2G/3G/4G/5G communication, etc. The display device 3050 includes a touch screen. The input device 3060 may include but is not limited to a keyboard, a mouse, etc. The configuration of the terminal device 300 may also include only some of the above devices.

应用于本说明书的一个实施例中,用户可以通过终端设备300搭载的各种APP(application,应用)访问对应的页面以及在页面上进行操作,以实现自己需要的功能,例如通过音乐APP聆听音乐、通过购物APP进行购物,通过酒店预订APP进行酒店预订等。In one embodiment of the present specification, a user can access corresponding pages and perform operations on the pages through various APPs (applications) installed on the terminal device 300 to achieve the functions he needs, such as listening to music through a music APP, shopping through a shopping APP, and booking a hotel through a hotel booking APP.

本说明实施例涉及的应用包括但不限于安卓应用、IOS应用、小程序、Web应用等。The applications involved in the embodiments of this description include but are not limited to Android applications, IOS applications, applets, Web applications, etc.

图1所示的终端设备仅仅是说明性的并且绝不意味着对本说明书实施例、其应用或使用的任何限制。本领域技术人员应当理解,尽管前面描述了终端设备的多个装置,但是,本说明书实施例可以仅涉及其中的部分装置。本领域技术人员可以根据本说明书实施例所公开的方案设计指令。指令如何控制处理器进行操作,是本领域公知技术,故在此不再详细描述。The terminal device shown in FIG1 is merely illustrative and does not in any way imply any limitation on the embodiments of this specification, its application or use. It should be understood by those skilled in the art that although multiple devices of the terminal device are described above, the embodiments of this specification may only involve some of the devices. Those skilled in the art can design instructions according to the scheme disclosed in the embodiments of this specification. How instructions control the processor to operate is a well-known technology in the art, so it will not be described in detail here.

参考图2所示,本发明实施例提供了一种交互方法,由终端设备实施,包括以下步骤:Referring to FIG. 2 , an embodiment of the present invention provides an interaction method, which is implemented by a terminal device and includes the following steps:

S102、在检测到用户的第一操作指令满足第一预设操作指令的情况下,在至少部分界面中提供一交互控件组,交互控件组中包括至少一个交互控件。S102: When it is detected that a first operation instruction of the user satisfies a first preset operation instruction, an interactive control group is provided in at least a portion of the interface, wherein the interactive control group includes at least one interactive control.

用户可以通过输入装置输入第一操作指令,例如,用户通过操控鼠标来输入第一操作指令,或者通过操控手指或者触控笔触摸触控屏来输入第一操作指令。终端设备检测用户的第一操作指令,如果第一操作指令满足第一预设操作指令,终端设备在界面上呈现含有一个或者多个交互控件的交互控件组。The user may input the first operation instruction through an input device, for example, the user may input the first operation instruction by operating a mouse, or may input the first operation instruction by operating a finger or a stylus to touch a touch screen. The terminal device detects the first operation instruction of the user, and if the first operation instruction satisfies the first preset operation instruction, the terminal device presents an interactive control group containing one or more interactive controls on the interface.

在用户通过操控鼠标输入操作指令的情况下,第一预设操作指令可能有以下形态:When the user inputs an operation instruction by controlling the mouse, the first preset operation instruction may be in the following forms:

(1)将鼠标指针移动至界面上的预设虚拟按钮的位置。在一个具体的例子中,该预设虚拟按钮可以为返回按钮。在一个具体的例子中,界面处于播放视频内容的状态,该预设虚拟按钮可以为退出视频播放的按钮。(1) Move the mouse pointer to the position of a preset virtual button on the interface. In a specific example, the preset virtual button may be a return button. In a specific example, the interface is in a state of playing video content, and the preset virtual button may be a button for exiting video playback.

(2)将鼠标指针移动至界面上的预设虚拟按钮的位置并且停留在预设虚拟按钮的位置的时间达到第一预设时间。在一个具体的例子中,该预设虚拟按钮可以为返回按钮。在一个具体的例子中,界面处于播放视频内容的状态,该预设虚拟按钮可以为退出视频播放的按钮。该第一预设时间例如为1秒。(2) The mouse pointer is moved to the position of a preset virtual button on the interface and stays at the position of the preset virtual button for a first preset time. In a specific example, the preset virtual button may be a return button. In a specific example, the interface is in a state of playing video content, and the preset virtual button may be a button for exiting video playback. The first preset time is, for example, 1 second.

(3)按下鼠标键点击界面上的预设虚拟按钮。在一个具体的例子中,该预设虚拟按钮可以为返回按钮。在一个具体的例子中,界面处于播放视频内容的状态,该预设虚拟按钮可以为退出视频播放的按钮。(3) Press the mouse button to click a preset virtual button on the interface. In a specific example, the preset virtual button may be a return button. In a specific example, the interface is in a state of playing video content, and the preset virtual button may be a button for exiting video playback.

(4)将鼠标指针移动至界面上的内容项的位置。界面上可能呈现有多个内容项,将鼠标指针移动至界面上的其中一个内容项的位置。(4) Move the mouse pointer to the location of the content item on the interface. There may be multiple content items on the interface. Move the mouse pointer to the location of one of the content items on the interface.

(5)将鼠标指针移动至界面上的其中一个内容项的位置并且停留在该内容项的位置的时间达到第一预设时间。界面上可能呈现有多个内容项,将鼠标指针移动至界面上的其中一个内容项的位置并且停留在该内容项的位置的时间达到第一预设时间。该第一预设时间例如为1秒。(5) The mouse pointer is moved to the position of one of the content items on the interface and remains at the position of the content item for a first preset time. There may be multiple content items on the interface, and the mouse pointer is moved to the position of one of the content items on the interface and remains at the position of the content item for a first preset time. The first preset time is, for example, 1 second.

(6)按下鼠标键点击界面上的内容项。界面上可能呈现有多个内容项,点击界面上的其中一个内容项。(6) Press the mouse button to click on a content item on the interface. There may be multiple content items on the interface, and click on one of the content items on the interface.

(7)将鼠标指针移动至界面上的第一预设区域内。第一预设区域是预先设置好的区域,例如,预先设置界面的左侧区域为第一预设区域,或者预先设置界面的上侧区域为第一预设区域,或者预先设置界面的下侧区域为第一预设区域。(7) Move the mouse pointer to the first preset area on the interface. The first preset area is a preset area, for example, the left area of the interface is preset as the first preset area, or the upper area of the interface is preset as the first preset area, or the lower area of the interface is preset as the first preset area.

(8)将鼠标指针移动至界面上的第一预设区域内并且停留在第一预设区域内的时间达到第一预设时间。第一预设区域是预先设置好的区域,例如,预先设置界面的左侧区域为第一预设区域,或者预先设置界面的上侧区域为第一预设区域,或者预先设置界面的下侧区域为第一预设区域。该第一预设时间例如为1秒。(8) The mouse pointer is moved to a first preset area on the interface and stays in the first preset area for a first preset time. The first preset area is a preset area, for example, the left area of the interface is preset as the first preset area, or the upper area of the interface is preset as the first preset area, or the lower area of the interface is preset as the first preset area. The first preset time is, for example, 1 second.

(9)按下鼠标键点击界面的第一预设区域。第一预设区域是预先设置好的区域,例如,预先设置界面的左侧区域为第一预设区域,或者预先设置界面的上侧区域为第一预设区域,或者预先设置界面的下侧区域为第一预设区域。(9) Press the mouse button to click on the first preset area of the interface. The first preset area is a preset area, for example, the left area of the interface is preset as the first preset area, or the upper area of the interface is preset as the first preset area, or the lower area of the interface is preset as the first preset area.

(10)按下鼠标键点击界面的第一预设区域然后朝向第一预设方向移动。第一预设区域是预先设置好的区域。第一预设区域例如为界面的左侧区域,第一预设方向例如是从界面的左侧区域朝向界面的右侧区域移动。第一预设区域例如为界面的上侧区域,第一预设方向例如是从界面的上侧区域朝向界面的下侧区域移动。第一预设区域例如为界面的下侧区域,第一预设方向例如是从界面的下侧区域朝向界面的上侧区域移动。(10) Press the mouse button to click on the first preset area of the interface and then move in the first preset direction. The first preset area is a pre-set area. The first preset area is, for example, the left area of the interface, and the first preset direction is, for example, moving from the left area of the interface to the right area of the interface. The first preset area is, for example, the upper area of the interface, and the first preset direction is, for example, moving from the upper area of the interface to the lower area of the interface. The first preset area is, for example, the lower area of the interface, and the first preset direction is, for example, moving from the lower area of the interface to the upper area of the interface.

在用户通过触控屏输入操作指令的情况下,第一预设操作指令可能有以下形态:When the user inputs an operation instruction through the touch screen, the first preset operation instruction may be in the following forms:

(1)将手指或者触控笔的笔尖移动至界面上的预设虚拟按钮。在一个具体的例子中,该预设虚拟按钮可以为返回按钮。在一个具体的例子中,界面处于播放视频内容的状态,该预设虚拟按钮可以为退出视频播放的按钮。(1) Move the finger or the tip of the stylus pen to a preset virtual button on the interface. In a specific example, the preset virtual button may be a return button. In a specific example, the interface is in a state of playing video content, and the preset virtual button may be a button for exiting video playback.

(2)将手指或者触控笔的笔尖移动至界面上的预设虚拟按钮并且停留在预设虚拟按钮的时间达到第一预设时间。在一个具体的例子中,该预设虚拟按钮可以为返回按钮。在一个具体的例子中,界面处于播放视频内容的状态,该预设虚拟按钮可以为退出视频播放的按钮。该第一预设时间例如为1秒。(2) Move the finger or the tip of the stylus pen to a preset virtual button on the interface and stay on the preset virtual button for a first preset time. In a specific example, the preset virtual button may be a return button. In a specific example, the interface is in a state of playing video content, and the preset virtual button may be a button for exiting video playback. The first preset time is, for example, 1 second.

(3)使用手指或者触控笔按照第一预设力度要求点击界面上的预设虚拟按钮并且持续时间达到第一预设时间。在一个具体的例子中,该预设虚拟按钮可以为返回按钮。在一个具体的例子中,界面处于播放视频内容的状态,该预设虚拟按钮可以为退出视频播放的按钮。该第一预设时间例如为1秒。对于某些终端设备,其触控屏具有按压灵敏度(例如苹果公司的具有3D Touch功能的手机),能够感知区分用户按压触控屏的力度,当用户以不同力度按压触控屏时,能够激发不同的操控指令。在本发明的一个实施例中,第一预设力度要求对应于相对较大的按压力度。当用户以该相对较大的按压力度点击预设虚拟按钮并且维持时间达到第一预设时间以上时,满足第一预设操作指令。(3) Use a finger or a stylus to click a preset virtual button on the interface according to a first preset force requirement and the duration reaches a first preset time. In a specific example, the preset virtual button may be a return button. In a specific example, the interface is in a state of playing video content, and the preset virtual button may be a button for exiting video playback. The first preset time is, for example, 1 second. For some terminal devices, their touch screens have a press sensitivity (such as Apple's mobile phones with 3D Touch function), which can sense and distinguish the force with which the user presses the touch screen. When the user presses the touch screen with different forces, different control instructions can be triggered. In one embodiment of the present invention, the first preset force requirement corresponds to a relatively large pressing force. When the user clicks the preset virtual button with the relatively large pressing force and the duration reaches more than the first preset time, the first preset operation instruction is satisfied.

(4)将手指或者触控笔的笔尖移动至界面上的内容项。界面上可能呈现有多个内容项,将手指或者触控笔的笔尖移动至界面上的其中一个内容项。(4) Move your finger or the tip of the stylus pen to a content item on the interface. There may be multiple content items on the interface. Move your finger or the tip of the stylus pen to one of the content items on the interface.

(5)将手指或者触控笔的笔尖移动至界面上的其中一个内容项并且停留在该内容项的时间达到第一预设时间。界面上可能呈现有多个内容项,将手指或者触控笔的笔尖移动至界面上的其中一个内容项并且停留在该内容项的时间达到第一预设时间。该第一预设时间例如为1秒。(5) Move the finger or the tip of the stylus pen to one of the content items on the interface and keep it on the content item for a first preset time. There may be multiple content items on the interface, and move the finger or the tip of the stylus pen to one of the content items on the interface and keep it on the content item for a first preset time. The first preset time is, for example, 1 second.

(6)使用手指或者触控笔按照第一预设力度要求点击界面上的内容项并且持续时间达到第一预设时间。界面上可能呈现有多个内容项,将手指或者触控笔的笔尖移动至界面上的其中一个内容项并且停留在该内容项的时间达到第一预设时间。该第一预设时间例如为1秒。对于某些终端设备,其触控屏具有按压灵敏度(例如苹果公司的具有3D Touch功能的手机),能够感知区分用户按压触控屏的力度,当用户以不同力度按压触控屏时,能够激发不同的操控指令。在本发明的一个实施例中,第一预设力度要求对应于相对较大的按压力度。当用户以该相对较大的按压力度点击其中一个内容项并且维持时间达到第一预设时间以上时,满足第一预设操作指令。(6) Use a finger or a stylus to click on a content item on the interface according to a first preset force requirement and the duration reaches a first preset time. There may be multiple content items on the interface. Move the finger or the tip of the stylus to one of the content items on the interface and stay on the content item for a first preset time. The first preset time is, for example, 1 second. For some terminal devices, their touch screens have press sensitivity (such as Apple's mobile phones with 3D Touch function), which can sense and distinguish the force of the user pressing the touch screen. When the user presses the touch screen with different forces, different control instructions can be triggered. In one embodiment of the present invention, the first preset force requirement corresponds to a relatively large pressing force. When the user clicks on one of the content items with the relatively large pressing force and maintains the time for more than the first preset time, the first preset operation instruction is satisfied.

(7)将手指或者触控笔的笔尖移动至界面上的第一预设区域内。第一预设区域是预先设置好的区域,例如,预先设置界面的左侧区域为第一预设区域,或者预先设置界面的上侧区域为第一预设区域,或者预先设置界面的下侧区域为第一预设区域。(7) Move the finger or the tip of the stylus pen to a first preset area on the interface. The first preset area is a pre-set area, for example, the left area of the interface is pre-set as the first preset area, or the upper area of the interface is pre-set as the first preset area, or the lower area of the interface is pre-set as the first preset area.

(8)将手指或者触控笔的笔尖移动至界面上的第一预设区域内并且停留在第一预设区域内的时间达到第一预设时间。第一预设区域是预先设置好的区域,例如,预先设置界面的左侧区域为第一预设区域,或者预先设置界面的上侧区域为第一预设区域,或者预先设置界面的下侧区域为第一预设区域。该第一预设时间例如为1秒。(8) Move the finger or the tip of the stylus pen to a first preset area on the interface and stay in the first preset area for a first preset time. The first preset area is a pre-set area, for example, the left area of the interface is pre-set as the first preset area, or the upper area of the interface is pre-set as the first preset area, or the lower area of the interface is pre-set as the first preset area. The first preset time is, for example, 1 second.

(9)使用手指或者触控笔按照第一预设力度要求点击界面的第一预设区域然后朝向第一预设方向移动。第一预设区域例如为界面的左侧区域,第一预设方向例如是从界面的左侧区域朝向界面的右侧区域移动。第一预设区域例如为界面的上侧区域,第一预设方向例如是从界面的上侧区域朝向界面的下侧区域移动。第一预设区域例如为界面的下侧区域,第一预设方向例如是从界面的下侧区域朝向界面的上侧区域移动。对于某些终端设备,其触控屏具有按压灵敏度(例如苹果公司的具有3D Touch功能的手机),能够感知区分用户按压触控屏的力度,当用户以不同力度按压触控屏时,能够激发不同的操控指令。在本发明的一个实施例中,第一预设力度要求对应于相对较大的按压力度。当用户以该相对较大的按压力度点击其中一个内容项然后朝向第一预设方向移动时,满足第一预设操作指令。(9) Use a finger or a stylus to click on a first preset area of the interface according to a first preset force requirement and then move in a first preset direction. The first preset area is, for example, the left area of the interface, and the first preset direction is, for example, moving from the left area of the interface to the right area of the interface. The first preset area is, for example, the upper area of the interface, and the first preset direction is, for example, moving from the upper area of the interface to the lower area of the interface. The first preset area is, for example, the lower area of the interface, and the first preset direction is, for example, moving from the lower area of the interface to the upper area of the interface. For some terminal devices, their touch screens have a press sensitivity (such as Apple's mobile phones with 3D Touch function), which can sense and distinguish the force of the user pressing the touch screen. When the user presses the touch screen with different forces, different control instructions can be triggered. In one embodiment of the present invention, the first preset force requirement corresponds to a relatively large pressing force. When the user clicks on one of the content items with the relatively large pressing force and then moves in the first preset direction, the first preset operation instruction is satisfied.

在本发明的一个实施例中,交互控件组中包括至少一个供用户表达用户偏好的交互控件。交互控件组内可以包括用于表达正面评价的交互控件、用于表达负面评价的交互控件。交互控件组内还可以包括拒绝评价的交互控件。评价的对象可以是当前页面上呈现的内容、商品或者服务,评价用于体现用户对所述对象的看法或者偏好。例如,正面评价的交互控件例如可以是实现“加分”、“点赞”、“喜欢”、“收藏”、“加入心愿单”、“加入购物车”功能的交互控件。负面评价的交互控件例如可以是实现“扣分”、“踩”、“不喜欢”、“讨厌”功能的交互控件。拒绝评价的交互控件,适用于用户不想做出评价的情况,例如标明有“取消”符号、“拒绝评价”符号、“取消”字样、“拒绝评价”字样等信息的交互控件。In one embodiment of the present invention, the interactive control group includes at least one interactive control for the user to express user preferences. The interactive control group may include interactive controls for expressing positive evaluations and interactive controls for expressing negative evaluations. The interactive control group may also include interactive controls for rejecting evaluations. The object of evaluation may be the content, goods or services presented on the current page, and the evaluation is used to reflect the user's views or preferences on the object. For example, the interactive control for positive evaluation may be an interactive control for implementing the functions of "add points", "like", "like", "collection", "add to wish list", and "add to shopping cart". The interactive control for negative evaluation may be an interactive control for implementing the functions of "deduct points", "step on", "dislike", and "hate". The interactive control for rejecting evaluation is suitable for situations where the user does not want to make an evaluation, such as an interactive control marked with information such as a "cancel" symbol, a "reject evaluation" symbol, a "cancel" word, and a "reject evaluation" word.

本说明书实施例不局限于前述用于表达用户偏好的交互控件,交互控件组内还可以包括其它类型的用于交互的控件,例如,“反馈”控件、“投诉”控件、“咨询”控件。The embodiments of this specification are not limited to the aforementioned interactive controls for expressing user preferences, and the interactive control group may also include other types of controls for interaction, such as a "feedback" control, a "complaint" control, and a "consultation" control.

本发明实施例中的交互控件,也可以是为了进一步获取某些信息或者实现某种具体功能,例如,交互控件可以用于“查看地图”、“查看评价”、“导航”、“搜索”等等。The interactive controls in the embodiments of the present invention may also be used to further obtain certain information or implement certain specific functions. For example, the interactive controls may be used to “view a map”, “view reviews”, “navigate”, “search”, and the like.

在本发明的实施例中,在当前页面之上加载半透明蒙层,在半透明蒙层之上加载交互控件组,以突显交互控件组。或者,降低当前页面的亮度,在当前页面之上加载交互控件组,也能够实现突显交互控件组的效果。In an embodiment of the present invention, a semi-transparent mask is loaded on the current page, and an interactive control group is loaded on the semi-transparent mask to highlight the interactive control group. Alternatively, the brightness of the current page is reduced, and the interactive control group is loaded on the current page, which can also achieve the effect of highlighting the interactive control group.

S104、检测第一操作指令的移动轨迹,根据移动轨迹的偏移方向,确定交互控件组中被选中的交互控件,并突出显示。S104: Detect a moving track of the first operation instruction, determine a selected interactive control in the interactive control group according to a deviation direction of the moving track, and highlight the selected interactive control.

用户可以通过输入装置输入第一操作指令,终端设备检测用户的第一操作指令,如果第一操作指令满足第一预设操作指令,终端设备在界面上呈现含有一个或者多个交互控件的交互控件组;终端设备继续检测用户的第一操作指令的移动轨迹,根据第一操作指令的移动轨迹从交互控件组中选取一个交互控件,被选取的交互控件会被突出显示,使得其和其它交互控件能够更加明显地区分开来,以提示用户该交互控件被选取。The user can input a first operation instruction through an input device, and the terminal device detects the user's first operation instruction. If the first operation instruction meets the first preset operation instruction, the terminal device presents an interactive control group containing one or more interactive controls on the interface; the terminal device continues to detect the moving trajectory of the user's first operation instruction, and selects an interactive control from the interactive control group according to the moving trajectory of the first operation instruction. The selected interactive control will be highlighted so that it can be more clearly distinguished from other interactive controls, so as to prompt the user that the interactive control is selected.

也就是说,在本发明实施例中,第一操作指令包括连续的两个阶段,第一阶段的操作需要符合第一预设操作指令以呈现交互控件组,第二阶段的移动用于选取交互控件。That is to say, in the embodiment of the present invention, the first operation instruction includes two consecutive stages, the operation of the first stage needs to comply with the first preset operation instruction to present the interactive control group, and the movement of the second stage is used to select the interactive control.

在步骤S102中,如果第一预设操作指令包括朝向第一预设方向移动,在呈现交互控制组的时候,交互控制组的多个交互控件的排列方向可以和第一预设方向垂直。在这种情况下,在步骤S104中,只需要第一操作指令转向,改为沿与之前移动方向的垂直方向进行移动,就可以从交互控制组中选取交互控件。In step S102, if the first preset operation instruction includes moving in a first preset direction, when the interactive control group is presented, the arrangement direction of the plurality of interactive controls in the interactive control group may be perpendicular to the first preset direction. In this case, in step S104, the first operation instruction only needs to be turned to move in a direction perpendicular to the previous moving direction, and the interactive control can be selected from the interactive control group.

对被选中的交互控件进行突出显示的方式为下列任一:The selected interactive control is highlighted in any of the following ways:

(1)改变被选中的交互控件的颜色。(1) Change the color of the selected interactive control.

(2)放大被选中的交互控件。(2) Enlarge the selected interactive control.

(3)拉伸被选中的交互控件。(3) Stretch the selected interactive control.

(4)展开被选中的交互控件。受限于界面空间布局和视觉体验,在呈现交互控件组时,交互控件可能只显示符号部分或者文字开头部分,为了让用户能够理解交互控件的具体含义,当第一操作指令移动使得某个交互控件被选取时,该交互控件会被完全展开,以展示更多关于该交互控件的功能的信息。(4) Expand the selected interactive control. Due to the limitations of the interface space layout and visual experience, when presenting an interactive control group, the interactive control may only display the symbol part or the beginning part of the text. In order to enable the user to understand the specific meaning of the interactive control, when the first operation instruction moves so that a certain interactive control is selected, the interactive control will be fully expanded to display more information about the function of the interactive control.

以上突出显示的方式还可以综合进行使用,例如,改变被选中的交互控件的颜色并且对该被选取的交互控件进行整体放大。The above highlighting methods may also be used in combination, for example, changing the color of the selected interactive control and enlarging the entire selected interactive control.

根据第一操作指令的移动轨迹的偏移方向,确定交互控件组中被选中的交互控件,可以包括步骤S1042和S1044:Determining the selected interactive control in the interactive control group according to the offset direction of the moving track of the first operation instruction may include steps S1042 and S1044:

S1042、沿第一操作指令的移动轨迹的偏移方向移动交互控件组,使得交互控件组在界面的范围内移动。S1042: Move the interactive control group along the offset direction of the moving track of the first operation instruction, so that the interactive control group moves within the range of the interface.

在第二阶段,交互控件组可以跟随用户的移动操作的偏移方向,在界面的范围内进行整体移动,并且应用(APP)预先设置了一定的阻尼保证交互控件组不会被拖出界面之外。In the second stage, the interactive control group can follow the offset direction of the user's movement operation and move as a whole within the range of the interface, and the application (APP) pre-sets a certain damping to ensure that the interactive control group will not be dragged out of the interface.

通过这种方式,交互控件组会跟随用户的移动操作而进行移动,能够给予用户更好的使用体验。同时,即使第一操作指令的移动距离比较大,也不会造成交互控件组被拖出界面之外的情况发生,保证交互控件组始终被呈现给用户。In this way, the interactive control group will move with the user's movement operation, which can give the user a better user experience. At the same time, even if the moving distance of the first operation instruction is relatively large, the interactive control group will not be dragged out of the interface, ensuring that the interactive control group is always presented to the user.

S1044、在交互控件位于界面的第二预设区域内的情况下,沿第一操作指令的移动轨迹的偏移方向确定交互控件组中被选中的交互控件。S1044: When the interactive control is located in the second preset area of the interface, determine the interactive control selected in the interactive control group along the offset direction of the moving trajectory of the first operation instruction.

也就是说,在交互控件组位于第二预设区域内的情况下,根据第一操作指令的移动轨迹的偏移方向选取交互控件,例如,在交互控件组位于第二预设区域内的情况下,第一操作指令的移动轨迹的偏移方向指向交互控件组的第一个交互控件,则第一个交互控件被选取。在一个具体的例子中,第二预设区域例如为界面的边缘位置。That is, when the interactive control group is located in the second preset area, the interactive control is selected according to the offset direction of the moving track of the first operation instruction. For example, when the interactive control group is located in the second preset area, the offset direction of the moving track of the first operation instruction points to the first interactive control of the interactive control group, and the first interactive control is selected. In a specific example, the second preset area is, for example, the edge position of the interface.

S106、在检测到第一操作指令结束的情况下,将被突出显示的交互控件确定为用户选择的交互控件,执行与用户选择的交互控件对应的交互动作。S106: When it is detected that the first operation instruction ends, the highlighted interactive control is determined as the interactive control selected by the user, and an interactive action corresponding to the interactive control selected by the user is executed.

用户可以通过输入装置输入第一操作指令,终端设备检测用户的第一操作指令,如果第一操作指令满足第一预设操作指令,终端设备在界面上呈现含有一个或者多个交互控件的交互控件组;终端设备继续检测用户的第一操作指令的移动轨迹,根据第一操作指令的移动轨迹从交互控件组中选取一个交互控件,被选取的交互控件会被突出显示;当第一操作指令结束时,执行与被突出显示的交互控件对应的交互动作。The user can input a first operation instruction through an input device, and the terminal device detects the user's first operation instruction. If the first operation instruction meets the first preset operation instruction, the terminal device presents an interactive control group containing one or more interactive controls on the interface; the terminal device continues to detect the moving trajectory of the user's first operation instruction, and selects an interactive control from the interactive control group according to the moving trajectory of the first operation instruction, and the selected interactive control will be highlighted; when the first operation instruction ends, the interactive action corresponding to the highlighted interactive control is executed.

在本发明实施例中,第一操作指令包括连续的两个阶段,第一阶段的操作需要符合第一预设操作指令以呈现交互控件组,第二阶段的移动用于选取交互控件,最后第一操作指令结束以执行与被选取的交互控件对应的交互动作。例如,第一操作指令包括按下鼠标键以实现点击(第一阶段),保持按下鼠标键的状态操控鼠标指针进行移动以选取交互控件(第二阶段),最后释放鼠标键以结束指令。例如,第一操作指令包括操控鼠标指针进行特定移动(第一阶段),操控鼠标指针继续移动以选取交互控件(第二阶段),最后停止移动以结束指令。例如,第一操作指令包括在按下鼠标键的状态下操控鼠标指针进行特定移动(第一阶段),操控鼠标指针继续移动以选取交互控件(第二阶段),最后释放鼠标键以结束指令。例如,第一操作指令包括触摸触控屏以实现点击(第一阶段),保持触摸的状态在触控屏上滑动以选取交互控件(第二阶段),最后离开触控屏以结束指令。例如,第一操作指令包括触摸触控屏并且进行特定滑动(第一阶段),继续在触控屏上滑动以选取交互控件(第二阶段),最后离开触控屏以结束指令。In an embodiment of the present invention, the first operation instruction includes two consecutive stages, the operation of the first stage needs to comply with the first preset operation instruction to present the interactive control group, the movement of the second stage is used to select the interactive control, and finally the first operation instruction ends to perform the interactive action corresponding to the selected interactive control. For example, the first operation instruction includes pressing the mouse button to achieve a click (first stage), keeping the mouse button pressed to manipulate the mouse pointer to move to select the interactive control (second stage), and finally releasing the mouse button to end the instruction. For example, the first operation instruction includes manipulating the mouse pointer to move specifically (first stage), manipulating the mouse pointer to continue to move to select the interactive control (second stage), and finally stopping the movement to end the instruction. For example, the first operation instruction includes manipulating the mouse pointer to move specifically (first stage) while pressing the mouse button, manipulating the mouse pointer to continue to move to select the interactive control (second stage), and finally releasing the mouse button to end the instruction. For example, the first operation instruction includes touching the touch screen to achieve a click (first stage), sliding on the touch screen while keeping the touch state to select the interactive control (second stage), and finally leaving the touch screen to end the instruction. For example, the first operation instruction includes touching the touch screen and performing a specific slide (first stage), continuing to slide on the touch screen to select an interactive control (second stage), and finally leaving the touch screen to end the instruction.

在本发明的一个实施例中,执行与用户选择的交互控件对应的交互动作,包括:跳转至与用户选择的交互控件对应的页面。例如,交控控件的功能为“查看地图”,执行与用户选择的交互控件对应的交互动作为跳转至地图页面。例如,交控控件的功能为“查看评价”,执行与用户选择的交互控件对应的交互动作为跳转至评价页面。In one embodiment of the present invention, executing an interactive action corresponding to an interactive control selected by a user includes: jumping to a page corresponding to the interactive control selected by the user. For example, if the function of the interactive control is "view map", executing an interactive action corresponding to the interactive control selected by the user is jumping to a map page. For example, if the function of the interactive control is "view evaluation", executing an interactive action corresponding to the interactive control selected by the user is jumping to a evaluation page.

在本发明的一个实施例中,如果被选取的交互控件为“反馈”、“投诉”、“咨询”等需要进一步输入详细信息的控件,执行与用户选择的交互控件对应的交互动作可以包括:弹出信息输入窗口以供用户输入信息。In one embodiment of the present invention, if the selected interactive control is a control such as "feedback", "complaint", "consultation", etc. that requires further input of detailed information, executing the interactive action corresponding to the interactive control selected by the user may include: popping up an information input window for the user to input information.

在一个具体的例子中,本发明实施例用于在返回前一页面的过程中,实现对当前页面的评价。下面对这种情况进行详细说明:In a specific example, the embodiment of the present invention is used to implement the evaluation of the current page in the process of returning to the previous page. This situation is described in detail below:

在这种情况下,步骤S102中涉及的预设虚拟按钮为返回按钮,在步骤S106中,在执行与用户选择的交互控件对应的交互动作后,返回前一页面。或者,步骤S102涉及中的第一预设区域为返回前一页面功能区域,在步骤S106中,在执行与用户选择的交互控件对应的交互动作后,返回前一页面。In this case, the preset virtual button involved in step S102 is a return button, and in step S106, after performing the interactive action corresponding to the interactive control selected by the user, the user returns to the previous page. Alternatively, the first preset area involved in step S102 is a return to previous page function area, and in step S106, after performing the interactive action corresponding to the interactive control selected by the user, the user returns to the previous page.

在一个具体的例子中,步骤S102在界面中提供交互控件组,可以包括步骤S1022-S1024:In a specific example, step S102 provides an interactive control group in the interface, which may include steps S1022-S1024:

S1022、在当前页面之下加载前一页面,并且移动当前页面以将前一页面的第一部分呈现给用户。S1022: Load the previous page below the current page, and move the current page to present the first part of the previous page to the user.

S1024、在前一页面的第一部分之上加载交互控件组。S1024. Load an interactive control group on the first part of the previous page.

也就是说,在该具体的例子中,在界面中提供交互控件组的同时,前一页面已经被加载。与之对应的,步骤S106中,在执行与用户选择的交互控件对应的交互动作后,只需要关闭当前页面并且去除交互控件组,就可以将已经加载好的前一页面完整展示出来,也就达到了快速返回前一页面的效果,提升了前一页面的响应速度。That is to say, in this specific example, while the interactive control group is provided in the interface, the previous page has been loaded. Correspondingly, in step S106, after executing the interactive action corresponding to the interactive control selected by the user, it is only necessary to close the current page and remove the interactive control group, so that the loaded previous page can be fully displayed, thus achieving the effect of quickly returning to the previous page and improving the response speed of the previous page.

步骤S102中,在提供交互控件组时,可以在前一页面和交互控件组之间加载半透明蒙层。例如,在当前页面之下加载半透明蒙层,在半透明蒙层之下加载前一页面,交互控件组位于前一页面的第一部分并且呈现在半透明蒙层上方。半透明蒙层可以让当前页面和前一页面的区分得更为鲜明,还可以让交互控件变得更加醒目,提升了用户体验,有利于用户使用交互控件。与之对应的,在步骤S106中,还需要去除该半透明蒙层,以将前一页面充分显露出来。In step S102, when providing the interactive control group, a semi-transparent mask can be loaded between the previous page and the interactive control group. For example, a semi-transparent mask is loaded under the current page, and the previous page is loaded under the semi-transparent mask. The interactive control group is located in the first part of the previous page and is presented above the semi-transparent mask. The semi-transparent mask can make the current page and the previous page more distinct, and can also make the interactive controls more eye-catching, thereby improving the user experience and facilitating the user to use the interactive controls. Correspondingly, in step S106, the semi-transparent mask needs to be removed to fully reveal the previous page.

在提供交互控件组时,可以降低前一页面的亮度。降低前一页面的亮度,可以让当前页面和前一页面的区分得更为鲜明,还可以让交互控件变得更加醒目,提升了用户体验,有利于用户使用交互控件。与之对应的,在步骤S106中,还需要调高前一页面的亮度,使得前一页面回复到正常状态。When providing the interactive control group, the brightness of the previous page can be reduced. Reducing the brightness of the previous page can make the current page and the previous page more distinct, and can also make the interactive controls more eye-catching, thereby improving the user experience and facilitating the user to use the interactive controls. Correspondingly, in step S106, the brightness of the previous page also needs to be increased so that the previous page returns to a normal state.

在去除交互控件组时,可以延迟第二预设时间去除用户选择的交互控件。第二预设时间例如可以为1秒。也就是说,在去除交互控件组时,没有被选中的交互控件会立即被去除,被选中的交互控件会短暂停留在前一页面上一段时间晚一点被去除,以向用户示意用户选中的是这个交互控件。When removing the interactive control group, the interactive control selected by the user may be removed after a delay of a second preset time. The second preset time may be, for example, 1 second. That is, when removing the interactive control group, the interactive controls that are not selected will be removed immediately, and the selected interactive controls will stay on the previous page for a short period of time and be removed later, so as to indicate to the user that the user has selected this interactive control.

本说明书实施例提供的交互方法,使得用户可以通过一个连续的操作输入多个具体的交互指令,实现提供交互控件组、选取交互控件、执行交互控件的多个交互动作,极大方便了用户,为用户提供了更好的使用体验。The interactive method provided in the embodiments of this specification allows the user to input multiple specific interactive instructions through a continuous operation, thereby realizing multiple interactive actions of providing an interactive control group, selecting an interactive control, and executing an interactive control, which greatly facilitates the user and provides the user with a better user experience.

利用第一实施例提供的交互方法,可以进一步实现第二-第五实施例的具体方案。By utilizing the interactive method provided in the first embodiment, the specific solutions of the second to fifth embodiments can be further implemented.

参见图3所示,本发明实施例提供了一种基于触控屏的交互方法,由具有触控屏的终端设备实施。图4示出了在该交互方法的控制下,终端设备的界面的变化过程,该实施例的方法用于在返回前一页面的过程中,实现对当前页面上呈现的内容进行评价。Referring to Figure 3, an embodiment of the present invention provides an interactive method based on a touch screen, which is implemented by a terminal device having a touch screen. Figure 4 shows the change process of the interface of the terminal device under the control of the interactive method. The method of this embodiment is used to evaluate the content presented on the current page in the process of returning to the previous page.

该实施例提供的基于触控屏的交互方法,包括以下步骤:The touch screen-based interaction method provided in this embodiment includes the following steps:

S202、在检测到用户的第一操作指令满足第一预设操作指令的情况下,在触控屏的至少部分界面中提供一交互控件组,交互控件组中包括至少一个交互控件。S202: When it is detected that the first operation instruction of the user satisfies the first preset operation instruction, an interactive control group is provided in at least a part of the interface of the touch screen, wherein the interactive control group includes at least one interactive control.

参见图4的200-1界面,当前页面上设有虚拟的“返回”按钮,该“返回”按钮位于界面的左侧,第一预设方向为从界面的左侧朝向界面的右侧的方向,第一预设操作指令包括点击“返回”按钮然后朝向第一预设方向移动,即横向朝向界面的右侧滑动。Referring to the 200-1 interface of Figure 4, a virtual "Back" button is provided on the current page. The "Back" button is located on the left side of the interface. The first preset direction is from the left side of the interface to the right side of the interface. The first preset operation instruction includes clicking the "Back" button and then moving in the first preset direction, that is, sliding horizontally toward the right side of the interface.

参见图4的200-1界面中的手形图案和方向箭头所示,用户触摸点击“返回”按钮然后横向朝向界面的右侧滑动,终端设备检测到用户的第一操作指令满足第一预设操作指令,在当前页面之下加载前一页面,并且朝向第一预设方向移动当前页面以将前一页面的第一部分呈现给用户,在前一页面的第一部分之上加载交互控件组,使得界面200-1变换为界面200-2。参见界面200-2所示,界面左侧展示前一页面的左半部分,界面右侧展示当前页面的左半部分;在前一页面的第一部分之上,也就是在界面的左侧,提供交互控件组。As shown in the hand-shaped pattern and direction arrow in interface 200-1 of FIG. 4 , the user touches and clicks the "return" button and then slides horizontally toward the right side of the interface. The terminal device detects that the user's first operation instruction satisfies the first preset operation instruction, loads the previous page below the current page, and moves the current page toward the first preset direction to present the first part of the previous page to the user, and loads the interactive control group above the first part of the previous page, so that interface 200-1 is transformed into interface 200-2. As shown in interface 200-2, the left side of the interface displays the left half of the previous page, and the right side of the interface displays the left half of the current page; above the first part of the previous page, that is, on the left side of the interface, an interactive control group is provided.

参见界面200-2所示,交互控件组中包括三个交互控件,三个交互控件在界面上纵向排列(交互控件的排列方向和第一预设方向垂直),从上至下依次为用于表达“喜欢”的第一交互控件,用于表达“不喜欢”的第二交互控件,用于表达“不想评论”的第三交互控件,界面200-2中展示的交互控件只显示其对应的符号。第一交互控件用于表达“喜欢”,其符号为完整的心形图案。第二交互控件用于表达“不喜欢”,其符号为破裂的心形图案。第三交互控件用于表达“不想评论”,其符号为叉号图案。As shown in interface 200-2, the interactive control group includes three interactive controls, which are arranged vertically on the interface (the arrangement direction of the interactive controls is perpendicular to the first preset direction), from top to bottom, they are the first interactive control for expressing "like", the second interactive control for expressing "dislike", and the third interactive control for expressing "don't want to comment". The interactive controls displayed in interface 200-2 only display their corresponding symbols. The first interactive control is used to express "like", and its symbol is a complete heart-shaped pattern. The second interactive control is used to express "dislike", and its symbol is a broken heart-shaped pattern. The third interactive control is used to express "don't want to comment", and its symbol is a cross pattern.

在其它的实施例中,第一预设操作指令可以为点击界面的预设区域然后朝向第一预设方向移动。或者,第一预设操作指令可以为:按照第一预设力度要求点击界面的预设区域然后朝向第一预设方向移动。第一预设操作指令可以参见第一实施例的第一预设操作指令的相关内容,这里不再重复说明。In other embodiments, the first preset operation instruction may be to click on a preset area of the interface and then move in a first preset direction. Alternatively, the first preset operation instruction may be to click on a preset area of the interface according to a first preset force requirement and then move in a first preset direction. The first preset operation instruction may refer to the relevant content of the first preset operation instruction of the first embodiment, and will not be repeated here.

S204、检测第一操作指令的移动轨迹,根据移动轨迹的偏移方向,确定交互控件组中被选中的交互控件,并突出显示。S204: Detect a moving track of the first operation instruction, determine a selected interactive control in the interactive control group according to a deviation direction of the moving track, and highlight the selected interactive control.

用户可以通过触控屏输入第一操作指令,终端设备检测用户的第一操作指令,如果第一操作指令满足第一预设操作指令,终端设备在界面上呈现含有一个或者多个交互控件的交互控件组;终端设备继续检测用户的第一操作指令的移动轨迹,根据第一操作指令的移动轨迹从交互控件组中选取一个交互控件,被选取的交互控件会被突出显示,使得其和其它交互控件能够更加明显地区分开来,以提示用户该交互控件被选取。The user can input a first operation instruction through the touch screen, and the terminal device detects the user's first operation instruction. If the first operation instruction meets the first preset operation instruction, the terminal device presents an interactive control group containing one or more interactive controls on the interface; the terminal device continues to detect the moving trajectory of the user's first operation instruction, and selects an interactive control from the interactive control group according to the moving trajectory of the first operation instruction. The selected interactive control will be highlighted so that it can be more clearly distinguished from other interactive controls, so as to prompt the user that the interactive control is selected.

也就是说,在本发明实施例中,第一操作指令包括连续的两个阶段,第一阶段的操作需要符合第一预设操作指令以呈现交互控件组,第二阶段的移动用于选取交互控件。That is to say, in the embodiment of the present invention, the first operation instruction includes two consecutive stages, the operation of the first stage needs to comply with the first preset operation instruction to present the interactive control group, and the movement of the second stage is used to select the interactive control.

交互控件组内的三个交互控件沿纵向排列,参见界面200-2的手形图案和方向箭头所示,用户从第一阶段的横向滑动手指转为第二阶段的纵向滑动手指,以需选取交互控件。参见界面200-2至界面200-3所示,终端设备沿第一操作指令的移动轨迹的偏移方向在界面的范围内移动交互控件组,用户朝向界面的上侧滑动手指,交互控件组会随之整体向界面的上侧移动。参见界面200-3所示,交互控件组被移动到界面的边缘位置,用户的手指最终停留在正对第一交互控件的位置,终端设备根据第一操作指令的移动轨迹的偏移方向确定第一交互控件被选中。参见界面200-4所示,终端设备确定第一交互控件被选中后,展开第一交互控件,以提示用户第一交互控件被选中。展开后的第一交互控件上增加了“喜欢”的文字细信息,以让用户明白第一交互控件用于表达“喜欢”,以防止用户误选。The three interactive controls in the interactive control group are arranged vertically, as shown in the hand pattern and direction arrow of interface 200-2. The user switches from sliding the finger horizontally in the first stage to sliding the finger vertically in the second stage to select the interactive control. As shown in interfaces 200-2 to 200-3, the terminal device moves the interactive control group within the range of the interface along the offset direction of the moving trajectory of the first operation instruction. The user slides the finger toward the upper side of the interface, and the interactive control group moves toward the upper side of the interface as a whole. As shown in interface 200-3, the interactive control group is moved to the edge of the interface, and the user's finger finally stays at a position facing the first interactive control. The terminal device determines that the first interactive control is selected according to the offset direction of the moving trajectory of the first operation instruction. As shown in interface 200-4, after the terminal device determines that the first interactive control is selected, it expands the first interactive control to prompt the user that the first interactive control is selected. The text details of "like" are added to the expanded first interactive control to let the user understand that the first interactive control is used to express "like" to prevent the user from making a mistake.

在其它实施例中,对被选中的交互控件进行突出显示的方式还可以为下列任一:In other embodiments, the selected interactive control may be highlighted in any of the following ways:

(1)改变被选中的交互控件的颜色。(1) Change the color of the selected interactive control.

(2)放大被选中的交互控件。(2) Enlarge the selected interactive control.

(3)拉伸被选中的交互控件。(3) Stretch the selected interactive control.

以上突出显示的方式还可以综合进行使用,例如,改变被选中的交互控件的颜色并且对该被选取的交互控件进行整体放大。The above highlighting methods may also be used in combination, for example, changing the color of the selected interactive control and enlarging the entire selected interactive control.

S206、在检测到第一操作指令结束的情况下,将被突出显示的交互控件确定为用户选择的交互控件,执行与用户选择的交互控件对应的交互动作;以及,返回前一页面。S206. When it is detected that the first operation instruction ends, the highlighted interactive control is determined as the interactive control selected by the user, and an interactive action corresponding to the interactive control selected by the user is performed; and, returning to the previous page.

用户可以通过输入装置输入第一操作指令,终端设备检测用户的第一操作指令,如果第一操作指令满足第一预设操作指令,终端设备在界面上呈现含有一个或者多个交互控件的交互控件组;终端设备继续检测用户的第一操作指令的移动轨迹,根据第一操作指令的移动轨迹从交互控件组中选取一个交互控件,被选取的交互控件会被突出显示;当第一操作指令结束时,执行与被突出显示的交互控件对应的交互动作,并且返回到前一页面。The user can input a first operation instruction through an input device, and the terminal device detects the user's first operation instruction. If the first operation instruction meets the first preset operation instruction, the terminal device presents an interactive control group containing one or more interactive controls on the interface; the terminal device continues to detect the moving trajectory of the user's first operation instruction, and selects an interactive control from the interactive control group according to the moving trajectory of the first operation instruction, and the selected interactive control will be highlighted; when the first operation instruction ends, the interactive action corresponding to the highlighted interactive control is executed, and the page returns to the previous page.

在本发明实施例中,第一操作指令包括连续的两个阶段,第一阶段的操作需要符合第一预设操作指令以呈现交互控件组,第二阶段的移动用于选取交互控件,最后第一操作指令结束以执行与被选取的交互控件对应的交互动作并且返回到前一页面。In an embodiment of the present invention, the first operation instruction includes two consecutive stages. The operation of the first stage needs to comply with the first preset operation instruction to present the interactive control group. The movement of the second stage is used to select the interactive control. Finally, the first operation instruction ends to execute the interactive action corresponding to the selected interactive control and return to the previous page.

参见界面200-5和界面200-6所示,用户操控手指离开屏幕,终端设备检测到第一操作指令结束,将被突出显示的第一交互控件确定为用户选择的交互控件,执行第一交互控件对应的交互动作,也就是将当前页面上呈现的内容记录为用户喜欢的内容,并且,关闭当前页面并且去除交互控件组,将已经加载好的前一页面完整展示出来。As shown in interfaces 200-5 and 200-6, the user controls the finger to leave the screen, and the terminal device detects that the first operation instruction has ended, determines the highlighted first interactive control as the interactive control selected by the user, and executes the interactive action corresponding to the first interactive control, that is, records the content presented on the current page as the user's favorite content, and closes the current page and removes the interactive control group, so that the previous page that has been loaded is fully displayed.

参见界面200-5和界面200-6所示,在去除交互控件组时,可以延迟第二预设时间去除第一交互控件。第二预设时间例如可以为1秒。也就是说,在去除交互控件组时,没有被选中的第二交互控件和第三交互控件会立即被去除,被选中的第一交互控件会延迟1秒钟后再被去除,以向用户示意用户选中的是第一交互控件。As shown in interfaces 200-5 and 200-6, when removing the interactive control group, the first interactive control can be removed after a second preset time delay. The second preset time can be, for example, 1 second. That is, when removing the interactive control group, the unselected second interactive control and the third interactive control will be removed immediately, and the selected first interactive control will be removed after a delay of 1 second, so as to indicate to the user that the user has selected the first interactive control.

图4所示的实施例中,交互控件组中的交互控件可以用于供用户表达对页面的内容的偏好或评价,该页面内容可以例如为音视频的内容。在其它实施例中,当前页面用于展示商品,交互控件组中的交互控件可以用于供用户表达对该商品的偏好或评价。In the embodiment shown in Figure 4, the interactive controls in the interactive control group can be used for users to express their preferences or comments on the content of the page, and the page content can be, for example, audio and video content. In other embodiments, the current page is used to display a product, and the interactive controls in the interactive control group can be used for users to express their preferences or comments on the product.

本说明书实施例提供的交互方法,使得用户可以通过一个连续的操作输入多个具体的交互指令,实现提供交互控件组、选取交互控件、执行交互控件、返回前一页面的多个交互动作,极大方便了用户,为用户提供了更好的使用体验。The interactive method provided in the embodiments of this specification allows the user to input multiple specific interactive instructions through a continuous operation, thereby realizing multiple interactive actions such as providing an interactive control group, selecting an interactive control, executing an interactive control, and returning to the previous page, which greatly facilitates the user and provides the user with a better user experience.

本说明书实施例提供的交互方法,可以在用户退出当前页面返回前一页面的过程中,为用户提供交互机会,可以让用户的返回行为产生价值。并且,交互控件组只在用户想要返回前一页面的情况下临时出现,而不是一直设置在当前页面上,不会占用当前页面的空间,有利于页面排布。The interactive method provided in the embodiment of this specification can provide users with interactive opportunities when they exit the current page and return to the previous page, so that the user's return behavior can generate value. In addition, the interactive control group only appears temporarily when the user wants to return to the previous page, rather than being set on the current page all the time, so it will not occupy the space of the current page, which is beneficial to page layout.

本说明书实施例的交互方法,可以在用户退出当前页面返回前一页面的过程中,自然地引入评价功能,有利于提升用户的评价率。The interactive method of the embodiment of the present specification can naturally introduce the evaluation function when the user exits the current page and returns to the previous page, which is conducive to improving the user's evaluation rate.

本说明书实施例的交互方法,用户可以用单指连续滑动操作实现评价和返回上一页的功能,非常友好自然。The interactive method of the embodiment of this specification allows the user to use a single-finger continuous sliding operation to implement the functions of evaluation and returning to the previous page, which is very friendly and natural.

本说明书实施例的交互方法,用户可以在看完当前页面后再给出评价或者反馈,如果用户如果没有看完当前页面就返回,也有机会进行评价或者反馈,有利于提升用户的评价率。In the interactive method of the embodiment of the present specification, the user can give evaluation or feedback after viewing the current page. If the user returns without finishing viewing the current page, he or she also has the opportunity to give evaluation or feedback, which is conducive to improving the user's evaluation rate.

参见图5所示,本发明实施例提供了一种获取商品评论的方法,由具有触控屏的设备实施。图5示出了在该获取商品评论的方法的控制下,终端设备的界面的变化过程,该实施例的方法用于在返回前一页面的过程中,实现对当前页面上呈现的商品进行评价。As shown in Figure 5, an embodiment of the present invention provides a method for obtaining product reviews, which is implemented by a device with a touch screen. Figure 5 shows the change process of the interface of the terminal device under the control of the method for obtaining product reviews. The method of this embodiment is used to evaluate the product presented on the current page in the process of returning to the previous page.

用户在终端设备搭载的购物应用提供的商品搜索页面上输入“Y品牌Y1型号手机”,进入到“Y品牌Y1型号手机”的商品销售页面,商品搜索页面为前一页面,“Y品牌Y1型号手机”的商品销售页面为当前页面。参见图5的界面100-1所示,触控屏上展示的当前页面为“Y品牌Y1型号手机”的商品销售页面,当前页面的上半部分展示Y品牌Y1型号手机的图片和价格,还提供了一个“订购”交互控件,如果用户点击“订购”交互控件,会从当前页面跳转到与订购流程页面。The user enters "Y brand Y1 model mobile phone" on the product search page provided by the shopping application installed on the terminal device, and enters the product sales page of "Y brand Y1 model mobile phone". The product search page is the previous page, and the product sales page of "Y brand Y1 model mobile phone" is the current page. Referring to interface 100-1 of FIG5 , the current page displayed on the touch screen is the product sales page of "Y brand Y1 model mobile phone". The upper half of the current page displays the picture and price of the Y brand Y1 model mobile phone, and also provides an "order" interactive control. If the user clicks the "order" interactive control, it will jump from the current page to the ordering process page.

该实施例提供的获取商品评论的方法,包括以下步骤:The method for obtaining product reviews provided in this embodiment includes the following steps:

S302、在检测到用户的第一操作指令满足第一预设操作指令的情况下,在触控屏提供的商品展示界面的至少部分界面中提供一交互控件组,该交互控件组中包括至少一个供用户表达对商品的评价的交互控件。S302. When it is detected that the user's first operation instruction satisfies the first preset operation instruction, an interactive control group is provided in at least a portion of the product display interface provided by the touch screen, and the interactive control group includes at least one interactive control for the user to express his evaluation of the product.

参见图5的100-1界面,界面中部的左侧设有为第一预设区域Z1,第一预设方向为从界面的左侧朝向界面的右侧的方向,第一预设操作指令包括点击第一预设区域Z1然后朝向第一预设方向移动,即横向朝向界面的右侧滑动。Referring to the 100-1 interface of Figure 5, a first preset area Z1 is provided on the left side in the middle of the interface, the first preset direction is the direction from the left side of the interface toward the right side of the interface, and the first preset operation instruction includes clicking on the first preset area Z1 and then moving toward the first preset direction, that is, sliding horizontally toward the right side of the interface.

参见图5的100-1界面中的手形图案和方向箭头所示,用户触摸第一预设区域Z1然后横向朝向界面的右侧滑动,终端设备检测到用户的第一操作指令满足第一预设操作指令,在当前页面之下加载前一页面,并且朝向第一预设方向移动当前页面以将前一页面的第一部分呈现给用户,在前一页面的第一部分之上加载交互控件组,使得界面100-1变换为界面100-2。参见界面100-2所示,界面左侧展示前一页面的左半部分,界面右侧展示当前页面的左半部分;在前一页面的第一部分之上,也就是在界面的左侧,提供交互控件组。Referring to the hand-shaped pattern and direction arrow in the interface 100-1 of FIG5 , the user touches the first preset area Z1 and then slides horizontally toward the right side of the interface, the terminal device detects that the user's first operation instruction satisfies the first preset operation instruction, loads the previous page below the current page, and moves the current page toward the first preset direction to present the first part of the previous page to the user, and loads the interactive control group on the first part of the previous page, so that the interface 100-1 is transformed into the interface 100-2. Referring to the interface 100-2, the left side of the interface displays the left half of the previous page, and the right side of the interface displays the left half of the current page; the interactive control group is provided on the first part of the previous page, that is, on the left side of the interface.

参见界面100-2所示,交互控件组中包括三个交互控件,三个交互控件在界面上纵向排列(交互控件的排列方向和第一预设方向垂直),从上至下依次为用于表达“喜欢”的第一交互控件,用于表达“不喜欢”的第二交互控件,以及注有“取消”文字、用于表达“不想评论”的第三交互控件。As shown in interface 100-2, the interactive control group includes three interactive controls, and the three interactive controls are arranged vertically on the interface (the arrangement direction of the interactive controls is perpendicular to the first preset direction). From top to bottom, they are the first interactive control for expressing "like", the second interactive control for expressing "dislike", and the third interactive control marked with the word "Cancel" for expressing "don't want to comment".

在其它的实施例中,第一预设操作指令可以为:按照第一预设力度要求点击界面的预设区域然后朝向第一预设方向移动。第一预设操作指令可以为点击界面上的虚拟的“返回”按钮然后朝向第一预设方向移动。或者,第一预设操作指令可以参见第一实施例的第一预设操作指令的相关内容,这里不再重复说明。In other embodiments, the first preset operation instruction may be: click a preset area of the interface according to the first preset force requirement and then move toward the first preset direction. The first preset operation instruction may be click a virtual "return" button on the interface and then move toward the first preset direction. Alternatively, the first preset operation instruction may refer to the relevant content of the first preset operation instruction of the first embodiment, which will not be repeated here.

S304、检测第一操作指令的移动轨迹,根据移动轨迹的偏移方向,确定交互控件组中被选中的交互控件,并突出显示。S304: Detect the moving track of the first operation instruction, determine the selected interactive control in the interactive control group according to the offset direction of the moving track, and highlight it.

用户可以通过触控屏输入第一操作指令,终端设备检测用户的第一操作指令,如果第一操作指令满足第一预设操作指令,终端设备在界面上呈现含有一个或者多个交互控件的交互控件组;终端设备继续检测用户的第一操作指令的移动轨迹,根据第一操作指令的移动轨迹从交互控件组中选取一个交互控件,被选取的交互控件会被突出显示,使得其和其它交互控件能够更加明显地区分开来,以提示用户该交互控件被选取。The user can input a first operation instruction through the touch screen, and the terminal device detects the user's first operation instruction. If the first operation instruction meets the first preset operation instruction, the terminal device presents an interactive control group containing one or more interactive controls on the interface; the terminal device continues to detect the moving trajectory of the user's first operation instruction, and selects an interactive control from the interactive control group according to the moving trajectory of the first operation instruction. The selected interactive control will be highlighted so that it can be more clearly distinguished from other interactive controls, so as to prompt the user that the interactive control is selected.

也就是说,在本发明实施例中,第一操作指令包括连续的两个阶段,第一阶段的操作需要符合第一预设操作指令以呈现交互控件组,第二阶段的移动用于选取交互控件。That is to say, in the embodiment of the present invention, the first operation instruction includes two consecutive stages, the operation of the first stage needs to comply with the first preset operation instruction to present the interactive control group, and the movement of the second stage is used to select the interactive control.

交互控件组内的三个交互控件沿纵向排列,参见界面100-2的手形图案和方向箭头所示,用户从第一阶段的横向滑动手指转为第二阶段的纵向滑动手指,以需选取交互控件。参见界面100-2至界面100-3所示,终端设备沿第一操作指令的移动轨迹的偏移方向在界面的范围内移动交互控件组,用户朝向界面的上侧滑动手指,交互控件组会随之整体向界面的上侧移动。参见界面100-3所示,交互控件组被移动到界面的边缘位置,用户的手指最终停留在正对第二交互控件的位置,终端设备根据第一操作指令的移动轨迹的偏移方向确定第二交互控件被选中。参见界面100-4所示,终端设备确定第二交互控件被选中后,拉伸第二交互控件,以提示用户第二交互控件被选中。The three interactive controls in the interactive control group are arranged vertically, as shown in the hand pattern and direction arrow of interface 100-2. The user switches from sliding the finger horizontally in the first stage to sliding the finger vertically in the second stage to select the interactive control. As shown in interfaces 100-2 to 100-3, the terminal device moves the interactive control group within the range of the interface along the offset direction of the moving trajectory of the first operation instruction. The user slides the finger toward the upper side of the interface, and the interactive control group moves toward the upper side of the interface as a whole. As shown in interface 100-3, the interactive control group is moved to the edge of the interface, and the user's finger eventually stops at a position facing the second interactive control. The terminal device determines that the second interactive control is selected based on the offset direction of the moving trajectory of the first operation instruction. As shown in interface 100-4, after the terminal device determines that the second interactive control is selected, it stretches the second interactive control to prompt the user that the second interactive control is selected.

在其它实施例中,对被选中的交互控件进行突出显示的方式还可以为下列任一:In other embodiments, the selected interactive control may be highlighted in any of the following ways:

(1)改变被选中的交互控件的颜色。(1) Change the color of the selected interactive control.

(2)放大被选中的交互控件。(2) Enlarge the selected interactive control.

(3)展开被选中的交互控件。(3) Expand the selected interactive control.

以上突出显示的方式还可以综合进行使用,例如,改变被选中的交互控件的颜色并且对该被选取的交互控件进行整体放大。The above highlighting methods may also be used in combination, for example, changing the color of the selected interactive control and enlarging the entire selected interactive control.

S306、在检测到第一操作指令结束的情况下,将被突出显示的交互控件确定为用户选择的交互控件,执行与用户选择的交互控件对应的交互动作;以及,返回前一页面。S306. When it is detected that the first operation instruction ends, the highlighted interactive control is determined as the interactive control selected by the user, and an interactive action corresponding to the interactive control selected by the user is executed; and, returning to the previous page.

用户可以通过输入装置输入第一操作指令,终端设备检测用户的第一操作指令,如果第一操作指令满足第一预设操作指令,终端设备在界面上呈现含有一个或者多个交互控件的交互控件组;终端设备继续检测用户的第一操作指令的移动轨迹,根据第一操作指令的移动轨迹从交互控件组中选取一个交互控件,被选取的交互控件会被突出显示;当第一操作指令结束时,执行与被突出显示的交互控件对应的交互动作,并且返回到前一页面。The user can input a first operation instruction through an input device, and the terminal device detects the user's first operation instruction. If the first operation instruction meets the first preset operation instruction, the terminal device presents an interactive control group containing one or more interactive controls on the interface; the terminal device continues to detect the moving trajectory of the user's first operation instruction, and selects an interactive control from the interactive control group according to the moving trajectory of the first operation instruction, and the selected interactive control will be highlighted; when the first operation instruction ends, the interactive action corresponding to the highlighted interactive control is executed, and the page returns to the previous page.

在本发明实施例中,第一操作指令包括连续的两个阶段,第一阶段的操作需要符合第一预设操作指令以呈现交互控件组,第二阶段的移动用于选取交互控件,最后第一操作指令结束以执行与被选取的交互控件对应的交互动作并且返回到前一页面。In an embodiment of the present invention, the first operation instruction includes two consecutive stages. The operation of the first stage needs to comply with the first preset operation instruction to present the interactive control group. The movement of the second stage is used to select the interactive control. Finally, the first operation instruction ends to execute the interactive action corresponding to the selected interactive control and return to the previous page.

参见界面100-5所示,用户操控手指离开屏幕,终端设备检测到第一操作指令结束,将被突出显示的第二交互控件确定为用户选择的交互控件,执行第二交互控件对应的交互动作,也就是将“Y品牌Y1型号手机”记录为用户不喜欢的商品,并且,关闭当前页面并且去除交互控件组,将已经加载好的前一页面完整展示出来,实现了返回至前一页面(商品搜索页面)。As shown in interface 100-5, the user controls his finger to leave the screen, and the terminal device detects that the first operation instruction is completed, and determines the highlighted second interactive control as the interactive control selected by the user, and executes the interactive action corresponding to the second interactive control, that is, recording "Y brand Y1 model mobile phone" as a product that the user does not like, and closing the current page and removing the interactive control group, and fully displaying the previous page that has been loaded, thereby realizing return to the previous page (product search page).

参见界面100-2所示,步骤S302中,在提供交互控件组时,可以在前一页面和交互控件组之间加载半透明蒙层。例如,在当前页面之下加载半透明蒙层,在半透明蒙层之下加载前一页面,交互控件组位于前一页面的第一部分并且呈现在半透明蒙层上方。半透明蒙层可以让当前页面和前一页面的区分得更为鲜明,还可以让交互控件变得更加醒目,提升了用户体验,有利于用户使用交互控件。与之对应的,参见界面100-5所示,步骤S306中,还需要去除该半透明蒙层,以将前一页面充分显露出来。Referring to interface 100-2, in step S302, when providing an interactive control group, a semi-transparent mask can be loaded between the previous page and the interactive control group. For example, a semi-transparent mask is loaded under the current page, and a previous page is loaded under the semi-transparent mask. The interactive control group is located in the first part of the previous page and is presented above the semi-transparent mask. The semi-transparent mask can make the distinction between the current page and the previous page more distinct, and can also make the interactive controls more eye-catching, thereby improving the user experience and facilitating the user to use the interactive controls. Correspondingly, referring to interface 100-5, in step S306, the semi-transparent mask also needs to be removed to fully reveal the previous page.

本说明书实施例提供的获取商品评论的方法,使得用户可以通过一个连续的操作输入多个具体的交互指令,实现提供交互控件组、选取交互控件、执行交互控件、返回前一页面的多个交互动作,极大方便了用户,为用户提供了更好的使用体验。The method for obtaining product reviews provided in the embodiments of this specification allows users to input multiple specific interaction instructions through a continuous operation, thereby realizing multiple interaction actions such as providing an interaction control group, selecting an interaction control, executing an interaction control, and returning to the previous page, which greatly facilitates users and provides users with a better user experience.

本说明书实施例提供的获取商品评论的方法,可以在用户退出当前页面返回前一页面的过程中,为用户提供对商品进行评价的机会,可以让用户的返回行为产生价值。并且,交互控件组只在用户想要返回前一页面的情况下临时出现,而不是一直设置在当前页面上,不会占用当前页面的空间,有利于页面排布。The method for obtaining product reviews provided in the embodiments of this specification can provide users with an opportunity to evaluate products when they exit the current page and return to the previous page, so that the user's return behavior can generate value. In addition, the interactive control group only appears temporarily when the user wants to return to the previous page, rather than being set on the current page all the time, so it will not occupy the space of the current page, which is beneficial to page layout.

本说明书实施例提供的获取商品评论的方法,可以在用户退出当前页面返回前一页面的过程中,自然地引入商品评价功能,有利于提升用户的评价率。The method for obtaining product reviews provided in the embodiments of this specification can naturally introduce the product evaluation function when the user exits the current page and returns to the previous page, which is conducive to improving the user's evaluation rate.

本说明书实施例提供的获取商品评论的方法,用户可以用单指连续滑动操作实现商品评价和返回上一页的功能,非常友好自然。The method for obtaining product reviews provided in the embodiments of this specification allows users to use a single-finger continuous sliding operation to implement product evaluation and return to the previous page, which is very friendly and natural.

本说明书实施例提供的获取商品评论的方法,用户可以在看完商品内容后再给出评价或者反馈,如果用户如果没有看完商品内容就返回,也有机会进行评价或者反馈,有利于提升用户的评价率。The method for obtaining product reviews provided in the embodiments of this specification allows users to give evaluations or feedback after reading the product content. If the user returns without finishing reading the product content, he or she also has the opportunity to give evaluations or feedback, which is conducive to improving the user's evaluation rate.

参见图6(a)-6(c)所示,本发明实施例提供了一种交互方法,由具有触控屏的设备实施。图6(a)-6(c)示出了在该交互方法的控制下,终端设备的界面的变化过程。6(a)-6(c), an embodiment of the present invention provides an interactive method implemented by a device with a touch screen. FIG6(a)-6(c) shows the change process of the interface of the terminal device under the control of the interactive method.

用户在终端设备搭载的酒店预订应用上查看酒店相关信息,参见界面300-1所示,终端设备的界面上展示有3个内容项,分别是“酒店H1”内容项,“酒店H2”内容项和“酒店H3”内容项。每个内容项中都包括对酒店的介绍,并且注明了酒店房间的价格。The user views the hotel related information on the hotel reservation application installed on the terminal device, as shown in interface 300-1, where three content items are displayed on the interface of the terminal device, namely, "Hotel H1" content item, "Hotel H2" content item and "Hotel H3" content item. Each content item includes an introduction to the hotel and indicates the price of the hotel room.

第一预设操作指令为点击界面上的一个内容项。参见界面300-1中的手形图案所示和界面300-2所示,用户触摸点击“酒店H1”内容项达到第一预设时间时,终端设备检测到用户的第一操作指令满足满足第一预设操作指令,在“酒店H1”内容项之上设置半透明蒙层,在半透明蒙层之上设置交互控件组。参见界面300-2所示,交互控件组中包括用于“查看地图”的第一交互控件,用于“查看评价”的第三交互控件,以及用于“取消交互控件组”的第二交互控件。第一交互控件、第二交互控件、第三交互控件横向排列。The first preset operation instruction is to click on a content item on the interface. Referring to the hand-shaped pattern in interface 300-1 and interface 300-2, when the user touches and clicks the "Hotel H1" content item for the first preset time, the terminal device detects that the user's first operation instruction satisfies the first preset operation instruction, sets a semi-transparent mask on the "Hotel H1" content item, and sets an interactive control group on the semi-transparent mask. Referring to interface 300-2, the interactive control group includes a first interactive control for "viewing the map", a third interactive control for "viewing reviews", and a second interactive control for "cancelling the interactive control group". The first interactive control, the second interactive control, and the third interactive control are arranged horizontally.

参见界面300-2和界面300-3的手形图案所示,用户触摸点击“酒店H1”内容项呼唤出交互控件组后,手指保持触摸状态并且移动手指选取第一交互控件时,终端设备根据用户的第一操作指令的移动轨迹的偏移方向确定第一交互控件被选取,将第一交互控件放大并且改变颜色,以提示用户第一交互控件被选取。之后,用户操控手指离开界面,参见界面300-4所示,终端设备检测到第一操作指令结束,执行与第一交互控件对应的交互动作,也就是跳转到与酒店H1对应的地图页面。在该地图页面中,指明了酒店H1的地理位置,还设置“返回”按钮,“去酒店”按钮,“查看评价”按钮。用户点击“返回”按钮,终端设备会返回到界面300-2。用户点击“去酒店”按钮,终端设备启动导航功能,在地图页面上规划出去酒店H1的路线。用户点击“查看评价”按钮,终端设备会跳转到与酒店H1对应的评价页面,也就是打开界面300-6。As shown in the hand-shaped patterns of interfaces 300-2 and 300-3, after the user touches and clicks the "Hotel H1" content item to call out the interactive control group, the finger remains in the touch state and moves the finger to select the first interactive control. The terminal device determines that the first interactive control is selected according to the offset direction of the moving trajectory of the user's first operation instruction, enlarges the first interactive control and changes the color to prompt the user that the first interactive control is selected. After that, the user controls the finger to leave the interface, as shown in interface 300-4, the terminal device detects that the first operation instruction ends, and executes the interactive action corresponding to the first interactive control, that is, jumps to the map page corresponding to hotel H1. In this map page, the geographical location of hotel H1 is indicated, and a "return" button, a "go to hotel" button, and a "view evaluation" button are also set. The user clicks the "return" button, and the terminal device returns to interface 300-2. The user clicks the "go to hotel" button, the terminal device starts the navigation function, and plans the route to hotel H1 on the map page. The user clicks the "view evaluation" button, and the terminal device jumps to the evaluation page corresponding to hotel H1, that is, opens interface 300-6.

参见界面300-2和界面300-5的手形图案所示,用户触摸点击“酒店H1”内容项呼唤出交互控件组后,手指保持触摸状态并且移动手指选取第三交互控件时,终端设备根据用户的第一操作指令的移动轨迹的偏移方向确定第三交互控件被选取,将第三交互控件放大并且改变颜色,以提示用户第三交互控件被选取。之后,用户操控手指离开界面,参见界面300-5所示,终端设备检测到第一操作指令结束,执行与第三交互控件对应的交互动作,也就是跳转到与酒店H1对应的评价页面。在该评价页面中,呈现了酒店H1的各项指标的评分,以及多位住客对于酒店H1的评价。该评价需求面上还设置“返回”按钮和“查看地图”按钮。用户点击“返回”按钮,终端设备会返回到界面300-2。用户点击“查看地图”按钮,终端设备会跳转到与酒店H1对应的地图页面,也就是打开界面300-4。As shown in the hand-shaped patterns of interfaces 300-2 and 300-5, after the user touches and clicks the "Hotel H1" content item to call out the interactive control group, the finger remains in the touch state and moves the finger to select the third interactive control. The terminal device determines that the third interactive control is selected according to the offset direction of the moving trajectory of the user's first operation instruction, enlarges the third interactive control and changes the color to prompt the user that the third interactive control is selected. After that, the user controls the finger to leave the interface, as shown in interface 300-5, the terminal device detects that the first operation instruction ends, and executes the interactive action corresponding to the third interactive control, that is, jumps to the evaluation page corresponding to hotel H1. In this evaluation page, the scores of various indicators of hotel H1 and the evaluation of hotel H1 by multiple guests are presented. The "Return" button and the "View Map" button are also set on the evaluation demand surface. When the user clicks the "Return" button, the terminal device will return to interface 300-2. When the user clicks the "View Map" button, the terminal device will jump to the map page corresponding to hotel H1, that is, open interface 300-4.

参见界面300-2和界面300-7的手形图案所示,用户触摸点击“酒店H1”内容项呼唤出交互控件组后,手指保持触摸状态并且移动手指选取第二交互控件时,终端设备根据用户的第一操作指令的移动轨迹的偏移方向确定第二交互控件被选取,将第二交互控件放大并且改变颜色,以提示用户第二交互控件被选取。之后,用户操控手指离开界面,参见界面300-7所示,终端设备检测到第一操作指令结束,执行与第二交互控件对应的交互动作,也就是取消交互控件组和半透明蒙层,回到界面300-1的状态。As shown in the hand-shaped patterns of interface 300-2 and interface 300-7, after the user touches and clicks the "Hotel H1" content item to call out the interactive control group, the finger remains in the touching state and moves the finger to select the second interactive control. The terminal device determines that the second interactive control is selected according to the offset direction of the moving trajectory of the user's first operation instruction, enlarges the second interactive control and changes the color to prompt the user that the second interactive control is selected. Afterwards, the user controls the finger to leave the interface, as shown in interface 300-7, and the terminal device detects that the first operation instruction ends and executes the interactive action corresponding to the second interactive control, that is, cancels the interactive control group and the semi-transparent mask, and returns to the state of interface 300-1.

本说明书实施例提供的交互方法,使得用户可以通过一个连续的操作输入多个具体的交互指令,实现提供交互控件组、选取交互控件、执行交互控件,取消交互控件组的多个交互动作,极大方便了用户,为用户提供了更好的使用体验。The interactive method provided in the embodiments of this specification allows the user to input multiple specific interactive instructions through a continuous operation, thereby realizing multiple interactive actions such as providing an interactive control group, selecting an interactive control, executing an interactive control, and canceling an interactive control group, which greatly facilitates the user and provides the user with a better user experience.

本说明书实施例提供的交互方法,可以通过长按内容项的方式,为用户提供与内容项对应的交互控件,从而为用户提供与内容项相关的服务。并且,交互控件组只在用户有需要的时候临时出现,而不是一直设置在当前页面上,不会占用当前页面的空间,有利于页面排布。The interactive method provided in the embodiment of this specification can provide users with interactive controls corresponding to content items by long pressing the content items, thereby providing users with services related to the content items. In addition, the interactive control group only appears temporarily when the user needs it, rather than being set on the current page all the time, and does not occupy the space of the current page, which is beneficial to page layout.

参见图7所示,本发明实施例提供了一种退出视频播放的方法,由具有触控屏的设备实施。图7示出了在该出视频播放的方法的控制下,终端设备的界面的变化过程。Referring to Figure 7, an embodiment of the present invention provides a method for exiting video playback, which is implemented by a device with a touch screen. Figure 7 shows the change process of the interface of the terminal device under the control of the method for exiting video playback.

用户在终端设备搭载的视频播放应用上观看视频,界面500-1为视频播放页面,其左下角设有虚拟的“退出”按钮,第一预设方向为从界面的左侧朝向界面的右侧的方向,第一预设操作指令包括点击“退出”按钮然后朝向第一预设方向移动,即横向朝向界面的右侧滑动。The user watches a video on the video playback application installed in the terminal device. Interface 500-1 is a video playback page with a virtual "Exit" button in the lower left corner. The first preset direction is from the left side of the interface to the right side of the interface. The first preset operation instruction includes clicking the "Exit" button and then moving in the first preset direction, that is, sliding horizontally toward the right side of the interface.

参见界面500-1的手形图案和方向箭头所示,用户触摸点击“返回”按钮然后横向朝向界面的右侧滑动,终端设备检测到用户的第一操作指令满足第一预设操作指令,在当前页面之上加载交互控件组,界面500-1变为界面500-2。Referring to the hand pattern and direction arrow of interface 500-1, the user touches and clicks the "Back" button and then slides horizontally toward the right side of the interface. The terminal device detects that the user's first operation instruction satisfies the first preset operation instruction, loads the interactive control group on the current page, and interface 500-1 becomes interface 500-2.

参见界面500-2所示,交互控件组中包括三个交互控件,三个交互控件在界面上纵向排列(交互控件的排列方向和第一预设方向垂直),从上至下依次为用于表达“赞”的第一交互控件,用于表达“踩”的第二交互控件,以及注有“取消”文字、用于表达“不想评论”的第三交互控件。As shown in interface 500-2, the interactive control group includes three interactive controls, and the three interactive controls are arranged vertically on the interface (the arrangement direction of the interactive controls is perpendicular to the first preset direction). From top to bottom, they are the first interactive control for expressing "like", the second interactive control for expressing "dislike", and the third interactive control marked with the word "cancel" for expressing "don't want to comment".

参见界面500-2的手形图案和方向箭头,以及界面500-3的手形图案所示,用户的手指改为纵向滑动(也就是上下滑动),最终停留在正对第一交互控件的位置,终端设备根据第一操作指令的移动轨迹的偏移方向确定第一交互控件被选中。参见界面500-4所示,终端设备确定第一交互控件被选中后,拉伸第一交互控件,以提示用户第一交互控件被选中。Referring to the hand pattern and direction arrow in interface 500-2, and the hand pattern in interface 500-3, the user's finger slides vertically (that is, slides up and down), and finally stops at a position directly opposite the first interactive control. The terminal device determines that the first interactive control is selected according to the offset direction of the moving track of the first operation instruction. Referring to interface 500-4, after the terminal device determines that the first interactive control is selected, it stretches the first interactive control to prompt the user that the first interactive control is selected.

之后,用户操控手指离开界面,参见界面500-5所示,终端设备检测到第一操作指令结束,执行与第一交互控件对应的交互动作,也就是提交用户对该视频的赞扬态度,从而提升该视频的评分。并且,退出视频播放,返回到选集页面。Afterwards, the user moves his finger away from the interface, as shown in interface 500-5, and the terminal device detects that the first operation instruction is completed, and executes the interactive action corresponding to the first interactive control, that is, submitting the user's praise attitude for the video, thereby improving the score of the video. In addition, the video playback is exited and returned to the collection page.

本说明书实施例提供的退出视频播放的方法,使得用户可以通过一个连续的操作输入多个具体的交互指令,实现提供交互控件组、选取交互控件、执行交互控件、退出视频播放的多个交互动作,极大方便了用户,为用户提供了更好的使用体验。The method for exiting video playback provided in the embodiments of this specification allows the user to input multiple specific interactive instructions through a continuous operation, thereby realizing multiple interactive actions of providing an interactive control group, selecting an interactive control, executing an interactive control, and exiting video playback, which greatly facilitates the user and provides the user with a better user experience.

本说明书实施例提供的退出视频播放的方法,可以在用户退出视频播放时,为用户提供对视频内容进行评价的机会。并且,交互控件组只在用户想退出视频播放的情况下临时出现,而不是一直设置在视频播放页面上,不会占用视频播放页面的空间,有利于页面排布。The method for exiting video playback provided in the embodiment of this specification can provide users with an opportunity to evaluate the video content when the user exits the video playback. In addition, the interactive control group only appears temporarily when the user wants to exit the video playback, rather than being set on the video playback page all the time, which does not occupy the space of the video playback page and is beneficial to page layout.

本说明书实施例的退出视频播放的方法,可以在用户退出视频播放时,自然地引入评价功能,有利于提升用户的评价率。The method for exiting video playback in the embodiment of the present specification can naturally introduce an evaluation function when the user exits video playback, which is conducive to improving the user's evaluation rate.

本说明书实施例的退出视频播放的方法,用户可以用单指连续滑动操作实现对视频进行评价和退出视频播放,非常友好自然。According to the method for exiting video playback in the embodiments of this specification, the user can evaluate the video and exit video playback by continuous sliding operation with one finger, which is very friendly and natural.

本说明书实施例的退出视频播放的方法,用户可以在看完视频内容后再给出评价,如果用户如果没有看完视频内容就返回,也有机会进行评价,有利于提升用户的评价率。According to the method for exiting video playback in the embodiments of this specification, the user can give an evaluation after watching the video content. If the user returns without finishing watching the video content, he or she also has the opportunity to give an evaluation, which is conducive to improving the user's evaluation rate.

图8是本说明书的一个实施例提供的终端设备10的示意图,该终端设备10包括输入设备11、处理器12和存储器13。输入装置11用于供用户输入操作指令。输入装置例如可以为鼠标、触控屏等装置。存储器13中存储有计算机指令,该计算机指令被处理器12执行时,实现前述任一实施例公开的交互方法。FIG8 is a schematic diagram of a terminal device 10 provided in an embodiment of the present specification, wherein the terminal device 10 includes an input device 11, a processor 12, and a memory 13. The input device 11 is used for a user to input an operation instruction. The input device may be, for example, a mouse, a touch screen, or the like. The memory 13 stores computer instructions, which, when executed by the processor 12, implement the interaction method disclosed in any of the aforementioned embodiments.

图9是本说明书的一个实施例提供的终端设备20的示意图,该终端设备20包括触控屏21、处理器22和存储器23。存储器23中存储有计算机指令,该计算机指令被处理器22执行时,实现前述任一实施例公开的交互方法。Fig. 9 is a schematic diagram of a terminal device 20 provided in an embodiment of the present specification, the terminal device 20 includes a touch screen 21, a processor 22 and a memory 23. The memory 23 stores computer instructions, which, when executed by the processor 22, implement the interaction method disclosed in any of the above embodiments.

本说明书实施例提供了一种终端设备,包括触控屏、处理器和存储器;该存储器中存储有计算机指令,该计算机指令被该处理器执行时,实现前述任一实施例公开的获取商品评论的方法。An embodiment of the present specification provides a terminal device, including a touch screen, a processor and a memory; the memory stores computer instructions, and when the computer instructions are executed by the processor, the method for obtaining product reviews disclosed in any of the aforementioned embodiments is implemented.

本说明书实施例提供了一种终端设备,包括触控屏、处理器和存储器;该存储器中存储有计算机指令,该计算机指令被该处理器执行时,实现前述任一实施例公开的退出视频播放的方法。An embodiment of the present specification provides a terminal device, including a touch screen, a processor and a memory; the memory stores computer instructions, and when the computer instructions are executed by the processor, the method for exiting video playback disclosed in any of the aforementioned embodiments is implemented.

本说明书实施例还提供了一种计算机可读存储介质,其上存储有计算机指令,该计算机指令被处理器执行时实现前述任一实施例公开的交互方法。The embodiments of this specification also provide a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the interactive method disclosed in any of the aforementioned embodiments is implemented.

本说明书实施例还提供了一种计算机可读存储介质,其上存储有计算机指令,该计算机指令被处理器执行时实现前述任一实施例公开的获取商品评论的方法。The embodiments of this specification also provide a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the method for obtaining product reviews disclosed in any of the aforementioned embodiments is implemented.

本说明书实施例还提供了一种计算机可读存储介质,其上存储有计算机指令,该计算机指令被处理器执行时实现前述任一实施例公开的退出视频播放的方法。The embodiments of this specification also provide a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the method for exiting video playback disclosed in any of the aforementioned embodiments is implemented.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、设备实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and equipment embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

本说明书的实施例可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本说明书实施例的各个方面的计算机可读程序指令。The embodiments of the present specification may be systems, methods and/or computer program products. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the embodiments of the present specification.

计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing/processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers. The network adapter card or network interface in each computing/processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device.

用于执行本说明书的实施例操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本说明书实施例的各个方面。The computer program instructions for executing the operation of the embodiments of this specification may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may be personalized by utilizing the state information of a computer-readable program instruction, and the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the embodiments of this specification.

这里参照根据本说明书实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本说明书实施例的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Various aspects of the embodiments of the present specification are described herein with reference to the flowcharts and/or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present specification. It should be understood that each box in the flowchart and/or block diagram and the combination of each box in the flowchart and/or block diagram can be implemented by computer-readable program instructions.

这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions/actions specified in one or more boxes in the flowchart and/or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and/or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions/actions specified in one or more boxes in the flowchart and/or block diagram.

也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions/actions specified in one or more boxes in the flowchart and/or block diagram.

附图中的流程图和框图显示了根据本说明书的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of this specification. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and/or flowchart, and the combination of the boxes in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

以上已经描述了本说明书的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。The embodiments of the present specification have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations are obvious to those of ordinary skill in the art without departing from the scope of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (30)

1. An interaction method taking a page as an operation object is characterized by comprising the following steps:
When a first operation instruction of a user is detected to meet the requirement of clicking a first preset area of an interface and then moving towards a first preset direction, moving a current page towards the first preset direction, and providing a plurality of interactive controls with arrangement directions perpendicular to the first preset direction in at least part of the interface;
The first preset area is an interface left area, and the first preset direction moves from the interface left area to the interface right area; or the first preset area is an upper area of an interface and the first preset direction is to move from the upper area of the interface to a lower area of the interface; or the first preset area is an interface lower side area, and the first preset direction moves from the interface lower side area to the interface upper side area;
Detecting the offset direction of the moving track of the first operation instruction, and determining and highlighting the selected interaction control in the plurality of interaction controls according to the offset direction under the condition that the first operation instruction turns and moves along the direction perpendicular to the first preset direction instead, so that the first operation instruction can select the interaction control without touching the plurality of interaction controls;
Executing page operation corresponding to the selected interaction control under the condition that the end of the first operation instruction is detected; the executing the page operation corresponding to the selected interaction control comprises the following steps: and jumping to a page corresponding to the selected interaction control.
2. The method of claim 1, wherein the plurality of interactive controls includes at least one interactive control for a user to express user preferences.
3. The method of claim 1, the providing, in at least a portion of the interface, a plurality of interactive controls having an arrangement direction perpendicular to the first preset direction, comprising:
loading a semitransparent mask layer on the current page, and loading the plurality of interaction controls on the semitransparent mask layer; or alternatively
And reducing the brightness of the current page, and loading the interaction controls on the current page.
4. The method of claim 1, highlighting the selected interactive control in any of the following ways:
changing the color of the selected interactive control;
amplifying the selected interactive control;
Stretching the selected interactive control;
The selected interactive control is expanded.
5. The method of claim 1, wherein the detecting the offset direction of the movement track of the first operation instruction, where the first operation instruction turns to move instead in a direction perpendicular to the first preset direction, determines the selected interactive control of the plurality of interactive controls according to the offset direction, includes:
moving the plurality of interaction controls along the offset direction of the first operation instruction so that the plurality of interaction controls move within the range of the interface;
and determining the selected interaction control in the plurality of interaction controls along the offset direction of the first operation instruction under the condition that the plurality of interaction controls are located in a second preset area of the interface.
6. The method of claim 1, wherein the first preset area is a return previous page function area;
And returning to the previous page after executing the interaction corresponding to the selected interaction control.
7. The method of claim 6, the providing, in at least a portion of the interface, a plurality of interactive controls having an arrangement direction perpendicular to the first preset direction, comprising:
Loading a previous page under the current page and moving the current page to present a first portion of the previous page to the user;
the plurality of interactive controls is loaded on top of the first portion of the previous page.
8. The method of claim 7, the providing, in at least a portion of the interface, a plurality of interactive controls having an arrangement direction perpendicular to the first preset direction, further comprising:
Loading a semitransparent mask layer between the previous page and the plurality of interaction controls; or alternatively
And reducing the brightness of the previous page.
9. The method of claim 7, the returning the previous page comprising:
closing the current page and removing the plurality of interaction controls;
And when the plurality of interactive controls are removed, delaying a second preset time to remove the selected interactive controls.
10. The method of claim 7, wherein the plurality of interactive controls includes at least one interactive control for a user to express user preferences.
11. An interaction method based on a touch screen and taking a page as an operation object is implemented by equipment with the touch screen and comprises the following steps of:
When a first operation instruction of a user is detected to meet the requirement of clicking a first preset area of an interface and then moving towards a first preset direction, moving a current page towards the first preset direction, and providing a plurality of interactive controls with arrangement directions perpendicular to the first preset direction in at least part of the interface of the touch screen;
The first preset area is an interface left area, and the first preset direction moves from the interface left area to the interface right area; or the first preset area is an upper area of an interface and the first preset direction is to move from the upper area of the interface to a lower area of the interface; or the first preset area is an interface lower side area, and the first preset direction moves from the interface lower side area to the interface upper side area;
Detecting the offset direction of the moving track of the first operation instruction, and determining and highlighting the selected interaction control in the plurality of interaction controls according to the offset direction under the condition that the first operation instruction turns and moves along the direction perpendicular to the first preset direction instead, so that the first operation instruction can select the interaction control without touching the plurality of interaction controls;
Executing page operation corresponding to the selected interaction control under the condition that the end of the first operation instruction is detected; and returning to the previous page.
12. The method of claim 11, providing a plurality of interactive controls in the at least a portion of the interface with an arrangement direction perpendicular to the first preset direction, comprising:
loading a previous page under the current page, and moving the current page towards the first preset direction to present a first portion of the previous page to a user;
the plurality of interactive controls is loaded on top of the first portion of the previous page.
13. The method of claim 12, providing a plurality of interactive controls in the at least a portion of the interface with an arrangement direction perpendicular to the first preset direction, further comprising:
Loading a semitransparent mask layer between the previous page and the plurality of interaction controls; or alternatively
And reducing the brightness of the previous page.
14. The method of claim 12, the returning the previous page comprising:
closing the current page and removing the plurality of interaction controls;
And when the plurality of interactive controls are removed, delaying a preset time to remove the selected interactive control.
15. The method of claim 11, highlighting the selected interactive control in any of the following ways:
changing the color of the selected interactive control;
amplifying the selected interactive control;
Stretching the selected interactive control;
The selected interactive control is expanded.
16. The method of claim 11, wherein the detecting the offset direction of the movement track of the first operation instruction, where the first operation instruction turns to move instead in a direction perpendicular to the first preset direction, determines the selected interactive control of the plurality of interactive controls according to the offset direction, includes:
moving the plurality of interaction controls along the offset direction of the first operation instruction so that the plurality of interaction controls move within the range of the interface;
and determining the selected interaction control in the plurality of interaction controls along the offset direction of the first operation instruction under the condition that the plurality of interaction controls are located in a second preset area of the interface.
17. The method of any of claims 11-16, wherein the plurality of interaction controls includes at least one interaction control for a user to express user preferences.
18. The method of any of claims 11-16, the interface for presenting merchandise, the plurality of interactive controls including at least one interactive control for a user to express an assessment of merchandise; or the interface is used for presenting the audio and video content, and at least one interaction control for the user to express the preference of the audio and video content is included in the plurality of interaction controls.
19. A method of obtaining reviews of merchandise, implemented by a device having a touch screen, comprising the steps of:
when a first operation instruction of a user is detected to meet the requirement of clicking a first preset area of an interface and then moving towards a first preset direction, moving a current page towards the first preset direction, and providing a plurality of interactive controls with arrangement directions perpendicular to the first preset direction in at least part of interfaces of a commodity display interface provided by a touch screen;
The first preset area is an interface left area, and the first preset direction moves from the interface left area to the interface right area; or the first preset area is an upper area of an interface and the first preset direction is to move from the upper area of the interface to a lower area of the interface; or the first preset area is an interface lower side area, and the first preset direction moves from the interface lower side area to the interface upper side area;
Detecting the offset direction of the moving track of the first operation instruction, and determining and highlighting the selected interaction control in the plurality of interaction controls according to the offset direction under the condition that the first operation instruction turns and moves along the direction perpendicular to the first preset direction instead, so that the first operation instruction can select the interaction control without touching the plurality of interaction controls;
Executing page operation corresponding to the selected interaction control under the condition that the end of the first operation instruction is detected; and returning to the previous page.
20. The method of claim 19, providing a plurality of interactive controls in the at least a portion of the interface with an arrangement direction perpendicular to the first preset direction, comprising:
loading a previous page under the current page, and moving the current page towards the first preset direction to present a first portion of the previous page to a user;
the plurality of interactive controls is loaded on top of the first portion of the previous page.
21. The method of claim 20, the returning the previous page comprising:
closing the current page and removing the plurality of interaction controls;
And when the plurality of interactive controls are removed, delaying a preset time to remove the selected interactive control.
22. A method of exiting video playback, implemented by a device having a touch screen, comprising the steps of:
when a first operation instruction of a user is detected to meet the requirement of clicking a first preset area of an interface and then moving towards a first preset direction, moving a current page towards the first preset direction, and providing a plurality of interactive controls with arrangement directions perpendicular to the first preset direction in at least part of interfaces of a video content playing interface provided by a touch screen;
The first preset area is an interface left area, and the first preset direction moves from the interface left area to the interface right area; or the first preset area is an upper area of an interface and the first preset direction is to move from the upper area of the interface to a lower area of the interface; or the first preset area is an interface lower side area, and the first preset direction moves from the interface lower side area to the interface upper side area;
Detecting the offset direction of the moving track of the first operation instruction, and determining and highlighting the selected interaction control in the plurality of interaction controls according to the offset direction under the condition that the first operation instruction turns and moves along the direction perpendicular to the first preset direction instead, so that the first operation instruction can select the interaction control without touching the plurality of interaction controls;
Executing page operation corresponding to the selected interaction control under the condition that the end of the first operation instruction is detected; and exiting the video content play.
23. A terminal device comprising an input means, a processor and a memory;
The input device is used for inputting operation instructions by a user;
stored in the memory are computer instructions which, when executed by the processor, implement the interaction method of any one of claims 1-10.
24. A terminal device comprises a touch screen, a processor and a memory; stored in the memory are computer instructions which, when executed by the processor, implement the interaction method of any one of claims 11-18.
25. A terminal device comprises a touch screen, a processor and a memory; the memory having stored therein computer instructions which, when executed by the processor, implement the method of retrieving merchandise reviews as defined in any one of claims 19 to 21.
26. A terminal device comprises a touch screen, a processor and a memory; the memory having stored therein computer instructions which, when executed by the processor, implement the method of exiting video playback of claim 22.
27. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the interaction method of any of claims 1-10.
28. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the interaction method of any of claims 11-18.
29. A computer readable storage medium having stored thereon computer instructions which when executed by a processor implement the method of retrieving a commodity comment of any of claims 19-21.
30. A computer readable storage medium having stored thereon computer instructions which when executed by a processor implement the method of exiting video playback of claim 22.
CN202010099815.5A 2020-02-18 2020-02-18 Interaction method and terminal equipment Active CN113342218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010099815.5A CN113342218B (en) 2020-02-18 2020-02-18 Interaction method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010099815.5A CN113342218B (en) 2020-02-18 2020-02-18 Interaction method and terminal equipment

Publications (2)

Publication Number Publication Date
CN113342218A CN113342218A (en) 2021-09-03
CN113342218B true CN113342218B (en) 2024-10-15

Family

ID=77467035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010099815.5A Active CN113342218B (en) 2020-02-18 2020-02-18 Interaction method and terminal equipment

Country Status (1)

Country Link
CN (1) CN113342218B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721618B (en) * 2022-03-30 2025-03-14 北京城市网邻信息技术有限公司 Interactive control display method, device, electronic device and storage medium
CN114979747B (en) * 2022-05-19 2024-03-12 北京字跳网络技术有限公司 Live broadcast method, device, equipment, medium and program product
CN115113951A (en) * 2022-07-21 2022-09-27 浙江极氪智能科技有限公司 Man-machine interaction method, device and equipment for object to be evaluated on interface
CN116028724A (en) * 2022-11-10 2023-04-28 北京字跳网络技术有限公司 Method, device, device and storage medium for user interaction

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621914A (en) * 2017-08-02 2018-01-23 努比亚技术有限公司 Display methods, terminal and the computer-readable recording medium of termination function control key
CN108837506A (en) * 2018-05-25 2018-11-20 网易(杭州)网络有限公司 Control method, device and the storage medium of virtual item in a kind of race games

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243071B1 (en) * 1993-11-03 2001-06-05 Apple Computer, Inc. Tool set for navigating through an electronic book
US20120192078A1 (en) * 2011-01-26 2012-07-26 International Business Machines Method and system of mobile virtual desktop and virtual trackball therefor
WO2018006280A1 (en) * 2016-07-05 2018-01-11 深圳动三帝虚拟现实互动科技有限公司 Page switching method and device, terminal, and storage medium
CN106293473A (en) * 2016-08-15 2017-01-04 珠海市魅族科技有限公司 Page display method and device
CN107219988B (en) * 2017-05-26 2020-07-28 维沃移动通信有限公司 A kind of interface operation guidance method and mobile terminal
CN107617213B (en) * 2017-07-27 2019-02-19 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN108984081A (en) * 2018-07-06 2018-12-11 北京微播视界科技有限公司 A kind of searched page exchange method, device, terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621914A (en) * 2017-08-02 2018-01-23 努比亚技术有限公司 Display methods, terminal and the computer-readable recording medium of termination function control key
CN108837506A (en) * 2018-05-25 2018-11-20 网易(杭州)网络有限公司 Control method, device and the storage medium of virtual item in a kind of race games

Also Published As

Publication number Publication date
CN113342218A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN113342218B (en) Interaction method and terminal equipment
CN109753326B (en) Processing method, apparatus, device and machine-readable medium
CN111062778A (en) Product browsing method, device, equipment and storage medium
US10878175B2 (en) Portlet display on portable computing devices
US20150378589A1 (en) Utilizing key points in a progress bar to browse through content
US20150248193A1 (en) Customized user interface for mobile computers
KR102717737B1 (en) Automatic audio playback of displayed textual content
KR20160023412A (en) Method for display screen in electronic device and the device thereof
WO2018112928A1 (en) Method for displaying information, apparatus and terminal device
JP2014502755A (en) How to generate a media collection
KR20060128725A (en) Method for providing a user interface in an electronic device and device thereof
US20160170580A1 (en) Improved method for pre-listening to voice contents
US12436672B2 (en) Method and apparatus for interacting with application program, and electronic device
EP3015997A1 (en) Method and device for facilitating selection of blocks of information
KR20150066129A (en) Display appratus and the method thereof
WO2018113065A1 (en) Information display method, device and terminal device
WO2024169865A1 (en) Media content display method and apparatus, device, readable storage medium, and product
US20180032223A1 (en) Methods, systems, and media for presenting messages
EP4498264A1 (en) Information display method and apparatus, electronic device, and storage medium
US20250238120A1 (en) Customizable and animatable popup card system
CN110909274A (en) Page browsing method and device and electronic equipment
CN114880606A (en) Page display method, apparatus, apparatus, medium and program product
CN111897607A (en) Application interface loading and interaction method, device and storage medium
KR20180032906A (en) Electronic device and Method for controling the electronic device thereof
HK40059843A (en) Interaction method and terminal equipment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40059843

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
TG01 Patent term adjustment
TG01 Patent term adjustment