[go: up one dir, main page]

CN114647349A - Expression information selection method and device, electronic equipment and storage medium - Google Patents

Expression information selection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114647349A
CN114647349A CN202011497203.8A CN202011497203A CN114647349A CN 114647349 A CN114647349 A CN 114647349A CN 202011497203 A CN202011497203 A CN 202011497203A CN 114647349 A CN114647349 A CN 114647349A
Authority
CN
China
Prior art keywords
expression information
sliding
expression
displayed
touch operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011497203.8A
Other languages
Chinese (zh)
Inventor
胡冬莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011497203.8A priority Critical patent/CN114647349A/en
Publication of CN114647349A publication Critical patent/CN114647349A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction 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 using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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

Landscapes

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

Abstract

本发明实施例公开了一种表情信息选取方法及装置、电子设备及存储介质,所述方法包括:在表情选择界面显示环形选择器;检测作用于所述环形选择器的触控操作;根据所述触控操作的操作参数,切换显示的备选表情信息;在所述触控操作结束时,停止所述备选表情信息的切换;将停止切换时显示的所述备选表情信息,确定为待操作的目标表情信息。

Figure 202011497203

Embodiments of the present invention disclose a method and device for selecting expression information, an electronic device and a storage medium. The method includes: displaying a ring selector on an expression selection interface; detecting a touch operation acting on the ring selector; the operating parameters of the touch operation, switch the displayed alternative expression information; when the touch operation ends, stop the switching of the alternative expression information; determine the alternative expression information displayed when the switching is stopped as The target expression information to be operated.

Figure 202011497203

Description

表情信息选取方法及装置、电子设备及存储介质Expression information selection method and device, electronic device and storage medium

技术领域technical field

本发明涉及互联网应用技术领域,尤其涉及一种表情信息选取方法及装置、电子设备及存储介质。The invention relates to the technical field of Internet applications, and in particular, to a method and device for selecting expression information, an electronic device and a storage medium.

背景技术Background technique

随着智能手机的普及,各种各样的社交聊天软件被广泛使用,用户在上述应用中进行沟通交流时,通常会在文字、语音的基础上添加表情图片来表达自己的心情和感受。常见的社交应用不仅提供大量默认的表情符号供用户选择,还提供给用户添加、收藏表情图片以及表情包的功能。聊天参与者通过发送一套套丰富的表情,不仅能传达出自己的真情实感、给聊天过程增加趣味,甚至还会通过“斗图”行为获得心理上的满足感。With the popularity of smartphones, various social chat software are widely used. When users communicate in the above applications, they usually add emoticon pictures on the basis of text and voice to express their moods and feelings. Common social applications not only provide a large number of default emoticons for users to choose from, but also provide users with the functions of adding and collecting emoticons and emoticons. By sending a set of rich expressions, chat participants can not only convey their true feelings, add interest to the chat process, but also gain psychological satisfaction through the "fighting" behavior.

随着电子技术的不断进步,终端的存储容量越来越大,可存储的表情图片也越来越多。在现有的社交应用中,用户从存储的大量的表情图片查找想要发送的表情图片的操作繁琐,耗时长,极大地影响了用户体验。With the continuous advancement of electronic technology, the storage capacity of the terminal is getting larger and larger, and more and more emoticon pictures can be stored. In an existing social application, the operation of a user searching for an emoticon image to be sent from a large number of stored emoticon images is cumbersome and time-consuming, which greatly affects the user experience.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例期望提供一种表情信息选取方法、装置及计算机存储介质。In view of this, embodiments of the present invention are expected to provide a method, an apparatus, and a computer storage medium for selecting expression information.

第一方面,本发明实施例提供了一种表情信息选取方法,包括:In a first aspect, an embodiment of the present invention provides a method for selecting expression information, including:

在表情选择界面显示环形选择器;Display a ring selector in the expression selection interface;

检测作用于所述环形选择器的触控操作;detecting a touch operation acting on the ring selector;

在所述触控操作作用于所述环形选择器时,根据所述触控操作的操作参数,切换显示的备选表情信息;When the touch operation acts on the ring selector, the alternative expression information displayed is switched according to the operation parameters of the touch operation;

在所述触控操作结束时,停止所述备选表情信息的切换;When the touch operation ends, stop the switching of the alternative expression information;

将停止切换时显示的所述备选表情信息,确定为待操作的目标表情信息。The candidate expression information displayed when the switching is stopped is determined as the target expression information to be operated.

在一个实施例中,所述环形选择器包括:第一区域和第二区域;所述第一区域位于所述第二区域外侧;所述第一区域为环形区域;In one embodiment, the ring selector includes: a first area and a second area; the first area is located outside the second area; the first area is an annular area;

所述检测作用于所述环形选择器的触控操作,包括:The detecting a touch operation acting on the ring selector includes:

检测作用于所述环形选择器的所述第一区域的触控操作;detecting a touch operation acting on the first area of the ring selector;

所述切换显示的备选表情信息,包括:The alternative expression information displayed by the switch includes:

切换显示在所述第二区域内的所述备选表情信息。The candidate expression information displayed in the second area is switched.

在一个实施例中,在所述根据所述触控操作的操作参数,切换显示的备选表情信息之前,所述方法还包括:In one embodiment, before switching the displayed candidate expression information according to the operation parameters of the touch operation, the method further includes:

根据所述触控操作的类型,确定切换显示的备选表情信息;According to the type of the touch operation, determine the alternative expression information for switching display;

所述根据所述触控操作的类型,确定切换显示的备选表情信息,包括:The determining the alternative expression information for switching display according to the type of the touch operation includes:

若所述触控操作的类型为第一类型,切换显示的所述备选表情信息为:备选表情包,所述备选表情包为:表情图片的集合;If the type of the touch operation is the first type, the alternative emoticon information to be switched and displayed is: an alternative emoticon package, and the alternative emoticon package is: a collection of emoticon pictures;

若所述触控操作的类型为第二类型,切换显示的所述备选表情信息为:表情图片。If the type of the touch operation is the second type, the alternative expression information to be switched and displayed is an expression picture.

在一个实施例中,所述触控操作为滑动操作;In one embodiment, the touch operation is a sliding operation;

在所述根据所述触控操作的类型,确定切换显示的备选表情信息之前,所述方法还包括:Before determining the alternative expression information for switching display according to the type of the touch operation, the method further includes:

根据所述滑动操作的滑动轨迹,确定所述滑动操作的类型;determining the type of the sliding operation according to the sliding trajectory of the sliding operation;

所述根据所述滑动操作的滑动轨迹,确定所述滑动操作的类型,包括:The determining the type of the sliding operation according to the sliding trajectory of the sliding operation includes:

若所述滑动轨迹与直线或者射线满足相似条件,则所述滑动操作为所述第一类型的滑动操作;If the sliding trajectory and the straight line or the ray satisfy similar conditions, the sliding operation is the sliding operation of the first type;

若所述滑动轨迹与所述第一区域的区域形状满足相似条件,则所述滑动操作为所述第二类型的滑动操作。If the sliding track and the area shape of the first area satisfy similar conditions, the sliding operation is the sliding operation of the second type.

在一个实施例中,所述触控操作包括:滑动操作;In one embodiment, the touch operation includes: a sliding operation;

所述根据所述触控操作的操作参数,切换显示的备选表情信息,包括以下至少之一:The alternative expression information that is switched and displayed according to the operation parameters of the touch operation includes at least one of the following:

根据所述滑动操作的滑动方向,采用与所述滑动方向对应的预设切换方向切换显示的所述备选表情信息;According to the sliding direction of the sliding operation, adopt the preset switching direction corresponding to the sliding direction to switch the displayed candidate expression information;

根据所述滑动操作的滑动速度,采用与所述滑动速度正相关的切换速率,切换显示的所述备选表情信息。According to the sliding speed of the sliding operation, a switching rate positively related to the sliding speed is used to switch the displayed candidate expression information.

在一个实施例中,所述备选表情信息为备选表情图片,所述目标表情信息为目标表情图片;In one embodiment, the alternative expression information is an alternative expression picture, and the target expression information is a target expression picture;

所述方法还包括:The method also includes:

检测在确定所述目标表情图片之后作用于确认控件上的确认操作,其中,所述确认控件用于接收是否发送所述目标表情图片的操作;Detecting the confirmation operation acting on the confirmation control after determining the target expression picture, wherein the confirmation control is used for receiving the operation of whether to send the target expression picture;

在检测到所述确认操作之后,发送所述目标表情图片。After the confirmation operation is detected, the target expression picture is sent.

在一个实施例中,若所述备选表情信息为备选表情包,所述目标表情信息为目标表情包;In one embodiment, if the alternative emoticon information is an alternative emoticon package, the target emoticon information is a target emoticon package;

在所述根据所述触控操作的操作参数,切换显示的备选表情信息之前,所述方法还包括:Before switching the displayed alternative expression information according to the operation parameters of the touch operation, the method further includes:

将所述目标表情包确定为备选表情图片的集合,所述目标表情包内的所述备选表情图片基于作用于所述环形选择器的触控操作进行切换显示。The target emoticon package is determined as a set of candidate emoticon pictures, and the alternative emoticon pictures in the target emoticon package are switched and displayed based on the touch operation acting on the ring selector.

在一个实施例中,所述在表情选择界面显示环形选择器,包括:In one embodiment, the displaying a ring selector on the expression selection interface includes:

检测作用于所述表情选择界面的环形选择器入口的进入操作;Detecting the entry operation of the ring selector entry acting on the expression selection interface;

在检测到所述进入操作之后,在所述在表情选择界面显示环形选择器。After the entering operation is detected, a ring selector is displayed on the in-expression selection interface.

第二方面,本发明实施例提供了一种表情信息选取装置,包括:In a second aspect, an embodiment of the present invention provides a device for selecting facial expression information, including:

显示单元,用于在表情选择界面显示环形选择器;The display unit is used to display the ring selector on the expression selection interface;

检测单元,用于检测作用于所述环形选择器的触控操作;a detection unit for detecting a touch operation acting on the ring selector;

切换单元,用于在所述触控操作作用于所述环形选择器时,根据所述触控操作的操作参数,切换显示的备选表情信息;a switching unit, configured to switch the displayed alternative expression information according to the operation parameters of the touch operation when the touch operation acts on the ring selector;

所述切换单元,还用于在所述触控操作结束时,停止所述备选表情信息的切换;The switching unit is further configured to stop the switching of the alternative expression information when the touch operation ends;

确定单元,用于将停止切换时显示的所述备选表情信息,确定为待操作的目标表情信息。The determining unit is configured to determine the candidate expression information displayed when the switching is stopped as the target expression information to be operated.

第三方面,本发明实施例提供了一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被执行后,能够实现上述任一项提供的方法。In a third aspect, an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer-executable instructions; after the computer-executable instructions are executed, any of the methods provided above can be implemented.

