WO2019080637A1 - Friend recommendation method and device - Google Patents

Friend recommendation method and device

Info

Publication number
WO2019080637A1
WO2019080637A1 PCT/CN2018/103176 CN2018103176W WO2019080637A1 WO 2019080637 A1 WO2019080637 A1 WO 2019080637A1 CN 2018103176 W CN2018103176 W CN 2018103176W WO 2019080637 A1 WO2019080637 A1 WO 2019080637A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
friend
information
face image
service device
Prior art date
Application number
PCT/CN2018/103176
Other languages
French (fr)
Chinese (zh)
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 WO2019080637A1 publication Critical patent/WO2019080637A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of 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/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • 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/174Facial expression recognition

Definitions

  • the present application relates to the field of information technology, and in particular, to a friend recommendation method and device.
  • the user can form a social circle through the social network product. For example, the user can make new friends and contact old friends through the network. If the number of friends of the user is small, the user cannot easily experience the convenience of social networking brought by the social network product. .
  • a friend relationship is one of the most important attributes in a social network. It has an important influence on the user's activity level. By promoting user friendship, the user's activity level can be improved. Therefore, for the user, the social platform can recommend a suitable friend to be in the To some extent, improve the user's stickiness. At present, there is no friend recommendation method with better user experience.
  • One of the purposes of the present application is to provide a friend recommendation scheme.
  • some embodiments of the present application provide a method for recommending a friend of a service device, the method comprising: acquiring a user face image uploaded by the user device; and identifying the user's emotion information based on the user face image; a preset matching rule, determining a friend user that matches the emotion information of the user; and sending the recommendation information of the friend user to the user equipment.
  • Some embodiments of the present application further provide a friend recommendation method on a user equipment side, where the method includes: acquiring a user face image, and transmitting the user face image to a service device; acquiring a friend user from the service device Recommendation information; presenting the recommendation information of the friend user to the user.
  • Some embodiments of the present application also provide an apparatus for implementing a friend recommendation, the apparatus comprising a memory for storing computer program instructions and a processor for executing computer program instructions, wherein the computer program instructions are When executed, the device is triggered to perform the friend recommendation method of the foregoing user equipment or service device end.
  • Some embodiments of the present application also provide a computer readable medium having stored thereon computer program instructions executable by a processor to implement a friend recommendation method of the aforementioned user equipment or service device side.
  • the user equipment after acquiring the user's facial image, the user equipment uploads the user facial image to the service device, and the service device identifies the user's emotional information based on the user facial image, and according to the preset a matching rule, determining a friend user that matches the emotional information of the user, and then transmitting the recommendation information of the friend user to the user device, and presented to the user by the user device, thereby considering when recommending the friend to the user
  • the user's current emotions thereby recommending friends who meet their current social needs, thereby improving the flexibility of friend recommendation and better user experience.
  • FIG. 1 is a schematic diagram of a system for implementing friend recommendation according to some embodiments of the present application
  • FIG. 2 is a flow chart of interaction between a user equipment and a service device when implementing friend recommendation according to some embodiments of the present application
  • FIG. 3 is a schematic flowchart of a solution of some embodiments of the present application applied to a social application software
  • FIG. 4 is a schematic diagram of an apparatus for implementing friend recommendation according to some embodiments of the present application.
  • the devices of the terminal and the service network each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media, and information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), EEPROM, flash memory or other memory technology, compact disc (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette A tape, tape storage or other magnetic storage device or any other non-transportable medium can be used to store information that can be accessed by a computing device.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM electrically erasable programmable read only memory
  • CD-ROM compact disc
  • DVD digital versatile disc
  • FIG. 1 is a schematic diagram of a system for implementing friend recommendation provided by some embodiments of the present application.
  • the system includes a user equipment 110 and a service device 120.
  • a friend recommendation is implemented, between the user equipment 110 and the service device 120.
  • the interaction process is shown in Figure 2 and includes the following processing steps:
  • Step S201 the user equipment acquires a user face image.
  • the user equipment may be a mobile phone, a tablet computer, a computer, a wearable device, or the like, and the device may capture an image of the user through a built-in or external camera device to obtain a user's face. Part image.
  • the friend of the social application is opened, and the front camera of the mobile phone is activated to capture the facial image of the user, thereby implementing the friend recommendation function.
  • Step S202 The user equipment sends the user facial image to the service device, so that the service device can identify the user's emotion from the user's facial image, thereby implementing the friend recommendation.
  • the service device can identify the user's emotion from the user's facial image, thereby implementing the friend recommendation.
  • a plurality of key frames including the user's face image may be provided, for example, the user makes various expressions in the whole process. Several keyframes.
  • the user equipment can adopt the following processing manners: first, acquiring a continuous image including the user's face image, for example, capturing a video about the complete process of the user making an expression by the camera; and then extracting from the continuous image a plurality of key frames including a user's face image, the key frames may be a few key images in the process of the user making an expression, so as to accurately recognize the expression made by the user; A plurality of key frames containing the user's face image are transmitted to the service device such that the user's face image contained in several key frames is subjected to emotion recognition.
  • Step S203 The service device acquires a user face image uploaded by the user equipment.
  • Step S204 the service device identifies the user's emotion information based on the user's face image.
  • the service device may include, but is not limited to, an implementation such as a network host, a single network server, a plurality of network server sets, or a cloud computing-based computer set.
  • the cloud is composed of a large number of host or network servers based on Cloud Computing, which is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computers.
  • a plurality of key frames including the user's face image are collected for recognition, and the user's face image may be recognized by the depth learning engine to obtain the user's emotion information.
  • the feature extraction may be first performed on the user's face image, with the image feature value as the input value of the deep learning and the user's emotion information as the output value of the deep learning.
  • the image feature values may be color features, texture features, shape features, etc. in the image, which can describe the characteristics of the image to distinguish different images.
  • the characteristics of image feature values corresponding to various emotions may be preset in advance as a decision basis for each hidden layer in deep learning, thereby achieving accurate emotion recognition.
  • Step S205 The service device determines, according to a preset matching rule, a friend user that matches the emotion information of the user.
  • the preset matching rule may be that the user's emotion information is matched with the candidate user's emotion information to obtain a matching result.
  • the step may be: if the emotional information of the user and the emotional information of the candidate user are in a preset relationship, the candidate user is determined as a friend user that matches the emotional information of the user.
  • the preset relationship between the user's emotional information and the emotional information of the candidate user may be set according to actual needs. For example, some users may want to talk with people who have the same emotion when the mood is low, and some users may When you are feeling down, you may want to be able to enlighten yourself with someone who is in a good mood. Therefore, the preset relationship may be emotionally similar, opposite, or other specific association.
  • a candidate user is another user who also needs the service device to recommend a friend, for example, a user who also uploads a user's face image through the user device used by the user to perform emotion recognition.
  • the service device obtains a user's face image uploaded by many user devices, and performs emotion recognition on the user device to obtain emotional information of the user as a candidate user.
  • the service device can maintain a database dedicated to storing emotional information of candidate users.
  • a friend user that matches the user's emotional information when determining a friend user that matches the user's emotional information, may be determined in the user repository, and the user repository is specifically used for The emotion information of the candidate user is stored, and the emotion information of the candidate user in the preset time is saved.
  • the emotion information of the candidate user for performing matching may be valid information generated by the service device within a preset time, that is, only the candidate user is saved in the user warehouse within a preset time.
  • Emotional information For example, the preset time can be set to 10 minutes.
  • the service device when the current user requests a recommended friend, the current user may also serve as a candidate user for other users. Therefore, after identifying the user's emotion information based on the user's facial image, the service device also saves the user's emotion information into the user warehouse as a candidate user when other user friends are recommended, and When the user's emotional information is stored in the user's warehouse for more than a preset time, the user's emotional information is deleted.
  • the preset matching rule may also be that the user's emotion information is matched with the user image information of the candidate user to obtain a matching result.
  • the user portrait information of the candidate user may be label information set by the candidate user for himself. For example, in the personal information option of the social application software, some users may set various labels for themselves, and these labels may indicate the user. Social attributes such as personality, personality traits, and self-awareness.
  • the user portrait information may also be a social attribute determined by the service device after collecting various types of historical data about the candidate user, such as a shopping record by the user history, an age distribution of the chat object, and a transfer. Recording, etc., can analyze the user's preferences in social activities to determine the social attributes of the user.
  • the specific social attribute is suitable for chatting with the user of the certain emotion, whereby the service device determines the user with the user according to the preset matching rule.
  • the candidate user may be determined as a buddy user that matches the user's emotional information if the user's emotional information matches the candidate user's user portrait information.
  • Step S206 The service device sends the recommendation information of the friend user to the user equipment.
  • the recommendation information may be related to adding a push message to the friend of the friend user, so that after receiving the request, the user device may view the specific information of the friend user, and determine whether to send a request for adding a friend to the friend user.
  • Step S207 The user equipment acquires recommendation information of the friend user from the service device.
  • the user equipment presents the recommendation information of the friend user to the user.
  • the user interface of the social application software run by the user equipment may display whether to add a friend, and the user may click to view related information of the friend user in the interface. You can also choose whether to add or not. If you choose to add, it will automatically send a request to add a friend to the friend. Therefore, in the friend recommendation scheme provided by some embodiments of the present application, the current mood of the user is considered when recommending the friend to the user, so that the user is recommended to meet the current social needs of the user, thereby improving the flexibility of the friend recommendation. The experience is better.
  • FIG. 3 is a schematic flowchart of a solution of some embodiments of the present application applied to a social application software, where the social application software provides a service to a user adopting a C/S framework, that is, a client/server architecture, and the client runs.
  • the server can be an application server of the social application software, and provides support for various functions of the client.
  • the friend recommendation function needs to be supported by the server.
  • step S301 the user A enters the APP (application software) and opens the friend function.
  • APP application software
  • Step S302 after detecting that the user opens the friend function, the client starts the camera to acquire a continuous image about the user's face.
  • Step S303 the client extracts a plurality of key frames including the user's face image from the continuous image, and uploads to the server.
  • Step S304 the depth learning engine of the server identifies the emotion of the user A at this time through the user's face image.
  • step S305 the server adds the recognized emotion of the user to the warehouse L.
  • the repository L is a user repository maintained by the server for storing information about the user who is using the dating function and has completed emotion recognition.
  • Step S306 the server searches the user repository L for other users similar or complementary to the user A according to the preset rule.
  • step S307 the server returns the search result to the client.
  • Step S308 the client decodes the search result returned by the server.
  • step S309 the client prompts the decoded result in the user interface.
  • the user equipment after acquiring a user facial image, the user equipment uploads the user facial image to the service device, and the service device identifies the user's emotional information based on the user facial image, and Determining, according to a preset matching rule, a friend user that matches the emotion information of the user, and then sending the recommendation information of the friend user to the user equipment, and being presented to the user by the user equipment, thereby recommending to the user
  • a friend considers the current emotion of the user, the user is recommended to the user who meets his current social needs, thereby improving the flexibility of the friend recommendation and the user experience is better.
  • a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application.
  • the program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a program according to the program.
  • the instruction runs in the working memory of the computer device.
  • some embodiments in accordance with the present application include an apparatus as shown in FIG.
  • the apparatus comprising one or more memories 410 storing computer readable instructions and a processor 420 for executing computer readable instructions, wherein When the computer readable instructions are executed by the processor, the apparatus is caused to perform methods and/or technical solutions based on the various embodiments of the foregoing application.
  • some embodiments of the present application also provide a computer readable medium having stored thereon computer program instructions executable by a processor to implement the methods of the foregoing various embodiments of the present application and / or technical solutions.
  • the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
  • the software program of the present application can be executed by a processor to implement the above steps or functions.
  • the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Evolutionary Computation (AREA)
  • Economics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computing Systems (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Provided is a friend recommendation solution. In the solution, a user equipment acquires a user face image and uploads the user face image to a service device; the service device recognizes emotion information of a user based on the user face image, and determines, according to a pre-set matching rule, a friend user matching the emotion information of the user, and then sends recommendation information of the friend user to the user equipment; and the user equipment presents same to the user. Therefore, the current emotion of a user is taken into consideration when a friend is recommended to the user, so as to recommend, to the user, a friend satisfying a current social demand thereof, thereby improving the flexibility of friend recommendation and creating a good user experience.

Description

好友推荐方法及设备Friend recommendation method and device 技术领域Technical field
本申请涉及信息技术领域,尤其涉及一种好友推荐方法及设备。The present application relates to the field of information technology, and in particular, to a friend recommendation method and device.
背景技术Background technique
随着互联网技术的不断发展,互联网公司提供各种各样社交网络产品。用户通过所述社交网络产品可以形成社交圈,例如用户可以通过网络结交新朋友及联系老朋友,如果用户的好友数量很少,用户就不容易体验到社交网络产品带来的网络社交的便利性。With the continuous development of Internet technology, Internet companies offer a variety of social networking products. The user can form a social circle through the social network product. For example, the user can make new friends and contact old friends through the network. If the number of friends of the user is small, the user cannot easily experience the convenience of social networking brought by the social network product. .
好友关系是社交网络中最重要的属性之一,对用户的活跃程度具有重要的影响,通过促进用户交友可以提升用户的活跃程度,因此,对于用户来说,社交平台能够推荐合适的好友将在一定程度上提高用户的黏性。而目前没有一种用户体验较好的好友推荐方法。A friend relationship is one of the most important attributes in a social network. It has an important influence on the user's activity level. By promoting user friendship, the user's activity level can be improved. Therefore, for the user, the social platform can recommend a suitable friend to be in the To some extent, improve the user's stickiness. At present, there is no friend recommendation method with better user experience.
申请内容Application content
本申请的目的之一是提供一种好友推荐方案。One of the purposes of the present application is to provide a friend recommendation scheme.
为实现上述目的,本申请的一些实施例提供了一种服务设备端的好友推荐方法,该方法包括:获取用户设备上传的用户脸部图像;基于所述用户脸部图像识别用户的情绪信息;根据预设的匹配规则,确定与所述用户的情绪信息匹配的好友用户;将所述好友用户的推荐信息发送至所述用户设备。In order to achieve the above object, some embodiments of the present application provide a method for recommending a friend of a service device, the method comprising: acquiring a user face image uploaded by the user device; and identifying the user's emotion information based on the user face image; a preset matching rule, determining a friend user that matches the emotion information of the user; and sending the recommendation information of the friend user to the user equipment.
本申请的一些实施例还提供了一种用户设备端的好友推荐方法,其中,该方法包括:获取用户脸部图像,并将所述用户脸部图像发送至服务设备;从服务设备获取好友用户的推荐信息;向用户呈现所述好友用户的推荐信息。Some embodiments of the present application further provide a friend recommendation method on a user equipment side, where the method includes: acquiring a user face image, and transmitting the user face image to a service device; acquiring a friend user from the service device Recommendation information; presenting the recommendation information of the friend user to the user.
本申请的一些实施例还提供了一种实现好友推荐的设备,该设备包 括用于存储计算机程序指令的存储器和用于执行计算机程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发所述设备执行前述用户设备或者服务设备端的好友推荐方法。Some embodiments of the present application also provide an apparatus for implementing a friend recommendation, the apparatus comprising a memory for storing computer program instructions and a processor for executing computer program instructions, wherein the computer program instructions are When executed, the device is triggered to perform the friend recommendation method of the foregoing user equipment or service device end.
本申请的一些实施例还提供了一种计算机可读介质,其上存储有计算机程序指令,所述计算机可读指令可被处理器执行以实现前述用户设备或者服务设备端的好友推荐方法。Some embodiments of the present application also provide a computer readable medium having stored thereon computer program instructions executable by a processor to implement a friend recommendation method of the aforementioned user equipment or service device side.
本申请的一些实施例提供的方案中,用户设备在获取用户脸部图像之后,向服务设备上传该用户脸部图像,服务设备基于所述用户脸部图像识别用户的情绪信息,并根据预设的匹配规则,确定与所述用户的情绪信息匹配的好友用户,然后将所述好友用户的推荐信息发送至所述用户设备,并由用户设备呈现给用户,由此在向用户推荐好友时考虑用户当前的情绪,从而为用户推荐符合其当前社交需求的好友,从而提高了好友推荐的灵活性,用户体验较好。In the solution provided by some embodiments of the present application, after acquiring the user's facial image, the user equipment uploads the user facial image to the service device, and the service device identifies the user's emotional information based on the user facial image, and according to the preset a matching rule, determining a friend user that matches the emotional information of the user, and then transmitting the recommendation information of the friend user to the user device, and presented to the user by the user device, thereby considering when recommending the friend to the user The user's current emotions, thereby recommending friends who meet their current social needs, thereby improving the flexibility of friend recommendation and better user experience.
附图说明DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present application will become more apparent from the detailed description of the accompanying drawings.
图1为本申请的一些实施例提供的一种实现好友推荐的系统的示意图;FIG. 1 is a schematic diagram of a system for implementing friend recommendation according to some embodiments of the present application;
图2为本申请一些实施例在实现好友推荐时用户设备和服务设备之间的交互流程图;2 is a flow chart of interaction between a user equipment and a service device when implementing friend recommendation according to some embodiments of the present application;
图3为本申请的一些实施例的方案应用于社交应用软件时的流程示意图;3 is a schematic flowchart of a solution of some embodiments of the present application applied to a social application software;
图4为本申请的一些实施例提供的一种实现好友推荐的设备的示意图;4 is a schematic diagram of an apparatus for implementing friend recommendation according to some embodiments of the present application;
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings denote the same or similar components.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合 本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
在本申请一个典型的配置中,终端、服务网络的设备均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the devices of the terminal and the service network each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。Computer readable media includes both permanent and non-persistent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), EEPROM, flash memory or other memory technology, compact disc (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette A tape, tape storage or other magnetic storage device or any other non-transportable medium can be used to store information that can be accessed by a computing device.
图1示出了本申请的一些实施例提供的一种实现好友推荐的系统的示意图,该系统包括了用户设备110和服务设备120,在实现好友推荐时,用户设备110和服务设备120之间的交互流程如图2所示,包括以下处理步骤:FIG. 1 is a schematic diagram of a system for implementing friend recommendation provided by some embodiments of the present application. The system includes a user equipment 110 and a service device 120. When a friend recommendation is implemented, between the user equipment 110 and the service device 120. The interaction process is shown in Figure 2 and includes the following processing steps:
步骤S201,用户设备获取用户脸部图像。在实际场景中,所述用户设备可以是手机、平板电脑、计算机、可穿戴设备等各类电子设备,此类设备可以通过内置或者外接的摄像装置来拍摄关于用户的图像,从而获取到用户脸部图像。例如,用户在使用手机中安装的社交应用软件时,打开社交应用软件的交友功能,此时手机的前置摄像头启动,拍摄用户脸部图像,从而实现好友推荐功能。Step S201, the user equipment acquires a user face image. In an actual scenario, the user equipment may be a mobile phone, a tablet computer, a computer, a wearable device, or the like, and the device may capture an image of the user through a built-in or external camera device to obtain a user's face. Part image. For example, when the user uses the social application installed in the mobile phone, the friend of the social application is opened, and the front camera of the mobile phone is activated to capture the facial image of the user, thereby implementing the friend recommendation function.
步骤S202,用户设备将所述用户脸部图像发送至服务设备,使得服 务设备可以从用户脸部图像中识别出用户情绪,进而实现好友推荐。为了提高服务设备从用户脸部图像中识别用户情绪时的准确度,在提供用户脸部图像时,可以提供包含用户脸部图像的多个关键帧,例如用户做出各种表情整个过程中的几个关键帧。Step S202: The user equipment sends the user facial image to the service device, so that the service device can identify the user's emotion from the user's facial image, thereby implementing the friend recommendation. In order to improve the accuracy of the service device in recognizing the user's emotion from the user's face image, when the user's face image is provided, a plurality of key frames including the user's face image may be provided, for example, the user makes various expressions in the whole process. Several keyframes.
由此,用户设备可以采用如下处理方式:首先,获取包含用户脸部图像的连续图像,例如通过摄像头拍摄一段关于用户做出某个表情的完整过程的视频;然后,从所述连续图像中提取多个包含用户脸部图像的多个关键帧,这几个关键帧可以是用户做出某个表情过程中的几个关键画面,以便于精准地识别出用户所做出的表情;最终,将包含用户脸部图像的多个关键帧发送至服务设备,使得通过几个关键帧中包含的用户脸部图像进行情绪识别。Thus, the user equipment can adopt the following processing manners: first, acquiring a continuous image including the user's face image, for example, capturing a video about the complete process of the user making an expression by the camera; and then extracting from the continuous image a plurality of key frames including a user's face image, the key frames may be a few key images in the process of the user making an expression, so as to accurately recognize the expression made by the user; A plurality of key frames containing the user's face image are transmitted to the service device such that the user's face image contained in several key frames is subjected to emotion recognition.
步骤S203,服务设备获取用户设备上传的用户脸部图像。Step S203: The service device acquires a user face image uploaded by the user equipment.
步骤S204,服务设备基于所述用户脸部图像识别用户的情绪信息。其中,服务设备可以包括但不限于如网络主机、单个网络服务器、多个网络服务器集或基于云计算的计算机集合等实现。在此,云由基于云计算(Cloud Computing)的大量主机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。Step S204, the service device identifies the user's emotion information based on the user's face image. The service device may include, but is not limited to, an implementation such as a network host, a single network server, a plurality of network server sets, or a cloud computing-based computer set. Here, the cloud is composed of a large number of host or network servers based on Cloud Computing, which is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computers.
为了提高情绪识别的准确度,采集包含用户脸部图像的多个关键帧进行识别之外,还可以通过深度学习引擎对用户脸部图像进行识别,从而获取用户的情绪信息。在通过该方式识别情绪信息时,可以首先对用户脸部图像进行特征提取,以图像特征值作为深度学习的输入值,用户的情绪信息作为深度学习的输出值。例如图像特征值可以是图像中的色彩特征、纹理特征、形状特征等,这些特征能够描述图像的特点,从而区别不同的图像。在本申请的一些实施例中,可以预先设置各类情绪对应的图像特征值的特点,作为深度学习中各个隐层(hidden layers)的决策依据,从而实现精准的情绪识别。In order to improve the accuracy of the emotion recognition, a plurality of key frames including the user's face image are collected for recognition, and the user's face image may be recognized by the depth learning engine to obtain the user's emotion information. When the emotion information is identified by this method, the feature extraction may be first performed on the user's face image, with the image feature value as the input value of the deep learning and the user's emotion information as the output value of the deep learning. For example, the image feature values may be color features, texture features, shape features, etc. in the image, which can describe the characteristics of the image to distinguish different images. In some embodiments of the present application, the characteristics of image feature values corresponding to various emotions may be preset in advance as a decision basis for each hidden layer in deep learning, thereby achieving accurate emotion recognition.
步骤S205,服务设备根据预设的匹配规则,确定与所述用户的情绪信息匹配的好友用户。Step S205: The service device determines, according to a preset matching rule, a friend user that matches the emotion information of the user.
在本申请的一些实施例中,预设的匹配规则可以是将用户的情绪信息与候选用户的情绪信息进行匹配,来获取匹配结果。具体地,该步骤可以是:若所述用户的情绪信息与候选用户的情绪信息符合预设关系,将所述候选用户确定为与所述用户的情绪信息匹配的好友用户。其中,用户的情绪信息与候选用户的情绪信息之间的预设关系可以根据实际需求来设定,例如有的用户可能在情绪低落时,希望与具有同样情绪的人进行交谈,而有的用户在情绪低落时,则可能会希望与能够由心情不错的人来开导自己。因此,预设关系可以情绪相似、相反或者其它特定关联关系。In some embodiments of the present application, the preset matching rule may be that the user's emotion information is matched with the candidate user's emotion information to obtain a matching result. Specifically, the step may be: if the emotional information of the user and the emotional information of the candidate user are in a preset relationship, the candidate user is determined as a friend user that matches the emotional information of the user. The preset relationship between the user's emotional information and the emotional information of the candidate user may be set according to actual needs. For example, some users may want to talk with people who have the same emotion when the mood is low, and some users may When you are feeling down, you may want to be able to enlighten yourself with someone who is in a good mood. Therefore, the preset relationship may be emotionally similar, opposite, or other specific association.
候选用户是同样需要服务设备为其推荐好友的其它用户,例如也通过其使用的用户设备上传了用户脸部图像,来进行情绪识别的用户。在实际场景中,会存在很多有社交需求的其它用户,这些其它用户会使用各自的用户设备与服务设备进行交互,使得服务设备能够为其推荐好友。由此,服务设备会获取到很多用户设备上传的用户脸部图像,都会对其进行情绪识别以获取到这些用户的情绪信息,来作为候选用户。由此,服务设备可以维护一个数据库,专门用于存储候选用户的情绪信息。本申请的一些实施例中,在确定与所述用户的情绪信息匹配的好友用户时,可以在用户仓库中确定与所述用户的情绪信息匹配的好友用户,所述用户仓库即为专门用于存储候选用户的情绪信息,保存有预设时间内候选用户的情绪信息。A candidate user is another user who also needs the service device to recommend a friend, for example, a user who also uploads a user's face image through the user device used by the user to perform emotion recognition. In an actual scenario, there are many other users who have social needs, and these other users interact with the service device using their respective user devices, so that the service device can recommend friends for them. As a result, the service device obtains a user's face image uploaded by many user devices, and performs emotion recognition on the user device to obtain emotional information of the user as a candidate user. Thus, the service device can maintain a database dedicated to storing emotional information of candidate users. In some embodiments of the present application, when determining a friend user that matches the user's emotional information, a friend user that matches the user's emotional information may be determined in the user repository, and the user repository is specifically used for The emotion information of the candidate user is stored, and the emotion information of the candidate user in the preset time is saved.
由于情绪信息是一个相对短时的属性,即用户的情绪可能会随时发生变化,例如原本心情不佳的用户可能会因为一个事件发生情绪变化,变得高兴。因此,本申请的一些实施例中,用于进行匹配的候选用户的情绪信息,可以是服务设备在预设时间内生成的有效信息,即用户仓库中保存的仅仅是预设时间内候选用户的情绪信息。例如,预设时间可以设定为10分钟,当候选用户生成的情绪信息超过10分钟时,认为该用户的情绪有较大可能已经发生了变化,那么会将其从用户仓库中删除,以避免造成不准确的推荐。Since emotional information is a relatively short-term attribute, that is, the user's emotions may change at any time. For example, a user who is in a bad mood may become happy because of an emotional change in an event. Therefore, in some embodiments of the present application, the emotion information of the candidate user for performing matching may be valid information generated by the service device within a preset time, that is, only the candidate user is saved in the user warehouse within a preset time. Emotional information. For example, the preset time can be set to 10 minutes. When the emotional information generated by the candidate user exceeds 10 minutes, it is considered that the user's emotion has a greater possibility that it has changed, then it will be deleted from the user warehouse to avoid Cause inaccurate recommendations.
在上述实现场景中,当前用户在请求推荐好友时,也可以作为其它 用户的候选用户。由此,服务设备在基于所述用户脸部图像识别用户的情绪信息之后,还会将所述用户的情绪信息保存至所述用户仓库中,作为其它用户好友推荐时的候选用户,并且在所述用户的情绪信息在所述用户仓库中的保存时间超过预设时间时,删除所述用户的情绪信息。In the above implementation scenario, when the current user requests a recommended friend, the current user may also serve as a candidate user for other users. Therefore, after identifying the user's emotion information based on the user's facial image, the service device also saves the user's emotion information into the user warehouse as a candidate user when other user friends are recommended, and When the user's emotional information is stored in the user's warehouse for more than a preset time, the user's emotional information is deleted.
在本申请的另一些实施例中,预设的匹配规则也可以是将用户的情绪信息与候选用户的用户画像信息进行匹配,来获取匹配结果。候选用户的用户画像信息可以是候选用户为自己设定的标签信息,例如在社交应用软件的个人信息选项中,某些用户会为自己设定各种各样的标签,这些标签可能表示了用户的个性、人格特征、自我认识等社交属性。此外,用户画像信息也可以是由服务设备在收集了关于候选用户的各类历史数据之后,通过数据分析的方式所确定的社交属性,例如通过用户历史的购物记录、聊天对象的年龄分布、转账记录等,可以分出析用户在社交活动中的偏好,从而确定该用户的社交属性。In other embodiments of the present application, the preset matching rule may also be that the user's emotion information is matched with the user image information of the candidate user to obtain a matching result. The user portrait information of the candidate user may be label information set by the candidate user for himself. For example, in the personal information option of the social application software, some users may set various labels for themselves, and these labels may indicate the user. Social attributes such as personality, personality traits, and self-awareness. In addition, the user portrait information may also be a social attribute determined by the service device after collecting various types of historical data about the candidate user, such as a shopping record by the user history, an age distribution of the chat object, and a transfer. Recording, etc., can analyze the user's preferences in social activities to determine the social attributes of the user.
由于社交属性能够反映一个用户在社交活动中的某些偏好,特定的社交属性会适合于和某种情绪的用户进行聊天,由此,服务设备在根据预设的匹配规则,确定与所述用户的情绪信息匹配的好友用户时,可以是:若所述用户的情绪信息与候选用户的用户画像信息符合预设关系,将所述候选用户确定为与所述用户的情绪信息匹配的好友用户。Since the social attribute can reflect a certain preference of the user in the social activity, the specific social attribute is suitable for chatting with the user of the certain emotion, whereby the service device determines the user with the user according to the preset matching rule. When the emotional information matches the buddy user, the candidate user may be determined as a buddy user that matches the user's emotional information if the user's emotional information matches the candidate user's user portrait information.
步骤S206,服务设备将所述好友用户的推荐信息发送至所述用户设备。所述推荐信息可以是关于该好友用户的好友添加推送信息,使得用户设备在收到该请求之后,可以查看该好友用户的具体信息,并且确定是否向该好友用户发送添加好友的请求。Step S206: The service device sends the recommendation information of the friend user to the user equipment. The recommendation information may be related to adding a push message to the friend of the friend user, so that after receiving the request, the user device may view the specific information of the friend user, and determine whether to send a request for adding a friend to the friend user.
步骤S207,用户设备从服务设备获取好友用户的推荐信息。Step S207: The user equipment acquires recommendation information of the friend user from the service device.
步骤S208,用户设备向用户呈现所述好友用户的推荐信息,例如可以在用户设备所运行的社交应用软件的用户界面中显示是否添加好友,用户可以在该界面中点击查看好友用户的相关信息,也可以选择是否添加,若选择添加,会自动向该好友用户发送添加好友的请求。由此,本申请的一些实施例提供的好友推荐方案中,在向用户推荐好友时考虑用户当前的情绪,从而为用户推荐符合其当前社交需求的好友,从而提高 了好友推荐的灵活性,用户体验较好。In step S208, the user equipment presents the recommendation information of the friend user to the user. For example, the user interface of the social application software run by the user equipment may display whether to add a friend, and the user may click to view related information of the friend user in the interface. You can also choose whether to add or not. If you choose to add, it will automatically send a request to add a friend to the friend. Therefore, in the friend recommendation scheme provided by some embodiments of the present application, the current mood of the user is considered when recommending the friend to the user, so that the user is recommended to meet the current social needs of the user, thereby improving the flexibility of the friend recommendation. The experience is better.
图3示出了本申请的一些实施例的方案应用于社交应用软件时的流程示意图,其中,社交应用软件向用户提供服务时采用C/S构架,即客户端/服务端的构架,客户端运行于用户使用的各类终端设备,例如手机、平板电脑、计算机等,服务端可以是该社交应用软件的应用服务器,为客户端的各类功能提供支持。例如本实施例中好友推荐功能需要由服务端提供支持,在实现该功能时,具体交互流程如下:FIG. 3 is a schematic flowchart of a solution of some embodiments of the present application applied to a social application software, where the social application software provides a service to a user adopting a C/S framework, that is, a client/server architecture, and the client runs. For various types of terminal devices used by users, such as mobile phones, tablets, computers, etc., the server can be an application server of the social application software, and provides support for various functions of the client. For example, in this embodiment, the friend recommendation function needs to be supported by the server. When the function is implemented, the specific interaction process is as follows:
步骤S301,用户A进入APP(应用软件),打开交友功能。In step S301, the user A enters the APP (application software) and opens the friend function.
步骤S302,客户端检测到用户打开交友功能后,启动摄像头获取关于用户脸部的连续图像。Step S302, after detecting that the user opens the friend function, the client starts the camera to acquire a continuous image about the user's face.
步骤S303,客户端从连续图像中提取包含用户脸部图像的多个关键帧,并上传到服务端。Step S303, the client extracts a plurality of key frames including the user's face image from the continuous image, and uploads to the server.
步骤S304,服务端的深度学习引擎通过用户脸部图像识别出用户A此时的情绪。Step S304, the depth learning engine of the server identifies the emotion of the user A at this time through the user's face image.
步骤S305,服务端将识别出的用户的情绪加入到仓库L中。该仓库L是有服务端维护的一个用户仓库,用于存储正在使用该交友功能,并且完成了情绪识别的用户的相关信息。In step S305, the server adds the recognized emotion of the user to the warehouse L. The repository L is a user repository maintained by the server for storing information about the user who is using the dating function and has completed emotion recognition.
步骤S306,服务端根据预置规则在用户仓库L中搜索与用户A情绪相似或者互补的其它用户。Step S306, the server searches the user repository L for other users similar or complementary to the user A according to the preset rule.
步骤S307,服务端将搜索结果返回客户端。In step S307, the server returns the search result to the client.
步骤S308,客户端将服务端返回的搜索结果进行解码。Step S308, the client decodes the search result returned by the server.
步骤S309,客户端在用户界面中提示解码后的结果。In step S309, the client prompts the decoded result in the user interface.
综上,本申请的一些实施例提供的方案中,用户设备在获取用户脸部图像之后,向服务设备上传该用户脸部图像,服务设备基于所述用户脸部图像识别用户的情绪信息,并根据预设的匹配规则,确定与所述用户的情绪信息匹配的好友用户,然后将所述好友用户的推荐信息发送至所述用户设备,并由用户设备呈现给用户,由此在向用户推荐好友时考虑用户当前的情绪,从而为用户推荐符合其当前社交需求的好友,从而提高了好友推荐的灵活性,用户体验较好。In a solution provided by some embodiments of the present application, after acquiring a user facial image, the user equipment uploads the user facial image to the service device, and the service device identifies the user's emotional information based on the user facial image, and Determining, according to a preset matching rule, a friend user that matches the emotion information of the user, and then sending the recommendation information of the friend user to the user equipment, and being presented to the user by the user equipment, thereby recommending to the user When a friend considers the current emotion of the user, the user is recommended to the user who meets his current social needs, thereby improving the flexibility of the friend recommendation and the user experience is better.
另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。而调用本申请的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据程序指令运行的计算机设备的工作存储器中。在此,根据本申请的一些实施例包括一个如图4所示的设备,该设备包括存储有计算机可读指令的一个或多个存储器410和用于执行计算机可读指令的处理器420,其中,当该计算机可读指令被该处理器执行时,使得所述设备执行基于前述本申请的多个实施例的方法和/或技术方案。In addition, a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application. The program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a program according to the program. The instruction runs in the working memory of the computer device. Here, some embodiments in accordance with the present application include an apparatus as shown in FIG. 4, the apparatus comprising one or more memories 410 storing computer readable instructions and a processor 420 for executing computer readable instructions, wherein When the computer readable instructions are executed by the processor, the apparatus is caused to perform methods and/or technical solutions based on the various embodiments of the foregoing application.
此外,本申请的一些实施例还提供了一种计算机可读介质,其上存储有计算机程序指令,所述计算机可读指令可被处理器执行以实现前述本申请的多个实施例的方法和/或技术方案。Moreover, some embodiments of the present application also provide a computer readable medium having stored thereon computer program instructions executable by a processor to implement the methods of the foregoing various embodiments of the present application and / or technical solutions.
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一些实施例中,本申请的软件程序可以通过处理器执行以实现上文步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In some embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Likewise, the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件 或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is obvious to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in this application. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. The plurality of units or devices recited in the device claims may also be implemented by a unit or device by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.

Claims (11)

  1. 一种服务设备端的好友推荐方法,其中,该方法包括:A friend recommendation method on a service device side, wherein the method includes:
    获取用户设备上传的用户脸部图像;Obtaining a user face image uploaded by the user equipment;
    基于所述用户脸部图像识别用户的情绪信息;Identifying user's emotional information based on the user's facial image;
    根据预设的匹配规则,确定与所述用户的情绪信息匹配的好友用户;Determining, according to a preset matching rule, a friend user that matches the emotional information of the user;
    将所述好友用户的推荐信息发送至所述用户设备。Sending the recommendation information of the friend user to the user equipment.
  2. 根据权利要求1所述的方法,其中,获取用户设备上传的用户脸部图像,包括:The method of claim 1, wherein the acquiring a user face image uploaded by the user equipment comprises:
    获取用户设备上传的包含用户脸部图像的多个关键帧,其中,所述关键帧来自于包含用户脸部图像的连续图像。Acquiring a plurality of key frames of the user's face image uploaded by the user equipment, wherein the key frames are from a continuous image including the user's face image.
  3. 根据权利要求1所述的方法,其中,基于所述用户脸部图像识别用户的情绪信息,包括:The method of claim 1, wherein the identifying the user's emotional information based on the user facial image comprises:
    通过深度学习引擎对用户脸部图像进行识别,获取用户的情绪信息。The user's facial image is recognized by the deep learning engine to obtain the user's emotional information.
  4. 根据权利要求1所述的方法,其中,根据预设的匹配规则,确定与所述用户的情绪信息匹配的好友用户,包括:The method according to claim 1, wherein the determining a friend user that matches the emotion information of the user according to a preset matching rule comprises:
    若所述用户的情绪信息与候选用户的情绪信息符合预设关系,将所述候选用户确定为与所述用户的情绪信息匹配的好友用户。If the emotional information of the user and the emotional information of the candidate user are in a preset relationship, the candidate user is determined as a friend user that matches the emotional information of the user.
  5. 根据权利要求4所述的方法,其中,确定与所述用户的情绪信息匹配的好友用户,包括:The method of claim 4, wherein determining a friend user that matches the user's emotional information comprises:
    在用户仓库中确定与所述用户的情绪信息匹配的好友用户,其中,所述用户仓库中保存有预设时间内候选用户的情绪信息。A friend user that matches the emotion information of the user is determined in the user warehouse, wherein the user warehouse stores emotion information of the candidate user within a preset time.
  6. 根据权利要求5所述的方法,其中,在基于所述用户脸部图像识别用户的情绪信息之后,还包括:The method according to claim 5, further comprising: after identifying the user's emotion information based on the user's face image, further comprising:
    将所述用户的情绪信息保存至所述用户仓库中,作为其它用户好友推荐时的候选用户;Saving the user's emotion information into the user warehouse as a candidate user when other user friends are recommended;
    在所述用户的情绪信息在所述用户仓库中的保存时间超过预设时间 时,删除所述用户的情绪信息。When the user's emotional information is stored in the user's warehouse for more than a preset time, the user's emotional information is deleted.
  7. 根据权利要求1所述的方法,其中,根据预设的匹配规则,确定与所述用户的情绪信息匹配的好友用户,包括:The method according to claim 1, wherein the determining a friend user that matches the emotion information of the user according to a preset matching rule comprises:
    若所述用户的情绪信息与候选用户的用户画像信息符合预设关系,将所述候选用户确定为与所述用户的情绪信息匹配的好友用户。If the emotional information of the user and the user portrait information of the candidate user meet a preset relationship, the candidate user is determined as a friend user that matches the emotional information of the user.
  8. 一种用户设备端的好友推荐方法,其中,该方法包括:A friend recommendation method on a user equipment side, wherein the method includes:
    获取用户脸部图像,并将所述用户脸部图像发送至服务设备;Acquiring a user face image and transmitting the user face image to the service device;
    从服务设备获取好友用户的推荐信息;Obtaining recommendation information of the friend user from the service device;
    向用户呈现所述好友用户的推荐信息。The recommendation information of the friend user is presented to the user.
  9. 根据权利要求1所述的方法,其中,获取用户脸部图像,并将所述用户脸部图像发送至服务设备,包括:The method of claim 1, wherein the acquiring the user's face image and transmitting the user's face image to the service device comprises:
    获取包含用户脸部图像的连续图像;Obtaining a continuous image containing the image of the user's face;
    从所述连续图像中提取多个包含用户脸部图像的多个关键帧;Extracting a plurality of key frames including the user's face image from the continuous image;
    将包含用户脸部图像的多个关键帧发送至服务设备。Sends a number of key frames containing the user's face image to the service device.
  10. 一种实现好友推荐的设备,该设备包括用于存储计算机程序指令的存储器和用于执行计算机程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发所述设备执行权利要求1至9中任一项所述的方法。A device for implementing a friend recommendation, the device comprising a memory for storing computer program instructions and a processor for executing computer program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the right The method of any one of 1 to 9 is claimed.
  11. 一种计算机可读介质,其上存储有计算机程序指令,所述计算机可读指令可被处理器执行以实现如权利要求1至9中任一项所述的方法。A computer readable medium having stored thereon computer program instructions executable by a processor to implement the method of any one of claims 1 to 9.
PCT/CN2018/103176 2017-10-27 2018-08-30 Friend recommendation method and device WO2019080637A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711056224.4 2017-10-27
CN201711056224.4A CN107679249A (en) 2017-10-27 2017-10-27 Friend recommendation method and apparatus

Publications (1)

Publication Number Publication Date
WO2019080637A1 true WO2019080637A1 (en) 2019-05-02

Family

ID=61142694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103176 WO2019080637A1 (en) 2017-10-27 2018-08-30 Friend recommendation method and device

Country Status (2)

Country Link
CN (1) CN107679249A (en)
WO (1) WO2019080637A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334658A (en) * 2019-07-08 2019-10-15 腾讯科技(深圳)有限公司 Information recommendation method, device, equipment and storage medium
CN111368219A (en) * 2020-02-27 2020-07-03 广州腾讯科技有限公司 Information recommendation method and device, computer equipment and storage medium
CN111506674A (en) * 2020-05-12 2020-08-07 支付宝(杭州)信息技术有限公司 Matching method and device
CN111984122A (en) * 2020-08-19 2020-11-24 北京鲸世科技有限公司 Electroencephalogram data matching method and system, storage medium and processor
CN112231587A (en) * 2019-06-26 2021-01-15 腾讯科技(深圳)有限公司 Method, device, equipment and medium for determining matched user
CN113076533A (en) * 2020-01-03 2021-07-06 中国移动通信集团广东有限公司 Service processing method and device
CN113435934A (en) * 2021-07-02 2021-09-24 湖北云雷信息技术有限公司 User mood data generation method and device based on bus-taking big data platform
CN113609851A (en) * 2021-07-09 2021-11-05 浙江连信科技有限公司 Psychological idea cognitive deviation identification method and device and electronic equipment
CN114930370A (en) * 2020-01-17 2022-08-19 麦奇集团有限责任公司 System and method for matching users based on selection by third party

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679249A (en) * 2017-10-27 2018-02-09 上海掌门科技有限公司 Friend recommendation method and apparatus
CN108733429B (en) * 2018-05-16 2020-01-21 Oppo广东移动通信有限公司 System resource allocation adjusting method and device, storage medium and mobile terminal
CN109271508B (en) * 2018-08-23 2019-11-15 海南大学 Personalized Area generation and methods of exhibiting based on emotion
CN110958172B (en) * 2018-09-26 2022-09-23 上海掌门科技有限公司 Method, device and computer storage medium for recommending friends
CN110971633B (en) * 2018-09-30 2022-09-27 上海掌门科技有限公司 Method for establishing communication, corresponding device and storage medium
CN110134577A (en) * 2019-04-30 2019-08-16 上海掌门科技有限公司 Show the method and apparatus of user emotion
CN110147454A (en) * 2019-04-30 2019-08-20 东华大学 A kind of emotion communication matching system based on virtual robot
CN111178124A (en) * 2019-09-26 2020-05-19 重庆市链盟联智能科技有限责任公司 Marriage and love dating system and data processing method thereof
CN111729319A (en) * 2020-08-10 2020-10-02 成都卓杭网络科技股份有限公司 Social contact recommendation method and device for game player
CN113691442B (en) * 2021-08-16 2023-02-28 北京百度网讯科技有限公司 Friend recommendation method, device, equipment, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238096A (en) * 2010-05-06 2011-11-09 蒋斌 Control method for updating friend information of chatting tool according to characteristics of login user
CN103929460A (en) * 2013-01-16 2014-07-16 三星电子(中国)研发中心 Method for obtaining state information of contact and mobile device
WO2015074434A1 (en) * 2013-11-21 2015-05-28 中兴通讯股份有限公司 Contact sorting method and apparatus
CN105159979A (en) * 2015-08-27 2015-12-16 广东小天才科技有限公司 friend recommendation method and device
CN106294846A (en) * 2016-08-19 2017-01-04 维沃移动通信有限公司 A kind of recommendation method of information and mobile terminal
CN107679249A (en) * 2017-10-27 2018-02-09 上海掌门科技有限公司 Friend recommendation method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156446A (en) * 2014-08-14 2014-11-19 北京智谷睿拓技术服务有限公司 Social contact recommendation method and device
CN104462468A (en) * 2014-12-17 2015-03-25 百度在线网络技术(北京)有限公司 Information supply method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238096A (en) * 2010-05-06 2011-11-09 蒋斌 Control method for updating friend information of chatting tool according to characteristics of login user
CN103929460A (en) * 2013-01-16 2014-07-16 三星电子(中国)研发中心 Method for obtaining state information of contact and mobile device
WO2015074434A1 (en) * 2013-11-21 2015-05-28 中兴通讯股份有限公司 Contact sorting method and apparatus
CN105159979A (en) * 2015-08-27 2015-12-16 广东小天才科技有限公司 friend recommendation method and device
CN106294846A (en) * 2016-08-19 2017-01-04 维沃移动通信有限公司 A kind of recommendation method of information and mobile terminal
CN107679249A (en) * 2017-10-27 2018-02-09 上海掌门科技有限公司 Friend recommendation method and apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231587A (en) * 2019-06-26 2021-01-15 腾讯科技(深圳)有限公司 Method, device, equipment and medium for determining matched user
CN112231587B (en) * 2019-06-26 2023-09-08 腾讯科技(深圳)有限公司 Method, device, equipment and medium for determining matching users
CN110334658A (en) * 2019-07-08 2019-10-15 腾讯科技(深圳)有限公司 Information recommendation method, device, equipment and storage medium
CN110334658B (en) * 2019-07-08 2023-08-25 腾讯科技(深圳)有限公司 Information recommendation method, device, equipment and storage medium
CN113076533A (en) * 2020-01-03 2021-07-06 中国移动通信集团广东有限公司 Service processing method and device
CN113076533B (en) * 2020-01-03 2023-09-05 中国移动通信集团广东有限公司 Service processing method and device
US11775600B2 (en) 2020-01-17 2023-10-03 Match Group, Llc System and method for matching users based on selections made by third parties
CN114930370A (en) * 2020-01-17 2022-08-19 麦奇集团有限责任公司 System and method for matching users based on selection by third party
CN111368219A (en) * 2020-02-27 2020-07-03 广州腾讯科技有限公司 Information recommendation method and device, computer equipment and storage medium
CN111368219B (en) * 2020-02-27 2024-04-26 广州腾讯科技有限公司 Information recommendation method, device, computer equipment and storage medium
CN111506674A (en) * 2020-05-12 2020-08-07 支付宝(杭州)信息技术有限公司 Matching method and device
CN111506674B (en) * 2020-05-12 2023-11-03 支付宝(杭州)信息技术有限公司 Matching method and device
CN111984122A (en) * 2020-08-19 2020-11-24 北京鲸世科技有限公司 Electroencephalogram data matching method and system, storage medium and processor
CN113435934A (en) * 2021-07-02 2021-09-24 湖北云雷信息技术有限公司 User mood data generation method and device based on bus-taking big data platform
CN113609851A (en) * 2021-07-09 2021-11-05 浙江连信科技有限公司 Psychological idea cognitive deviation identification method and device and electronic equipment

Also Published As

Publication number Publication date
CN107679249A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
WO2019080637A1 (en) Friend recommendation method and device
US11580993B2 (en) Keyword determinations from conversational data
US10423656B2 (en) Tag suggestions for images on online social networks
CN107251006B (en) Gallery of messages with shared interests
US8831276B2 (en) Media object metadata engine configured to determine relationships between persons
US10061985B2 (en) Video understanding platform
US20190034545A1 (en) Searching for Ideograms in an Online Social Network
US20180101540A1 (en) Diversifying Media Search Results on Online Social Networks
US20210089574A1 (en) Systems and methods for digitally fetching music content
US20180144256A1 (en) Categorizing Accounts on Online Social Networks
US10740802B2 (en) Systems and methods for gaining knowledge about aspects of social life of a person using visual content associated with that person
US20100179874A1 (en) Media object metadata engine configured to determine relationships between persons and brands
US20170220578A1 (en) Sentiment-Modules on Online Social Networks
KR101686830B1 (en) Tag suggestions for images on online social networks
US20150193889A1 (en) Digital content publishing guidance based on trending emotions
US20140019264A1 (en) Framework for product promotion and advertising using social networking services
CN108520046B (en) Method and device for searching chat records
US10541001B2 (en) Video highlights
WO2019144849A1 (en) Method and device for pushing information to user
CN108959323B (en) Video classification method and device
CN113366489A (en) Detecting augmented reality targets
WO2017157174A1 (en) Information processing method, device, and terminal device
WO2019085625A1 (en) Emotion picture recommendation method and apparatus
CN110019948B (en) Method and apparatus for outputting information
CN116821475B (en) Video recommendation method and device based on client data and computer equipment

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.07.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18871343

Country of ref document: EP

Kind code of ref document: A1