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

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

Info

Publication number
CN111967430A
CN111967430A CN202010889083.XA CN202010889083A CN111967430A CN 111967430 A CN111967430 A CN 111967430A CN 202010889083 A CN202010889083 A CN 202010889083A CN 111967430 A CN111967430 A CN 111967430A
Authority
CN
China
Prior art keywords
attribute information
message
target
item
information
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.)
Granted
Application number
CN202010889083.XA
Other languages
Chinese (zh)
Other versions
CN111967430B (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

Images

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 the object existing in the target message; and outputting the attribute information. The method and the device can output the attribute information of each article object related to the target message sent by the target user, thereby improving the efficiency of acquiring the attribute information of the article object in the session and simplifying the operation of the user in acquiring the attribute information.

Description

Message processing method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message processing method and device, an electronic device and a readable storage medium.
Background
With the development of the instant messaging program, the instant messaging program can provide a conversation function, and information can be shared in a conversation interface.
In some application scenarios, session members within the session interface may share session messages about various item objects within the session, but due to the faster update rate of session messages within the session interface, users generally do not pay attention to the content of session messages within the session interface in real time.
Then, when the user needs to view the information about some article objects in the session interface, because there are many session messages in the session interface, the user needs to browse most or all session messages in the session interface once to acquire the information about the corresponding article object, and therefore, in the related art, when acquiring the information about each article object in the session, there are problems of low acquisition efficiency and cumbersome operation.
Disclosure of Invention
An object of the embodiments of the present application is to provide a message processing method, an apparatus, an electronic device, and a readable storage medium, which can solve the problems of low acquisition efficiency and complex operation when acquiring information about each article object in a session in the related art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message processing method, where the method includes:
receiving a target message sent by a target user;
extracting attribute information of the object existing in the target message;
and outputting the attribute information.
In a second aspect, an embodiment of the present application provides a message processing apparatus, including:
the first receiving module is used for receiving a target message sent by a target user;
the first extraction module is used for extracting the attribute information of the object existing in the target message;
and the output module is used for outputting 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 instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a target message sent by a target user can be acquired, and attribute information of an object existing in the target message is extracted, so that information of each object shared by the target user in one session can be acquired, and the acquired attribute information of each object can be output. When the information of the object shared by the target user in the session is output, the user does not need to review the historical session information, so that the operation steps of the user are simplified; moreover, when the user needs to acquire the information of each article object in the session, the method in the embodiment of the application can directly output the attribute information of each article object shared by the target user in the session, so that the acquisition efficiency of the information of the article object in the session is improved.
Drawings
FIG. 1 is a flow diagram of a message processing method according to one embodiment of the present application;
FIG. 2 is a schematic view of a group chat interface according to an embodiment of the application;
FIG. 3 is a schematic diagram of preset attribute information of an item object according to an embodiment of the present application;
FIG. 4 is a diagram illustrating an example of preset attribute information of an object according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a listing of identification information for an item object according to one embodiment of the present application;
FIG. 6 is a schematic diagram of a list of preset attribute information of an item object according to an embodiment of the present application;
fig. 7 is a schematic diagram of a picture for sharing preset attribute information of an item object according to an embodiment of the present application;
FIG. 8 is a block diagram of a message processing apparatus according to one embodiment of the present application;
FIG. 9 is a diagram of a hardware configuration of an electronic device according to an embodiment of the present application;
fig. 10 is a hardware configuration diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The message processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart of a message processing method according to an embodiment of the present application is shown, where the method specifically includes the following steps:
step 101, receiving a target message sent by a target user;
the target message may be a conversation message in a group, or may be a non-group conversation message (for example, a conversation message in a conversation interface between two users of an instant messaging program).
In addition, the target message may include a new message within a message interface to which the target message belongs, or may include an old message within the message interface.
The target user may be one or more, for example, a shopping group may include multiple purchasing users (all target users) at different levels, and the multiple purchasing users may share the attribute information of the item object that they provide and may purchase in the shopping group.
The receiving operation may also be equivalent to the acquiring operation.
In view of the problems that the update speed of the group message in the group is fast, and the efficiency of acquiring information about each object in the session is low and the operation is complicated, the following embodiments will describe the message processed by the message processing method as the group message.
For the trigger timing of step 101, step 101 may be executed when a new session message sent by a target user is received in the target group; the execution of step 101 may also be triggered according to a preset period; step 101 may also be performed in case a first input to a message interface to which the target message belongs is received as defined in the embodiments described below.
The target message received in step 101, for example, the group session message, may be all the group session messages sent by the target users in the target group, or may be the group session message of the last preset duration (to avoid that the preset attribute information of the object related to the historical session message of a long time ago is expired, for example, is not sold).
In one example, as shown in fig. 2, for example, if the "group of friends and relatives" in fig. 2 receives the session message 14 sent by the group member with the nickname "surname," i.e. the session message 14 is a new session message in the group, the group member with the nickname "surname" as the target user is configured in advance, the new session message may be obtained, then the nickname of the sender of the new session message is matched with the nickname of the target user, and if the nickname of the sender of the new session message is consistent with the nickname of the target user, the new session message is sent by the target user, so as to execute the following step 102; if the session information is inconsistent with the session information, the new session information is not sent by the target user, and the acquired new session information can be discarded.
Step 102, extracting attribute information of the object existing in the target message;
in one example, the attribute information may be extracted according to a keyword preset by a user.
The preset attribute related to the attribute information of the object may include an identifier (e.g., name, image, short name) of the object, a price, a selling status (e.g., direct tax, spot, sold out), and optionally, a profile of the object. Therefore, the attribute information of the item object may also be referred to as preset attribute information of the item object.
Group session messages, which are acquired in step 101 and sent by group members (which may be group owners) whose nicknames are "shopping surrogates" in fig. 2, may be analyzed and processed through technologies such as picture recognition, text information extraction, text semantic analysis, text automatic processing, and duplicate removal, so that preset attribute information of each article object related to the group session messages acquired in step 101 may be extracted according to preset attributes.
The number of the item objects in step 102 may be one or more, and the specific number depends on the specific message content of the group session message acquired in step 101.
In one example, in this step, the preset attribute information of the object in question is extracted from the group session message sent by the target user in the target group, and then the extracted preset attribute information may be stored in a list according to the difference of the object, so as to generate a list of the preset attribute information of each object, where the preset attribute information of each object in the list is a set of data, and the list is composed of at least one set of data.
And 103, outputting the attribute information.
Wherein the attribute information of each item object extracted based on the target message may be output.
When the preset attribute information of the article object is output, the preset attribute information may include information of multiple preset attributes, so that the output operation may be to output all the multiple preset attribute information of each article object at one time, or to output the identification information of each article object first as described in the following embodiments, and then output the preset attribute information of one or more article objects according to the requirements of the user.
In addition, the output mode of the preset attribute information of the object can be a text display mode, an image display mode, a voice output mode or the like;
the text display mode may be that preset attribute information of each item object is displayed in the group chat interface of the target group (for example, displayed near the icon 11 in fig. 2), or may not be displayed in the group chat interface of the target group.
In one example, fig. 3 illustrates a display manner of the preset attribute information of the item object when the preset attribute information of the item object is displayed in a text display manner.
As shown in fig. 3, the preset attribute may include a commodity name, a commodity picture, a price, a profile, and a selling status, and thus, preset attribute information of one item object may be displayed according to the structure shown in fig. 3. Specifically, as shown in fig. 4, by extracting preset attribute information of an item object from a group session message (including session message 12, session message 13, and session message 14) sent by a group member whose nickname is "shopping for purchase" in fig. 2, when the preset attribute information of one item object is output, an attribute list of the item object may be output, where the attribute list includes picture information and attribute information in text format. In one example, an attribute list of an article object as shown in fig. 4 may be displayed in a manner of synthesizing text and pictures as shown in fig. 3, wherein in fig. 4, the attribute list includes picture information describing the article object and attribute information describing a text format of the article object, for example, a trade name of the article object is "Avocado Oil", a price is "169", a profile is "500 ml, DHA infant and baby subsidiary Oil", and a selling status is "direct package tax".
In the message processing, the picture format message and the text format message about the same object may be summarized, so that the attribute information of the object is output in the manner of fig. 4.
In the embodiment of the application, a target message sent by a target user can be acquired, and attribute information of an object existing in the target message is extracted, so that information of each object shared by the target user in one session can be acquired, and the acquired attribute information of each object can be output. When the information of the object shared by the target user in the session is output, the user does not need to review the historical session information, so that the operation steps of the user are simplified; moreover, when the user needs to acquire the information of each article object in the session, the method in the embodiment of the application can directly output the attribute information of each article object shared by the target user in the session, so that the acquisition efficiency of the information of the article object in the session is improved.
Optionally, in executing step 103, the first input to the message interface to which the target message belongs may be received; the attribute information is then output in response to the first input.
In one example, the first input may be a first user input to a message interface of a target group to which the target message belongs;
optionally, the target group may be any one of the groups in the instant messaging program, or may be a group in which a user sets a preset tag, for example, the preset tag is a "shopping group," which indicates that main group chat content in the group with the preset tag is information about an object of an article.
The first user may be an owner of the electronic device to which the method of the embodiment of the present application is applied, or may be another non-owner, and 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 check the preset attribute information about the shared object in the target group, the first input may be triggered to the target group.
In one example, as shown in fig. 2, a schematic diagram of a group chat interface of a target group (here, a group named as "a group of friends and family") is shown, the chat interface displays not only group chat records in the target group, i.e., a plurality of group session messages (here, a session message 12, a session message 13, and a session message 14 sent by a group member named as "surreptitious purchase" are schematically shown), but also an icon 11 set in the target group according to the embodiment of the present application may be displayed, and a first user may trigger the execution of the above step 101 by performing a first input operation, e.g., a single-click input operation, on the icon 11, so as to obtain a plurality of target messages, i.e., session messages, sent by a target user named as "surreptitious purchase" in the target group.
It should be noted that, the session message 12 and the session message 13 in fig. 2 are both pictures, and since only one picture of group chat is schematically shown here, the specific text and image content of the picture are not used to limit the present application.
In the embodiment of the present invention, when a user needs to acquire information about each object shared by a target user in a session, only a first input needs to be triggered to a message interface to which each target message shared by the target user belongs, and the method according to the embodiment of the present application can respond to the first input to acquire the target message sent by the target user and extract attribute information of the object existing in the target message, so that information about each object shared by the target user in one session can be obtained, and the acquired attribute information of each object can be output. In the process, the user only needs to trigger the first input, and does not need to review the historical conversation message in the message interface, so that the operation steps of the user in acquiring the information of the shared object in the conversation are further simplified.
Optionally, in an embodiment, the preset attribute information may include identification (e.g., name, image, abbreviation, etc.) information, where the identification information is used to uniquely indicate the item object, and therefore, the identification information of different item objects is different, and the identification information of the same item object is the same.
Then, when step 102 is executed, under the condition that each piece of target message carries identification information of an item object, the identification information of the item object in each piece of target message may be extracted; under the condition that a plurality of pieces of target messages comprise a first message which does not carry identification information of an article object and a second message which carries the identification information of the article object, extracting the identification information of the article object in the second message, and setting the identification information of the article object corresponding to a second message which is arranged before the first message and is closest to the first message in the plurality of pieces of target messages as the identification information of the article object corresponding to the first message according to the time sequence among the plurality of pieces of target messages; and finally, extracting the attribute information of the object corresponding to the same identification information according to the time sequence for a plurality of target messages corresponding to the same identification information.
Specifically, since the target messages acquired in step 101 are all session messages sent by the target user to the target group, there is a time sequence of message sending between these group session messages, for example, in fig. 2, the session messages 12, 13 and 14 are arranged in order of message sending time from morning to evening. Since the group session message carries not only the message content but also the time information of the transmission time, it is equivalent to that the step 101 can acquire not only the message content of the target message but also the time sequence among the plurality of target messages.
For the plurality of target messages (here, a plurality of group session messages), the message content of some group session messages may carry identification information of an item object, for example, the identification information is a commodity name, and then, for example, picture recognition may be performed on the session message 12 and the session message 13 in fig. 2, and text information is extracted, so that the commodity names of the item objects corresponding to the session message 12 and the session message 13, respectively, may be determined; for example, text information extraction and text semantic analysis are performed on the conversation message 14 in fig. 2, the commodity name of the article object corresponding to the conversation message 14 can be determined;
of course, in some of the group session messages, the message content of some group session messages may not carry the commodity name of the object, for example, the target user has sent 3 group messages in sequence, and according to the sequence of sending time from morning to evening, the key information related to the 3 group messages is: XX shampoo, a price of 100 yuan/bottle, a price reduction of 80 yuan/bottle, obviously, the last two group messages cannot directly extract identification information of an item object, and then for this situation, considering that the three group messages have the sequence of the sending time from morning to evening, and the item objects related to the adjacent group messages are generally the same, so that the commodity name (XX shampoo) extracted from the first group message in the 3 group messages can be set as the commodity name of the last two group messages in the 3 group messages on the basis of the sequence, and thus, the commodity name of the item object, namely the identification information, is extracted from each group session message acquired in the disordered step 101 and determined;
the message contents contained in the plurality of group session messages associated with the same identification information are all about the item object to which the same identification information corresponds, and therefore, the attribute values of the preset attributes (i.e. the preset attribute information) may be extracted separately for a plurality of group session messages associated with the same identifier, in order to ensure that the attribute values of the extracted preset attributes are up-to-date, rather than outdated, at the time of extraction, the group session messages may be extracted in chronological order among the plurality of group session messages obtained in step 101, or a time sequence between a plurality of group session messages associated with the same identification information, to extract the latest attribute value of each preset attribute for the plurality of group session messages associated with the same identification information, picture recognition techniques, text information extraction techniques, text semantic analysis techniques, text automatic processing techniques, and text deduplication techniques may be used in the extraction. For example, the key information related to the 3 pieces of group information associated with the same identification information are: XX shampoo, price 100 yuan/bottle, price reduction current price is 80 yuan/bottle, then the attribute value about price attribute in the preset attribute information extracted is the latest 80 yuan/bottle, but not the overdue price 100 yuan/bottle.
In the related art, when a user needs to acquire the latest state of an object to be known from a target group, the user needs to look up the chat record of the target group again to confirm whether the required object is available for purchase and the latest selling state of the object, and the user needs to repeatedly confirm the object with the purchasing user in the process, so that the operation process is very complicated, and the user cannot quickly know the latest state information of the object shared in the target group; in the embodiment of the application, the identification information of the object in each group session message can be extracted based on the time sequence among a plurality of group session messages sent to the target group by the target user, so that each group session message has the identification information of the object associated with the group session message, and a plurality of group session messages related to the same object can be identified, so that the data source for extracting the preset attribute information is a plurality of group session messages which are comprehensive and accurate and correspond to the same identification information, and the comprehensiveness and the accuracy of the extracted preset attribute information of each object can be improved; in addition, when the preset attribute information is extracted from a plurality of group session messages corresponding to the same identification information, the preset attribute information can be extracted based on the time sequence, and since the message sending time corresponding to the latest attribute value of the same attribute of the same object is later than the expired attribute value, the latest attribute value of each preset attribute of the same object can be obtained based on the time sequence, the output preset attribute information is prevented from being the expired attribute value of the object, the accuracy of obtaining the latest status information of the object is improved, and therefore the user can conveniently and quickly locate the latest status information required by the user or concerned by the user by using the output preset attribute information of each object.
Optionally, in an embodiment, the preset attribute information may include the identification (e.g., name, image, abbreviation, etc.) information, then when step 103 is executed, the identification information of the item object may be first output (e.g., in response to the first input, the identification information of the item object is output); then, receiving (for example, the first user) a second input of first identification information of a first item object in the identification information of the item objects, wherein the item objects comprise the first item object; finally, in response to the second input, outputting attribute information of the first item object.
In one example, referring to fig. 2, when the user clicks the icon 11 to trigger the first input, a list of names of goods (where the identification information of the item object is name information of the item object) as shown in fig. 5 may be displayed, which illustrates that the item objects referred to by the plurality of group session messages sent by the group members nickname "shopping for purchase" in fig. 2 include 3 item objects as shown in fig. 5.
Since fig. 5 only displays the identification information (here, the product name) of the item object in order to avoid excessive interface content, when the user is interested in at least one of the 3 item objects and needs to browse more detailed attribute information, a second input may be triggered to the product name of the item object in fig. 5, for example, click on the "product name 1" icon, so as to show fig. 6, the preset attribute information of the item object with the product name of "product name 1" in addition to the identification information may be further shown, so that the preset attribute information of the item object with the product name of "product name 1" is all shown. Here, image attribute information (i.e., a product picture 1), price attribute information (i.e., a price 1), profile attribute information (here, a profile 1), and selling-state attribute information (here, a selling state 1) are presented; similarly, when the user is interested in the detailed attribute information of the item objects of "item name 2" and "item name 3" in fig. 5, the second input is also triggered to the identifiers of the two item objects, so as to generate the schematic diagram of the preset attribute information of each item object as shown in fig. 6.
In the embodiment of the application, when outputting the preset attribute information of each object shared by the target user in the target group, the identification information of each object may be output first, so that the user can conveniently know each object list shared by the target user in the target group, when the user is interested in a certain object in the object list, the second input may be triggered by the first identification information of the first object, so as to output more attribute information of the first object, so that the user can conveniently know detailed latest state information of the object interested therein, without displaying all the preset attribute information of all the object shared by the target user related to the target group at one time, thereby not only saving the display space of the interface, but also flexibly displaying the preset attribute information of the object according to the user's requirement, the display flexibility of the state information of the object is improved.
Optionally, the first user may further trigger the first input again on the icon 11 in fig. 2, so as to hide the output preset attribute information (whether the interface of fig. 5 or fig. 6 is currently displayed), thereby implementing the switching of the display state of each item object in the group chat.
Optionally, when the identification information of the item objects is output, if a plurality of item objects are involved, the identification information of the plurality of item objects may be sequentially displayed in the order from the morning to the evening of the message sending times of the plurality of item objects in the target group. For example, for the information of the item object 1 and the item object 2 that are sequentially shared by the target users in the target group, the product name 1 of the item object 1 is displayed before (or above) the product name 2 of the item object 2.
Optionally, after the step 102, the method according to the embodiment of the present application may further include:
and step 104, for each item object, identifying at least one message for extracting the attribute information of the item object, identifying the position of a third message in the at least one message in a message interface, and setting the position as an anchor point of the attribute information of the item object.
Taking a target message as a group session message as an example, for each item object, identifying at least one group session message corresponding to preset attribute information of the item object, identifying a location position of a third session message in the at least one group session message in a group chat interface of the target group, and setting the location position as an anchor point of the preset attribute information of the item object.
Specifically, taking the item object 1 (named commodity name 1) as an example, the preset attribute information of each item object may be extracted from a plurality of group session messages sent by target users in a target group through step 102. Therefore, the preset attribute information of the item object 1 is necessarily selected from at least one group session message in the group session messages, so that in this step, a group of group session messages whose message contents relate to the item object 1 (i.e., a plurality of group session messages each extracting the item name 1) can be identified from a plurality of group session messages sent by the target user in the target group; then, a group session message with a message sending time arranged at the first position in the group session message, or a group session message with a message sending time arranged at the last position in the group session message, or a group session message with profile of the attribute information is extracted as a third session message, and the location position of the third session 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 the item object 1.
The execution sequence of step 104 and step 103 is not limited in this application.
In this embodiment of the application, for each item object, at least one group session message corresponding to preset attribute information of the item object is identified, a location position of a third session in the group chat interface of the target group in the at least one group session message is identified, the location position is set as an anchor point of the preset attribute information of the item object, the third session message related to the preset attribute information of the item object in the target group can be set as the location in the group chat interface of the preset attribute information of the item object, so that a group session message describing the item object in the group chat interface can be located by using any preset attribute information of the item object, and an original group session message describing the preset attribute information of the item object can be searched conveniently.
Optionally, in an embodiment, after the step 103 and the step 104, the method according to an embodiment of the present application may further include:
firstly, receiving a third input of target attribute information in attribute information of a second item object in the attribute information of the item object, wherein the item object comprises the second item object;
the second object may be the same as or different from the first object, and the preset attribute information of the second object may be preset attribute information of any one object in the preset attribute information of the object output in step 103.
The target attribute information may be any one of preset attribute information of the second object.
And then, responding to the third input, and switching 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 object.
In an example, no matter where the current display content in the group chat interface of the target group is located, as long as the user triggers the third input for any one of the preset attribute information of the second item object of interest, the display content of the group chat interface may be switched to the location position corresponding to the anchor point of the preset attribute information of the second item object according to the anchor point corresponding to the preset attribute information of the second item object (where each preset attribute information of the second item object corresponds to the same anchor point).
In this embodiment of the application, after the preset attribute information of each item object shared by the target user in the target group is output, if the user needs to browse a group session message about a certain item object, a third input may be triggered to any one of the preset attribute information of the certain item object, so as to switch the location position of the group chat interface of the target group to the location position of an anchor point corresponding to the preset attribute information of the item object, which is convenient for the user to browse an original group session message describing the preset attribute information of the item object, and is convenient for the user to view more detailed information of the item object or a complete description of the item object by the target user.
Optionally, after step 102, preset attribute information of an item object related to a target message (e.g., a group conversation message) sent by a target user in a conversation interface (e.g., a group conversation interface of a target group) may be extracted for the first time; alternatively, as can be seen from the above description of step 102, if the preset attribute information is stored, it is equivalent to first generating a list of the preset attribute information of each object;
in an embodiment, after step 102, the method according to the embodiment of the present application may further automatically add or update the extracted preset attribute information of the item object (or the list of the first generated preset attribute information of each item object) according to a new session message sent by the target user and received by the target group, and may specifically be implemented as follows:
receiving a fourth message sent by the target user, and extracting first attribute information of a third object existing in the fourth message;
after step 102, for example, after the list of the preset attribute information of each article object is generated for the first time, if a new conversation message is received by the target group again and the conversation message is sent to the target group by the target user, the preset attribute information of the article object may be extracted from the fourth message, that is, the new conversation message, according to the specific manner of extracting the preset attribute information of the article object described in the related embodiment of step 102, in order to distinguish the article objects, the article object related to the preset attribute information of the article object extracted from the fourth message is named as a third article object, and the preset attribute information of the third article object is named as the first attribute information.
Optionally, in a case that the article object includes the third article object, updating attribute information of the third article object in the extracted attribute information of the article object according to the first attribute information of the third article object extracted for the four messages;
that is, if the article object from which the preset attribute information has been extracted includes the third article object before the new session message is received, updating the preset attribute information corresponding to the third article object in the extracted preset attribute information according to the first attribute information of the third article object extracted from the new session message;
when judging whether the article object extracted with the preset attribute information comprises the third article object, determining the article object based on the matching degree in a mode of matching the identification information of the article object, if the matching degree is greater than a preset threshold, indicating that the article object extracted with the preset attribute information comprises the third article object, and otherwise, indicating that the article object extracted with the preset attribute information does not comprise the third article object.
If the article object included in the preset attribute information of the article object extracted in step 102 includes the third article object, it indicates that the target user has sent the group conversation message about the third article object before sending the new conversation message, and therefore, the preset attribute information of the third article object in the preset attribute information of the article object obtained in step 102 may be updated according to the third attribute information of the third article object extracted for the new conversation message this time.
Since the preset attribute information of an item object may include attribute values of a plurality of preset attributes, the updating operation herein 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 the attribute value thereof, and deleting at least one preset attribute and the attribute value thereof.
Optionally, in a case that the article object does not include the third article object, adding the third article object in the extracted article object, and adding the first attribute information of the third article object in the attribute information of the extracted article object.
If the item object referred to in the preset attribute information of the item object extracted in step 102 does not include the third item object, it indicates that the target user has not sent the group session message about the third item object before sending the new session message, i.e., the group session message in step 101 does not include the group session message about the third item object. Therefore, according to the first attribute information of the third object extracted from the new session message this time, the preset attribute information of an object, that is, the first attribute information of the third object, may be newly added to the preset attribute information of the object obtained in step 102.
Optionally, the preset attribute information of the newly added third object may be added to the tail of the list of the preset attribute information of each object generated for the first time.
In this embodiment of the present application, after the preset attribute information of the article object related to the group session message is first extracted from the group session message sent by the target user in the target group, the new attribute information of the extracted article object (or the list of the preset attribute information of each article object generated for the first time) may be automatically added or updated according to the new session message sent by the target user and received by the target group, so that the preset attribute information of the article object output in this embodiment of the present application is determined by referring to the message content of the latest group session message of the target user, and can assist the user in quickly locating the latest attribute information of the article object concerned by the user.
Optionally, after step 102, extracting preset attribute information of the article object related to the group session message for the first time from the group session message sent by the target user in the target group; alternatively, as can be seen from the above description of step 102, if the preset attribute information is stored, it is equivalent to first generating a list of the preset attribute information of each object;
in an embodiment, after step 102, the method according to the embodiment of the present application may further include performing addition or update processing on the extracted preset attribute information of the item object (or the list of the first generated preset attribute information of each item object) by the user manually by triggering a fourth input to the fourth message, for example, triggering a fourth input to a new session message sent by a target user received by a target group, which may specifically be implemented as follows:
firstly, receiving a fourth input of a fourth message sent by a target user in a group chat interface of the target group by the first user;
in an example, the specific manner of the fourth input may be a manner of performing a long-press operation on the fourth message and dragging the long-pressed fourth message to a preset icon of the group chat interface of the target group, but it should be noted that the specific implementation manner of the fourth input is not limited in this application.
In addition, the fourth message may be a text message or a picture message.
When the specific implementation manner of the fourth input is the above example, the fourth message may be a picture message, because the picture message is easier to drag, and the operation complexity of text message dragging is higher, the dragging time may be saved, and the acquisition efficiency of the user for the preset attribute information of the object is further improved.
In addition, the fourth message may be a conversation message from which the identification information of the item object may be directly extracted without resorting to the time order between the group conversation messages.
Then, in response to the fourth input, extracting second attribute information of a fourth item object for the fourth message; here, the extracted preset attribute information of the fourth item object is named as second attribute information
Updating the attribute information of the third article object in the extracted attribute information of the article object according to the second attribute information of the fourth article object extracted from the four messages when the article object comprises the fourth article object;
in a case where the item object does not include the fourth item object, adding the fourth item object to the extracted item object, and adding second attribute information of the fourth item object to the attribute information of the extracted item object.
The execution principle of each step in this embodiment is similar to the principle of the embodiment that the extracted preset attribute information of the item object (or the list of the first generated preset attribute information of each item object) is added or updated automatically according to the new session message sent by the target user and received by the target group, and details are not repeated here.
In the embodiment of the application, after the preset attribute information of the article object related to the group session message is extracted for the first time from the group session message sent by the target user in the target group, the fourth input may be triggered by the user through a new session message sent by the target user received by the target group to perform addition or update processing on the preset attribute information of the item object extracted before the new session message is received (or the list of the preset attribute information of each item object generated for the first time mentioned above) based on the preset attribute information of the item object extracted from the new session message, therefore, the preset attribute information of the object, which is output by the embodiment of the application, is determined by referring to the message content of the latest group conversation message of the target user, and the user can be assisted to quickly locate the latest attribute information of the object concerned by the user.
Optionally, in an embodiment, after step 102, the method according to an embodiment of the present application may further include:
for each item object, identifying at least one group session message corresponding to preset attribute information of the item object; and taking the latest message sending time in the at least one group session message as time point information associated with the preset attribute information of each item object.
In one example, referring to fig. 2 and 4, the preset attribute information of the item object in fig. 4 is extracted from the session message 12, the session message 13, and the session message 14 in fig. 2, and then the session message corresponding to the latest message sending time among the three session messages is the session message 14, so that the message sending time 14 of the session message 14 is 14: 16: 3/2/2020, and is the time point information associated with the preset attribute information of the item object in fig. 4.
Then, on the basis of 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 the first generated preset attribute information of each item object), the following method may be further implemented:
receiving a fifth input of a second session message from the first user to the group chat interface of the target group, wherein the second session message is sent to the group session message of the target group by the target user, and the second session message is not limited to a new session message;
in response to the fifth input, extracting preset attribute information of a fifth item object from the second session message;
if the item object corresponding to the preset attribute information extracted in step 102 includes the fifth item object, acquiring first time point information (time point information associated with the fifth item object in the list generated for the first time) associated with the fifth item object, and acquiring second time point information of the second session message;
if the second time point information is earlier than the first time point information, it indicates that the second session message triggered by the user to be input fifth is an old session message, and if the extracted preset attribute information of the fifth object is updated by using the preset attribute information corresponding to the second session message, the attribute information is easily updated to the expired wrong attribute information, so that the user can be prompted to cancel the updating 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 session message;
if the article object corresponding to the preset attribute information extracted in step 102 does not include the fifth article object, adding the preset attribute information of the fifth article object to the preset attribute information of the article object extracted in step 102.
In the embodiment of the application, after the preset attribute information of the article object related to the group session message is extracted for the first time from the group session message sent by the target user in the target group, the fifth input may be triggered by the user through a second session message sent by the target user received for the target group, and the time point information associated with the preset attribute information of each object extracted for the first time is used for judging whether the preset attribute information of the fifth object corresponding to the second conversation message is adopted or not, so as to update the preset attribute information of the fifth object extracted for the first time and avoid updating the state information to be overdue, the preset attribute information of the object output by the embodiment of the application is the latest state information, and the user can be assisted to quickly locate the latest attribute information of the object concerned by the user.
Optionally, if the user is not interested in a certain object in the output preset attribute information of the object, in order to save display space, the user can then select the item name of an item object by pressing long on the item name shown in fig. 5, or delete the preset attribute information of the certain item object in the list generated in step 102 by pressing any preset attribute information of the certain item object in fig. 6, the preset attribute information of the deleted item object may be automatically added to another list, named delete list, so that the user can view the detailed information of the previously deleted item object later, of course, after the user displays the deletion list, and performing double-click operation on any preset attribute information of a certain article object in the deletion list to restore the preset attribute information of the article object from the deletion list to the list generated in the step 102.
When the deleted list is displayed, the user may display the deleted list by long pressing a preset icon in the group chat interface of the target group, and the list item of the deleted list may also include information such as a commodity name, a commodity picture, a price, a profile, a selling state, and the like, and may be displayed in an expanded state shown in fig. 6.
Optionally, when a user wants to share an interested commodity with a friend for discussion, the user needs to inform the information of the commodity name, the brief introduction, the price and the like of the friend, and at this time, the user only needs to pinch the commodity picture of the commodity object to be shared after displaying the preset attribute information of each commodity object as shown in fig. 6, and then the method in the embodiment of the application may recognize the operation as a sharing operation, so that the information of the commodity name, the commodity picture, the price, the brief introduction and the like of the commodity object is generated into one picture as shown in fig. 7 for output, and the picture shown in fig. 7 may be imported into the local, so that the user may share the picture of fig. 7 with other friends.
In the embodiments, the present application provides a manner of automatically generating a commodity list based on a group message, which classifies tags set in a group, extracts the group message through technologies such as image recognition, semantic analysis, and text automatic processing, generates an item (i.e., preset attribute information), and then forms a commodity preview list, so that a group user can quickly browse and locate the commodity conveniently, the requirement of the user on quick location shopping can be met, and user operation steps are reduced. And the commodity preview list can be generated based on the group message, so that the user does not need to repeatedly check chat information and repeatedly confirm the commodity information, can quickly browse purchasable commodities and locate the required commodities, the operation of the user is greatly facilitated, and the user experience is improved.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution main body may be a message processing apparatus, or a control module in the message processing apparatus for executing the message processing method. The message processing apparatus provided in the embodiment of the present application is described with an example in which a message processing apparatus executes a message processing method.
Referring to fig. 8, a block diagram of a message processing apparatus according to an embodiment of the present application is shown. The message processing apparatus includes:
a first receiving module 31, configured to receive a target message sent by a target user;
a first extraction module 32, configured to extract attribute information of the item object existing in the target message;
and an output module 33, configured to output the attribute information.
Optionally, the output module 33 includes:
the first receiving submodule is used for receiving first input of a message interface to which the target message belongs;
a first output submodule, configured to output the attribute information in response to the first input.
Optionally, the attribute information includes identification information, and the first extraction module 32 includes:
the first extraction submodule is used for extracting the identification information of the object in each target message under the condition that each target message carries the identification information of the object;
a setting submodule, configured to, when a plurality of pieces 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, extract identification information of an item object in the second message, and set, in accordance with a time sequence among the plurality of pieces 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 in the plurality of pieces of target messages, as identification information of an item object corresponding to the first message;
and the second extraction submodule is used for extracting the attribute information of the object corresponding to the same identification information according to the time sequence for the plurality of target messages corresponding to the same identification information.
Optionally, the output module 33 includes:
the second output submodule is used for outputting the identification information of the object;
the second receiving submodule is used for receiving second input of first identification information of the first item object in the identification information of the item object; wherein the item object comprises the first item object;
and the third output submodule is used for responding to the second input and outputting the attribute information of the first article object.
Optionally, the apparatus further comprises:
and the identification module is used for identifying at least one message for extracting the attribute information of the item object and identifying the position of a third message in the at least one message in a message interface, and setting the position as an anchor point of the attribute information of the item object.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a third input of target attribute information in attribute information of a second object in the attribute information of the object, wherein the object comprises the second object;
and the switching module is used for responding to the third input and switching 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 object.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive a fourth message sent by the target user;
the second extraction module is used for extracting the first attribute information of the third object existing in the four messages;
a first updating module, configured to update attribute information of the third object in the extracted attribute information of the object according to the first attribute information of the third object extracted for the four messages when the object includes the third object;
and the second updating module is used for adding the third object in the extracted object and adding the first attribute information of the third object in the attribute information of the extracted object under the condition that the object does not comprise the third object.
In the embodiment of the application, a target message sent by a target user can be acquired, and attribute information of an object existing in the target message is extracted, so that information of each object shared by the target user in one session can be acquired, and the acquired attribute information of each object can be output. When the information of the object shared by the target user in the session is output, the user does not need to review the historical session information, so that the operation steps of the user are simplified; moreover, when the user needs to acquire the information of each article object in the session, the method in the embodiment of the application can directly output the attribute information of each article object shared by the target user in the session, so that the acquisition efficiency of the information of the article object in the session is improved.
The message processing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The message processing apparatus provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and is not described here again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 2000 is further provided in this embodiment of the present application, and includes a processor 2002, a memory 2001, and a program or an instruction stored in the memory 2001 and executable on the processor 2002, where the program or the instruction implements each process of the above-mentioned message processing method embodiment when executed by the processor 2002, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
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.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1010 is configured to receive a target message sent by a target user; extracting attribute information of the object existing in the target message;
an audio output unit 1003, or a display unit 1006, for outputting the attribute information.
In the embodiment of the application, a target message sent by a target user can be acquired, and attribute information of an object existing in the target message is extracted, so that information of each object shared by the target user in one session can be acquired, and the acquired attribute information of each object can be output. When the information of the object shared by the target user in the session is output, the user does not need to review the historical session information, so that the operation steps of the user are simplified; moreover, when the user needs to acquire the information of each article object in the session, the method in the embodiment of the application can directly output the attribute information of each article object shared by the target user in the session, so that the acquisition efficiency of the information of the article object in the session is improved.
Optionally, the user input unit 1007 is configured to receive a first input to a message interface to which the target message belongs;
an audio output unit 1003, or a display unit 1006, for outputting the attribute information in response to the first input.
In the embodiment of the present invention, when a user needs to acquire information about each object shared by a target user in a session, only a first input needs to be triggered to a message interface to which each target message shared by the target user belongs, and the method according to the embodiment of the present application can respond to the first input to acquire the target message sent by the target user and extract attribute information of the object existing in the target message, so that information about each object shared by the target user in one session can be obtained, and the acquired attribute information of each object can be output. In the process, the user only needs to trigger the first input, and does not need to review the historical conversation message in the message interface, so that the operation steps of the user in acquiring the information of the shared object in the conversation are further simplified.
Optionally, the preset attribute information includes identification information, and the processor 1010 is configured to extract the identification information of the object in each target message when each target message carries the identification information of the object; under the condition that a plurality of pieces of target messages comprise a first message which does not carry identification information of an article object and a second message which carries the identification information of the article object, extracting the identification information of the article object in the second message, and setting the identification information of the article object corresponding to a second message which is arranged before the first message and is closest to the first message in the plurality of pieces of target messages as the identification information of the article object corresponding to the first message according to the time sequence among the plurality of pieces of target messages; and extracting the attribute information of the object corresponding to the same identification information according to the time sequence for the plurality of target messages corresponding to the same identification information.
In the embodiment of the application, the identification information of the object in each group session message can be extracted based on the time sequence among a plurality of group session messages sent to the target group by the target user, so that each group session message has the identification information of the object associated with the group session message, and a plurality of group session messages related to the same object can be identified, so that the data source for extracting the preset attribute information is a plurality of group session messages which are comprehensive and accurate and correspond to the same identification information, and the comprehensiveness and the accuracy of the extracted preset attribute information of each object can be improved; in addition, when the preset attribute information is extracted from a plurality of group session messages corresponding to the same identification information, the preset attribute information can be extracted based on the time sequence, and since the message sending time corresponding to the latest attribute value of the same attribute of the same object is later than the expired attribute value, the latest attribute value of each preset attribute of the same object can be obtained based on the time sequence, the output preset attribute information is prevented from being the expired attribute value of the object, the accuracy of obtaining the latest status information of the object is improved, and therefore the user can conveniently and quickly locate the latest status information required by the user or concerned by the user by using the output preset attribute information of each object.
Optionally, an audio output unit 1003 or a display unit 1006, configured to output the identification information of the item object;
a user input unit 1007 for receiving a second input of first identification information of a first item object among the identification information of the item objects; wherein the item object comprises the first item object;
an audio output unit 1003, or a display unit 1006, configured to output attribute information of the first item object in response to the second input.
In the embodiment of the application, when outputting the preset attribute information of each object shared by the target user in the target group, the identification information of each object may be output first, so that the user can conveniently know each object list shared by the target user in the target group, when the user is interested in a certain object in the object list, the second input may be triggered by the first identification information of the first object, so as to output more attribute information of the first object, so that the user can conveniently know detailed latest state information of the object interested therein, without displaying all the preset attribute information of all the object shared by the target user related to the target group at one time, thereby not only saving the display space of the interface, but also flexibly displaying the preset attribute information of the object according to the user's requirement, the display flexibility of the state information of the object is improved.
Optionally, the processor 1010 is configured to, for each of the item objects, identify at least one message from which attribute information of the item object is extracted, and identify a location of a third message in the at least one message in a message interface, and set the location as an anchor point of the attribute information of the item object.
In this embodiment of the application, for each item object, at least one group session message corresponding to preset attribute information of the item object is identified, a location position of a third session in the group chat interface of the target group in the at least one group session message is identified, the location position is set as an anchor point of the preset attribute information of the item object, the third session message related to the preset attribute information of the item object in the target group can be set as the location in the group chat interface of the preset attribute information of the item object, so that a group session message describing the item object in the group chat interface can be located by using any preset attribute information of the item object, and an original group session message describing the preset attribute information of the item object can be searched conveniently.
Optionally, the user input unit 1007 is configured to receive a third input of target attribute information in attribute information of a second item object in the attribute information of the item object, where the item object includes the second item object;
a display unit 1006, configured to respond to the third input, and switch 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 this embodiment of the application, after the preset attribute information of each item object shared by the target user in the target group is output, if the user needs to browse a group session message about a certain item object, a third input may be triggered to any one of the preset attribute information of the certain item object, so as to switch the location position of the group chat interface of the target group to the location position of an anchor point corresponding to the preset attribute information of the item object, which is convenient for the user to browse an original group session message describing the preset attribute information of the item object, and is convenient for the user to view more detailed information of the item object or a complete description of the item object by the target user.
Optionally, the user input unit 1007 is configured to receive a fourth message sent by the target user, and extract first attribute information of a third object existing in the fourth message;
a processor 1010, configured to update attribute information of the third object in the extracted attribute information of the object according to the first attribute information of the third object extracted for the four messages when the object includes the third object; in a case where the article object does not include the third article object, adding the third article object in the extracted article object, and adding first attribute information of the third article object in attribute information of the extracted article object.
In this embodiment of the present application, after the preset attribute information of the article object related to the group session message is first extracted from the group session message sent by the target user in the target group, the new attribute information of the extracted article object (or the list of the preset attribute information of each article object generated for the first time) may be automatically added or updated according to the new session message sent by the target user and received by the target group, so that the preset attribute information of the article object output in this embodiment of the present application is determined by referring to the message content of the latest group session message of the target user, and can assist the user in quickly locating the latest attribute information of the article object concerned by the user.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as 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, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of message processing, the method comprising:
receiving a target message sent by a target user;
extracting attribute information of the object existing in the target message;
and outputting the attribute information.
2. The method of claim 1, wherein outputting the attribute information comprises:
receiving a first input of a message interface to which the target message belongs;
outputting the attribute information in response to the first input.
3. The method of claim 1, wherein the attribute information includes identification information, and wherein extracting the attribute information of the item object present in the target message includes:
under the condition that each target message carries identification information of an object, extracting the identification information of the object in each target message;
under the condition that a plurality of pieces of target messages comprise a first message which does not carry identification information of an article object and a second message which carries the identification information of the article object, extracting the identification information of the article object in the second message, and setting the identification information of the article object corresponding to a second message which is arranged before the first message and is closest to the first message in the plurality of pieces of target messages as the identification information of the article object corresponding to the first message according to the time sequence among the plurality of pieces of target messages;
and extracting the attribute information of the object corresponding to the same identification information according to the time sequence for the plurality of target messages corresponding to the same identification information.
4. The method of claim 3, wherein the outputting the attribute information comprises:
outputting identification information of the object;
receiving a second input of first identification information of a first item object in the identification information of the item object; wherein the item object comprises the first item object;
outputting attribute information of the first item object in response to the second input.
5. The method of claim 1, wherein after extracting the attribute information of the item object present in the target message, the method further comprises:
for each item object, identifying at least one message from which attribute information of the item object is extracted, and identifying a location of a third message of the at least one message in a message interface, the location being set as an anchor point for the attribute information of the item object.
6. The method of claim 5, wherein after outputting the attribute information, the method further comprises:
receiving a third input of target attribute information in attribute information of a second item object in the attribute information of the item object, wherein the item object comprises the second item object;
responding to the third input, and switching 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 object.
7. The method of claim 1, wherein after extracting the attribute information of the item object present 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 object existing in the fourth message;
updating the attribute information of the third object in the extracted attribute information of the object according to the first attribute information of the third object extracted from the four messages when the object comprises the third object;
in a case where the article object does not include the third article object, adding the third article object in the extracted article object, and adding first attribute information of the third article object in attribute information of the extracted article object.
8. A message processing apparatus, characterized in that the apparatus comprises:
the first receiving module is used for receiving a target message sent by a target user;
the first extraction module is used for extracting the attribute information of the object existing in the target message;
and the output module is used for outputting the attribute information.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the message processing method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the message processing method according to any one of claims 1 to 7.
CN202010889083.XA 2020-08-28 2020-08-28 Message processing method, device, electronic equipment 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 equipment 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 equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111967430A true CN111967430A (en) 2020-11-20
CN111967430B 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 equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111967430B (en)