第四方面,本发明实施例提供了一种电子设备,其中,所述电子设备至少包括:处理器和用于存储能够在所述处理器上运行的可执行指令的存储器,其中:所述处理器用于运行所述可执行指令时,所述可执行指令执行上述任一项提供的方法的步骤。In a fourth aspect, an embodiment of the present invention provides an electronic device, wherein the electronic device at least includes: a processor and a memory for storing executable instructions that can be executed on the processor, wherein: the processor When the computer is used to run the executable instructions, the executable instructions execute the steps of any of the methods provided above.

本发明实施例的表情信息选取方法中,在表情选择界面引入环形选择器;并在触控操作作用于所述环形选择器时,根据所述触控操作的操作参数,切换显示的备选表情信息;以及将触控操作结束时显示的备选表情信息,确定为待操作的目标表情信息。本发明实施例引入环形选择器切换显示备选表情信息,使用户通过一个触控操作的速度实现快速跳过不需要的备选表情信息,以及通过控制触控操作的终点位置精确定位至所需的表情信息,帮助用户进行快速的表情筛选,提高了用户查找特定表情图片的效率。In the expression information selection method of the embodiment of the present invention, a ring selector is introduced into the expression selection interface; and when a touch operation acts on the ring selector, the displayed alternative expressions are switched according to the operation parameters of the touch operation. information; and determine the candidate expression information displayed when the touch operation ends as the target expression information to be operated. The embodiment of the present invention introduces a ring selector to switch and display the alternative expression information, so that the user can quickly skip the unnecessary alternative expression information at the speed of one touch operation, and precisely locate the desired expression information by controlling the end position of the touch operation. The expression information can help users to quickly filter expressions, and improve the efficiency of users to find specific expression pictures.

附图说明Description of drawings

图1为本发明实施例提供的第一种表情信息选取方法的流程示意图;1 is a schematic flowchart of a first method for selecting expression information according to an embodiment of the present invention;

图2为社交应用聊天界面;Figure 2 is a social application chat interface;

图3为本发明实施例显示有环形选择器的表情选择界面;3 is an embodiment of the present invention showing an expression selection interface with a ring selector;

图4为本发明实施例触控操作作用于第一区域;FIG. 4 shows the touch operation acting on the first area according to the embodiment of the present invention;

图5为本发明实施例触控操作的示意图;FIG. 5 is a schematic diagram of a touch operation according to an embodiment of the present invention;

图6为本发明实施例提供的第二种表情信息选取方法的流程示意图;6 is a schematic flowchart of a second method for selecting expression information according to an embodiment of the present invention;

图7为本发明实施例提供的第三种表情信息选取方法的流程示意图;7 is a schematic flowchart of a third method for selecting expression information according to an embodiment of the present invention;

图8为本发明实施例提供的第四种表情信息选取方法的流程示意图;8 is a schematic flowchart of a fourth method for selecting expression information according to an embodiment of the present invention;

图9为本发明实施例提供的表情信息选取装置的结构示意图;9 is a schematic structural diagram of a device for selecting expression information provided by an embodiment of the present invention;

图10为本发明实施例提供的第五种表情信息选取方法的流程示意图;10 is a schematic flowchart of a fifth method for selecting expression information according to an embodiment of the present invention;

图11为本发明实施例提供的第六种表情信息选取方法的流程示意图。FIG. 11 is a schematic flowchart of a sixth method for selecting expression information according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合说明书附图及具体实施例对本发明的技术方案做进一步的详细阐述。The technical solutions of the present invention will be further elaborated below with reference to the accompanying drawings and specific embodiments of the description.

如图1所示,本发明实施例的一种表情信息选取方法,包括:As shown in Figure 1, a method for selecting expression information according to an embodiment of the present invention includes:

步骤S101:在表情选择界面显示环形选择器;Step S101: displaying a ring selector on the expression selection interface;

步骤S102:检测作用于所述环形选择器的触控操作;Step S102: Detecting a touch operation acting on the ring selector;

步骤S104:根据所述触控操作的操作参数,切换显示的备选表情信息;Step S104: switching the displayed alternative expression information according to the operation parameters of the touch operation;

步骤S105:在所述触控操作结束时,停止所述备选表情信息的切换;Step S105: when the touch operation ends, stop the switching of the candidate expression information;

步骤S106:将停止切换时显示的所述备选表情信息,确定为待操作的目标表情信息。Step S106: Determine the candidate expression information displayed when the switching is stopped as the target expression information to be operated.

本实施例可以应用于用户使用社交应用进行表情图片发送的场景,社交应用为用于用户间社交沟通的应用,该社交应用安装在电子设备中。这里,电子设备包括但不限于计算机、手机、平板电脑、个人数字助理、车载电脑、智能手表、穿戴装置等,社交应用包括但不限于微信、QQ、微博等。This embodiment can be applied to a scenario where a user uses a social application to send an emoticon picture. The social application is an application used for social communication between users, and the social application is installed in an electronic device. Here, electronic devices include but are not limited to computers, mobile phones, tablet computers, personal digital assistants, in-vehicle computers, smart watches, wearable devices, etc., and social applications include but are not limited to WeChat, QQ, Weibo, etc.

在所述步骤S101中,环形选择器包括环形触控区,该环形触控区的形状为环形,例如,矩形环、椭圆环、圆环、正方形环、三角形环或不规则形环等。其中,不规则形环包括:环形的内环和/或外环为不规则图形、环形的内环与外环为不同的形状等。In the step S101, the annular selector includes an annular touch area, and the annular touch area is annular in shape, for example, a rectangular ring, an elliptical ring, a circular ring, a square ring, a triangular ring, or an irregular ring. Wherein, the irregular ring includes: the annular inner ring and/or the outer ring are irregular shapes, the annular inner ring and the outer ring are of different shapes, and the like.

通过环形触控区的设置,一方面,环形触控区采用环形结构,可基于该环形结构将触控操作的触控轨迹从多角度进行划分,从而支持检测并划分出更加丰富的触控操作的类型,例如,以触控轨迹与环形结构的内环和/或外环的相对位置进行划分、以触控轨迹与环形结构的内环和/或外环的相似性进行划分等;另一方面,环形触控区的设置,更便于用户单手持握电子设备时能准确地完成触控操作。Through the setting of the ring-shaped touch area, on the one hand, the ring-shaped touch area adopts a ring structure, and the touch track of the touch operation can be divided from multiple angles based on the ring structure, so as to support the detection and division of more abundant touch operations type, for example, divided by the relative position of the touch track and the inner ring and/or the outer ring of the annular structure, divided by the similarity between the touch track and the inner ring and/or the outer ring of the annular structure, etc.; another On the one hand, the setting of the ring-shaped touch area makes it easier for the user to accurately complete the touch operation when holding the electronic device with one hand.

在本实施例中,环形选择器可以直接配置在表情选择界面进行显示,也可以以悬浮窗形式悬浮于表情选择界面。In this embodiment, the ring selector may be directly configured and displayed on the expression selection interface, or may be suspended in the expression selection interface in the form of a floating window.

在一个实施例中,请继续参考图3,环形选择器显示在表情选择界面的输入框的下方。当然,环形选择器也可以显示在其他位置,本实施例对此不作限制。In one embodiment, please continue to refer to FIG. 3 , a ring selector is displayed below the input box of the expression selection interface. Of course, the ring selector may also be displayed in other positions, which is not limited in this embodiment.

在所述步骤S102中,检测作用于所述环形选择器的触控操作。In the step S102, a touch operation acting on the ring selector is detected.

本实施例中,该环形选择器包括第一区域,所述触控操作作用于所述第一区域,第一区域可以通过电容式触控检测方法检测触控操作。在其他实施例中,第一区域也可以通过压电式触控检测方法、声波式触控检测方法、光学式触控检测方法或者其他触控检测方法检测触控操作,本发明于此并不加以限制。In this embodiment, the ring selector includes a first area, the touch operation acts on the first area, and the first area can detect the touch operation by a capacitive touch detection method. In other embodiments, the first region can also detect the touch operation by a piezoelectric touch detection method, an acoustic wave touch detection method, an optical touch detection method, or other touch detection methods, which is not limited in the present invention. be restricted.

这里,触控操作可以为接触式或非接触式的操作,触控操作可以通过用户的手指、触控笔或其他可操作第一区域的触控体来实现。Here, the touch operation may be a contact or non-contact operation, and the touch operation may be implemented by a user's finger, a stylus, or other touch objects that can operate the first area.

在所述步骤S104中,在所述触控操作作用于所述环形选择器时,根据所述触控操作的操作参数,切换显示的备选表情信息。In the step S104, when the touch operation acts on the ring selector, the displayed candidate expression information is switched according to the operation parameters of the touch operation.

这里,触控操作产生一触控轨迹,触控轨迹包括一起始位置和一终点位置。起始位置为检测到手指等触控体与触控区接触的起始位置,终点位置为检测到手指等触控体远离触控区以结束触控操作的位置,触控轨迹为检测到手指等触控体在第一区域上从起始位置至终点位置之间滑动或挥动的轨迹。Here, the touch operation generates a touch track, and the touch track includes a start position and an end position. The starting position is the starting position where a touch body such as a finger is detected to be in contact with the touch area, the end position is the position where the touch body such as a finger is detected to be far away from the touch area to end the touch operation, and the touch track is when the finger is detected. Wait for the track of the touch body sliding or waving from the start position to the end position on the first area.

在检测到触控操作的持续作用时间内(即,对应于触控操作产生的触控轨迹的起始位置至终点位置),响应于该触控操作,电子设备控制切换显示的备选表情信息,即,备选表情信息的切换显示自检测到触控操作产生的触控轨迹的起始位置开始,持续至检测到触控操作的终点位置结束。During the duration of the detection of the touch operation (ie, corresponding to the start position to the end position of the touch track generated by the touch operation), in response to the touch operation, the electronic device controls to switch the displayed candidate expression information That is, the switching display of the candidate facial expression information starts from the start position of the touch track generated by the touch operation detection, and lasts until the end position of the touch operation operation is detected.

在本实施例中,触控操作的操作参数包括:触控方式、触控轨迹、触控位置等,具体地,触控方式包括但不限于:点击和/或滑动操作等;触控轨迹包括但不限于:直线和/或曲线等,触控位置包括但不限于:环形选择器上任意位置,或者环形选择器的预设位置等。In this embodiment, the operation parameters of the touch operation include: touch method, touch track, touch position, etc. Specifically, the touch method includes but is not limited to: click and/or slide operation, etc.; the touch track includes But not limited to: straight lines and/or curves, etc., the touch position includes but is not limited to: any position on the ring selector, or a preset position of the ring selector, etc.

在一个实施例中,备选表情信息至少包括:表情包和/或表情图片等。In one embodiment, the candidate expression information includes at least an expression package and/or an expression picture, and the like.

在另一个实施例中,所述备选表情信息还可包括:表情包的描述信息,例如,该描述信息包括:描述该备选表情包的内容等相关信息的文字,例如,表情包的作者信息和/或表情包的表情含义信息。In another embodiment, the alternative emoticon information may further include: description information of the emoticon package, for example, the description information includes: text describing the content of the alternative emoticon package and other related information, for example, the author of the emoticon package Messages and/or emoji meaning information for emojis.

具体地,如,电子设备中存储有表情图片库,该表情图片库可为从服务器下载或更新,也可为在电子设备本地生成。每个表情包内存储至少一张表情图片。Specifically, for example, an expression picture library is stored in the electronic device, and the expression picture library may be downloaded or updated from a server, or may be generated locally on the electronic device. Each emoticon package stores at least one emoticon picture.

在一个实施例中,表情包可包括:同一个来源的不同含义的多个表情图片。例如,以作者区分的不同表情包,每一个表情包都包括:笑的表情、哭的表情、尴尬的表情等各种表情含义的表情图片。In one embodiment, the emoticon package may include: multiple emoticon pictures with different meanings from the same source. For example, for different expression packages distinguished by authors, each expression package includes: smiley expression, crying expression, embarrassed expression and other expression pictures with various expression meanings.

在另一个实施例中,表情包可包括:不同来源的相同表情含义的不同形态的表情图片。例如,笑的表情包可包括:各种形态的不同含义的笑表情图片。In another embodiment, the emoticon package may include: different forms of emoticon pictures with the same emoticon meaning from different sources. For example, the smiley emoticon package may include: smiley emoticon pictures with different meanings in various forms.

在所述触控操作作用于所述环形选择器时,根据作用于环形选择器的触控操作的操作参数,切换显示的备选表情信息。例如:When the touch operation acts on the ring selector, the alternative expression information displayed is switched according to the operation parameters of the touch operation acting on the ring selector. E.g:

当作用于环形选择器的触控操作的触控方式为点击操作,触控位置为环形选择器任一位置或预设位置时,则切换显示的备选表情包。例如,在预设位置检测到一次点击操作,则按照预设位置对应的预设切换方向,切换当前显示的备选表情包;When the touch method used for the touch operation of the ring selector is a click operation, and the touch position is any position or a preset position of the ring selector, the displayed alternative emoticons are switched. For example, if a click operation is detected at the preset position, the currently displayed alternative emoticons are switched according to the preset switching direction corresponding to the preset position;

当作用于环形选择器的触控操作的触控方式为滑动操作,触控轨迹为直线或射线时,则切换显示的备选表情包,如,检测到一次直线滑动操作,则按照直线对应的预设切换方向,切换当前显示的备选表情包;When the touch mode used for the touch operation of the ring selector is a sliding operation, and the touch trajectory is a straight line or a ray, the alternative emoticons displayed are switched. Preset switch direction, switch the currently displayed alternative emoticon package;

当作用于环形选择器的触控操作的触控方式为滑动操作,触控轨迹为预设轨迹时,则切换显示的当前表情包的备选表情图片。When the touch mode used for the touch operation of the ring selector is a sliding operation and the touch track is a preset track, the alternative emoticon picture of the current emoticon package displayed is switched.

可以理解地,根据实际应用的需要,电子设备可以预先配置根据不同的触控操作的操作参数,对不同的备选表情信息进行切换显示。It can be understood that, according to the needs of practical applications, the electronic device can be preconfigured with operation parameters according to different touch operations to switch and display different candidate expression information.

在所述步骤S105中,在所述触控操作结束时,停止所述备选表情信息的切换。In the step S105, when the touch operation ends, the switching of the candidate expression information is stopped.

在触控操作结束时,即,检测到手指等触控体到达终点位置时,将停止备选表情信息的切换,使得备选表情信息停留在当前表情信息,如停留在当前表情包,或停留在当前表情图片。At the end of the touch operation, that is, when it is detected that the touch object such as a finger has reached the end position, the switching of the candidate expression information will be stopped, so that the candidate expression information will stay in the current expression information, such as staying in the current expression package, or staying in the current expression package. in the current emoji picture.

在所述步骤S106中,将停止切换时显示的所述备选表情信息,确定为待操作的目标表情信息。In the step S106, the candidate expression information displayed when the switching is stopped is determined as the target expression information to be operated.

根据上述步骤S105,可以确定在所述触控操作到达终点位置时停留在的当前表情信息,进而确定该停留在的当前表情信息为待操作的目标表情信息。例如,将切换停止时对应确定的当前表情包确定为目标表情包,将切换停止时对应确定的当前表情图片确定为目标表情图片,或,将切换停止时对应确定的表情包的描述信息确定为目标表情包的描述信息等。According to the above-mentioned step S105, the current expression information that is staying when the touch operation reaches the end position can be determined, and then it is determined that the current expression information that is staying is the target expression information to be operated. For example, the current emoticon package determined when the switching is stopped is determined as the target emoticon package, the current emoticon picture determined correspondingly when the switching is stopped is determined as the target emoticon picture, or, the description information of the emoticon package determined when the switching is stopped is determined as The description information of the target emoticon package, etc.

在确定目标表情信息后,电子设备进一步检测是否接收到对该目标表情信息的确认信息,若在预设时间内检测到确认信息,则发送该目标表情信息。After determining the target expression information, the electronic device further detects whether confirmation information for the target expression information is received, and if the confirmation information is detected within a preset time, the target expression information is sent.

若在预设时间内未检测到确认信息,则忽略本次确定的目标表情信息。If no confirmation information is detected within the preset time, the target expression information determined this time is ignored.

例如,用户判断确定的目标表情信息是否为预期的表情信息,若是,则电子设备会检测到作用于确认按钮的触控操作;若不是,则电子设备在所述确认按钮上检测不到触控操作,或者在环形控制器上会检测到下一次触控操作都可认为用户指示忽略本次选择的目标表情。For example, the user judges whether the determined target expression information is the expected expression information. If so, the electronic device will detect a touch operation acting on the confirmation button; if not, the electronic device will not detect touch on the confirmation button. operation, or the next touch operation is detected on the ring controller, it can be considered that the user has instructed to ignore the target expression selected this time.

本发明实施例引入环形选择器切换显示备选表情信息,使用户通过一个触控操作的速度实现快速跳过不需要的备选表情信息,以及通过控制触控操作的终点位置精确定位至所需的表情信息,帮助用户快速地进行表情信息筛选,提高了用户查找特定表情图片的效率。The embodiment of the present invention introduces a ring selector to switch and display the alternative expression information, so that the user can quickly skip the unnecessary alternative expression information at the speed of one touch operation, and precisely locate the desired expression information by controlling the end position of the touch operation. It can help users to quickly filter the expression information, and improve the efficiency of users to find specific expression pictures.

在一些实施例中,在所述步骤S101中,在表情选择界面显示环形选择器。例如,如图2和图3所示,在检测到表情图标的点击操作,使社交应用进入表情选择界面时,在表情选择界面直接显示环形选择器,即,环形选择器为表情选择界面的固有显示项;或者,在表情选择界面增设环形选择器的入口,当环形选择器的入口被触发时,则调出并在表情选择界面显示环形选择器。In some embodiments, in the step S101, a ring selector is displayed on the expression selection interface. For example, as shown in Figures 2 and 3, when the click operation of the emoticon icon is detected and the social application enters the emoticon selection interface, a ring selector is directly displayed on the emoticon selection interface, that is, the annular selector is inherent in the emoticon selection interface. Display item; or, add the entry of the ring selector in the expression selection interface, when the entry of the ring selector is triggered, the ring selector will be called out and displayed on the expression selection interface.

在一些实施例中,步骤S101中,所述在表情选择界面显示环形选择器,包括:In some embodiments, in step S101, the displaying a ring selector on the expression selection interface includes:

步骤S1011:检测作用于所述表情选择界面的环形选择器入口的进入操作;Step S1011: Detecting the entry operation of the ring selector entry acting on the expression selection interface;

步骤S1012:在检测到所述进入操作之后,在所述在表情选择界面显示环形选择器。Step S1012: After detecting the entering operation, display a ring selector on the in-expression selection interface.

即,在表情选择界面增加设置环形选择器入口,当检测到作用于该环形选择器入口的进入操作时,则在表情选择界面显示环形选择器,以便用户基于环形选择器浏览并选择表情包和表情图片。这里,进入操作可以为作用于环形选择器入口的点击操作等。That is, a ring selector entry is added to the expression selection interface, and when an entry operation acting on the ring selector entry is detected, the ring selector is displayed on the expression selection interface, so that the user can browse and select the expression package and the expression package based on the ring selector. Emoji pictures. Here, the entry operation may be a click operation or the like acting on the entry of the ring selector.

在一些实施例中,请继续参考图3,所述环形选择器包括:第一区域和第二区域;所述第一区域位于所述第二区域外侧;所述第一区域为环形区域;In some embodiments, please continue to refer to FIG. 3 , the annular selector includes: a first area and a second area; the first area is located outside the second area; the first area is an annular area;

这里,第一区域为环形区域,该环形区域的内环边界和/或外环边界可以为圆形、矩形、正方形、椭圆形或其他不规则形状。Here, the first area is an annular area, and the inner ring boundary and/or the outer ring boundary of the annular area may be a circle, a rectangle, a square, an ellipse or other irregular shapes.

第一区域位于第二区域外侧,即,环形区域位于第二区域外侧,可以为,如,环形区域的内环边界位于第二区域的外侧,或环形区域的内环边界为第二区域的边界。The first area is located outside the second area, that is, the annular area is located outside the second area, which can be, for example, the inner ring boundary of the annular area is located outside the second area, or the inner ring boundary of the annular area is the boundary of the second area .

如图4和图5所示,步骤S102检测作用于所述环形选择器的触控操作具体为:检测作用于所述环形选择器的所述第一区域的触控操作,触控操作产生的触控轨迹P2,触控轨迹P2包括一起始位置P0和一终点位置P1;As shown in FIG. 4 and FIG. 5 , the step S102 of detecting the touch operation acting on the ring selector is specifically: detecting the touch operation acting on the first area of the ring selector, and the touch operation generated by the touch operation touch track P2, the touch track P2 includes a start position P0 and an end position P1;

所述步骤S104中的所述切换显示的备选表情信息,具体包括:切换显示在所述第二区域内的所述备选表情信息。例如,在第二区域显示备选表情信息,当检测到作用于第一区域的触控操作,则切换显示在所述第二区域内的所述备选表情信息。The switching of the candidate expression information displayed in the step S104 specifically includes: switching the candidate expression information displayed in the second area. For example, alternative expression information is displayed in the second area, and when a touch operation acting on the first area is detected, the alternative expression information displayed in the second area is switched.

在一些实施例中,如图6所示,在步骤S104之前,所述方法还包括:In some embodiments, as shown in FIG. 6, before step S104, the method further includes:

步骤S103:根据所述触控操作的类型,确定切换显示的备选表情信息,其中,Step S103: According to the type of the touch operation, determine the alternative expression information for switching display, wherein,

