Disclosure of Invention
The embodiment of the application aims to provide a message recommending method, device, equipment and medium, which can solve the problem that any one object can not recommend a message according to user labels included in user portraits generated by other objects.
In a first aspect, an embodiment of the present application provides a message recommendation method, including:
Acquiring at least two user tags of a target user, wherein the at least two user tags are generated according to at least two user characteristics of the target user, and the at least two user characteristics are user characteristics of the target user relative to at least two target objects;
Generating a user portrait corresponding to the target user according to at least two user tags, wherein the user portrait comprises at least two user tags;
When a target user interacts with a first object, generating first information according to a user portrait, wherein the first information is used for indicating the first object to recommend a message to the target user, and the first object is any one object of at least two target objects;
And sending the first information to the first object so that the first object recommends a message to the target user according to the first information.
In some possible implementations of the first aspect of the embodiments of the present application, obtaining at least two user labels of a target user includes:
and receiving at least two user labels sent by at least two target objects, wherein the user labels are generated according to the operation of the target user history on the target objects.
In some possible implementations of the first aspect of the embodiments of the present application, obtaining at least two user labels of a target user includes:
Receiving at least two user characteristics sent by at least two target objects, wherein the user characteristics are extracted from the operation of the target objects according to the history of the target users;
at least two user tags are generated based on the at least two user characteristics.
In some possible implementations of the first aspect of the embodiment of the present application, before generating the first information according to the user portrait, the message recommending method provided by the embodiment of the present application further includes:
acquiring identity information of a target user;
and determining the user portrait matched with the identity information in the user portraits as the user portrait corresponding to the target user.
In some possible implementations of the first aspect of the embodiments of the present application, obtaining the identity information of the target user includes:
and receiving the identity information sent by the first object, wherein the identity information is obtained by carrying out identity identification on the first object according to the biological characteristic information of the target user.
In some possible implementations of the first aspect of the embodiments of the present application, obtaining the identity information of the target user includes:
Receiving biological characteristic information of a target user sent by a first object;
And carrying out identity recognition on the target user according to the biological characteristic information to obtain identity information.
In some possible implementations of the first aspect of the embodiments of the present application, the first information includes:
At least two user tags, and/or a target message to be recommended to a target user by the first object.
In a second aspect, an embodiment of the present application provides a message recommendation apparatus, including:
The first acquisition module is used for acquiring at least two user tags of the target user, wherein the at least two user tags are tags generated according to at least two user features of the target user, and the at least two user features are user features of the target user relative to at least two target objects;
the first generation module is used for generating a user portrait corresponding to the target user according to at least two user tags, wherein the user portrait comprises at least two user tags;
The second generation module is used for generating first information according to the user portrait when the target user interacts with the first object, wherein the first information is used for indicating the first object to recommend a message to the target user, and the first object is any one object of at least two target objects;
And the sending module is used for sending the first information to the first object so that the first object recommends a message to the target user according to the first information.
In some possible implementations of the second aspect of the embodiment of the present application, the first obtaining module is specifically configured to:
and receiving at least two user labels sent by at least two target objects, wherein the user labels are generated according to the operation of the target user history on the target objects.
In some possible implementations of the second aspect of the embodiments of the present application, the first obtaining module includes:
The first receiving sub-module is used for receiving at least two user characteristics sent by at least two target objects, wherein the user characteristics are extracted from the operation of the target objects according to the history of the target users;
and the generating sub-module is used for generating at least two user labels according to the at least two user characteristics.
In some possible implementations of the second aspect of the embodiment of the present application, the message recommending apparatus provided by the embodiment of the present application further includes:
the second acquisition module is used for acquiring the identity information of the target user;
And the determining module is used for determining the user portrait matched with the identity information in the user portraits as the user portrait corresponding to the target user.
In some possible implementations of the second aspect of the embodiment of the present application, the second obtaining module is specifically configured to:
and receiving the identity information sent by the first object, wherein the identity information is obtained by carrying out identity identification on the first object according to the biological characteristic information of the target user.
In some possible implementations of the second aspect of the embodiments of the present application, the second obtaining module includes:
the second receiving sub-module is used for receiving the biological characteristic information of the target user sent by the first object;
And the identification sub-module is used for carrying out identity identification on the target user according to the biological characteristic information to obtain identity information.
In some possible implementations of the second aspect of the embodiments of the present application, the first information includes:
At least two user tags, and/or a target message to be recommended to a target user by the first object.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.
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 according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, including a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to 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 the method according to the first aspect.
In the embodiment of the present application, since the at least two user features are user features of the target user with respect to the at least two target objects, the at least two user tags are tags generated according to the at least two user features of the target user, and the user portrait corresponding to the target user generated according to the at least two user tags includes the at least two user tags, that is, the user portrait corresponding to the target user is one user portrait generated according to the at least two user tags generated according to the at least two user features of the target user with respect to the at least two target objects, and the user portrait may be shared by the at least two target objects. Thus, when the target user interacts with a first object of the at least two target objects, the first object is capable of recommending the message according to the user tags corresponding to other objects except the first object of the at least two target objects.
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 data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as 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.
The method, the device, the equipment and the medium for recommending the message provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof by combining the attached drawings.
Fig. 1 is a flow chart of a message recommending method according to an embodiment of the present application. As shown in fig. 1, the message recommendation method may include:
S101, acquiring at least two user tags of a target user, wherein the at least two user tags are generated according to at least two user characteristics of the target user, and the at least two user characteristics are user characteristics of the target user relative to at least two target objects;
S102, generating a user portrait corresponding to the target user according to at least two user labels, wherein the user portrait comprises at least two user labels;
S103, when a target user interacts with a first object, generating first information according to a user portrait, wherein the first information is used for indicating the first object to recommend a message to the target user, and the first object is any one object of at least two target objects;
And S104, sending the first information to the first object so that the first object recommends a message to the target user according to the first information.
The specific implementation of each of the above steps will be described in detail below.
In the embodiment of the present application, since the at least two user features are user features of the target user with respect to the at least two target objects, the at least two user tags are tags generated according to the at least two user features of the target user, and the user portrait corresponding to the target user generated according to the at least two user tags includes the at least two user tags, that is, the user portrait corresponding to the target user is one user portrait generated according to the at least two user tags generated according to the at least two user features of the target user with respect to the at least two target objects, and the user portrait may be shared by the at least two target objects. Thus, when the target user interacts with a first object of the at least two target objects, the first object is capable of recommending the message according to the user tags corresponding to other objects except the first object of the at least two target objects.
In some possible implementations of the embodiments of the present application, the object in the embodiments of the present application may be an electronic device, and may also be an application program.
In some possible implementations of embodiments of the present application, at least two target objects in embodiments of the present application may be objects for which there is a history of interactions with the target user.
In some possible implementations of the embodiment of the application, when the object is an electronic device, at least two electronic devices in the embodiment of the application belong to the same management platform, and information of at least two electronic devices can be collected by the same message recommending device to form a user portrait, so that cross-platform information leakage does not exist.
In some possible implementations of the embodiments of the present application, when the object is an electronic device, at least two electronic devices in the embodiments of the present application may also belong to different management platforms, but the management platforms allow sharing the message recommending apparatus provided by the embodiments of the present application.
In some possible implementations of the embodiments of the present application, when the object is an application, at least two applications in the embodiments of the present application may be applications installed on the same electronic device, and the respective applications allow sharing of the message recommending apparatus provided by the embodiments of the present application.
In some possible implementations of embodiments of the application, an object may correspond to one or more user characteristics of a user. A user tag may be generated based on one or more user characteristics. That is, one or more user features of the user may be extracted from one object.
In some possible implementations of embodiments of the application, user features include, but are not limited to, user base attribute features, user behavior attribute features, user preference attribute features, user consumption attribute features, user social attribute features, and the like.
User base attribute characteristics include, but are not limited to, gender, age, occupation, and the like. User behavior attribute features include, but are not limited to, a time period for listening to music, a time to work, an application used recently, a place visited recently, and so forth. User preference attribute features include, but are not limited to, music that the user likes to listen to, singers that the user likes to, types of movies that the user likes to, merchandise that the user likes to, and so forth. User consumption attribute characteristics include, but are not limited to, the amount of goods purchased only for a period of time, the frequency of goods purchased for a period of time, the category of goods purchased for a period of time, and the like. User social attribute features include, but are not limited to, time periods in which the user is active, and so forth.
In some possible implementations of the embodiments of the present application, at least two user tags may be in one-to-one correspondence with at least two user features, and at least two user features may be in one-to-one correspondence with at least two objects, that is, one object corresponds to one user feature, and one user tag is generated according to one user feature. In other words, the user feature extracted from one object is one user feature, and one user tag is a user tag generated from the user feature extracted from one object.
Illustratively, N electronic devices are taken as an example, where N is a positive integer greater than or equal to 2. As shown in fig. 2, fig. 2 is a schematic diagram of a process of generating a user image according to an embodiment of the present application. In fig. 2, the N electronic devices are UE1 to UE N, respectively. User feature F1 to user a is extracted from UE1, user feature F2 to user a is extracted from UE2, user feature Fi to user a is extracted from electronic device UEi, and user feature FN to user a is extracted from electronic device UEN. Generating a user tag T1 according to the user feature F1, generating a user tag T2 according to the user feature F2, generating a user tag Ti according to the user feature Fi, generating a user tag TN according to the user feature FN, wherein i is a positive integer greater than or equal to 1 and less than or equal to N.
Generating a user representation of user a including user tags F1, F2, FN from user tags F1, F2.
When the user a interacts with the electronic device UE2, first information for instructing the electronic device UE2 to recommend a message to the user a is generated from the user portrait of the user a including the user tags F1, F2, &.& gt, FN, and the electronic device UE2 recommends a message to the user a based on the first information after receiving the first information.
In some possible implementations of the embodiments of the present application, S101 may include receiving at least two user tags sent by at least two target objects, where the user tags are generated according to operations of the target objects by a target user history.
In the embodiment of the application, the user characteristics can be extracted according to the operation of the target object by the history of the target user, then the user label is generated according to the user characteristics, and the generated user label is sent to the electronic equipment capable of realizing the message recommendation method provided by the embodiment of the application. It will be appreciated that in embodiments of the present application, the user tag may be generated from at least two target objects with which the user interacts historically.
The embodiment of the application does not limit the mode adopted by extracting the user characteristics according to the operation of the target object according to the history of the target user, and any available characteristic extraction mode can be applied to the embodiment of the application.
In some possible implementations of the embodiments of the present application, S101 may include receiving at least two user characteristics sent by at least two target objects, where the user characteristics are extracted from operations of the target objects according to a target user history, and generating at least two user tags according to the at least two user characteristics.
In the embodiment of the application, the user characteristics can be extracted according to the operation of the target object by the history of the target user, then the extracted user characteristics are sent to the electronic equipment capable of realizing the message recommendation method provided by the embodiment of the application, and the electronic equipment capable of realizing the message recommendation method provided by the embodiment of the application generates the user label according to the received user characteristics. It can be appreciated that in the embodiment of the present application, the user tag may be generated by an electronic device capable of implementing the message recommendation method provided by the embodiment of the present application.
In some possible implementations of the embodiment of the present application, before S103, the method for recommending a message provided by the embodiment of the present application may further include obtaining identity information of a target user, and determining a user portrait matching the identity information in the plurality of user portraits as a user portrait corresponding to the target user.
In some possible implementations of the embodiments of the present application, there are cases where a plurality of user portraits are stored, so when a certain user interacts with the first object, first, the identity of the user is determined, and then, from the stored plurality of user portraits, according to the identity information of the user, the user portraits corresponding to the user are determined, so as to perform message recommendation.
In some possible implementations of the embodiments of the present application, the identity information may include account information of a user login object, and further, a user portrait corresponding to the acquired account information in the plurality of user portraits may be determined as a user portrait corresponding to the target user.
For example, assume that M user portraits are stored in advance, the M user portraits being user portraits Persona-1 corresponding to user 1 and user portraits Persona-2 corresponding to user 2, respectively.
When the user Use2 interacts with the first electronic device, determining that the user interacting with the first electronic device is Use2, and recommending the message according to the user portrait Persona-2 corresponding to the user Use 2.
Further exemplary, M user portraits are pre-stored, the M user portraits being user portraits Persona-1 corresponding to account information ID1, user portraits Persona-2 corresponding to account information ID2, respectively. The account information ID1 to IDM are account information of the users Use1 to UseM logging in the first application program, respectively.
When the user Use2 interacts with the first application program, the account information ID2 of the user Use2 logging in the first application program is obtained, and message recommendation is further carried out according to the user image Persona-2 corresponding to the account information ID 2.
In the embodiment of the application, the user image matched with the identity information in the plurality of user images is determined to be the user image corresponding to the target user, and then the message recommendation is carried out according to the determined user image, so that the accuracy of the message recommendation can be ensured.
In some possible implementations of the embodiments of the present application, obtaining the identity information of the target user may include receiving the identity information sent by the first object, where the identity information is information obtained by performing identity recognition on the first object according to biometric information of the target user.
In some possible implementations of embodiments of the application, biometric information includes, but is not limited to, fingerprint information, voiceprint information, face information, iris information, and the like. The embodiment of the application is not limited to the mode adopted for carrying out the identification according to the biological characteristic information, and any available identification mode can be applied to the embodiment of the application.
In the embodiment of the application, the first object can acquire the biological characteristic information of the user interacting with the first object in the process of interacting with the first object, so that the identity recognition is performed according to the biological characteristic information. It will be appreciated that in embodiments of the present application, user identification is performed by the first object.
In some possible implementations of the embodiments of the present application, obtaining the identity information of the target user may include receiving biometric information of the target user sent by the first object, and performing identity recognition on the target user according to the biometric information to obtain the identity information.
In the embodiment of the application, the first object can acquire the biological characteristic information of the user interacting with the first object, then the biological characteristic information of the user is sent to the electronic equipment capable of realizing the message recommending method provided by the embodiment of the application, and the electronic equipment capable of realizing the message recommending method provided by the embodiment of the application carries out identity recognition according to the received biological characteristic information of the user. It can be understood that, in the embodiment of the present application, user identification is performed by an electronic device capable of implementing the message recommendation method provided by the embodiment of the present application.
In some possible implementations of the embodiments of the present application, the first information may include at least two user tags, and/or a target message to be recommended to the target user by the first electronic device.
In the embodiment of the application, when the first information includes at least two user tags, that is, the first information includes the user portrait itself, and the first object receives the first information including at least two user tags, the target information to be recommended to the target user may be generated according to the at least two user tags included in the first information, so as to recommend the target information to the target user.
The embodiment of the present application is not limited to the manner in which the target information to be recommended to the target user is generated according to at least two user tags, and any available manner may be applied to the embodiment of the present application.
When the first information includes a target message to be recommended to the target user by the first object, the target information may be directly recommended to the target user when the first object receives the first information including the target message to be recommended to the target user by the first object.
It should be noted that, in all embodiments of the present application, the data acquisition, storage, use and processing meet relevant regulations of national laws and regulations.
The message recommending method provided by the embodiment of the application is explained below with reference to a specific application scene.
The method includes the steps that a preference label of a user for singer A is generated on the assumption that songs of the user for hearing singer A are obtained through intelligent playing equipment, working time of the user is obtained through Bluetooth attendance checking equipment and is in the range of time T1 to time T2, working time of the user is in the range of time T3 to time T4, and working behavior labels of the user are generated. When the user interacts with the smart playback device at time T4, the user may be recommended, for example, "hard to work, listen to the X music of a singer a, relax the bar |".
Further, by way of example, it is assumed that registration information of a user is acquired through a doctor seeing registration application program to generate registration labels of the user, and epidemic situations exist near a hospital corresponding to the registration information of the user are acquired through a news program to generate epidemic prevention labels of the user. When the user interacts with the doctor-seeing registration application again, for example, looking at the registration time of the doctor-seeing registration application, recommendation information such as "epidemic situation exists, please pay attention to protection |" can be recommended to the user.
Further, in an exemplary case, the travel label of the user is generated on the assumption that ticket purchasing information of the user is obtained through the travel application program, and epidemic situation exists at a destination corresponding to the travel information of the user is obtained through the news program, so that nucleic acid detection is needed to be carried out to the destination, and epidemic prevention labels of the user are generated. When the user interacts with the travel application program again, for example, the travel time is checked, and recommendation information such as "the destination going to your travel needs to be subjected to nucleic acid detection, please be subjected to nucleic acid detection" can be recommended to the user.
Further exemplary, it is assumed that takeaway information of the user is acquired through a takeaway application, takeaway labels of the user are generated, and physical examination information of the user is acquired through a physical examination application, and physical examination labels of the user are generated. When the user interacts with the take-away application program again, recommendation information such as "you purchase more junk food, please check up in time" can be recommended to the user.
It should be noted that, in the message recommending method provided by the embodiment of the present application, the execution body may be a message recommending apparatus. In the embodiment of the application, a method for implementing message recommendation by a message recommendation device is taken as an example, and the message recommendation device provided by the embodiment of the application is described.
Fig. 3 is a schematic structural diagram of a message recommending apparatus according to an embodiment of the present application. The message recommending apparatus 300 may include:
The first obtaining module 301 is configured to obtain at least two user tags of a target user, where the at least two user tags are tags generated according to at least two user features of the target user, and the at least two user features are user features of the target user relative to at least two target objects;
A first generating module 302, configured to generate a user portrait corresponding to the target user according to at least two user tags, where the user portrait includes at least two user tags;
a second generating module 303, configured to generate first information according to the user portrait when the target user interacts with the first object, where the first information is used to instruct the first object to recommend a message to the target user, and the first object is any one of at least two target objects;
And the sending module 304 is configured to send the first information to the first object, so that the first object recommends a message to the target user according to the first information.
In the embodiment of the present application, since the at least two user features are user features of the target user with respect to the at least two target objects, the at least two user tags are tags generated according to the at least two user features of the target user, and the user portrait corresponding to the target user generated according to the at least two user tags includes the at least two user tags, that is, the user portrait corresponding to the target user is one user portrait generated according to the at least two user tags generated according to the at least two user features of the target user with respect to the at least two target objects, and the user portrait may be shared by the at least two target objects. Thus, when the target user interacts with a first object of the at least two target objects, the first object is capable of recommending the message according to the user tags corresponding to other objects except the first object of the at least two target objects.
In some possible implementations of the embodiments of the present application, the first obtaining module 301 is specifically configured to:
and receiving at least two user labels sent by at least two target objects, wherein the user labels are generated according to the operation of the target user history on the target objects.
In the embodiment of the application, the user tag can be generated according to the operation of the target user history on the target object.
In some possible implementations of the embodiments of the present application, the first obtaining module 301 includes:
The first receiving sub-module is used for receiving at least two user characteristics sent by at least two target objects, wherein the user characteristics are extracted from the operation of the target objects according to the history of the target users;
and the generating sub-module is used for generating at least two user labels according to the at least two user characteristics.
In an embodiment of the present application, the user tag may be generated by the message recommending means.
In some possible implementations of the embodiments of the present application, the message recommending apparatus 300 provided in the embodiments of the present application further includes:
the second acquisition module is used for acquiring the identity information of the target user;
And the determining module is used for determining the user portrait matched with the identity information in the user portraits as the user portrait corresponding to the target user.
In the embodiment of the application, the user image matched with the identity information in the plurality of user images is determined to be the user image corresponding to the target user, and then the message recommendation is carried out according to the determined user image, so that the accuracy of the message recommendation can be ensured.
In some possible implementations of the embodiment of the present application, the second obtaining module is specifically configured to:
and receiving the identity information sent by the first object, wherein the identity information is obtained by carrying out identity identification on the first object according to the biological characteristic information of the target user.
In the embodiment of the application, the user identity information can be obtained by carrying out identity recognition by the first object according to the biological characteristic information of the target user.
In some possible implementations of the embodiments of the present application, the second obtaining module includes:
the second receiving sub-module is used for receiving the biological characteristic information of the target user sent by the first object;
And the identification sub-module is used for carrying out identity identification on the target user according to the biological characteristic information to obtain identity information.
In the embodiment of the application, the user identity information can be obtained by the message recommending device through identity recognition according to the biological characteristic information of the target user.
In some possible implementations of embodiments of the application, the first information includes:
At least two user tags, and/or a target message to be recommended to a target user by the first object.
The message recommending device in the embodiment of the application can be an electronic device or 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 (Mobile INTERNET DEVICE, MID), an augmented reality (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), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The message recommending device in the embodiment of the application can be a device with 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 message recommending apparatus provided by the embodiment of the present application can implement each process in the embodiments of the message recommending methods of fig. 1 to 2, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and the program or the instruction implements each step of the above-mentioned message recommending method embodiment when executed by the processor 401, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
In some possible implementations of embodiments of the application, processor 401 may include a Central Processing Unit (CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the application.
In some possible implementations of embodiments of the application, memory 402 may include Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk storage media devices, optical storage media devices, flash Memory devices, electrical, optical, or other physical/tangible Memory storage devices. Thus, in general, memory 402 includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to message recommendation methods in accordance with embodiments of the application.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to, a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510.
Those skilled in the art will appreciate that the electronic device 500 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 510 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. 5 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 510 is configured to obtain at least two user tags of the target user, where the at least two user tags are tags generated according to at least two user features of the target user, and the at least two user features are user features of the target user relative to at least two target objects; generating a user portrait corresponding to the target user according to at least two user tags, wherein the user portrait comprises at least two user tags; when a target user interacts with a first object, generating first information according to a user portrait, wherein the first information is used for indicating the first object to recommend a message to the target user, and the first object is any one object of at least two target objects;
The network module 502 is configured to send the first information to the first object, so that the first object recommends a message to the target user according to the first information.
In the embodiment of the present application, since the at least two user features are user features of the target user with respect to the at least two target objects, the at least two user tags are tags generated according to the at least two user features of the target user, and the user portrait corresponding to the target user generated according to the at least two user tags includes the at least two user tags, that is, the user portrait corresponding to the target user is one user portrait generated according to the at least two user tags generated according to the at least two user features of the target user with respect to the at least two target objects, and the user portrait may be shared by the at least two target objects. Thus, when the target user interacts with a first object of the at least two target objects, the first object is capable of recommending the message according to the user tags corresponding to other objects except the first object of the at least two target objects.
In some possible implementations of embodiments of the application, the processor 510 is specifically configured to:
and receiving at least two user labels sent by at least two target objects, wherein the user labels are generated according to the operation of the target user history on the target objects.
In the embodiment of the application, the user tag can be generated according to the operation of the target user history on the target object.
In some possible implementations of embodiments of the application, the processor 510 is specifically configured to:
Receiving at least two user characteristics sent by at least two target objects, wherein the user characteristics are extracted from the operation of the target objects according to the history of the target users; at least two user tags are generated based on the at least two user characteristics.
In an embodiment of the application, the user tag may be generated by the electronic device 500.
In some possible implementations of embodiments of the application, the processor 510 is further configured to:
acquiring identity information of a target user;
and determining the user portrait matched with the identity information in the user portraits as the user portrait corresponding to the target user.
In the embodiment of the application, the user image matched with the identity information in the plurality of user images is determined to be the user image corresponding to the target user, and then the message recommendation is carried out according to the determined user image, so that the accuracy of the message recommendation can be ensured.
In some possible implementations of embodiments of the application, the network module 502 is specifically configured to:
and receiving the identity information sent by the first object, wherein the identity information is obtained by carrying out identity identification on the first object according to the biological characteristic information of the target user.
In the embodiment of the application, the user identity information can be obtained by carrying out identity recognition by the first object according to the biological characteristic information of the target user.
In some possible implementations of embodiments of the application, the network module 502 is further to:
Receiving biological characteristic information of a target user sent by a first object;
Correspondingly, the processor 510 is further configured to identify the target user according to the biometric information, so as to obtain identity information.
In the embodiment of the present application, the user identity information may be obtained by the electronic device 500 through identity recognition according to the biometric information of the target user.
In some possible implementations of embodiments of the application, the first information includes:
At least two user tags, and/or a target message to be recommended to a target user by the first object.
It should be appreciated that in embodiments of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, with the graphics processor 5041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen. Touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 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 509 may be used to store software programs as well as various data. The memory 509 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 509 may include volatile memory or nonvolatile memory, or the memory 509 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 509 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units and, optionally, processor 510 integrates an application processor that primarily processes operations involving an operating system, user interface, application program, 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 510.
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 message recommending method embodiment, and can achieve the same technical effect, so that repetition is avoided, and no further description is provided here.
The processor is a processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, and examples of the computer readable storage medium include a non-transitory computer readable storage medium such as ROM, RAM, magnetic disk, or optical disk.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the message recommending method embodiment, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted.
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 message recommendation method embodiments described above, and achieve the same technical effects, and are not described herein in detail to avoid repetition.
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 related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several 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.