WO2018072335A1 - Method and apparatus for recommending friending object - Google Patents

Method and apparatus for recommending friending object Download PDF

Info

Publication number
WO2018072335A1
WO2018072335A1 PCT/CN2016/113615 CN2016113615W WO2018072335A1 WO 2018072335 A1 WO2018072335 A1 WO 2018072335A1 CN 2016113615 W CN2016113615 W CN 2016113615W WO 2018072335 A1 WO2018072335 A1 WO 2018072335A1
Authority
WO
WIPO (PCT)
Prior art keywords
feature tag
user feature
identification code
database
device identification
Prior art date
Application number
PCT/CN2016/113615
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 WO2018072335A1 publication Critical patent/WO2018072335A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • 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
    • 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/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for recommending a friend.
  • the invention provides a recommendation method and device for a friend object, which can improve the accuracy of the recommendation of the friend, thereby improving the success rate of the friend.
  • the method for recommending a friend object provided by the present invention specifically includes:
  • the method further includes:
  • first user feature tag includes at least one feature tag
  • second user feature tag includes at least one feature tag
  • the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
  • the database further includes a deposit time when the adjacent device identification code is stored in the database
  • the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
  • the neighboring device identification code exists in the database, determining that the time interval between the depositing time and the current time corresponding to the neighboring device identification code in the database is less than or equal to a preset standard And storing, in the time interval, the adjacent device identification code into the database, and generating a corresponding deposit time;
  • the adjacent device identification code does not exist in the database, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated.
  • the number of times the neighboring device identification code appears in the database is counted, and when the number of occurrences is greater than a preset threshold, generating a neighbor corresponding to the recommended identifier of the neighboring device is generated.
  • the recommendation information of the user of the device includes:
  • the previous scan result list is a scan result list obtained by performing a broadcast information scan last time
  • first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
  • the present invention further provides a recommendation device for a friend object, which specifically includes:
  • a scan result reading module configured to read a scan result in the current scan result list, to obtain a neighbor device identifier and a corresponding first user feature label included in each scan result;
  • a feature tag matching module configured to match the first user feature tag with a second user feature tag stored in advance, and store the adjacent device identification code in a database when the matching is successful;
  • a friend object recommendation module configured to count the number of occurrences of the neighboring device identification code in the database, and when the number of occurrences is greater than a preset threshold, generate a phase corresponding to the recommended identifier of the neighboring device Recommended information for users of neighboring devices.
  • the recommendation device of the friend object further includes:
  • a broadcast information scanning module for scanning broadcast information using short-range wireless technology
  • a scan result storage module configured to acquire the adjacent device identification code and the first user feature tag whenever the neighboring device identification code and the first user feature tag broadcast by the neighboring device are scanned, and the The neighboring device identification code and the first user feature tag are stored in the current scan result list in a one-to-one correspondence.
  • first user feature tag includes at least one feature tag
  • second user feature tag includes at least one feature tag
  • the feature tag matching module specifically includes:
  • a first matching unit configured to match the first user feature tag with the second user feature tag, and when the first user feature tag and the second user feature tag are the same or similar
  • the number of the feature tags is greater than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database;
  • a second matching unit configured to match the first user feature tag with the second user feature tag, and when opposite features between the first user feature tag and the second user feature tag When the number of labels is less than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database.
  • the database further includes a deposit time when the adjacent device identification code is stored in the database
  • the feature tag matching module specifically includes:
  • the same identification code determining unit is configured to match the first user feature tag with the second user feature tag, and determine whether the neighbor device identification code exists in the database when the matching is successful;
  • a first identification code storage unit configured to determine, between the storage time corresponding to the adjacent device identification code in the database, and the current time, if the neighboring device identification code exists in the database When the time interval is less than or equal to the preset standard time interval, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated; or
  • the second identification code storage unit is configured to store the adjacent device identification code in the database if the adjacent device identification code does not exist in the database, and generate a corresponding deposit time.
  • the recommendation device of the friend object further includes:
  • a list similarity calculation module configured to calculate a similarity between the current scan result list and a previous scan result list; wherein the previous scan result list is a scan result list obtained by performing a broadcast information scan last time;
  • a scanning time adjustment module configured to compare the similarity with a preset upper threshold and a preset lower threshold respectively, and when the similarity is greater than the upper threshold, reduce the next broadcast information scanning The duration, when the similarity is less than the lower threshold, increasing the duration of the next broadcast information scan.
  • first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
  • the method and device for recommending a friend of the present invention by matching the user feature tag in the local device with the user feature tag obtained by scanning, screening the user of the local device among the users of all the neighboring devices scanned Interesting objects such as hobbies and similar friends, and by setting a threshold for the number of matching successes, further screening the friends of the dating object, thereby improving the accuracy of the recommendation of the dating object, thereby improving the success rate of the friends.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for recommending a friend object provided by the present invention
  • FIG. 2 is a schematic diagram of an operation process of a local device in an embodiment of a method for recommending a friend object provided by the present invention
  • FIG. 3 is a schematic structural diagram of an embodiment of a recommendation device for a dating object provided by the present invention.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a method for recommending a friend object provided by the present invention, including steps S11 to S13, as follows:
  • S11 Read the scan result in the current scan result list to obtain neighboring devices included in each of the scan results An identification code and a corresponding first user feature tag;
  • S12 Match the first user feature tag with a second user feature tag stored in advance, and store the adjacent device identification code in a database when the matching is successful;
  • the recommendation method of the friend object provided by the embodiment of the present invention is performed by the local device.
  • the local device uses short-range wireless technology (in particular, the short-range wireless technology is BLE technology) to scan and acquire user feature tags broadcasted by other devices in a certain range, and the users on the local device.
  • the feature tag and the user feature tag obtained by the scan are matched and judged, so that the user corresponding to the device whose matching success times reach a certain threshold is recommended to the user of the local device.
  • the user of the local device stores in advance a second user feature tag describing its own characteristics (eg, age, ancestor, hobbies, etc.) locally.
  • the local device scans and obtains the neighboring device identifier and the corresponding first user feature tag broadcast by the neighboring devices in a certain range, the neighboring device identifier and the first user feature tag obtained by the scan are used as the scan result.
  • the one-to-one correspondence is stored in the current scan result list.
  • the adjacent device identification code may be a MAC address of a neighboring device.
  • the local device reads the respective scan results from the current scan result list, thereby obtaining the adjacent device identification code and the corresponding first user feature tag in each scan result.
  • the local device matches the first user feature label in each scan result with the second user feature label stored locally and determines whether the match is successful. If the match is successful, the first user feature label corresponds to The adjacent device identification code is stored in the database; otherwise, it is not processed. In particular, the matching process can also be done in the cloud server.
  • the local device uploads the scan result and the local device identifier read from the current scan result list and the second user feature tag stored in the local to the cloud server, so that the cloud server pairs the first user feature tag and the second user.
  • the feature tag performs a matching judgment and returns the matching judgment result to the local device.
  • the local device identifier can be the MAC address of the local device.
  • the local device separately counts the number of occurrences of each adjacent device identification code in the database according to the neighboring device identification codes stored in the database, and compares the number of times obtained by each statistic with a preset threshold. If the number of occurrences of a neighboring device identifier is greater than the threshold, the recommendation information of the user who recommends the neighboring device corresponding to the neighboring device identifier is generated, and the user of the local device is prompted to find the friend object, wherein The reminder may be to push the recommendation information to the user, or the local device itself may vibrate, flash, and the like.
  • the local device uses the short-range wireless technology to broadcast the local device identification code and the locally stored second user feature tag to the T1 broadcast
  • the short-range wireless technology is used to connect other devices in a certain range.
  • the broadcasted neighboring device identification code and the corresponding first user feature tag are scanned for a duration of T2, and after the scanning is finished, the scan result obtained by the scanning is processed, and the loop is performed accordingly.
  • FIG 2 it is a local device. Schematic diagram of the running process.
  • the local device does not scan the neighbor device identifier broadcasted by the other device and the corresponding first user feature tag, or when the first user feature tag obtained by all the scans does not match the second user feature tag stored locally
  • the adjacent device identifiers stored in the database do not reach the preset threshold in the database
  • compare the current scan result list with the previous scan result list and adjust T1 and T2 according to the comparison result. value.
  • the current scan result list is obtained by scanning the information broadcast by other devices in a certain range around the local device, and the previous scan result list is scanned by the local device for information broadcasted by other devices in a certain range. obtain.
  • the friends of all the neighboring devices that are scanned are selected to be similar to the user interests of the local devices, and the pair is passed.
  • the number of matching successes is set to a threshold, so that the friends of the dating object are further filtered, so that the accuracy of the recommendation of the dating object can be improved, thereby improving the success rate of the friends.
  • the method further includes:
  • the local device broadcasts the short-range wireless technology (in particular, the short-range wireless technology is BLE technology) to other devices in a certain range around.
  • the information is scanned, and when the neighboring device identifier broadcasted by a neighboring device and the corresponding first user feature tag are scanned, the neighboring device identifier and the corresponding first user feature tag are acquired, and The obtained adjacent device identification code and the first user feature tag are stored in the current scan result list in a one-to-one correspondence with the scan result.
  • first user feature tag includes at least one feature tag
  • second user feature tag includes at least one feature tag
  • the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
  • the local device matches the obtained first user feature tag and the second user feature tag stored locally, and can compare the first user feature tag with the second user feature tag (eg, “like basketball” and “Like basketball” or similar (such as “like basketball” and “like NBA") number of feature tags, and compare the number of the same or similar feature tags with a preset threshold to achieve, It is also possible to count the number of feature tags of the opposite between the first user feature tag and the second user feature tag (eg, "like meat” and “vegan”), and the opposite feature tags The number is compared with a preset threshold to achieve a comparison.
  • the matching result is a successful match, and the first user feature tag is The corresponding adjacent device identification code is stored in the database.
  • the current location of the local device and the current time may be stored in the database correspondingly.
  • the current location of the local device can be obtained through a local GPS module, or can be obtained by communicating with other smart devices that can obtain the current location for Bluetooth communication.
  • the database further includes a deposit time when the adjacent device identification code is stored in the database
  • the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
  • the neighboring device identification code exists in the database, determining that the time interval between the depositing time and the current time corresponding to the neighboring device identification code in the database is less than or equal to a preset standard And storing, in the time interval, the adjacent device identification code into the database, and generating a corresponding deposit time;
  • the adjacent device identification code does not exist in the database, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated.
  • the local device when the local device stores the successfully matched neighbor device identification code into the database, the local device generates the storage time of the adjacent device identifier in the database.
  • the local device determines whether the neighbor device identifier corresponding to the first user feature tag exists in the database, if any And determining whether the time interval between the deposit time and the current time corresponding to the neighbor device identifier stored in the database is less than or equal to a preset standard time interval, and if so, The scan result obtained by the local device is a new scan result, and the adjacent device identification code is stored in the database, and the corresponding deposit time is generated, and if not, no processing is performed. If the neighbor device identifier corresponding to the first user feature tag does not exist in the database, the neighbor device identifier corresponding to the first user feature tag is directly stored in the database, and a corresponding deposit time is generated. .
  • the counting of the number of occurrences of the neighboring device identification code in the database is performed, and when the number of occurrences is greater than a preset threshold, generating the recommendation of the neighboring device is generated.
  • the method further includes:
  • the previous scan result list is a scan result list obtained by performing a broadcast information scan last time
  • the local device calculates the similarity between the current scan result list and the previous scan result list, and calculates the obtained similarity and the preset upper limit respectively.
  • the threshold is compared with the preset lower threshold. If the similarity is greater than the upper threshold, it is considered that the scan result obtained by the scan is smaller than the scan result obtained by the previous scan, and the local device is in a place where the crowd mobility is small. Therefore, the duration of the next broadcast information scanning is appropriately reduced; if the similarity is smaller than the lower threshold, it is considered that the scan result obtained by the scan differs greatly from the scan result obtained by the previous scan, and the local device is in a crowd flow. A more sexual location, so the duration of the next broadcast information scan is appropriately increased.
  • first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
  • the feature tags in the first user feature tag and the second user feature tag are tags that describe the user's personal characteristics (eg, age, ancestry, hobbies, etc.).
  • the method for recommending a friend object in the embodiment of the present invention matches the user feature tag in the local device with the user feature tag obtained by scanning, so as to filter out the user of the local device among the users of all the neighboring devices scanned.
  • Interesting hobbies and other similar friends and by setting a threshold on the number of matching successes, Further screening, so as to improve the accuracy of referrals, thus improving the success rate of friends.
  • the present invention also provides a recommendation device for a friend object, which can implement all the processes of the recommendation method of the friend object in the above embodiment.
  • FIG. 3 it is a schematic structural diagram of an embodiment of a recommendation device for a friend object provided by the present invention, which is specifically as follows:
  • the scan result reading module 31 is configured to read the scan result in the current scan result list to obtain the adjacent device identification code and the corresponding first user feature tag included in each scan result;
  • the feature tag matching module 32 is configured to match the first user feature tag with a second user feature tag stored in advance, and store the adjacent device identification code in a database when the matching is successful; ,
  • the friend object recommendation module 33 is configured to count the number of occurrences of the neighboring device identification code in the database, and when the number of occurrences is greater than a preset threshold, generate a recommendation corresponding to the adjacent device identification code. Recommended information for users of adjacent devices.
  • the recommendation device of the friend object further includes:
  • a broadcast information scanning module for scanning broadcast information using short-range wireless technology
  • a scan result storage module configured to acquire the adjacent device identification code and the first user feature tag whenever the neighboring device identification code and the first user feature tag broadcast by the neighboring device are scanned, and the The neighboring device identification code and the first user feature tag are stored in the current scan result list in a one-to-one correspondence.
  • first user feature tag includes at least one feature tag
  • second user feature tag includes at least one feature tag
  • the feature tag matching module 32 specifically includes:
  • a first matching unit configured to match the first user feature tag with the second user feature tag, and when the first user feature tag and the second user feature tag are the same or similar
  • the number of the feature tags is greater than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database;
  • a second matching unit configured to match the first user feature tag with the second user feature tag, and when opposite features between the first user feature tag and the second user feature tag When the number of labels is less than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database.
  • the database further includes a deposit time when the adjacent device identification code is stored in the database
  • the feature tag matching module 32 specifically includes:
  • the same identification code determining unit is configured to match the first user feature tag with the second user feature tag, and determine whether the neighbor device identification code exists in the database when the matching is successful;
  • a first identification code storage unit configured to determine, between the storage time corresponding to the adjacent device identification code in the database, and the current time, if the neighboring device identification code exists in the database When the time interval is less than or equal to the preset standard time interval, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated; or
  • the second identification code storage unit is configured to store the adjacent device identification code in the database if the adjacent device identification code does not exist in the database, and generate a corresponding deposit time.
  • the recommendation device of the friend object further includes:
  • a list similarity calculation module configured to calculate a similarity between the current scan result list and a previous scan result list; wherein the previous scan result list is a scan result list obtained by performing a broadcast information scan last time;
  • a scanning time adjustment module configured to compare the similarity with a preset upper threshold and a preset lower threshold respectively, and when the similarity is greater than the upper threshold, reduce the next broadcast information scanning The duration, when the similarity is less than the lower threshold, increasing the duration of the next broadcast information scan.
  • first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
  • the recommendation device of the friend object matches the user feature tag in the local device with the user feature tag obtained by scanning, so as to filter out the user of the local device among the users of all the neighboring devices scanned.
  • Interesting objects such as hobbies and similar friends, and by setting a threshold for the number of matching successes, further screening the friends of the dating object, thereby improving the accuracy of the recommendation of the dating object, thereby improving the success rate of the friends.

Abstract

Disclosed are a method and apparatus for recommending a friending object. The method for recommending a friending object comprises: reading scan results in a current scan result list to obtain an adjacent device identification code and a corresponding first user feature tag that are comprised in each of the scan results; matching the first user feature tag with a locally pre-stored second user feature tag, and if the matching succeeds, storing the adjacent device identification code to a database; counting the number of appearances of the adjacent device identification code in the database, and if the number of appearances is greater than a preset threshold, generating recommendation information for recommending a user of an adjacent device corresponding to the adjacent device identification code. The present invention can improve the friending object recommendation accuracy, thereby improving the friending success rate.

Description

交友对象的推荐方法和装置Recommended method and device for dating objects 技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种交友对象的推荐方法和装置。The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for recommending a friend.
背景技术Background technique
随着科学技术的发展,现如今市面上出现越来越多的社交交友软件。为了方便用户结交新的朋友,社交交友软件中大多设有“搜索附近的人”的功能,如微信中的“摇一摇”。但是,在现有技术中,设备在运行社交交友软件中的“搜索附近的人”的功能时,只要一搜索到附近一定范围内的设备,即向用户推荐该设备所对应的用户,而并不对搜索到的设备进行区分和筛选,因此会出现交友信息冗余的现象。用户收到过多的交友对象的推荐,而无法从中挑选出与自己兴趣爱好相近的陌生人作为新朋友,因此交友对象推荐的效果差,交友的成功率低。With the development of science and technology, more and more social dating software is appearing on the market today. In order to facilitate users to make new friends, most of the social dating software has the function of "search for nearby people", such as "shake" in WeChat. However, in the prior art, when the device runs the function of “searching nearby people” in the social dating software, as long as a device in a certain range is searched, the user corresponding to the device is recommended to the user, and The searched devices are not distinguished and filtered, so the redundancy of dating information may occur. The user receives too many suggestions for dating objects, and cannot select strangers who are close to their interests and hobbies as new friends. Therefore, the effect of recommending friends is poor, and the success rate of making friends is low.
发明内容Summary of the invention
本发明提出一种交友对象的推荐方法和装置,能够提高交友对象推荐的准确率,从而提高交友的成功率。The invention provides a recommendation method and device for a friend object, which can improve the accuracy of the recommendation of the friend, thereby improving the success rate of the friend.
本发明提供的一种交友对象的推荐方法,具体包括:The method for recommending a friend object provided by the present invention specifically includes:
读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备识别码和相对应的第一用户特征标签;Reading the scan result in the current scan result list to obtain the neighbor device identifier and the corresponding first user feature label included in each scan result;
将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中;Matching the first user feature tag with a second user feature tag stored in advance, and storing the adjacent device identification code in a database when the matching is successful;
统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息。Counting the number of occurrences of the neighboring device identification code in the database, and when the number of occurrences is greater than a preset threshold, generating recommendation information of a user recommending a neighboring device corresponding to the neighboring device identification code .
进一步地,在所述读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备识别码和相对应的第一用户特征标签之前,还包括:Further, before the reading the scan result in the current scan result list to obtain the adjacent device identifier and the corresponding first user feature label included in each scan result, the method further includes:
采用短程无线技术进行广播信息扫描;Scanning broadcast information using short-range wireless technology;
每当扫描到相邻设备广播的相邻设备识别码和第一用户特征标签时,获取所述相邻设备识别码和所述第一用户特征标签,并将所述相邻设备识别码和所述第一用户特征标签一一对 应地存入当前扫描结果列表中。Obtaining the neighboring device identification code and the first user feature tag whenever the neighboring device identification code and the first user feature tag broadcast by the neighboring device are scanned, and the neighboring device identification code and the a pair of first user feature tags It should be stored in the current scan result list.
进一步地,所述第一用户特征标签中包括至少一个特征标签;所述第二用户特征标签中包括至少一个特征标签;Further, the first user feature tag includes at least one feature tag; and the second user feature tag includes at least one feature tag;
则所述将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中,具体包括:Then, the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相同或者相似的特征标签的个数大于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中;或者,Matching the first user feature tag with the second user feature tag, and when the number of identical or similar feature tags between the first user feature tag and the second user feature tag is greater than When the threshold is preset, it is determined that the matching is successful, and the adjacent device identification code is stored in the database; or
将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相反的特征标签的个数小于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中。Matching the first user feature tag with the second user feature tag, and when the number of opposite feature tags between the first user feature tag and the second user feature tag is less than a preset When the threshold is reached, it is determined that the matching is successful, and the adjacent device identification code is stored in the database.
进一步地,所述数据库中还包括将相邻设备识别码存入所述数据库时的存入时间;Further, the database further includes a deposit time when the adjacent device identification code is stored in the database;
则所述将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中,具体包括:Then, the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在匹配成功时,判断所述数据库中是否存在所述相邻设备标识码;Matching the first user feature tag with the second user feature tag, and determining whether the neighbor device identification code exists in the database when the matching is successful;
若所述数据库中存在所述相邻设备识别码,则在判断所述数据库中的所述相邻设备识别码所对应的存入时间与当前时间之间的时间间隔小于或者等于预设的标准时间间隔时,将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间;If the neighboring device identification code exists in the database, determining that the time interval between the depositing time and the current time corresponding to the neighboring device identification code in the database is less than or equal to a preset standard And storing, in the time interval, the adjacent device identification code into the database, and generating a corresponding deposit time;
若所述数据库中不存在所述相邻设备识别码,则将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间。If the adjacent device identification code does not exist in the database, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated.
进一步地,在所述统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息之后,还包括:Further, the number of times the neighboring device identification code appears in the database is counted, and when the number of occurrences is greater than a preset threshold, generating a neighbor corresponding to the recommended identifier of the neighboring device is generated. After the recommendation information of the user of the device, the following includes:
计算所述当前扫描结果列表与先前扫描结果列表之间的相似度;其中,所述先前扫描结果列表为上一次进行广播信息扫描所获得的扫描结果列表;Calculating a similarity between the current scan result list and the previous scan result list; wherein the previous scan result list is a scan result list obtained by performing a broadcast information scan last time;
将所述相似度分别与预设的上限阈值和预设的下限阈值进行比较,当所述相似度大于所述上限阈值时,减小下一次进行所述广播信息扫描的持续时间,当所述相似度小于所述下限阈值时,增加下一次进行所述广播信息扫描的持续时间。Comparing the similarity with a preset upper threshold and a preset lower threshold respectively, and when the similarity is greater than the upper threshold, reducing a duration of the next broadcast information scanning, when When the similarity is less than the lower threshold, the duration of the next broadcast of the broadcast information is increased.
进一步地,所述第一用户特征标签和所述第二用户特征标签均为描述用户的个人特征的标签。 Further, the first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
相应地,本发明还提供了一种交友对象的推荐装置,具体包括:Correspondingly, the present invention further provides a recommendation device for a friend object, which specifically includes:
扫描结果读取模块,用于读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备识别码和相对应的第一用户特征标签;a scan result reading module, configured to read a scan result in the current scan result list, to obtain a neighbor device identifier and a corresponding first user feature label included in each scan result;
特征标签匹配模块,用于将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中;以及,a feature tag matching module, configured to match the first user feature tag with a second user feature tag stored in advance, and store the adjacent device identification code in a database when the matching is successful; and
交友对象推荐模块,用于统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息。a friend object recommendation module, configured to count the number of occurrences of the neighboring device identification code in the database, and when the number of occurrences is greater than a preset threshold, generate a phase corresponding to the recommended identifier of the neighboring device Recommended information for users of neighboring devices.
进一步地,所述交友对象的推荐装置,还包括:Further, the recommendation device of the friend object further includes:
广播信息扫描模块,用于采用短程无线技术进行广播信息扫描;以及,a broadcast information scanning module for scanning broadcast information using short-range wireless technology;
扫描结果存储模块,用于每当扫描到相邻设备广播的相邻设备识别码和第一用户特征标签时,获取所述相邻设备识别码和所述第一用户特征标签,并将所述相邻设备识别码和所述第一用户特征标签一一对应地存入当前扫描结果列表中。a scan result storage module, configured to acquire the adjacent device identification code and the first user feature tag whenever the neighboring device identification code and the first user feature tag broadcast by the neighboring device are scanned, and the The neighboring device identification code and the first user feature tag are stored in the current scan result list in a one-to-one correspondence.
进一步地,所述第一用户特征标签中包括至少一个特征标签;所述第二用户特征标签中包括至少一个特征标签;Further, the first user feature tag includes at least one feature tag; and the second user feature tag includes at least one feature tag;
所述特征标签匹配模块,具体包括:The feature tag matching module specifically includes:
第一匹配单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相同或者相似的特征标签的个数大于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中;或者,a first matching unit, configured to match the first user feature tag with the second user feature tag, and when the first user feature tag and the second user feature tag are the same or similar When the number of the feature tags is greater than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database; or
第二匹配单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相反的特征标签的个数小于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中。a second matching unit, configured to match the first user feature tag with the second user feature tag, and when opposite features between the first user feature tag and the second user feature tag When the number of labels is less than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database.
进一步地,所述数据库中还包括将相邻设备识别码存入所述数据库时的存入时间;Further, the database further includes a deposit time when the adjacent device identification code is stored in the database;
所述特征标签匹配模块,具体包括:The feature tag matching module specifically includes:
相同识别码判断单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在匹配成功时,判断所述数据库中是否存在所述相邻设备标识码;The same identification code determining unit is configured to match the first user feature tag with the second user feature tag, and determine whether the neighbor device identification code exists in the database when the matching is successful;
第一识别码存储单元,用于若所述数据库中存在所述相邻设备识别码,则在判断所述数据库中的所述相邻设备识别码所对应的存入时间与当前时间之间的时间间隔小于或者等于预设的标准时间间隔时,将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间;或者, a first identification code storage unit, configured to determine, between the storage time corresponding to the adjacent device identification code in the database, and the current time, if the neighboring device identification code exists in the database When the time interval is less than or equal to the preset standard time interval, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated; or
第二识别码存储单元,用于若所述数据库中不存在所述相邻设备识别码,则将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间。The second identification code storage unit is configured to store the adjacent device identification code in the database if the adjacent device identification code does not exist in the database, and generate a corresponding deposit time.
进一步地,所述交友对象的推荐装置,还包括:Further, the recommendation device of the friend object further includes:
列表相似度计算模块,用于计算所述当前扫描结果列表与先前扫描结果列表之间的相似度;其中,所述先前扫描结果列表为上一次进行广播信息扫描所获得的扫描结果列表;以及,a list similarity calculation module, configured to calculate a similarity between the current scan result list and a previous scan result list; wherein the previous scan result list is a scan result list obtained by performing a broadcast information scan last time;
扫描时间调整模块,用于将所述相似度分别与预设的上限阈值和预设的下限阈值进行比较,当所述相似度大于所述上限阈值时,减小下一次进行所述广播信息扫描的持续时间,当所述相似度小于所述下限阈值时,增加下一次进行所述广播信息扫描的持续时间。a scanning time adjustment module, configured to compare the similarity with a preset upper threshold and a preset lower threshold respectively, and when the similarity is greater than the upper threshold, reduce the next broadcast information scanning The duration, when the similarity is less than the lower threshold, increasing the duration of the next broadcast information scan.
进一步地,所述第一用户特征标签和所述第二用户特征标签均为描述用户的个人特征的标签。Further, the first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
实施本发明,具有如下有益效果:The implementation of the present invention has the following beneficial effects:
本发明提供的交友对象的推荐方法及装置,通过将本地设备中的用户特征标签与扫描获得的用户特征标签进行匹配,从而在扫描到的所有相邻设备的用户中筛选出与本地设备的用户兴趣爱好等较为相近的交友对象,并且通过对匹配成功次数设置阈值,从而对交友对象进行进一步的筛选,因此能够提高交友对象推荐的准确率,从而提高交友的成功率。The method and device for recommending a friend of the present invention, by matching the user feature tag in the local device with the user feature tag obtained by scanning, screening the user of the local device among the users of all the neighboring devices scanned Interesting objects such as hobbies and similar friends, and by setting a threshold for the number of matching successes, further screening the friends of the dating object, thereby improving the accuracy of the recommendation of the dating object, thereby improving the success rate of the friends.
附图说明DRAWINGS
图1是本发明提供的交友对象的推荐方法的一个实施例的流程示意图;1 is a schematic flow chart of an embodiment of a method for recommending a friend object provided by the present invention;
图2是本发明提供的交友对象的推荐方法的一个实施例中的一个本地设备的运行过程的示意图;2 is a schematic diagram of an operation process of a local device in an embodiment of a method for recommending a friend object provided by the present invention;
图3是本发明提供的交友对象的推荐装置的一个实施例的结构示意图。FIG. 3 is a schematic structural diagram of an embodiment of a recommendation device for a dating object provided by the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参见图1,是本发明提供的交友对象的推荐方法的一个实施例的流程示意图,包括步骤S11至S13,具体如下:FIG. 1 is a schematic flowchart diagram of an embodiment of a method for recommending a friend object provided by the present invention, including steps S11 to S13, as follows:
S11:读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备 识别码和相对应的第一用户特征标签;S11: Read the scan result in the current scan result list to obtain neighboring devices included in each of the scan results An identification code and a corresponding first user feature tag;
S12:将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中;S12: Match the first user feature tag with a second user feature tag stored in advance, and store the adjacent device identification code in a database when the matching is successful;
S13:统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息。S13: Count the number of occurrences of the neighboring device identification code in the database, and when the number of occurrences is greater than a preset threshold, generate a user that recommends the neighboring device corresponding to the neighboring device identification code. Recommended information.
需要说明的是,本发明实施例提供的交友对象的推荐方法由本地设备执行。在本发明实施例中,本地设备采用短程无线技术(特别地,该短程无线技术为BLE技术)对周围一定范围内的其他设备广播的用户特征标签进行扫描和获取,并将本地设备上的用户特征标签和扫描获得的用户特征标签进行匹配判断,从而将匹配成功次数达到一定阈值的设备所对应的用户推荐给本地设备的用户。It should be noted that the recommendation method of the friend object provided by the embodiment of the present invention is performed by the local device. In the embodiment of the present invention, the local device uses short-range wireless technology (in particular, the short-range wireless technology is BLE technology) to scan and acquire user feature tags broadcasted by other devices in a certain range, and the users on the local device. The feature tag and the user feature tag obtained by the scan are matched and judged, so that the user corresponding to the device whose matching success times reach a certain threshold is recommended to the user of the local device.
在一个优选的实施方式中,本地设备的用户预先将描述自身特征(如:年龄、祖籍、兴趣爱好等)的第二用户特征标签存储于本地中。本地设备在扫描获得周围一定范围内的相邻设备所广播的相邻设备识别码和相对应的第一用户特征标签之后,将扫描获得的相邻设备识别码和第一用户特征标签作为扫描结果相互一一对应地存入当前扫描结果列表中。其中,相邻设备识别码可以为相邻设备的MAC地址。随后,本地设备从该当前扫描结果列表中读取各个扫描结果,从而获得每个扫描结果中的相邻设备识别码和相对应的第一用户特征标签。随后,本地设备将各个扫描结果中的第一用户特征标签分别与存储于本地的第二用户特征标签进行匹配并分别判断是否匹配成功,若匹配成功,则将该第一用户特征标签所对应的相邻设备识别码存入数据库中,否则,不作处理。特别地,该匹配过程还可以在云端服务器中完成。本地设备将从当前扫描结果列表中读取的各个扫描结果和本机设备识别码以及存储于本地的第二用户特征标签上传至云端服务器中,使云端服务器对第一用户特征标签和第二用户特征标签进行匹配判断,并将匹配判断结果返回至本地设备。其中,本机设备识别码可以为本地设备的MAC地址。最后,本地设备根据各个存入数据库中的相邻设备识别码,分别统计每个相邻设备识别码在该数据库中出现的次数,并将各个统计获得的次数与预先设置的阈值进行对比判断,若其中某一相邻设备识别码出现的次数大于该阈值,则生成推荐该相邻设备识别码所对应的相邻设备的用户的推荐信息,并提醒本地设备的用户找到了交友对象,其中,提醒的方式可以是向用户推送该推荐信息,也可以是本地设备本身震动、闪灯等等。In a preferred embodiment, the user of the local device stores in advance a second user feature tag describing its own characteristics (eg, age, ancestor, hobbies, etc.) locally. After the local device scans and obtains the neighboring device identifier and the corresponding first user feature tag broadcast by the neighboring devices in a certain range, the neighboring device identifier and the first user feature tag obtained by the scan are used as the scan result. The one-to-one correspondence is stored in the current scan result list. The adjacent device identification code may be a MAC address of a neighboring device. Subsequently, the local device reads the respective scan results from the current scan result list, thereby obtaining the adjacent device identification code and the corresponding first user feature tag in each scan result. Then, the local device matches the first user feature label in each scan result with the second user feature label stored locally and determines whether the match is successful. If the match is successful, the first user feature label corresponds to The adjacent device identification code is stored in the database; otherwise, it is not processed. In particular, the matching process can also be done in the cloud server. The local device uploads the scan result and the local device identifier read from the current scan result list and the second user feature tag stored in the local to the cloud server, so that the cloud server pairs the first user feature tag and the second user. The feature tag performs a matching judgment and returns the matching judgment result to the local device. The local device identifier can be the MAC address of the local device. Finally, the local device separately counts the number of occurrences of each adjacent device identification code in the database according to the neighboring device identification codes stored in the database, and compares the number of times obtained by each statistic with a preset threshold. If the number of occurrences of a neighboring device identifier is greater than the threshold, the recommendation information of the user who recommends the neighboring device corresponding to the neighboring device identifier is generated, and the user of the local device is prompted to find the friend object, wherein The reminder may be to push the recommendation information to the user, or the local device itself may vibrate, flash, and the like.
需要进一步说明的是,本地设备通过采用短程无线技术将本机设备识别码和本地存储的第二用户特征标签对外进行持续时间为T1的广播后,采用短程无线技术对周围一定范围内的其他设备广播的相邻设备识别码和相对应的第一用户特征标签进行持续时间为T2的扫描,并在扫描结束后,对扫描获得的扫描结果进行处理,依此循环。如图2所示,为一个本地设备 的运行过程的示意图。当本地设备没有扫描到其他设备广播的相邻设备识别码和相对应的第一用户特征标签时,或者当所有扫描获得的第一用户特征标签与存储于本地的第二用户特征标签均无法匹配时,或者当所有存入数据库中的相邻设备识别码在数据库中出现的次数均未达到预设的阈值时,比较当前扫描结果列表和先前扫描结果列表,并根据比较结果调整T1和T2的值。其中,当前扫描结果列表通过本地设备本次对周围一定范围内的其他设备所广播的信息进行扫描获得,先前扫描结果列表通过本地设备上一次对周围一定范围内的其他设备所广播的信息进行扫描获得。It should be further noted that after the local device uses the short-range wireless technology to broadcast the local device identification code and the locally stored second user feature tag to the T1 broadcast, the short-range wireless technology is used to connect other devices in a certain range. The broadcasted neighboring device identification code and the corresponding first user feature tag are scanned for a duration of T2, and after the scanning is finished, the scan result obtained by the scanning is processed, and the loop is performed accordingly. As shown in Figure 2, it is a local device. Schematic diagram of the running process. When the local device does not scan the neighbor device identifier broadcasted by the other device and the corresponding first user feature tag, or when the first user feature tag obtained by all the scans does not match the second user feature tag stored locally Or, when all the adjacent device identifiers stored in the database do not reach the preset threshold in the database, compare the current scan result list with the previous scan result list, and adjust T1 and T2 according to the comparison result. value. The current scan result list is obtained by scanning the information broadcast by other devices in a certain range around the local device, and the previous scan result list is scanned by the local device for information broadcasted by other devices in a certain range. obtain.
通过将本地设备中的用户特征标签与扫描获得的用户特征标签进行匹配,从而在扫描到的所有相邻设备的用户中筛选出与本地设备的用户兴趣爱好等较为相近的交友对象,并且通过对匹配成功次数设置阈值,从而对交友对象进行进一步的筛选,因此能够提高交友对象推荐的准确率,从而提高交友的成功率。By matching the user feature tags in the local device with the user feature tags obtained by scanning, the friends of all the neighboring devices that are scanned are selected to be similar to the user interests of the local devices, and the pair is passed. The number of matching successes is set to a threshold, so that the friends of the dating object are further filtered, so that the accuracy of the recommendation of the dating object can be improved, thereby improving the success rate of the friends.
进一步地,在所述读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备识别码和相对应的第一用户特征标签之前,还包括:Further, before the reading the scan result in the current scan result list to obtain the adjacent device identifier and the corresponding first user feature label included in each scan result, the method further includes:
采用短程无线技术进行广播信息扫描;Scanning broadcast information using short-range wireless technology;
每当扫描到相邻设备广播的相邻设备识别码和第一用户特征标签时,获取所述相邻设备识别码和所述第一用户特征标签,并将所述相邻设备识别码和所述第一用户特征标签一一对应地存入当前扫描结果列表中。Obtaining the neighboring device identification code and the first user feature tag whenever the neighboring device identification code and the first user feature tag broadcast by the neighboring device are scanned, and the neighboring device identification code and the The first user feature tags are stored in the current scan result list one by one.
需要说明的是,在从当前扫描列表中读取扫描结果并进行匹配判断之前,本地设备采用短程无线技术(特别地,该短程无线技术为BLE技术)对周围一定范围内的其他设备所广播的信息进行扫描,每当扫描到某一相邻设备广播的相邻设备识别码和相对应的第一用户特征标签时,获取该相邻设备识别码和相对应的第一用户特征标签,并将获得的相邻设备识别码和第一用户特征标签作为扫描结果相互一一对应地存入当前扫描结果列表中。It should be noted that before the scan result is read from the current scan list and the matching judgment is made, the local device broadcasts the short-range wireless technology (in particular, the short-range wireless technology is BLE technology) to other devices in a certain range around. The information is scanned, and when the neighboring device identifier broadcasted by a neighboring device and the corresponding first user feature tag are scanned, the neighboring device identifier and the corresponding first user feature tag are acquired, and The obtained adjacent device identification code and the first user feature tag are stored in the current scan result list in a one-to-one correspondence with the scan result.
进一步地,所述第一用户特征标签中包括至少一个特征标签;所述第二用户特征标签中包括至少一个特征标签;Further, the first user feature tag includes at least one feature tag; and the second user feature tag includes at least one feature tag;
则所述将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中,具体包括:Then, the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相同或者相似的特征标签的个数大于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中;或者, Matching the first user feature tag with the second user feature tag, and when the number of identical or similar feature tags between the first user feature tag and the second user feature tag is greater than When the threshold is preset, it is determined that the matching is successful, and the adjacent device identification code is stored in the database; or
将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相反的特征标签的个数小于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中。Matching the first user feature tag with the second user feature tag, and when the number of opposite feature tags between the first user feature tag and the second user feature tag is less than a preset When the threshold is reached, it is determined that the matching is successful, and the adjacent device identification code is stored in the database.
需要说明的是,第一用户特征标签中和第二用户特征标签中均包括至少一个特征标签。本地设备在将获得的第一用户特征标签和存储于本地的第二用户特征标签进行匹配,可以通过统计第一用户特征标签与第二用户特征标签之间的相同(如:“喜欢篮球”和“喜欢篮球”)或者相似(如:“喜欢篮球”和“喜欢NBA”)的特征标签的个数,并将该相同或者相似的特征标签的个数与预设的阈值进行比较判断来实现,也可以通过统计第一用户特征标签与第二用户特征标签之间的相反(如:“喜欢吃肉”和“素食主义者”)的特征标签的个数,并将该相反的特征标签的个数与预设的阈值进行比较判断来实现。若该相同或者相似的特征标签的个数大于预设的阈值,或者该相反的特征标签的个数小于预设的阈值,则确定匹配结果为匹配成功,并将与该第一用户特征标签相对应的相邻设备识别码存入数据库中。It should be noted that at least one feature tag is included in both the first user feature tag and the second user feature tag. The local device matches the obtained first user feature tag and the second user feature tag stored locally, and can compare the first user feature tag with the second user feature tag (eg, “like basketball” and "Like basketball" or similar (such as "like basketball" and "like NBA") number of feature tags, and compare the number of the same or similar feature tags with a preset threshold to achieve, It is also possible to count the number of feature tags of the opposite between the first user feature tag and the second user feature tag (eg, "like meat" and "vegan"), and the opposite feature tags The number is compared with a preset threshold to achieve a comparison. If the number of the same or similar feature tags is greater than a preset threshold, or the number of the opposite feature tags is less than a preset threshold, determining that the matching result is a successful match, and the first user feature tag is The corresponding adjacent device identification code is stored in the database.
特别地,在将相邻设备识别码存入数据库的同时,还可以将本地设备的当前位置和当前时间等信息相对应地存入数据库。其中,本地设备的当前位置可以通过本地的GPS模块获得,也可以通过与其他能够获得当前位置的智能设备进行蓝牙通讯等通讯获得。In particular, while the adjacent device identification code is stored in the database, the current location of the local device and the current time may be stored in the database correspondingly. The current location of the local device can be obtained through a local GPS module, or can be obtained by communicating with other smart devices that can obtain the current location for Bluetooth communication.
进一步地,所述数据库中还包括将相邻设备识别码存入所述数据库时的存入时间;Further, the database further includes a deposit time when the adjacent device identification code is stored in the database;
则所述将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中,具体包括:Then, the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在匹配成功时,判断所述数据库中是否存在所述相邻设备标识码;Matching the first user feature tag with the second user feature tag, and determining whether the neighbor device identification code exists in the database when the matching is successful;
若所述数据库中存在所述相邻设备识别码,则在判断所述数据库中的所述相邻设备识别码所对应的存入时间与当前时间之间的时间间隔小于或者等于预设的标准时间间隔时,将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间;If the neighboring device identification code exists in the database, determining that the time interval between the depositing time and the current time corresponding to the neighboring device identification code in the database is less than or equal to a preset standard And storing, in the time interval, the adjacent device identification code into the database, and generating a corresponding deposit time;
若所述数据库中不存在所述相邻设备识别码,则将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间。If the adjacent device identification code does not exist in the database, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated.
需要说明的是,本地设备在将匹配成功的相邻设备识别码存入数据库时,在数据库中对应地生成该相邻设备识别码的存入时间。本地设备在将某一第一用户特征标签和存储于本地的第二用户特征标签进行匹配且匹配成功时,判断数据库中是否存在该第一用户特征标签所对应的相邻设备识别码,若存在,则判断存储于该数据库中的该相邻设备识别码所对应的存入时间与当前时间之间的时间间隔是否小于或者等于预设的标准时间间隔,若是,则认为本 地设备本次扫描所得的扫描结果为一个新的扫描结果,并将该相邻设备识别码存入数据库中,同时生成相对应的存入时间,若否,则不作处理。若数据库中不存在该第一用户特征标签所对应的相邻设备识别码,则直接将该第一用户特征标签所对应的相邻设备识别码存入数据库中,并生成相对应的存入时间。It should be noted that, when the local device stores the successfully matched neighbor device identification code into the database, the local device generates the storage time of the adjacent device identifier in the database. When the local device matches and matches the first user feature tag and the second user feature tag stored locally, the local device determines whether the neighbor device identifier corresponding to the first user feature tag exists in the database, if any And determining whether the time interval between the deposit time and the current time corresponding to the neighbor device identifier stored in the database is less than or equal to a preset standard time interval, and if so, The scan result obtained by the local device is a new scan result, and the adjacent device identification code is stored in the database, and the corresponding deposit time is generated, and if not, no processing is performed. If the neighbor device identifier corresponding to the first user feature tag does not exist in the database, the neighbor device identifier corresponding to the first user feature tag is directly stored in the database, and a corresponding deposit time is generated. .
通过在将相邻设备识别码等相邻设备的信息存入数据库之前,对数据库中的该相邻设备识别码的记录进行查询,从而使得在较短时间内的相同的相邻设备的记录不会被重复地存入数据库,保证了数据的准确性,进而能够进一步提高交友对象推荐的准确率。Recording the record of the adjacent device identification code in the database before storing the information of the neighboring device such as the adjacent device identification code into the database, so that the records of the same neighboring device in a short time are not Will be repeatedly stored in the database, to ensure the accuracy of the data, which in turn can further improve the accuracy of referrals.
在另一个优选地实施方式中,在所述统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息之后,还包括:In another preferred embodiment, the counting of the number of occurrences of the neighboring device identification code in the database is performed, and when the number of occurrences is greater than a preset threshold, generating the recommendation of the neighboring device is generated. After the recommendation information of the user of the adjacent device corresponding to the code, the method further includes:
计算所述当前扫描结果列表与先前扫描结果列表之间的相似度;其中,所述先前扫描结果列表为上一次进行广播信息扫描所获得的扫描结果列表;Calculating a similarity between the current scan result list and the previous scan result list; wherein the previous scan result list is a scan result list obtained by performing a broadcast information scan last time;
将所述相似度分别与预设的上限阈值和预设的下限阈值进行比较,当所述相似度大于所述上限阈值时,减小下一次进行所述广播信息扫描的持续时间,当所述相似度小于所述下限阈值时,增加下一次进行所述广播信息扫描的持续时间。Comparing the similarity with a preset upper threshold and a preset lower threshold respectively, and when the similarity is greater than the upper threshold, reducing a duration of the next broadcast information scanning, when When the similarity is less than the lower threshold, the duration of the next broadcast of the broadcast information is increased.
需要说明的是,本地设备在完成本次匹配判断并生成相应的推荐信息后,计算当前扫描结果列表与先前扫描结果列表之间的相似度,并将计算获得的相似度分别与预设的上限阈值和预设的下限阈值进行比较,若该相似度比上限阈值大,则认为本次扫描所得的扫描结果与上一次扫描所得的扫描结果差别较小,本地设备处于人群流动性较小的地点,因此适当减小下一次进行广播信息扫描的持续时间;若该相似度比下限阈值小,则认为本次扫描所得的扫描结果与上一次扫描所得的扫描结果差别较大,本地设备处于人群流动性较大的地点,因此适当增大下一次进行广播信息扫描的持续时间。It should be noted that, after completing the matching judgment and generating the corresponding recommendation information, the local device calculates the similarity between the current scan result list and the previous scan result list, and calculates the obtained similarity and the preset upper limit respectively. The threshold is compared with the preset lower threshold. If the similarity is greater than the upper threshold, it is considered that the scan result obtained by the scan is smaller than the scan result obtained by the previous scan, and the local device is in a place where the crowd mobility is small. Therefore, the duration of the next broadcast information scanning is appropriately reduced; if the similarity is smaller than the lower threshold, it is considered that the scan result obtained by the scan differs greatly from the scan result obtained by the previous scan, and the local device is in a crowd flow. A more sexual location, so the duration of the next broadcast information scan is appropriately increased.
进一步地,所述第一用户特征标签和所述第二用户特征标签均为描述用户的个人特征的标签。Further, the first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
需要说明的是,第一用户特征标签和第二用户特征标签中的特征标签均为描述用户的个人特征(如:年龄、祖籍、兴趣爱好等)的标签。It should be noted that the feature tags in the first user feature tag and the second user feature tag are tags that describe the user's personal characteristics (eg, age, ancestry, hobbies, etc.).
本发明实施例提供的交友对象的推荐方法,通过将本地设备中的用户特征标签与扫描获得的用户特征标签进行匹配,从而在扫描到的所有相邻设备的用户中筛选出与本地设备的用户兴趣爱好等较为相近的交友对象,并且通过对匹配成功次数设置阈值,从而对交友对象进 行进一步的筛选,因此能够提高交友对象推荐的准确率,从而提高交友的成功率。另外,通过在将相邻设备识别码等相邻设备的信息存入数据库之前,对数据库中的该相邻设备识别码的记录进行查询,从而使得在较短时间内的相同的相邻设备的记录不会被重复地存入数据库,保证了数据的准确性,进而能够进一步提高交友对象推荐的准确率。The method for recommending a friend object in the embodiment of the present invention matches the user feature tag in the local device with the user feature tag obtained by scanning, so as to filter out the user of the local device among the users of all the neighboring devices scanned. Interesting hobbies and other similar friends, and by setting a threshold on the number of matching successes, Further screening, so as to improve the accuracy of referrals, thus improving the success rate of friends. In addition, by querying the records of the neighboring device identification codes in the database before storing the information of the neighboring devices such as the adjacent device identification code into the database, so that the same neighboring devices in a shorter time are Records are not stored in the database repeatedly, ensuring the accuracy of the data, which in turn can further improve the accuracy of referrals.
相应地,本发明还提供一种交友对象的推荐装置,能够实现上述实施例中的交友对象的推荐方法的所有流程。Accordingly, the present invention also provides a recommendation device for a friend object, which can implement all the processes of the recommendation method of the friend object in the above embodiment.
参见图3,是本发明提供的交友对象的推荐装置的一个实施例的结构示意图,具体如下:Referring to FIG. 3, it is a schematic structural diagram of an embodiment of a recommendation device for a friend object provided by the present invention, which is specifically as follows:
扫描结果读取模块31,用于读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备识别码和相对应的第一用户特征标签;The scan result reading module 31 is configured to read the scan result in the current scan result list to obtain the adjacent device identification code and the corresponding first user feature tag included in each scan result;
特征标签匹配模块32,用于将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中;以及,The feature tag matching module 32 is configured to match the first user feature tag with a second user feature tag stored in advance, and store the adjacent device identification code in a database when the matching is successful; ,
交友对象推荐模块33,用于统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息。The friend object recommendation module 33 is configured to count the number of occurrences of the neighboring device identification code in the database, and when the number of occurrences is greater than a preset threshold, generate a recommendation corresponding to the adjacent device identification code. Recommended information for users of adjacent devices.
进一步地,所述交友对象的推荐装置,还包括:Further, the recommendation device of the friend object further includes:
广播信息扫描模块,用于采用短程无线技术进行广播信息扫描;以及,a broadcast information scanning module for scanning broadcast information using short-range wireless technology;
扫描结果存储模块,用于每当扫描到相邻设备广播的相邻设备识别码和第一用户特征标签时,获取所述相邻设备识别码和所述第一用户特征标签,并将所述相邻设备识别码和所述第一用户特征标签一一对应地存入当前扫描结果列表中。a scan result storage module, configured to acquire the adjacent device identification code and the first user feature tag whenever the neighboring device identification code and the first user feature tag broadcast by the neighboring device are scanned, and the The neighboring device identification code and the first user feature tag are stored in the current scan result list in a one-to-one correspondence.
进一步地,所述第一用户特征标签中包括至少一个特征标签;所述第二用户特征标签中包括至少一个特征标签;Further, the first user feature tag includes at least one feature tag; and the second user feature tag includes at least one feature tag;
所述特征标签匹配模块32,具体包括:The feature tag matching module 32 specifically includes:
第一匹配单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相同或者相似的特征标签的个数大于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中;或者,a first matching unit, configured to match the first user feature tag with the second user feature tag, and when the first user feature tag and the second user feature tag are the same or similar When the number of the feature tags is greater than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database; or
第二匹配单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相反的特征标签的个数小于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中。a second matching unit, configured to match the first user feature tag with the second user feature tag, and when opposite features between the first user feature tag and the second user feature tag When the number of labels is less than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database.
进一步地,所述数据库中还包括将相邻设备识别码存入所述数据库时的存入时间;Further, the database further includes a deposit time when the adjacent device identification code is stored in the database;
所述特征标签匹配模块32,具体包括: The feature tag matching module 32 specifically includes:
相同识别码判断单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在匹配成功时,判断所述数据库中是否存在所述相邻设备标识码;The same identification code determining unit is configured to match the first user feature tag with the second user feature tag, and determine whether the neighbor device identification code exists in the database when the matching is successful;
第一识别码存储单元,用于若所述数据库中存在所述相邻设备识别码,则在判断所述数据库中的所述相邻设备识别码所对应的存入时间与当前时间之间的时间间隔小于或者等于预设的标准时间间隔时,将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间;或者,a first identification code storage unit, configured to determine, between the storage time corresponding to the adjacent device identification code in the database, and the current time, if the neighboring device identification code exists in the database When the time interval is less than or equal to the preset standard time interval, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated; or
第二识别码存储单元,用于若所述数据库中不存在所述相邻设备识别码,则将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间。The second identification code storage unit is configured to store the adjacent device identification code in the database if the adjacent device identification code does not exist in the database, and generate a corresponding deposit time.
在另一个优选地实施方式中,所述交友对象的推荐装置,还包括:In another preferred embodiment, the recommendation device of the friend object further includes:
列表相似度计算模块,用于计算所述当前扫描结果列表与先前扫描结果列表之间的相似度;其中,所述先前扫描结果列表为上一次进行广播信息扫描所获得的扫描结果列表;以及,a list similarity calculation module, configured to calculate a similarity between the current scan result list and a previous scan result list; wherein the previous scan result list is a scan result list obtained by performing a broadcast information scan last time;
扫描时间调整模块,用于将所述相似度分别与预设的上限阈值和预设的下限阈值进行比较,当所述相似度大于所述上限阈值时,减小下一次进行所述广播信息扫描的持续时间,当所述相似度小于所述下限阈值时,增加下一次进行所述广播信息扫描的持续时间。a scanning time adjustment module, configured to compare the similarity with a preset upper threshold and a preset lower threshold respectively, and when the similarity is greater than the upper threshold, reduce the next broadcast information scanning The duration, when the similarity is less than the lower threshold, increasing the duration of the next broadcast information scan.
进一步地,所述第一用户特征标签和所述第二用户特征标签均为描述用户的个人特征的标签。Further, the first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
本发明实施例提供的交友对象的推荐装置,通过将本地设备中的用户特征标签与扫描获得的用户特征标签进行匹配,从而在扫描到的所有相邻设备的用户中筛选出与本地设备的用户兴趣爱好等较为相近的交友对象,并且通过对匹配成功次数设置阈值,从而对交友对象进行进一步的筛选,因此能够提高交友对象推荐的准确率,从而提高交友的成功率。另外,通过在将相邻设备识别码等相邻设备的信息存入数据库之前,对数据库中的该相邻设备识别码的记录进行查询,从而使得在较短时间内的相同的相邻设备的记录不会被重复地存入数据库,保证了数据的准确性,进而能够进一步提高交友对象推荐的准确率。The recommendation device of the friend object provided by the embodiment of the present invention matches the user feature tag in the local device with the user feature tag obtained by scanning, so as to filter out the user of the local device among the users of all the neighboring devices scanned. Interesting objects such as hobbies and similar friends, and by setting a threshold for the number of matching successes, further screening the friends of the dating object, thereby improving the accuracy of the recommendation of the dating object, thereby improving the success rate of the friends. In addition, by querying the records of the neighboring device identification codes in the database before storing the information of the neighboring devices such as the adjacent device identification code into the database, so that the same neighboring devices in a shorter time are Records are not stored in the database repeatedly, ensuring the accuracy of the data, which in turn can further improve the accuracy of referrals.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。 The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. The scope of protection of the present invention.

Claims (12)

  1. 一种交友对象的推荐方法,其特征在于,包括:A method for recommending a friend object, characterized in that it comprises:
    读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备识别码和相对应的第一用户特征标签;Reading the scan result in the current scan result list to obtain the neighbor device identifier and the corresponding first user feature label included in each scan result;
    将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中;Matching the first user feature tag with a second user feature tag stored in advance, and storing the adjacent device identification code in a database when the matching is successful;
    统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息。Counting the number of occurrences of the neighboring device identification code in the database, and when the number of occurrences is greater than a preset threshold, generating recommendation information of a user recommending a neighboring device corresponding to the neighboring device identification code .
  2. 如权利要求1所述的交友对象的推荐方法,其特征在于,在所述读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备识别码和相对应的第一用户特征标签之前,还包括:The method for recommending a friend object according to claim 1, wherein the scanning result in the current scan result list is read to obtain a neighboring device identification code included in each of the scan results and a corresponding Before the first user feature tag, it also includes:
    采用短程无线技术进行广播信息扫描;Scanning broadcast information using short-range wireless technology;
    每当扫描到相邻设备广播的相邻设备识别码和第一用户特征标签时,获取所述相邻设备识别码和所述第一用户特征标签,并将所述相邻设备识别码和所述第一用户特征标签一一对应地存入当前扫描结果列表中。Obtaining the neighboring device identification code and the first user feature tag whenever the neighboring device identification code and the first user feature tag broadcast by the neighboring device are scanned, and the neighboring device identification code and the The first user feature tags are stored in the current scan result list one by one.
  3. 如权利要求1所述的交友对象的推荐方法,其特征在于,所述第一用户特征标签中包括至少一个特征标签;所述第二用户特征标签中包括至少一个特征标签;The method for recommending a friend object according to claim 1, wherein the first user feature tag includes at least one feature tag; and the second user feature tag includes at least one feature tag;
    则所述将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中,具体包括:Then, the first user feature tag is matched with the second user feature tag stored in the local area, and when the matching is successful, the neighboring device identification code is stored in the database, and the method includes:
    将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相同或者相似的特征标签的个数大于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中;或者,Matching the first user feature tag with the second user feature tag, and when the number of identical or similar feature tags between the first user feature tag and the second user feature tag is greater than When the threshold is preset, it is determined that the matching is successful, and the adjacent device identification code is stored in the database; or
    将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相反的特征标签的个数小于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中。Matching the first user feature tag with the second user feature tag, and when the number of opposite feature tags between the first user feature tag and the second user feature tag is less than a preset When the threshold is reached, it is determined that the matching is successful, and the adjacent device identification code is stored in the database.
  4. 如权利要求1所述的交友对象的推荐方法,其特征在于,所述数据库中还包括将相邻设备识别码存入所述数据库时的存入时间;The method for recommending a friend object according to claim 1, wherein the database further comprises a deposit time when the adjacent device identification code is stored in the database;
    则所述将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在 匹配成功时,将所述相邻设备识别码存入数据库中,具体包括:Then, the first user feature tag is matched with a second user feature tag stored in advance, and When the matching is successful, the neighboring device identification code is stored in the database, including:
    将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在匹配成功时,判断所述数据库中是否存在所述相邻设备标识码;Matching the first user feature tag with the second user feature tag, and determining whether the neighbor device identification code exists in the database when the matching is successful;
    若所述数据库中存在所述相邻设备识别码,则在判断所述数据库中的所述相邻设备识别码所对应的存入时间与当前时间之间的时间间隔小于或者等于预设的标准时间间隔时,将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间;If the neighboring device identification code exists in the database, determining that the time interval between the depositing time and the current time corresponding to the neighboring device identification code in the database is less than or equal to a preset standard And storing, in the time interval, the adjacent device identification code into the database, and generating a corresponding deposit time;
    若所述数据库中不存在所述相邻设备识别码,则将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间。If the adjacent device identification code does not exist in the database, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated.
  5. 如权利要求1所述的交友对象的推荐方法,其特征在于,在所述统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息之后,还包括:The method for recommending a friend object according to claim 1, wherein the number of times the neighboring device identification code appears in the database is counted, and when the number of occurrences is greater than a preset threshold, After the recommendation information of the user who recommends the neighboring device corresponding to the neighboring device identifier is generated, the method further includes:
    计算所述当前扫描结果列表与先前扫描结果列表之间的相似度;其中,所述先前扫描结果列表为上一次进行广播信息扫描所获得的扫描结果列表;Calculating a similarity between the current scan result list and the previous scan result list; wherein the previous scan result list is a scan result list obtained by performing a broadcast information scan last time;
    将所述相似度分别与预设的上限阈值和预设的下限阈值进行比较,当所述相似度大于所述上限阈值时,减小下一次进行所述广播信息扫描的持续时间,当所述相似度小于所述下限阈值时,增加下一次进行所述广播信息扫描的持续时间。Comparing the similarity with a preset upper threshold and a preset lower threshold respectively, and when the similarity is greater than the upper threshold, reducing a duration of the next broadcast information scanning, when When the similarity is less than the lower threshold, the duration of the next broadcast of the broadcast information is increased.
  6. 如权利要求1至5中任一项所述的交友对象的推荐方法,其特征在于,所述第一用户特征标签和所述第二用户特征标签均为描述用户的个人特征的标签。The method for recommending a friend object according to any one of claims 1 to 5, wherein the first user feature tag and the second user feature tag are tags that describe a user's personal characteristics.
  7. 一种交友对象的推荐装置,其特征在于,包括:A recommendation device for a friend object, comprising:
    扫描结果读取模块,用于读取当前扫描结果列表中的扫描结果,以获取每个所述扫描结果中包含的相邻设备识别码和相对应的第一用户特征标签;a scan result reading module, configured to read a scan result in the current scan result list, to obtain a neighbor device identifier and a corresponding first user feature label included in each scan result;
    特征标签匹配模块,用于将所述第一用户特征标签与预先存储于本地的第二用户特征标签进行匹配,并在匹配成功时,将所述相邻设备识别码存入数据库中;以及,a feature tag matching module, configured to match the first user feature tag with a second user feature tag stored in advance, and store the adjacent device identification code in a database when the matching is successful; and
    交友对象推荐模块,用于统计所述数据库中的所述相邻设备识别码出现的次数,当所述出现的次数大于预设的阈值时,生成推荐所述相邻设备识别码所对应的相邻设备的用户的推荐信息。a friend object recommendation module, configured to count the number of occurrences of the neighboring device identification code in the database, and when the number of occurrences is greater than a preset threshold, generate a phase corresponding to the recommended identifier of the neighboring device Recommended information for users of neighboring devices.
  8. 如权利要求7所述的交友对象的推荐装置,其特征在于,所述交友对象的推荐装置, 还包括:The recommending device for a friend of claim 7, wherein the recommending device of the friend of the friend, Also includes:
    广播信息扫描模块,用于采用短程无线技术进行广播信息扫描;以及,a broadcast information scanning module for scanning broadcast information using short-range wireless technology;
    扫描结果存储模块,用于每当扫描到相邻设备广播的相邻设备识别码和第一用户特征标签时,获取所述相邻设备识别码和所述第一用户特征标签,并将所述相邻设备识别码和所述第一用户特征标签一一对应地存入当前扫描结果列表中。a scan result storage module, configured to acquire the adjacent device identification code and the first user feature tag whenever the neighboring device identification code and the first user feature tag broadcast by the neighboring device are scanned, and the The neighboring device identification code and the first user feature tag are stored in the current scan result list in a one-to-one correspondence.
  9. 如权利要求7所述的交友对象的推荐装置,其特征在于,所述第一用户特征标签中包括至少一个特征标签;所述第二用户特征标签中包括至少一个特征标签;The device for recommending a friend of claim 7, wherein the first user feature tag includes at least one feature tag; and the second user feature tag includes at least one feature tag;
    所述特征标签匹配模块,具体包括:The feature tag matching module specifically includes:
    第一匹配单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相同或者相似的特征标签的个数大于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中;或者,a first matching unit, configured to match the first user feature tag with the second user feature tag, and when the first user feature tag and the second user feature tag are the same or similar When the number of the feature tags is greater than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database; or
    第二匹配单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在当所述第一用户特征标签与所述第二用户特征标签之间的相反的特征标签的个数小于预设的阈值时,确定匹配成功,并将所述相邻设备识别码存入所述数据库中。a second matching unit, configured to match the first user feature tag with the second user feature tag, and when opposite features between the first user feature tag and the second user feature tag When the number of labels is less than a preset threshold, it is determined that the matching is successful, and the adjacent device identification code is stored in the database.
  10. 如权利要求7所述的交友对象的推荐装置,其特征在于,所述数据库中还包括将相邻设备识别码存入所述数据库时的存入时间;The device for recommending a friend of claim 7, wherein the database further includes a deposit time when the adjacent device identification code is stored in the database;
    所述特征标签匹配模块,具体包括:The feature tag matching module specifically includes:
    相同识别码判断单元,用于将所述第一用户特征标签与所述第二用户特征标签进行匹配,并在匹配成功时,判断所述数据库中是否存在所述相邻设备标识码;The same identification code determining unit is configured to match the first user feature tag with the second user feature tag, and determine whether the neighbor device identification code exists in the database when the matching is successful;
    第一识别码存储单元,用于若所述数据库中存在所述相邻设备识别码,则在判断所述数据库中的所述相邻设备识别码所对应的存入时间与当前时间之间的时间间隔小于或者等于预设的标准时间间隔时,将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间;或者,a first identification code storage unit, configured to determine, between the storage time corresponding to the adjacent device identification code in the database, and the current time, if the neighboring device identification code exists in the database When the time interval is less than or equal to the preset standard time interval, the adjacent device identification code is stored in the database, and a corresponding deposit time is generated; or
    第二识别码存储单元,用于若所述数据库中不存在所述相邻设备识别码,则将所述相邻设备识别码存入所述数据库中,并生成相应的存入时间。The second identification code storage unit is configured to store the adjacent device identification code in the database if the adjacent device identification code does not exist in the database, and generate a corresponding deposit time.
  11. 如权利要求7所述的交友对象的推荐装置,其特征在于,所述交友对象的推荐装置,还包括:The recommendation device of the friend object according to claim 7, wherein the recommendation device of the friend object further comprises:
    列表相似度计算模块,用于计算所述当前扫描结果列表与先前扫描结果列表之间的相似 度;其中,所述先前扫描结果列表为上一次进行广播信息扫描所获得的扫描结果列表;以及,a list similarity calculation module, configured to calculate a similarity between the current scan result list and the previous scan result list Degree; wherein the previous scan result list is a scan result list obtained by performing a broadcast information scan last time; and
    扫描时间调整模块,用于将所述相似度分别与预设的上限阈值和预设的下限阈值进行比较,当所述相似度大于所述上限阈值时,减小下一次进行所述广播信息扫描的持续时间,当所述相似度小于所述下限阈值时,增加下一次进行所述广播信息扫描的持续时间。a scanning time adjustment module, configured to compare the similarity with a preset upper threshold and a preset lower threshold respectively, and when the similarity is greater than the upper threshold, reduce the next broadcast information scanning The duration, when the similarity is less than the lower threshold, increasing the duration of the next broadcast information scan.
  12. 如权利要求7至11中任一项所述的交友对象的推荐装置,其特征在于,所述第一用户特征标签和所述第二用户特征标签均为描述用户的个人特征的标签。 The recommendation device of the friend object according to any one of claims 7 to 11, wherein the first user feature tag and the second user feature tag are tags that describe a personal feature of the user.
PCT/CN2016/113615 2016-10-19 2016-12-30 Method and apparatus for recommending friending object WO2018072335A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610910504.6 2016-10-19
CN201610910504.6A CN106503122B (en) 2016-10-19 2016-10-19 Friend making object recommendation method and device

Publications (1)

Publication Number Publication Date
WO2018072335A1 true WO2018072335A1 (en) 2018-04-26

Family

ID=58294221

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113615 WO2018072335A1 (en) 2016-10-19 2016-12-30 Method and apparatus for recommending friending object

Country Status (2)

Country Link
CN (1) CN106503122B (en)
WO (1) WO2018072335A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117150149A (en) * 2023-10-26 2023-12-01 深圳市玺佳创新有限公司 Method and device for making friends in short distance under line, thing watch and medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107316250A (en) * 2017-07-20 2017-11-03 佛山潮伊汇服装有限公司 Social recommendation method and mobile terminal
CN109857927A (en) * 2018-12-24 2019-06-07 深圳市珍爱捷云信息技术有限公司 User's recommended method, device, computer equipment and computer readable storage medium
CN109816545A (en) * 2019-03-26 2019-05-28 长安大学 A kind of campus dating system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446961A (en) * 2008-12-24 2009-06-03 腾讯科技(深圳)有限公司 Method and system for carrying out association on users and friends thereof in network community
CN103365913A (en) * 2012-04-09 2013-10-23 腾讯科技(深圳)有限公司 Search result ordering method and device
CN103581270A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 User recommendation method and system
CN105931123A (en) * 2016-05-09 2016-09-07 深圳市永兴元科技有限公司 Method and apparatus for recommending friends based on network account

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810192A (en) * 2012-11-09 2014-05-21 腾讯科技(深圳)有限公司 User interest recommending method and device
CN103984972A (en) * 2014-06-06 2014-08-13 重庆中陆承大科技有限公司 Product information acquiring method and device, as well as electronic tag code acquiring method
US20160248864A1 (en) * 2014-11-19 2016-08-25 Unravel, Llc Social networking games including image unlocking and bi-directional profile matching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446961A (en) * 2008-12-24 2009-06-03 腾讯科技(深圳)有限公司 Method and system for carrying out association on users and friends thereof in network community
CN103365913A (en) * 2012-04-09 2013-10-23 腾讯科技(深圳)有限公司 Search result ordering method and device
CN103581270A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 User recommendation method and system
CN105931123A (en) * 2016-05-09 2016-09-07 深圳市永兴元科技有限公司 Method and apparatus for recommending friends based on network account

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117150149A (en) * 2023-10-26 2023-12-01 深圳市玺佳创新有限公司 Method and device for making friends in short distance under line, thing watch and medium
CN117150149B (en) * 2023-10-26 2024-01-26 深圳市玺佳创新有限公司 Method and device for making friends in short distance under line, thing watch and medium

Also Published As

Publication number Publication date
CN106503122B (en) 2020-02-28
CN106503122A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
US10405052B2 (en) Method and apparatus for identifying television channel information
WO2018072335A1 (en) Method and apparatus for recommending friending object
US11514716B2 (en) Face matching method and apparatus, storage medium
US9367756B2 (en) Selection of representative images
KR102038214B1 (en) Method of obtaining account information, terminal, server and system
US20200349385A1 (en) Multimedia resource matching method and apparatus, storage medium, and electronic apparatus
CN108540755B (en) Identity recognition method and device
CN104239566B (en) The method and device of video search
US20150193472A1 (en) Generating user insights from user images and other data
US20170255820A1 (en) Identification of individuals in images and associated content delivery
CN107688637A (en) Information-pushing method, device, storage medium and electric terminal
US20210026883A1 (en) Image-to-image search method, computer-readable storage medium and server
US20150248710A1 (en) Matching users across indentifiable services vased on images
US9947105B2 (en) Information processing apparatus, recording medium, and information processing method
WO2020082831A1 (en) Face-based identity recognition method and apparatus, and electronic device
US20160112527A1 (en) Multimedia file push method and apparatus
CN105814587A (en) Local real-time facial recognition
CN108960892B (en) Information processing method and device, electronic device and storage medium
CN111401238B (en) Method and device for detecting character close-up fragments in video
WO2020078215A1 (en) Video-based information acquisition method and device
CN109064217B (en) User level-based core body strategy determination method and device and electronic equipment
CN104376022B (en) Data processing method and device
CN108024148B (en) Behavior feature-based multimedia file identification method, processing method and device
US11295118B2 (en) Online user verification without prior knowledge of the user
CN111291595A (en) Information relevance processing method, device and system

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: 16919118

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: 16919118

Country of ref document: EP

Kind code of ref document: A1