若所述触控操作的类型为第一类型,切换显示的所述备选表情信息为:备选表情包,所述备选表情包为:表情图片的集合;If the type of the touch operation is the first type, the alternative emoticon information to be switched and displayed is: an alternative emoticon package, and the alternative emoticon package is: a collection of emoticon pictures;

若所述触控操作的类型为第二类型,切换显示的所述备选表情信息为:表情图片。If the type of the touch operation is the second type, the alternative expression information to be switched and displayed is an expression picture.

这里,备选表情信息包括备选表情包和备选表情图片,备选表情包为:表情图片的集合。根据触控操作的类型,进一步确定该触控操作用于控制的备选表情信息,即,根据触控操作的类型确定触控操作用于控制表情包或表情图片的切换显示。Here, the candidate emoticon information includes an alternative emoticon package and an alternative emoticon picture, and the alternative emoticon package is: a collection of emoticon pictures. According to the type of the touch operation, the candidate expression information for controlling the touch operation is further determined, that is, it is determined according to the type of the touch operation that the touch operation is used to control the switching display of the expression pack or the expression picture.

根据实际应用需要,可预先设置将不同的触控操作归类至第一类型或第二类型。具体地,根据触控操作的操作参数,可预先设置将触控操作归类至第一类型或第二类型。例如:Different touch operations can be classified into the first type or the second type in advance according to practical application requirements. Specifically, according to the operation parameters of the touch operation, it may be preset to classify the touch operation into the first type or the second type. E.g:

若触控操作的触控方式为点击,则将触控操作归类至第一类型;If the touch method of the touch operation is click, classify the touch operation into the first type;

若触控操作的触控轨迹为直线,则将触控操作归类至第一类型;If the touch trajectory of the touch operation is a straight line, the touch operation is classified into the first type;

若触控操作的触控轨迹为曲线,则将触控操作归类至第二类型。If the touch trace of the touch operation is a curve, the touch operation is classified into the second type.

例如,触控操作的类型为第一类型时,切换显示的所述备选表情信息为:备选表情包,触控操作用于控制表情包的切换显示,表情包显示的时候为显示表情包的第一个表情图片或指定表情图片;For example, when the type of the touch operation is the first type, the alternative emoticon information to be switched and displayed is: an alternative emoticon package, the touch operation is used to control the switching display of the emoticon package, and the emoticon package is displayed when the emoticon package is displayed. The first emoticon picture of , or the specified emoticon picture;

触控操作的类型为第二类型时,切换显示的所述备选表情信息为:备选表情图片,触控操作用于控制表情图片的切换显示,切换显示的表情图片包括当前显示在表情包内的所有表情图片,或,电子设备中存储的所有表情包中的所有表情图片。When the type of touch operation is the second type, the alternative emoticon information to be switched and displayed is: an alternative emoticon picture, the touch operation is used to control the switching display of the emoticon picture, and the emoticon picture to be switched and displayed includes the emoticon picture currently displayed in the emoticon package. All the emoticon pictures in the electronic device, or all the emoticon pictures in all the emoticon packs stored in the electronic device.

在一些实施例中,所述触控操作为滑动操作;In some embodiments, the touch operation is a sliding operation;

在步骤S103之前,所述方法还包括:Before step S103, the method further includes:

步骤S1031:根据所述滑动操作的滑动轨迹,确定所述滑动操作的类型;Step S1031: Determine the type of the sliding operation according to the sliding trajectory of the sliding operation;

具体地,步骤S1031包括:Specifically, step S1031 includes:

若所述滑动轨迹与直线或者射线满足相似条件,则所述滑动操作为所述第一类型的滑动操作;If the sliding trajectory and the straight line or the ray satisfy similar conditions, the sliding operation is the sliding operation of the first type;

若所述滑动轨迹与第一区域的区域形状满足相似条件,则所述滑动操作为所述第二类型的滑动操作。If the sliding track and the area shape of the first area satisfy similar conditions, the sliding operation is the sliding operation of the second type.

本实施例中,触控操作的类型即为滑动操作的类型。In this embodiment, the type of touch operation is the type of sliding operation.

其中,所述滑动轨迹与直线或者射线满足相似条件,可包括以下至少之一:Wherein, the sliding trajectory and the straight line or the ray meet similar conditions, and may include at least one of the following:

滑动轨迹为直线段;例如,滑动轨迹上存在若干个点组合,每个点组合包括至少两个点,每个点组合中至少两个点所在直线的斜率与滑动轨迹的两个端点所在直线的斜率的差值小于预设阈值;The sliding trajectory is a straight line segment; for example, there are several point combinations on the sliding trajectory, each point combination includes at least two points, and the slope of the line where the at least two points are located in each point combination is the same as the slope of the line where the two endpoints of the sliding trajectory are located. The difference in slope is less than the preset threshold;

滑动轨迹为射线;例如,滑动轨迹上存在若干个点组合,每个点组合包括至少两个点,每个点组合中至少两个点所在直线的斜率在一预设范围。The sliding track is a ray; for example, there are several point combinations on the sliding track, each point combination includes at least two points, and the slope of the straight line where the at least two points are located in each point combination is within a preset range.

电子设备检测到的滑动操作的滑动轨迹,判断滑动轨迹为与直线或者射线满足相似条件,如满足,则可确定该滑动操作为第一类型的滑动操作。The sliding trajectory of the sliding operation detected by the electronic device determines that the sliding trajectory satisfies a similar condition as a straight line or a ray, and if so, the sliding operation can be determined to be the first type of sliding operation.

所述滑动轨迹与第一区域的区域形状满足相似条件,可包括以下至少之一:The sliding track and the area shape of the first area satisfy similar conditions, and may include at least one of the following:

第一区域的区域形状为圆形,滑动轨迹与该圆形为相似图形;例如,滑动轨迹为圆形或圆弧形,滑动轨迹所在的圆形的圆心,与第一区域的区域形状所在的圆形的圆心的距离小于预设阈值;又例如,滑动轨迹上的若干个点至第一区域的区域形状所在的圆形的圆心的距离,分别与第一区域的区域形状所在的圆形的半径的差值在一预设范围内。The area shape of the first area is a circle, and the sliding track is similar to the circle; for example, the sliding track is a circle or an arc shape, and the center of the circle where the sliding track is located is the same as the area where the area shape of the first area is located. The distance between the center of the circle is smaller than the preset threshold; for another example, the distances from several points on the sliding track to the center of the circle where the area shape of the first area is located are respectively different from the distance between the center of the circle where the area shape of the first area is located. The difference in radius is within a preset range.

第一区域的区域形状为椭圆形,滑动轨迹与该椭圆形为相似图形;例如,滑动轨迹为椭圆形或椭圆弧形,滑动轨迹所在的椭圆形的第三焦点,与第一区域的区域形状所在的椭圆形的第一焦点的距离均小于预设阈值,且,滑动轨迹所在的椭圆形的第四焦点,与第一区域的区域形状所在的椭圆形的第二焦点的距离均小于预设阈值;又例如,滑动轨迹上的若干个点,分别至第一区域的区域形状所在的椭圆形的第一焦点和第二焦点的距离之和,在一预设范围内。The area shape of the first area is an ellipse, and the sliding track is a similar figure to the ellipse; for example, the sliding track is an ellipse or an elliptical arc, and the third focus of the ellipse where the sliding track is located is similar to the shape of the first area. The distance of the first focal point of the ellipse where the sliding track is located is smaller than the preset threshold, and the distance between the fourth focal point of the ellipse where the sliding track is located and the second focal point of the ellipse where the area shape of the first area is located is smaller than the preset Threshold; for another example, the sum of the distances from several points on the sliding track to the first focus and the second focus of the ellipse where the region shape of the first region is located is within a preset range.

第一区域的区域形状为正方形,滑动轨迹与该正方形为相似图形;例如,滑动轨迹为正方形或正方形的一部分,滑动轨迹所在的正方形的对角线交点,与第一区域的区域形状所在的正方形的对角线交点的距离小于预设阈值;又例如,滑动轨迹所在的正方形与第一区域的区域形状所在的正方形的对应边成比例。The area shape of the first area is a square, and the sliding track is a similar figure to the square; for example, the sliding track is a square or a part of the square, and the diagonal intersection of the square where the sliding track is located is the same as the square where the area shape of the first area is located. The distance of the intersection point of the diagonal lines of , is less than the preset threshold; for another example, the square where the sliding track is located is proportional to the corresponding side of the square where the area shape of the first area is located.

第一区域的区域形状为矩形,滑动轨迹与该矩形为相似图形;例如,滑动轨迹为长方形或长方形的一部分,滑动轨迹所在的长方形的对角线交点,与第一区域的区域形状所在的长方形的对角线交点的距离小于预设阈值;又例如,滑动轨迹所在的长方形与第一区域的区域形状所在的长方形的对应边成比例。The area shape of the first area is a rectangle, and the sliding track is a similar figure to the rectangle; for example, the sliding track is a rectangle or a part of the rectangle, and the diagonal intersection of the rectangle where the sliding track is located is the rectangle where the area shape of the first area is located. The distance of the intersection point of the diagonal lines of , is less than the preset threshold; for another example, the rectangle where the sliding track is located is proportional to the corresponding side of the rectangle where the area shape of the first area is located.

第一区域的区域形状为不规则图形,滑动轨迹与该不规则图形为相似图形。此种场景下,可以根据第一区域的区域形状的实际情况,将第一区域的区域形状划分为圆弧形、椭圆弧形、正方形的一部分、和/或长方形的一部分,并基于上述形状的判断方法对滑动轨迹是否为该不规则图形的相似图形进行确认。The area shape of the first area is an irregular figure, and the sliding track is a similar figure to the irregular figure. In such a scenario, the area shape of the first area may be divided into circular arcs, elliptical arcs, a part of a square, and/or a part of a rectangle according to the actual situation of the area shape of the first area, and based on the above-mentioned shape The judging method confirms whether the sliding track is a similar figure to the irregular figure.

电子设备检测到的滑动操作的滑动轨迹,判断滑动轨迹为与第一区域的区域形状满足相似条件,如满足,则可确定该滑动操作为第二类型的滑动操作。The sliding trajectory of the sliding operation detected by the electronic device determines that the sliding trajectory is similar to the area shape of the first area.

在一些实施例中,在判断滑动轨迹是否为与直线或者射线满足相似条件之后,还进一步判断以下至少之一:In some embodiments, after judging whether the sliding track satisfies a similar condition as a straight line or a ray, it is further judged at least one of the following:

所述直线段所在直线经过第二区域;The straight line where the straight line segment is located passes through the second area;

所述射线所在直线经过第二区域;The straight line where the ray is located passes through the second area;

或,or,

所述直线段所在直线经过第二区域的中心;The straight line where the straight line segment is located passes through the center of the second area;

所述射线所在直线经过第二区域的中心。The straight line where the ray is located passes through the center of the second area.