Cited By (1)

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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0973111A2 (en) * 1998-07-15 2000-01-19 NCR International, Inc. System and method of applying promotional messages to electronic price labels
WO2008034379A1 (en) * 2006-09-15 2008-03-27 Huawei Technologies Co., Ltd. Method, system and device for replacing copyright object in digital copyright management system
US20150206257A1 (en) * 2012-07-24 2015-07-23 Nec Corporation Information processing device, data processing method thereof, and program
WO2015188771A1 (en) * 2014-06-11 2015-12-17 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing application notification message, and terminal device
JP2018142056A (en) * 2017-02-27 2018-09-13 日本電気株式会社 Information processing device, information processing system, information processing method and program
CN110189188A (en) * 2019-04-15 2019-08-30 深圳平安综合金融服务有限公司 Merchandise control method, apparatus, computer equipment and storage medium
CN110543269A (en) * 2019-09-06 2019-12-06 腾讯科技(深圳)有限公司 Message processing method and device, terminal equipment and storage medium
KR20200054787A (en) * 2018-11-12 2020-05-20 롯데정보통신 주식회사 Shopping support system and method for foreign language user
CN111445311A (en) * 2020-03-30 2020-07-24 深圳市微购科技有限公司 Order generation method, merchant terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0973111A2 (en) * 1998-07-15 2000-01-19 NCR International, Inc. System and method of applying promotional messages to electronic price labels
WO2008034379A1 (en) * 2006-09-15 2008-03-27 Huawei Technologies Co., Ltd. Method, system and device for replacing copyright object in digital copyright management system
US20150206257A1 (en) * 2012-07-24 2015-07-23 Nec Corporation Information processing device, data processing method thereof, and program
WO2015188771A1 (en) * 2014-06-11 2015-12-17 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing application notification message, and terminal device
JP2018142056A (en) * 2017-02-27 2018-09-13 日本電気株式会社 Information processing device, information processing system, information processing method and program
KR20200054787A (en) * 2018-11-12 2020-05-20 롯데정보통신 주식회사 Shopping support system and method for foreign language user
CN110189188A (en) * 2019-04-15 2019-08-30 深圳平安综合金融服务有限公司 Merchandise control method, apparatus, computer equipment and storage medium
CN110543269A (en) * 2019-09-06 2019-12-06 腾讯科技(深圳)有限公司 Message processing method and device, terminal equipment and storage medium
CN111445311A (en) * 2020-03-30 2020-07-24 深圳市微购科技有限公司 Order generation method, merchant terminal and storage medium

