[go: up one dir, main page]

CN111967430B - Message processing method, device, electronic device and readable storage medium - Google Patents

Message processing method, device, electronic device and readable storage medium Download PDF

Info

Publication number
CN111967430B
CN111967430B CN202010889083.XA CN202010889083A CN111967430B CN 111967430 B CN111967430 B CN 111967430B CN 202010889083 A CN202010889083 A CN 202010889083A CN 111967430 B CN111967430 B CN 111967430B
Authority
CN
China
Prior art keywords
item object
message
attribute information
item
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010889083.XA
Other languages
Chinese (zh)
Other versions
CN111967430A (en
Inventor
苏佳华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010889083.XA priority Critical patent/CN111967430B/en
Publication of CN111967430A publication Critical patent/CN111967430A/en
Application granted granted Critical
Publication of CN111967430B publication Critical patent/CN111967430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a message processing method and device, and belongs to the technical field of communication. The method comprises the following steps: receiving a target message sent by a target user; extracting attribute information of an object existing in the target message; and outputting the attribute information. The application can output the attribute information of each object in the target message sent by the target user, thereby improving the acquisition efficiency of the attribute information of the object in the session and simplifying the operation of the user when acquiring the attribute information.

Description

消息处理方法、装置、电子设备及可读存储介质Message processing method, device, electronic device and readable storage medium

技术领域Technical Field

本申请属于通信技术领域,具体涉及一种消息处理方法、装置、电子设备及可读存储介质。The present application belongs to the field of communication technology, and specifically relates to a message processing method, device, electronic device and readable storage medium.

背景技术Background technique

随着即时通讯程序的发展,即时通讯程序可以提供会话功能,在会话界面可以对信息进行分享。With the development of instant messaging programs, instant messaging programs can provide a conversation function, and information can be shared in the conversation interface.

在一些应用场景下,会话界面内的会话成员可以在该会话内分享关于各个物品对象的会话消息,但是,由于会话界面内的会话消息更新速度较快,用户一般不会实时关注会话界面内的会话消息的内容。In some application scenarios, conversation members in a conversation interface can share conversation messages about various object objects in the conversation. However, since the conversation messages in the conversation interface are updated quickly, users generally do not pay attention to the content of the conversation messages in the conversation interface in real time.

那么当用户需要查看会话界面内关于一些物品对象的信息时,由于会话界面内会话消息较多,则用户需要将会话界面内的大多数或全部会话消息浏览一遍才可以获取到相应物品对象的信息,因此,相关技术中,在获取会话中关于各个物品对象的信息时,存在获取效率较低和操作繁琐的问题。Then, when the user needs to view the information about some object in the conversation interface, since there are many conversation messages in the conversation interface, the user needs to browse most or all of the conversation messages in the conversation interface before obtaining the information of the corresponding object. Therefore, in the related art, when obtaining the information about each object in the conversation, there are problems of low acquisition efficiency and cumbersome operation.

发明内容Summary of the invention

本申请实施例的目的是提供一种消息处理方法、装置、电子设备及可读存储介质,能够解决相关技术中的在获取会话中关于各个物品对象的信息时,存在的获取效率较低和操作繁琐的问题。The purpose of the embodiments of the present application is to provide a message processing method, device, electronic device and readable storage medium, which can solve the problems of low acquisition efficiency and cumbersome operation when obtaining information about each item object in a session in the related art.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种消息处理方法,该方法包括:In a first aspect, an embodiment of the present application provides a message processing method, the method comprising:

接收目标用户发送的目标消息;Receive target messages sent by target users;

提取所述目标消息中存在的物品对象的属性信息;Extracting attribute information of the item object present in the target message;

输出所述属性信息。The attribute information is output.

第二方面,本申请实施例提供了一种消息处理装置,该装置包括:In a second aspect, an embodiment of the present application provides a message processing device, the device comprising:

第一接收模块,用于接收目标用户发送的目标消息;A first receiving module, used for receiving a target message sent by a target user;

第一提取模块,用于提取所述目标消息中存在的物品对象的属性信息;A first extraction module, used to extract attribute information of an item object present in the target message;

输出模块,用于输出所述属性信息。An output module is used to output the attribute information.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

在本申请实施例中,可以获取由目标用户发送的目标消息,并提取该目标消息中存在的物品对象的属性信息,从而可以得到由目标用户在一个会话中分享的各个物品对象的信息,并输出所获取的上述各个物品对象的属性信息。在输出会话内目标用户分享的物品对象的信息时,无需用户回看历史会话消息,简化了用户的操作步骤;而且,当用户需要获取该会话内的各个物品对象的信息时,本申请实施例的方法可以通过直接输出该会话内由目标用户分享的各个物品对象的属性信息,从而提升了对会话内物品对象的信息的获取效率。In the embodiment of the present application, the target message sent by the target user can be obtained, and the attribute information of the item object in the target message can be extracted, so that the information of each item object shared by the target user in a session can be obtained, and the attribute information of each item object obtained can be output. When outputting the information of the item object shared by the target user in the session, the user does not need to look back at the historical session messages, which simplifies the user's operation steps; moreover, when the user needs to obtain the information of each item object in the session, the method of the embodiment of the present application can directly output the attribute information of each item object shared by the target user in the session, thereby improving the efficiency of obtaining the information of the item objects in the session.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请一个实施例的消息处理方法的流程图;FIG1 is a flow chart of a message processing method according to an embodiment of the present application;

图2是本申请一个实施例的群聊界面的示意图;FIG2 is a schematic diagram of a group chat interface according to an embodiment of the present application;

图3是本申请一个实施例的物品对象的预设属性信息的示意图;FIG3 is a schematic diagram of preset attribute information of an item object according to an embodiment of the present application;

图4是本申请一个实施例的物品对象的预设属性信息的实例图;FIG4 is a diagram showing an example of preset attribute information of an item object according to an embodiment of the present application;

图5是本申请一个实施例的物品对象的标识信息的列表示意图;FIG5 is a schematic diagram of a list of identification information of an object according to an embodiment of the present application;

图6是本申请一个实施例的物品对象的预设属性信息的列表示意图;FIG6 is a schematic diagram of a list of preset attribute information of an item object according to an embodiment of the present application;

图7是本申请一个实施例的用于分享物品对象的预设属性信息的图片示意图;FIG. 7 is a schematic diagram of a picture for sharing preset attribute information of an object according to an embodiment of the present application;

图8是本申请一个实施例的消息处理装置的框图;FIG8 is a block diagram of a message processing device according to an embodiment of the present application;

图9是本申请一个实施例的电子设备的硬件结构示意图;FIG9 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application;

图10是本申请另一个实施例的电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of the hardware structure of an electronic device according to another embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息处理方法进行详细地说明。The message processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

参照图1,示出了本申请一个实施例的消息处理方法的流程图,所述方法具体可以包括如下步骤:1 , a flow chart of a message processing method according to an embodiment of the present application is shown. The method may specifically include the following steps:

步骤101,接收目标用户发送的目标消息;Step 101, receiving a target message sent by a target user;

其中,目标消息可以是群组内的会话消息,也可以是非群组的会话消息(例如即时通讯程序的两个用户间在一个会话界面内的会话消息)。The target message may be a conversation message within a group, or a conversation message outside a group (eg, a conversation message between two users of an instant messaging program in a conversation interface).

此外,该目标消息可以包括目标消息所属消息界面内的新消息,也可以包括该消息界面内的旧消息。In addition, the target message may include a new message in the message interface to which the target message belongs, and may also include an old message in the message interface.

该目标用户可以是一个或多个,例如在一个购物群中可以包括不同层级的多个代购用户(都是目标用户),该多个代购用户均可以在该购物群内分享他们提供的可以代为购买的物品对象的属性信息。The target user may be one or more. For example, a shopping group may include multiple purchasing agents at different levels (all of which are target users). The multiple purchasing agents may share the attribute information of the items they provide that can be purchased on behalf of others in the shopping group.

该接收操作也可以等同于获取操作。The receiving operation may also be equivalent to the acquiring operation.

考虑到群组内的群消息更新速度较快,而更容易存在获取会话中关于各个物品对象的信息效率较低和操作繁琐的问题,所以,后文实施例均以消息处理方法所处理的消息为群消息为例进行说明。Considering that group messages within a group are updated quickly, it is more likely that there will be problems with low efficiency and cumbersome operations in obtaining information about each object in the conversation. Therefore, the following embodiments are all explained using the message processing method as a group message as an example.

对于步骤101的触发时机而言,可以是在该目标群组内接收到由目标用户发送的新会话消息的情况下,执行步骤101;也可以按照预设周期来触发步骤101的执行;还可以是在接收到下述实施例中所限定的对所述目标消息所属的消息界面的第一输入的情况下,来执行步骤101。As for the triggering timing of step 101, step 101 may be executed when a new conversation message sent by the target user is received in the target group; the execution of step 101 may also be triggered according to a preset period; or step 101 may be executed when the first input to the message interface to which the target message belongs as defined in the following embodiments is received.

对于步骤101所接收的目标消息,例如群会话消息,可以是该目标群组中由目标用户发送的全部的群会话消息,或者,可以是最近预设时长的群会话消息(避免很久以前的历史会话消息涉及的物品对象的预设属性信息已经过期,例如已经不在售卖)。The target message received in step 101, such as a group conversation message, may be all group conversation messages sent by the target user in the target group, or may be the most recent group conversation message of a preset duration (to avoid the situation where the preset attribute information of the item object involved in a historical conversation message a long time ago has expired, such as it is no longer for sale).

在一个示例中,如图2所示,例如图2中的“亲朋好友群”接收到了昵称为“代购”的群成员发送的会话消息14,即该会话消息14为该群组内的一条新会话消息,那么预先配置了目标用户为昵称为“代购”的群成员,则可以获取该新会话消息,然后,将新会话消息的发送者的昵称与目标用户的昵称进行匹配,如果一致,则说明新会话消息是由目标用户发送的,从而执行下述步骤102;如果不一致,则说明新会话消息不是由目标用户发送的,可以将获取到的上述新会话消息进行丢弃。In an example, as shown in FIG. 2 , for example, the “Friends and Family Group” in FIG. 2 receives a conversation message 14 sent by a group member nicknamed “Daigou”, that is, the conversation message 14 is a new conversation message in the group. Then, the target user is pre-configured as a group member nicknamed “Daigou”, and the new conversation message can be obtained. Then, the nickname of the sender of the new conversation message is matched with the nickname of the target user. If they are consistent, it means that the new conversation message is sent by the target user, and the following step 102 is executed; if they are inconsistent, it means that the new conversation message is not sent by the target user, and the obtained new conversation message can be discarded.

步骤102,提取所述目标消息中存在的物品对象的属性信息;Step 102, extracting attribute information of the item object present in the target message;

在一个示例中,属性信息可以是根据用户预先设置的关键词来提取。In one example, the attribute information may be extracted based on keywords preset by the user.

其中,物品对象的属性信息所涉及的预设属性可以包括物品对象的标识(例如名称、图像、简称)、价格、售卖状态(例如直邮包税、现货、售罄),可选地,还可以包括物品对象的简介。因此,物品对象的属性信息也可以称为物品对象的预设属性信息。The preset attributes involved in the attribute information of the item object may include the item object's identification (e.g., name, image, abbreviation), price, and sales status (e.g., direct mail tax-inclusive, in stock, sold out), and optionally, may also include a brief introduction of the item object. Therefore, the attribute information of the item object may also be referred to as the preset attribute information of the item object.

其中,可以通过图片识别、文本信息提取、文本语义分析、文本自动处理、去重等技术,来对步骤101获取到的由如图2中的昵称为“代购”的群成员(可以为群主)发送的群会话消息,进行分析处理,从而可以按照预设属性来提取步骤101得到的群会话消息所涉及的每个物品对象的预设属性信息。The group conversation message obtained in step 101 and sent by a group member (who may be a group owner) with a nickname of "Daigou" as shown in FIG. 2 can be analyzed and processed by using technologies such as image recognition, text information extraction, text semantic analysis, automatic text processing, and deduplication, so that the preset attribute information of each item object involved in the group conversation message obtained in step 101 can be extracted according to the preset attributes.

其中,步骤102中的物品对象的数量可以是一个或多个,具体数量取决于步骤101获取到的群会话消息的具体消息内容。The number of item objects in step 102 may be one or more, and the specific number depends on the specific message content of the group conversation message obtained in step 101 .

在一个示例中,本步骤中对目标群组中由目标用户发送的群会话消息提取到了所涉及的物品对象的预设属性信息,那么提取到的这些预设属性信息可以按照物品对象的不同以列表的方式进行存储,从而生成各个物品对象的预设属性信息的列表,在该列表中每个物品对象的预设属性信息为一组数据,该列表由至少一组数据构成。In one example, in this step, the preset attribute information of the item objects involved in the group conversation message sent by the target user in the target group is extracted. Then, the extracted preset attribute information can be stored in a list according to the different item objects, thereby generating a list of preset attribute information of each item object, in which the preset attribute information of each item object is a group of data, and the list is composed of at least one group of data.

步骤103,输出所述属性信息。Step 103: output the attribute information.

其中,可以将基于目标消息所提取到的各个物品对象的属性信息输出。Among them, the attribute information of each item object extracted based on the target message can be output.

其中,在输出所述物品对象的预设属性信息时,由于预设属性信息可以包括多种预设属性的信息,因此,这里的输出操作可以是一次性将各个物品对象的多种预设属性信息全部输出,也可以采用后续实施例所描述的首先输出每个物品对象的标识信息,然后,再根据用户的需求输出一个或多个物品对象的预设属性信息。Among them, when outputting the preset attribute information of the item object, since the preset attribute information may include information of multiple preset attributes, the output operation here may be to output all the multiple preset attribute information of each item object at one time, or to first output the identification information of each item object as described in the subsequent embodiments, and then output the preset attribute information of one or more item objects according to the user's needs.

此外,对于所述物品对象的预设属性信息的输出方式可以是文本显示方式、图像显示方式或语音输出方式等方式;In addition, the output mode of the preset attribute information of the item object may be a text display mode, an image display mode or a voice output mode;

而文本显示方式可以是将各个物品对象的预设属性信息在该目标群组的群聊界面内显示(例如在图2中的图标11附近显示),也可以不在该目标群组的群聊界面内显示。The text display method may be to display the preset attribute information of each item object in the group chat interface of the target group (for example, display it near the icon 11 in FIG. 2 ), or may not display it in the group chat interface of the target group.

在一个示例中,图3示出了以文本显示方式来显示物品对象的预设属性信息时,物品对象的预设属性信息的显示方式。In one example, FIG. 3 shows a display manner of the preset attribute information of an item object when the preset attribute information of the item object is displayed in a text display manner.

如图3所示,预设属性可以包括商品名称、商品图片、价格、简介以及售卖状态,因此,可以按照图3所示的结构,来显示一个物品对象的预设属性信息。具体的,如图4所示,通过对图2中由昵称为“代购”的群成员发送的群会话消息(包括会话消息12、会话消息13以及会话消息14)提取物品对象的预设属性信息,则在输出一个物品对象的预设属性信息时,可以输出所述物品对象的属性列表,其中,所述属性列表包括图片信息以及文本格式的属性信息。在一个示例中,可以参照图3所示的将文本与图片合成的方式,显示如图4所示的一个物品对象的属性列表,其中,在图4中,该属性列表包括描述该物品对象的图片信息,以及描述该物品对象的文本格式的属性信息,例如该物品对象的商品名称为“Avocado Oil”,价格为“¥169”,简介为“500ml、DHA婴幼儿辅食油”,售卖状态为“直邮包税”。As shown in FIG3, the preset attributes may include a product name, a product image, a price, a brief introduction, and a selling status. Therefore, the preset attribute information of an item object can be displayed according to the structure shown in FIG3. Specifically, as shown in FIG4, by extracting the preset attribute information of the item object from the group conversation message (including conversation message 12, conversation message 13, and conversation message 14) sent by the group member nicknamed "Daigou" in FIG2, when outputting the preset attribute information of an item object, the attribute list of the item object can be output, wherein the attribute list includes picture information and attribute information in text format. In an example, the attribute list of an item object as shown in FIG4 can be displayed with reference to the method of synthesizing text and pictures as shown in FIG3, wherein in FIG4, the attribute list includes picture information describing the item object, and attribute information in text format describing the item object, such as the product name of the item object is "Avocado Oil", the price is "¥169", the brief introduction is "500ml, DHA baby food supplement oil", and the selling status is "direct mail tax included".

在消息处理上,可以将关于同一个物品对象的图片格式的消息和文本格式的消息进行汇总,从而按照图4的方式进行该物品对象的属性信息的输出。In message processing, the picture format messages and text format messages about the same item object may be aggregated, so as to output the attribute information of the item object in the manner shown in FIG. 4 .

在本申请实施例中,可以获取由目标用户发送的目标消息,并提取该目标消息中存在的物品对象的属性信息,从而可以得到由目标用户在一个会话中分享的各个物品对象的信息,并输出所获取的上述各个物品对象的属性信息。在输出会话内目标用户分享的物品对象的信息时,无需用户回看历史会话消息,简化了用户的操作步骤;而且,当用户需要获取该会话内的各个物品对象的信息时,本申请实施例的方法可以通过直接输出该会话内由目标用户分享的各个物品对象的属性信息,从而提升了对会话内物品对象的信息的获取效率。In the embodiment of the present application, the target message sent by the target user can be obtained, and the attribute information of the item object in the target message can be extracted, so that the information of each item object shared by the target user in a session can be obtained, and the attribute information of each item object obtained can be output. When outputting the information of the item object shared by the target user in the session, the user does not need to look back at the historical session messages, which simplifies the user's operation steps; moreover, when the user needs to obtain the information of each item object in the session, the method of the embodiment of the present application can directly output the attribute information of each item object shared by the target user in the session, thereby improving the efficiency of obtaining the information of the item objects in the session.

可选地,在执行步骤103时,可以通过接收对所述目标消息所属的消息界面的第一输入;然后,响应于所述第一输入,输出所述属性信息。Optionally, when executing step 103, a first input to a message interface to which the target message belongs may be received; and then, in response to the first input, the attribute information may be output.

在一个示例中,该第一输入可以是第一用户对目标消息所属的目标群组的消息界面的第一输入;In one example, the first input may be a first input of a first user to a message interface of a target group to which the target message belongs;

可选地,该目标群组可以是即时通讯程序中的任意一个群组,也可以是用户设置有预设标签的群组,例如该预设标签为“购物群”,说明具有该预设标签的群组内主要的群聊内容是关于物品对象的信息的。Optionally, the target group may be any group in the instant messaging program, or a group with a preset label set by the user, for example, the preset label is "shopping group", indicating that the main group chat content in the group with the preset label is information about item objects.

其中,该第一用户可以是本申请实施例的方法所应用的电子设备的机主用户,也可以是其他非机主用户,此外,该第一用户也可以与目标用户相同或不同。The first user may be the owner of the electronic device to which the method of the embodiment of the present application is applied, or may be another non-owner user. In addition, the first user may be the same as or different from the target user.

本步骤中,当第一用户想要快速查看目标群组内关于分享的物品对象的预设属性信息时,则可以对该目标群组触发第一输入。In this step, when the first user wants to quickly view the preset attribute information about the shared item object in the target group, the first input can be triggered for the target group.

在一个示例中,如图2所示,示出了一个目标群组(这里为名称为“亲朋好友群”的群组)的群聊界面的示意图,该聊天界面不仅显示有该目标群组内的群聊记录,即多条群会话消息(这里示意性的示出了由昵称为“代购”的群成员所发送的会话消息12、会话消息13以及会话消息14),还可以显示有本申请实施例在目标群组中设置的图标11,第一用户可以通过对图标11进行第一输入的操作,例如单击输入的操作来触发上述步骤101的执行,从而获取该目标群组中由昵称为“代购”的目标用户发送的多个目标消息,即会话消息。In an example, as shown in Figure 2, a schematic diagram of a group chat interface of a target group (here a group named "Friends and Family Group") is shown. The chat interface not only displays the group chat records in the target group, that is, multiple group conversation messages (here schematically showing conversation message 12, conversation message 13 and conversation message 14 sent by a group member nicknamed "Daigou"), but also can display icon 11 set in the target group in an embodiment of the present application. The first user can trigger the execution of the above step 101 by performing a first input operation on icon 11, such as a single-click input operation, thereby obtaining multiple target messages, that is, conversation messages, sent by a target user nicknamed "Daigou" in the target group.

需要说明的是,图2中的会话消息12和会话消息13均为图片,由于这里只是示意性的示出了一个群聊的图片,因此,该图片的具体文本和图像内容并不用于限制本申请。It should be noted that the conversation messages 12 and 13 in FIG. 2 are both pictures. Since a picture of a group chat is only schematically shown here, the specific text and image content of the picture are not used to limit the present application.

在本发明实施例中,当用户需要获取会话内由目标用户分享的关于各个物品对象的信息时,则只需要对该目标用户分享的各个目标消息所属的消息界面触发第一输入,则本申请实施例的方法就可以响应于该第一输入,获取由目标用户发送的目标消息,并提取该目标消息中存在的物品对象的属性信息,从而可以得到由目标用户在一个会话中分享的各个物品对象的信息,并输出所获取的上述各个物品对象的属性信息。在这个过程中,用户只需要触发第一输入,而无需回看该消息界面内的历史会话消息,从而进一步简化了用户在获取会话中分享的物品对象的信息时的操作步骤。In an embodiment of the present invention, when a user needs to obtain information about each item object shared by a target user in a conversation, he only needs to trigger the first input on the message interface to which each target message shared by the target user belongs. Then, the method of the embodiment of the present application can respond to the first input, obtain the target message sent by the target user, and extract the attribute information of the item object in the target message, so as to obtain the information of each item object shared by the target user in a conversation, and output the obtained attribute information of each item object. In this process, the user only needs to trigger the first input, without looking back at the historical conversation messages in the message interface, thereby further simplifying the operation steps of the user in obtaining the information of the item objects shared in the conversation.

可选地,在一个实施例中,所述预设属性信息可以包括标识(例如名称、图像、简称等)信息,其中,标识信息用于唯一性的指示物品对象,因此,不同物品对象的标识信息不同,同一物品对象的标识信息相同。Optionally, in one embodiment, the preset attribute information may include identification (such as name, image, abbreviation, etc.) information, wherein the identification information is used to uniquely indicate the object of the item, so the identification information of different item objects is different, and the identification information of the same item object is the same.

那么在执行步骤102时,可以在每条所述目标消息均携带物品对象的标识信息的情况下,提取每条所述目标消息中物品对象的标识信息;在多条所述目标消息包括未携带物品对象的标识信息的第一消息以及携带物品对象的标识信息的第二消息的情况下,提取所述第二消息中物品对象的标识信息,以及按照所述多条目标消息之间的时间顺序,将所述多条目标消息中排列在所述第一消息之前且距离所述第一消息最近的第二消息对应的物品对象的标识信息,设置为所述第一消息对应的物品对象的标识信息;最后,对于与同一所述标识信息对应的多个目标消息,按照所述时间顺序,提取与所述同一标识信息对应的物品对象的属性信息。Then when executing step 102, in the case that each of the target messages carries the identification information of the item object, the identification information of the item object in each of the target messages can be extracted; in the case that the multiple target messages include a first message that does not carry the identification information of the item object and a second message that carries the identification information of the item object, the identification information of the item object in the second message can be extracted, and according to the time sequence between the multiple target messages, the identification information of the item object corresponding to the second message that is arranged before the first message and closest to the first message in the multiple target messages is set as the identification information of the item object corresponding to the first message; finally, for multiple target messages corresponding to the same identification information, the attribute information of the item object corresponding to the same identification information is extracted according to the time sequence.

具体而言,由于步骤101获取到的目标消息都是目标用户发送至目标群组的会话消息,那么这些群会话消息之间是存在着消息发送的时间顺序的,例如图2中,按照消息发送时间从早到晚的顺序排列,依次为会话消息12、会话消息13和会话消息14。由于群会话消息不仅携带着消息内容,还携带着发送时间这一时间信息,因此,相当于步骤101不仅可以获取到上述目标消息的消息内容,还可以获取到该多个目标消息之间的上述时间顺序。Specifically, since the target messages acquired in step 101 are all conversation messages sent by the target user to the target group, there is a time sequence of message sending between these group conversation messages. For example, in FIG2 , the messages are arranged in order from earliest to latest in terms of message sending time, namely, conversation message 12, conversation message 13, and conversation message 14. Since the group conversation message carries not only the message content but also the time information of the sending time, it is equivalent to that step 101 can acquire not only the message content of the above target message but also the above time sequence between the multiple target messages.

对于上述多个目标消息(这里为多个群会话消息)而言,有的群会话消息的消息内容中可以携带物品对象的标识信息,例如该标识信息为商品名称,则可以例如对图2中的会话消息12、会话消息13进行图片识别,并提取文本信息,从而可以确定会话消息12和会话消息13分别对应的物品对象的商品名称;再如对图2中的会话消息14进行文本信息提取以及文本语义分析,可以确定会话消息14对应的物品对象的商品名称;For the above-mentioned multiple target messages (here, multiple group conversation messages), the message content of some group conversation messages may carry identification information of an object, for example, the identification information is a product name, and then, for example, image recognition may be performed on conversation messages 12 and 13 in FIG. 2 , and text information may be extracted, so that the product names of the object corresponding to conversation messages 12 and 13 may be determined; for another example, text information extraction and text semantic analysis may be performed on conversation message 14 in FIG. 2 , so that the product name of the object corresponding to conversation message 14 may be determined;

当然,上述多个群会话消息中,有的群会话消息的消息内容中可能并没有携带物品对象的商品名称,例如目标用户依次发送了3条群消息,按照发送时间从早到晚的顺序,该3条群消息涉及的关键信息依次为:XX洗发液、价格100元/瓶、降价了当前价格为80元/瓶,显然,后两条群消息并无法直接提取到物品对象的标识信息,那么针对这种情况考虑到这三条群消息由于存在着上述发送时间从早到晚的顺序,而相邻的群消息涉及的物品对象一般为同一个,因此,可以基于该顺序,来将上述3条群消息中第一条群消息所提取的商品名称(XX洗发液),同样设置为该3条群消息中后两条群消息的商品名称,这样,就将杂乱无序的步骤101所获取到的每条群会话消息均提取并确定了物品对象的商品名称,即标识信息;Of course, among the above-mentioned multiple group conversation messages, some group conversation messages may not carry the commodity name of the object in their message content. For example, the target user sends three group messages in sequence. According to the order of sending time from morning to night, the key information involved in the three group messages is: XX shampoo, price 100 yuan/bottle, price reduced to 80 yuan/bottle. Obviously, the identification information of the object cannot be directly extracted from the last two group messages. In view of this situation, considering that the three group messages have the above-mentioned order of sending time from morning to night, and the object involved in adjacent group messages is generally the same, therefore, based on this order, the commodity name (XX shampoo) extracted from the first group message of the above-mentioned three group messages can be set to the commodity name of the last two group messages of the three group messages. In this way, the commodity name of the object, that is, the identification information, is extracted and determined for each group conversation message obtained in the disorderly step 101.

那么关联有同一标识信息的多条群会话消息所含有的消息内容就都是关于该同一标识信息对应的物品对象的,因此,可以对关联有同一标识的多条群会话消息分别提取预设属性的属性值(即预设属性信息),在提取时,为了确保提取的各个预设属性的属性值是最新的而非过期的,可以按照步骤101得到的多条群会话消息之间的时间顺序,或者这里关联有同一标识信息的多条群会话消息之间的时间顺序,来对关联有同一标识信息的多条群会话消息提取各个预设属性的最新属性值,在提取时可以使用图片识别技术、文本信息提取技术、文本语义分析技术、文本自动处理技术以及文本去重技术。例如关联有同一标识信息的该3条群消息涉及的关键信息依次为:XX洗发液、价格100元/瓶、降价了当前价格为80元/瓶,则提取到的预设属性信息中关于价格属性的属性值就是最新80元/瓶,而非过期的价格100元/瓶。Then the message contents contained in the multiple group conversation messages associated with the same identification information are all about the object corresponding to the same identification information. Therefore, the attribute values of the preset attributes (i.e., the preset attribute information) can be extracted from the multiple group conversation messages associated with the same identification information. When extracting, in order to ensure that the attribute values of each preset attribute extracted are the latest and not expired, the latest attribute values of each preset attribute can be extracted from the multiple group conversation messages associated with the same identification information according to the time sequence between the multiple group conversation messages obtained in step 101, or the time sequence between the multiple group conversation messages associated with the same identification information here. When extracting, image recognition technology, text information extraction technology, text semantic analysis technology, text automatic processing technology, and text deduplication technology can be used. For example, the key information involved in the three group messages associated with the same identification information is: XX shampoo, price 100 yuan/bottle, price reduction current price 80 yuan/bottle, then the attribute value of the price attribute in the extracted preset attribute information is the latest 80 yuan/bottle, not the expired price 100 yuan/bottle.

在相关技术中,当用户需要从目标群组中获取到想要了解的物品对象的最新状态时,则需要重新去翻找该目标群组的聊天记录来确认所需的物品对象是否可购买,以及物品对象的最新售卖状态,这个过程中还需要反复跟代购用户进行确认,操作过程非常繁琐,无法快速知晓该目标群组中目前所分享的物品对象的最新状态信息;而在本申请实施例中,可以基于目标用户向目标群组发送的多个群会话消息之间的时间顺序,来提取每个群会话消息中物品对象的标识信息,使得每个群会话信息都有与之关联的物品对象的标识信息,从而可以将涉及同一物品对象的多个群会话消息识别到,这样提取预设属性信息的数据源是比较全面、且准确的对应同一标识信息的多个群会话消息,能够提升对提取的各个物品对象的预设属性信息的全面性和准确性;此外,在对对应同一标识信息的多个群会话消息提取预设属性信息时,可以基于上述时间顺序来进行提取,由于同一物品对象的同一属性的最新属性值对应的消息发送时间,是晚于其过期属性值的,因此,可以基于该时间顺序来获取到同一物品对象的各个预设属性的最新属性值,避免输出的预设属性信息是物品对象的过期属性值,提升了对物品对象的最新状态信息的获取准确性,从而能够方便用户利用输出的各个物品对象的预设属性信息,来快速定位用户所需要,或者说所关注的物品对象的最新的状态信息。In the related art, when a user needs to obtain the latest status of an item object that he wants to know from a target group, he needs to search the chat history of the target group again to confirm whether the required item object is available for purchase and the latest sales status of the item object. In this process, he needs to confirm with the purchasing agent repeatedly. The operation process is very cumbersome, and it is impossible to quickly know the latest status information of the item object currently shared in the target group. In the embodiment of the present application, the identification information of the item object in each group conversation message can be extracted based on the time sequence between multiple group conversation messages sent by the target user to the target group, so that each group conversation message has the identification information of the item object associated with it, so that multiple group conversation messages involving the same item object can be identified, so that the data source for extracting the preset attribute information is relatively comprehensive and And accurately corresponding to multiple group conversation messages with the same identification information can improve the comprehensiveness and accuracy of the preset attribute information of each extracted object; in addition, when extracting the preset attribute information from multiple group conversation messages corresponding to the same identification information, the extraction can be performed based on the above-mentioned time sequence. Since the message sending time corresponding to the latest attribute value of the same attribute of the same object is later than its expired attribute value, the latest attribute value of each preset attribute of the same object can be obtained based on the time sequence, avoiding the output preset attribute information being the expired attribute value of the object, and improving the accuracy of obtaining the latest status information of the object, so that the user can use the output preset attribute information of each object to quickly locate the latest status information of the object that the user needs or is concerned about.

可选地,在一个实施例中,所述预设属性信息可以包括所述标识(例如名称、图像、简称等)信息,那么在执行步骤103时,可以首先输出所述物品对象的标识信息(例如响应于所述第一输入,输出所述物品对象的标识信息);然后,接收(例如所述第一用户)对所述物品对象的标识信息中第一物品对象的第一标识信息的第二输入,其中,所述物品对象包括所述第一物品对象;最后,响应于所述第二输入,输出所述第一物品对象的属性信息。Optionally, in one embodiment, the preset attribute information may include the identification (such as name, image, abbreviation, etc.) information. Then, when executing step 103, the identification information of the item object may be output first (for example, in response to the first input, the identification information of the item object is output); then, a second input of the first identification information of the first item object in the identification information of the item object is received (for example, by the first user), wherein the item objects include the first item object; finally, in response to the second input, the attribute information of the first item object is output.

在一个示例中,结合图2来看,当用户点击了图标11来触发第一输入后,则可以显示如图5所示的商品名称的列表(这里物品对象的标识信息为物品对象的名称信息),说明图2中由昵称为“代购”的群成员所发送的多个群会话消息涉及的物品对象包括如图5所示的3个物品对象。In an example, in combination with Figure 2, when the user clicks icon 11 to trigger the first input, a list of product names as shown in Figure 5 can be displayed (the identification information of the item object here is the name information of the item object), indicating that the item objects involved in the multiple group conversation messages sent by the group member nicknamed "Daigou" in Figure 2 include the three item objects shown in Figure 5.

由于图5为了避免界面内容过多仅仅显示了物品对象的标识信息(这里为商品名称),当用户对这3个物品对象中至少一个物品对象感兴趣,而需要浏览更详尽的属性信息时,则可以对图5中的物品对象的商品名称触发第二输入,例如点击“商品名称1”图标,那么如图6所示,就可以将商品名称为“商品名称1”的物品对象的除标识信息之外的预设属性信息进一步也展示出来,使得商品名称为“商品名称1”的物品对象的预设属性信息都被展示出来。这里展示了图像属性信息(即商品图片1)、价格属性信息(即价格1)、简介属性信息(这里为简介1)、售卖状态属性信息(这里为售卖状态1);同理,当用户对图5中的“商品名称2”、“商品名称3”的物品对象的详尽属性信息也感兴趣,则同样对这两个物品对象的标识触发第二输入,从而生成如图6所示的各个物品对象的预设属性信息的示意图。Since FIG. 5 only displays the identification information of the item object (here, the product name) in order to avoid too much interface content, when the user is interested in at least one of the three item objects and needs to browse more detailed attribute information, the second input can be triggered for the product name of the item object in FIG. 5, for example, by clicking the "Product Name 1" icon, then as shown in FIG. 6, the preset attribute information of the item object with the product name of "Product Name 1" in addition to the identification information can be further displayed, so that the preset attribute information of the item object with the product name of "Product Name 1" is displayed. Here, the image attribute information (i.e., product image 1), price attribute information (i.e., price 1), introduction attribute information (here, introduction 1), and sales status attribute information (here, sales status 1) are displayed; similarly, when the user is also interested in the detailed attribute information of the item objects "Product Name 2" and "Product Name 3" in FIG. 5, the second input is also triggered for the identifiers of these two item objects, thereby generating a schematic diagram of the preset attribute information of each item object as shown in FIG. 6.

在本申请实施例中,在输出目标群组中由目标用户分享的各个物品对象的预设属性信息时,可以首先输出各个物品对象的标识信息,方便用户了解该目标群组中由目标用户分享的各个物品对象列表,那么当用户对物品对象列表中的某个物品对象感兴趣时,则可以通过对第一物品对象的第一标识信息触发第二输入,从而可以输出该第一物品对象的更多的属性信息,便于用户了解其感兴趣的物品对象的详细的最新状态信息,而无需一次性的全部显示出该目标群组涉及的由目标用户分享的所有物品对象的所有预设属性信息,不仅节省了界面的显示空间,而且可以根据用户需求来灵活的显示物品对象的预设属性信息,提升了对物品对象的状态信息的显示灵活性。In an embodiment of the present application, when outputting the preset attribute information of each item object shared by the target user in the target group, the identification information of each item object can be output first, so that the user can understand the list of each item object shared by the target user in the target group. Then, when the user is interested in an item object in the item object list, the second input can be triggered by the first identification information of the first item object, so that more attribute information of the first item object can be output, so that the user can understand the detailed latest status information of the item object of interest, without having to display all the preset attribute information of all item objects shared by the target user involved in the target group at one time. This not only saves the display space of the interface, but also can flexibly display the preset attribute information of the item object according to user needs, thereby improving the flexibility of displaying the status information of the item object.

可选地,第一用户还可以通过对图2中的图标11再次触发第一输入,从而将输出的预设属性信息(不论当前显示的是图5还是图6的界面)进行隐藏,以此来实现对群聊中各个物品对象的显示状态的切换。Optionally, the first user can also trigger the first input again by the icon 11 in Figure 2, so as to hide the output preset attribute information (regardless of whether the interface currently displayed is Figure 5 or Figure 6), so as to switch the display status of each item object in the group chat.

可选地,在输出所述物品对象的标识信息时,如果涉及多个物品对象,则可以按照该多个物品对象在目标群组中对应的消息发送时间从早到晚的顺序,依次显示该多个物品对象的标识信息。例如对于目标群组中目标用户先后依次分享的物品对象1和物品对象2的信息,物品对象1的商品名称1显示在物品对象2的商品名称2之前(或者说之上)。Optionally, when outputting the identification information of the item object, if multiple item objects are involved, the identification information of the multiple item objects can be displayed in sequence according to the order of the message sending time corresponding to the multiple item objects in the target group from earliest to latest. For example, for the information of item object 1 and item object 2 shared successively by the target user in the target group, the product name 1 of item object 1 is displayed before (or above) the product name 2 of item object 2.

可选地,上述步骤102之后,根据本申请实施例的方法还可以包括:Optionally, after the above step 102, the method according to the embodiment of the present application may further include:

步骤104,对于每个所述物品对象,识别提取到所述物品对象的属性信息的至少一个消息,以及识别所述至少一个消息中第三消息在消息界面中的位置,将所述位置设置为所述物品对象的所述属性信息的锚点。Step 104, for each of the item objects, identify at least one message that extracts the attribute information of the item object, and identify the position of a third message in the at least one message in the message interface, and set the position as an anchor point of the attribute information of the item object.

以目标消息为群会话消息为例,对于每个所述物品对象,识别与所述物品对象的预设属性信息对应的至少一个群会话消息,以及识别所述至少一个群会话消息中第三会话消息在所述目标群组的群聊界面中的定位位置,将所述定位位置设置为所述物品对象的所述预设属性信息的锚点。Taking the target message as a group conversation message as an example, for each of the item objects, identify at least one group conversation message corresponding to the preset attribute information of the item object, and identify the location of the third conversation message in the at least one group conversation message in the group chat interface of the target group, and set the location as the anchor point of the preset attribute information of the item object.

具体而言,以物品对象1(名称为商品名称1)为例,经过步骤102可以对从目标群组中由目标用户发送的多个群会话消息中,提取到每个物品对象的预设属性信息。因此,物品对象1的预设属性信息必然是选自上述多个群会话消息中的至少一个群会话消息的,因此,本步骤中,可以从目标群组中由目标用户发送的多个群会话消息中,识别到消息内容涉及物品对象1的一组群会话消息(即均提取到商品名称1的多条群会话消息);然后,将该一组群会话消息中消息发送时间排列在该一组群会话消息中首个位置的群会话消息,或者,消息发送时间排列在该一组群会话消息中末个位置的群会话消息,或者,提取到简介这一属性信息的群会话消息,作为第三会话消息,并识别该第三会话消息在该目标群组的群聊界面中的定位位置,最后,将该定位位置设置为该物品对象1的每个预设属性信息的锚点。Specifically, taking item object 1 (named commodity name 1) as an example, after step 102, preset attribute information of each item object can be extracted from multiple group conversation messages sent by the target user in the target group. Therefore, the preset attribute information of item object 1 must be selected from at least one group conversation message among the multiple group conversation messages. Therefore, in this step, a group of group conversation messages whose message contents involve item object 1 (i.e., multiple group conversation messages of commodity name 1 are all extracted) can be identified from multiple group conversation messages sent by the target user in the target group; then, the group conversation message whose message sending time is arranged at the first position in the group conversation message, or the group conversation message whose message sending time is arranged at the last position in the group conversation message, or the group conversation message of which the attribute information of introduction is extracted, is taken as the third conversation message, and the location position of the third conversation message in the group chat interface of the target group is identified, and finally, the location position is set as the anchor point of each preset attribute information of item object 1.

其中,本申请对于步骤104和步骤103的执行顺序不做限制。The present application does not limit the execution order of step 104 and step 103.

在本申请实施例中,对于每个所述物品对象,识别与所述物品对象的预设属性信息对应的至少一个群会话消息,以及识别所述至少一个群会话消息中第三会话在所述目标群组的群聊界面中的定位位置,将所述定位位置设置为所述物品对象的所述预设属性信息的锚点,可以对目标群组中涉及物品对象的预设属性信息的第三会话消息,在群聊界面中的位置设置为该物品对象的预设属性信息的锚点,方便利用物品对象的任意预设属性信息,来定位到群聊界面中描述该物品对象的群会话消息,便于查找描述物品对象的预设属性信息的原始的群会话消息。In an embodiment of the present application, for each of the item objects, at least one group conversation message corresponding to the preset attribute information of the item object is identified, and the location position of the third conversation in the at least one group conversation message in the group chat interface of the target group is identified, and the location position is set as the anchor point of the preset attribute information of the item object. The position of the third conversation message involving the preset attribute information of the item object in the target group can be set as the anchor point of the preset attribute information of the item object in the group chat interface, so that any preset attribute information of the item object can be used to locate the group conversation message describing the item object in the group chat interface, and to find the original group conversation message describing the preset attribute information of the item object.

可选地,在一个实施例中,在上述步骤103和步骤104之后,根据本申请实施例的方法还可以包括:Optionally, in one embodiment, after the above steps 103 and 104, the method according to the embodiment of the present application may further include:

首先,接收对所述物品对象的所述属性信息中,第二物品对象的属性信息中目标属性信息的第三输入,其中,所述物品对象包括所述第二物品对象;First, receiving a third input of target attribute information in the attribute information of a second item object in the attribute information of the item object, wherein the item object includes the second item object;

其中,第二物品对象可以与第一物品对象相同或不同,第二物品对象的预设属性信息可以是步骤103输出的物品对象的预设属性信息中的任意一个物品对象的预设属性信息。The second item object may be the same as or different from the first item object, and the preset attribute information of the second item object may be the preset attribute information of any item object among the preset attribute information of the item objects outputted in step 103 .

其中,该目标属性信息,可以是第二物品对象的预设属性信息中的任意一个属性信息。The target attribute information may be any attribute information among the preset attribute information of the second object.

然后,响应于所述第三输入,依据所述第二物品对象的属性信息对应的所述锚点,将所述消息界面的显示内容切换至所述锚点对应的位置。Then, in response to the third input, based on the anchor point corresponding to the attribute information of the second item object, the display content of the message interface is switched to the position corresponding to the anchor point.

在一个示例中,不论该目标群组的群聊界面内的当前显示内容定位到哪个位置,只要用户对感兴趣的第二物品对象的任意一个预设属性信息触发了第三输入,就可以依据所述第二物品对象的预设属性信息对应的所述锚点(其中,第二物品对象的各个预设属性信息对应的是同一个锚点),将所述群聊界面的显示内容切换至该第二物品对象的预设属性信息的锚点对应的定位位置。In one example, no matter where the currently displayed content in the group chat interface of the target group is positioned, as long as the user triggers the third input for any preset attribute information of the second object of interest, the displayed content of the group chat interface can be switched to the positioning position corresponding to the anchor point of the preset attribute information of the second object based on the anchor point corresponding to the preset attribute information of the second object (wherein, each preset attribute information of the second object corresponds to the same anchor point).

在本申请实施例中,在输出目标群组由目标用户分享的各个物品对象的所述预设属性信息之后,如果用户需要浏览关于某个物品对象的群会话消息,则可以对某个物品对象的预设属性信息中的任意一个属性信息触发第三输入,从而将目标群组的群聊界面的定位位置切换到该物品对象的预设属性信息对应的锚点的定位位置,方便用户浏览描述物品对象的预设属性信息的原始的群会话消息,便于用户查看该物品对象的更加详细的信息或者目标用户对该物品对象的完整描述。In an embodiment of the present application, after outputting the preset attribute information of each item object shared by the target user in the target group, if the user needs to browse the group conversation message about a certain item object, the third input can be triggered for any attribute information in the preset attribute information of the certain item object, thereby switching the positioning position of the group chat interface of the target group to the positioning position of the anchor point corresponding to the preset attribute information of the item object, so as to facilitate the user to browse the original group conversation message describing the preset attribute information of the item object, and facilitate the user to view more detailed information of the item object or the complete description of the item object by the target user.

可选地,在步骤102之后,则可以对会话界面(例如目标群组的群会话界面)中由目标用户发送的目标消息(例如群会话消息)首次提取到了所述目标消息所涉及的物品对象的预设属性信息;可选地,参照上述步骤102的上述描述可知,如果对这些预设属性信息进行存储,则相当于首次生成了各个物品对象的预设属性信息的列表;Optionally, after step 102, the preset attribute information of the item object involved in the target message (e.g., group conversation message) sent by the target user in the conversation interface (e.g., group conversation interface of the target group) can be extracted for the first time; optionally, referring to the above description of step 102, if the preset attribute information is stored, it is equivalent to generating a list of preset attribute information of each item object for the first time;

在一个实施例中,在步骤102之后,根据本申请实施例的方法还可以自动根据目标群组接收到的目标用户发送的新会话消息,来对上述提取到的物品对象的预设属性信息(或上述首次生成的各个物品对象的预设属性信息的列表)进行新增或更新处理,具体可以通过如下方式来实现:In one embodiment, after step 102, the method according to the embodiment of the present application may also automatically add or update the preset attribute information of the extracted item objects (or the list of preset attribute information of each item object generated for the first time) according to the new conversation message sent by the target user received by the target group, which may be implemented in the following manner:

接收所述目标用户发送的第四消息,提取所述第四消息中存在的第三物品对象的第一属性信息;receiving a fourth message sent by the target user, and extracting first attribute information of a third item object in the fourth message;

其中,在步骤102之后,例如,在首次生成上述各个物品对象的预设属性信息的列表之后,如果该目标群组再次接收到了新的会话消息,且该会话消息是由上述目标用户发送至该目标群组的,则可以按照步骤102的相关实施例所描述的对物品对象的预设属性信息进行提取的具体方式,来对该第四消息,即新会话消息提取物品对象的预设属性信息,为了区分物品对象,这里将对第四消息所提取到的物品对象的预设属性信息涉及的物品对象命名为第三物品对象,将提取到的该第三物品对象的预设属性信息命名为第一属性信息。Among them, after step 102, for example, after the list of preset attribute information of the above-mentioned each item object is generated for the first time, if the target group receives a new session message again, and the session message is sent to the target group by the above-mentioned target user, then the preset attribute information of the item object can be extracted from the fourth message, i.e., the new session message, in accordance with the specific method of extracting the preset attribute information of the item object described in the relevant embodiment of step 102. In order to distinguish the item objects, the item object involved in the preset attribute information of the item object extracted from the fourth message is named as the third item object, and the extracted preset attribute information of the third item object is named as the first attribute information.

可选地,在所述物品对象包括所述第三物品对象的情况下,依据对所述四消息提取的所述第三物品对象的第一属性信息,对已提取的所述物品对象的属性信息中所述第三物品对象的属性信息进行更新;Optionally, in the case where the item object includes the third item object, the attribute information of the third item object in the extracted attribute information of the item object is updated according to the first attribute information of the third item object extracted from the four messages;

也就是说,若在接收到所述新会话消息之前,已提取预设属性信息的物品对象包括所述第三物品对象,则依据对所述新会话消息提取的所述第三物品对象的第一属性信息,对已提取的预设属性信息中与所述第三物品对象对应的预设属性信息进行更新;That is, if the item objects from which preset attribute information has been extracted before receiving the new session message include the third item object, then according to the first attribute information of the third item object extracted from the new session message, the preset attribute information corresponding to the third item object in the extracted preset attribute information is updated;

其中,在判断已提取预设属性信息的物品对象是否包括第三物品对象时,可以通过对物品对象的标识信息进行匹配的方式,基于匹配度来确定,如果匹配度大于预设阈值,则说明已提取预设属性信息的物品对象包括第三物品对象,相反,则说明已提取预设属性信息的物品对象不包括第三物品对象。Among them, when judging whether the item object from which the preset attribute information has been extracted includes the third item object, it can be determined based on the degree of matching by matching the identification information of the item object. If the degree of matching is greater than a preset threshold, it means that the item object from which the preset attribute information has been extracted includes the third item object. Otherwise, it means that the item object from which the preset attribute information has been extracted does not include the third item object.

其中,如果经过步骤102所提取到的物品对象的预设属性信息中所涉及的物品对象包括该第三物品对象,则说明该目标用户在发送该新会话消息之前已经发送过关于该第三物品对象的群会话消息,因此,可以依据本次对该新会话消息所提取到的该第三物品对象的第三属性信息,来对步骤102所得到的物品对象的预设属性信息中第三物品对象的预设属性信息进行更新。Among them, if the item objects involved in the preset attribute information of the item objects extracted through step 102 include the third item object, it means that the target user has sent a group conversation message about the third item object before sending the new conversation message. Therefore, the preset attribute information of the third item object in the preset attribute information of the item objects obtained in step 102 can be updated based on the third attribute information of the third item object extracted from the new conversation message this time.

由于一个物品对象的预设属性信息可以包括多个预设属性的属性值,因此,这里的更新操作可以包括但不限于以下至少一项:对至少一个预设属性的属性值进行更新、增加至少一个预设属性及其属性值、删除至少一个预设属性及其属性值。Since the preset attribute information of an item object may include attribute values of multiple preset attributes, the update operation here may include but is not limited to at least one of the following: updating the attribute value of at least one preset attribute, adding at least one preset attribute and its attribute value, and deleting at least one preset attribute and its attribute value.

可选地,在所述物品对象不包括所述第三物品对象的情况下,在已提取的物品对象中增加所述第三物品对象,并在已提取的物品对象的属性信息中增加所述第三物品对象的第一属性信息。Optionally, in the case that the item object does not include the third item object, the third item object is added to the extracted item objects, and the first attribute information of the third item object is added to the attribute information of the extracted item objects.

其中,如果经过步骤102所提取到的物品对象的预设属性信息中所涉及的物品对象并不包括该第三物品对象,则说明该目标用户在发送该新会话消息之前没有发送过关于该第三物品对象的群会话消息,即步骤101中的群会话消息并不包括关于第三物品对象的群会话消息。因此,可以依据本次对该新会话消息所提取到的该第三物品对象的第一属性信息,来在步骤102所得到的物品对象的预设属性信息中新增一个物品对象的预设属性信息,即这里的第三物品对象的第一属性信息。If the item objects involved in the preset attribute information of the item objects extracted in step 102 do not include the third item object, it means that the target user has not sent a group conversation message about the third item object before sending the new conversation message, that is, the group conversation message in step 101 does not include the group conversation message about the third item object. Therefore, according to the first attribute information of the third item object extracted from the new conversation message this time, the preset attribute information of an item object can be added to the preset attribute information of the item objects obtained in step 102, that is, the first attribute information of the third item object here.

可选地,新增的第三物品对象的预设属性信息可以添加到首次生成的各个物品对象的预设属性信息的列表的尾部。Optionally, the newly added preset attribute information of the third item object may be added to the end of the list of preset attribute information of each item object generated for the first time.

在本申请实施例中,在对目标群组中由目标用户发送的群会话消息首次提取到了所述群会话消息所涉及的物品对象的预设属性信息之后,可以自动根据目标群组接收到的目标用户发送的新会话消息,来对上述提取到的物品对象的预设属性信息(或上述首次生成的各个物品对象的预设属性信息的列表)进行新增或更新处理,从而使得本申请实施例输出的物品对象的预设属性信息都是参考了最新的目标用户的群会话消息的消息内容而确定的,能够协助用户快速定位用户所关注的物品对象的最新属性信息。In an embodiment of the present application, after the preset attribute information of the item object involved in the group conversation message sent by the target user in the target group is extracted for the first time, the preset attribute information of the item object extracted above (or the list of preset attribute information of each item object generated for the first time) can be automatically added or updated according to the new conversation message sent by the target user received by the target group, so that the preset attribute information of the item object output by the embodiment of the present application is determined with reference to the message content of the latest group conversation message of the target user, which can help the user quickly locate the latest attribute information of the item object that the user is concerned about.

可选地,在步骤102之后,则对目标群组中由目标用户发送的群会话消息首次提取到了所述群会话消息所涉及的物品对象的预设属性信息;可选地,参照上述步骤102的上述描述可知,如果对这些预设属性信息进行存储,则相当于首次生成了各个物品对象的预设属性信息的列表;Optionally, after step 102, preset attribute information of the item objects involved in the group conversation message sent by the target user in the target group is extracted for the first time; optionally, referring to the above description of step 102, if the preset attribute information is stored, it is equivalent to generating a list of preset attribute information of each item object for the first time;

在一个实施例中,在步骤102之后,根据本申请实施例的方法还可以由用户手动通过对上述第四消息触发第四输入的方式,例如对目标群组接收到的目标用户发送的新会话消息触发第四输入,来对上述提取到的物品对象的预设属性信息(或上述首次生成的各个物品对象的预设属性信息的列表)进行新增或更新处理,具体可以通过如下方式来实现:In one embodiment, after step 102, the method according to the embodiment of the present application can also be manually triggered by the user through the fourth message triggering the fourth input, for example, triggering the fourth input for a new conversation message sent by the target user received by the target group, so as to add or update the preset attribute information of the extracted item object (or the list of preset attribute information of each item object generated for the first time), which can be specifically implemented in the following manner:

首先,接收所述第一用户对所述目标群组的群聊界面中由目标用户发送的第四消息的第四输入;First, receiving a fourth input from the first user in response to a fourth message sent by a target user in a group chat interface of the target group;

在一个示例中,该第四输入的具体方式可以是对第四消息进行长按操作,并将长按的第四消息拖动至目标群组的群聊界面的预设图标的方式,但是,需要说明的是,本申请对于第四输入的具体实现方式不做限制。In one example, the specific method of the fourth input may be to long press the fourth message and drag the long pressed fourth message to the preset icon of the group chat interface of the target group. However, it should be noted that this application does not limit the specific implementation method of the fourth input.

此外,该第四消息可以是文本消息,也可以是图片消息。In addition, the fourth message may be a text message or a picture message.

当上述第四输入的具体实现方式为上述示例时,则该第四消息可以是图片消息,因为图片消息更容易拖动,而文本消息拖动的操作复杂性更高,这样可以节省拖动时间,进而提升用户对物品对象的预设属性信息的获取效率。When the specific implementation method of the above-mentioned fourth input is the above-mentioned example, the fourth message can be a picture message, because picture messages are easier to drag, while the operation of dragging text messages is more complicated. This can save dragging time and thus improve the user's efficiency in obtaining the preset attribute information of the object.

另外,第四消息可以是不借助于群会话消息之间的时间顺序,而可以从该第四消息中直接提取得到物品对象的标识信息的会话消息。In addition, the fourth message may be a conversation message from which identification information of the object can be directly extracted without relying on the time sequence between group conversation messages.

然后,响应于所述第四输入,对所述第四消息提取第四物品对象的第二属性信息;这里,将提取到的该第四物品对象的预设属性信息命名为第二属性信息Then, in response to the fourth input, the second attribute information of the fourth item object is extracted from the fourth message; here, the extracted preset attribute information of the fourth item object is named as the second attribute information

在所述物品对象包括所述第四物品对象的情况下,依据对所述四消息提取的所述第四物品对象的第二属性信息,对已提取的所述物品对象的属性信息中所述第三物品对象的属性信息进行更新;In a case where the item objects include the fourth item object, updating the attribute information of the third item object in the extracted attribute information of the item objects according to the second attribute information of the fourth item object extracted from the four messages;

在所述物品对象不包括所述第四物品对象的情况下,在已提取的物品对象中增加所述第四物品对象,并在已提取的物品对象的属性信息中增加所述第四物品对象的第二属性信息。In a case where the item objects do not include the fourth item object, the fourth item object is added to the extracted item objects, and the second attribute information of the fourth item object is added to the attribute information of the extracted item objects.

本实施例中各个步骤的执行原理,与上述实施例的自动根据目标群组接收到的目标用户发送的新会话消息,来对上述提取到的物品对象的预设属性信息(或上述首次生成的各个物品对象的预设属性信息的列表)进行新增或更新处理的原理类似,这里不再赘述。The execution principle of each step in this embodiment is similar to the principle of automatically adding or updating the preset attribute information of the above-extracted item objects (or the list of preset attribute information of each item object generated for the first time) according to the new conversation message sent by the target user received by the target group in the above-mentioned embodiment, and will not be repeated here.

在本申请实施例中,在对目标群组中由目标用户发送的群会话消息首次提取到了所述群会话消息所涉及的物品对象的预设属性信息之后,可以由用户通过对目标群组接收到的目标用户发送的新会话消息触发第四输入,来基于从新会话消息中提取到的物品对象的预设属性信息,来对接收到该新会话消息之前提取到的物品对象的预设属性信息(或上述首次生成的各个物品对象的预设属性信息的列表)进行新增或更新处理,从而使得本申请实施例输出的物品对象的预设属性信息都是参考了最新的目标用户的群会话消息的消息内容而确定的,能够协助用户快速定位用户所关注的物品对象的最新属性信息。In an embodiment of the present application, after the preset attribute information of the item object involved in the group conversation message sent by the target user in the target group is extracted for the first time, the user can trigger the fourth input by a new conversation message sent by the target user received by the target group, and based on the preset attribute information of the item object extracted from the new conversation message, add or update the preset attribute information of the item object extracted before receiving the new conversation message (or the list of preset attribute information of each item object generated for the first time as mentioned above), so that the preset attribute information of the item object output by the embodiment of the present application is determined with reference to the message content of the latest group conversation message of the target user, which can help the user quickly locate the latest attribute information of the item object that the user is concerned about.

可选地,在一个实施例中,在步骤102之后,根据本申请实施例的方法还可以包括:Optionally, in one embodiment, after step 102, the method according to the embodiment of the present application may further include:

对于每个所述物品对象,识别与所述物品对象的预设属性信息对应的至少一个群会话消息;将所述至少一个群会话消息中的最晚消息发送时间作为与每个物品对象的预设属性信息关联的时间点信息。For each of the item objects, at least one group conversation message corresponding to the preset attribute information of the item object is identified; and the latest message sending time in the at least one group conversation message is used as the time point information associated with the preset attribute information of each item object.

在一个示例中,参照图2和图4,图4中的物品对象的各个预设属性信息是从图2中的会话消息12、会话消息13和会话消息14提取到的,那么这三条会话消息中对应最晚消息发送时间的会话消息为会话消息14,因此,会话消息14的消息发送时间2020年3月2日14点16分,为与图4中的物品对象的各个预设属性信息关联的时间点信息。In an example, referring to Figures 2 and 4, each preset attribute information of the item object in Figure 4 is extracted from session messages 12, 13, and 14 in Figure 2, then the session message corresponding to the latest message sending time among the three session messages is session message 14. Therefore, the message sending time of session message 14, 14:16 on March 2, 2020, is the time point information associated with the various preset attribute information of the item object in Figure 4.

那么在此实施例的基础上,当用户需要手动对步骤102提取到的物品对象的预设属性信息(或上述首次生成的各个物品对象的预设属性信息的列表)进行新增或更新处理时,则还可以通过以下方式来实现:Then, based on this embodiment, when the user needs to manually add or update the preset attribute information of the item object extracted in step 102 (or the list of preset attribute information of each item object generated for the first time), it can also be implemented in the following way:

接收所述第一用户对所述目标群组的群聊界面中第二会话消息的第五输入,其中,所述第二会话消息由所述目标用户发送至所述目标群组的群会话消息,这里的第二会话消息并不限制为新会话消息;receiving a fifth input of the first user to a second conversation message in the group chat interface of the target group, wherein the second conversation message is a group conversation message sent by the target user to the target group, and the second conversation message here is not limited to a new conversation message;

响应于所述第五输入,对所述第二会话消息提取第五物品对象的预设属性信息;In response to the fifth input, extracting preset attribute information of a fifth item object from the second conversation message;

若步骤102已提取的预设属性信息对应的物品对象包括所述第五物品对象,则获取所述第五物品对象关联的第一时间点信息(是首次生成的上述列表中该第五物品对象关联的时间点信息),以及获取所述第二会话消息的第二时间点信息;If the item object corresponding to the preset attribute information extracted in step 102 includes the fifth item object, obtaining first time point information associated with the fifth item object (the time point information associated with the fifth item object in the above list generated for the first time), and obtaining second time point information of the second conversation message;

如果该第二时间点信息早于所述第一时间点信息,则说明用户触发第五输入的第二会话消息是旧会话消息,如果采用该第二会话消息对应的预设属性信息,来对已提取的第五物品对象的预设属性信息进行更新,则容易更新为过期的错误属性信息,因此,这里可以提示用户请取消更新操作;If the second time point information is earlier than the first time point information, it means that the second conversation message triggered by the user for the fifth input is an old conversation message. If the preset attribute information corresponding to the second conversation message is used to update the preset attribute information of the extracted fifth item object, it is easy to update to expired erroneous attribute information. Therefore, the user may be prompted to cancel the update operation.

相反,如果该第二时间点信息晚于所述第一时间点信息,则可以依据对所述第二会话消息提取的所述第五物品对象的预设属性信息,对已提取的预设属性信息中与所述第五物品对象对应的预设属性信息进行更新;On the contrary, if the second time point information is later than the first time point information, the preset attribute information corresponding to the fifth item object in the extracted preset attribute information may be updated according to the preset attribute information of the fifth item object extracted from the second conversation message;

若步骤102已提取的预设属性信息对应的物品对象不包括所述第五物品对象,则在步骤102已提取的物品对象的预设属性信息中增加所述第五物品对象的预设属性信息。If the item object corresponding to the preset attribute information extracted in step 102 does not include the fifth item object, the preset attribute information of the fifth item object is added to the preset attribute information of the item object extracted in step 102 .

在本申请实施例中,在对目标群组中由目标用户发送的群会话消息首次提取到了所述群会话消息所涉及的物品对象的预设属性信息之后,可以由用户通过对目标群组接收到的目标用户发送的第二会话消息触发第五输入,并利用首次提取到的每个物品对象的预设属性信息所关联的时间点信息,来判断是否采用第二会话消息对应的第五物品对象的预设属性信息,来对首次提取到的第五物品对象的预设属性信息进行更新,避免更新为过期的状态信息,使得本申请实施例输出的物品对象的预设属性信息都是最新的状态信息,能够协助用户快速定位用户所关注的物品对象的最新属性信息。In an embodiment of the present application, after the preset attribute information of the item object involved in the group conversation message sent by the target user in the target group is extracted for the first time, the user can trigger the fifth input by receiving a second conversation message sent by the target user to the target group, and use the time point information associated with the preset attribute information of each item object extracted for the first time to determine whether to use the preset attribute information of the fifth item object corresponding to the second conversation message to update the preset attribute information of the fifth item object extracted for the first time, so as to avoid updating to expired status information, so that the preset attribute information of the item object output by the embodiment of the present application is the latest status information, which can help the user quickly locate the latest attribute information of the item object that the user is concerned about.

可选地,用户若对输出的物品对象的预设属性信息中某个物品对象不感兴趣,为了节省显示空间,则用户可以通过长按图5所示的某个物品对象的商品名称,或通过长按图6中某个物品对象的任意一个预设属性信息,来对步骤102生成的列表中的某个物品对象的预设属性信息进行删除操作,删除的物品对象的预设属性信息可以自动添加到另一个列表中,命名为删除列表,以便用户后续查看之前所删除的物品对象的详细信息,当然用户也可在显示删除列表后,对删除列表中的某个物品对象的任意预设属性信息进行双击操作,来将该物品对象的预设属性信息从删除列表中,恢复还原至步骤102生成的列表中。Optionally, if the user is not interested in a certain item object in the output preset attribute information of the item object, in order to save display space, the user can delete the preset attribute information of a certain item object in the list generated in step 102 by long pressing the product name of a certain item object as shown in Figure 5, or by long pressing any preset attribute information of a certain item object in Figure 6. The preset attribute information of the deleted item object can be automatically added to another list, named the deletion list, so that the user can subsequently view the detailed information of the previously deleted item object. Of course, the user can also double-click any preset attribute information of a certain item object in the deletion list after the deletion list is displayed to restore the preset attribute information of the item object from the deletion list to the list generated in step 102.

在显示已经删除的列表时,用户可以通过长按目标群组的群聊界面中的某个预设图标,来对删除列表进行显示,删除列表的列表项同样可以包含商品名称、商品图片、价格、简介、售卖状态等信息,同时可以为图6所示的展开状态显示。When displaying a deleted list, the user can long press a preset icon in the group chat interface of the target group to display the deleted list. The list items of the deleted list can also include information such as product name, product image, price, description, sales status, etc., and can be displayed in an expanded state as shown in Figure 6.

可选地,当用户想将感兴趣的商品分享给好友进行商讨,则需要告知其商品名称、简介、价格等信息,此时用户只需要在显示如图6所示的各个物品对象的预设属性信息之后,双指捏合想要分享的物品对象的商品图片,则本申请实施例的方法可以识别此操作为分享操作,从而将该物品对象的商品名称、商品图片、价格和简介等信息生成至一张例如如图7所示的图片输出,可以将图7所示的图片导入到本地,这样,用户就可以将图7的图片分享给其他好友。Optionally, when a user wants to share a product of interest with friends for discussion, he or she needs to inform them of the product name, introduction, price and other information. At this time, the user only needs to pinch the product image of the product object to be shared with two fingers after displaying the preset attribute information of each item object as shown in Figure 6. The method of the embodiment of the present application can recognize this operation as a sharing operation, thereby generating information such as the product name, product image, price and introduction of the item object into an image output, such as that shown in Figure 7. The image shown in Figure 7 can be imported locally, so that the user can share the image in Figure 7 with other friends.

在上述各个实施例中,本申请提供一种基于群消息自动生成商品列表的方式,对群设置标签进行分类,再通过图像识别、语义分析、文本自动处理等技术对群消息进行提取,生成物品项(即预设属性信息),再形成商品预览列表,方便群用户快速浏览和定位,能满足用户快速定位购物的需求,减少了用户操作步骤。而且本申请能够基于群消息生成商品预览列表,用户无需反复查看聊天信息,无需反复确认货物信息,能快速浏览可购买商品,定位所需商品,极大便利了用户的操作,改善了用户体验。In each of the above embodiments, the present application provides a method for automatically generating a product list based on group messages, classifying group setting tags, and then extracting group messages through image recognition, semantic analysis, text automatic processing and other technologies to generate item items (i.e., preset attribute information), and then forming a product preview list, which is convenient for group users to quickly browse and locate, and can meet the needs of users to quickly locate shopping, reducing user operation steps. Moreover, the present application can generate a product preview list based on group messages, and users do not need to repeatedly check chat messages or repeatedly confirm product information. They can quickly browse available products and locate the desired products, which greatly facilitates user operations and improves user experience.

需要说明的是,本申请实施例提供的消息处理方法,执行主体可以为消息处理装置,或者该消息处理装置中的用于执行消息处理方法的控制模块。本申请实施例中以消息处理装置执行消息处理方法为例,说明本申请实施例提供的消息处理装置。It should be noted that the execution subject of the message processing method provided in the embodiment of the present application may be a message processing device, or a control module in the message processing device for executing the message processing method. In the embodiment of the present application, the message processing device provided in the embodiment of the present application is described by taking the execution of the message processing method by the message processing device as an example.

参照图8,示出了本申请一个实施例的消息处理装置的框图。该消息处理装置包括:Referring to FIG8 , a block diagram of a message processing device according to an embodiment of the present application is shown. The message processing device includes:

第一接收模块31,用于接收目标用户发送的目标消息;The first receiving module 31 is used to receive a target message sent by a target user;

第一提取模块32,用于提取所述目标消息中存在的物品对象的属性信息;A first extraction module 32, configured to extract attribute information of an item object present in the target message;

输出模块33,用于输出所述属性信息。The output module 33 is used to output the attribute information.

可选地,所述输出模块33包括:Optionally, the output module 33 includes:

第一接收子模块,用于接收对所述目标消息所属的消息界面的第一输入;A first receiving submodule, configured to receive a first input to a message interface to which the target message belongs;

第一输出子模块,用于响应于所述第一输入,输出所述属性信息。The first output submodule is used to output the attribute information in response to the first input.

可选地,所述属性信息包括标识信息,所述第一提取模块32包括:Optionally, the attribute information includes identification information, and the first extraction module 32 includes:

第一提取子模块,用于在每条所述目标消息均携带物品对象的标识信息的情况下,提取每条所述目标消息中物品对象的标识信息;A first extraction submodule, configured to extract identification information of an item object from each of the target messages when each of the target messages carries identification information of an item object;

设置子模块,用于在多条所述目标消息包括未携带物品对象的标识信息的第一消息以及携带物品对象的标识信息的第二消息的情况下,提取所述第二消息中物品对象的标识信息,以及按照所述多条目标消息之间的时间顺序,将所述多条目标消息中排列在所述第一消息之前且距离所述第一消息最近的第二消息对应的物品对象的标识信息,设置为所述第一消息对应的物品对象的标识信息;A submodule is set, which is used to extract the identification information of the item object in the second message when the multiple target messages include a first message that does not carry the identification information of the item object and a second message that carries the identification information of the item object, and set the identification information of the item object corresponding to the second message that is arranged before the first message and closest to the first message among the multiple target messages as the identification information of the item object corresponding to the first message according to the time sequence between the multiple target messages;

第二提取子模块,用于对于与同一所述标识信息对应的多个目标消息,按照所述时间顺序,提取与所述同一标识信息对应的物品对象的属性信息。The second extraction submodule is used to extract the attribute information of the item object corresponding to the same identification information according to the time sequence for multiple target messages corresponding to the same identification information.

可选地,所述输出模块33包括:Optionally, the output module 33 includes:

第二输出子模块,用于输出所述物品对象的标识信息;A second output submodule, used to output identification information of the object;

第二接收子模块,用于接收对所述物品对象的标识信息中第一物品对象的第一标识信息的第二输入;其中,所述物品对象包括所述第一物品对象;A second receiving submodule is configured to receive a second input of first identification information of a first item object in the identification information of the item objects; wherein the item objects include the first item object;

第三输出子模块,用于响应于所述第二输入,输出所述第一物品对象的属性信息。The third output submodule is used to output the attribute information of the first item object in response to the second input.

可选地,所述装置还包括:Optionally, the device further comprises:

识别模块,用于对于每个所述物品对象,识别提取到所述物品对象的属性信息的至少一个消息,以及识别所述至少一个消息中第三消息在消息界面中的位置,将所述位置设置为所述物品对象的所述属性信息的锚点。An identification module is used to identify, for each of the item objects, at least one message from which the attribute information of the item object is extracted, and to identify the position of a third message in the at least one message in a message interface, and to set the position as an anchor point for the attribute information of the item object.

可选地,所述装置还包括:Optionally, the device further comprises:

第二接收模块,用于接收对所述物品对象的所述属性信息中,第二物品对象的属性信息中目标属性信息的第三输入,其中,所述物品对象包括所述第二物品对象;A second receiving module is used to receive a third input of target attribute information in the attribute information of the second item object in the attribute information of the item object, wherein the item object includes the second item object;

切换模块,用于响应于所述第三输入,依据所述第二物品对象的属性信息对应的所述锚点,将所述消息界面的显示内容切换至所述锚点对应的位置。A switching module is used to respond to the third input and switch the display content of the message interface to the position corresponding to the anchor point according to the anchor point corresponding to the attribute information of the second item object.

可选地,所述装置还包括:Optionally, the device further comprises:

第三接收模块,用于接收所述目标用户发送的第四消息;A third receiving module, used to receive a fourth message sent by the target user;

第二提取模块,用于提取所述四消息中存在的第三物品对象的第一属性信息;A second extraction module, used to extract first attribute information of a third item object present in the four messages;

第一更新模块,用于在所述物品对象包括所述第三物品对象的情况下,依据对所述四消息提取的所述第三物品对象的第一属性信息,对已提取的所述物品对象的属性信息中所述第三物品对象的属性信息进行更新;a first updating module, configured to update the attribute information of the third item object in the extracted attribute information of the item object according to the first attribute information of the third item object extracted from the four messages, when the item object includes the third item object;

第二更新模块,用于在所述物品对象不包括所述第三物品对象的情况下,在已提取的物品对象中增加所述第三物品对象,并在已提取的物品对象的属性信息中增加所述第三物品对象的第一属性信息。The second updating module is used to add the third item object to the extracted item objects and add the first attribute information of the third item object to the attribute information of the extracted item objects when the item objects do not include the third item object.

在本申请实施例中,可以获取由目标用户发送的目标消息,并提取该目标消息中存在的物品对象的属性信息,从而可以得到由目标用户在一个会话中分享的各个物品对象的信息,并输出所获取的上述各个物品对象的属性信息。在输出会话内目标用户分享的物品对象的信息时,无需用户回看历史会话消息,简化了用户的操作步骤;而且,当用户需要获取该会话内的各个物品对象的信息时,本申请实施例的方法可以通过直接输出该会话内由目标用户分享的各个物品对象的属性信息,从而提升了对会话内物品对象的信息的获取效率。In the embodiment of the present application, the target message sent by the target user can be obtained, and the attribute information of the item object in the target message can be extracted, so that the information of each item object shared by the target user in a session can be obtained, and the attribute information of each item object obtained can be output. When outputting the information of the item object shared by the target user in the session, the user does not need to look back at the historical session messages, which simplifies the user's operation steps; moreover, when the user needs to obtain the information of each item object in the session, the method of the embodiment of the present application can directly output the attribute information of each item object shared by the target user in the session, thereby improving the efficiency of obtaining the information of the item objects in the session.

本申请实施例中的消息处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The message processing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

本申请实施例中的消息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The message processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

本申请实施例提供的消息处理装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。The message processing device provided in the embodiment of the present application can implement each process implemented in the above method embodiment. To avoid repetition, it will not be described again here.

可选地,如图9所示,本申请实施例还提供一种电子设备2000,包括处理器2002,存储器2001,存储在存储器2001上并可在所述处理器2002上运行的程序或指令,该程序或指令被处理器2002执行时实现上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 9, an embodiment of the present application also provides an electronic device 2000, including a processor 2002, a memory 2001, and a program or instruction stored in the memory 2001 and executable on the processor 2002. When the program or instruction is executed by the processor 2002, each process of the above-mentioned message processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

图10为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The electronic device structure shown in FIG10 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.

其中,处理器1010,用于接收目标用户发送的目标消息;提取所述目标消息中存在的物品对象的属性信息;The processor 1010 is configured to receive a target message sent by a target user; extract attribute information of an item object in the target message;

音频输出单元1003,或,显示单元1006,用于输出所述属性信息。The audio output unit 1003 or the display unit 1006 is used to output the attribute information.

在本申请实施例中,可以获取由目标用户发送的目标消息,并提取该目标消息中存在的物品对象的属性信息,从而可以得到由目标用户在一个会话中分享的各个物品对象的信息,并输出所获取的上述各个物品对象的属性信息。在输出会话内目标用户分享的物品对象的信息时,无需用户回看历史会话消息,简化了用户的操作步骤;而且,当用户需要获取该会话内的各个物品对象的信息时,本申请实施例的方法可以通过直接输出该会话内由目标用户分享的各个物品对象的属性信息,从而提升了对会话内物品对象的信息的获取效率。In the embodiment of the present application, the target message sent by the target user can be obtained, and the attribute information of the item object in the target message can be extracted, so that the information of each item object shared by the target user in a session can be obtained, and the attribute information of each item object obtained can be output. When outputting the information of the item object shared by the target user in the session, the user does not need to look back at the historical session messages, which simplifies the user's operation steps; moreover, when the user needs to obtain the information of each item object in the session, the method of the embodiment of the present application can directly output the attribute information of each item object shared by the target user in the session, thereby improving the efficiency of obtaining the information of the item objects in the session.

可选地,用户输入单元1007,用于接收对所述目标消息所属的消息界面的第一输入;Optionally, the user input unit 1007 is used to receive a first input to the message interface to which the target message belongs;

音频输出单元1003,或,显示单元1006,用于响应于所述第一输入,输出所述属性信息。The audio output unit 1003 or the display unit 1006 is configured to output the attribute information in response to the first input.

在本发明实施例中,当用户需要获取会话内由目标用户分享的关于各个物品对象的信息时,则只需要对该目标用户分享的各个目标消息所属的消息界面触发第一输入,则本申请实施例的方法就可以响应于该第一输入,获取由目标用户发送的目标消息,并提取该目标消息中存在的物品对象的属性信息,从而可以得到由目标用户在一个会话中分享的各个物品对象的信息,并输出所获取的上述各个物品对象的属性信息。在这个过程中,用户只需要触发第一输入,而无需回看该消息界面内的历史会话消息,从而进一步简化了用户在获取会话中分享的物品对象的信息时的操作步骤。In an embodiment of the present invention, when a user needs to obtain information about each item object shared by a target user in a conversation, he only needs to trigger the first input on the message interface to which each target message shared by the target user belongs. Then, the method of the embodiment of the present application can respond to the first input, obtain the target message sent by the target user, and extract the attribute information of the item object in the target message, so as to obtain the information of each item object shared by the target user in a conversation, and output the obtained attribute information of each item object. In this process, the user only needs to trigger the first input, without looking back at the historical conversation messages in the message interface, thereby further simplifying the operation steps of the user in obtaining the information of the item objects shared in the conversation.

可选地,所述预设属性信息包括标识信息,所述处理器1010,用于在每条所述目标消息均携带物品对象的标识信息的情况下,提取每条所述目标消息中物品对象的标识信息;在多条所述目标消息包括未携带物品对象的标识信息的第一消息以及携带物品对象的标识信息的第二消息的情况下,提取所述第二消息中物品对象的标识信息,以及按照所述多条目标消息之间的时间顺序,将所述多条目标消息中排列在所述第一消息之前且距离所述第一消息最近的第二消息对应的物品对象的标识信息,设置为所述第一消息对应的物品对象的标识信息;对于与同一所述标识信息对应的多个目标消息,按照所述时间顺序,提取与所述同一标识信息对应的物品对象的属性信息。Optionally, the preset attribute information includes identification information, and the processor 1010 is used to extract the identification information of the item object from each target message when each target message carries the identification information of the item object; extract the identification information of the item object from the second message when multiple target messages include a first message that does not carry the identification information of the item object and a second message that carries the identification information of the item object, and set the identification information of the item object corresponding to the second message that is arranged before the first message and closest to the first message in the multiple target messages as the identification information of the item object corresponding to the first message according to the time sequence between the multiple target messages; for multiple target messages corresponding to the same identification information, extract the attribute information of the item object corresponding to the same identification information according to the time sequence.

在本申请实施例中,可以基于目标用户向目标群组发送的多个群会话消息之间的时间顺序,来提取每个群会话消息中物品对象的标识信息,使得每个群会话信息都有与之关联的物品对象的标识信息,从而可以将涉及同一物品对象的多个群会话消息识别到,这样提取预设属性信息的数据源是比较全面、且准确的对应同一标识信息的多个群会话消息,能够提升对提取的各个物品对象的预设属性信息的全面性和准确性;此外,在对对应同一标识信息的多个群会话消息提取预设属性信息时,可以基于上述时间顺序来进行提取,由于同一物品对象的同一属性的最新属性值对应的消息发送时间,是晚于其过期属性值的,因此,可以基于该时间顺序来获取到同一物品对象的各个预设属性的最新属性值,避免输出的预设属性信息是物品对象的过期属性值,提升了对物品对象的最新状态信息的获取准确性,从而能够方便用户利用输出的各个物品对象的预设属性信息,来快速定位用户所需要,或者说所关注的物品对象的最新的状态信息。In an embodiment of the present application, identification information of an item object in each group conversation message can be extracted based on the time sequence between multiple group conversation messages sent by a target user to a target group, so that each group conversation message has identification information of an item object associated therewith, thereby multiple group conversation messages involving the same item object can be identified, and the data source for extracting the preset attribute information is relatively comprehensive and accurate, corresponding to multiple group conversation messages with the same identification information, which can improve the comprehensiveness and accuracy of the preset attribute information of each extracted item object; in addition, when extracting the preset attribute information from multiple group conversation messages corresponding to the same identification information, the extraction can be performed based on the above time sequence, because the message sending time corresponding to the latest attribute value of the same attribute of the same item object is later than its expired attribute value, therefore, the latest attribute value of each preset attribute of the same item object can be obtained based on the time sequence, avoiding the output preset attribute information being an expired attribute value of the item object, and improving the accuracy of obtaining the latest status information of the item object, so that the user can use the output preset attribute information of each item object to quickly locate the latest status information of the item object required by the user, or the item object concerned by the user.

可选地,音频输出单元1003,或显示单元1006,用于输出所述物品对象的标识信息;Optionally, the audio output unit 1003 or the display unit 1006 is used to output the identification information of the item object;

用户输入单元1007,用于接收对所述物品对象的标识信息中第一物品对象的第一标识信息的第二输入;其中,所述物品对象包括所述第一物品对象;A user input unit 1007 is used to receive a second input of first identification information of a first item object in the identification information of the item objects; wherein the item objects include the first item object;

音频输出单元1003,或显示单元1006,用于响应于所述第二输入,输出所述第一物品对象的属性信息。The audio output unit 1003 or the display unit 1006 is used to output the attribute information of the first item object in response to the second input.

在本申请实施例中,在输出目标群组中由目标用户分享的各个物品对象的预设属性信息时,可以首先输出各个物品对象的标识信息,方便用户了解该目标群组中由目标用户分享的各个物品对象列表,那么当用户对物品对象列表中的某个物品对象感兴趣时,则可以通过对第一物品对象的第一标识信息触发第二输入,从而可以输出该第一物品对象的更多的属性信息,便于用户了解其感兴趣的物品对象的详细的最新状态信息,而无需一次性的全部显示出该目标群组涉及的由目标用户分享的所有物品对象的所有预设属性信息,不仅节省了界面的显示空间,而且可以根据用户需求来灵活的显示物品对象的预设属性信息,提升了对物品对象的状态信息的显示灵活性。In an embodiment of the present application, when outputting the preset attribute information of each item object shared by the target user in the target group, the identification information of each item object can be output first, so that the user can understand the list of each item object shared by the target user in the target group. Then, when the user is interested in an item object in the item object list, the second input can be triggered by the first identification information of the first item object, so that more attribute information of the first item object can be output, so that the user can understand the detailed latest status information of the item object of interest, without having to display all the preset attribute information of all item objects shared by the target user involved in the target group at one time. This not only saves the display space of the interface, but also can flexibly display the preset attribute information of the item object according to user needs, thereby improving the flexibility of displaying the status information of the item object.

可选地,处理器1010,用于对于每个所述物品对象,识别提取到所述物品对象的属性信息的至少一个消息,以及识别所述至少一个消息中第三消息在消息界面中的位置,将所述位置设置为所述物品对象的所述属性信息的锚点。Optionally, the processor 1010 is used to identify, for each of the item objects, at least one message from which attribute information of the item object is extracted, and to identify a position of a third message in the at least one message in a message interface, and to set the position as an anchor point for the attribute information of the item object.

在本申请实施例中,对于每个所述物品对象,识别与所述物品对象的预设属性信息对应的至少一个群会话消息,以及识别所述至少一个群会话消息中第三会话在所述目标群组的群聊界面中的定位位置,将所述定位位置设置为所述物品对象的所述预设属性信息的锚点,可以对目标群组中涉及物品对象的预设属性信息的第三会话消息,在群聊界面中的位置设置为该物品对象的预设属性信息的锚点,方便利用物品对象的任意预设属性信息,来定位到群聊界面中描述该物品对象的群会话消息,便于查找描述物品对象的预设属性信息的原始的群会话消息。In an embodiment of the present application, for each of the item objects, at least one group conversation message corresponding to the preset attribute information of the item object is identified, and the location position of the third conversation in the at least one group conversation message in the group chat interface of the target group is identified, and the location position is set as the anchor point of the preset attribute information of the item object. The position of the third conversation message involving the preset attribute information of the item object in the target group can be set as the anchor point of the preset attribute information of the item object in the group chat interface, so that any preset attribute information of the item object can be used to locate the group conversation message describing the item object in the group chat interface, and to find the original group conversation message describing the preset attribute information of the item object.

可选地,用户输入单元1007,用于接收对所述物品对象的所述属性信息中,第二物品对象的属性信息中目标属性信息的第三输入,其中,所述物品对象包括所述第二物品对象;Optionally, the user input unit 1007 is used to receive a third input of target attribute information in the attribute information of a second item object in the attribute information of the item object, wherein the item object includes the second item object;

显示单元1006,用于响应于所述第三输入,依据所述第二物品对象的属性信息对应的所述锚点,将所述消息界面的显示内容切换至所述锚点对应的位置。The display unit 1006 is used to switch the display content of the message interface to a position corresponding to the anchor point according to the anchor point corresponding to the attribute information of the second item object in response to the third input.

在本申请实施例中,在输出目标群组由目标用户分享的各个物品对象的所述预设属性信息之后,如果用户需要浏览关于某个物品对象的群会话消息,则可以对某个物品对象的预设属性信息中的任意一个属性信息触发第三输入,从而将目标群组的群聊界面的定位位置切换到该物品对象的预设属性信息对应的锚点的定位位置,方便用户浏览描述物品对象的预设属性信息的原始的群会话消息,便于用户查看该物品对象的更加详细的信息或者目标用户对该物品对象的完整描述。In an embodiment of the present application, after outputting the preset attribute information of each item object shared by the target user in the target group, if the user needs to browse the group conversation message about a certain item object, the third input can be triggered for any attribute information in the preset attribute information of the certain item object, thereby switching the positioning position of the group chat interface of the target group to the positioning position of the anchor point corresponding to the preset attribute information of the item object, so as to facilitate the user to browse the original group conversation message describing the preset attribute information of the item object, and facilitate the user to view more detailed information of the item object or the complete description of the item object by the target user.

可选地,用户输入单元1007,用于接收所述目标用户发送的第四消息,提取所述四消息中存在的第三物品对象的第一属性信息;Optionally, the user input unit 1007 is used to receive a fourth message sent by the target user, and extract first attribute information of a third item object in the fourth message;

处理器1010,用于在所述物品对象包括所述第三物品对象的情况下,依据对所述四消息提取的所述第三物品对象的第一属性信息,对已提取的所述物品对象的属性信息中所述第三物品对象的属性信息进行更新;在所述物品对象不包括所述第三物品对象的情况下,在已提取的物品对象中增加所述第三物品对象,并在已提取的物品对象的属性信息中增加所述第三物品对象的第一属性信息。Processor 1010 is used to update the attribute information of the third item object in the attribute information of the item object that has been extracted based on the first attribute information of the third item object extracted from the four messages when the item object includes the third item object; and to add the third item object to the item object that has been extracted and add the first attribute information of the third item object to the attribute information of the item object that has been extracted when the item object does not include the third item object.

在本申请实施例中,在对目标群组中由目标用户发送的群会话消息首次提取到了所述群会话消息所涉及的物品对象的预设属性信息之后,可以自动根据目标群组接收到的目标用户发送的新会话消息,来对上述提取到的物品对象的预设属性信息(或上述首次生成的各个物品对象的预设属性信息的列表)进行新增或更新处理,从而使得本申请实施例输出的物品对象的预设属性信息都是参考了最新的目标用户的群会话消息的消息内容而确定的,能够协助用户快速定位用户所关注的物品对象的最新属性信息。In an embodiment of the present application, after the preset attribute information of the item object involved in the group conversation message sent by the target user in the target group is extracted for the first time, the preset attribute information of the item object extracted above (or the list of preset attribute information of each item object generated for the first time) can be automatically added or updated according to the new conversation message sent by the target user received by the target group, so that the preset attribute information of the item object output by the embodiment of the present application is determined with reference to the message content of the latest group conversation message of the target user, which can help the user quickly locate the latest attribute information of the item object that the user is concerned about.

应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(GraphicsProcessing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned message processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned message processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (9)

1.一种消息处理方法,其特征在于,所述方法包括:1. A message processing method, characterized in that the method comprises: 接收目标用户发送的目标消息;Receive target messages sent by target users; 在每条所述目标消息均携带物品对象的标识信息的情况下,提取每条所述目标消息中物品对象的标识信息;In the case where each of the target messages carries identification information of an item object, extracting the identification information of the item object in each of the target messages; 在多条所述目标消息包括未携带物品对象的标识信息的第一消息以及携带物品对象的标识信息的第二消息的情况下,提取所述第二消息中物品对象的标识信息,以及按照所述多条目标消息之间的时间顺序,将所述多条目标消息中排列在所述第一消息之前且距离所述第一消息最近的第二消息对应的物品对象的标识信息,设置为所述第一消息对应的物品对象的标识信息;In a case where the plurality of target messages include a first message that does not carry identification information of an item object and a second message that carries identification information of an item object, extracting identification information of an item object from the second message, and setting, according to a time sequence between the plurality of target messages, identification information of an item object corresponding to a second message that is arranged before the first message and is closest to the first message among the plurality of target messages as identification information of an item object corresponding to the first message; 对于与同一所述标识信息对应的多个目标消息,按照所述时间顺序,提取与所述同一标识信息对应的物品对象的属性信息;所述属性信息包括标识信息;For a plurality of target messages corresponding to the same identification information, extracting attribute information of the item object corresponding to the same identification information in the time sequence; the attribute information includes the identification information; 输出所述属性信息。The attribute information is output. 2.根据权利要求1所述的方法,其特征在于,输出所述属性信息包括:2. The method according to claim 1, wherein outputting the attribute information comprises: 接收对所述目标消息所属的消息界面的第一输入;Receiving a first input to a message interface to which the target message belongs; 响应于所述第一输入,输出所述属性信息。In response to the first input, the attribute information is output. 3.根据权利要求1所述的方法,其特征在于,所述输出所述属性信息,包括:3. The method according to claim 1, wherein the outputting the attribute information comprises: 输出所述物品对象的标识信息;Outputting identification information of the item object; 接收对所述物品对象的标识信息中第一物品对象的第一标识信息的第二输入;其中,所述物品对象包括所述第一物品对象;receiving a second input of first identification information of a first item object in the identification information of the item objects; wherein the item objects include the first item object; 响应于所述第二输入,输出所述第一物品对象的属性信息。In response to the second input, attribute information of the first item object is output. 4.根据权利要求1所述的方法,其特征在于,所述提取所述目标消息中存在的物品对象的属性信息之后,所述方法还包括:4. The method according to claim 1, characterized in that after extracting the attribute information of the item object in the target message, the method further comprises: 对于每个所述物品对象,识别提取到所述物品对象的属性信息的至少一个消息,以及识别所述至少一个消息中第三消息在消息界面中的位置,将所述位置设置为所述物品对象的所述属性信息的锚点。For each of the item objects, at least one message from which the attribute information of the item object is extracted is identified, and a position of a third message in the at least one message in a message interface is identified, and the position is set as an anchor point of the attribute information of the item object. 5.根据权利要求4所述的方法,其特征在于,所述输出所述属性信息之后,所述方法还包括:5. The method according to claim 4, characterized in that after outputting the attribute information, the method further comprises: 接收对所述物品对象的所述属性信息中,第二物品对象的属性信息中目标属性信息的第三输入,其中,所述物品对象包括所述第二物品对象;receiving a third input of target attribute information in the attribute information of a second item object in the attribute information of the item object, wherein the item object includes the second item object; 响应于所述第三输入,依据所述第二物品对象的属性信息对应的所述锚点,将所述消息界面的显示内容切换至所述锚点对应的位置。In response to the third input, based on the anchor point corresponding to the attribute information of the second item object, the display content of the message interface is switched to the position corresponding to the anchor point. 6.根据权利要求1所述的方法,其特征在于,所述提取所述目标消息中存在的物品对象的属性信息之后,所述方法还包括:6. The method according to claim 1, characterized in that after extracting the attribute information of the item object in the target message, the method further comprises: 接收所述目标用户发送的第四消息,提取所述四消息中存在的第三物品对象的第一属性信息;receiving a fourth message sent by the target user, and extracting first attribute information of a third item object in the fourth message; 在所述物品对象包括所述第三物品对象的情况下,依据对所述四消息提取的所述第三物品对象的第一属性信息,对已提取的所述物品对象的属性信息中所述第三物品对象的属性信息进行更新;In a case where the item objects include the third item object, updating the attribute information of the third item object in the extracted attribute information of the item objects according to the first attribute information of the third item object extracted from the four messages; 在所述物品对象不包括所述第三物品对象的情况下,在已提取的物品对象中增加所述第三物品对象,并在已提取的物品对象的属性信息中增加所述第三物品对象的第一属性信息。In a case where the item objects do not include the third item object, the third item object is added to the extracted item objects, and the first attribute information of the third item object is added to the attribute information of the extracted item objects. 7.一种消息处理装置,其特征在于,所述装置包括:7. A message processing device, characterized in that the device comprises: 第一接收模块,用于接收目标用户发送的目标消息;A first receiving module, used for receiving a target message sent by a target user; 第一提取模块,用于在每条所述目标消息均携带物品对象的标识信息的情况下,提取每条所述目标消息中物品对象的标识信息;在多条所述目标消息包括未携带物品对象的标识信息的第一消息以及携带物品对象的标识信息的第二消息的情况下,提取所述第二消息中物品对象的标识信息,以及按照所述多条目标消息之间的时间顺序,将所述多条目标消息中排列在所述第一消息之前且距离所述第一消息最近的第二消息对应的物品对象的标识信息,设置为所述第一消息对应的物品对象的标识信息;对于与同一所述标识信息对应的多个目标消息,按照所述时间顺序,提取与所述同一标识信息对应的物品对象的属性信息;所述属性信息包括标识信息;a first extraction module, configured to extract the identification information of the item object from each of the target messages when each of the target messages carries the identification information of the item object; to extract the identification information of the item object from the second message when the plurality of target messages include a first message that does not carry the identification information of the item object and a second message that carries the identification information of the item object, and to set the identification information of the item object corresponding to the second message that is arranged before the first message and is closest to the first message in the plurality of target messages as the identification information of the item object corresponding to the first message according to the time sequence between the plurality of target messages; and to extract the attribute information of the item object corresponding to the same identification information according to the time sequence for the plurality of target messages corresponding to the same identification information; the attribute information includes the identification information; 输出模块,用于输出所述属性信息。An output module is used to output the attribute information. 8.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6中任意一项所述的消息处理方法的步骤。8. An electronic device, characterized in that it comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the message processing method as described in any one of claims 1 to 6 are implemented. 9.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6中任意一项所述的消息处理方法的步骤。9. A readable storage medium, characterized in that the readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the message processing method according to any one of claims 1 to 6 are implemented.
CN202010889083.XA 2020-08-28 2020-08-28 Message processing method, device, electronic device and readable storage medium Active CN111967430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010889083.XA CN111967430B (en) 2020-08-28 2020-08-28 Message processing method, device, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010889083.XA CN111967430B (en) 2020-08-28 2020-08-28 Message processing method, device, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111967430A CN111967430A (en) 2020-11-20
CN111967430B true CN111967430B (en) 2024-08-06

Family

ID=73399979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010889083.XA Active CN111967430B (en) 2020-08-28 2020-08-28 Message processing method, device, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111967430B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022268B (en) * 2022-06-24 2023-05-12 深圳市六度人和科技有限公司 Session identification method and device, readable storage medium and computer equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018142056A (en) * 2017-02-27 2018-09-13 日本電気株式会社 Information processing device, information processing system, information processing method and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2274438A1 (en) * 1998-07-15 2000-01-15 John C. Goodwin, Iii System and method of applying messages to electronic price labels
CN100483435C (en) * 2006-09-15 2009-04-29 华为技术有限公司 Method and system for replacing copyright object in digital copyright management system
JP6070705B2 (en) * 2012-07-24 2017-02-01 日本電気株式会社 Information processing apparatus, data processing method thereof, and program
CN103995707B (en) * 2014-06-11 2017-05-24 腾讯科技(深圳)有限公司 Method, device and terminal device for processing application notification message
KR20200054787A (en) * 2018-11-12 2020-05-20 롯데정보통신 주식회사 Shopping support system and method for foreign language user
CN110189188B (en) * 2019-04-15 2024-10-22 深圳平安综合金融服务有限公司 Commodity management method, commodity management device, computer equipment and storage medium
CN110543269B (en) * 2019-09-06 2021-04-30 腾讯科技(深圳)有限公司 Message processing method and device, terminal equipment and storage medium
CN111445311B (en) * 2020-03-30 2023-06-27 深圳市微购科技有限公司 Order generation method, merchant terminal and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018142056A (en) * 2017-02-27 2018-09-13 日本電気株式会社 Information processing device, information processing system, information processing method and program

Also Published As

Publication number Publication date
CN111967430A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN113014476B (en) Group creation method and device
CN112184168B (en) Reminder task generation method, device and electronic device
CN112269504B (en) Information display method and device and electronic equipment
CN112817676A (en) Information processing method and electronic device
CN114579240A (en) Message processing method and device
CN112291414A (en) Message display method, device and electronic device
CN112866092B (en) Group chat creation method and group chat creation device
CN111638841B (en) Display method, device and electronic device for message details page
CN117742538A (en) Message display method, device, electronic equipment and readable storage medium
CN113114845A (en) Notification message display method and device
WO2023125157A1 (en) Message sending method and apparatus, and electronic device and medium
CN111967430B (en) Message processing method, device, electronic device and readable storage medium
CN112035026B (en) Information display method and device, electronic equipment and storage medium
CN111930281B (en) Reminding message creating method and device and electronic equipment
WO2022253132A1 (en) Information display method and apparatus, and electronic device
CN113239212B (en) Information processing method, device and electronic device
CN117472195A (en) Expression processing method, device, electronic device and readable storage medium
CN113179207B (en) Message processing method and electronic device
CN113839789B (en) Information sending method and device
CN116610243A (en) Display control method, display control device, electronic equipment and storage medium
CN112765447B (en) Data searching method and device and electronic equipment
CN113835573A (en) Message processing method and electronic equipment
CN114928585A (en) Message processing method and device, electronic equipment and readable storage medium
CN114443163A (en) Resource attribute configuration method and device, electronic equipment and storage medium
CN114625296A (en) Application processing method and device

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
GR01 Patent grant
GR01 Patent grant