电子设备检测到的滑动操作的滑动轨迹,判断滑动轨迹为与直线或者射线满足相似条件,如满足,且滑动轨迹所在直线经过第二区域或经过第二区域的中心,则可确定该滑动操作为第一类型的滑动操作。The sliding trajectory of the sliding operation detected by the electronic device, and it is judged that the sliding trajectory is similar to the straight line or ray. If it is satisfied, and the line where the sliding trajectory is located passes through the second area or the center of the second area, the sliding operation can be determined as The first type of swipe operation.

通过以上对于滑动轨迹所在直线经过第二区域或经过第二区域的中心的判断,以进一步细化区分滑动操作为第一类型或第二类型,避免部分场景下可能出现的滑动操作的类型的判断错误。例如,对于第一区域的内环边界或外环边界为矩形时,如滑动轨迹为与矩形的一条边平行的线段,此时,滑动轨迹既与直线或者射线满足相似条件,同时还与第一区域的区域形状满足相似条件,导致无法确定滑动操作的类型。而在进一步判断直线段、射线或它们的延长线是否经过第二区域或第二区域的中心后,则显然可以确定出该滑动操作为第一类型的滑动操作。Through the above judgment that the line where the sliding track is located passes through the second area or the center of the second area, it is possible to further refine and distinguish the sliding operation as the first type or the second type, so as to avoid the judgment of the type of sliding operation that may occur in some scenarios. mistake. For example, when the inner ring boundary or outer ring boundary of the first region is a rectangle, if the sliding trajectory is a line segment parallel to one side of the rectangle, at this time, the sliding trajectory not only satisfies the similar conditions as a straight line or a ray, but also meets the first The area shape of the area satisfies similar conditions, making it impossible to determine the type of swipe operation. After further judging whether the straight line segment, the ray or the extension thereof passes through the second area or the center of the second area, it can be clearly determined that the sliding operation is a sliding operation of the first type.

本实施例中,在滑动轨迹为与直线或者射线满足相似条件时,切换显示的表情包,实现对表情包的浏览及选择;在滑动轨迹为与第一区域的区域形状满足相似条件时,切换显示的表情图片,实现对表情图片的浏览及选择。通过识别滑动操作的滑动轨迹的类型,实现对切换显示的具体的备选表情信息的确定,即,基于第一类型滑动操作切换显示表情包,或,基于第二类型滑动操作切换显示表情图片。In this embodiment, when the sliding track satisfies a similar condition with a straight line or a ray, the displayed emoticon package is switched to realize browsing and selection of the emoticon package; when the sliding track satisfies the similar condition with the area shape of the first area, switching The displayed emoticon pictures, realize the browsing and selection of the emoticon pictures. By identifying the type of the sliding trajectory of the sliding operation, the specific alternative expression information for switching display can be determined, that is, the expression package is switched and displayed based on the first type of sliding operation, or the expression picture is switched and displayed based on the second type of sliding operation.

在一些实施例中,所述触控操作包括:滑动操作;In some embodiments, the touch operation includes: a sliding operation;

所述根据所述触控操作的操作参数,切换显示的备选表情信息,包括以下至少之一:The alternative expression information that is switched and displayed according to the operation parameters of the touch operation includes at least one of the following:

根据所述滑动操作的滑动方向,采用与所述滑动方向对应的预设切换方向切换显示的所述备选表情信息;According to the sliding direction of the sliding operation, adopt the preset switching direction corresponding to the sliding direction to switch the displayed candidate expression information;

具体地,一方面,当所述滑动轨迹为与直线或者射线满足相似条件时,所述滑动操作的滑动方向为该滑动操作的产生的触控轨迹起始位置至终点位置的方向。根据所述滑动操作的滑动方向,采用与所述滑动方向对应的预设切换方向切换显示的表情包,例如:Specifically, on the one hand, when the sliding track meets a similar condition as a straight line or a ray, the sliding direction of the sliding operation is the direction from the start position to the end position of the touch track generated by the sliding operation. According to the sliding direction of the sliding operation, use the preset switching direction corresponding to the sliding direction to switch the displayed emoticons, for example:

滑动方向为竖直向上或水平向右,则按照电子设备内存储的表情包的存储顺序,切换显示的表情包,初始显示的表情包为:第一个表情包、指定的表情包或上一次切换至的表情包(记为当前表情包)。If the sliding direction is vertically up or horizontally right, the displayed emoticons will be switched according to the storage order of the emoticons stored in the electronic device. The initially displayed emoticons are: the first emoticon, the specified emoticon or the last emoticon. The emoji to switch to (recorded as the current emoji).

滑动方向为竖直向下或水平向左,则按照电子设备内存储的表情包的存储顺序的相反顺序,切换显示的表情包,初始显示的表情包为最后一个表情包、指定的表情包或上一次切换至的表情包(记为当前表情包)。If the sliding direction is vertical down or horizontal left, the displayed emoticons will be switched in the reverse order of the storage order of emoticons stored in the electronic device. The initially displayed emoticon will be the last emoticon, the specified emoticon or The emoji you switched to last time (recorded as the current emoji).

在另一些实施例中,以滑动操作产生的触控轨迹的起始位置为原点,水平方向为横轴,竖直方向为纵轴,构建平面直角坐标系,则:In other embodiments, the starting position of the touch track generated by the sliding operation is used as the origin, the horizontal direction is the horizontal axis, and the vertical direction is the vertical axis, and a plane rectangular coordinate system is constructed, then:

滑动操作的终点位置位于横轴的上方时,则按照电子设备内存储的表情包的存储顺序,切换显示的表情包;When the end position of the sliding operation is above the horizontal axis, the displayed emoticons are switched according to the storage order of the emoticons stored in the electronic device;

滑动操作的终点位置位于横轴的下方时,则按照电子设备内存储的表情包的存储顺序的相反顺序,切换显示的表情包;When the end position of the sliding operation is located below the horizontal axis, the displayed emoticons are switched according to the reverse order of the storage order of the emoticons stored in the electronic device;

或者,滑动操作的终点位置位于纵轴的右侧时,则按照电子设备内存储的表情包的存储顺序,切换显示的表情包;Or, when the end position of the sliding operation is on the right side of the vertical axis, the displayed emoticons are switched according to the storage order of the emoticons stored in the electronic device;

滑动操作的终点位置位于纵轴的左侧时,则按照电子设备内存储的表情包的存储顺序的相反顺序,切换显示的表情包。When the end position of the sliding operation is located on the left side of the vertical axis, the displayed emoticons are switched according to the reverse order of the storage order of the emoticons stored in the electronic device.

当然,根据实际应用的需要,针对不同的滑动操作的滑动方向,可配置对应至合适的切换显示的表情包的顺序。Of course, according to the needs of practical applications, for different sliding directions of the sliding operation, the order corresponding to the appropriate switching and displayed emoticons can be configured.

另一方面,当所述滑动轨迹为与第一区域的区域形状满足相似条件时,所述滑动操作的滑动方向包括顺时针方向和逆时针方向。根据所述滑动操作的滑动方向,采用与所述滑动方向对应的预设切换方向切换显示的表情图片,这里,预设切换方向包括:表情包内的表情图片的存储顺序和表情包内的表情图片的存储顺序的相反顺序。例如:On the other hand, when the sliding track satisfies a similar condition to the area shape of the first area, the sliding direction of the sliding operation includes a clockwise direction and a counterclockwise direction. According to the sliding direction of the sliding operation, a preset switching direction corresponding to the sliding direction is used to switch the displayed emoticon pictures. Here, the preset switching direction includes: the storage order of the emoticon pictures in the emoticon package and the emoticons in the emoticon package. The reverse order of the storage order of the pictures. E.g:

滑动方向为顺时针方向时,则按照表情包内的表情图片的存储顺序,切换显示的表情图片,初始显示的表情图片为当前表情包的第一个表情图片、指定的表情图片或上一次切换至的表情图片(记为当前表情图片),切换显示的表情图片包括当前表情包内的所有表情图片,或,电子设备中存储的所有表情包中的所有表情图片;When the sliding direction is clockwise, the displayed emoticon pictures are switched according to the storage order of the emoticon pictures in the emoticon package. The initially displayed emoticon picture is the first emoticon picture of the current emoticon package, the specified emoticon picture or the last switch. The emoticon picture to be displayed (referred to as the current emoticon picture), the emoticon picture displayed by switching includes all the emoticon pictures in the current emoticon package, or, all the emoticon pictures in all the emoticon packages stored in the electronic device;

滑动方向为逆时针方向时,则按照表情包内的表情图片的存储顺序的相反顺序,切换显示的表情图片,初始显示的表情图片为当前表情包的最后一个表情图片、指定的表情图片或上一次切换至的表情图片(记为当前表情图片),切换显示的表情图片包括当前表情包内的所有表情图片,或,电子设备中存储的所有表情包中的所有表情图片。When the sliding direction is counterclockwise, the displayed emoticon pictures are switched in the reverse order of the storage order of the emoticon pictures in the emoticon package. The emoticon picture that is switched to at one time (referred to as the current emoticon picture), the emoticon picture displayed by switching includes all the emoticon pictures in the current emoticon package, or, all the emoticon pictures in all the emoticon packages stored in the electronic device.

如图11所示,根据所述滑动操作的滑动速度,采用与所述滑动速度正相关的切换速率,切换显示的所述备选表情信息。As shown in FIG. 11 , according to the sliding speed of the sliding operation, a switching rate positively correlated with the sliding speed is used to switch the displayed candidate expression information.

这里,获取滑动操作的滑动速度v1,单位为米/秒,则,切换速率v2=kv1,单位为张/秒,其中,k为预设值,k>0。Here, the sliding speed v 1 of the sliding operation is obtained, the unit is m/sec, then the switching rate v 2 =kv 1 , the unit is z/sec, where k is a preset value, k>0.

具体地,所述滑动操作的滑动速度为:时间间隔T内的滑动位移S,与所述时间间隔T的比值,即v1=S/T。Specifically, the sliding speed of the sliding operation is: the ratio of the sliding displacement S in the time interval T to the time interval T, that is, v 1 =S/T.

在一些实施例中,若所述备选表情信息为备选表情包,所述目标表情信息为目标表情包;In some embodiments, if the candidate expression information is an alternative expression package, the target expression information is a target expression package;

如图7所示,所述方法还包括:As shown in Figure 7, the method further includes:

步骤S107:将所述目标表情包确定为基于作用于所述环形选择器的触控操作进行切换显示的所述备选表情图片的集合。Step S107: Determine the target emoticon package as the set of candidate emoticon pictures that are switched and displayed based on the touch operation acting on the ring selector.

这里,若备选表情信息为备选表情包,则在步骤S106中,将停止切换时显示的所述备选表情包确定为待操作的目标表情包;进一步地,在步骤S107中,将所述目标表情包确定为基于作用于所述环形选择器的触控操作进行切换显示的所述备选表情图片的集合,即,基于作用于所述环形选择器的触控操作进行切换显示的所述备选表情图片,均为该目标表情包中的表情图片。Here, if the alternative emoticon information is an alternative emoticon package, then in step S106, the alternative emoticon package displayed when the switching is stopped is determined as the target emoticon package to be operated; further, in step S107, all The target emoticon package is determined to be the set of candidate emoticon pictures that are switched and displayed based on the touch operation acting on the ring selector, that is, all the options that are switched and displayed based on the touch operation acting on the ring selector. The candidate emoticon pictures mentioned above are all emoticon pictures in the target emoticon package.

