CN107659611B - Big data-based user head portrait generation method, device and system - Google Patents

Big data-based user head portrait generation method, device and system Download PDF

Info

Publication number
CN107659611B
CN107659611B CN201710693834.9A CN201710693834A CN107659611B CN 107659611 B CN107659611 B CN 107659611B CN 201710693834 A CN201710693834 A CN 201710693834A CN 107659611 B CN107659611 B CN 107659611B
Authority
CN
China
Prior art keywords
user
avatar
default
data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710693834.9A
Other languages
Chinese (zh)
Other versions
CN107659611A (en
Inventor
杜艳新
吕庆春
彭飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201710693834.9A priority Critical patent/CN107659611B/en
Publication of CN107659611A publication Critical patent/CN107659611A/en
Application granted granted Critical
Publication of CN107659611B publication Critical patent/CN107659611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/57Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set
    • H04M1/575Means for retrieving and displaying personal data about calling party
    • H04M1/576Means for retrieving and displaying personal data about calling party associated with a pictorial or graphical representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method, a device and a system for generating a user head portrait based on big data. The invention provides a user head portrait generation method based on big data, which comprises the following steps: the user equipment sends a default head portrait generation request to the server according to the operation behavior of the user; the server acquires data of a user according to the default head portrait generation request, generates a user portrait of the user according to the data of the user, and determines a target default head portrait from a plurality of stored pictures; sending the target default head portrait to user equipment; and the user equipment generates the head portrait of the user corresponding to the target application program according to the target default head portrait. According to the method, the device and the system for generating the user head portrait based on the big data, provided by the invention, the default head portrait can be automatically set for the user without setting the custom head portrait, so that other users can distinguish different users through the head portrait or in combination with the head portrait, a nickname and the like, the confusion is not easy, and the use experience of the user is improved.

Description

Big data-based user head portrait generation method, device and system
Technical Field
The invention relates to a communication engineering technology, in particular to a method, a device and a system for generating a user head portrait based on big data.
Background
In mobile applications, a login system has been an indispensable component. Among them, a user can enjoy more humanized experience after logging in an Application (APP) through a login system. In an APP with an Instant Messaging (IM) function, if a user can remember the other party easily, the user experience can be improved. In the communication process between the user and the user, what is most easily remembered by the user is the object with the image of the head portrait of the opposite side, which is more impressive and direct than the user name or nickname.
When a user becomes a registered user of a certain application program, the head portrait of the user is not required to be added in the registration process, so that many users do not set the head portrait of the user. In the prior art, for a user without an avatar, a user device automatically allocates a default picture as the avatar of the user. However, the head portraits of all users who do not set head portraits are the same, and other users can only distinguish different users according to the nicknames of the users, so that the phenomenon of confusing different users is easy to occur, and the use experience of the users is reduced.
Disclosure of Invention
The invention provides a method, a device and a system for generating a user head portrait based on big data, which aim to overcome the technical problem of confusing users caused by the fact that the head portraits of users which do not set the head portraits corresponding to a certain application program are the same in the prior art.
In a first aspect, the present invention provides a method for generating a user avatar based on big data, where the user avatar is a user avatar corresponding to an application having an instant messaging function, and is applied to a user device, including:
after a target application program is started, sending a default head portrait generation request to a server according to an operation behavior of a first user, so that the server generates a first user portrait of the first user according to stored data of the first user, and then determining a first target default head portrait from a plurality of pictures according to the first user portrait and respective identifications of the stored pictures; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user and corresponds to the target application program; the operation behavior does not include an operation of setting a custom avatar;
receiving a first target default head portrait returned by a server;
and generating the head portrait of the first user corresponding to the target application program according to the first target default head portrait.
The method as described above, the sending a default avatar generation request to the server according to the operation behavior of the first user includes:
and sending a default avatar generation request to a server according to default avatar generation operation input by the first user through the target application program registration interface.
The method as described above, the sending a default avatar generation request to the server according to the operation behavior of the first user includes:
receiving a registration operation corresponding to the target application program and input by a first user;
after the registration operation is completed, detecting whether the first user sets an avatar corresponding to the target application program, and if not, sending a default avatar generation request to a server;
or, the sending the default avatar generation request to the server according to the operation behavior of the first user includes:
after the first user logs in the target application program for the first time, whether the first user sets the head portrait corresponding to the target application program is detected, and if not, a default head portrait generation request is sent to a server.
In a second aspect, the present invention provides a method for generating a user avatar based on big data, where the user avatar is a user avatar corresponding to an application having an instant messaging function, and is applied to a server, including:
acquiring stored data of a first user according to a default head portrait generation request sent by user equipment of the first user; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user through user equipment and corresponds to the target application program;
generating a first user representation of the first user from the data of the first user, the first user representation comprising a plurality of first tags;
determining a first target default avatar from the plurality of pictures according to respective identifications of the plurality of stored pictures and the first user portrait; the identification comprises a plurality of second tags;
and sending the first target default avatar to the user equipment, so that the user equipment generates the avatar of the first user corresponding to the target application program according to the first target default avatar.
As described above, before acquiring the stored data of the first user according to the default avatar generation request sent by the user equipment of the first user, the method further includes:
capturing a plurality of pictures from the internet;
for each picture, obtaining a plurality of second labels according to the properties of the picture;
and generating the identifier of the picture according to the plurality of second labels.
The method as described above, wherein determining a target avatar from the plurality of avatars based on the stored respective identifications of the plurality of pictures and the first user representation, comprises:
acquiring the matching degree of the first user portrait and each identification according to a preset rule;
and determining the default head portrait corresponding to the identifier with the highest matching degree of the first user portrait as the first target default head portrait.
The method as described above, after determining the first target default avatar from the plurality of pictures based on the stored respective identifications of the plurality of pictures and the first user representation, the method further comprising:
detecting whether users with the same head portraits as the first target default head portraits exist in all users related to a second user, wherein the first user is related to the second user;
if so, generating a second user portrait of the first user according to data related to a second user in the data of the first user;
determining a second target default avatar from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the second user portrait;
sending the first target default avatar to the user equipment, so that the user equipment generates the avatar of the first user corresponding to the target application program according to the first target default avatar, including:
and sending the second target default avatar to the user equipment, so that the user equipment generates the avatar of the first user corresponding to the target application program according to the second target default avatar.
In a third aspect, the present invention further provides a device for generating a user avatar based on big data, where the user avatar is a user avatar corresponding to an application having an instant messaging function, and the device includes:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a default head portrait generation request to a server according to the operation behavior of a first user after a target application program is started, so that the server generates a first user portrait of the first user according to stored data of the first user, and then determines a first target default head portrait from a plurality of pictures according to the first user portrait and respective identifications of the stored pictures; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user and corresponds to the target application program; the operation behavior does not include an operation of setting a custom avatar;
the receiving module is used for receiving the first target default head portrait returned by the server;
and the default head portrait generating module is used for generating the head portrait of the first user corresponding to the target application program according to the first target default head portrait.
In a fourth aspect, the present invention further provides a device for generating a user avatar based on big data, where the user avatar is a user avatar corresponding to an application having an instant messaging function, and the device includes:
the data acquisition module is used for acquiring the stored data of the first user according to a default head portrait generation request sent by user equipment of the first user; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user through user equipment and corresponds to the target application program;
a user representation generation module to generate a first user representation of the first user from the data of the first user, the first user representation including a plurality of first tags;
the default head portrait determining module is used for determining a first target default head portrait from the plurality of pictures according to respective identifications of the stored plurality of pictures and the first user portrait; the identification comprises a plurality of second tags;
a sending module, configured to send the first target default avatar to the user equipment, so that the user equipment generates the avatar of the first user corresponding to the target application program according to the first target default avatar.
In a fifth aspect, the present invention is also a big data-based user avatar generation system, including: the apparatus of the third aspect and the apparatus of the fourth aspect.
The method for generating the user head portrait based on the big data comprises the following steps: after the target application program is started, the user equipment sends a default head portrait generation request to the server according to the operation behavior of the first user; the server generates a request according to the default head portrait and acquires the stored data of the first user; the server generates a first user portrait of the first user according to the data of the first user, wherein the first user portrait comprises a plurality of first labels; the server determines a first target default head portrait from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the first user portrait; each identifier comprises a plurality of second tags; sending the first target default head portrait to user equipment; and the user equipment generates the head portrait of the first user corresponding to the target application program according to the first target default head portrait. The user head portrait generation method based on big data can automatically set default head portraits for users without setting custom head portraits, so that other users can distinguish different users through the embodied head portraits or by combining the embodied head portraits and nicknames, the user head portraits are not easy to be confused, and the use experience of the users is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagram of one possible system architecture provided by the present invention;
FIG. 2 is a first signaling flow chart of a big data-based user avatar generation method according to the present invention;
FIG. 3 is a first flowchart illustrating a method for generating a user avatar based on big data according to the present invention;
FIG. 4 is a signaling flow chart of a big data-based user avatar generation method according to the present invention;
FIG. 5 is a schematic structural diagram of a first embodiment of a big-data-based user avatar generation apparatus according to the present invention;
FIG. 6 is a schematic structural diagram of a second embodiment of a big-data-based user avatar generation apparatus according to the present invention;
fig. 7 is a schematic structural diagram of a third embodiment of a user avatar generation apparatus based on big data according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, a user image, which is a term related to the present invention, will be described.
The user portrait is also called a user role, and is a label set for describing user characteristics, and can include basic attribute labels of the user: age, gender, school calendar, etc., user interest feature tags, such as women's dress, apparel, etc. In popular terms, a user profile is a set of tags that characterize a user based on the user's behavioral habits.
FIG. 1 is a diagram of one possible system architecture provided by the present invention; the system architecture includes a server 11 and a user device 12, and the user device 12 may include, but is not limited to, a mobile phone, a tablet computer, and the like. The server 11 stores operation data of all users operating a certain application program and basic attribute data of all users; the server 11 further stores a plurality of pictures, each picture has an identifier, the identifier includes a plurality of tags, and the tags can be steel bars, concrete, clothes, and the like.
Specifically, according to the operation behavior of the user, the user equipment 12 sends a default avatar generation request to the server 11, the server 11 obtains data of the user according to the default avatar generation request, generates a user portrait of the user including a plurality of first tags according to the data of the user, matches the user portrait with respective identifiers of stored pictures to obtain a target default avatar, sends the target default avatar to the user equipment 12, and the user equipment 12 generates an avatar corresponding to a corresponding application program according to the target default avatar. Wherein, the operation line of the user does not comprise the operation of setting the custom head portrait by the user.
The user equipment 12 can automatically send a default avatar generation request to the server 11 according to the operation behavior of the user, and the server 11 returns a target default avatar to the user equipment 12 according to the default avatar generation request, so that each user without the custom avatar has a proper avatar, and other users can distinguish different users through the visualized avatar or in combination with the visualized avatar and the nickname, thereby being not easy to be confused and improving the use experience of the users.
Fig. 2 is a first signaling flowchart of a big data-based user avatar generation method provided in the present invention, and as shown in fig. 2, the method of this embodiment may include:
step S101, after a target application program is started, user equipment sends a default head portrait generation request to a server according to the operation behavior of a first user;
step S102, the server generates a request according to a default head portrait and acquires stored data of a first user;
step S103, the server generates a first user portrait of the first user according to the data of the first user, wherein the first user portrait comprises a plurality of first labels;
s104, the server determines a first target default head portrait from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the first user portrait; each identifier comprises a plurality of second tags;
step S105, sending the first target default head portrait to user equipment;
and S106, generating the head portrait of the first user corresponding to the target application program by the user equipment according to the first target default head portrait.
Specifically, the target application of the present embodiment may be an application having an IM function.
After the target application program is started, the user equipment sends a default avatar generation request to the server according to the operation behavior of the first user. The operation behavior of the first user is the operation behavior without setting the custom avatar, and the operation behavior with the custom avatar is set by the user to select a picture from a picture library of the user equipment as the avatar.
The first trigger condition for the user equipment to send the default avatar generation request to the server is as follows: the user equipment receives a default avatar generation operation input by a user according to a target application registration interface, for example, the user can input the default avatar generation operation through a button 'set default avatar' of the registration interface of the application. In this case, the operation behavior of the first user selects the button "set default avatar"; at this time, the user equipment sends a default avatar generation request to the server according to the operation behavior of the first user, including: and sending a default avatar generation request to the server according to default avatar generation operation input by the first user through a registration interface of the target application program.
The second trigger condition for the user equipment to send the default avatar generation request to the server is as follows: the user equipment receives input registration operation corresponding to a target application program; after the registration operation is completed, the user equipment detects that the first user does not set the avatar corresponding to the target application program. In this case, the operation behavior of the first user performs the registration operation, but the operation of setting the avatar is not performed at the time of registration; at this time, the user equipment sends a default avatar generation request to the server according to the operation behavior of the first user, including: receiving a registration operation corresponding to a target application program input by a first user; and after the registration operation is finished, detecting whether the first user sets the head portrait corresponding to the target application program, and if not, sending a default head portrait generation request to the server.
The third trigger condition for the user equipment to send the default avatar generation request to the server is: the user equipment receives the first login operation of the first user, and detects that the first user does not set the avatar corresponding to the target application program after the first user logs in. In this case, the operation behavior of the first user performs a registration operation, and a first login operation is performed after the registration operation, but an operation of setting the avatar is not performed at the time of registration; at this time, the user equipment sends a default avatar generation request to the server according to the operation behavior of the first user, including: after a first user logs in a target application program for the first time, whether the first user sets an avatar corresponding to the target application program is detected, and if not, a default avatar generation request is sent to a server.
It will be appreciated by those skilled in the art that when the registration interface of the target application displays a "set default image" button and the first trigger condition does not occur, the user device may send a default avatar generation request according to the second trigger condition or the third trigger condition.
And the server receives a default head portrait generation request sent by the user equipment, and acquires the stored data of the first user according to the default head portrait generation request.
The data of the first user comprise basic attribute data of the first user and operation data which is carried out by the first user through user equipment and corresponds to the target application program; the operation data is the operation data of all the moments corresponding to the target application program and carried out by the user; the basic attribute data of the first user may be, for example: inherent attributes of the user such as gender, age, academic calendar, etc.; the operation data of the first user may be, for example: if the target application program is a Taobao application program, the first user searches for the keyword baby clothes, stays for 10min on a display interface corresponding to the baby clothes, and buys 1000 yuan baby products in a certain baby product store, and similar collection page operation, refund operation and the like.
As can be understood by those skilled in the art, the server stores basic attribute data of all users and operation data corresponding to the target application program, which is performed by the users through respective user devices, so that the data of the first user is data in the big data platform; in addition, the data of all users stored in the server are continuously updated, and the data of each user in the server is updated according to the operation of the user through the display interface of the target application program. When the user equipment sends the data of the user to the server, the ID of the user equipment is carried, so that the server can place the data of the same user under the same ID; specifically, the server may obtain, through an operation log sent by the user device, basic attribute data of the user and operation data corresponding to the target application program, which is performed by the user through the respective user device.
When the user equipment sends a default avatar generation request to the server, the user equipment also carries the ID of the user equipment, and the server acquires the data of the user under the ID in a memory of the server according to the ID of the user equipment carried in the default avatar generation request.
After the server obtains the data of the first user, a first user portrait of the first user is generated according to the data of the first user, and the first user portrait comprises a plurality of first labels.
The first user image may be { woman, 35 years old, long hair, wearing glasses, (baby clothes, 10min), (total price, 1000 yuan), (baby clothes, 50 times), (size 90cm), … … } (only for the purpose of explaining the composition of the first image, not the actual form of the first image). Wherein, the first label is 35 years old, with glasses and the like. That is, the first user representation is a collection of first tags that are derived from data of the first user.
The method comprises the steps that after a first user portrait of a first user is generated by a server, a plurality of pictures stored by the server and respective identifications of the pictures are obtained, and a first target default head portrait is determined from the pictures according to the respective identifications of the stored pictures and the first user portrait; each tag includes a plurality of second labels.
Wherein, according to the respective identification and the first user portrait of a plurality of pictures of storing, confirm the default head portrait of target from a plurality of pictures, include: acquiring the matching degree of the first user portrait and each identification according to a preset rule; and determining the picture corresponding to the identifier with the highest matching degree of the first user portrait as a first target default avatar.
The server stores a head portrait library, the head portrait library is provided with a plurality of pictures, each picture corresponds to one identification, and each identification comprises a plurality of second tags. The second label is in the same form as the first label. Such as a picture identified as (woman, long hair, glasses, baby clothing, … …) (for the purpose of illustration only, not the actual form of the identification).
And acquiring the matching degree of the first user portrait and each identification according to a preset rule, and determining the default head portrait corresponding to the identification with the highest matching degree of the first user portrait as a first target default head portrait. The idea of the preset rule may be: and the similarity rate of each label in the identification and each label in the user image, wherein the similarity comprises the same and the similar, and the standard for judging the similar similarity can be obtained through big data statistics. For example, if the matching degree of the logo of one picture and the first user portrait is a%, and the matching degrees of the logos of other pictures and the first user portrait are all less than a%, the picture is determined as the target default avatar.
After determining the first target default head portrait, the server sends the first target default head portrait to the user equipment;
and the user equipment receives the first target default head portrait which is sent by the server, and generates the head portrait of the first user corresponding to the target application program according to the first target default head portrait. The user equipment takes the first target default avatar as the avatar of the first user corresponding to the target application program, so that the first user displays the first target default avatar on the display interface corresponding to the target application program after logging in the target application program, and the avatar of the first user is displayed as the first target default avatar on the display interface corresponding to the target application program after logging in the target application program by other users.
In this embodiment, the user device may automatically send a default avatar generation request to the server according to the operation behavior of the user, and the server returns a target default avatar to the user device according to the default avatar generation request, so that all users without the custom avatar have appropriate avatars, so that other users may distinguish different users by using the avatar or combining the avatar and the nickname, and the like, which is not easy to be confused, and improves the user experience.
The method for generating the user head portrait based on the big data comprises the following steps: after the target application program is started, the user equipment sends a default head portrait generation request to the server according to the operation behavior of the first user; the server generates a request according to the default head portrait and acquires the stored data of the first user; the server generates a first user portrait of the first user according to the data of the first user, wherein the first user portrait comprises a plurality of first labels; the server determines a first target default head portrait from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the first user portrait; each identifier comprises a plurality of second tags; sending the first target default head portrait to user equipment; and the user equipment generates the head portrait of the first user corresponding to the target application program according to the first target default head portrait. The big data-based user avatar generation method can automatically set the default avatar for the user without the custom avatar, so that other users can distinguish different users through the avatar or in combination with the avatar and the nickname, confusion is not easy, and user experience is improved.
The method for generating a plurality of pictures on the server side in the embodiment of the method shown in fig. 1 will be described in detail below using several specific embodiments.
Fig. 3 is a first schematic flow chart of a big data-based user avatar generation method provided in the present invention, and referring to fig. 3, the method of this embodiment may include:
step S201, capturing a plurality of pictures from the Internet;
step S202, for each picture, obtaining a plurality of second labels according to the properties of the picture;
and step S203, generating the identifier of the picture according to the plurality of second labels.
Specifically, the execution subject of the present embodiment may be the server 11 shown in fig. 1.
As described above, the server may continuously capture pictures from the internet according to the service requirement. That is, the number of pictures in the server is increasing to meet the business requirement, that is, the pictures are called when the user equipment needs to generate a default avatar.
And for each picture, the server generates a plurality of second labels according to the content displayed by the picture. And taking a plurality of second labels as the identification of the picture.
Through the steps, a plurality of pictures with the identification are stored in the server.
In this embodiment, the server captures a plurality of pictures from the internet, generates an identifier for each picture, and stores the identifier in the server for calling when the user equipment needs to generate a default avatar.
In order to prevent different users from generating the same default avatar, the present embodiment is further improved on the basis of the above-described embodiment.
Fig. 4 is a signaling flowchart of a second method for generating a user avatar based on big data according to the present invention, as shown in fig. 4, the method of this embodiment may include:
step S301, after a target application program is started, user equipment sends a default head portrait generation request to a server according to the operation behavior of a first user;
step S302, the server acquires stored data of the first user according to a default head portrait generation request sent by user equipment of the first user;
step S303, the server generates a first user portrait of the first user according to the data of the first user, wherein the first user portrait comprises a plurality of first labels;
step S304, the server determines a first target default head portrait from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the first user portrait; each identifier comprises a plurality of second tags;
step S305, the server detects whether a user with the same head portrait as the first target default head portrait exists in all users related to a second user, wherein the first user is related to the second user;
step S306, if a user with the same head portrait as the first target default head portrait is detected to exist in all users related to the second user, generating a second user portrait of the first user according to data related to the second user in the data of the first user;
step S307, determining a second target default head portrait from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the second user portrait;
step S308, sending the second target default head portrait to user equipment;
step S309, the user equipment generates the head portrait of the first user corresponding to the target application program according to the second target default head portrait.
Specifically, steps S301 to S304 in this embodiment are the same, and are not described again in this embodiment.
In step S305, after obtaining the first target default avatar according to all the data of the first user, the server may detect whether there is a user with the same avatar as the first target default avatar among the users related to the second user, and if yes, the first target default avatar of the first user needs to be replaced to avoid the user with the same avatar among the users related to the second user. Wherein the first user is associated with the second user.
Specifically, the second user is a different user than the first user. In a target application program with an IM function, one user often has a plurality of related users, and the related users have the communication authority with the user; for example, the second user is a QQ user a, which has a plurality of buddies, the buddies are related users of the QQ user a, and the first user is also a buddy of the QQ user a, that is, a related user of the QQ user a.
And if the server detects that the head portraits of the users related to the second user are the same as the first target default head portraits, generating a second user portrait of the first user according to the data related to the second user in the data of the first user. The second user representation and the first user representation are generated in the same way, and are not described herein again.
In particular, because the first target default avatar is determined based on the first user representation, the first user representation may need to be updated before the first target default avatar is replaced. In this case, the second user representation of the first user may be generated based only on data associated with the second user, but not all data of the first user. For example, if the user C is a friend of the user D, and the user C is a seller with respect to the user D, the user D only cares about operations, such as a publishing operation, of the user C with the identity of the seller, and the user D does not care about a browsing operation of the user C as a buyer and is not related to the user D.
And after the second user portrait is generated, the server determines a second target default portrait from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the second user portrait according to a method for determining that the first target default portrait is the same.
After determining the second target default head portrait, the server sends the second target default head portrait to the user equipment;
and the user equipment receives the second target default head portrait which is sent by the server, and generates the head portrait of the first user corresponding to the target application program according to the second target default head portrait. The user equipment takes the second target default avatar as the avatar of the first user corresponding to the target application program, so that the first user displays the first target default avatar on the display interface corresponding to the target application program after logging in the target application program, and the avatar of the first user is displayed as the second target default avatar on the display interface corresponding to the target application program after logging in the target application program by other users.
In the embodiment, when it is detected that there is a user with the same avatar as the first target default avatar among the related users of the second user, the first target default avatar of the first user is updated, so that the user with the same avatar among the related users of the second user is avoided, the second user is not easy to confuse the related users, and the user experience of the user is improved.
Fig. 5 is a schematic structural diagram of a first embodiment of a big-data-based user avatar generation apparatus provided in the present invention, and as shown in fig. 5, the apparatus of the present embodiment may include: the system comprises a sending module 11, a receiving module 12 and a default avatar generating module 13, wherein the sending module 11 is configured to send a default avatar generation request to a server according to an operation behavior of a first user after a target application program is started, so that the server generates a first user portrait of the first user according to stored data of the first user, and then determines a first target default avatar from multiple pictures according to respective identifiers of the first user portrait and the stored multiple pictures; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user and corresponds to the target application program; the operation behavior does not include an operation of setting a custom avatar; the receiving module 12 is configured to receive a first target default avatar returned by the server; and a default avatar generation module 13, configured to generate an avatar of the first user corresponding to the target application according to the first target default avatar.
The sending module 11 is specifically configured to send a default avatar generation request to the server according to a default avatar generation operation input by the first user through the target application registration interface. Alternatively, the first and second electrodes may be,
the sending module 11 is specifically configured to receive a registration operation corresponding to a target application program, which is input by a first user; after the registration operation is completed, detecting whether the first user sets the head portrait corresponding to the target application program, and if not, sending a default head portrait generation request to the server; alternatively, the first and second electrodes may be,
the sending module 11 is specifically configured to, after the first user logs in the target application program for the first time, detect whether the first user sets the avatar corresponding to the target application program, and if not, send a default avatar generation request to the server.
The apparatus of this embodiment may be configured to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a second embodiment of a big-data-based user avatar generation apparatus provided in the present invention, and as shown in fig. 6, the apparatus of this embodiment may include: the system comprises a data acquisition module 21, a user portrait generation module 22, a default head portrait determination module 23, a sending module 24 and a default head portrait generation module 25.
The data acquisition module 21 is configured to acquire stored data of the first user according to a default avatar generation request sent by a user device of the first user; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user through user equipment and corresponds to the target application program; a user representation generation module 22 for generating a first user representation of the first user from data of the first user, the first user representation including a plurality of first tags; a default avatar determination module 23, configured to determine a first target default avatar from the multiple pictures according to the respective identifiers of the stored multiple pictures and the first user portrait; identifying that a plurality of second tags are included; the sending module 24 is configured to send the first target default avatar to the user equipment, so that the user equipment generates the avatar of the first user corresponding to the target application program according to the first target default avatar.
The default avatar determination module 23 is specifically configured to obtain matching degrees of the first user portrait and each identifier according to a preset rule; and determining the default head portrait corresponding to the identifier with the highest matching degree of the first user portrait as a first target default head portrait.
A default head portrait generating module 25, configured to capture multiple pictures from the internet; for each picture, obtaining a plurality of second labels according to the properties of the picture; and generating the identifier of the picture according to the plurality of second labels.
The apparatus of this embodiment may be configured to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a third embodiment of the device for generating a user avatar based on big data according to the present invention, as shown in fig. 7, the device of this embodiment further includes a detection module 26 based on the device structure shown in fig. 6, where the detection module 26 is configured to detect whether there is a user with the same avatar as the first target default avatar among users related to the second user after determining the first target default avatar from the multiple pictures according to the respective identifications and user figures of the multiple stored pictures, and the first user is related to the second user.
If it is detected that a user with the same head portrait as the first target default head portrait exists in the users related to the second user, the user portrait generation module 22 is further configured to generate a second user portrait of the first user according to data related to the second user in the data of the first user; the default avatar determination module 23 is further configured to determine a second target default avatar from the plurality of pictures according to the stored respective identifiers of the plurality of pictures and the second user portrait; the sending module 24 is further configured to send the second target default avatar to the user equipment, so that the user equipment generates the avatar of the first user corresponding to the target application program according to the second target default avatar.
The apparatus of this embodiment may be configured to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
The invention also provides a user head portrait generating system based on big data, and the system of the embodiment comprises: a first device and a second device, wherein the first device can adopt the structure of the device embodiment shown in FIG. 5, and the second device can adopt the structure of the device embodiment shown in any one of FIGS. 6-7.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for generating a user avatar based on big data, wherein the user avatar is a user avatar corresponding to an application program with an instant messaging function, and is applied to user equipment, the method comprising the following steps:
after a target application program is started, sending a default head portrait generation request to a server according to an operation behavior of a first user, so that the server generates a first user portrait of the first user according to stored data of the first user, and then determining a first target default head portrait from a plurality of pictures according to the first user portrait and respective identifications of the stored pictures; detecting whether users with the same head portraits as the first target default head portraits exist in all users related to a second user, wherein the first user is related to the second user; if so, generating a second user portrait of the first user according to data related to a second user in the data of the first user; determining a second target default avatar from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the second user portrait; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user and corresponds to the target application program;
receiving a second target default head portrait returned by the server;
and generating the head portrait of the first user corresponding to the target application program according to the second target default head portrait.
2. The method of claim 1, wherein sending a default avatar generation request to a server based on the first user's operational behavior comprises:
and sending a default avatar generation request to a server according to default avatar generation operation input by the first user through the target application program registration interface.
3. The method of claim 1, wherein sending a default avatar generation request to a server based on the first user's operational behavior comprises:
receiving a registration operation corresponding to the target application program and input by a first user;
after the registration operation is completed, detecting whether the first user sets an avatar corresponding to the target application program, and if not, sending a default avatar generation request to a server;
or, the sending the default avatar generation request to the server according to the operation behavior of the first user includes:
after the first user logs in the target application program for the first time, whether the first user sets the head portrait corresponding to the target application program is detected, and if not, a default head portrait generation request is sent to a server.
4. A method for generating a user avatar based on big data, wherein the user avatar is a user avatar corresponding to an application program with an instant messaging function, and is applied to a server, the method comprises the following steps:
acquiring stored data of a first user according to a default head portrait generation request sent by user equipment of the first user; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user through user equipment and corresponds to a target application program;
generating a first user representation of the first user from the data of the first user, the first user representation comprising a plurality of first tags;
determining a first target default avatar from the plurality of pictures according to respective identifications of the plurality of stored pictures and the first user portrait; the identification comprises a plurality of second tags;
detecting whether users with the same head portraits as the first target default head portraits exist in all users related to a second user, wherein the first user is related to the second user;
if so, generating a second user portrait of the first user according to data related to a second user in the data of the first user;
determining a second target default avatar from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the second user portrait;
and sending the second target default avatar to the user equipment, so that the user equipment generates the avatar of the first user corresponding to the target application program according to the second target default avatar.
5. The method of claim 4, wherein before retrieving the stored data of the first user in accordance with a default avatar generation request sent by a user device of the first user, the method further comprises:
capturing a plurality of pictures from the internet;
for each picture, obtaining a plurality of second labels according to the properties of the picture;
and generating the identifier of the picture according to the plurality of second labels.
6. The method of claim 4 or 5, wherein determining a target avatar from the plurality of avatars based on the stored respective identifications of the plurality of pictures and the first user representation comprises:
acquiring the matching degree of the first user portrait and each identification according to a preset rule;
and determining the picture corresponding to the identifier with the highest matching degree of the first user portrait as the first target default avatar.
7. A big data-based user avatar generation device, wherein the user avatar is a user avatar corresponding to an application having an instant messaging function, and is applied to user equipment, the device comprising:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a default head portrait generation request to a server according to the operation behavior of a first user after a target application program is started, so that the server generates a first user portrait of the first user according to stored data of the first user, and then determines a first target default head portrait from a plurality of pictures according to the first user portrait and respective identifications of the stored pictures; detecting whether users with the same head portraits as the first target default head portraits exist in all users related to a second user, wherein the first user is related to the second user; if so, generating a second user portrait of the first user according to data related to a second user in the data of the first user; determining a second target default avatar from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the second user portrait; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user and corresponds to the target application program;
the receiving module is used for receiving the first target default head portrait returned by the server;
and the default head portrait generating module is used for generating the head portrait of the first user corresponding to the target application program according to the first target default head portrait.
8. A big data-based user avatar generation apparatus, the user avatar being an avatar of a user of an application having an instant messaging function, applied to a server, comprising:
the data acquisition module is used for acquiring the stored data of the first user according to a default head portrait generation request sent by user equipment of the first user; the data of the first user comprises basic attribute data of the first user and operation data which is carried out by the first user through user equipment and corresponds to a target application program;
a user representation generation module to generate a first user representation of the first user from the data of the first user, the first user representation including a plurality of first tags;
the default head portrait determining module is used for determining a first target default head portrait from the plurality of pictures according to respective identifications of the stored plurality of pictures and the first user portrait; the identification comprises a plurality of second tags;
a sending module, configured to send the first target default avatar to the user equipment, so that the user equipment generates the avatar of the first user corresponding to the target application program according to the first target default avatar;
the detection module is used for detecting whether a user with the head portrait same as the first target default head portrait exists in all users related to a second user, and the first user is related to the second user;
the user portrait generation module is further used for generating a second user portrait of the first user according to data related to a second user in the data of the first user;
and the default head portrait determining module is also used for determining a second target default head portrait from the plurality of pictures according to the respective identifications of the plurality of stored pictures and the second user portrait.
9. A big data-based user avatar generation system, comprising: the apparatus of claim 7 and the apparatus of claim 8.
CN201710693834.9A 2017-08-14 2017-08-14 Big data-based user head portrait generation method, device and system Active CN107659611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710693834.9A CN107659611B (en) 2017-08-14 2017-08-14 Big data-based user head portrait generation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710693834.9A CN107659611B (en) 2017-08-14 2017-08-14 Big data-based user head portrait generation method, device and system

Publications (2)

Publication Number Publication Date
CN107659611A CN107659611A (en) 2018-02-02
CN107659611B true CN107659611B (en) 2020-11-06

Family

ID=61127683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710693834.9A Active CN107659611B (en) 2017-08-14 2017-08-14 Big data-based user head portrait generation method, device and system

Country Status (1)

Country Link
CN (1) CN107659611B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388456B (en) * 2018-09-20 2021-12-07 维沃移动通信有限公司 Head portrait selection method and mobile terminal
CN109460511B (en) * 2018-10-25 2021-10-26 百度在线网络技术(北京)有限公司 Method and device for acquiring user portrait, electronic equipment and storage medium
CN109934246B (en) * 2018-11-08 2021-03-02 闽江学院 Head portrait identification method and device based on user ID
CN111176510A (en) * 2019-12-30 2020-05-19 上海连尚网络科技有限公司 Method and apparatus for changing head portrait
CN111832269B (en) * 2020-09-21 2020-12-08 湖南惟楚有才教育科技有限公司 Self-adaptive user head portrait filling method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215302A (en) * 2011-05-28 2011-10-12 华为技术有限公司 Contact photo providing method, management platform and user terminal
CN105100244A (en) * 2015-07-27 2015-11-25 小米科技有限责任公司 Head portrait setting method and apparatus
CN105681519A (en) * 2014-11-21 2016-06-15 ***通信集团广西有限公司 Method and device for setting head portraits of contacts in address book

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013120851A1 (en) * 2012-02-13 2013-08-22 Mach-3D Sàrl Method for sharing emotions through the creation of three-dimensional avatars and their interaction through a cloud-based platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215302A (en) * 2011-05-28 2011-10-12 华为技术有限公司 Contact photo providing method, management platform and user terminal
CN105681519A (en) * 2014-11-21 2016-06-15 ***通信集团广西有限公司 Method and device for setting head portraits of contacts in address book
CN105100244A (en) * 2015-07-27 2015-11-25 小米科技有限责任公司 Head portrait setting method and apparatus

Also Published As

Publication number Publication date
CN107659611A (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN107659611B (en) Big data-based user head portrait generation method, device and system
US11363129B2 (en) Method and apparatus for processing contact information using a wireless terminal
CN107527274B (en) Information recommendation platform, device, system, method and terminal
CN105635764B (en) Method and device for playing push information in live video
CN106533899B (en) information display processing method, device and system
CN109117778B (en) Information processing method, information processing apparatus, server, and storage medium
WO2016100318A2 (en) Gallery of messages with a shared interest
CN112818224B (en) Information recommendation method and device, electronic equipment and readable storage medium
CN106209607B (en) Subscription information display method and device
US20170310819A1 (en) Voice play method and voice play device
CN114726947B (en) Message display method, device, user terminal and readable storage medium
US20190325497A1 (en) Server apparatus, terminal apparatus, and information processing method
CN104376022B (en) Data processing method and device
KR20140066686A (en) Method for determining if business card about to be added is present in contact list
WO2016202075A1 (en) Method and apparatus for sharing goods information
CN110909241B (en) Information recommendation method, user identification recommendation method, device and equipment
CN108429667B (en) Information display method and device
CN105490913B (en) Instant message processing method and device
KR20090117108A (en) System and method for providing product information service by mobile network system
CN111897474A (en) File processing method and electronic equipment
CN114721755A (en) To-do transaction message processing method and device and storage medium
CN107786431B (en) Message interaction method and related device, communication system and medium product
CN111010526A (en) Interaction method and device in video communication
US9094575B2 (en) Non-transitory computer-readable medium storing program and communication device
CN106254953B (en) A kind of image display method and device, picture receive terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant