WO2017219497A1 - 消息生成方法及装置 - Google Patents

消息生成方法及装置 Download PDF

Info

Publication number
WO2017219497A1
WO2017219497A1 PCT/CN2016/097616 CN2016097616W WO2017219497A1 WO 2017219497 A1 WO2017219497 A1 WO 2017219497A1 CN 2016097616 W CN2016097616 W CN 2016097616W WO 2017219497 A1 WO2017219497 A1 WO 2017219497A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
contact information
similarity
target
similar
Prior art date
Application number
PCT/CN2016/097616
Other languages
English (en)
French (fr)
Inventor
谢焱
成悦
魏亮
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Publication of WO2017219497A1 publication Critical patent/WO2017219497A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • 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/103Static body considered as a whole, e.g. static pedestrian or occupant recognition
    • 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/161Detection; Localisation; Normalisation
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Definitions

  • the present disclosure relates to the field of Internet technologies, and in particular, to a message generating method and apparatus.
  • social network applications which can be installed on the terminal.
  • the user can communicate with the object that exists in the user's contact list through the social network application, before the user can add the object to the contact list.
  • the terminal can generate a recommendation message to recommend an object that can be added to the user.
  • the server obtains a contact relationship diagram through a social relationship chain between users, that is, a contact relationship chain, and then analyzes a potential association relationship between users according to the structure of the contact relationship graph. For a certain user, the server may send account information of other users who have a potential association relationship with the user to the terminal, so that the terminal generates a recommendation message based on the account information.
  • the present disclosure provides a message generating method and apparatus.
  • a message generating method comprising:
  • acquiring the similar image of the target image from the plurality of images stored in the gallery including:
  • the image is determined as a similar image of the target image.
  • the determining a similarity between the image and the target image includes:
  • the face similarity is determined as a person similarity between the image and the target image.
  • the determining a similarity between the image and the target image includes:
  • the at least one similarity including a face similarity, a person pose similarity, and a character clothing similarity
  • the method before acquiring the similar image of the target image from the multiple images stored in the library, the method further includes:
  • the image and the contact information corresponding to the image are stored in the gallery.
  • the method further includes:
  • the contact information corresponding to the contact image is determined as the contact information corresponding to the image
  • the image and the contact information corresponding to the image are stored in the gallery.
  • a message generating method comprising:
  • a recommendation message is generated based on the similar image and the contact information corresponding to the similar image.
  • the acquiring the target image includes:
  • a screenshot of the area where the character image is located in the shooting picture is obtained to obtain the target image.
  • the acquiring the target image includes:
  • a region in which the character image is located in the shooting picture is screenshotd to obtain the target image.
  • the method further includes:
  • the contact adding request is sent to the target account, where the target account is an account belonging to the same account system as the user account currently logged in by the terminal.
  • a message generating apparatus comprising:
  • a receiving module configured to receive a target image sent by the terminal, where the target image includes a character image
  • An acquiring module configured to acquire, from the plurality of images stored in the gallery, a similar image of the target image, where the multiple images are images having corresponding contact information;
  • a sending module configured to send the contact information corresponding to the similar image and the similar image to the terminal, and generate, by the terminal, a recommendation message based on the similar image and contact information corresponding to the similar image.
  • the obtaining module includes:
  • a first determining unit configured to determine, for each of the plurality of images, a person similarity between the image and the target image
  • a second determining unit configured to determine the image as a similar image of the target image when the character similarity is greater than or equal to a preset similarity.
  • the first determining unit includes:
  • a first determining subunit configured to determine a face similarity between the image and the target image for each of the plurality of images
  • a second determining subunit configured to determine the face similarity as a person similarity between the image and the target image.
  • the first determining unit includes:
  • a third determining subunit configured to determine, for each of the plurality of images, at least one similarity based on the image and the target image, the at least one similarity including a face similarity, a person gesture Similarity and similarity of character clothing;
  • a weighted average subunit configured to perform weighted averaging on the at least one similarity based on weights corresponding to each of the at least one similarity to obtain a similarity between the image and the target image.
  • the device further includes:
  • a determining module configured to determine, when the image is received, whether the image has corresponding contact information
  • the first storage module is configured to store the image and the contact information corresponding to the image into the library when the image has corresponding contact information.
  • the device further includes:
  • a matching module configured to match the image with the contact image for each of the stored plurality of contact images when the image does not have corresponding contact information, the multiple contacts
  • the person image is a contact image in the stored address book
  • a determining module configured to determine contact information corresponding to the contact image as contact information corresponding to the image when the image is successfully matched with the contact image
  • a second storage module configured to store the image and the contact information corresponding to the image into the library.
  • a message generating apparatus comprising:
  • An acquisition module configured to acquire a target image, where the target image includes a character image
  • a first sending module configured to send the target image to a server, where the server returns a similar image of the target image and contact information corresponding to the similar image based on the target image;
  • a generating module configured to receive the similar image and the similar image sent by the server Corresponding contact information, a recommendation message is generated based on the similar image and the contact information corresponding to the similar image.
  • the obtaining module includes:
  • the first screenshot unit is configured to perform a screenshot on an area where the character image is located in the shooting picture to obtain the target image when a person image is detected in the shooting picture.
  • the obtaining module includes:
  • a second screenshot unit configured to perform, during a photographing process, when a person image appears in the photographing screen and a selection instruction for the person image is detected, performing an area in which the character image is located in the photographing screen Screenshot to get the target image.
  • the device further includes:
  • a second sending module configured to send a contact adding request to the target account when the contact information corresponding to the similar image includes a target account, where the target account is in the same account system as the user account currently logged in by the terminal account number.
  • a message generating apparatus comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • a message generating apparatus comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • a recommendation message is generated based on the similar image and the contact information corresponding to the similar image.
  • the server receives the target image sent by the terminal, and acquires a similar image of the target image from the plurality of images stored in the gallery, and then, The server sends the similarity information and the contact information corresponding to the similar image to the terminal, and the terminal generates a recommendation message based on the similar image and the contact information corresponding to the similar image. Since the target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal generation can be improved. Flexibility when recommending messages.
  • FIG. 1 is a schematic diagram of an implementation environment involved in a message generation method according to an exemplary embodiment.
  • FIG. 2 is a flowchart of a message generating method according to an exemplary embodiment.
  • FIG. 3 is a flowchart of another message generating method according to an exemplary embodiment.
  • FIG. 4A is a flowchart of still another message generating method according to an exemplary embodiment.
  • FIG. 4B is a schematic diagram of a photographing screen according to an exemplary embodiment.
  • FIG. 4C is a schematic diagram of a recommendation message according to an exemplary embodiment.
  • FIG. 5A is a block diagram of a first message generating apparatus, according to an exemplary embodiment.
  • FIG. 5B is a block diagram of an acquisition module, according to an exemplary embodiment.
  • FIG. 5C is a block diagram of a first determining unit, according to an exemplary embodiment.
  • FIG. 5D is a block diagram of another first determining unit, according to an exemplary embodiment.
  • FIG. 5E is a block diagram of a second type of message generating apparatus, according to an exemplary embodiment.
  • FIG. 5F is a block diagram of a third message generating apparatus, according to an exemplary embodiment.
  • FIG. 6A is a block diagram of a fourth message generating apparatus, according to an exemplary embodiment.
  • FIG. 6B is a block diagram of a fifth message generating apparatus, according to an exemplary embodiment.
  • FIG. 7 is a block diagram of a sixth message generating apparatus, according to an exemplary embodiment.
  • FIG. 8 is a block diagram of a seventh message generating apparatus, according to an exemplary embodiment.
  • the server can be based on social relationships between users.
  • a chain that is, a contact relationship chain, analyzes a potential association relationship between users.
  • the server may send account information of other users having a potential association relationship with the user to the terminal, and the terminal generates a recommendation based on the account information.
  • the message may be generated based on the account information of other users having a potential association relationship with the user, and the generation manner is single and lacks flexibility. Therefore, the embodiment of the present disclosure provides a message generation method to improve the terminal. Flexibility in generating recommendation messages.
  • FIG. 1 is a schematic diagram of an implementation environment involved in a message generation method according to an exemplary embodiment.
  • the implementation environment may include: a terminal 101 and a server 102.
  • the terminal 101 may be a mobile phone, a computer, a tablet device, or the like.
  • the server 102 may be a server, or may be a server cluster composed of multiple servers, and the terminal 101 and the server 102 may be connected by wire or wirelessly. Communicate.
  • the terminal 101 can acquire the target image and send the target image to the server 102.
  • the server 102 receives the target image, the similar image of the target image can be acquired, and the similar image and the similar image are associated with each other.
  • the information is sent to the terminal 101.
  • the recommendation message may be generated based on the similar image and the contact information corresponding to the similar image.
  • FIG. 2 is a flowchart of a message generating method, which is used in a server, according to an exemplary embodiment. As shown in FIG. 2, the method includes the following steps.
  • step 201 the target image transmitted by the terminal is received, and the target image includes a person image.
  • step 202 a similar image of the target image is acquired from the plurality of images stored in the gallery, and the plurality of images are images having corresponding contact information.
  • step 203 the contact information corresponding to the similar image and the similar image is sent to the terminal, and the terminal generates the recommendation message based on the contact information corresponding to the similar image and the similar image.
  • the server receives the target image sent by the terminal, and acquires a similar image of the target image from the plurality of images stored in the library, and then the server sends the similar image and the contact information corresponding to the similar image to the server.
  • the terminal generates, by the terminal, a recommendation message based on the similar image and the contact information corresponding to the similar image. Since the target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal generation can be improved. Flexibility when recommending messages.
  • obtaining a similar image of the target image from the plurality of images stored in the gallery including:
  • the image is determined as a similar image of the target image.
  • determining a similarity between the image and the target image includes:
  • the face similarity is determined as the person similarity between the image and the target image.
  • determining a similarity between the image and the target image includes:
  • the at least one similarity including a face similarity, a person pose similarity, and a character clothing similarity
  • the method before acquiring the similar image of the target image from the multiple images stored in the gallery, the method further includes:
  • the contact information corresponding to the image and the image is stored in the gallery. in.
  • the method further includes:
  • the image When the image does not have corresponding contact information, the image is matched with the contact image for each of the stored contact images, and the plurality of contact images are contact images in the stored address book;
  • the contact information corresponding to the contact image is determined as the contact information corresponding to the image
  • FIG. 3 is a flowchart of a message generating method, which is used in a terminal, according to an exemplary embodiment. As shown in FIG. 3, the method includes the following steps.
  • step 301 a target image is acquired, and the target image includes a person image.
  • step 302 the target image is transmitted to the server, and the server returns the similar image of the target image and the contact information corresponding to the similar image based on the target image.
  • step 303 when the similar image sent by the server and the contact information corresponding to the similar image are received, the recommendation message is generated based on the contact information corresponding to the similar image and the similar image.
  • the terminal acquires the target image, and sends the target image to the server, and the server returns a similar image of the target image and contact information corresponding to the similar image based on the target image, when the terminal receives the similar image and
  • a recommendation message is generated based on the similar image and the contact information corresponding to the similar image. Since the target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal generation can be improved. Flexibility when recommending messages.
  • obtaining the target image includes:
  • the shooting process when a person image is detected in the shooting screen, the area where the character image is located in the shooting screen is screenshotd to obtain the target image.
  • obtaining the target image includes:
  • the method further includes:
  • the contact adding request is sent to the target account, and the target account is an account belonging to the same account system as the user account currently registered by the terminal.
  • FIG. 4A is a flowchart of a message generating method according to an exemplary embodiment. As shown in FIG. 4A, the method includes the following steps.
  • step 401 the terminal acquires a target image, which includes a character image.
  • the terminal may take a screenshot of the region where the character image is located in the captured image when the person image is detected in the shooting image during the shooting process.
  • the target image is obtained.
  • the terminal only needs to detect whether a person image appears in the shooting picture, and no other detection is needed, thereby improving the acquisition efficiency of the target image.
  • the terminal may take a screenshot of the region where the character image is located in the captured image, and obtain a target image, when a person image is detected in the shooting image and a selection instruction for the character image is detected.
  • the target image is actually determined based on the user operation, so that the acquired target image can be guaranteed to meet the user's needs.
  • the terminal can also obtain the target image in other manners, which is not specifically limited in this embodiment of the present disclosure.
  • the operation of detecting whether a person image appears in the shooting picture may refer to the related art, which is not elaborated in the embodiment of the present disclosure.
  • the selection instruction is used to select a character image in the shooting screen, and the selection instruction may be triggered by a user, and the user may trigger by a specified operation, which may be a click operation, a double-click operation, a voice operation, etc.
  • a specified operation which may be a click operation, a double-click operation, a voice operation, etc.
  • the disclosed embodiments do not specifically limit this.
  • the terminal when the terminal performs the shooting, the terminal can perform the shooting through the currently running social network application.
  • the shooting can be performed by the shooting module in the terminal, and the embodiment of the present disclosure does not specifically limit this. set.
  • the shooting module may transmit the acquired target image to the social network application, so that the terminal can subsequently send the target image through the social network application.
  • the terminal when the terminal performs a screenshot on the area where the character image is located in the shooting screen, the terminal may take a screenshot of the smallest area where the character image is located.
  • the terminal may also take a screenshot of the other area where the character image is located. The embodiment of the present disclosure does not specifically limit this.
  • the shooting picture is a
  • the character image is b
  • the terminal may take a screenshot of the smallest area c where the character image is located, or the terminal may have other areas where the character image is located, such as an area.
  • d take a screenshot.
  • step 402 the terminal transmits the target image to the server.
  • the terminal may send the target image to the server through a wired network or a wireless network, which is not specifically limited in this embodiment of the present disclosure.
  • the server is a server corresponding to the social network application currently running by the terminal.
  • step 403 when the server receives the target image, a similar image of the target image is acquired from the plurality of images stored in the gallery, and the plurality of images are images having corresponding contact information.
  • the image library is used to store an image with corresponding contact information
  • the contact information may be contact information of an object represented by the image of the person included in the image, and the contact information may include an instant messaging account, a phone number, and the like.
  • the embodiment of the present disclosure does not specifically limit this.
  • the similarity between the person image included in the similar image and the person image included in the target image is high.
  • the server may determine a similarity between the image and the target image for each of the plurality of images; When the character similarity is greater than or equal to the preset similarity, the image is determined as a similar image of the target image.
  • the server may determine a person similarity between the image and the target image for each of the plurality of images; and select, from the plurality of images, a person similarity to the target image is greater than or An image equal to the preset similarity; when the number of selected images is greater than the preset number, the preset number of the selected images is obtained in descending order according to the similarity of the characters corresponding to the selected image. And determining the acquired image as the similar image of the target image; when the number of the selected images is less than or equal to the preset number, determining the selected image as the similar image of the target image.
  • the similarity between the image and the target image may be the similarity between the image of the person included in the image and the image of the person included in the target image.
  • the preset similarity may be set in advance, and the preset similarity may be 0.8, 0.9, etc., which is not specifically limited in the embodiment of the present disclosure.
  • the preset number may be preset, and the preset number may be 4, 5, etc., which is not specifically limited in the embodiment of the present disclosure.
  • the preset similarity is 0.8, and for one of the plurality of images, the server determines that the similarity between the image and the target image is 0.85, and since 0.85 is greater than 0.8, the server can determine the image. A similar image for the target image.
  • the preset similarity is 0.8
  • the preset number is 4.
  • the plurality of images are image 1, image 2, image 3, image 4, image 5, image 6, image 7, image 8, and the server determines the image. 1.
  • the similarity between the figures in Figure 2, image 3, image 4, image 5, image 6, image 7, image 8 and the target image is 0.85, 0.82, 0.75, 0.8, 0.81, 0.83, 0.7, 0.6, respectively.
  • the server may select, from the plurality of images, an image whose character similarity to the target image is greater than or equal to a preset similarity of 0.8, and the selected image is image 1, image 2, image 4, image 5, and image 6.
  • the number of the selected images is 5, and since 5 is greater than the preset number 4, the server can obtain 4 images from the selected image according to the order of the similarity of the characters corresponding to the selected image.
  • the acquired four images are image 1, image 6, image 2, and image 5, and the server can determine image 1, image 6, image 2, and image 5 as similar images of the target image.
  • the operation of the server determining the similarity of the person between the image and the target image may include the following two manners.
  • the server determines the facial similarity between the image and the target image, and determines the facial similarity as the similarity between the image and the target image.
  • the server determines the person similarity between the image and the target image, only the face similarity between the image and the target image may be determined. And determining the face similarity as the person similarity between the image and the target image, thereby improving the determination efficiency of the person similarity.
  • the server determines that the face similarity between the image and the target image is 0.85, then the service The face similarity of 0.85 can be determined as the person similarity between the image and the target image.
  • the server determines at least one similarity based on the image and the target image, the at least one similarity including a face similarity, a person pose similarity, and a character clothing similarity, and based on the at least one similarity
  • the weights corresponding to the similarities are weighted and averaged for the at least one similarity to obtain a similarity between the image and the target image.
  • the character image may include not only the face feature, but also the character gesture feature, the character costume feature, and the like
  • the plurality of features may be combined to determine the similarity between the image and the target image, that is, The degree of similarity between the image and the target image may be determined based on the similarity of the face, the similarity of the person's posture, the similarity of the figure of the person, and the like, so that the accuracy of the determined similarity of the person may be improved.
  • the operation of determining the at least one similarity by the server based on the image and the target image may refer to related technologies, which is not elaborated in this embodiment of the present disclosure.
  • the weight corresponding to the similarity is an importance degree of the similarity in determining a similarity between the image and the target image, and the similarity
  • the corresponding weights may be set in advance, and the embodiment of the present disclosure does not specifically limit this.
  • the at least one similarity includes a face similarity, a person pose similarity, and a person clothing similarity, and the weights corresponding to the face similarity, the person pose similarity, and the person clothing similarity are 0.7, 0.2, and 0.1, respectively.
  • the server may further determine, when the image is received, whether the image has corresponding contact information; when the image has corresponding contact information The image and the contact information corresponding to the image are stored in the gallery.
  • the gallery is used to store an image with corresponding contact information
  • the image satisfies the storage condition of the gallery, and the server can then image the image and the image.
  • Corresponding contact information is stored in the gallery so that similar images of the target image can be acquired from the images stored in the gallery.
  • the server further When the image does not have corresponding contact information, the image is matched with the contact image for each of the stored plurality of contact images, and the plurality of contact images are stored in the address book.
  • the contact information corresponding to the contact image is determined as the contact information corresponding to the image; and the contact information corresponding to the image and the image is stored in the library.
  • the image may be attempted to be matched with the contact image. If the matching is successful, the contact image may be The contact information corresponding to the contact image is determined as the contact information corresponding to the image, so that the image satisfies the storage condition of the image library, and then the server may store the image and the contact information corresponding to the image in the library, so that the image can be subsequently In the image stored in the gallery, a similar image of the target image is acquired.
  • the server may image the image when there is no corresponding contact information.
  • the server may image the image when there is no corresponding contact information. Matching each of the plurality of contact images, assuming that the image is successfully matched with the contact image 1, and the contact information corresponding to the contact image 1 is "telephone number: 15263984567", the server may The contact information is determined as the contact information of the image, and the image and the contact information are stored in the gallery.
  • the server may determine a similarity between the image and the contact image when the server matches the image with the contact image, and determine the image when the similarity of the character is greater than or equal to the preset similarity.
  • the contact image is successfully matched.
  • the server may match the image with the contact image by other means, which is not specifically limited in this embodiment of the present disclosure.
  • step 404 the server transmits the similar image and the contact information corresponding to the similar image to the terminal.
  • the server may send the similar information and the contact information corresponding to the similar image to the terminal through a wired network or a wireless network, which is not specifically limited in this embodiment of the present disclosure.
  • step 405 when the terminal receives the similar image sent by the server and corresponds to the similar image
  • the contact information is generated based on the similar image and the contact information corresponding to the similar image.
  • the recommendation message is used to recommend an object that can be contacted to the user, and the recommendation message may include the similar image and the contact information corresponding to the similar image.
  • the operation of generating a recommendation message by the terminal based on the similar image and the contact information corresponding to the similar image is similar to the operation of the terminal in the related art to generate a certain message based on some information, which is not elaborated in the embodiment of the present disclosure.
  • the similar image is the image 1
  • the contact information corresponding to the similar image is “telephone number: 15263984567”
  • the terminal may generate the recommendation message as shown in FIG. 4C based on the similar image and the contact information corresponding to the similar image.
  • the terminal may acquire the similar image of the target image and the contact information corresponding to the similar image from the server, and generate a recommendation message based on the contact information corresponding to the similar information, because the The target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, so that the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal can generate the recommendation message.
  • the contact information in the embodiment of the present disclosure may include not only an instant messaging account but also a phone number, etc., so that the recommendation message in the related art can only include the single content of the account information, and the recommended content of the recommendation message is enriched.
  • the terminal may further send a contact adding request to the target account when the contact information corresponding to the similar image includes the target account, the target The account number is an account belonging to the same account system as the user account currently registered by the terminal.
  • the contact addition request is used to request to add the object represented by the target account to the user's contact list.
  • the user account may be registered in the server, and the user account may be composed of a letter, a number, and the like, which is not specifically limited in the embodiment of the present disclosure.
  • the terminal can directly send a contact add request to the target account at this time.
  • the process does not require user participation, thereby saving user time, and the contact adding efficiency is improved by avoiding the cumbersome manual addition operation of the user.
  • the terminal acquires the target image, and sends the target image to the server.
  • the server receives the target image
  • the similar image of the target image is obtained from the plurality of images stored in the library, and then the server
  • the contact information corresponding to the similar image is sent to the terminal.
  • the terminal receives the similar image and the contact information corresponding to the similar image
  • the recommendation message is generated based on the similar image and the contact information corresponding to the similar image. Since the target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal generation can be improved.
  • the contact information in the embodiment of the present disclosure may include not only an instant messaging account but also a phone number, etc., so that the recommendation message in the related art can only include the single content of the account information, and the recommended content of the recommendation message is enriched.
  • FIG. 5A is a block diagram of a message generating apparatus, according to an exemplary embodiment.
  • the apparatus includes a receiving module 501, an obtaining module 502, and a transmitting module 503.
  • the receiving module 501 is configured to receive a target image sent by the terminal, where the target image includes a character image;
  • the obtaining module 502 is configured to obtain, from the plurality of images stored in the library, a similar image of the target image, where the plurality of images are images having corresponding contact information;
  • the sending module 503 is configured to send the contact information corresponding to the similar image and the similar image to the terminal, and the terminal generates the recommendation message based on the contact information corresponding to the similar image and the similar image.
  • the obtaining module 502 includes a first determining unit 5021 and a second determining unit 5022.
  • a first determining unit 5021 configured to determine a similarity between the image and the target image for each of the plurality of images
  • the second determining unit 5022 is configured to determine an image as a similar image of the target image when the character similarity is greater than or equal to the preset similarity.
  • the first determining unit 5021 includes a first determining subunit 50211 and a second determining subunit 50212.
  • a first determining subunit 50211 configured to determine an image and a target for each of the plurality of images Face similarity between images
  • the second determining sub-unit 50212 is configured to determine the face similarity as the person similarity between the image and the target image.
  • the first determining unit 5021 includes a third determining subunit 50213 and a weighted average subunit 50214.
  • a third determining subunit 50213, configured to determine, for each of the plurality of images, at least one similarity based on the image and the target image, the at least one similarity including a face similarity, a person pose similarity, and a character clothing similarity ;
  • the weighted average sub-unit 50214 is configured to perform weighted averaging on the at least one similarity based on the weight corresponding to each similarity in the at least one similarity to obtain a similarity between the image and the target image.
  • the apparatus further includes a determining module 504 and a first storage module 505.
  • the determining module 504 is configured to determine, when the image is received, whether the image has corresponding contact information
  • the first storage module 505 is configured to store the contact information corresponding to the image and the image into the library when the image has corresponding contact information.
  • the apparatus further includes a matching module 506, a determining module 507 and a second storage module 508.
  • the matching module 506 is configured to match the image with the contact image for each of the stored contact images when the image does not have corresponding contact information, and the plurality of contact images are stored address records.
  • Contact image in ;
  • the determining module 507 is configured to determine contact information corresponding to the contact image as the contact information corresponding to the image when the image and the contact image are successfully matched;
  • the second storage module 508 is configured to store the contact information corresponding to the image and the image into the gallery.
  • the server receives the target image sent by the terminal, and acquires a similar image of the target image from the plurality of images stored in the library, and then the server sends the similar image and the contact information corresponding to the similar image to the server.
  • the terminal generates, by the terminal, a recommendation message based on the similar image and the contact information corresponding to the similar image. Since the target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal generation can be improved. Flexibility when recommending messages.
  • FIG. 6A is a block diagram of a message generating apparatus, according to an exemplary embodiment.
  • the apparatus includes an acquisition module 601, a first transmission module 602, and a generation module 603.
  • the obtaining module 601 is configured to acquire a target image, where the target image includes a character image;
  • the first sending module 602 is configured to send the target image to the server, where the server returns the similar image of the target image and the contact information corresponding to the similar image based on the target image;
  • the generating module 603 is configured to generate a recommendation message based on the contact information corresponding to the similar image and the similar image when receiving the similar image sent by the server and the contact information corresponding to the similar image.
  • the obtaining module 601 includes a first screenshot unit.
  • the first screenshot unit is configured to take a screenshot of the area where the character image is located in the shooting picture during the shooting process, and when the person image is detected in the shooting picture, obtain the target image.
  • the obtaining module 601 includes a second screenshot unit.
  • the second screenshot unit is configured to: when a person image is detected in the shooting picture and a selection instruction for the person image is detected during the shooting, the area where the character image is located in the shooting picture is screenshotd to obtain the target image.
  • the apparatus further includes a second sending module 604.
  • the second sending module 604 is configured to send a contact adding request to the target account when the contact information corresponding to the similar image includes the target account, where the target account is an account belonging to the same account system as the user account currently registered by the terminal.
  • the terminal acquires the target image, and sends the target image to the server, and the server returns a similar image of the target image and contact information corresponding to the similar image based on the target image, when the terminal receives the similar image and
  • a recommendation message is generated based on the similar image and the contact information corresponding to the similar image. Since the target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal generation can be improved. Flexibility when recommending messages.
  • FIG. 7 is a block diagram of an apparatus 700 for message generation, according to an exemplary embodiment.
  • device 700 can be provided as a server.
  • apparatus 700 includes a processing component 722 that further includes one or more processors, and memory resources represented by memory 732, for use with Instructions for execution by the processing component 722, such as an application, are stored.
  • An application stored in memory 732 can include one or more modules each corresponding to a set of instructions.
  • Apparatus 700 can also include a power supply component 726 configured to perform power management of apparatus 700, a wired or wireless network interface 750 configured to connect apparatus 700 to the network, and an input/output (I/O) interface 758.
  • Device 700 can operate based on an operating system stored in memory 732, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • processing component 722 is configured to execute instructions to perform a message generation method, the method comprising:
  • the contact information corresponding to the similar image and the similar image is sent to the terminal, and the terminal generates the recommendation message based on the contact information corresponding to the similar image and the similar image.
  • obtaining a similar image of the target image from the plurality of images stored in the gallery including:
  • the image is determined as a similar image of the target image.
  • determining a similarity between the image and the target image includes:
  • the face similarity is determined as the person similarity between the image and the target image.
  • determining a similarity between the image and the target image includes:
  • the at least one similarity including a face similarity, a person pose similarity, and a character clothing similarity
  • the method before acquiring the similar image of the target image from the multiple images stored in the gallery, the method further includes:
  • the contact information corresponding to the image and the image is stored in the gallery.
  • the method further includes:
  • the image When the image does not have corresponding contact information, the image is matched with the contact image for each of the stored contact images, and the plurality of contact images are contact images in the stored address book;
  • the contact information corresponding to the contact image is determined as the contact information corresponding to the image
  • the server receives the target image sent by the terminal, and acquires a similar image of the target image from the plurality of images stored in the library, and then the server sends the similar image and the contact information corresponding to the similar image to the server.
  • the terminal generates, by the terminal, a recommendation message based on the similar image and the contact information corresponding to the similar image. Since the target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal generation can be improved. Flexibility when recommending messages.
  • FIG. 8 is a block diagram of an apparatus 800 for message generation, according to an exemplary embodiment.
  • device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • device 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, And a communication component 816.
  • Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
  • processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, and the like. Memory 804 can be any type of volatile Or non-volatile storage devices or combinations thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), Programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable programmable read only memory
  • PROM Programmable read only memory
  • ROM read only memory
  • magnetic memory magnetic memory
  • flash memory disk or optical disk.
  • Power component 806 provides power to various components of device 800.
  • Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 800.
  • the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 810 is configured to output and/or input an audio signal.
  • the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
  • the audio component 810 also includes a speaker for outputting an audio signal.
  • the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 814 includes one or more sensors for providing device 800 with a status assessment of various aspects.
  • sensor assembly 814 can detect an open/closed state of device 800, relative positioning of components, such as the display and keypad of device 800, and sensor component 814 can also detect a change in position of one component of device 800 or device 800. The presence or absence of user contact with device 800, device 800 orientation or acceleration/deceleration, and temperature variation of device 800.
  • Sensor component 814 A proximity sensor can be included that is configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices.
  • the device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of apparatus 800 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, to enable a mobile terminal to perform a message generation method, the method comprising:
  • the recommendation message is generated based on the contact information corresponding to the similar image and the similar image.
  • obtaining the target image includes:
  • the shooting process when a person image is detected in the shooting screen, the area where the character image is located in the shooting screen is screenshotd to obtain the target image.
  • obtaining the target image includes:
  • the method further includes:
  • the contact adding request is sent to the target account, and the target account is an account belonging to the same account system as the user account currently registered by the terminal.
  • the terminal acquires the target image, and sends the target image to the server, and the server returns a similar image of the target image and contact information corresponding to the similar image based on the target image, when the terminal receives the similar image and
  • a recommendation message is generated based on the similar image and the contact information corresponding to the similar image. Since the target image can be flexibly acquired by the terminal, and the similar image is obtained based on the target image, the flexibility of the similar image can be ensured, and since the recommendation message is generated based on the similar image, the terminal generation can be improved. Flexibility when recommending messages.