在一些实施例中,所述备选表情信息为备选表情图片,所述目标表情信息为目标表情图片;In some embodiments, the candidate expression information is an alternative expression picture, and the target expression information is a target expression picture;

如图8所示,所述方法还包括:As shown in Figure 8, the method further includes:

S108:检测在确定所述目标表情图片之后作用于确认控件上的确认操作,其中,所述确认控件用于接收是否发送所述目标表情图片的操作;S108: Detecting a confirmation operation acting on a confirmation control after determining the target expression picture, wherein the confirmation control is used to receive an operation of whether to send the target expression picture;

S109:在检测到所述确认操作之后,发送所述目标表情图片。S109: After the confirmation operation is detected, send the target facial expression picture.

本实施例中,在确定目标表情图片之后,检测作用于确认控件上的确认操作,以确定用户是否确定发送该目标表情图片,若检测到确认操作,则发送该目标表情图片。其中,确认控件用于接收是否发送所述目标表情图片的操作,例如,确认控件上设置有“是”和“否”的按钮选项,当检测到作用于按钮选项“是”的触控操作时,则认为检测到作用于确认控件上的确认操作,发送目标表情图片。In this embodiment, after the target expression picture is determined, a confirmation operation acting on the confirmation control is detected to determine whether the user is determined to send the target expression picture, and if the confirmation operation is detected, the target expression picture is sent. Wherein, the confirmation control is used to receive the operation of whether to send the target expression picture, for example, the confirmation control is set with button options of "Yes" and "No", when a touch operation acting on the button option "Yes" is detected , it is considered that the confirmation operation acting on the confirmation control is detected, and the target expression picture is sent.

如图9所示,本发明实施例提供的一种表情信息选取装置20,包括:As shown in FIG. 9 , a device 20 for selecting expression information provided by an embodiment of the present invention includes:

显示单元201,用于在表情选择界面显示环形选择器2011;a display unit 201 for displaying a ring selector 2011 on the expression selection interface;

检测单元202,用于检测作用于所述环形选择器2011的触控操作;a detection unit 202, configured to detect a touch operation acting on the ring selector 2011;

切换单元203,用于在所述触控操作作用于所述环形选择器2011时,根据所述触控操作的操作参数,切换显示的备选表情信息;a switching unit 203, configured to switch the displayed candidate expression information according to the operation parameters of the touch operation when the touch operation acts on the ring selector 2011;

所述切换单元203,还用于在所述触控操作结束时,停止所述备选表情信息的切换;The switching unit 203 is further configured to stop the switching of the alternative expression information when the touch operation ends;

确定单元204,用于将停止切换时显示的所述备选表情信息,确定为待操作的目标表情信息。The determining unit 204 is configured to determine the candidate expression information displayed when the switching is stopped as the target expression information to be operated.

在一些实施例中,所述环形选择器2011包括:第一区域20111和第二区域20112;所述第一区域20111位于所述第二区域20112外侧;所述第一区域20111为环形区域;In some embodiments, the ring selector 2011 includes: a first area 20111 and a second area 20112; the first area 20111 is located outside the second area 20112; the first area 20111 is an annular area;

所述触控操作作用于所述第一区域20111;the touch operation acts on the first area 20111;

所述切换单元203,切换显示的备选表情信息,包括:The switching unit 203 switches the displayed alternative expression information, including:

切换显示在所述第二区域20112内的所述备选表情信息。The alternative expression information displayed in the second area 20112 is switched.

在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:

第一单元,用于根据所述触控操作的类型,确定切换显示的备选表情信息,其中,The first unit is used to determine the alternative expression information for switching display according to the type of the touch operation, wherein,

若所述触控操作的类型为第一类型,切换显示的所述备选表情信息为:备选表情包,所述备选表情包为:表情图片的集合;If the type of the touch operation is the first type, the alternative emoticon information to be switched and displayed is: an alternative emoticon package, and the alternative emoticon package is: a collection of emoticon pictures;

若所述触控操作的类型为第二类型,切换显示的所述备选表情信息为:表情图片。If the type of the touch operation is the second type, the alternative expression information to be switched and displayed is an expression picture.

在一些实施例中,所述触控操作为滑动操作;In some embodiments, the touch operation is a sliding operation;

所述装置还包括:The device also includes:

第二单元,用于根据所述滑动操作的滑动轨迹,确定所述滑动操作的类型;a second unit, configured to determine the type of the sliding operation according to the sliding trajectory of the sliding operation;

其中,若所述滑动轨迹为与直线或者射线满足相似条件,则所述滑动操作为所述第一类型的滑动操作;Wherein, if the sliding trajectory satisfies a similar condition as a straight line or a ray, the sliding operation is the sliding operation of the first type;

若所述滑动轨迹为与第一区域的区域形状满足相似条件,则所述滑动操作为所述第二类型的滑动操作。If the sliding track satisfies a similar condition to the area shape of the first area, the sliding operation is the sliding operation of the second type.

在一些实施例中,所述触控操作包括:滑动操作;In some embodiments, the touch operation includes: a sliding operation;

切换单元203包括:The switching unit 203 includes:

第三单元,用于根据所述滑动操作的滑动方向,采用与所述滑动方向对应的预设切换方向切换显示的所述备选表情信息;a third unit, configured to switch the displayed candidate expression information by using a preset switching direction corresponding to the sliding direction according to the sliding direction of the sliding operation;

第四单元,用于根据所述滑动操作的滑动速度,采用与所述滑动速度正相关的切换速率,切换显示的所述备选表情信息。The fourth unit is configured to switch the displayed candidate expression information according to the sliding speed of the sliding operation and adopt a switching rate that is positively related to the sliding speed.

在一些实施例中,若所述备选表情信息为备选表情图片,所述目标表情信息为目标表情图片;In some embodiments, if the candidate expression information is an alternative expression picture, the target expression information is a target expression picture;

所述装置还包括:The device also includes:

第五单元,用于检测在确定所述目标表情图片之后作用于确认控件上的确认操作;the fifth unit, for detecting the confirmation operation acting on the confirmation control after determining the target expression picture;

第六单元,用于在检测到所述确认操作之后,发送所述目标表情图片。The sixth unit is configured to send the target expression picture after the confirmation operation is detected.

在一些实施例中,若所述备选表情信息为备选表情包,所述目标表情信息为目标表情包;In some embodiments, if the candidate expression information is an alternative expression package, the target expression information is a target expression package;

所述装置还包括:The device also includes:

第七单元将所述目标表情包确定为基于作用于所述环形选择器的触控操作进行切换显示的所述备选表情图片的集合。The seventh unit determines the target emoticon package as a set of the candidate emoticon pictures to be switched and displayed based on the touch operation acting on the ring selector.

在一些实施例中,所述显示单元201,包括:In some embodiments, the display unit 201 includes:

第八单元,用于检测作用于所述表情选择界面的环形选择器入口的进入操作;The eighth unit is used to detect the entry operation of the ring selector entrance acting on the expression selection interface;

第九单元,用于在检测到所述所述进入操作之后,在所述在表情选择界面显示环形选择器。The ninth unit is configured to display a ring selector on the in-expression selection interface after the entering operation is detected.

本发明实施例还提供一种计算机存储介质,该计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被处理器执行后,能够实现前述一个或多个技术方案提供的表情信息选取方法。Embodiments of the present invention further provide a computer storage medium, where computer-executable instructions are stored in the computer storage medium; after the computer-executable instructions are executed by a processor, the method for selecting expression information provided by one or more of the foregoing technical solutions can be implemented .

所述计算机存储介质可为:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质等存储介质,可选为非瞬间存储介质。The computer storage medium can be: a removable storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and other media that can store program codes, etc. Storage medium, optionally non-transitory storage medium.

本发明实施例提供了一种电子设备,其中,所述电子设备至少包括:处理器和用于存储能够在所述处理器上运行的可执行指令的存储器,其中:所述处理器用于运行所述可执行指令时,所述可执行指令执行前述一个或多个技术方案提供的表情信息选取方法的步骤。An embodiment of the present invention provides an electronic device, wherein the electronic device at least includes: a processor and a memory for storing executable instructions that can be executed on the processor, wherein: the processor is configured to execute all When the executable instruction is described, the executable instruction executes the steps of the expression information selection method provided by one or more of the foregoing technical solutions.

以下,以一个具体示例对本发明实施例表情信息选取方法进行说明:Hereinafter, the method for selecting expression information according to the embodiment of the present invention will be described with a specific example:

在移动终端社交应用聊天界面表情输入浮窗(即表情选择界面)被启动时,在所述信息交互界面增加入口开启一个环状选择器。环形选择器的中间部分用于动图的浏览,通过接收用户在环形选择器界面上的触控操作,获取目标触控信息,根据预设的触控信息与表情包、表情图片的对应关系,确定需展示的目标表情图片。When the emoticon input floating window (that is, the emoticon selection interface) in the chat interface of the social application of the mobile terminal is activated, a ring selector is opened by adding an entrance to the information interaction interface. The middle part of the ring selector is used for browsing animations. By receiving the user's touch operation on the interface of the ring selector, the target touch information is obtained. Determine the target emoticon image to display.

锁定目标表情图片后,通过点击环形选择器右侧的按钮,用户可以将选取出的目标表情图片直接输入到相应的聊天界面中。此种触控选择方式能够帮助用户进行快速的表情图片筛选,提高了用户查找特定表情图片的效率。After locking the target emoticon picture, the user can directly input the selected target emoticon picture into the corresponding chat interface by clicking the button on the right side of the ring selector. This touch selection method can help the user to quickly filter the expression pictures, and improve the efficiency of the user to find a specific expression picture.

具体地,以微信为例,如图10所示,表情信息选取方法包括以下步骤:Specifically, taking WeChat as an example, as shown in FIG. 10 , the expression information selection method includes the following steps:

S01:在社交应用中点击表情图标,弹出表情选取浮窗,并显示在输入框下方;S01: Click the emoticon icon in the social application, and the emoticon selection floating window will pop up and display it below the input box;

S02:识别手指点击操作,入口被触发时,调出环形选择器界面;S02: Identify the finger click operation, when the entry is triggered, call up the ring selector interface;

如图3所示,为在微信显示界面中调起环形选择器的一种示意,环形选择器的中间位置为表情图片显示区(即第二区域),默认展示最早添加的表情包的第一个表情;表情图片显示区的周围(即第一区域)是环形触控区域,用以接收用户的手势触控信息。As shown in Figure 3, in order to activate the ring selector in the WeChat display interface, the middle position of the ring selector is the expression picture display area (ie the second area), and the first area of the earliest added expression pack is displayed by default. an expression; the periphery of the expression picture display area (ie, the first area) is a ring-shaped touch area, which is used to receive the user's gesture touch information.

S03:以环形选择器中心为基点检测手指在环形选择器上的操作,若动作为左滑/右滑则向左/右切换表情包,若动作为转动,则切换表情包内图片,获取转动方向,转动的圆周位移S,检测S是否有变化;S03: Use the center of the ring selector as the base point to detect the operation of the finger on the ring selector, if the action is left/right slide, switch the emoticon package to the left/right, if the action is rotation, switch the picture in the emoticon package to obtain the rotation direction, the circular displacement S of the rotation, and detect whether there is a change in S;

用户可以通过在环形触控区域左滑或右滑切换上一个或下一个表情包,这里表情包的顺序与社交应用中默认的排列顺序相对应。Users can switch to the previous or next emoticon by swiping left or right on the annular touch area, where the order of the emoticons corresponds to the default order in social applications.

用户可以通过在环形区域旋转触摸圆环,来查看某一个表情包内的所有表情图片,图片内容将依次被呈现在第二区域,一张一张地切换。表情图片呈现的顺序与表情包内表情图片的排列的顺序一致。The user can view all the emoticon pictures in a certain emoticon package by rotating and touching the ring in the annular area, and the content of the pictures will be presented in the second area in turn, switching one by one. The order in which the expression pictures are presented is the same as the order in which the expression pictures are arranged in the expression package.

S04:如果检测到S有变化,则计算预设时间间隔T内手指转动的速度V=S/T,某一个表情包里的表情图片,切换的速度对转动的速度V进行对应的映射;S04: If it is detected that S has a change, then calculate the speed V=S/T of the finger rotation in the preset time interval T, the expression picture in a certain expression bag, and the speed of switching is mapped to the rotation speed V correspondingly;

如图11所示,表情图片切换的顺序和速度与采集到的用户转动信息(即,触摸圆环的方向和速度V)有对应关系:As shown in Figure 11, the order and speed of the switching of facial expressions have a corresponding relationship with the collected user rotation information (that is, the direction and speed V of the touch ring):

用户手指可以在圆环上绕圆周顺时针或逆时针转动,顺时针转动为正向,从当前表情图片开始正序切换表情图片,逆时针转动为反向,从当前表情图片开始倒序切换表情图片;The user's finger can rotate clockwise or counterclockwise around the circumference of the ring. Clockwise rotation is forward, and the expression picture is switched in positive order from the current expression picture, and counterclockwise is reversed, and the expression picture is switched in reverse order from the current expression picture. ;

转动信息还包括转动速度,通过采集用户手指在单位时间T内移动的圆周位移S来确定。将单位时间预设为较小的值,如0.05秒,可认为在此区间内,用户以转速V做匀速运动,那么,通过每0.05秒采集一次用户手指移动的圆周位移S,可以得出V=S/0.05,体现在图片上应该是同等速度的变化,在转动还没有停止并再次给予一定速度时,表情图片的切换也应获得一定的加速度,从而实现切换的加速或减速。The rotation information also includes the rotation speed, which is determined by collecting the circular displacement S of the user's finger moving in a unit time T. Preset the unit time to a small value, such as 0.05 seconds, it can be considered that within this interval, the user moves at a uniform speed at the rotational speed V, then, by collecting the circular displacement S of the user's finger movement every 0.05 seconds, V can be obtained. =S/0.05, it should be reflected in the picture with the same speed change. When the rotation has not stopped and given a certain speed again, the switching of the expression picture should also obtain a certain acceleration, so as to realize the acceleration or deceleration of the switching.

S05:当用户手指在表情选择界面上停止转动后,表情图片也立即暂停切换,会定格在某一表情图片上;S05: When the user's finger stops rotating on the expression selection interface, the expression picture is also immediately suspended and switched, and will be fixed on a certain expression picture;

S06:如果该表情图片是用户想要选择的,则用户点击右侧的确认按钮,完成选择并将表情图片发送出去。S06: If the emoticon picture is what the user wants to select, the user clicks the confirmation button on the right to complete the selection and send the emoticon picture.

综上,通过环形选择器浏览表情图片,不仅加大了表情图片的显示区域,提高了表情包之间切换的效率,还能使用户通过快速旋转的方式快速跳过不需要的表情图片,而当旋转动作停止时能精确定位所需表情图片,为用户提供了更便捷的交互方式。In summary, browsing emoticon pictures through the ring selector not only increases the display area of emoticon pictures, improves the efficiency of switching between emoticons, but also enables users to quickly skip unnecessary emoticon pictures by rotating quickly. When the rotation action stops, the desired expression picture can be precisely positioned, providing users with a more convenient interaction method.

通过对该环形选择器上触控操作的滑动方向、转动位移和转动方向的获取,对表情图片的组别、切换速度和切换顺序进行控制。在表情图片较多时,用户可以通过左右滑动切换表情包,省去了逐个点击的麻烦;用户还能通过快速转动环形选择器来迅速切换某一表情包中的表情图片,并通过转动的停止来精确定位到目标图片上。和常规的表情选择步骤相比,减少了用户操作的步骤,增加了便捷性,同时,丰富了移动端表情图片浏览和选取的交互方式,加大了操作热区,省去了一张张表情图片长按查看的麻烦。而且,通过对环形选择器的触摸旋转,用户可以快捷地对多张表情图片进行查看和切换,也便于单手操作,贴合持握手机的方式。放大的表情图片能让用户更直观地在移动端有限的屏幕尺寸上看清动图的内容。同时,用户可以通过左右滑动操作,方便地实现表情包之间的切换,降低了表情图片选取的繁琐性,提高了表情选取的效率。By acquiring the sliding direction, rotation displacement and rotation direction of the touch operation on the ring selector, the group, switching speed and switching sequence of the expression pictures are controlled. When there are many emoticon pictures, the user can switch the emoticon package by swiping left and right, saving the trouble of clicking one by one; the user can also quickly switch the emoticon picture in a certain emoticon package by quickly turning the ring selector, and by stopping the rotation Precisely locate the target image. Compared with the conventional emoticon selection steps, it reduces the steps of user operation and increases the convenience. At the same time, it enriches the interactive mode of browsing and selecting emoticon pictures on the mobile terminal, enlarges the operation hotspot, and saves one emoji The trouble of long-pressing to view the picture. Moreover, through the touch and rotation of the ring selector, the user can quickly view and switch between multiple expression pictures, which is also convenient for one-handed operation and fits the way of holding the phone. The enlarged emoticon picture can make the user more intuitive to see the content of the moving picture on the limited screen size of the mobile terminal. At the same time, the user can conveniently switch between the expression packs by sliding left and right, which reduces the tediousness of expression picture selection and improves the efficiency of expression selection.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些端口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the various components shown or discussed may be through some ports, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may all be integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware, the aforementioned program may be stored in a computer-readable storage medium, and when the program is executed, execute The steps of the above method embodiments are included.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (11)

1.一种表情信息选取方法,其特征在于,包括:1. a facial expression information selection method, is characterized in that, comprises: 在表情选择界面显示环形选择器;Display a ring selector in the expression selection interface; 检测作用于所述环形选择器的触控操作;detecting a touch operation acting on the ring selector; 根据所述触控操作的操作参数,切换显示的备选表情信息;According to the operation parameters of the touch operation, switch the displayed alternative expression information; 在所述触控操作结束时,停止所述备选表情信息的切换;When the touch operation ends, stop the switching of the alternative expression information; 将停止切换时显示的所述备选表情信息,确定为待操作的目标表情信息。The candidate expression information displayed when the switching is stopped is determined as the target expression information to be operated. 2.根据权利要求1所述的方法,其特征在于,所述环形选择器包括:第一区域和第二区域;所述第一区域位于所述第二区域外侧;所述第一区域为环形区域;2. The method according to claim 1, wherein the annular selector comprises: a first area and a second area; the first area is located outside the second area; the first area is annular area; 所述检测作用于所述环形选择器的触控操作,包括:The detecting a touch operation acting on the ring selector includes: 检测作用于所述环形选择器的所述第一区域的触控操作;detecting a touch operation acting on the first area of the ring selector; 所述切换显示的备选表情信息,包括:The alternative expression information displayed by the switch includes: 切换显示在所述第二区域内的所述备选表情信息。The candidate expression information displayed in the second area is switched. 3.根据权利要求2所述的方法,其特征在于,在所述根据所述触控操作的操作参数,切换显示的备选表情信息之前,所述方法还包括:3 . The method according to claim 2 , wherein, before switching the displayed alternative expression information according to the operation parameters of the touch operation, the method further comprises: 3 . 根据所述触控操作的类型,确定切换显示的备选表情信息;According to the type of the touch operation, determine the alternative expression information for switching display; 所述根据所述触控操作的类型,确定切换显示的备选表情信息,包括:The determining the alternative expression information for switching display according to the type of the touch operation includes: 若所述触控操作的类型为第一类型,切换显示的所述备选表情信息为:备选表情包,所述备选表情包为:表情图片的集合;If the type of the touch operation is the first type, the alternative emoticon information to be switched and displayed is: an alternative emoticon package, and the alternative emoticon package is: a collection of emoticon pictures; 若所述触控操作的类型为第二类型,切换显示的所述备选表情信息为:表情图片。If the type of the touch operation is the second type, the alternative expression information to be switched and displayed is an expression picture. 4.根据权利要求3所述的方法,其特征在于,所述触控操作为滑动操作;4. The method according to claim 3, wherein the touch operation is a sliding operation; 在所述根据所述触控操作的类型,确定切换显示的备选表情信息之前,所述方法还包括:Before determining the alternative expression information for switching display according to the type of the touch operation, the method further includes: 根据所述滑动操作的滑动轨迹,确定所述滑动操作的类型;determining the type of the sliding operation according to the sliding trajectory of the sliding operation; 所述根据所述滑动操作的滑动轨迹,确定所述滑动操作的类型,包括:The determining the type of the sliding operation according to the sliding trajectory of the sliding operation includes: 若所述滑动轨迹与直线或者射线满足相似条件,则所述滑动操作为所述第一类型的滑动操作;If the sliding trajectory and the straight line or the ray satisfy similar conditions, the sliding operation is the sliding operation of the first type; 若所述滑动轨迹与所述第一区域的区域形状满足相似条件,则所述滑动操作为所述第二类型的滑动操作。If the sliding track and the area shape of the first area satisfy similar conditions, the sliding operation is the sliding operation of the second type. 5.根据权利要求1所述的表情信息选取方法,其特征在于,5. expression information selection method according to claim 1, is characterized in that, 所述触控操作包括:滑动操作;The touch operation includes: a sliding operation; 所述根据所述触控操作的操作参数,切换显示的备选表情信息,包括以下至少之一:The alternative expression information that is switched and displayed according to the operation parameters of the touch operation includes at least one of the following: 根据所述滑动操作的滑动方向,采用与所述滑动方向对应的预设切换方向切换显示的所述备选表情信息;According to the sliding direction of the sliding operation, adopt the preset switching direction corresponding to the sliding direction to switch the displayed candidate expression information; 根据所述滑动操作的滑动速度,采用与所述滑动速度正相关的切换速率,切换显示的所述备选表情信息。According to the sliding speed of the sliding operation, a switching rate positively related to the sliding speed is used to switch the displayed candidate expression information. 6.根据权利要求1所述的方法,其特征在于,若所述备选表情信息为备选表情图片,所述目标表情信息为目标表情图片;6. The method according to claim 1, wherein, if the alternative expression information is an alternative expression picture, the target expression information is a target expression picture; 所述方法还包括:The method also includes: 检测在确定所述目标表情图片之后作用于确认控件上的确认操作,其中,所述确认控件用于接收是否发送所述目标表情图片的操作;Detecting the confirmation operation acting on the confirmation control after determining the target expression picture, wherein the confirmation control is used to receive the operation of whether to send the target expression picture; 在检测到所述确认操作之后,发送所述目标表情图片。After the confirmation operation is detected, the target expression picture is sent. 7.根据权利要求1所述的方法,其特征在于,若所述备选表情信息为备选表情包,所述目标表情信息为目标表情包;7. The method according to claim 1, wherein, if the alternative expression information is an alternative expression bag, the target expression information is a target expression bag; 在所述根据所述触控操作的操作参数,切换显示的备选表情信息之前,所述方法还包括:Before switching the displayed alternative expression information according to the operation parameters of the touch operation, the method further includes: 将所述目标表情包确定为备选表情图片的集合,所述目标表情包内的所述备选表情图片基于作用于所述环形选择器的触控操作进行切换显示。The target emoticon package is determined as a set of candidate emoticon pictures, and the alternative emoticon pictures in the target emoticon package are switched and displayed based on the touch operation acting on the ring selector. 8.根据权利要求1所述的方法,其特征在于,所述在表情选择界面显示环形选择器,包括:8. The method according to claim 1, wherein the displaying a ring selector on the expression selection interface comprises: 检测作用于所述表情选择界面的环形选择器入口的进入操作;Detecting the entry operation of the ring selector entry acting on the expression selection interface; 在检测到所述进入操作之后,在所述在表情选择界面显示环形选择器。After the entering operation is detected, a ring selector is displayed on the in-expression selection interface. 9.一种表情信息选取装置,其特征在于,包括:9. A device for selecting facial expression information, comprising: 显示单元,用于在表情选择界面显示环形选择器;The display unit is used to display the ring selector on the expression selection interface; 检测单元,用于检测作用于所述环形选择器的触控操作;a detection unit for detecting a touch operation acting on the ring selector; 切换单元,用于根据所述触控操作的操作参数,切换显示的备选表情信息;a switching unit, configured to switch the displayed alternative expression information according to the operation parameters of the touch operation; 所述切换单元,还用于在所述触控操作结束时,停止所述备选表情信息的切换;The switching unit is further configured to stop the switching of the alternative expression information when the touch operation ends; 确定单元,用于将停止切换时显示的所述备选表情信息,确定为待操作的目标表情信息。The determining unit is configured to determine the candidate expression information displayed when the switching is stopped as the target expression information to be operated. 10.一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被执行后,能够实现权利要求1至8任一项提供的方法。10. A computer storage medium storing computer-executable instructions; after the computer-executable instructions are executed, the method provided by any one of claims 1 to 8 can be implemented. 11.一种电子设备,其中,所述电子设备至少包括:处理器和用于存储能够在所述处理器上运行的可执行指令的存储器,其中:11. An electronic device, wherein the electronic device comprises at least: a processor and a memory for storing executable instructions capable of running on the processor, wherein: 所述处理器用于运行所述可执行指令时,所述可执行指令执行上述权利要求1至8任一项提供的方法的步骤。When the processor is configured to run the executable instructions, the executable instructions execute the steps of the method provided by any one of the above claims 1 to 8 .
CN202011497203.8A 2020-12-17 2020-12-17 Expression information selection method and device, electronic equipment and storage medium Pending CN114647349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011497203.8A CN114647349A (en) 2020-12-17 2020-12-17 Expression information selection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011497203.8A CN114647349A (en) 2020-12-17 2020-12-17 Expression information selection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114647349A true CN114647349A (en) 2022-06-21

Family

ID=81991237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011497203.8A Pending CN114647349A (en) 2020-12-17 2020-12-17 Expression information selection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114647349A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255820A (en) * 2010-05-18 2011-11-23 腾讯科技(深圳)有限公司 Instant communication method and device
CN102947776A (en) * 2010-06-17 2013-02-27 日本电气株式会社 Information processing terminal and method for controlling operation thereof
CN103488417A (en) * 2008-12-18 2014-01-01 日本电气株式会社 Slide bar display control device and slide bar display control method
US20140098273A1 (en) * 2012-10-10 2014-04-10 Olympus Imaging Corp. Electronic device, driving method of the same, and computer readable recording medium
US20140164975A1 (en) * 2012-12-06 2014-06-12 Dong Sung Kang Terminal with moving keyboard and method for displaying moving keyboard thereof
CN105389114A (en) * 2015-11-10 2016-03-09 北京新美互通科技有限公司 Content input method and device
CN106293428A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 The characters input method of touch control terminal
CN107707452A (en) * 2017-09-12 2018-02-16 阿里巴巴集团控股有限公司 For the information displaying method, device and electronic equipment of expression
CN108803965A (en) * 2018-06-08 2018-11-13 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for displaying icons
CN108920055A (en) * 2018-07-04 2018-11-30 Oppo广东移动通信有限公司 Touch operation method, device, storage medium and electronic device
CN109918011A (en) * 2019-03-05 2019-06-21 唐彬超 A kind of characters input method, computer readable storage medium and terminal device
CN109914562A (en) * 2019-01-31 2019-06-21 厦门瑞尔特卫浴科技股份有限公司 Intelligent closestool step-less adjustment control system based on APP
CN109946990A (en) * 2019-04-19 2019-06-28 北京远鼎科技有限公司 A kind of exchange method, interactive terminal and smart home system
CN110019883A (en) * 2017-07-18 2019-07-16 腾讯科技(深圳)有限公司 Obtain the method and device of expression picture
CN110058570A (en) * 2018-01-18 2019-07-26 佳能株式会社 The control method of information processing unit and display device
CN110263197A (en) * 2019-06-12 2019-09-20 腾讯科技(深圳)有限公司 A kind of image search method, device, computer equipment and storage medium
CN110795589A (en) * 2019-08-20 2020-02-14 腾讯科技(深圳)有限公司 Image searching method and device, computer equipment and storage medium
CN111756917A (en) * 2019-03-29 2020-10-09 上海连尚网络科技有限公司 Information interaction method, electronic device and computer readable medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488417A (en) * 2008-12-18 2014-01-01 日本电气株式会社 Slide bar display control device and slide bar display control method
CN102255820A (en) * 2010-05-18 2011-11-23 腾讯科技(深圳)有限公司 Instant communication method and device
CN102947776A (en) * 2010-06-17 2013-02-27 日本电气株式会社 Information processing terminal and method for controlling operation thereof
US20140098273A1 (en) * 2012-10-10 2014-04-10 Olympus Imaging Corp. Electronic device, driving method of the same, and computer readable recording medium
US20140164975A1 (en) * 2012-12-06 2014-06-12 Dong Sung Kang Terminal with moving keyboard and method for displaying moving keyboard thereof
CN106293428A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 The characters input method of touch control terminal
CN105389114A (en) * 2015-11-10 2016-03-09 北京新美互通科技有限公司 Content input method and device
CN110019883A (en) * 2017-07-18 2019-07-16 腾讯科技(深圳)有限公司 Obtain the method and device of expression picture
CN107707452A (en) * 2017-09-12 2018-02-16 阿里巴巴集团控股有限公司 For the information displaying method, device and electronic equipment of expression
CN110058570A (en) * 2018-01-18 2019-07-26 佳能株式会社 The control method of information processing unit and display device
CN108803965A (en) * 2018-06-08 2018-11-13 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for displaying icons
CN108920055A (en) * 2018-07-04 2018-11-30 Oppo广东移动通信有限公司 Touch operation method, device, storage medium and electronic device
CN109914562A (en) * 2019-01-31 2019-06-21 厦门瑞尔特卫浴科技股份有限公司 Intelligent closestool step-less adjustment control system based on APP
CN109918011A (en) * 2019-03-05 2019-06-21 唐彬超 A kind of characters input method, computer readable storage medium and terminal device
CN111756917A (en) * 2019-03-29 2020-10-09 上海连尚网络科技有限公司 Information interaction method, electronic device and computer readable medium
CN109946990A (en) * 2019-04-19 2019-06-28 北京远鼎科技有限公司 A kind of exchange method, interactive terminal and smart home system
CN110263197A (en) * 2019-06-12 2019-09-20 腾讯科技(深圳)有限公司 A kind of image search method, device, computer equipment and storage medium
CN110795589A (en) * 2019-08-20 2020-02-14 腾讯科技(深圳)有限公司 Image searching method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3951576B1 (en) Content sharing method and electronic device
US12079532B2 (en) Devices, methods, and graphical user interfaces for wireless pairing with peripheral devices and displaying status information concerning the peripheral devices
US11635876B2 (en) Devices, methods, and graphical user interfaces for moving a current focus using a touch-sensitive remote control
JP6553118B2 (en) Continuity
EP3674899B1 (en) Method and device for sharing multimedia resource, and storage medium
US10606469B2 (en) Device, method, and graphical user interface for managing multiple display windows
EP2732364B1 (en) Method and apparatus for controlling content using graphical object
US20180088784A1 (en) Method and Device for Sharing Content
WO2019128732A1 (en) Icon management method and device
KR102517766B1 (en) Device, method, and graphical user interface for accessing an application in a locked device
US9098182B2 (en) Device, method, and graphical user interface for copying user interface objects between content regions
EP2701053B1 (en) Method of controlling function execution in a mobile terminal by recognizing writing gesture and apparatus for performing the same
CN116055610B (en) Method and mobile terminal for displaying graphical user interface
CN107077295A (en) A method, device, electronic device, display interface and storage medium for fast screen splitting
WO2011038669A1 (en) Determining object method, object display method, object switch method and electron device
WO2021179803A1 (en) Content sharing method and apparatus, electronic device and storage medium
WO2022227988A1 (en) Method, apparatus and system for cross-device task migration, and storage medium
CN114647349A (en) Expression information selection method and device, electronic equipment and storage medium
KR102386100B1 (en) Method and apparatus for displaying list in an electronic device
US20240419308A1 (en) Devices, Methods, and User Interfaces for Sharing Content Between Electronic Devices
KR102188265B1 (en) Terminal and method for controlling the same

Legal Events

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

Application publication date: 20220621