CN116800708A - Notification message output method and device and electronic equipment - Google Patents

Notification message output method and device and electronic equipment Download PDF

Info

Publication number
CN116800708A
CN116800708A CN202310495396.0A CN202310495396A CN116800708A CN 116800708 A CN116800708 A CN 116800708A CN 202310495396 A CN202310495396 A CN 202310495396A CN 116800708 A CN116800708 A CN 116800708A
Authority
CN
China
Prior art keywords
information
account
target
sharing
chat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310495396.0A
Other languages
Chinese (zh)
Inventor
郑苏婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202310495396.0A priority Critical patent/CN116800708A/en
Publication of CN116800708A publication Critical patent/CN116800708A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a notification message output method and device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: acquiring first sharing information shared on a first display interface, and generating target information based on the first sharing information, wherein the target information comprises at least one of notification information and candidate information, and outputting the target information under the condition that the electronic equipment displays a second display interface, and the first display interface and the second display interface are different display interfaces.

Description

Notification message output method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a notification message output method and device and electronic equipment.
Background
Nowadays, more and more people can share daily life drops on an information sharing platform such as a friend circle, and particularly share happiness or inadvisable at important moments, such as wedding, birthday, graduation, frustration of business and the like; family members and friends of the sharer can enter the friend circle to browse the content of the friend circle, praise and comment, share happiness together or represent comfort.
Family and friends as sharers often want to know at a first time when the sharers release important sharing information, and send messages such as blessing or comfort in time. However, in the current information sharing platform such as a friend circle, the user can only see the content released by the sharer when actively entering the homepage of the information sharing platform, so that the sharee cannot always send blessing or comfort to the sharer for the first time, and the participation of social sharing is weakened.
Disclosure of Invention
The embodiment of the application aims to provide a notification message output method, a notification message output device and electronic equipment, which can solve the technical problem that social sharing participation feeling is weak because sharing content of a sharer cannot be known in time in the existing information sharing platform.
In a first aspect, an embodiment of the present application provides a method for outputting a notification message, where the method includes:
acquiring first sharing information shared on a first display interface;
generating target information based on the first sharing information, wherein the target information comprises at least one of a notification message and candidate information;
and outputting the target information under the condition that the electronic equipment displays a second display interface, wherein the first display interface and the second display interface are different display interfaces.
In a second aspect, an embodiment of the present application provides an output device for a notification message, where the device includes:
the acquisition module is used for acquiring first sharing information shared on the first display interface;
a generation module, configured to generate target information based on the first sharing information, where the target information includes at least one of a notification message and candidate information;
the output module is used for outputting the target information under the condition that the second display interface is displayed on the electronic equipment, and the first display interface and the second display interface are different display interfaces.
In a third aspect, an embodiment of the application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as provided in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as provided in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as provided in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement a method as provided in the first aspect.
According to the method and device for outputting the notification message and the electronic equipment, the first sharing message shared by the target sharing platform can be obtained, the target information is generated based on the first sharing message, if the display interface of the electronic equipment is not the display interface of the target information sharing platform, the target information can be output on the first display interface of the electronic equipment, and the notification message is used for notifying a user of the electronic equipment that the first sharing message exists in the target information sharing platform because the target information comprises at least one of the notification message and the candidate information, and the candidate information is used for assisting the user in chatting through an account number and an associated account number of the first sharing information. Therefore, even if the user does not log in the homepage of the target information sharing platform on the electronic equipment by utilizing the second account, the user can learn the notification of the release of the first sharing information at the first time or chat with the associated account of the first sharing information quickly and conveniently, so that the participation of social sharing is improved.
Drawings
FIG. 1 is a flow chart of a method for outputting notification messages according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a notification message output device according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to another embodiment of the present application;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type not limited to the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In order to solve the technical problems, the application provides a notification message output method. The following describes in detail, by means of specific embodiments and application scenarios thereof, a notification message output method provided by the embodiment of the present application with reference to the accompanying drawings.
As shown in fig. 1, fig. 1 is a flowchart of a method for outputting a notification message according to an embodiment of the present application, where the method for outputting a notification message according to the embodiment of the present application may include:
s101, acquiring first sharing information shared on a first display interface;
in this embodiment, the first display interface may be an interface for displaying information in a target information sharing platform, where the first shared information is information published by an account on the target information sharing platform, the target information sharing platform may be any information sharing platform, the information sharing platform is an online social platform, a user may register an account on the information platform and share and propagate various information, such as text, pictures, videos, links, etc., through the account, and various information sharing and propagating can be displayed on display pages of other accounts on the information sharing platform.
For example, the first shared information may be information shared by the first account on the target information sharing platform, and after the first account publishes the first shared information on the target information sharing platform, the second account may obtain the first shared information from a first display interface of the target information sharing platform. The first account refers to a sharer of information on the target information sharing platform, and the second account refers to a sharee of information. The first account and the second account can have an association relationship, and the association relationship can be friends or a group; based on the association relationship, the first sharing information shared by the first account can be seen on the interface of the display information of the second account. The electronic device can support the second account to log in the target information sharing platform, and after the second account logs in the target information sharing platform on the electronic device, the electronic device can acquire the first sharing information shared on the first display interface.
S102, generating target information based on the first sharing information, wherein the target information comprises at least one of notification information and candidate information;
in this embodiment, after the electronic device logged in the second account obtains the first sharing information shared by the first account on the target information sharing platform, the content of the first sharing message may be analyzed, and the target information may be generated based on the content of the first sharing message. The target information comprises a notification message and candidate information, wherein the notification message is used for notifying a user of the electronic equipment, and a first sharing message exists in a target information sharing platform; and when the second account is chatting based on the first sharing information and the associated account of the first sharing information, the candidate information is information displayed in the display area of the candidate word of the input frame in the chatting process, and the candidate information can comprise words, phrases, pictures and expressions associated with the first sharing information.
And S103, outputting the target information when the electronic equipment displays a second display interface, wherein the first display interface and the second display interface are different display interfaces.
In the embodiment of the application, the first display interface is the display interface of the target information sharing platform, and the second display interface is an interface other than the display interface of the target information sharing platform.
Therefore, if the display interface of the electronic device is the first display interface, which means that the target information sharing platform operates at the front end of the electronic device, the user corresponding to the second account can directly see the first sharing message on the display interface of the electronic device, so that a notification message does not need to be output to the user any more to notify the user that the first sharing message exists in the target information sharing platform; if the display interface of the electronic device is the second display interface, which means that the target information sharing platform is not operated at the front end of the electronic device, the user corresponding to the second account cannot directly see the first sharing message on the display interface of the electronic device, so that a notification message can be output to the user to notify the user that the first sharing message shared by the first user exists on the target information sharing platform.
The notification message can be output to the user in a text form on the first display interface, or can be output to the user in a voice broadcast form.
After outputting the notification message to the user, the first display interface may be entered through input of the target information, or a chat interface associated with the first shared information may be entered.
In the case of entering the chat interface associated with the first sharing information, the chat content may be associated with the first sharing information, so that at least one candidate information may be generated based on the first sharing information, and the candidate information may be displayed as a candidate word in the chat input box associated with the first sharing information. The user can directly select target candidate information from at least one candidate information through the input of the candidate information, and the target candidate information is displayed on the screen and sent to the chat frame of the chat interface.
In the application, a first sharing message shared by a target sharing platform can be obtained, and target information is generated based on the first sharing message, if the display interface of the electronic device is not the display interface of the target information sharing platform, the target information can be output on the first display interface of the electronic device, and the target information comprises at least one of a notification message and candidate information, wherein the notification message is used for notifying a user of the electronic device that the first sharing message exists in the target information sharing platform, and the candidate information is used for assisting the user in chatting through an account number and an associated account number of the first sharing information. Therefore, even if the user does not log in the homepage of the target information sharing platform on the electronic equipment by utilizing the second account, the user can learn the notification of the release of the first sharing information at the first time or chat with the associated account of the first sharing information quickly and conveniently, so that the participation of social sharing is improved.
In some embodiments, S102 comprises:
obtaining the sharing content of the first sharing information;
generating an attribute tag of the first sharing information based on the sharing content of the first sharing information;
And generating a notification message based on the attribute tag of the first sharing information under the condition that the attribute tag of the first sharing information is matched with a preset tag in a preset tag library.
In this embodiment, the attribute tag refers to a content, a theme, a feature, or an attribute keyword or phrase describing the first shared information, and may generate the attribute tag of the first shared information through a trained tag generation model. For example, the shared content of the first shared information may be input into a tag generation model, where the output of the tag generation model is an attribute tag of the first shared information, where the tag generation model is a neural network model trained by a target training set, the target training set includes at least one training sample, the training sample includes the shared content of the historical shared information and a historical tag on the target information sharing platform, and the historical tag is manually labeled according to the shared content of the historical shared information.
The preset labels in the preset label library are a set of labels meeting preset rules set by a user in advance, and the preset label library represents the preference of the user corresponding to the second account. If the attribute tag matched with the attribute tag of the first sharing information exists in the preset tag library, the user is interested in the first sharing information, so that a notification message corresponding to the first sharing information can be output to the user; if the attribute tag matched with the attribute tag of the first sharing information does not exist in the preset tag library, the user is not interested in the first sharing information, and therefore a notification message corresponding to the first sharing information does not need to be generated. The preset rule can be associated with a history tag corresponding to the history sharing information, and the preset rule can be that the number of times of occurrence in the history tag corresponding to the history sharing information is greater than a certain number of times threshold; the frequency of occurrence in the history label corresponding to the history sharing information may be greater than a certain frequency threshold.
In this embodiment, the first sharing information may be screened through the attribute tag, and only the notification message corresponding to the first sharing information interested by the user is generated and output on the electronic device, so that the user can learn the sharing information published by the sharing message interested by the user at the first time, thereby improving the participation sense of social sharing.
In some embodiments, when the attribute tag of the first shared information matches a preset tag in a preset tag library, before generating the notification message based on the attribute tag of the first shared information, the method further includes:
acquiring sharing content of N pieces of history sharing information;
calculating similarity scores among the historical sharing information based on the sharing content of the N pieces of historical sharing information to obtain similarity scores of the N pieces of historical sharing information;
determining at least one item of history sharing information based on the similarity scores of the N pieces of history sharing information;
and taking the history label of the at least one item of label history sharing information as a preset label in the preset label library, wherein N is a positive integer greater than 1.
In this embodiment, the history sharing information refers to a sharing message before the first sharing information that can be displayed on the homepage of the second account on the target information sharing platform. The similarity score of each piece of history sharing information can be calculated respectively, at least one piece of history sharing information is determined from the N pieces of history sharing information based on the similarity scores of the plurality of pieces of history sharing information, and the history label of the at least one piece of history sharing information is determined as a preset label.
For example, the plurality of pieces of history sharing information may be ranked in order of high-to-low similarity score, and a history label of the history sharing information with similarity score greater than the score threshold is set as a preset label; the history label of the N pieces of history sharing information with the highest similarity score can be set as a preset label, and N is a positive integer.
For any piece of first history sharing information, the second history sharing information is history sharing information other than the first history sharing information, the similarity between the first history sharing information and each piece of second history sharing information can be calculated, and an average value of the similarity between the first history sharing information and each piece of second history sharing information is determined as a similarity score of the first history sharing information, so that the similarity score of the first history sharing information can be used for representing the average similarity between the first history sharing information and other history sharing information on the target information sharing platform, the higher the average similarity is, the more important the first history sharing information is, the more consistent with the preference of a user corresponding to the second account, and therefore the history label of the history information with the similarity score larger than the score threshold value can be used as a preset label in a preset label library to ensure that the sharing information corresponding to the preset label is information consistent with the preference of the user.
For example, the similarity of any two pieces of history sharing information can be calculated by using a cosine similarity method; specifically, the history sharing information may be first segmented, the history sharing information is converted into a collection of words, stop words are removed based on the segmentation result, that is, some words without practical meaning such as "yes", "i", etc. are removed, then a word vector of each history sharing information is constructed according to the segmentation result, each word in the history sharing information is represented as a vector, and the similarity of two history sharing information is calculated by using a cosine similarity formula.
By the method, at least one history sharing message meeting the user preference can be selected from the plurality of pieces of history sharing information, and the history label of the at least one history sharing message is used as a preset label so as to be matched with the attribute label of the first sharing information, so that whether the first sharing information meets the user preference or not can be accurately determined, and whether the notification message of the first sharing information needs to be generated or not is determined.
In some embodiments, the generating a notification message based on the attribute tag of the first shared information includes:
Acquiring account information of a first account, wherein the first account is a user sharing the first sharing information;
and adding the account information of the first account and the attribute tag of the first sharing information into a preset message template to generate a notification message.
In this embodiment, the notification message may be a fixed message template, and two blank slots are left at a fixed position of the message template, so long as the blank slots are filled with the account information of the first account and the attribute tag of the first sharing information, the notification message may be generated, where the account information of the first account may be the account name of the first account, or may be the account identifier of the first account.
For example, the message template may issue a piece of sharing information about "slot 2" for "slot 1", where account information of the first account may be filled in slot 1, and an attribute tag of the first sharing information may be filled in slot 2, so that a user of the electronic device may accurately know a sharer and a message subject of the first sharing message through notification messages.
In some embodiments, prior to S120, further comprising:
acquiring a target address book of the second account number in the target information sharing platform, wherein the target address book comprises a plurality of communication account numbers, and the second account number is an account number of the electronic equipment;
Calculating the intimacy degree of the second account and each communication account on at least one intimacy index, wherein the at least one intimacy index is used for representing the intimacy degree of at least one of social relationship, interest and emotion;
determining at least one target communication account among the plurality of communication accounts based on the intimacy on the at least one intimacy indicator;
determining the at least one target communication account as a preset account in the preset account library;
s102 includes:
and generating a notification message based on the first sharing information under the condition that the first account is matched with a preset account in a preset account library.
In this embodiment, the target address book includes a set of a plurality of communication accounts having a communication relationship with the second account on the target information sharing platform. The preset account number in the preset account number library can be selected from a plurality of communication account numbers. Illustratively, the at least one affinity index includes a social affinity, an interest affinity, and an emotion affinity, wherein the social affinity is used for representing the affinity of the second account and each communication account in the social relationship, the interest affinity is used for representing the affinity of the second account and each communication account in the interest, and the emotion affinity is used for representing the affinity of the second account and each communication account in the emotion. The social affinity, the interest affinity and the emotion affinity of the second account and each communication account can be calculated first, a weighted average of the social affinity, the interest affinity and the emotion affinity is calculated as the affinity of the second account and each communication account, and the communication account with the affinity greater than the affinity threshold is determined as a preset account in a preset account library.
In an embodiment, the social affinity refers to the affinity between two accounts in social relationships (such as family, friends and colleagues), and the user of the second account may set social relationships between each communication account and the second account in the address book, where each social relationship corresponds to a quantified social affinity, and the social affinity of the family is greater than that of the friends, and the social affinity of the friends is greater than that of the colleagues.
In another embodiment, the affinity of interest refers to the similarity of interest between two accounts, where the similarity can be calculated by the frequency of interaction behavior of the two accounts, where the interaction behavior includes praying or commenting on the sharing information of the counterpart on the target information sharing platform, and where the interaction behavior may also include chat with the counterpart.
In yet another embodiment, emotion affinity refers to the emotional similarity between two accounts, which can be calculated by comparing the emotional similarity ratio of the content shared by the target information sharing platform, and the content emotion is identified by the similarity of the labels of the text content shared by the two accounts and the similarity of the shared pictures or videos. If two people have similar emotional tendencies, the emotional affinity between them will be higher.
After the emotion affinity, interest affinity and social affinity between the two accounts are calculated, a weight can be respectively given to the emotion affinity, interest affinity and social affinity, and then the weighted average of the emotion affinity, interest affinity and social affinity is used as the final affinity between the two accounts.
In this embodiment, the at least one target communication account may be determined based on the affinity for the second account, and the set of at least one target communication account may be generated as the preset account library.
The preset account number in the preset account number library is a collection of account numbers with higher affinity with the second account number. If the first account is matched with the preset account in the preset account library, the intimacy degree of the second account and the first account is higher, so that a notification message corresponding to the first sharing information can be output to a user of the second account; if the first account number is not matched with the preset account number in the preset account number library, the intimacy degree of the second account number and the first account number is relatively low, and therefore a notification message corresponding to the first sharing information does not need to be generated.
In this embodiment, the screening may be performed based on the affinities of the sharing account number of the first sharing information and the second account number, and the notification message corresponding to the first sharing information is generated only when the first sharing information is the information published by the communication account number with higher affinity with the second account number, and is output on the electronic device, so that the user can learn the sharing information published by the communication account number interested by the user at the first time, thereby improving the participation sense of social sharing.
In some embodiments, after S103, further comprising:
receiving a first input for the notification message;
and responding to the first input, displaying a chat interface associated with the first sharing information, wherein the first chat interface is a chat interface between a second account and a first account, or the first chat interface is a chat interface between the second account and a target account, and the target account is an account of at least one third account determined based on the sharing content of the first sharing information.
In this embodiment, the first input may be a touch input of the electronic device by the user, for example, the touch input may be a touch click operation, a sliding operation, or other operations. The first input may also be an input operation performed by a user by means of a mouse, a remote control device, a keyboard, or other input device connected to the first electronic device. Alternatively, the first input may indicate a control in the notification message. If not specifically described, the input to the electronic device in the following description may be a touch click operation, a sliding operation or other operations, or may be an input operation performed by a user through other input devices such as a mouse, a remote control device, a keyboard, etc. connected to the electronic device.
In this embodiment, the first input may be an input for jumping the display interface of the electronic device to a first chat interface, where the first chat interface is a chat interface associated with the first sharing information. The electronic device displays a first chat interface associated with the first shared information in response to the first input. By the first input of the notification message, the user can quickly enter the chat interface associated with the first sharing information, so that the chat operation of the user is simplified.
In some embodiments, the first chat interface may be a chat interface between the second account and the first account. In other embodiments, the first chat interface may be a chat interface between the second account and a target account, where the target account is an account of at least one third account determined based on the shared content of the first shared information. The third account is an account except the first account and the second account.
In the case that the first chat interface is a chat interface between the second account and the first account, the generated notification message may include a first chat control, where the first chat control is used to instruct to skip the display interface of the electronic device to the chat interface between the second account and the first account. The first chat control can be in the form of a control such as a slider and a button; accordingly, the first input may be an input to a first chat control.
In this way, after the user sees the notification message, it is highly possible for the user of the second account to chat with the sharer of the first shared information; according to the embodiment, the user can jump to the chat interface of the sharer sharing the information with the first user only through one input, so that the operation flow is greatly simplified.
In the case that the first chat interface is a chat interface between the second account and the target account, the third account is an account which is other than the first account and the second account and has association with the first sharing information, because the third account and the first sharing information have association relationship, after receiving the notification message of the first sharing information, the user of the second account also has a possibility of wanting to chat with any one third account, and then the first input may be an input for displaying the chat interface between the second account and the target account.
For example, the generated notification message may include a second chat control, where the second chat control is configured to instruct to display, on a display interface of the electronic device, account identifiers of all accounts having an association relationship with the first sharing information. When a user of the electronic device performs first input on the second chat control, the electronic device responds to the first input, triggers and identifies first sharing information, obtains all accounts with association relation with the first sharing information, screens out third accounts except the first account and the second account from the accounts, and displays account identifications of all the third accounts on a display interface of the electronic device.
The electronic device may also receive a seventh input, which may be an input of an account identification of a target account of the at least one third account, and after responding to the seventh input, may jump the display interface of the electronic device to a chat interface between the second account and the target account.
According to the embodiment, the user can jump to the chat interface of any one of the associated users sharing the information only through a small amount of operations, so that the operation flow is greatly simplified.
In some embodiments, before displaying the first chat interface in response to the first input, the method further comprises:
when the first sharing information comprises a picture or a video and the picture or the video comprises a face image, determining an account number of a user corresponding to the face image as at least one third account number; or alternatively, the process may be performed,
and determining an account corresponding to the account information as at least one third account under the condition that the first sharing information comprises text information and the text information comprises account information.
In this embodiment, the first account may be determined by the content of the first sharing information, where the first sharing information includes text information, the text information may be identified, and the third account may be determined based on the result of the identification. Specifically, if the first sharing information includes text information and the text information includes account information, at least one account corresponding to the account information may be determined, and an account other than the first account and the second account in the at least one account is determined to be a third account. The account information may be an account name included in the text information in the first sharing information, or may be a user name of a user corresponding to the account included in the text information in the first sharing information.
In the case that the first sharing information includes a picture or a video, the picture or the video may be identified, and the third account may be determined based on a result of the identification. Specifically, if the first sharing information includes a picture or a video and the picture or the video includes a face image, at least one user included in the face image may be determined, at least one account corresponding to the at least one user is determined, and an account other than the first account and the second account in the at least one account is determined to be the third account.
Through the method, all accounts with the association relation with the first sharing information can be accurately identified.
In some embodiments, after the outputting the notification message, the method further includes:
receiving a second input for the notification message;
in response to the second input, displaying a target group identification associated with the first sharing information, the target group identification being used to identify a target chat group, the target chat group including at least one of a first account number and at least one third account number;
receiving a third input of the target group identification;
responsive to the third input, a second chat interface associated with the target chat group is displayed.
In this embodiment, the generated notification message may include a first group control, where the first group control is used to instruct to display, on a display interface of the electronic device, a target group identifier associated with the first sharing information. The first group of controls may be in the form of sliders, buttons, etc. controls; accordingly, the second input may be an input to the first group control.
After responding to the second input, a plurality of group identifications of a plurality of groups associated with the first sharing information are displayed on a display interface of the electronic device, a user can select a target group identification from the plurality of group identifications, the third input is input on the target group identification, and the electronic device responds to the third input, namely, the display interface of the electronic device is jumped to a second chat interface associated with a target chat group corresponding to the target group identification.
After the user sees the notification message, chat is performed on the group where the associated user of the first sharing information is located, which is a very probable operation performed by the user of the second account; based on the embodiment, the user can jump to the chat interface of the target chat group only through simple operation, so that the operation flow is greatly simplified.
In some embodiments, the displaying the target group identification associated with the first shared information includes:
displaying at least one group identification associated with the first sharing information, the at least one group identification including the target group identification;
before receiving the third input of the target group identification, the method further comprises:
determining the number of the target account numbers included in the chat group corresponding to each group identifier in the at least one group identifier, wherein the target account numbers are the first account number or the third account number;
sorting the at least one group identification according to the number of the chat groups including the target account number;
wherein the third input is an input that selects the target group identification based on the ranking.
In this embodiment, the group identifier is used to identify an existing chat group in the address book of the second account. And under the condition that the received second input is the input of displaying the target group identification associated with the first sharing information on the display interface of the electronic equipment, identifying the first sharing information, acquiring the target account numbers with association relation with the first sharing information, and further screening out all chat groups comprising the target account numbers. And then sorting at least one group identifier of all chat groups according to the number of the target account numbers in the chat groups, and displaying the sorted at least one group identifier on a display interface of the electronic equipment. The ranking may be performed in order of high to low numbers of target accounts in the chat group.
The third input may be an input by the user of the target group identification, and the electronic device is responsive to the third input to display a second chat interface associated with the target chat group identified by the target group identification on a display interface of the electronic device.
In addition, the user may create a target chat group before displaying the target group identification associated with the first shared information. In the process of creating the target chat group, the account identifications of the first account and at least one third account can be displayed on a display interface of the electronic equipment, and then the electronic equipment receives fourth input of a plurality of account identifications in the account identifications of the first account and the at least one third account by a user; and in response to the fourth input, creating a target chat group comprising a plurality of accounts corresponding to the plurality of account identifications.
In the embodiment of creating the target chat group, the generated notification message may include a second group control, where the second group control is used to indicate an account identifier that displays the first account and the at least one third account on a display interface of the electronic device. The second group of controls may be in the form of sliders, buttons, etc. controls; accordingly, the second input may be an input to a second group control. And responding to the second input, and displaying the account identifiers of the first account and all the third accounts on a display interface of the electronic equipment.
The fourth input may be an input of selecting a plurality of account identifiers from account identifiers of the first account and at least one third account, and creating a target chat group including a plurality of accounts corresponding to the plurality of account identifiers, and the target chat group may be created in response to the fourth input.
After the user sees the notification message, creating a new group where the associated user including the first sharing information is located to chat, which is a very probable operation performed by the user of the second account; based on the embodiment, a new target chat group can be created by simple operation and the chat interface of the target chat group is jumped to, so that the operation flow is greatly simplified.
In some embodiments, the generating the target information based on the first sharing information includes:
extracting an interested display area in the first sharing information when the first sharing information comprises a picture or a video, wherein an image in the interested display area of the first sharing information is taken as a target image;
generating first expression information based on the target image,
wherein the at least one candidate information includes the first expression information.
In this embodiment, the target information includes candidate information, where the candidate information may be first expression information, and the first expression information is a static expression packet or a dynamic expression packet. When the first sharing information includes a picture and the picture includes a face image, face image recognition can be performed in the picture, a display region of interest where the face image in the picture is located is recognized, and an image in the display region of interest is taken as a target image. The character expression of the character can be identified in the target image, and the first expression information is generated according to the character expression. For example, there is one corresponding expression package for each person in the picture, so the first expression information includes at least one expression package.
Under the condition that the first sharing information comprises a video and the video comprises a face image, the video can be identified frame by frame to obtain at least one video frame, then the face image identification is carried out on the at least one video frame, the interested display area where the face image in each video frame in the at least one video frame is located is identified, and the image in the interested display area is taken as a target image. The method can identify the character expression of the character in each video frame, acquire the character voice in the video and generate first expression information according to the character expression and the character voice. For example, there is a corresponding expression package for each person in each video frame, so there is a corresponding set of expression packages for each person in the video, and the first expression information may include at least one set of expression packages corresponding to at least one person.
For example, the first sharing information includes a picture or a video, and thus the generated at least one candidate information includes at least one group of expression packages, where each group of expression packages corresponds to one first account or one third account.
When the chat interface associated with the first sharing information is the chat interface between the second account and the first account, the expression package corresponding to the first account can be displayed in the candidate word display area of the input frame as the expression package with the highest priority, and the expression packages corresponding to other accounts can be sequentially displayed in the candidate word display area of the input frame according to the sequence identified from the pictures or the videos.
When the chat interface associated with the first sharing information is the chat interface between the second account and the target account, the expression package corresponding to the target account can be displayed in the candidate word display area of the input frame as the expression package with the highest priority, and the expression packages corresponding to other accounts can be sequentially displayed in the candidate word display area of the input frame according to the order identified from the picture or the video.
In some embodiments, the second display interface is a chat interface of a second account and a fourth account;
the generating target information based on the first sharing information includes:
acquiring at least one piece of historical expression information in a historical chat process between the second account and the fourth account;
generating second expression information according to the at least one historical expression information and the first expression information,
wherein the at least one candidate information includes the second expression information.
In this embodiment, at least one historical chat expression information can represent a preference of the fourth account and the second account in terms of types, styles, and the like of the expression information in a chat process performed by the fourth account and the second account. Thus, the user preference can be determined based on the at least one historical expression information, and the second expression information can be generated based on the user preference and the first expression information, and the newly generated second expression information can be displayed in the input box candidate word display area on the chat interface. In the chat process, the user of the second account can select the second expression information of the target in the display area of the candidate words of the input frame, and the second expression information of the target is displayed on the screen and sent to the chat frame of the chat interface. So that the expression information in the candidate information accords with the preference of the second account on the expression information in terms of type, style and the like.
In some embodiments, the generating the target information based on the first sharing information includes:
comment information associated with the first sharing information is acquired;
performing word segmentation processing on the evaluation information to obtain a plurality of segmented words;
determining at least one target word among the plurality of words,
wherein the at least one candidate information includes the at least one target word.
In this embodiment, the candidate information may be a target word. Under the condition that comment information exists in the first sharing information, word segmentation processing is conducted on all the comment information to obtain a plurality of word segments, and based on the occurrence frequency of the word segments in the plurality of word segments, the word segments with higher occurrence frequency are determined to be target word segments. For example, a word whose number of occurrences is greater than the number threshold may be determined as a target word, and a word whose number of occurrences is P-bit before ranking may be determined as a target word. After determining the target word, the target word may be displayed on a chat interface associated with the first shared information. By the method, words with higher association degree with the first sharing information can be selected, and the second account can be conveniently and directly used for chatting in the chatting process.
In some embodiments, the second display interface is a chat interface associated with the first shared information;
after the at least one candidate information is displayed on the second display interface, the method further comprises:
receiving a fifth input of third expression information, wherein the fifth input is used for indicating that the third expression information is sent to the second display interface, and the at least one candidate information comprises the third expression information;
generating a target text in response to the fifth input, wherein the target text is used for representing the third expression information;
and displaying the target text by a fifth account in the chat interface associated with the first sharing information under the condition that the electronic equipment sends third expression information in the chat interface associated with the first sharing information.
In this embodiment, the third expression information may be any expression package. The target text is an annotation text for annotating the third expression information, and after receiving the fifth input, the target text corresponding to the third expression information may be generated.
And then, when the third expression information is sent to the chat frame, the third expression information can be displayed only in the chat frame, the target text corresponding to the third expression information can be displayed only in the chat frame, and the target text corresponding to the third expression information can be displayed in the chat frame.
For example, after the fifth input, a conversion control and an annotation control may be displayed on the chat interface, where the conversion control may be used to indicate that when the third expression information is sent to the chat frame, only the target text corresponding to the third expression information is displayed in the chat frame; the annotation control can be used for indicating that when the third expression information is sent to the chat frame, the third expression information is displayed in the chat frame, and target text corresponding to the third expression information is displayed; the annotation control may be further configured to instruct, when the third expression information is sent to the chat frame, to display the third expression information in the chat frame, and after the receiver of the third expression information performs annotation input on the third expression information, to display a target text corresponding to the third expression information beside the third expression information.
In some embodiments, the second display interface is a group chat interface associated with the first shared information;
after the at least one candidate information is displayed on the second display interface, the method further comprises:
receiving a sixth input of at least one account in the group chat interface;
in response to the sixth input, the at least one account is determined to be the fifth account.
In this embodiment, a part or all of the accounts in the address book of the second account may be selected as the fifth account through the sixth input; the inputs for the annotation control and the conversion control are only effective for the fifth account number.
For example, both the annotation control and the conversion control may be check boxes, and when the check boxes of the annotation control are selected and the user sends the third expression message in a group with the number of accounts being greater than 2, the target text corresponding to the third expression message is received by the fifth account in the group, and the third expression message is received by the accounts other than the fifth account in the group.
Similarly, when the selection box of the conversion control is selected, and the user sends the third expression message in a group with the number of accounts being greater than 2, all accounts in the group can receive the third expression message, but when the fifth account clicks the received third expression message, the target text corresponding to the third expression message is displayed on the interface below the third expression message.
Fig. 2 is a schematic structural diagram of a notification message output device according to another embodiment of the present application, where, as shown in fig. 2, the notification message output device may include:
The obtaining module 201 is configured to obtain first sharing information shared on a first display interface;
a generating module 202, configured to generate target information based on the first sharing information, where the target information includes at least one of a notification message and candidate information;
and the output module 203 is configured to output the target information when the electronic device displays a second display interface, where the first display interface and the second display interface are different display interfaces.
In the application, a first sharing message shared by a target sharing platform can be obtained, and target information is generated based on the first sharing message, if the display interface of the electronic device is not the display interface of the target information sharing platform, the target information can be output on the first display interface of the electronic device, and the target information comprises at least one of a notification message and candidate information, wherein the notification message is used for notifying a user of the electronic device that the first sharing message exists in the target information sharing platform, and the candidate information is used for assisting the user in chatting through an account number and an associated account number of the first sharing information. Therefore, even if the user does not log in the homepage of the target information sharing platform on the electronic equipment by utilizing the second account, the user can learn the notification of the release of the first sharing information at the first time or chat with the associated account of the first sharing information quickly and conveniently, so that the participation of social sharing is improved.
In another alternative example, the generating module 202 includes:
the first acquisition unit is used for acquiring the shared content of the first shared information;
the first generation unit is used for generating attribute tags of the first sharing information based on the sharing content of the first sharing information;
the first generation unit is further configured to generate a notification message based on the attribute tag of the first sharing information when the attribute tag of the first sharing information is matched with a preset tag in a preset tag library.
In another optional example, the first obtaining unit is further configured to obtain shared content of N pieces of history shared information;
the first generation unit is further used for calculating similarity scores of the historical sharing information based on the sharing content of the N pieces of historical sharing information to obtain similarity scores of the N pieces of historical sharing information;
the generating module 202 further includes:
the first determining unit is used for determining at least one item of history sharing information based on the similarity scores of the N items of history sharing information;
the first determining unit is further configured to use the history tag of the at least one item of tag history sharing information as a preset tag in the preset tag library, where N is a positive integer greater than 1.
In another alternative example, the generating module 202 further includes:
the second acquisition module is used for acquiring account information of a first account, wherein the first account is a user sharing the first sharing information;
the first generation unit is further configured to add account information of the first account and an attribute tag of the first sharing information to a preset message template, and generate a notification message.
In another optional example, the obtaining module 201 is further configured to obtain a target address book of the second account on the target information sharing platform, where the target address book includes a plurality of communication accounts;
the output device of the notification message further includes:
a calculating module 204, configured to calculate a intimacy degree of the second account and each communication account on at least one intimacy index, where the at least one intimacy index is used to represent a intimacy degree of at least one of a social relationship, an interest, and an emotion;
a determining module 205, configured to determine at least one target communication account among the plurality of communication accounts based on the affinity on the at least one affinity index;
the determining module 205 is further configured to determine the at least one target communication account as a preset account in the preset account library;
The first generation unit is further configured to generate a notification message based on the first sharing information when the first account is matched with a preset account in a preset account library.
In another optional example, the outputting means of the notification message further includes:
a receiving module 206 for receiving a first input of the notification message;
the output module 203 is further configured to display, in response to the first input, a first chat interface, where the first chat interface is a chat interface between a second account and a first account, or the first chat interface is a chat interface between the second account and a target account, and the target account is an account of at least one third account determined based on the sharing content of the first sharing information.
In another optional example, the determining module 205 is further configured to determine, when the first sharing information includes a picture or video, and the picture or video includes a face image, an account of a user corresponding to the face image as at least one third account; or alternatively, the process may be performed,
and determining an account corresponding to the account information as at least one third account under the condition that the first sharing information comprises text information and the text information comprises account information.
In another alternative example, the receiving module 206 is further configured to receive a second input of the target group identification;
the output module 203 is further configured to display, in response to the second input, a target group identifier associated with the first sharing information, where the target group identifier is used to identify a target chat group, and the target chat group includes at least one account of the first account and the at least one third account.
The receiving module 206 is further configured to receive a third input of the target group identifier;
the output module 203 is further configured to display a second chat interface associated with the target chat group in response to the third input.
In another optional example, the output module 203 is further configured to display at least one group identifier associated with the first sharing information, where the at least one group identifier includes the target group identifier;
the determining module 205 is configured to determine that, in the at least one group identifier, a chat group corresponding to each group identifier includes a number of target accounts, where the target account is the first account or the third account;
the output device of the notification message further includes:
a ranking module 207, configured to rank the at least one group identifier according to the number of the chat groups including the target account number;
Wherein the third input is an input that selects the target group identification based on the ranking.
In another alternative example, the generating module 202 is further configured to send, in response to receiving a fourth input of target candidate information in the at least one candidate information, the target candidate information at a chat interface associated with the first sharing information.
In another optional example, the generating module 202 is further configured to extract, when the first sharing information includes a picture or a video, a display region of interest in the first sharing information, where an image in the display region of interest of the first sharing information is a target image;
the generating module 202 is further configured to generate, based on the target image, first expression information,
wherein the at least one candidate information includes the first expression information.
In another optional example, the chat interface is used for chat between the first account and a fourth account; the obtaining module 201 is further configured to obtain at least one historical chat expression information in a historical chat process between the second account and the fourth account;
the generating module 202 is further configured to generate second expression information based on the at least one historical chat expression information and the first expression information,
Wherein the at least one candidate information includes the second expression information.
In another optional example, the first obtaining unit is further configured to obtain comment information associated with the first sharing information;
the first generation unit is also used for performing word segmentation processing on the evaluation information to obtain a plurality of segmented words;
the first determining unit is further configured to determine at least one target word among the plurality of words,
wherein the at least one candidate information includes the at least one target word.
In another optional example, the receiving module 206 is further configured to receive a fifth input of third expression information, where the fifth input is configured to instruct sending the third expression information at a chat interface associated with the first sharing information;
the generating module 202 is further configured to generate, in response to the fifth input, a target text, where the target text is used to characterize the third expression information;
and displaying the target text by a fifth account in the chat interface associated with the first sharing information under the condition that the electronic equipment sends third expression information in the chat interface associated with the first sharing information.
In another alternative example, the chat interface associated with the first shared information is a group chat interface; the receiving module 206 is further configured to receive a sixth input on at least one account in the group chat interface;
The determining module 205 is further configured to determine, in response to the sixth input, the at least one account as the fifth account.
The output device of the notification message in the embodiment of the application can be an electronic device, or can be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. The electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile internet appliance (MobileInternetDevice, MID), an Augmented Reality (AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), a server, a network attached storage (NetworkAttachedStorage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine or a self-service machine, or a server, a network attached storage (NetworkAttachedStorage, NAS), a Personal Computer (PC), a teller machine or a self-service machine, etc., which is not limited in the embodiment of the present application.
The device for outputting the notification message in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The notification message output device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 3, the embodiment of the present application further provides an electronic device 100, including a processor 110, a memory 119, and a program or an instruction stored in the memory 119 and capable of running on the processor 110, where the program or the instruction implements each process of the above embodiment of the method for outputting a notification message when executed by the processor 110, and the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Referring to fig. 4 in combination, fig. 4 is a schematic hardware structure of an electronic device implementing an embodiment of the present application. The electronic device 100 includes, but is not limited to: radio frequency unit 121, network module 122, audio output unit 123, input unit 124, sensor 125, display unit 126, user input unit 127, interface unit 128, memory 129, and processor 120. The processor 120 includes a central processing unit CPU1201 and a GPU compression processing unit 1202.
Those skilled in the art will appreciate that the electronic device 120 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 120 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 129 is configured to obtain first sharing information shared on the first display interface;
a processor 129 for generating target information based on the first sharing information, wherein the target information includes at least one of a notification message and candidate information;
and the display unit 126 is configured to output the target information when the electronic device displays a second display interface, where the first display interface and the second display interface are different display interfaces.
In the application, a first sharing message shared by a target sharing platform can be obtained, and target information is generated based on the first sharing message, if the display interface of the electronic device is not the display interface of the target information sharing platform, the target information can be output on the first display interface of the electronic device, and the target information comprises at least one of a notification message and candidate information, wherein the notification message is used for notifying a user of the electronic device that the first sharing message exists in the target information sharing platform, and the candidate information is used for assisting the user in chatting through an account number and an associated account number of the first sharing information. Therefore, even if the user does not log in the homepage of the target information sharing platform on the electronic equipment by utilizing the second account, the user can learn the notification of the release of the first sharing information at the first time or chat with the associated account of the first sharing information quickly and conveniently, so that the participation of social sharing is improved.
In another alternative example, the processor 129 includes:
the first acquisition unit is used for acquiring the shared content of the first shared information;
the first generation unit is used for generating attribute tags of the first sharing information based on the sharing content of the first sharing information;
the first generation unit is further configured to generate a notification message based on the attribute tag of the first sharing information when the attribute tag of the first sharing information is matched with a preset tag in a preset tag library.
In another optional example, the first obtaining unit is further configured to obtain shared content of N pieces of history shared information;
the first generation unit is further used for calculating similarity scores of the historical sharing information based on the sharing content of the N pieces of historical sharing information to obtain similarity scores of the N pieces of historical sharing information;
the processor 129 further includes:
the first determining unit is used for determining at least one item of history sharing information based on the similarity scores of the N items of history sharing information;
the first determining unit is further configured to use the history tag of the at least one item of tag history sharing information as a preset tag in the preset tag library.
In another optional example, the processor 129 is further configured to obtain account information of a first account, where the first account is a user sharing the first sharing information;
the first generation unit is further configured to add account information of the first account and an attribute tag of the first sharing information to a preset message template, and generate a notification message.
In another optional example, the processor 129 is further configured to obtain a target address book of the second account on the target information sharing platform, where the target address book includes a plurality of communication accounts;
the output device of the notification message further includes:
a processor 129 configured to calculate a degree of closeness of the second account and each of the communication accounts on at least one closeness indicator, where the at least one closeness indicator is used to characterize a degree of closeness of at least one of social relationships, interests, and emotions;
a processor 129 for determining at least one target communication account among the plurality of communication accounts based on the affinity on the at least one affinity indicator;
the processor 129 is further configured to determine the at least one target communication account number as a preset account number in the preset account number library.
The first generation unit is further configured to generate a notification message based on the first sharing information when the first account is matched with a preset account in a preset account library.
In another optional example, the outputting means of the notification message further includes:
a radio frequency unit 121 for receiving a first input for the notification message;
the display unit 126 is further configured to display a chat interface associated with the first sharing information in response to the first input.
In another optional example, the display unit 126 is further configured to display, in response to the first input, a first chat interface, where the first chat interface is a chat interface between a second account and a first account, or the first chat interface is a chat interface between the second account and a target account, where the target account is an account in at least one third account determined based on the shared content of the first shared information.
In another optional example, the processor 129 further determines that the account number of the user corresponding to the face image is at least one third account number if the first sharing information includes a picture or video, and the picture or video includes a face image; or alternatively, the process may be performed,
And determining an account corresponding to the account information as at least one third account under the condition that the first sharing information comprises text information and the text information comprises account information.
In another alternative example, the radio frequency unit 121 is further configured to receive a second input of the target group identification;
the display unit 126 is further configured to display, in response to the second input, a target group identifier associated with the first sharing information, where the target group identifier is used to identify a target chat group, and the target chat group includes at least one account of the first account and the at least one third account;
the radio frequency unit 121 is further configured to receive a third input of the target group identifier;
the display unit 126 is further configured to display a second chat interface associated with the target chat group in response to the third input.
In another optional example, the display unit 126 is further configured to display at least one group identifier associated with the first sharing information, where the at least one group identifier includes the target group identifier;
the processor 129 is configured to determine that, in the at least one group identifier, a chat group corresponding to each group identifier includes a number of target account numbers, where the target account number is the first account number or the third account number;
The output device of the notification message further includes:
a processor 129 for sorting the at least one group identification according to the number of chat groups each including the target account number;
wherein the second input is an input that selects the target group identification based on the ranking.
In another alternative example, processor 129 is further configured to, upon receiving a fourth input of target candidate information of the at least one candidate information, send the target candidate information at a chat interface associated with the first shared information in response to the fourth input.
In another optional example, the processor 129 is further configured to extract, in a case where the first sharing information includes a picture or a video, a display region of interest in the first sharing information, and an image in the display region of interest of the first sharing information as the target image;
the processor 129 is further configured to generate first expression information,
wherein the at least one candidate information includes the first expression information.
In another optional example, the chat interface is used for chat between the first account and a fourth account; the processor 129 is further configured to obtain at least one historical chat expression information in a historical chat process between the second account and the fourth account;
Processor 129 is further configured to generate second expression information based on the at least one historical chat expression information and the first expression information,
wherein the at least one candidate information includes the second expression information.
In another optional example, the first obtaining unit is further configured to obtain comment information associated with the first sharing information;
the first generation unit is also used for performing word segmentation processing on the evaluation information to obtain a plurality of segmented words;
the first determining unit is further configured to determine at least one target word among the plurality of words,
wherein the at least one candidate information includes the at least one target word.
In another optional example, the radio frequency unit 121 is further configured to receive a fifth input of third expression information, where the fifth input is configured to instruct to send the third expression information at a chat interface associated with the first sharing information;
processor 129 is further configured to generate, in response to the fifth input, target text, the target text being used to characterize the third expression information;
and displaying the target text by a fifth account in the chat interface associated with the first sharing information under the condition that the electronic equipment sends third expression information in the chat interface associated with the first sharing information.
In another alternative example, the chat interface associated with the first shared information is a group chat interface; the radio frequency unit 121 is further configured to receive a sixth input of at least one account in the group chat interface;
the processor 129 is further configured to determine the at least one account as the fifth account in response to the sixth input.
It should be appreciated that in embodiments of the present application, the input unit 124 may include a graphics processor (GraphicsProcessingUnit, GPU) 1241 and a microphone 1242, the graphics processor 1241 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 126 may include a display panel 1261, and the display panel 1261 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 127 includes at least one of a touch panel 1271 and other input devices 1272. Touch panel 1271 is also referred to as a touch screen. Touch panel 1271 may include two parts, a touch detection device and a touch controller. Other input devices 1272 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 129 may be used to store software programs and various data. The memory 129 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 129 may include volatile memory or nonvolatile memory, or the memory 129 may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (ProgrammableROM, PROM), an erasable programmable Read-only memory (ErasablePROM, EPROM), an electrically erasable programmable Read-only memory (ElectricallyEPROM, EEPROM), or a flash memory, among others. The volatile memory may be random access memory (RandomAccessMemory, RAM), static random access memory (static ram, SRAM), dynamic random access memory (DynamicRAM, DRAM), synchronous dynamic random access memory (SynchronousDRAM, SDRAM), double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (EnhancedSDRAM, ESDRAM), synchronous link dynamic random access memory (SynchlinkDRAM, SLDRAM), and direct memory bus random access memory (DirectRambusRAM, DRRAM). Memory 129 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 120 may include one or more processing units; optionally, the processor 120 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 120.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the above embodiment of the method for outputting the notification message, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the embodiment of the notification message output method are realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-mentioned embodiments of the method for outputting notification messages, and achieve the same technical effects, and are not repeated herein.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (17)

1. A method of outputting a notification message, performed by an electronic device, comprising:
acquiring first sharing information shared on a first display interface;
generating target information based on the first sharing information, wherein the target information comprises at least one of a notification message and candidate information;
and outputting the target information under the condition that the electronic equipment displays a second display interface, wherein the first display interface and the second display interface are different display interfaces.
2. The method of claim 1, wherein generating the target information based on the first shared information comprises:
obtaining the sharing content of the first sharing information;
generating an attribute tag of the first sharing information based on the sharing content of the first sharing information;
and generating the notification message based on the attribute tag of the first sharing information under the condition that the attribute tag of the first sharing information is matched with a preset tag in a preset tag library.
3. The method according to claim 2, wherein, in the case that the attribute tag of the first shared information matches a preset tag in a preset tag library, before generating the notification message based on the attribute tag of the first shared information, the method further comprises:
Acquiring sharing content of N pieces of history sharing information;
calculating similarity scores among the historical sharing information based on the sharing content of the N pieces of historical sharing information to obtain similarity scores of the N pieces of historical sharing information;
determining at least one item of history sharing information based on the similarity scores of the N items of history sharing information;
and taking the history label of the at least one item of label history sharing information as a preset label in the preset label library, wherein N is a positive integer greater than 1.
4. The method of claim 2, wherein generating a notification message based on the attribute tag of the first shared information comprises:
acquiring account information of a first account, wherein the first account is a user account sharing the first sharing information;
and adding the account information of the first account and the attribute tag of the first sharing information into a preset message template to generate a notification message.
5. The method of claim 1, wherein prior to generating the target information based on the first shared information, further comprising:
acquiring a target address book of a second account number in the target information sharing platform, wherein the target address book comprises a plurality of communication accounts, and the second account number is an account number of the electronic equipment;
Calculating the intimacy degree of the second account and each communication account on at least one intimacy index, wherein the at least one intimacy index is used for representing the intimacy degree of at least one of social relationship, interest and emotion;
determining at least one target communication account among the plurality of communication accounts based on the intimacy on the at least one intimacy indicator;
determining the at least one target communication account as a preset account in the preset account library;
the generating target information based on the first sharing information includes:
and generating a notification message based on the first sharing information under the condition that the first account is matched with a preset account in a preset account library.
6. The method of claim 1, wherein after the outputting the notification message, further comprising:
receiving a first input for the notification message;
and responding to the first input, displaying a first chat interface, wherein the first chat interface is a chat interface between a second account and a first account, or the first chat interface is a chat interface between the second account and a target account, and the target account is an account in at least one third account determined based on the sharing content of the first sharing information.
7. The method of claim 6, wherein prior to displaying the first chat interface in response to the first input, further comprising:
when the first sharing information comprises a picture or a video and the picture or the video comprises a face image, determining an account number of a user corresponding to the face image as at least one third account number; or alternatively, the process may be performed,
and determining an account corresponding to the account information as at least one third account under the condition that the first sharing information comprises text information and the text information comprises account information.
8. The method of claim 1, wherein after the outputting the notification message, further comprising:
receiving a second input for the notification message;
in response to the second input, displaying a target group identification associated with the first sharing information, the target group identification being used to identify a target chat group, the target chat group including at least one of a first account number and at least one third account number;
receiving a third input of the target group identification;
responsive to the third input, a second chat interface associated with the target chat group is displayed.
9. The method of claim 8, wherein the displaying the target group identification associated with the first shared information comprises:
displaying at least one group identification associated with the first sharing information, the at least one group identification including the target group identification;
before receiving the third input of the target group identification, the method further comprises:
determining the number of the target account numbers included in the chat group corresponding to each group identifier in the at least one group identifier, wherein the target account numbers are the first account number or the third account number;
sorting the at least one group identification according to the number of the chat groups including the target account number;
wherein the third input is an input that selects the target group identification based on the ranking.
10. The method of claim 1, wherein after displaying the at least one candidate information on the second display interface, further comprising:
and in the case of receiving a fourth input of target candidate information in the at least one candidate information, responding to the fourth input, and sending the target candidate information on a chat interface associated with the first sharing information.
11. The method of claim 1, wherein generating the target information based on the first shared information comprises:
extracting an interested display area in the first sharing information when the first sharing information comprises a picture or a video, and taking an image in the interested display area of the first sharing information as a target image;
generating first expression information based on the target image,
wherein the at least one candidate information includes the first expression information.
12. The method of claim 11, wherein the second display interface is a chat interface of a second account and a fourth account;
the generating target information based on the first sharing information includes:
acquiring at least one historical chat expression information in a historical chat process between the second account and the fourth account;
generating second expression information according to the at least one historical chat expression information and the first expression information,
wherein the at least one candidate information includes the second expression information.
13. The method of claim 1, wherein generating the target information based on the first shared information comprises:
Comment information associated with the first sharing information is acquired;
performing word segmentation processing on the evaluation information to obtain a plurality of segmented words;
determining at least one target word among the plurality of words,
wherein the at least one candidate information includes the at least one target word.
14. The method of claim 1, wherein the second display interface is a chat interface associated with the first shared information;
after the at least one candidate information is displayed on the second display interface, the method further comprises:
receiving a fifth input of third expression information, wherein the fifth input is used for indicating that the third expression information is sent to the second display interface, and the at least one candidate information comprises the third expression information;
generating a target text in response to the fifth input, wherein the target text is used for representing the third expression information;
and displaying the target text by a fifth account in the chat interface associated with the first sharing information under the condition that the electronic equipment sends third expression information in the chat interface associated with the first sharing information.
15. The method of claim 14, wherein the second display interface is a group chat interface associated with the first shared information;
After the at least one candidate information is displayed on the second display interface, the method further comprises:
receiving a sixth input of at least one account in the group chat interface;
in response to the sixth input, the at least one account is determined to be the fifth account.
16. An output device for a notification message, comprising:
the acquisition module is used for acquiring first sharing information shared on the first display interface;
a generation module, configured to generate target information based on the first sharing information, where the target information includes at least one of a notification message and candidate information;
the output module is used for outputting the target information under the condition that the second display interface is displayed on the electronic equipment, and the first display interface and the second display interface are different display interfaces.
17. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of outputting a notification message as claimed in any of claims 1 to 15.
CN202310495396.0A 2023-05-04 2023-05-04 Notification message output method and device and electronic equipment Pending CN116800708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310495396.0A CN116800708A (en) 2023-05-04 2023-05-04 Notification message output method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310495396.0A CN116800708A (en) 2023-05-04 2023-05-04 Notification message output method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116800708A true CN116800708A (en) 2023-09-22

Family

ID=88048844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310495396.0A Pending CN116800708A (en) 2023-05-04 2023-05-04 Notification message output method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116800708A (en)

Similar Documents

Publication Publication Date Title
CN111143610B (en) Content recommendation method and device, electronic equipment and storage medium
US10579717B2 (en) Systems and methods for identifying and inserting emoticons
CN109002490B (en) User portrait generation method, device, server and storage medium
JP6563465B2 (en) System and method for identifying and proposing emoticons
CN108446410B (en) Information recommendation method, device, system, equipment and readable storage medium
US20230306052A1 (en) Method and system for entity extraction and disambiguation
CN110020411B (en) Image-text content generation method and equipment
US11042590B2 (en) Methods, systems and techniques for personalized search query suggestions
CN110134931B (en) Medium title generation method, medium title generation device, electronic equipment and readable medium
KR20170030570A (en) System and method for identifying and suggesting emoticons
US11899728B2 (en) Methods, systems and techniques for ranking personalized and generic search query suggestions
JP2014167722A (en) Merchandise information providing system and program for providing merchandise information
CN112783592B (en) Information issuing method, device, equipment and storage medium
CN114564666A (en) Encyclopedic information display method, encyclopedic information display device, encyclopedic information display equipment and encyclopedic information display medium
CN116821475B (en) Video recommendation method and device based on client data and computer equipment
CN113407828A (en) Searching method, searching device and searching device
CN114417157B (en) Data pushing method and device, computer equipment and computer medium
CN112269504A (en) Information display method and device and electronic equipment
CN111787042A (en) Method and device for pushing information
KR102358495B1 (en) Server providing video and card news through curation and operation method thereof
US20210266275A1 (en) Method and system for evaluating content on instant messaging application
CN116800708A (en) Notification message output method and device and electronic equipment
CN113177170A (en) Comment display method and device and electronic equipment
US20170351747A1 (en) Data analysis system, data analysis method, and data analysis program
CN114237460B (en) Label display method, device, terminal, storage medium and computer program product

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