Abstract

本公开是关于一种消息生成方法及装置,属于互联网技术领域。所述方法包括:接收终端发送的目标图像,所述目标图像中包含有人物图像;从图库存储的多个图像中,获取所述目标图像的相似图像,所述多个图像为具有对应的联系信息的图像;将所述相似图像和所述相似图像对应的联系信息发送给所述终端,由所述终端基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。本公开中由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性。

Description

消息生成方法及装置
本申请基于申请号为CN 201610466510.7、申请日为2016年6月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及互联网技术领域,尤其涉及一种消息生成方法及装置。
背景技术
随着互联网技术的发展,越来越多的人通过社交网络应用进行沟通和交流,该社交网络应用可以安装在终端上。用户可以通过该社交网络应用与存在于该用户的联系人列表中的对象进行通讯,在此之前,用户可以先将该对象添加到该联系人列表中。在进行联系人添加时,终端可以生成一个推荐消息,以对用户推荐可以进行添加的对象。
目前,提供的消息生成方法为:服务器通过用户间的社交关系链,即联系人关系链,得到联系人关系图,之后,根据该联系人关系图的结构来分析用户间的潜在关联关系,对于某一用户,服务器可以将与该用户具有潜在关联关系的其他用户的账号信息发送给终端,以使终端基于该账号信息生成推荐消息。
发明内容
为克服相关技术中存在的问题,本公开提供一种消息生成方法及装置。
根据本公开实施例的第一方面,提供一种消息生成方法,所述方法包括:
接收终端发送的目标图像,所述目标图像中包含有人物图像;
从图库存储的多个图像中,获取所述目标图像的相似图像,所述多个图像为具有对应的联系信息的图像;
将所述相似图像和所述相似图像对应的联系信息发送给所述终端,由所述终端基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
可选地,所述从图库存储的多个图像中,获取所述目标图像的相似图像,包括:
对于所述多个图像中的每个图像,确定所述图像与所述目标图像之间的人物相似度;
当所述人物相似度大于或等于预设相似度时,将所述图像确定为所述目标图像的相似图像。
可选地,所述确定所述图像与所述目标图像之间的人物相似度,包括:
确定所述图像与所述目标图像之间的人脸相似度;
将所述人脸相似度确定为所述图像与所述目标图像之间的人物相似度。
可选地,所述确定所述图像与所述目标图像之间的人物相似度,包括:
基于所述图像和所述目标图像,确定至少一个相似度,所述至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度;
基于所述至少一个相似度中每个相似度对应的权重,对所述至少一个相似度进行加权平均,得到所述图像与所述目标图像之间的人物相似度。
可选地,所述从图库存储的多个图像中,获取所述目标图像的相似图像之前,还包括:
当接收到图像时,判断所述图像是否具有对应的联系信息;
当所述图像具有对应的联系信息时,将所述图像和所述图像对应的联系信息存储到所述图库中。
可选地,所述当接收到图像时,判断所述图像是否具有对应的联系信息之后,还包括:
当所述图像没有对应的联系信息时,对于存储的多个联系人图像中的每个联系人图像,将所述图像与所述联系人图像进行匹配,所述多个联系人图像为存储的通讯录中的联系人图像;
当所述图像与所述联系人图像匹配成功时,将所述联系人图像对应的联系信息确定为所述图像对应的联系信息;
将所述图像和所述图像对应的联系信息存储到所述图库中。
根据本公开实施例的第二方面,提供一种消息生成方法,所述方法包括:
获取目标图像,所述目标图像中包含有人物图像;
将所述目标图像发送给服务器,由所述服务器基于所述目标图像返回所述目标图像的相似图像和所述相似图像对应的联系信息;
当接收到所述服务器发送的所述相似图像和所述相似图像对应的联系信息时,基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
可选地,所述获取目标图像,包括:
在进行拍摄的过程中,当检测到拍摄画面中出现人物图像时,对所述拍摄画面中所述人物图像所在的区域进行截图,得到所述目标图像。
可选地,所述获取目标图像,包括:
在进行拍摄的过程中,当检测到拍摄画面中出现人物图像且检测到针对所述人物图像的选择指令时,对所述拍摄画面中所述人物图像所在的区域进行截图,得到所述目标图像。
可选地,所述基于所述相似图像和所述相似图像对应的联系信息生成推荐消息之后,还包括:
当所述相似图像对应的联系信息中包括目标账号时,向所述目标账号发送联系人添加请求,所述目标账号为与终端当前登录的用户账号属于同一账号体系的账号。
根据本公开实施例的第三方面,提供一种消息生成装置,所述装置包括:
接收模块,用于接收终端发送的目标图像,所述目标图像中包含有人物图像;
获取模块,用于从图库存储的多个图像中,获取所述目标图像的相似图像,所述多个图像为具有对应的联系信息的图像;
发送模块,用于将所述相似图像和所述相似图像对应的联系信息发送给所述终端,由所述终端基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
可选地,所述获取模块包括:
第一确定单元,用于对于所述多个图像中的每个图像,确定所述图像与所述目标图像之间的人物相似度;
第二确定单元,用于当所述人物相似度大于或等于预设相似度时,将所述图像确定为所述目标图像的相似图像。
可选地,所述第一确定单元包括:
第一确定子单元,用于对于所述多个图像中的每个图像,确定所述图像与所述目标图像之间的人脸相似度;
第二确定子单元,用于将所述人脸相似度确定为所述图像与所述目标图像之间的人物相似度。
可选地,所述第一确定单元包括:
第三确定子单元,用于对于所述多个图像中的每个图像,基于所述图像和所述目标图像,确定至少一个相似度,所述至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度;
加权平均子单元,用于基于所述至少一个相似度中每个相似度对应的权重,对所述至少一个相似度进行加权平均,得到所述图像与所述目标图像之间的人物相似度。
可选地,所述装置还包括:
判断模块,用于当接收到图像时,判断所述图像是否具有对应的联系信息;
第一存储模块,用于当所述图像具有对应的联系信息时,将所述图像和所述图像对应的联系信息存储到所述图库中。
可选地,所述装置还包括:
匹配模块,用于当所述图像没有对应的联系信息时,对于存储的多个联系人图像中的每个联系人图像,将所述图像与所述联系人图像进行匹配,所述多个联系人图像为存储的通讯录中的联系人图像;
确定模块,用于当所述图像与所述联系人图像匹配成功时,将所述联系人图像对应的联系信息确定为所述图像对应的联系信息;
第二存储模块,用于将所述图像和所述图像对应的联系信息存储到所述图库中。
根据本公开实施例的第四方面,提供一种消息生成装置,所述装置包括:
获取模块,用于获取目标图像,所述目标图像中包含有人物图像;
第一发送模块,用于将所述目标图像发送给服务器,由所述服务器基于所述目标图像返回所述目标图像的相似图像和所述相似图像对应的联系信息;
生成模块,用于当接收到所述服务器发送的所述相似图像和所述相似图像 对应的联系信息时,基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
可选地,所述获取模块包括:
第一截图单元,用于在进行拍摄的过程中,当检测到拍摄画面中出现人物图像时,对所述拍摄画面中所述人物图像所在的区域进行截图,得到所述目标图像。
可选地,所述获取模块包括:
第二截图单元,用于在进行拍摄的过程中,当检测到拍摄画面中出现人物图像且检测到针对所述人物图像的选择指令时,对所述拍摄画面中所述人物图像所在的区域进行截图,得到所述目标图像。
可选地,所述装置还包括:
第二发送模块,用于当所述相似图像对应的联系信息中包括目标账号时,向所述目标账号发送联系人添加请求,所述目标账号为与终端当前登录的用户账号属于同一账号体系的账号。
根据本公开实施例的第五方面,提供一种消息生成装置,所述装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
接收终端发送的目标图像,所述目标图像中包含有人物图像;
从图库存储的多个图像中,获取所述目标图像的相似图像,所述多个图像为具有对应的联系信息的图像;
将所述相似图像和所述相似图像对应的联系信息发送给所述终端,由所述终端基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
根据本公开实施例的第六方面,提供一种消息生成装置,所述装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取目标图像,所述目标图像中包含有人物图像;
将所述目标图像发送给服务器,由所述服务器基于所述目标图像返回所述目标图像的相似图像和所述相似图像对应的联系信息;
当接收到所述服务器发送的所述相似图像和所述相似图像对应的联系信息时,基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
本公开的实施例提供的技术方案可以包括以下有益效果:在本公开实施例中,服务器接收终端发送的目标图像,并从图库存储的多个图像中,获取该目标图像的相似图像,之后,服务器将该相似图像和该相似图像对应的联系信息发送给终端,由终端基于该相似图像和该相似图像对应的联系信息生成推荐消息。由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例示出的一种消息生成方法所涉及的实施环境的示意图。
图2是根据一示例性实施例示出的一种消息生成方法的流程图。
图3是根据一示例性实施例示出的另一种消息生成方法的流程图。
图4A是根据一示例性实施例示出的又一种消息生成方法的流程图。
图4B是根据一示例性实施例示出的一种拍摄画面的示意图。
图4C是根据一示例性实施例示出的一种推荐消息的示意图。
图5A是根据一示例性实施例示出的第一种消息生成装置的框图。
图5B是根据一示例性实施例示出的一种获取模块的框图。
图5C是根据一示例性实施例示出的一种第一确定单元的框图。
图5D是根据一示例性实施例示出的另一种第一确定单元的框图。
图5E是根据一示例性实施例示出的第二种消息生成装置的框图。
图5F是根据一示例性实施例示出的第三种消息生成装置的框图。
图6A是根据一示例性实施例示出的第四种消息生成装置的框图。
图6B是根据一示例性实施例示出的第五种消息生成装置的框图。
图7是根据一示例性实施例示出的第六种消息生成装置的框图。
图8是根据一示例性实施例示出的第七种消息生成装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
在对本公开实施例进行详细地解释说明之前,先对本公开实施例的应用场景予以说明。随着互联网技术的发展,用户经常通过社交网络应用与存在于该用户的联系人列表中的对象进行通讯,该社交网络应用可以安装于终端中,相关技术中,服务器可以基于用户间的社交关系链,即联系人关系链,来分析用户间的潜在关联关系,对于某一用户,服务器可以将与该用户具有潜在关联关系的其他用户的账号信息发送给终端,由终端基于该账号信息生成推荐消息,此时该推荐消息仅能基于与该用户具有潜在关联关系的其他用户的账号信息生成,生成方式单一,缺乏灵活性,因此,本公开实施例提供了一种消息生成方法,来提高终端生成推荐消息时的灵活性。
图1是根据一示例性实施例示出的一种消息生成方法所涉及的实施环境的示意图,如图1所示,该实施环境可以包括:终端101和服务器102。其中,终端101可以是移动电话、计算机、平板设备等,服务器102可以是一台服务器,也可以是由多台服务器组成的服务器集群,且终端101和服务器102之间可以通过有线连接或者无线连接进行通信。其中,终端101可以获取目标图像,并将该目标图像发送给服务器102;当服务器102接收到该目标图像时,可以获取该目标图像的相似图像,并将该相似图像和该相似图像对应的联系信息发送给终端101;当终端101接收到该相似图像和该相似图像对应的联系信息时,可以基于该相似图像和该相似图像对应的联系信息生成推荐消息。
图2是根据一示例性实施例示出的一种消息生成方法的流程图,该方法用于服务器中。如图2所示,该方法包括以下步骤。
在步骤201中,接收终端发送的目标图像,目标图像中包含有人物图像。
在步骤202中,从图库存储的多个图像中,获取目标图像的相似图像,多个图像为具有对应的联系信息的图像。
在步骤203中,将相似图像和相似图像对应的联系信息发送给终端,由终端基于相似图像和相似图像对应的联系信息生成推荐消息。
在本公开实施例中,服务器接收终端发送的目标图像,并从图库存储的多个图像中,获取该目标图像的相似图像,之后,服务器将该相似图像和该相似图像对应的联系信息发送给终端,由终端基于该相似图像和该相似图像对应的联系信息生成推荐消息。由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性。
可选地,从图库存储的多个图像中,获取目标图像的相似图像,包括:
对于多个图像中的每个图像,确定图像与目标图像之间的人物相似度;
当人物相似度大于或等于预设相似度时,将图像确定为目标图像的相似图像。
可选地,确定图像与目标图像之间的人物相似度,包括:
确定图像与目标图像之间的人脸相似度;
将人脸相似度确定为图像与目标图像之间的人物相似度。
可选地,确定图像与目标图像之间的人物相似度,包括:
基于图像和目标图像,确定至少一个相似度,至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度;
基于至少一个相似度中每个相似度对应的权重,对至少一个相似度进行加权平均,得到图像与目标图像之间的人物相似度。
可选地,从图库存储的多个图像中,获取目标图像的相似图像之前,还包括:
当接收到图像时,判断图像是否具有对应的联系信息;
当图像具有对应的联系信息时,将图像和图像对应的联系信息存储到图库 中。
可选地,当接收到图像时,判断图像是否具有对应的联系信息之后,还包括:
当图像没有对应的联系信息时,对于存储的多个联系人图像中的每个联系人图像,将图像与联系人图像进行匹配,多个联系人图像为存储的通讯录中的联系人图像;
当图像与联系人图像匹配成功时,将联系人图像对应的联系信息确定为图像对应的联系信息;
将图像和图像对应的联系信息存储到图库中。
上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。
图3是根据一示例性实施例示出的一种消息生成方法的流程图,该方法用于终端中。如图3所示,该方法包括以下步骤。
在步骤301中,获取目标图像,目标图像中包含有人物图像。
在步骤302中,将目标图像发送给服务器,由服务器基于目标图像返回目标图像的相似图像和相似图像对应的联系信息。
在步骤303中,当接收到服务器发送的相似图像和相似图像对应的联系信息时,基于相似图像和相似图像对应的联系信息生成推荐消息。
在本公开实施例中,终端获取目标图像,并将目标图像发送给服务器,由服务器基于该目标图像返回该目标图像的相似图像和该相似图像对应的联系信息,当终端接收到该相似图像和该相似图像对应的联系信息时,基于该相似图像和该相似图像对应的联系信息生成推荐消息。由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性。
可选地,获取目标图像,包括:
在进行拍摄的过程中,当检测到拍摄画面中出现人物图像时,对拍摄画面中人物图像所在的区域进行截图,得到目标图像。
可选地,获取目标图像,包括:
在进行拍摄的过程中,当检测到拍摄画面中出现人物图像且检测到针对人物图像的选择指令时,对拍摄画面中人物图像所在的区域进行截图,得到目标图像。
可选地,基于相似图像和相似图像对应的联系信息生成推荐消息之后,还包括:
当相似图像对应的联系信息中包括目标账号时,向目标账号发送联系人添加请求,目标账号为与终端当前登录的用户账号属于同一账号体系的账号。
上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。
图4A是根据一示例性实施例示出的一种消息生成方法的流程图。如图4A所示,该方法包括以下步骤。
在步骤401中,终端获取目标图像,该目标图像中包含有人物图像。
由于目标图像中包含有人物图像,因此,终端获取目标图像时,终端可以在进行拍摄的过程中,当检测到拍摄画面中出现人物图像时,对该拍摄画面中该人物图像所在的区域进行截图,得到目标图像,此时该终端只需检测拍摄画面中是否出现人物图像,而无需再进行其它检测,从而提高了目标图像的获取效率。或者,终端可以在进行拍摄的过程中,当检测到拍摄画面中出现人物图像且检测到针对该人物图像的选择指令时,对该拍摄画面中该人物图像所在的区域进行截图,得到目标图像,由于选择指令通常是由用户触发的,因此,此时目标图像实际上是基于用户操作确定的,从而可以保证获取到的目标图像满足用户需求。当然,实际应用中,终端也可以通过其它方式获取目标图像,本公开实施例对此不做具体限定。
需要说明的是,终端在进行拍摄的过程中,检测拍摄画面中是否出现人物图像的操作可以参考相关技术,本公开实施例对此不进行详细阐述。
另外,选择指令用于对拍摄画面中的人物图像进行选择,且该选择指令可以由用户触发,该用户可以通过指定操作触发,该指定操作可以为单击操作、双击操作、语音操作等,本公开实施例对此不做具体限定。
再者,终端在进行拍摄时,可以通过当前运行的社交网络应用进行拍摄,当然,也可以通过终端中的拍摄模块进行拍摄,本公开实施例对此不做具体限 定。其中,当终端通过该拍摄模块进行拍摄时,该拍摄模块可以将获取的目标图像传输给该社交网络应用,以便终端后续可以通过该社交网络应用对该目标图像进行发送。
其中,终端对该拍摄画面中该人物图像所在的区域进行截图时,可以对该人物图像所在的最小区域进行截图,当然,实际应用中,终端也可以对该人物图像所在的其它区域进行截图,本公开实施例对此不做具体限定。
例如,如图4B所示,该拍摄画面为a,该人物图像为b,则终端可以对该人物图像所在的最小区域c进行截图,或者,终端可以对该人物图像所在的其它区域,如区域d进行截图。
在步骤402中,终端将该目标图像发送给服务器。
需要说明的是,终端可以通过有线网络或者无线网络将该目标图像发送给服务器,本公开实施例对此不做具体限定。
另外,服务器为终端当前运行的社交网络应用对应的服务器。
在步骤403中,当服务器接收到该目标图像时,从图库存储的多个图像中,获取该目标图像的相似图像,该多个图像为具有对应的联系信息的图像。
需要说明的是,图库用于存储具有对应的联系信息的图像,该联系信息可以为该图像中包含的人物图像所代表的对象的联系信息,且该联系信息可以包括即时通讯账号、电话号码等,本公开实施例对此不做具体限定。
另外,相似图像中包含的人物图像与该目标图像中包含的人物图像之间的相似度较高。
其中,服务器从图库存储的多个图像中,获取该目标图像的相似图像时,服务器可以对于该多个图像中的每个图像,确定该图像与该目标图像之间的人物相似度;当该人物相似度大于或等于预设相似度时,将该图像确定为该目标图像的相似图像。或者,服务器可以对于该多个图像中的每个图像,确定该图像与该目标图像之间的人物相似度;并从该多个图像中,选择与该目标图像之间的人物相似度大于或等于预设相似度的图像;当选择的图像的个数大于预设个数时,按照选择的图像对应的人物相似度由大到小的顺序,从该选择的图像中获取预设个数个图像,并将获取的图像确定为该目标图像的相似图像;当选择的图像的个数小于或等于预设个数时,将选择的图像确定为该目标图像的相似图像。
需要说明的是,该图像与该目标图像之间的人物相似度可以为该图像中包含的人物图像与该目标图像包含的人物图像之间的相似度。
另外,预设相似度可以预先设置,如该预设相似度可以为0.8、0.9等,本公开实施例对此不做具体限定。
再者,预设个数可以预先设置,如该预设个数可以为4、5等,本公开实施例对此不做具体限定。
例如,预设相似度为0.8,对于该多个图像中的某个图像,假设服务器确定该图像与该目标图像之间的人物相似度为0.85,由于0.85大于0.8,因此,服务器可以确定该图像为该目标图像的相似图像。
再例如,预设相似度为0.8,预设个数为4,该多个图像为图像1、图像2、图像3、图像4、图像5、图像6、图像7、图像8,假设服务器确定图像1、图2、图像3、图像4、图像5、图像6、图像7、图像8与该目标图像之间的人物相似度依次为0.85、0.82、0.75、0.8、0.81、0.83、0.7、0.6,则服务器可以从该多个图像中,选择与该目标图像之间的人物相似度大于或等于预设相似度0.8的图像,选择的图像为图像1、图像2、图像4、图像5、图像6,该选择的图像的个数为5,由于5大于预设个数4,因此,服务器可以按照该选择的图像对应的人物相似度由大到小的顺序,从该选择的图像中获取4个图像,获取的4个图像为图像1、图像6、图像2、图像5,则服务器可以将图像1、图像6、图像2、图像5确定为该目标图像的相似图像。
其中,服务器确定该图像与该目标图像之间的人物相似度的操作可以包括如下两种方式。
第一种方式:服务器确定该图像与该目标图像之间的人脸相似度,将该人脸相似度确定为该图像与该目标图像之间的人物相似度。
由于人脸特征为人物图像的主要可识别特征之一,因此,当服务器确定该图像与该目标图像之间的人物相似度时,可以仅确定该图像与该目标图像之间的人脸相似度,并将该人脸相似度确定为该图像与该目标图像之间的人物相似度,从而可以提高人物相似度的确定效率。
需要说明的是,服务器确定该图像与该目标图像之间的人脸相似度的操作可以参考相关技术,本公开实施例对此不进行详细阐述。
例如,服务器确定该图像与该目标图像之间的人脸相似度为0.85,则服务 器可以将该人脸相似度0.85确定为该图像与该目标图像之间的人物相似度。
第二种方式:服务器基于该图像和该目标图像,确定至少一个相似度,该至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度,并基于该至少一个相似度中每个相似度对应的权重,对该至少一个相似度进行加权平均,得到该图像与该目标图像之间的人物相似度。
由于人物图像中不仅可以包括人脸特征,还可以包括人物姿态特征、人物服装特征等,因此,可以将该多个特征结合起来确定该图像与该目标图像之间的人物相似度,也即是,可以基于人脸相似度、人物姿态相似度、人物服装相似度等,确定该图像与该目标图像之间的人物相似度,从而可以提高确定的人物相似度的准确度。
需要说明的是,服务器基于该图像和该目标图像,确定至少一个相似度的操作可以参考相关技术,本公开实施例对此不进行详细阐述。
另外,对于该至少一个相似度中的每个相似度,该相似度对应的权重为该相似度在确定该图像与该目标图像之间的人物相似度的过程中的重要程度,且该相似度对应的权重可以预先设置,本公开实施例对此不做具体限定。
例如,该至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度,且人脸相似度、人物姿态相似度、人物服装相似度对应的权重依次为0.7、0.2、0.1,假设服务器基于该图像和该目标图像,确定的人脸相似度为0.8,人物姿态相似度为0.7,人物服装相似度为0.6,则服务器可以对该至少一个相似度进行加权平均0.8×0.7+0.7×0.2+0.6×0.1=0.76,从而得到该图像与该目标图像之间的人物相似度为0.76。
进一步地,服务器从图库存储的多个图像中,获取该目标图像的相似图像之前,服务器还可以当接收到图像时,判断该图像是否具有对应的联系信息;当该图像具有对应的联系信息时,将该图像和该图像对应的联系信息存储到图库中。
需要说明的是,由于图库用于存储具有对应的联系信息的图像,因此,当该图像具有对应的联系信息时,该图像满足该图库的存储条件,则此时服务器可以将该图像和该图像对应的联系信息存储到该图库中,以便后续可以从该图库存储的图像中,获取目标图像的相似图像。
更进一步地,服务器判断该图像是否具有对应的联系信息之后,服务器还 可以当该图像没有对应的联系信息时,对于存储的多个联系人图像中的每个联系人图像,将该图像与该联系人图像进行匹配,该多个联系人图像为存储的通讯录中的联系人图像;当该图像与该联系人图像匹配成功时,将该联系人图像对应的联系信息确定为该图像对应的联系信息;将该图像和该图像对应的联系信息存储到图库中。
由于存储的通讯录中的联系人图像均具有对应的联系信息,因此,当该图像没有对应的联系信息时,可以尝试将该图像与该联系人图像进行匹配,如果匹配成功,则可以将该联系人图像对应的联系信息确定为该图像对应的联系信息,以使该图像满足图库的存储条件,之后,服务器可以将该图像和该图像对应的联系信息存储到该图库中,以便后续可以从该图库存储的图像中,获取目标图像的相似图像。
例如,存储的通讯录中的多个联系人图像为联系人图像1、联系人图像2、联系人图像3、联系人图像4,则当该图像没有对应的联系信息时,服务器可以将该图像与该多个联系人图像中的每个联系人图像进行匹配,假设该图像与联系人图像1匹配成功,且联系人图像1对应的联系信息为“电话号码:15263984567”,则服务器可以将该联系信息确定为该图像的联系信息,并将该图像和该联系信息存储到图库中。
其中,服务器将该图像与该联系人图像进行匹配时,服务器可以确定该图像与该联系人图像之间的人物相似度,当该人物相似度大于或等于预设相似度时,确定该图像与该联系人图像匹配成功,当该人物相似度小于预设相似度时,确定该图像与该联系人图像匹配失败。当然,实际应用中,服务器也可以通过其它方式将该图像与该联系人图像进行匹配,本公开实施例对此不做具体限定。
需要说明的是,服务器确定该图像与该联系人图像之间的人物相似度的操作与上述步骤403中服务器确定该图像与该目标图像之间的人物相似度的操作类似,本公开实施例对此不再赘述。
在步骤404中,服务器将该相似图像和该相似图像对应的联系信息发送给终端。
需要说明的是,服务器可以通过有线网络或者无线网络将该相似图像和该相似图像对应的联系信息发送给终端,本公开实施例对此不做具体限定。
在步骤405中,当终端接收到服务器发送的该相似图像和该相似图像对应 的联系信息时,基于该相似图像和该相似图像对应的联系信息生成推荐消息。
需要说明的是,推荐消息用于向用户推荐可以进行联系的对象,且该推荐消息中可以包括该相似图像和该相似图像对应的联系信息。
另外,终端基于该相似图像和该相似图像对应的联系信息生成推荐消息的操作与相关技术中终端基于某些信息生成某个消息的操作类似,本公开实施例对此不进行详细阐述。
例如,该相似图像为图像1,该相似图像对应的联系信息为“电话号码:15263984567”,则终端可以基于该相似图像和该相似图像对应的联系信息生成如图4C所示的推荐消息。
需要说明的是,本公开实施例中,终端可以从服务器中获取目标图像的相似图像和该相似图像对应的联系信息,并基于该相似信息与该相似信息对应的联系信息生成推荐消息,由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性,且由于该推荐消息用于向用户推荐可以进行联系的对象,因此,可以提高推荐对象的多样性。
另外,本公开实施例中的联系信息不仅可以包括即时通讯账号,还可以包括电话号码等,从而可以避免相关技术中推荐消息只能包括账号信息这一单一内容,丰富了推荐消息的推荐内容。
进一步地,终端基于该相似图像和该相似图像对应的联系信息生成推荐消息之后,终端还可以当该相似图像对应的联系信息中包括目标账号时,向该目标账号发送联系人添加请求,该目标账号为与终端当前登录的用户账号属于同一账号体系的账号。
需要说明的是,联系人添加请求用于请求将该目标账号所代表的对象添加到用户的联系人列表中。
另外,用户账号可以在服务器中注册得到,且该用户账号可以由字母、数字等组成,本公开实施例对此不做具体限定。
由于目标账号与终端当前登录的用户账号属于同一账号体系,也即是,该目标账号与该用户账号是在同一服务器中注册得到,因此,此时终端可以直接向该目标账号发送联系人添加请求,以将该目标账号所代表的对象添加到用户 的联系人列表中,该过程无需用户参与,从而节省了用户时间,且由于避免了用户繁琐的手动添加操作,因此,提高了联系人添加效率。
在本公开实施例中,终端获取目标图像,并将该目标图像发送给服务器,当服务器接收到该目标图像时,从图库存储的多个图像中,获取该目标图像的相似图像,之后,服务器将该相似图像和该相似图像对应的联系信息发送给终端,当终端接收到该相似图像和该相似图像对应的联系信息时,基于该相似图像和该相似图像对应的联系信息生成推荐消息。由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性,且由于该推荐消息用于向用户推荐可以进行联系的对象,因此,可以提高推荐对象的多样性。另外,本公开实施例中的联系信息不仅可以包括即时通讯账号,还可以包括电话号码等,从而可以避免相关技术中推荐消息只能包括账号信息这一单一内容,丰富了推荐消息的推荐内容。
图5A是根据一示例性实施例示出的一种消息生成装置的框图。参照图5A,该装置包括接收模块501,获取模块502和发送模块503。
接收模块501,用于接收终端发送的目标图像,目标图像中包含有人物图像;
获取模块502,用于从图库存储的多个图像中,获取目标图像的相似图像,多个图像为具有对应的联系信息的图像;
发送模块503,用于将相似图像和相似图像对应的联系信息发送给终端,由终端基于相似图像和相似图像对应的联系信息生成推荐消息。
可选地,参照图5B,该获取模块502包括第一确定单元5021和第二确定单元5022。
第一确定单元5021,用于对于多个图像中的每个图像,确定图像与目标图像之间的人物相似度;
第二确定单元5022,用于当人物相似度大于或等于预设相似度时,将图像确定为目标图像的相似图像。
可选地,参照图5C,该第一确定单元5021包括第一确定子单元50211和第二确定子单元50212。
第一确定子单元50211,用于对于多个图像中的每个图像,确定图像与目标 图像之间的人脸相似度;
第二确定子单元50212,用于将人脸相似度确定为图像与目标图像之间的人物相似度。
可选地,参照图5D,该第一确定单元5021包括第三确定子单元50213和加权平均子单元50214。
第三确定子单元50213,用于对于多个图像中的每个图像,基于图像和目标图像,确定至少一个相似度,至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度;
加权平均子单元50214,用于基于至少一个相似度中每个相似度对应的权重,对至少一个相似度进行加权平均,得到图像与目标图像之间的人物相似度。
可选地,参照图5E,该装置还包括判断模块504和第一存储模块505。
判断模块504,用于当接收到图像时,判断图像是否具有对应的联系信息;
第一存储模块505,用于当图像具有对应的联系信息时,将图像和图像对应的联系信息存储到图库中。
可选地,参照图5F,该装置还包括匹配模块506,确定模块507和第二存储模块508。
匹配模块506,用于当图像没有对应的联系信息时,对于存储的多个联系人图像中的每个联系人图像,将图像与联系人图像进行匹配,多个联系人图像为存储的通讯录中的联系人图像;
确定模块507,用于当图像与联系人图像匹配成功时,将联系人图像对应的联系信息确定为图像对应的联系信息;
第二存储模块508,用于将图像和图像对应的联系信息存储到图库中。
在本公开实施例中,服务器接收终端发送的目标图像,并从图库存储的多个图像中,获取该目标图像的相似图像,之后,服务器将该相似图像和该相似图像对应的联系信息发送给终端,由终端基于该相似图像和该相似图像对应的联系信息生成推荐消息。由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图6A是根据一示例性实施例示出的一种消息生成装置的框图。参照图6A,该装置包括获取模块601,第一发送模块602和生成模块603。
获取模块601,用于获取目标图像,目标图像中包含有人物图像;
第一发送模块602,用于将目标图像发送给服务器,由服务器基于目标图像返回目标图像的相似图像和相似图像对应的联系信息;
生成模块603,用于当接收到服务器发送的相似图像和相似图像对应的联系信息时,基于相似图像和相似图像对应的联系信息生成推荐消息。
可选地,该获取模块601包括第一截图单元。
第一截图单元,用于在进行拍摄的过程中,当检测到拍摄画面中出现人物图像时,对拍摄画面中人物图像所在的区域进行截图,得到目标图像。
可选地,该获取模块601包括第二截图单元。
第二截图单元,用于在进行拍摄的过程中,当检测到拍摄画面中出现人物图像且检测到针对人物图像的选择指令时,对拍摄画面中人物图像所在的区域进行截图,得到目标图像。
可选地,参照图6B,该装置还包括第二发送模块604。
第二发送模块604,用于当相似图像对应的联系信息中包括目标账号时,向目标账号发送联系人添加请求,目标账号为与终端当前登录的用户账号属于同一账号体系的账号。
在本公开实施例中,终端获取目标图像,并将目标图像发送给服务器,由服务器基于该目标图像返回该目标图像的相似图像和该相似图像对应的联系信息,当终端接收到该相似图像和该相似图像对应的联系信息时,基于该相似图像和该相似图像对应的联系信息生成推荐消息。由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性。
图7是根据一示例性实施例示出的一种用于消息生成的装置700的框图。例如,装置700可以被提供为一服务器。参照图7,装置700包括处理组件722,其进一步包括一个或多个处理器,以及由存储器732所代表的存储器资源,用 于存储可由处理组件722的执行的指令,例如应用程序。存储器732中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。
装置700还可以包括一个电源组件726被配置为执行装置700的电源管理,一个有线或无线网络接口750被配置为将装置700连接到网络,和一个输入输出(I/O)接口758。装置700可以操作基于存储在存储器732的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
此外,处理组件722被配置为执行指令,以执行一种消息生成方法,该方法包括:
接收终端发送的目标图像,目标图像中包含有人物图像;
从图库存储的多个图像中,获取目标图像的相似图像,多个图像为具有对应的联系信息的图像;
将相似图像和相似图像对应的联系信息发送给终端,由终端基于相似图像和相似图像对应的联系信息生成推荐消息。
可选地,从图库存储的多个图像中,获取目标图像的相似图像,包括:
对于多个图像中的每个图像,确定图像与目标图像之间的人物相似度;
当人物相似度大于或等于预设相似度时,将图像确定为目标图像的相似图像。
可选地,确定图像与目标图像之间的人物相似度,包括:
确定图像与目标图像之间的人脸相似度;
将人脸相似度确定为图像与目标图像之间的人物相似度。
可选地,确定图像与目标图像之间的人物相似度,包括:
基于图像和目标图像,确定至少一个相似度,至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度;
基于至少一个相似度中每个相似度对应的权重,对至少一个相似度进行加权平均,得到图像与目标图像之间的人物相似度。
可选地,从图库存储的多个图像中,获取目标图像的相似图像之前,还包括:
当接收到图像时,判断图像是否具有对应的联系信息;
当图像具有对应的联系信息时,将图像和图像对应的联系信息存储到图库中。
可选地,当接收到图像时,判断图像是否具有对应的联系信息之后,还包括:
当图像没有对应的联系信息时,对于存储的多个联系人图像中的每个联系人图像,将图像与联系人图像进行匹配,多个联系人图像为存储的通讯录中的联系人图像;
当图像与联系人图像匹配成功时,将联系人图像对应的联系信息确定为图像对应的联系信息;
将图像和图像对应的联系信息存储到图库中。
在本公开实施例中,服务器接收终端发送的目标图像,并从图库存储的多个图像中,获取该目标图像的相似图像,之后,服务器将该相似图像和该相似图像对应的联系信息发送给终端,由终端基于该相似图像和该相似图像对应的联系信息生成推荐消息。由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性。
图8是根据一示例性实施例示出的一种用于消息生成的装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图8,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失 性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件806为装置800的各种组件提供电源。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电源相关联的组件。
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814 可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种消息生成方法,该方法包括:
获取目标图像,目标图像中包含有人物图像;
将目标图像发送给服务器,由服务器基于目标图像返回目标图像的相似图像和相似图像对应的联系信息;
当接收到服务器发送的相似图像和相似图像对应的联系信息时,基于相似图像和相似图像对应的联系信息生成推荐消息。
可选地,获取目标图像,包括:
在进行拍摄的过程中,当检测到拍摄画面中出现人物图像时,对拍摄画面中人物图像所在的区域进行截图,得到目标图像。
可选地,获取目标图像,包括:
在进行拍摄的过程中,当检测到拍摄画面中出现人物图像且检测到针对人物图像的选择指令时,对拍摄画面中人物图像所在的区域进行截图,得到目标图像。
可选地,基于相似图像和相似图像对应的联系信息生成推荐消息之后,还包括:
当相似图像对应的联系信息中包括目标账号时,向目标账号发送联系人添加请求,目标账号为与终端当前登录的用户账号属于同一账号体系的账号。
在本公开实施例中,终端获取目标图像,并将目标图像发送给服务器,由服务器基于该目标图像返回该目标图像的相似图像和该相似图像对应的联系信息,当终端接收到该相似图像和该相似图像对应的联系信息时,基于该相似图像和该相似图像对应的联系信息生成推荐消息。由于该目标图像可以由终端灵活获取,而该相似图像是基于该目标图像得到的,所以可以保证该相似图像的灵活性,又由于推荐消息是基于该相似图像生成的,因此,可以提高终端生成推荐消息时的灵活性。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。