Cited By (2)

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

Also Published As

Publication number Publication date
CN111967430B (en) 2024-08-06

Similar Documents

Publication Publication Date Title
US9542365B1 (en) Methods for generating e-mail message interfaces
CN108351880A (en) Image processing method, device, electronic equipment and graphic user interface
CN111865758A (en) Message display method and device and electronic equipment
CN110636325A (en) Method and device for sharing push information on live broadcast platform and storage medium
CN112612391B (en) Message processing method and device and electronic equipment
CN112184168B (en) Reminding task generation method and device and electronic equipment
CN113194024B (en) Information display method and device and electronic equipment
CN112269504B (en) Information display method and device and electronic equipment
CN112333084B (en) File sending method and device and electronic equipment
CN112817676A (en) Information processing method and electronic device
CN111954079B (en) Image processing method, device, electronic equipment and medium
CN111638841B (en) Message detail page display method and device and electronic equipment
CN111859944A (en) Information display method and device and electronic equipment
CN114374663A (en) Message processing method and message processing device
CN111930281B (en) Reminding message creating method and device and electronic equipment
CN112035026B (en) Information display method and device, electronic equipment and storage medium
CN113590008A (en) Chat message display method and device and electronic equipment
CN111967430B (en) Message processing method, device, electronic equipment and readable storage medium
CN114995691A (en) Document processing method, device, equipment and medium
CN112818094A (en) Chat content processing method and device and electronic equipment
WO2022253132A1 (en) Information display method and apparatus, and electronic device
CN114625296A (en) Application processing method and device
CN115103056A (en) Information processing method, device, electronic equipment and storage medium
CN114385562A (en) Text information deleting method and device and electronic equipment
CN113839789A (en) Information sending 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