CN111262774B - Method and apparatus for transmitting information - Google Patents

Method and apparatus for transmitting information Download PDF

Info

Publication number
CN111262774B
CN111262774B CN201811458269.9A CN201811458269A CN111262774B CN 111262774 B CN111262774 B CN 111262774B CN 201811458269 A CN201811458269 A CN 201811458269A CN 111262774 B CN111262774 B CN 111262774B
Authority
CN
China
Prior art keywords
user
information
head portrait
avatar
face image
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
CN201811458269.9A
Other languages
Chinese (zh)
Other versions
CN111262774A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811458269.9A priority Critical patent/CN111262774B/en
Publication of CN111262774A publication Critical patent/CN111262774A/en
Application granted granted Critical
Publication of CN111262774B publication Critical patent/CN111262774B/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Abstract

The embodiment of the application discloses a method and a device for sending information. One embodiment of the above method comprises: receiving a request sent by a target account, wherein the request comprises a target image, and the target image comprises at least one face image; determining a user head portrait matched with a face image in at least one face image in a preset user head portrait set; and sending information to the account corresponding to the determined user avatar. According to the method and the system, the friends can be added or invited to enter the group in a photo uploading mode, and convenience is improved.

Description

Method and apparatus for transmitting information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for sending information.
Background
At present, social software is more and more, and communication between people is facilitated. If two persons want to establish connection through the same social software, the account numbers of the two persons must be known so as to add the two persons as friends. In the existing friend adding mode, a user needs to manually input information such as an account number, a mobile phone number and the like. When a user needs to add a large number of friends, or invite a large number of friends to a group, the adding method is time-consuming and labor-consuming.
Disclosure of Invention
The embodiment of the application provides a method and a device for sending information.
In a first aspect, an embodiment of the present application provides a method for sending information, including: receiving a request sent by a target account, wherein the request comprises a target image, and the target image comprises at least one face image; determining a user head portrait matched with a face image in the at least one face image in a preset user head portrait set; and sending information to the account corresponding to the determined user avatar.
In some embodiments, before determining, in the preset user avatar set, a user avatar matching a face image of the at least one face image, the method further includes: receiving editing information which is sent by a target account and aims at least one face image in the target image, wherein the editing information comprises a labeling frame; and the step of determining the user head portrait matched with the face image in the at least one face image in the preset user head portrait set comprises the following steps: and determining the user head portrait matched with the face image in the labeling frame in a preset user head portrait set.
In some embodiments, the determining, in the preset user avatar set, a user avatar matching a face image of the at least one face image includes: determining the user head portrait comprising the face image in the preset user head portrait set as a user head portrait to be matched; extracting first characteristic information of a face image in the head portrait of the user to be matched; extracting second characteristic information of the face image in the at least one face image; and determining a user head portrait matched with the face image in the at least one face image according to the first characteristic information and the second characteristic information.
In some embodiments, the request comprises an add buddy request; and the sending of the information to the account corresponding to the determined user avatar comprises: and sending friend adding information to the account corresponding to the determined user avatar.
In some embodiments, the request comprises a group creation request; and the sending of the information to the account corresponding to the determined user avatar comprises: and sending an invitation group message to the account corresponding to the determined user avatar.
In some embodiments, the sending information to the account corresponding to the determined avatar of the user includes: sending the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait to the target account; receiving selected information of a first option and/or a second option corresponding to the determined user avatar sent by the target account; and sending friend adding information and/or invitation group information to the account corresponding to the selected user avatar according to the selected information.
In some embodiments, the above method further comprises: receiving an avatar setting request sent by the target account, wherein the avatar setting request comprises an avatar picture; and sending prompt information to the target account in response to the fact that the head portrait picture does not include the face image.
In some embodiments, the set of user avatars includes historical user avatars corresponding to the at least one account.
In a second aspect, an embodiment of the present application provides a method for sending information, including: and sending a request to a server through a target account, wherein the request comprises a target image, and the target image comprises at least one face image, so that the server determines a user head portrait matched with the face image in the at least one face image in a preset user head portrait set and sends information to an account corresponding to the determined user head portrait.
In some embodiments, the above method further comprises: displaying the target image; receiving edit information of a user using the target account on at least one face image in the target image, wherein the edit information comprises a labeling frame; and sending the editing information to the server side so that the server side determines the user head portrait matched with the face image in the labeling frame in a preset user head portrait set.
In some embodiments, the sending the request to the server through the target account includes: and sending a friend adding request to the server through the target account so that the server sends friend adding information to the account corresponding to the determined user avatar.
In some embodiments, the sending the request to the server through the target account includes: and sending a group creation request to the server through the target account so that the server sends a group invitation message to the account corresponding to the determined user avatar.
In some embodiments, the above method further comprises: receiving the following information sent by the server: the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait; receiving selected information of a first option and/or a second option corresponding to the determined user avatar of the user using the target account; and sending the selected information to the server so that the server sends friend adding information and/or invitation group information to the account corresponding to the selected user avatar according to the selected information.
In some embodiments, the above method further comprises: sending an avatar setting request to the server through the target account, wherein the avatar setting request comprises an avatar picture; and receiving prompt information sent by the server, wherein the prompt information is sent after the server detects that the head portrait picture does not include the face image.
In a third aspect, an embodiment of the present application provides an apparatus for sending information, including: the request receiving unit is configured to receive a request sent by a target account, wherein the request comprises a target image, and the target image comprises at least one face image; the user head portrait matching unit is configured to determine a user head portrait matched with a face image in the at least one face image in a preset user head portrait set; and the message sending unit is configured to send information to the account corresponding to the determined user head portrait.
In some embodiments, the above apparatus further comprises: an editing information receiving unit configured to receive editing information, which is sent by a target account and is aimed at least one face image in the target image, before the user avatar matching unit determines a user avatar matching a face image in the at least one face image in a preset user avatar set, wherein the editing information includes an annotation frame; and the user avatar matching unit is further configured to: and determining the user head portrait matched with the face image in the labeling frame in a preset user head portrait set.
In some embodiments, the user avatar matching unit includes: the to-be-matched user head portrait determining module is configured to determine a user head portrait comprising a face image in the preset user head portrait set as a to-be-matched user head portrait; the first feature extraction module is configured to extract first feature information of a face image in the head portrait of the user to be matched; the second characteristic extraction module is configured to extract second characteristic information of the face image in the at least one face image; and the user head portrait matching module is configured to determine a user head portrait matched with a face image in the at least one face image according to the first characteristic information and the second characteristic information.
In some embodiments, the request comprises an add buddy request; and the message sending unit is further configured to: and sending friend adding information to the account corresponding to the determined user avatar.
In some embodiments, the request comprises a group creation request; and the message sending unit is further configured to: and sending an invitation group message to the account corresponding to the determined user avatar.
In some embodiments, the message sending unit includes: the user head portrait sending module is configured to send the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait to the target user terminal; the selected information receiving module is configured to receive selected information which is sent by the target account and aims at the first option and/or the second option corresponding to the determined head portrait of the user; and the message sending module is configured to send friend adding information and/or invitation group information to the account corresponding to the selected user avatar according to the selected information.
In some embodiments, the above apparatus further comprises: the head portrait setting request receiving unit is configured to receive a head portrait setting request sent by the target account, wherein the head portrait setting request comprises a head portrait picture; and the prompt information sending unit is configured to respond to the detection that the head portrait picture does not include the face image and output prompt information to the target account.
In a fourth aspect, an embodiment of the present application provides a method for sending information, including: the request sending unit is configured to send a request to a server through a target account, wherein the request comprises a target image, the target image comprises at least one face image, so that the server determines a user head portrait matched with the face image in the at least one face image in a preset user head portrait set and sends information to an account corresponding to the determined user head portrait.
In some embodiments, the apparatus further comprises: an image display unit configured to display the target image; an edit information detection unit configured to receive edit information of at least one face image in the target image by a user using the target account, the edit information including an annotation frame; and the editing information sending unit is configured to send the editing information to the server so that the server determines the user head portrait matched with the face image in the annotation frame in a preset user head portrait set.
In some embodiments, the request sending unit is further configured to: and sending a friend adding request to the server through the target account so that the server sends friend adding information to the account corresponding to the determined user avatar.
In some embodiments, the request sending unit is further configured to: and sending a group creation request to the server through the target account so that the server sends a group invitation message to the account corresponding to the determined user avatar.
In some embodiments, the apparatus further comprises: an information receiving unit configured to receive the following information sent by the server: the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait; a selected information detection unit configured to receive selected information of a user using the target account for the first option and/or the second option corresponding to the determined avatar of the user; and the selected information sending unit is configured to send the selected information to the server, so that the server sends friend adding information and/or a group invitation message to an account corresponding to the selected user avatar according to the selected information.
In some embodiments, the apparatus further comprises: the head portrait setting request sending unit is configured to send a head portrait setting request to the server through the target account, wherein the head portrait setting request comprises a head portrait picture; a prompt message receiving unit configured to receive a prompt message sent by the server, wherein the prompt message is sent by the server after detecting that the head portrait picture does not include a face image.
In a fifth aspect, an embodiment of the present application provides a server, including: one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the embodiments of the first aspect.
In a sixth aspect, an embodiment of the present application provides a terminal, including: one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the embodiments of the second aspect.
In a seventh aspect, this application provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method as described in any embodiment of the first aspect.
In an eighth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method as described in any one of the embodiments of the second aspect.
According to the method and the device for sending the information, the request sent by the target account is received, the request comprises the target image, and the target image comprises at least one face image. And then, determining a user head portrait matched with the face image in the at least one face image in a preset user head portrait set. And finally, sending information to the account corresponding to the determined user avatar. According to the method and the device, the friends can be added or invited to enter the group in a photo uploading mode, and the efficiency of adding the friends in batches or inviting the friends in batches to enter the group is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which one embodiment of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for transmitting information according to the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for transmitting information according to the present application;
FIG. 4 is a flow diagram of another embodiment of a method for transmitting information according to the present application;
FIG. 5 is a flow diagram of yet another embodiment of a method for transmitting information according to the present application;
FIG. 6 is a schematic block diagram illustrating one embodiment of an apparatus for transmitting information in accordance with the present application;
FIG. 7 is a schematic block diagram of another embodiment of an apparatus for transmitting information according to the present application;
fig. 8 is a schematic block diagram of a computer system suitable for implementing a server or a terminal according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for transmitting information or the apparatus for transmitting information of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 101, 102, 103 to interact with a server 105 over a network 104 to receive or send messages or the like. Various communication client applications, such as a social application, an instant messaging tool, a web browser application, a shopping application, a search application, a mailbox client, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen and supporting receiving or sending messages, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for social-like applications installed on the terminal devices 101, 102, 103. The backend server may perform processing such as analysis on data such as the received request, and feed back a processing result (e.g., the determined user avatar) to the terminal device 101, 102, 103.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for sending information provided in the embodiment of the present application may be executed by the server 105, and may also be executed by the terminal devices 101, 102, and 103. Accordingly, the means for transmitting information may be provided in the server 105, or may be provided in the terminal apparatuses 101, 102, 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for transmitting information in accordance with the present application is shown. The method for sending information of the embodiment is executed by a server and comprises the following steps:
step 201, receiving a request sent by a target account.
In this embodiment, the execution subject of the method for transmitting information (e.g., the server 105 shown in fig. 1) may receive the request transmitted by the target account through a wired connection or a wireless connection. The target account may be an account that the user is registered with in the social application. The social class application may be installed in a target user terminal (e.g., terminal devices 101, 102, 103 shown in fig. 1). Through the target account, the user may send a request to the executing agent. The request can be a friend adding request or a group creating request. The target account may add the buddy by sending a buddy addition request to the executing principal. The target account may create a social group by sending a group creation request to the executing agent.
The request may include a target image. The target image may include at least one face image. It is to be understood that when only one face image is included in the target image, the face image is not the face image of the person of the adder himself. When the target image includes at least two face images, the face images may include the face image of the user, or may not include the face image of the user.
It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
Step 202, determining a user head portrait matched with a face image in the at least one face image in a preset user head portrait set.
In this embodiment, after the execution subject determines at least one face image in the target image, the execution subject may determine, in a preset user avatar set, a user avatar matching each face image in the at least one face image. The user avatar set can comprise avatar pictures currently used by all users using a certain social application, and can also comprise avatar pictures historically used by all users. The execution subject may determine the user avatar matching the face image in a variety of ways, for example, the execution subject may determine whether the face image is included in the user avatar set.
In some optional implementations of this embodiment, the user avatar set may include historical user avatars corresponding to at least one account. The historical user avatar may include an avatar picture set by the user when registering the target account, and may further include an avatar picture used by the user in the process of using the target account.
In some optional implementations of the present embodiment, the executing subject may further determine the user's head portrait matching each of the at least one face image through the following steps not shown in fig. 2: firstly, determining a user head portrait comprising a face image in a preset user head portrait set as a user head portrait to be matched. And secondly, extracting first characteristic information of the face image in the head portrait of the user to be matched. And thirdly, extracting second characteristic information of the face image in the at least one face image. And finally, determining the head portrait of the user matched with the face image in the at least one face image according to the first characteristic information and the second characteristic information.
The execution subject may first take the user avatar including the face image in the user avatar set as the avatar of the user to be matched. And then, extracting first characteristic information of the face image in the head portrait of the user to be matched. Meanwhile, second characteristic information of each face image in the target image is extracted. Finally, the executing agent may compare the first feature information and the second feature information, and determine that the first feature information and the second feature information match when the first feature information and the second feature information are all the same or partially the same. The execution subject may regard the user avatar corresponding to the matched second feature information as the user avatar matched with each face image in the target image. It can be understood that face image feature extraction is a technology which is widely applied at present, and is not described herein again.
And step 203, sending information to the account corresponding to the determined user head portrait.
In this embodiment, after determining the user avatar matching each face image in the target image, the execution subject may determine an account corresponding to the user avatar. The executing agent may then send a message to the account. The user to which the friend is added or invited to the group can receive the message sent by the execution subject by logging in the account on the terminal. The message may be a friend addition message, an invitation to group message, or a message including a target image and a target account. The friend adding message is used for reminding the user that other users want to add the friend. The invite-to-group message is used to alert a user that the user has been invited to join a group by another user.
In some optional implementations of this embodiment, the request may include a request to add a buddy. The above step 203 may comprise the following steps not shown in fig. 2: and sending friend adding information to the account corresponding to the determined user avatar.
In this implementation manner, when the target account sends the friend adding request to the execution main body, the execution main body may send friend adding information to the account corresponding to the determined user avatar. The friend addition message may include information of the target account.
In some optional implementations of this embodiment, the request may include a group creation request. The above step 203 may comprise the following steps not shown in fig. 2: and sending an invitation group message to the account corresponding to the determined user avatar.
In this implementation, when the target account sends the group creation request to the execution main body, the execution main body may send an invitation to group message to the account corresponding to the determined user avatar. The invite group message may include information of the target account, a user avatar of the invited account, and the like.
With continuing reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for transmitting information according to the present embodiment. In the application scenario of fig. 3, the user first initiates a request to add a friend, and uploads a group photo of a class classmate. Then, the server can determine the face images of the classmates in the photo in the background and match the user head portraits corresponding to the face images. And finally, sending friend adding information to the user terminal corresponding to the user head portrait.
The method for sending information provided by the above embodiment of the present application first receives a request sent by a target account, where the request includes a target image, and the target image includes at least one face image. And then, determining a user head portrait matched with the face image in the at least one face image in a preset user head portrait set. And finally, sending information to the account corresponding to the determined user avatar. According to the method, the friends can be added or invited to enter the group in a photo uploading mode, and the efficiency of adding the friends in batches or inviting the friends in batches to enter the group is improved.
With continued reference to fig. 4, a flow 400 of another embodiment of a method for transmitting information in accordance with the present application is shown. The present embodiment may include the following steps:
step 401, receiving a request sent by a target account.
In this embodiment, the principle of this step is the same as that of step 201, and is not described here again.
Step 402, receiving editing information which is sent by a target account and aims at least one face image in a target image.
In this embodiment, the execution subject may further receive editing information, which is sent by the target account and is for at least one facial image in the target image. The editing information may include a label box. For example, if the user only wants to add a friend to the user indicated by a part of the face images in the plurality of face images in the target image, the user may label the face image of the user to be added. The editing information may further include cropping size information indicating a size of an image obtained by cropping the target image.
And step 403, determining the user head portrait matched with the face image in the labeling frame in a preset user head portrait set.
After receiving the editing information, the execution subject may determine a user avatar matching the face image in the annotation frame in a preset user avatar set.
And step 404, sending the determined user head portrait, the information of the user account indicated by the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait to the target user terminal.
After determining the avatar of the user, the executing agent may send the avatar of each user, information of the user account indicated by the avatar of each user, and the first option and the second option corresponding to the avatar of each user to the target account. After the user logs in the target account on the terminal and receives the information, a page can be generated according to the information. The generated page can comprise the head portraits of the users, the information of the accounts and the first option and the second option corresponding to each head portraits of the users. The information of the account may include a user name, an associated mobile phone number, a region where the user is located, and the like. The first option may be an option to add as a buddy. The user can indicate that the account corresponding to the user avatar is to be added as a friend by selecting the option. The second option may be an invite to group option. The user may indicate that the account corresponding to the avatar of the user is to be invited to join the group chat by selecting the option.
And step 405, receiving selected information which is sent by the target account and aims at the first option and/or the second option corresponding to the determined head portrait of the user.
After the user selects the first option or the second option corresponding to the head portrait of each user, the user can send selected information to the execution main body through the target account. After receiving the selected information, the execution body may send a message corresponding to the selected option to each user avatar.
And step 406, sending friend adding information and/or invitation group information to the account corresponding to the selected user avatar according to the selected information.
After receiving the selection information, the execution main body can analyze the selection information to determine which of the user avatars selected from the first option and which of the user avatars selected from the second option. After the determination, friend adding information may be sent to an account corresponding to the avatar of the user selecting the first option, and an invite group message may be sent to an account corresponding to the avatar of the user selecting the second option. It will be appreciated that for a user avatar, the user may select both the first option and the second option, or only one of them.
The method for sending the information provided by the embodiment of the application can allow the user to select the partial face image in the photo so as to send the information to only partial user in the photo; and the user can be allowed to simultaneously complete two operations of adding friends and inviting to a group, so that the convenience of the user is improved.
In some optional implementations of this embodiment, the method may further include the following steps not shown in fig. 4: receiving an avatar setting request sent by a target account; and in response to detecting that the head portrait picture does not comprise the face image, outputting prompt information to the target account.
In this implementation, the execution subject may further receive a avatar setting request sent by the target account. Wherein, the avatar setting request includes an avatar picture. After receiving the avatar picture, the execution subject may detect whether the avatar picture includes a face image. If the head portrait picture is detected not to include the face image, prompt information can be sent to the target account. The prompt information can be used for prompting the user to upload the head portrait picture comprising the face image.
With further reference to fig. 5, a flow 500 of yet another embodiment of a method for transmitting information in accordance with the present application is illustrated. As shown in fig. 5, the method of the present embodiment includes the following steps:
step 501, sending a request to a server through a target account.
In this embodiment, an execution subject of the method for transmitting information (e.g., terminal devices 101, 102, 103 shown in fig. 1) may transmit a request to the server through the target account by a wired connection manner or a wireless connection manner. The target account may be an account that the user is registered with in the social application. The social class application may be installed in the execution subject. Through the target account, the user may send a request to the server. The request may be a friend addition request or a group creation request. The target account can add the friend by sending a friend adding request to the server. The target account may create a social group by sending a group creation request to the server.
The request may include a target image. The target image may include at least one face image. It is to be understood that when only one face image is included in the target image, the face image is not the face image of the person of the adder himself. When the target image includes at least two face images, the face images may include the face image of the user, or may not include the face image of the user.
And the server determines a user head portrait matched with the face image in the at least one face image in a preset user head portrait set. And sending information to the account corresponding to the determined user avatar.
After determining at least one face image in the target image, the server may determine, in a preset user avatar set, a user avatar matching each face image in the at least one face image. The user avatar set can comprise avatar pictures currently used by all users using a certain social application, and can also comprise avatar pictures historically used by all users. The execution subject may determine the user avatar matching the face image in a variety of ways, for example, the execution subject may determine whether the face image is included in the user avatar set.
In this embodiment, after determining the user avatar matching each face image in the target image, the server may determine an account corresponding to the user avatar. The executing agent may then send a message to the account. The user added with the friend or invited into the group can receive the message sent by the server by logging in the account on the terminal. The message may be a friend addition message, an invitation to group message, or a message including a target image and a target account. The friend adding message is used for reminding the user that other users want to add the friend. The invite to group message is used to alert a user that the user has been invited to join a group by other users.
In some optional implementations of this embodiment, the step 501 may be specifically implemented by the following steps not shown in fig. 5: and sending a friend adding request to the server through the target account so that the server sends friend adding information to the account corresponding to the determined user avatar.
In some optional implementations of this embodiment, the step 501 may be specifically implemented by the following steps not shown in fig. 5: and sending a group creation request to the server through the target account so that the server sends a group invitation message to the account corresponding to the determined user avatar.
In some optional implementations of this embodiment, the method may further include:
step 502, displaying the target image.
In this embodiment, the execution subject may further display the target image.
Step 503, receiving editing information of the user using the target account on at least one facial image in the target image.
The user using the target account can edit at least one face image in the target image displayed on the execution subject. The execution subject may detect an editing operation triggered by a user, generating editing information. The editing information may include a label box.
And step 504, sending the editing information to the server, so that the server determines the user head portrait matched with the face image in the labeling frame in a preset user head portrait set.
The execution main body can send the editing information to the server side, so that the server side determines the user head portrait matched with the face image in the labeling frame in a preset user head portrait set.
Step 505, receiving the following information sent by the server: the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait.
After determining the user head portrait, the server may send the user head portraits, the information of the user accounts indicated by the user head portraits, and the first option and the second option corresponding to the user head portraits to the target account. After the user receives the information by logging in the target account on the execution body, a page can be generated according to the information. The generated page may include user avatars, information of the account, and a first option and a second option corresponding to each user avatar. The information of the account may include a user name, an associated mobile phone number, a region where the user is located, and the like. The first option may be an option to add as a buddy. The user can indicate that the account corresponding to the user avatar is to be added as a friend by selecting the option. The second option may be an invite to group option. The user may indicate that the user is to be invited to join the group chat with the account to which the user avatar corresponds by selecting the option.
And step 506, receiving the selected information of the user using the target account for the first option and/or the second option corresponding to the determined avatar of the user.
The execution subject may detect a user-triggered selection operation for each of the first option and/or the second option using the target account, generating selected information. The user can transmit the selected information to the execution main body by the above-described operation.
And step 507, sending the selected information to the server, so that the server sends friend adding information and/or invitation group information to the account corresponding to the selected user avatar according to the selected information.
The execution main body can send the selected information to the server, so that the server sends friend adding information and/or invitation group information to the account corresponding to the selected user avatar according to the selected information.
The method for sending information provided by the embodiment of the application can send the image including the face image to the server, so that the server searches the corresponding account according to the face image and sends the information to the account. Friends can be added or invited to enter the group in a photo uploading mode, and therefore the efficiency of adding friends in batches or inviting friends in batches to enter the group is improved.
In some optional implementations of this embodiment, the method may further include the following steps not shown in fig. 5: sending an avatar setting request to a server through a target account, wherein the avatar setting request comprises an avatar picture; and receiving prompt information sent by the server, wherein the prompt information is sent after the server detects that the head portrait picture does not include the face image.
In this implementation manner, the user may also send an avatar setting request to the server through the target account. Wherein, the avatar setting request includes an avatar picture. After receiving the head portrait picture, the server can detect whether the head portrait picture comprises a face image. And if the head portrait picture is detected not to include the face image, prompt information can be sent to the target account. The prompt information can be used for prompting the user to upload the head portrait picture comprising the face image.
With further reference to fig. 6, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for sending information, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 6, the apparatus 600 for transmitting information of the present embodiment includes: a request receiving unit 601, a user avatar matching unit 602, and a message transmitting unit 603.
A request receiving unit 601 configured to receive a request sent by a target user terminal. The request comprises a target image, and the target image comprises at least one face image.
The user avatar matching unit 602 is configured to determine, in a preset user avatar set, a user avatar matching a face image of the at least one face image.
A message sending unit 603 configured to send information to the user terminal corresponding to the determined user avatar.
In some optional implementations of this embodiment, the apparatus 600 may further include a target image display unit and an editing information receiving unit, which are not shown in fig. 6.
Wherein, the target image display unit is configured to control the target user terminal to display the target image before the user head portrait matching unit 602 determines the user head portrait matching with the face image in the at least one face image in the preset user head portrait set.
And the editing information receiving unit is configured to receive editing information aiming at least one face image in the target image. The editing information comprises a marking frame.
Accordingly, the user avatar matching unit 602 is further configured to: and determining the user head portrait matched with the face image in the labeling frame in a preset user head portrait set.
In some optional implementations of this embodiment, the user avatar matching unit 602 may further include a to-be-matched user avatar determination module, a first feature extraction module, a second feature extraction module, and a user avatar matching module, which are not shown in fig. 6.
And the to-be-matched user head portrait determining module is configured to determine the user head portrait comprising the face image in the preset user head portrait set as the to-be-matched user head portrait.
The first feature extraction module is configured to extract first feature information of a face image in a head portrait of a user to be matched.
And the second feature extraction module is configured to extract second feature information of the face image in the at least one face image.
And the user head portrait matching module is configured to determine a user head portrait matched with the face image in the at least one face image according to the first characteristic information and the second characteristic information.
In some optional implementations of this embodiment, the request includes a request to add a buddy. The message sending unit 603 may be further configured to: and sending friend adding information to the user terminal corresponding to the determined user avatar.
In some optional implementations of this embodiment, the request includes a group creation request. The message sending unit 603 may be further configured to: and sending an invitation group message to the user terminal corresponding to the determined user avatar.
In some optional implementations of this embodiment, the message sending unit 603 may further include a user avatar sending module, a selected information receiving module, and a message sending module, which are not shown in fig. 6.
And the user head portrait sending module is configured to send the determined user head portrait, the information of the user account indicated by the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait to the target user terminal.
A selected information receiving module configured to receive selected information for the first option and/or the second option corresponding to the determined user avatar.
And the message sending module is configured to send friend adding information and/or invitation group information to the user terminal corresponding to the selected user avatar according to the selected information.
In some optional implementations of this embodiment, the apparatus 600 may further include an avatar setting request receiving unit and a prompt information sending unit, which are not shown in fig. 6.
An avatar setting request receiving unit configured to receive an avatar setting request transmitted by a target user terminal. Wherein the avatar setting request includes an avatar picture.
And the prompt information sending unit is configured to respond to the detection that the face image is not included in the head portrait picture and send prompt information to the target user terminal.
The apparatus for sending information provided by the above embodiment of the present application first receives a request sent by a target user terminal, where the request includes a target image, and the target image includes at least one face image. And then, determining a user head portrait matched with the face image in the at least one face image in a preset user head portrait set. And finally, sending information to the user terminal corresponding to the determined user avatar. The device of the embodiment can add friends or invite friends to enter a group in a photo uploading mode, and improves the efficiency of adding friends in batches or inviting friends in batches to enter the group.
It should be understood that units 601 to 603 recited in the apparatus 600 for transmitting information correspond to respective steps in the method described with reference to fig. 2. Thus, the operations and features described above for the method for transmitting information are also applicable to the apparatus 600 and the units included therein, and are not described herein again.
With continued reference to fig. 7, a block diagram 700 of another embodiment of an apparatus for transmitting information in accordance with the present application is shown. As shown in fig. 7, the apparatus 700 for transmitting information of the present embodiment includes a request transmitting unit 701.
A request sending unit 701 configured to send a request to the server through the target account. The request comprises a target image, the target image comprises at least one face image, so that the server determines a user head portrait matched with the face image in the at least one face image in a preset user head portrait set and sends information to an account corresponding to the determined user head portrait.
In some optional implementations of this embodiment, the apparatus 700 may further include: an image display unit 702, an edit information detection unit 703, and an edit information transmission unit 704.
An image display unit 702 configured to display a target image.
An edit information detection unit 703 configured to receive edit information of at least one face image in the target image by a user using the target account. The editing information includes a label box.
And the edit information sending unit 704 is configured to send the edit information to the server, so that the server determines the user avatar matched with the face image in the annotation frame in a preset user avatar set.
In some optional implementations of this embodiment, the request sending unit 701 may be further configured to: and sending a friend adding request to the server through the target account so that the server sends friend adding information to the account corresponding to the determined user avatar.
In some optional implementations of this embodiment, the request sending unit 701 may be further configured to: and sending a group creation request to the server through the target account so that the server sends a group invitation message to the account corresponding to the determined user avatar.
In some optional implementations of this embodiment, the apparatus 700 may further include: information receiving section 705, selected information detecting section 706, and selected information transmitting section 707.
An information receiving unit 705 configured to receive the following information sent by the server: the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait.
A selected information detection unit 706 configured to receive selected information of the user using the target account for the first option and/or the second option corresponding to the determined avatar of the user.
And a selected information sending unit 707 configured to send the selected information to the server, so that the server sends the friend adding information and/or the invitation to join the group to the account corresponding to the selected user avatar according to the selected information.
In some optional implementations of this embodiment, the apparatus 700 may further include an avatar setting request sending unit and a prompt information receiving unit, which are not shown in fig. 7.
And the head portrait setting request sending unit is configured to send the head portrait setting request to the server through the target account. Wherein the avatar setting request includes an avatar picture.
And the prompt information receiving unit is configured to receive the prompt information sent by the server. The prompt information is sent by the server after the server detects that the head portrait picture does not include the face image.
The device for sending information provided by the above embodiment of the application may send an image including a face image to the server, so that the server searches a corresponding account according to the face image, and sends a message to the account. Friends can be added or invited to enter the group in a photo uploading mode, and therefore the efficiency of adding friends in batches or inviting friends in batches to enter the group is improved.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use in implementing a server or terminal according to an embodiment of the present application. The server or the terminal shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, which may be described as: a processor includes a request receiving unit, a user avatar matching unit, and a message transmitting unit. The names of these units do not constitute a limitation to the unit itself in some cases, and for example, the request receiving unit may also be described as "a unit that receives a request transmitted by a target account".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: receiving a request sent by a target account, wherein the request comprises a target image, and the target image comprises at least one face image; determining a user head portrait matched with a face image in at least one face image in a preset user head portrait set; and sending information to the account corresponding to the determined user avatar. Or sending a request to the server through the target account, wherein the request comprises a target image, the target image comprises at least one face image, so that the server determines a user head portrait matched with the face image in the at least one face image in a preset user head portrait set and sends information to the account corresponding to the determined user head portrait.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (24)

1. A method for transmitting information, comprising:
receiving a request sent by a target account, wherein the request comprises a target image, the target image comprises at least one face image, and when the target image comprises at least two face images, the face images comprise face images of an addict;
determining a user head portrait matched with a face image in the at least one face image in a preset user head portrait set;
sending information to the account corresponding to the determined user avatar;
the sending information to the account corresponding to the determined user avatar includes:
sending the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait to the target account;
receiving selected information of a first option and/or a second option corresponding to the determined user avatar, which is sent by the target account;
sending friend adding information and/or invitation group information to the account corresponding to the selected user avatar according to the selected information;
before determining, in the preset user avatar set, a user avatar matching a face image of the at least one face image, the method further includes:
receiving editing information which is sent by the target account and aims at least one face image in the target image, wherein the editing information comprises an annotation frame; and
determining a user head portrait matched with a face image in the at least one face image in a preset user head portrait set, wherein the determining includes:
and determining a user head portrait matched with the face image in the labeling frame in a preset user head portrait set, wherein the preset user head portrait set comprises historical user head portraits corresponding to at least one account, and the historical user head portraits comprise head portrait pictures set by the user when registering a target account and head portrait pictures used by the user in the process of using the target account.
2. The method of claim 1, wherein the determining, in a preset set of user avatars, a user avatar matching a face image of the at least one face image comprises:
determining the user head portrait comprising the face image in the preset user head portrait set as a user head portrait to be matched;
extracting first characteristic information of the face image in the head portrait of the user to be matched;
extracting second characteristic information of the face image in the at least one face image;
and determining a user head portrait matched with the face image in the at least one face image according to the first characteristic information and the second characteristic information.
3. The method of claim 1, wherein the request comprises an add buddy request; and
the sending information to the account corresponding to the determined avatar of the user includes:
and sending friend adding information to the account corresponding to the determined user avatar.
4. The method of claim 1, wherein the request comprises a group creation request; and
the sending information to the account corresponding to the determined user avatar includes:
and sending an invitation group message to the account corresponding to the determined user avatar.
5. The method of any of claims 1-4, wherein the method further comprises:
receiving an avatar setting request sent by the target account, wherein the avatar setting request comprises an avatar picture;
and responding to the fact that the head portrait picture does not comprise the face image, and outputting prompt information to the target account.
6. The method of any of claims 1-4, wherein the set of user avatars includes historical user avatars corresponding to at least one account.
7. A method for transmitting information, comprising:
sending a request to a server through a target account, wherein the request comprises a target image, the target image comprises at least one face image, and when the target image comprises at least two face images, the face images comprise the face images of an addict, so that the server determines a user head portrait matched with the face images in the at least one face image and sends information to an account corresponding to the determined user head portrait in a preset user head portrait set;
the method further comprises the following steps:
receiving the following information sent by the server: the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait;
receiving selected information of a user using the target account for a first option and/or a second option corresponding to the determined user avatar;
sending the selected information to the server, so that the server sends friend adding information and/or invitation group information to an account corresponding to the selected user avatar according to the selected information;
the method further comprises the following steps:
displaying the target image;
receiving edit information of a user using the target account on at least one face image in the target image, wherein the edit information comprises an annotation frame;
and sending the editing information to the server so that the server determines a user head portrait matched with the face image in the labeling frame in a preset user head portrait set, wherein the preset user head portrait set comprises historical user head portraits corresponding to at least one account, and the historical user head portraits comprise head portrait pictures set by the user when the user registers the target account and head portrait pictures used by the user in the process of using the target account.
8. The method of claim 7, wherein the sending the request to the server via the target account comprises:
and sending a friend adding request to the server through the target account so that the server sends friend adding information to the account corresponding to the determined user avatar.
9. The method of claim 7, wherein the sending the request to the server via the target account comprises:
and sending a group creation request to the server through the target account so that the server sends a group invitation message to the account corresponding to the determined user avatar.
10. The method of claim 7, wherein the method further comprises:
sending an avatar setting request to the server through the target account, wherein the avatar setting request comprises an avatar picture;
and receiving prompt information sent by the server, wherein the prompt information is sent by the server after the server detects that the head portrait picture does not include a face image.
11. An apparatus for transmitting information, comprising:
the system comprises a request receiving unit, a processing unit and a processing unit, wherein the request receiving unit is configured to receive a request sent by a target account, the request comprises a target image, the target image comprises at least one face image, and when the target image comprises at least two face images, the face images comprise face images of the person of an adder;
the user head portrait matching unit is configured to determine a user head portrait matched with a face image in the at least one face image in a preset user head portrait set;
a message sending unit configured to send information to an account corresponding to the determined user avatar;
the message sending unit includes:
the user head portrait sending module is configured to send the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait to the target account;
a selected information receiving module configured to receive selected information of the first option and/or the second option corresponding to the determined user avatar sent by the target account;
the message sending module is configured to send friend adding information and/or invitation group information to an account corresponding to the selected user head portrait according to the selected information;
the device further comprises:
an editing information receiving unit configured to receive editing information, which is sent by the target account and is specific to at least one face image in the target image, before the user avatar matching unit determines a user avatar matching a face image in the at least one face image in a preset user avatar set, wherein the editing information includes an annotation frame; and
the user avatar matching unit is further configured to:
and determining a user avatar matched with the face image in the marking frame in a preset user avatar set, wherein the preset user avatar set comprises historical user avatars corresponding to at least one account, and the historical user avatars comprise avatar pictures set by the user when registering a target account and avatar pictures used by the user in the process of using the target account.
12. The apparatus of claim 11, wherein the user avatar matching unit comprises:
the to-be-matched user head portrait determining module is configured to determine a user head portrait comprising a face image in the preset user head portrait set as a to-be-matched user head portrait;
the first feature extraction module is configured to extract first feature information of a face image in the head portrait of the user to be matched;
a second feature extraction module configured to extract second feature information of a face image of the at least one face image;
a user avatar matching module configured to determine an avatar of the user matching a facial image of the at least one facial image according to the first feature information and the second feature information.
13. The apparatus of claim 11, wherein the request comprises an add buddy request; and
the messaging unit is further configured to:
and sending friend adding information to the account corresponding to the determined user avatar.
14. The apparatus of claim 11, wherein the request comprises a group creation request; and
the message sending unit is further configured to:
and sending an invitation group message to the account corresponding to the determined user avatar.
15. The apparatus of any one of claims 11-14, wherein the apparatus further comprises:
an avatar setting request receiving unit configured to receive an avatar setting request sent by the target account, wherein the avatar setting request includes an avatar picture;
a prompt information sending unit configured to output prompt information to the target account in response to detecting that the face image is not included in the avatar picture.
16. The apparatus of any of claims 11-14, wherein the set of user avatars includes historical user avatars corresponding to at least one account.
17. An apparatus for transmitting information, comprising:
the request sending unit is configured to send a request to a server through a target account, wherein the request comprises a target image, the target image comprises at least one face image, when the target image comprises at least two face images, the face images comprise face images of an addict, so that the server determines a user head portrait matched with the face image in the at least one face image and sends information to an account corresponding to the determined user head portrait in a preset user head portrait set;
the device further comprises:
an information receiving unit configured to receive the following information sent by the server: the determined user head portrait, the information of the account corresponding to the determined user head portrait, and the first option and the second option corresponding to the determined user head portrait;
a selected information detection unit configured to receive selected information of a user using the target account for a first option and/or a second option corresponding to the determined avatar of the user;
the selected information sending unit is configured to send the selected information to the server, so that the server sends friend adding information and/or invitation group information to an account corresponding to the selected user avatar according to the selected information;
the device further comprises:
an image display unit configured to display the target image;
an edit information detection unit configured to receive edit information of at least one face image in the target image by a user using the target account, the edit information including an annotation frame;
the editing information sending unit is configured to send the editing information to the server, so that the server determines a user head portrait matched with the face image in the annotation frame in a preset user head portrait set, the preset user head portrait set comprises historical user head portraits corresponding to at least one account, and the historical user head portrait comprises head portrait pictures set by a user when the user registers a target account and head portrait pictures used by the user in a process of using the target account.
18. The apparatus of claim 17, wherein the request sending unit is further configured to:
and sending a friend adding request to the server through the target account so that the server sends friend adding information to the account corresponding to the determined user avatar.
19. The apparatus of claim 17, wherein the request sending unit is further configured to:
and sending a group creation request to the server through the target account so that the server sends a group invitation message to the account corresponding to the determined user avatar.
20. The apparatus of claim 17, wherein the apparatus further comprises:
an avatar setting request sending unit configured to send an avatar setting request to the server through the target account, wherein the avatar setting request includes an avatar picture;
a prompt information receiving unit configured to receive prompt information sent by the server, wherein the prompt information is sent by the server after the server detects that the avatar image does not include a face image.
21. A server, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
22. A terminal, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 7-10.
23. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
24. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 7-10.
CN201811458269.9A 2018-11-30 2018-11-30 Method and apparatus for transmitting information Active CN111262774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811458269.9A CN111262774B (en) 2018-11-30 2018-11-30 Method and apparatus for transmitting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811458269.9A CN111262774B (en) 2018-11-30 2018-11-30 Method and apparatus for transmitting information

Publications (2)

Publication Number Publication Date
CN111262774A CN111262774A (en) 2020-06-09
CN111262774B true CN111262774B (en) 2022-09-30

Family

ID=70953639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811458269.9A Active CN111262774B (en) 2018-11-30 2018-11-30 Method and apparatus for transmitting information

Country Status (1)

Country Link
CN (1) CN111262774B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915634A (en) * 2015-02-16 2015-09-16 百度在线网络技术(北京)有限公司 Image generation method based on face recognition technology and apparatus
CN104951960A (en) * 2015-05-21 2015-09-30 腾讯科技(北京)有限公司 Target information based interaction method and target information based interaction device
CN106559317A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of method and apparatus that account information is sent based on instant messaging

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811286A (en) * 2012-07-27 2012-12-05 广东欧珀移动通信有限公司 Group creation method for address book
CN103327153B (en) * 2013-05-30 2016-11-02 东莞宇龙通信科技有限公司 A kind of contact person grouping method and device
WO2015188753A1 (en) * 2014-06-13 2015-12-17 Tencent Technology (Shenzhen) Company Limited Interaction method based on multimedia programs and terminal device
CN106341507A (en) * 2015-07-09 2017-01-18 中兴通讯股份有限公司 Contact acquiring method, device and user terminal
CN106484737A (en) * 2015-09-01 2017-03-08 腾讯科技(深圳)有限公司 A kind of network social intercourse method and network social intercourse device
CN105429848B (en) * 2015-10-23 2019-07-12 广东小天才科技有限公司 Pass through the method for adding good friend of taking pictures, system and the social intercourse system of social interaction server device
CN105488726A (en) * 2015-12-23 2016-04-13 北京奇虎科技有限公司 Method and device for inviting friend to join social group
CN105610700A (en) * 2016-02-29 2016-05-25 北京小米移动软件有限公司 Group creating method and apparatus and electronic device
CN107154890B (en) * 2016-03-02 2020-09-18 腾讯科技(深圳)有限公司 Method, device and system for adding contact persons in social network
CN107306218A (en) * 2016-04-21 2017-10-31 徐超 The method for searching good friend in social software using photo
CN106557742A (en) * 2016-10-24 2017-04-05 宇龙计算机通信科技(深圳)有限公司 Group sets up and management method and system
CN108512670B (en) * 2018-02-07 2020-07-03 平安科技(深圳)有限公司 Group creation method and terminal thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915634A (en) * 2015-02-16 2015-09-16 百度在线网络技术(北京)有限公司 Image generation method based on face recognition technology and apparatus
CN104951960A (en) * 2015-05-21 2015-09-30 腾讯科技(北京)有限公司 Target information based interaction method and target information based interaction device
CN106559317A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of method and apparatus that account information is sent based on instant messaging

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
M. Das ; A.C. Loui.Automatic face-based image grouping for albuming.《SMC"03 Conference Proceedings. 2003 IEEE International Conference on Systems, Man and Cybernetics. Conference Theme - System Security and Assurance (Cat. No.03CH37483)》.2003, *
基于android的车友业务系统的设计与实现;邓晨;《中国优秀硕士学位论文全文数据库》;20180415;全文 *

Also Published As

Publication number Publication date
CN111262774A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
US11250887B2 (en) Routing messages by message parameter
US11803345B2 (en) Gallery of messages from individuals with a shared interest
CN106415664B (en) System and method for generating a user facial expression library for messaging and social networking applications
CN111756917B (en) Information interaction method, electronic device and computer readable medium
CN107731229B (en) Method and apparatus for recognizing speech
EP4262214A1 (en) Screen projection method and apparatus, and electronic device and storage medium
CN110536075B (en) Video generation method and device
US10613717B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
US11368421B2 (en) Terminal device, server, and method of providing messaging service
CN110634220B (en) Information processing method and device
CN111162993B (en) Information fusion method and device
CN107864358B (en) Shared object operation method in video call
KR20110096500A (en) Location-based communication method and system
CN110781408A (en) Information display method and device
CN112311841A (en) Information pushing method and device, electronic equipment and computer readable medium
WO2018132327A1 (en) Interactive user interface for profile management
US10318812B2 (en) Automatic digital image correlation and distribution
KR20140035545A (en) Image printing service providing method and system
CN109995543B (en) Method and apparatus for adding group members
CN111262774B (en) Method and apparatus for transmitting information
CN110704151A (en) Information processing method and device and electronic equipment
CN105306339B (en) Information interaction method and system
CN112346615A (en) Information processing method and device
CN110719324A (en) Information pushing method and equipment
CN112306596A (en) Information interaction method and device and electronic equipment

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