Claims (22)

  1. 一种消息生成方法,其特征在于,所述方法包括:
    接收终端发送的目标图像,所述目标图像中包含有人物图像;
    从图库存储的多个图像中,获取所述目标图像的相似图像,所述多个图像为具有对应的联系信息的图像;
    将所述相似图像和所述相似图像对应的联系信息发送给所述终端,由所述终端基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
  2. 如权利要求1所述的方法,其特征在于,所述从图库存储的多个图像中,获取所述目标图像的相似图像,包括:
    对于所述多个图像中的每个图像,确定所述图像与所述目标图像之间的人物相似度;
    当所述人物相似度大于或等于预设相似度时,将所述图像确定为所述目标图像的相似图像。
  3. 如权利要求2所述的方法,其特征在于,所述确定所述图像与所述目标图像之间的人物相似度,包括:
    确定所述图像与所述目标图像之间的人脸相似度;
    将所述人脸相似度确定为所述图像与所述目标图像之间的人物相似度。
  4. 如权利要求2所述的方法,其特征在于,所述确定所述图像与所述目标图像之间的人物相似度,包括:
    基于所述图像和所述目标图像,确定至少一个相似度,所述至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度;
    基于所述至少一个相似度中每个相似度对应的权重,对所述至少一个相似度进行加权平均,得到所述图像与所述目标图像之间的人物相似度。
  5. 如权利要求1-4任一权利要求所述的方法,其特征在于,所述从图库存储的多个图像中,获取所述目标图像的相似图像之前,还包括:
    当接收到图像时,判断所述图像是否具有对应的联系信息;
    当所述图像具有对应的联系信息时,将所述图像和所述图像对应的联系信息存储到所述图库中。
  6. 如权利要求5所述的方法,其特征在于,所述当接收到图像时,判断所述图像是否具有对应的联系信息之后,还包括:
    当所述图像没有对应的联系信息时,对于存储的多个联系人图像中的每个联系人图像,将所述图像与所述联系人图像进行匹配,所述多个联系人图像为存储的通讯录中的联系人图像;
    当所述图像与所述联系人图像匹配成功时,将所述联系人图像对应的联系信息确定为所述图像对应的联系信息;
    将所述图像和所述图像对应的联系信息存储到所述图库中。
  7. 一种消息生成方法,其特征在于,所述方法包括:
    获取目标图像,所述目标图像中包含有人物图像;
    将所述目标图像发送给服务器,由所述服务器基于所述目标图像返回所述目标图像的相似图像和所述相似图像对应的联系信息;
    当接收到所述服务器发送的所述相似图像和所述相似图像对应的联系信息时,基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
  8. 如权利要求7所述的方法,其特征在于,所述获取目标图像,包括:
    在进行拍摄的过程中,当检测到拍摄画面中出现人物图像时,对所述拍摄画面中所述人物图像所在的区域进行截图,得到所述目标图像。
  9. 如权利要求7所述的方法,其特征在于,所述获取目标图像,包括:
    在进行拍摄的过程中,当检测到拍摄画面中出现人物图像且检测到针对所述人物图像的选择指令时,对所述拍摄画面中所述人物图像所在的区域进行截图,得到所述目标图像。
  10. 如权利要求7-9任一权利要求所述的方法,其特征在于,所述基于所述 相似图像和所述相似图像对应的联系信息生成推荐消息之后,还包括:
    当所述相似图像对应的联系信息中包括目标账号时,向所述目标账号发送联系人添加请求,所述目标账号为与终端当前登录的用户账号属于同一账号体系的账号。
  11. 一种消息生成装置,其特征在于,所述装置包括:
    接收模块,用于接收终端发送的目标图像,所述目标图像中包含有人物图像;
    获取模块,用于从图库存储的多个图像中,获取所述目标图像的相似图像,所述多个图像为具有对应的联系信息的图像;
    发送模块,用于将所述相似图像和所述相似图像对应的联系信息发送给所述终端,由所述终端基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
  12. 如权利要求11所述的装置,其特征在于,所述获取模块包括:
    第一确定单元,用于对于所述多个图像中的每个图像,确定所述图像与所述目标图像之间的人物相似度;
    第二确定单元,用于当所述人物相似度大于或等于预设相似度时,将所述图像确定为所述目标图像的相似图像。
  13. 如权利要求12所述的装置,其特征在于,所述第一确定单元包括:
    第一确定子单元,用于对于所述多个图像中的每个图像,确定所述图像与所述目标图像之间的人脸相似度;
    第二确定子单元,用于将所述人脸相似度确定为所述图像与所述目标图像之间的人物相似度。
  14. 如权利要求12所述的装置,其特征在于,所述第一确定单元包括:
    第三确定子单元,用于对于所述多个图像中的每个图像,基于所述图像和所述目标图像,确定至少一个相似度,所述至少一个相似度包括人脸相似度、人物姿态相似度和人物服装相似度;
    加权平均子单元,用于基于所述至少一个相似度中每个相似度对应的权重,对所述至少一个相似度进行加权平均,得到所述图像与所述目标图像之间的人物相似度。
  15. 如权利要求11-14任一权利要求所述的装置,其特征在于,所述装置还包括:
    判断模块,用于当接收到图像时,判断所述图像是否具有对应的联系信息;
    第一存储模块,用于当所述图像具有对应的联系信息时,将所述图像和所述图像对应的联系信息存储到所述图库中。
  16. 如权利要求15所述的装置,其特征在于,所述装置还包括:
    匹配模块,用于当所述图像没有对应的联系信息时,对于存储的多个联系人图像中的每个联系人图像,将所述图像与所述联系人图像进行匹配,所述多个联系人图像为存储的通讯录中的联系人图像;
    确定模块,用于当所述图像与所述联系人图像匹配成功时,将所述联系人图像对应的联系信息确定为所述图像对应的联系信息;
    第二存储模块,用于将所述图像和所述图像对应的联系信息存储到所述图库中。
  17. 一种消息生成装置,其特征在于,所述装置包括:
    获取模块,用于获取目标图像,所述目标图像中包含有人物图像;
    第一发送模块,用于将所述目标图像发送给服务器,由所述服务器基于所述目标图像返回所述目标图像的相似图像和所述相似图像对应的联系信息;
    生成模块,用于当接收到所述服务器发送的所述相似图像和所述相似图像对应的联系信息时,基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
  18. 如权利要求17所述的装置,其特征在于,所述获取模块包括:
    第一截图单元,用于在进行拍摄的过程中,当检测到拍摄画面中出现人物图像时,对所述拍摄画面中所述人物图像所在的区域进行截图,得到所述目标 图像。
  19. 如权利要求17所述的装置,其特征在于,所述获取模块包括:
    第二截图单元,用于在进行拍摄的过程中,当检测到拍摄画面中出现人物图像且检测到针对所述人物图像的选择指令时,对所述拍摄画面中所述人物图像所在的区域进行截图,得到所述目标图像。
  20. 如权利要求17-19任一权利要求所述的装置,其特征在于,所述装置还包括:
    第二发送模块,用于当所述相似图像对应的联系信息中包括目标账号时,向所述目标账号发送联系人添加请求,所述目标账号为与终端当前登录的用户账号属于同一账号体系的账号。
  21. 一种消息生成装置,其特征在于,所述装置包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    接收终端发送的目标图像,所述目标图像中包含有人物图像;
    从图库存储的多个图像中,获取所述目标图像的相似图像,所述多个图像为具有对应的联系信息的图像;
    将所述相似图像和所述相似图像对应的联系信息发送给所述终端,由所述终端基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
  22. 一种消息生成装置,其特征在于,所述装置包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取目标图像,所述目标图像中包含有人物图像;
    将所述目标图像发送给服务器,由所述服务器基于所述目标图像返回所述目标图像的相似图像和所述相似图像对应的联系信息;
    当接收到所述服务器发送的所述相似图像和所述相似图像对应的联系信息时,基于所述相似图像和所述相似图像对应的联系信息生成推荐消息。
PCT/CN2016/097616 2016-06-23 2016-08-31 消息生成方法及装置 WO2017219497A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610466510.7A CN106096009A (zh) 2016-06-23 2016-06-23 消息生成方法及装置
CN201610466510.7 2016-06-23

Publications (1)

Publication Number Publication Date
WO2017219497A1 true WO2017219497A1 (zh) 2017-12-28

Family

ID=57252592

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097616 WO2017219497A1 (zh) 2016-06-23 2016-08-31 消息生成方法及装置

Country Status (4)

Country Link
US (1) US20170371506A1 (zh)
EP (1) EP3261046A1 (zh)
CN (1) CN106096009A (zh)
WO (1) WO2017219497A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649710A (zh) * 2016-12-20 2017-05-10 北京奇虎科技有限公司 图片推选方法、装置和移动终端
CN107480265B (zh) * 2017-08-17 2021-02-09 广州视源电子科技股份有限公司 数据推荐方法、装置、设备以及存储介质
CN107704175B (zh) * 2017-10-24 2020-11-06 中国移动通信集团公司 一种图像收藏方法、装置及存储介质
CN107992822B (zh) * 2017-11-30 2020-04-10 Oppo广东移动通信有限公司 图像处理方法和装置、计算机设备、计算机可读存储介质
CN109523344A (zh) * 2018-10-16 2019-03-26 深圳壹账通智能科技有限公司 产品信息推荐方法、装置、计算机设备和存储介质
CN111352680A (zh) * 2018-12-21 2020-06-30 阿里巴巴集团控股有限公司 信息推荐方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355534A (zh) * 2011-11-01 2012-02-15 宇龙计算机通信科技(深圳)有限公司 移动终端和联系人信息推送方法
CN104243275A (zh) * 2013-06-19 2014-12-24 腾讯科技(深圳)有限公司 社交信息推送方法和系统
CN104243276A (zh) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 一种联系人推荐方法及装置
CN104717134A (zh) * 2011-09-30 2015-06-17 北京奇虎科技有限公司 一种移动通讯工具中好友自动推荐的方法及装置
CN105282295A (zh) * 2015-10-28 2016-01-27 小米科技有限责任公司 候选联系人推荐方法及装置

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0222113D0 (en) * 2002-09-24 2002-10-30 Koninkl Philips Electronics Nv Image recognition
KR100883100B1 (ko) * 2006-12-18 2009-02-11 삼성전자주식회사 이동 단말의 영상 파일 저장 방법 및 장치
US8711102B2 (en) * 2007-06-15 2014-04-29 Microsoft Corporation Graphical communication user interface with graphical position user input mechanism for selecting a display image
US8774767B2 (en) * 2007-07-19 2014-07-08 Samsung Electronics Co., Ltd. Method and apparatus for providing phonebook using image in a portable terminal
US8316096B2 (en) * 2008-04-29 2012-11-20 Kota Enterprises, Llc Facemail
CN101990031A (zh) * 2009-07-30 2011-03-23 索尼爱立信移动通讯股份有限公司 使用面部识别来更新个人联系人列表的系统和方法
US8670597B2 (en) * 2009-08-07 2014-03-11 Google Inc. Facial recognition with social network aiding
CN101635005A (zh) * 2009-08-21 2010-01-27 深圳华为通信技术有限公司 一种移动终端及其信息检索方法
KR101157597B1 (ko) * 2010-01-28 2012-06-19 주식회사 팬택 모바일 단말 및 모바일 단말을 이용한 인맥 형성방법
US8818049B2 (en) * 2011-05-18 2014-08-26 Google Inc. Retrieving contact information based on image recognition searches
US9626552B2 (en) * 2012-03-12 2017-04-18 Hewlett-Packard Development Company, L.P. Calculating facial image similarity
US8843518B2 (en) * 2012-07-17 2014-09-23 Verizon Patent And Licensing Inc. Method and apparatus for establishing a connection with known individuals
US9350944B2 (en) * 2012-08-24 2016-05-24 Qualcomm Incorporated Connecting to an onscreen entity
US20150074206A1 (en) * 2013-09-12 2015-03-12 At&T Intellectual Property I, L.P. Method and apparatus for providing participant based image and video sharing
US20150085146A1 (en) * 2013-09-23 2015-03-26 Nvidia Corporation Method and system for storing contact information in an image using a mobile device
CN103559504B (zh) * 2013-11-04 2016-08-31 北京京东尚科信息技术有限公司 图像目标类别识别方法及装置
KR102183856B1 (ko) * 2013-12-20 2020-11-30 삼성전자주식회사 단말 및 콘텐츠 공유 방법
US9177194B2 (en) * 2014-01-29 2015-11-03 Sony Corporation System and method for visually distinguishing faces in a digital image
US9852717B2 (en) * 2014-04-11 2017-12-26 B-K Medical Aps Ultrasound image three-dimensional (3D) pictogram
CN104850828B (zh) * 2015-04-29 2018-06-12 小米科技有限责任公司 人物识别方法及装置
US10013153B1 (en) * 2015-05-05 2018-07-03 State Farm Mutual Automobile Insurance Company Initiating communications based on interactions with images
WO2017004241A1 (en) * 2015-07-02 2017-01-05 Krush Technologies, Llc Facial gesture recognition and video analysis tool
SG10201912947XA (en) * 2015-10-21 2020-02-27 15 Seconds Of Fame Inc Methods and apparatus for false positive minimization in facial recognition applications
CN105407201A (zh) * 2015-11-24 2016-03-16 小米科技有限责任公司 联系人信息匹配方法、装置及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717134A (zh) * 2011-09-30 2015-06-17 北京奇虎科技有限公司 一种移动通讯工具中好友自动推荐的方法及装置
CN102355534A (zh) * 2011-11-01 2012-02-15 宇龙计算机通信科技(深圳)有限公司 移动终端和联系人信息推送方法
CN104243275A (zh) * 2013-06-19 2014-12-24 腾讯科技(深圳)有限公司 社交信息推送方法和系统
CN104243276A (zh) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 一种联系人推荐方法及装置
CN105282295A (zh) * 2015-10-28 2016-01-27 小米科技有限责任公司 候选联系人推荐方法及装置

Also Published As

Publication number Publication date
CN106096009A (zh) 2016-11-09
US20170371506A1 (en) 2017-12-28
EP3261046A1 (en) 2017-12-27

Similar Documents

Publication Publication Date Title
US9953212B2 (en) Method and apparatus for album display, and storage medium
WO2017219497A1 (zh) 消息生成方法及装置
US9661390B2 (en) Method, server, and user terminal for sharing video information
US10608988B2 (en) Method and apparatus for bluetooth-based identity recognition
US20160028741A1 (en) Methods and devices for verification using verification code
US10425403B2 (en) Method and device for accessing smart camera
CN106790043B (zh) 直播应用中发送消息的方法及装置
US10216711B2 (en) Information collection method and apparatus
US11281363B2 (en) Method and device for setting identity image
CN109521918B (zh) 一种信息分享方法、装置、电子设备及存储介质
EP3026876B1 (en) Method for acquiring recommending information, terminal and server
CN107423386B (zh) 生成电子卡片的方法及装置
WO2017197778A1 (zh) 图像发送方法和装置
US20170249513A1 (en) Picture acquiring method, apparatus, and storage medium
EP3203690B1 (en) Message transmission method and apparatus, and electronic device
WO2016173246A1 (zh) 基于云名片的电话呼叫方法及装置
US20170374208A1 (en) Method, apparatus and medium for sharing photo
US20160112498A1 (en) Methods and devices for acquiring user information
WO2020078078A1 (zh) 一种即时通信的通知方法、装置、电子设备及存储介质
US20170034347A1 (en) Method and device for state notification and computer-readable storage medium
CN106447747B (zh) 图像处理方法及装置
CN108027821B (zh) 处理图片的方法及装置
US20170201479A1 (en) Group message display method, device and medium
CN107239490B (zh) 一种命名人脸图像的方法、装置及计算机可读存储介质
CN107169042B (zh) 一种共享图片的方法、装置及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16906037

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16906037

Country of ref document: EP

Kind code of ref document: A1