CN108282395B - Message interaction method and related device, communication system and computer storage medium - Google Patents
Message interaction method and related device, communication system and computer storage medium Download PDFInfo
- Publication number
- CN108282395B CN108282395B CN201810031980.XA CN201810031980A CN108282395B CN 108282395 B CN108282395 B CN 108282395B CN 201810031980 A CN201810031980 A CN 201810031980A CN 108282395 B CN108282395 B CN 108282395B
- Authority
- CN
- China
- Prior art keywords
- social
- terminal
- interest
- social terminal
- friend
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0861—Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
本发明实施例公开了消息交互方法和装置及通信系统。一种消息交互方法包括:获取第一社交终端发布到社交服务器的第一兴趣标签;获取第二社交终端发布到所述社交服务器的第二兴趣标签;在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息。本发明实施例的技术方案有利于满足用户在较小空间范围内的陌生人交友需求,从而可丰富用户的社交方式。
The embodiments of the present invention disclose a message interaction method and device and a communication system. A message interaction method includes: acquiring a first interest tag published by a first social terminal to a social server; acquiring a second interest tag published by a second social terminal to the social server; location information and the location information of the second social terminal, determine that the distance between the first social terminal and the second social terminal is less than or equal to a preset friendship reminder distance threshold, and determine the first interest When the degree of matching between the K1 interest sub-tags included in the tag and the K2 interest sub-tags included in the second interest tag exceeds a preset matching threshold, a first friendship reminder message is sent to the first social terminal. The technical solutions of the embodiments of the present invention are beneficial to meet the user's requirement for making friends with strangers in a small space, thereby enriching the user's social mode.
Description
技术领域technical field
本发明涉及通信技术领域,具体涉及了消息交互方法和相关装置以及通信系统和介质产品。The present invention relates to the field of communication technologies, and in particular to a message interaction method and related devices, as well as a communication system and media products.
背景技术Background technique
社交应用(例如微信、QQ、陌陌等)等社交工具已经成为人们日常生活中的重要交友工具。Social tools such as social applications (such as WeChat, QQ, Momo, etc.) have become important tools for making friends in people's daily lives.
传统的陌生人交友应用在很多时候难以满足用户个性化需求。佛家说前生的500次回眸才换来今生的近距离接触过。有时候,用户可能希望能够进行较为个性化的陌生人交友,例如某些用户可能希望发现与之近距离接触过(即两者相隔距离较近,例如相隔10米)的且在某方面兴趣相投的其他用户,用户甚至还可能希望能通过网络与之进行匿名交流等。Traditional stranger dating applications are often difficult to meet the personalized needs of users. Buddhists say that the 500 times of looking back in the past life is exchanged for the close contact in this life. Sometimes, users may want to be able to make more personalized friendships with strangers. For example, some users may want to find people who have been in close contact with them (that is, they are separated by a short distance, such as 10 meters apart) and have similar interests in certain aspects. Users may even wish to communicate anonymously with them through the Internet.
本发明的发明人在研究和实践过程中发现,现有技术对于用户的上述陌生人交友需求是难以满足的。The inventor of the present invention found in the process of research and practice that the prior art is difficult to satisfy the above-mentioned demands of users for making friends with strangers.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供消息交互方法和相关装置及通信系统,以期可满足用户更个性化的陌生人交友需求,进而丰富用户的社交方式,进一步拓展用户交友渠道。Embodiments of the present invention provide a message interaction method, a related device, and a communication system, so as to meet the user's more personalized needs for making friends with strangers, thereby enriching the user's social mode, and further expanding the user's friendship channel.
本发明实施例第一方面提供一种消息交互方法,包括:获取第一社交终端发布到社交服务器的第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;获取第二社交终端发布到所述社交服务器的第二兴趣标签,所述第二兴趣标签包括K2个兴趣子标签,所述K2为正整数;A first aspect of an embodiment of the present invention provides a message interaction method, including: acquiring a first interest tag published by a first social terminal to a social server, where the first interest tag includes K1 interest sub-tags, and K1 is a positive integer ; Obtain the second interest label published by the second social terminal to the social server, the second interest label includes K2 interest sub-labels, and the K2 is a positive integer;
获取所述第一社交终端的位置信息和所述第二社交终端的位置信息;在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位,其中,所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。Acquiring the location information of the first social terminal and the location information of the second social terminal; determining the first social terminal according to the acquired location information of the first social terminal and the second social terminal The distance between the social terminal and the second social terminal is less than or equal to a preset friendship reminder distance threshold, and K1 interest sub-tags included in the first interest tag and K2 included in the second interest tag are determined When the degree of matching between the interest sub-tags exceeds a preset matching threshold, send a first friendship reminder message to the first social terminal, where the first friendship reminder message carries relative orientation information and the second social terminal The relative orientation information is used to indicate the relative orientation between the second social terminal and the first social terminal, wherein the first friendship reminder message is used to trigger the rotation of the first social terminal The camera shoots at the position where the second social terminal is located as indicated by the relative position information.
本发明实施例第二方面提供一种消息交互方法,包括:A second aspect of the embodiments of the present invention provides a message interaction method, including:
第一社交终端向社交服务器发布第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1 为正整数;所述第一社交终端接收来自所述社交服务器的第一交友提醒消息,所述第一交友提醒消息由所述社交服务器在根据获取所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下发送,所述第二兴趣标签由所述第二社交终端发布到所述社交服务器,其中,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位;The first social terminal publishes a first interest tag to the social server, the first interest tag includes K1 interest sub-tags, and the K1 is a positive integer; the first social terminal receives the first friendship reminder from the social server message, the first friendship reminder message is determined by the social server according to the location information of the first social terminal and the location information of the second social terminal to determine the first social terminal and the second social The separation distance between the terminals is less than or equal to the preset friendship reminder distance threshold, and it is determined that the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds a predetermined value. It is sent under the set matching threshold, the second interest tag is published by the second social terminal to the social server, wherein the first friendship reminder message carries the relative orientation information and the information of the second social terminal. an identifier, the relative orientation information is used to indicate the relative orientation between the second social terminal and the first social terminal;
所述第一社交终端控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The first social terminal controls the rotating camera of the first social terminal to take pictures at the position of the second social terminal indicated by the relative position information.
本发明实施例第三方面提供一种社交服务器,包括:A third aspect of the embodiments of the present invention provides a social server, including:
兴趣标签获取单元,用于获取第一社交终端发布到社交服务器的第一兴趣标签,获取第二社交终端发布到所述社交服务器的第二兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;所述第二兴趣标签包括K2个兴趣子标签,所述K2为正整数;An interest tag acquiring unit, configured to acquire a first interest tag published by a first social terminal to a social server, and acquire a second interest tag published by a second social terminal to the social server, where the first interest tag includes K1 interest sub-sections label, the K1 is a positive integer; the second interest label includes K2 interest sub-labels, and the K2 is a positive integer;
位置获取单元,用于获取所述第一社交终端的位置信息和所述第二社交终端的位置信息;a location acquiring unit, configured to acquire location information of the first social terminal and location information of the second social terminal;
处理单元,用于根据所述位置获取单元获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离是否小于或等于预设的交友提醒距离阈值,确定所述兴趣标签获取单元获取的所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度是否超过预设的匹配阈值;A processing unit, configured to determine the distance between the first social terminal and the second social terminal according to the location information of the first social terminal and the location information of the second social terminal acquired by the location acquisition unit. Whether the interval distance is less than or equal to a preset friendship reminder distance threshold, determine K1 interest sub-tags included in the first interest tag and K2 interest sub-tags included in the second interest tag acquired by the interest tag acquiring unit Whether the matching degree between them exceeds the preset matching threshold;
收发单元,用于在所述处理单元确定出所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,且确定出所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位,其中,所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。a transceiver unit, configured to determine, by the processing unit, that the distance between the first social terminal and the second social terminal is less than or equal to a preset friendship reminder distance threshold, and determine the first interest tag When the degree of matching between the K1 interest sub-tags included and the K2 interest sub-tags included in the second interest tag exceeds a preset matching threshold, send a first friendship reminder message to the first social terminal, so the The first friendship reminder message carries relative orientation information and an identifier of the second social terminal, the relative orientation information is used to indicate the relative orientation between the second social terminal and the first social terminal, wherein the The first friendship reminder message is used to trigger the rotating camera of the first social terminal to shoot at the position of the second social terminal indicated by the relative position information.
本发明实施例第四方面提供一种社交终端,包括:A fourth aspect of the embodiments of the present invention provides a social terminal, including:
发布单元,用于向社交服务器发布第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述 K1为正整数;a publishing unit, configured to publish a first interest tag to the social server, where the first interest tag includes K1 interest sub-tags, and K1 is a positive integer;
收发单元,用于接收来自所述社交服务器的第一交友提醒消息,所述第一交友提醒消息由所述社交服务器在根据获取所述社交终端的位置信息和所述第二社交终端的位置信息,确定所述社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下发送,所述第二兴趣标签由所述第二社交终端发布到所述社交服务器,其中,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述社交终端之间的相对方位;A transceiver unit, configured to receive a first friendship reminder message from the social server, where the first friendship reminder message is obtained by the social server according to the location information of the social terminal and the location information of the second social terminal. , determine that the separation distance between the social terminal and the second social terminal is less than or equal to a preset friendship reminder distance threshold, and determine that the K1 interest sub-tags included in the first interest tag and the second interest tag include sent when the matching degree between the K2 interest sub-tags exceeds a preset matching threshold, the second interest tag is published by the second social terminal to the social server, wherein the first friendship reminder message Carrying relative orientation information and an identifier of the second social terminal, the relative orientation information is used to indicate the relative orientation between the second social terminal and the social terminal;
拍摄控制单元,用于控制所述社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。A shooting control unit, configured to control the rotating camera of the social terminal to shoot at the position where the second social terminal is located as indicated by the relative position information.
本发明实施例第五方面提供一种通信系统,包括:社交服务器、第一社交终端和第二社交终端;A fifth aspect of the embodiments of the present invention provides a communication system, including: a social server, a first social terminal, and a second social terminal;
其中,所述社交服务器用于,获取第一社交终端发布到社交服务器的第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;获取第二社交终端发布到所述社交服务器的第二兴趣标签,所述第二兴趣标签包括K2个兴趣子标签,其中,所述K2为正整数;获取所述第一社交终端的位置信息和所述第二社交终端的位置信息;在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位;Wherein, the social server is used to acquire the first interest tag published by the first social terminal to the social server, the first interest tag includes K1 interest subtags, and K1 is a positive integer; acquire the first interest tag published by the second social terminal to the second interest tag of the social server, where the second interest tag includes K2 interest sub-tags, where K2 is a positive integer; obtain the location information of the first social terminal and the second social terminal The location information of the first social terminal and the obtained location information of the second social terminal determine that the distance between the first social terminal and the second social terminal is less than or equal to The preset friendship reminder distance threshold, and it is determined that the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold. , send a first friend reminder message to the first social terminal, where the first friend reminder message carries relative orientation information and an identifier of the second social terminal, and the relative orientation information is used to indicate the second social terminal the relative orientation with the first social terminal;
所述第一社交终端,用于向所述社交服务器发布第一兴趣标签;接收来自所述社交服务器的第一交友提醒消息;控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The first social terminal is configured to publish a first interest tag to the social server; receive a first friend reminder message from the social server; and control the rotating camera of the first social terminal to locate the relative orientation information The indicated location of the second social terminal is photographed.
可以看出,本实施例的方案中,例如社交服务器获取第一社交终端和第二社交终端发布到社交服务器的第一兴趣标签和第二兴趣标签。由于获取了第一社交终端和第二社交终端的位置信息;并且在根据获取的第一社交终端的位置信息和第二社交终端的位置信息,确定第一社交终端和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,而这就可使第一社交终端的用户获知与其近距离接触过的具有相同或者类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而使得第一社交终端的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得有可能,可见,本实施例的技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而丰富用户社交方式,进而有利于拓展用户交友渠道,进而有利于增加运营商流量。It can be seen that, in the solution of this embodiment, for example, the social server acquires the first interest tag and the second interest tag published by the first social terminal and the second social terminal to the social server. Because the location information of the first social terminal and the second social terminal is obtained; and according to the obtained location information of the first social terminal and the location information of the second social terminal, the distance between the first social terminal and the second social terminal is determined. The interval distance is less than or equal to the preset friend-friend reminder distance threshold, and it is determined that the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold. Then, send a first friend reminder message to the first social terminal, and the first friend reminder message carries the relative orientation information and the identifier of the second social terminal, and this enables the user of the first social terminal to know the proximity of the user. It becomes possible that other users who have contacted with the same or similar interests and hobbies, because the friendship reminder message also includes the identifier of the second social terminal, so that the user of the first social terminal has the same or similar interests as the user who has been in close contact with him. It becomes possible to communicate with other users who have interests and hobbies. It can be seen that the technical solution of this embodiment is beneficial to meet the user's needs for making friends with strangers in a small space, thereby enriching the user's social mode, and further helping to expand the user's friendship channel. In turn, it is beneficial to increase the operator's traffic.
进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述第一社交终端之间的相对方位的相对方位信息,进而可以触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很可能被包含在拍摄得到的视频或图片之中,进而有利于为所述第一社交终端的用户或第一社交终端的交友预判提供有效参考。Further, the first friendship reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the first social terminal, which can trigger the rotation of the camera of the first social terminal to be located at the location. shooting at the position of the second social terminal indicated by the relative position information, which makes the image of the user of the second social terminal likely to be included in the captured video or picture, which is beneficial for the The user of the first social terminal or the friend prediction of the first social terminal provides an effective reference.
附图说明Description of drawings
图1-a是本发明实施例提供的一种消息交互方法的流程示意图;1-a is a schematic flowchart of a message interaction method provided by an embodiment of the present invention;
图1-b是本发明实施例提供的一种通信系统的网络架构示意图;1-b is a schematic diagram of a network architecture of a communication system provided by an embodiment of the present invention;
图2是本发明实施例提供的另一种消息交互方法的流程示意图;2 is a schematic flowchart of another message interaction method provided by an embodiment of the present invention;
图3-a是本发明实施例提供的另一种消息交互方法的流程示意图;3-a is a schematic flowchart of another message interaction method provided by an embodiment of the present invention;
图3-b是本发明实施例提供的另一种通信系统的网络架构示意图;3-b is a schematic diagram of a network architecture of another communication system provided by an embodiment of the present invention;
图4是本发明实施例提供的一种社交服务器的结构示意图;4 is a schematic structural diagram of a social server provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种社交服务器的结构示意图;5 is a schematic structural diagram of another social server provided by an embodiment of the present invention;
图6是本发明实施例提供的一种社交终端的结构示意图;6 is a schematic structural diagram of a social terminal provided by an embodiment of the present invention;
图7是本发明实施例提供的另一种社交终端的结构示意图;7 is a schematic structural diagram of another social terminal provided by an embodiment of the present invention;
图8是本发明实施例提供的一种通信系统的示意图。FIG. 8 is a schematic diagram of a communication system according to an embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例提供消息交互方法和社交服务器及通信系统,以期可满足用户更个性化的陌生人交友需求,进而丰富用户的社交方式,进一步拓展用户交友渠道。Embodiments of the present invention provide a message interaction method, a social server, and a communication system, so as to meet users' more personalized needs for making friends with strangers, thereby enriching users' social modes, and further expanding user friend channels.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
本发明实施例提供一种通信系统的网络架构,如图1-b举例所示,本发明实施例的技术方案可在图 1-b举例所示网络架构的通信系统或类似架构的通信系统中具体实施。在图1-b举例所示的通信系统,若干个社交终端以可通信方式与社交服务器连接。其中,若未特别说明,通信系统中的社交服务器可以指单个社交服务器或社交服务器集群。An embodiment of the present invention provides a network architecture of a communication system. As shown in FIG. 1-b as an example, the technical solution of the embodiment of the present invention can be used in a communication system of the network architecture shown in the example of FIG. 1-b or a communication system of a similar architecture. specific implementation. In the communication system exemplified in Fig. 1-b, several social terminals are communicably connected to the social server. Wherein, unless otherwise specified, the social server in the communication system may refer to a single social server or a cluster of social servers.
下面先从社交服务器的角度进行描述。The following describes it from the perspective of the social server.
本发明的一种消息交互方法的一个实施例,其中,一种消息交互方法可包括获取第一社交终端发布到社交服务器的第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,其中,所述K1为正整数;获取第二社交终端发布到所述社交服务器的第二兴趣标签,所述第二兴趣标签包括K2个兴趣子标签,所述K2为正整数;获取所述第一社交终端的位置信息和所述第二社交终端的位置信息;在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位,其中,所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。In an embodiment of a message interaction method of the present invention, the message interaction method may include acquiring a first interest tag published by a first social terminal to a social server, where the first interest tag includes K1 interest sub-tags, Wherein, the K1 is a positive integer; the second interest tag published by the second social terminal to the social server is obtained, the second interest tag includes K2 interest sub-tags, and the K2 is a positive integer; the first interest tag is obtained; location information of a social terminal and location information of the second social terminal; determining the first social terminal and the The separation distance between the second social terminals is less than or equal to a preset friend-making reminder distance threshold, and K1 interest sub-tags included in the first interest tag and K2 interest sub-tags included in the second interest tag are determined When the degree of matching between them exceeds the preset matching threshold, send a first friend reminder message to the first social terminal, where the first friend reminder message carries the relative orientation information and the identifier of the second social terminal, so The relative orientation information is used to indicate the relative orientation between the second social terminal and the first social terminal, wherein the first friend-making reminder message is used to trigger the rotating camera of the first social terminal to be in the The location where the second social terminal is located indicated by the relative location information is photographed.
参见图1-a,图1-a为本发明的一个实施例提供的一种消息交互方法的流程示意图。其中,如图1-a 所示,本发明的一个实施例提供的一种消息交互方法可以包括:Referring to FIG. 1-a, FIG. 1-a is a schematic flowchart of a message interaction method provided by an embodiment of the present invention. Wherein, as shown in FIG. 1-a, a message interaction method provided by an embodiment of the present invention may include:
S101、社交服务器可获取第一社交终端发布到所述社交服务器的第一兴趣标签。S101. A social server may acquire a first interest tag published by a first social terminal to the social server.
其中,所述第一兴趣标签包括K1个兴趣子标签。Wherein, the first interest tag includes K1 interest sub-tags.
其中,K1例如可等于1、2、3、5、6、10、17、23或其他值。Wherein, K1 may be equal to, for example, 1, 2, 3, 5, 6, 10, 17, 23 or other values.
S102、所述社交服务器获取第二社交终端发布到所述社交服务器的第二兴趣标签。S102. The social server acquires a second interest tag published by the second social terminal to the social server.
所述第二兴趣标签包括K2个兴趣子标签,所述K2为正整数。The second interest tag includes K2 interest sub-tags, where K2 is a positive integer.
其中,K2例如可等于1、2、3、5、6、10、17、25或其他值。Wherein, K2 may be, for example, equal to 1, 2, 3, 5, 6, 10, 17, 25 or other values.
可选的,在本发明的一些可能的实施方式中,社交终端(例如第一社交终端和第二社交终端等等) 可以通过登录某社交应用(如微信、QQ等)而连接到该应用对应的社交服务器,并开通该应用中的兴趣交友服务(当然亦可默认开通兴趣交友服务)。其中,社交终端可根据用户指令向社交服务器发布的兴趣标签(如第一兴趣标签或第二兴趣标签),社交服务器可据此获取已开通兴趣交友服务的社交终端发布的兴趣标签。其中,若社交终端(例如第一社交终端和第二社交终端等)被默认开通兴趣交友服务,那么开通兴趣交友服务可无需社交终端进行相关服务开通申请操作等,那么开通兴趣交友服务对社交终端而言可以是不感知的。Optionally, in some possible implementations of the present invention, social terminals (such as the first social terminal and the second social terminal, etc.) can be connected to a social application (such as WeChat, QQ, etc.) , and activate the interest-based dating service in the application (of course, the interest-based dating service can also be activated by default). Wherein, the social terminal can publish an interest tag (such as a first interest tag or a second interest tag) to the social server according to the user's instruction, and the social server can obtain the interest tag published by the social terminal that has opened the interest dating service accordingly. Wherein, if the social terminal (for example, the first social terminal and the second social terminal, etc.) is enabled with the interest-based friendship service by default, then opening the interest-based friendship service may not require the social terminal to perform relevant service activation application operations, etc., then the interest-based friendship service is activated. It can be imperceptible.
其中,本发明各实施例的社交终端(如第一社交终端、第二社交终端等)例如可以是智能手机、移动互联网设备(MID,mobile internet device)、笔记本电脑、平板电脑、掌上电脑、可穿戴设备(例如智能手表、智能手环、计步器等等)或者其他可以部署社交应用客户端(如即时通讯应用客户端)的且部署有旋转摄像头的移动终端。Wherein, the social terminal (such as the first social terminal, the second social terminal, etc.) in each embodiment of the present invention may be, for example, a smart phone, a mobile internet device (MID, mobile internet device), a notebook computer, a tablet computer, a palmtop computer, a Wearable devices (such as smart watches, smart bracelets, pedometers, etc.) or other mobile terminals that can deploy social application clients (such as instant messaging application clients) and are deployed with rotating cameras.
其中,兴趣标签可为表征用户兴趣爱好的词组、图片等等。Wherein, the interest tag may be a phrase, a picture, etc. that represent the user's hobbies.
兴趣标签具体可包括用户的至少一个的兴趣子标签,其中,上述兴趣子标签例如可以为“旅游”、“电影”或“游泳”等等词组,或者可为篮球图片或羽毛球图片等等图片,当然,兴趣子标签亦可能是能够在一定程度上表征用户兴趣爱好的其他数据形式。The interest tag may specifically include at least one interest sub-tag of the user, wherein the above-mentioned interest sub-tag may be, for example, phrases such as "travel", "movie" or "swimming", or a picture such as a basketball picture or a badminton picture, Of course, the interest sub-tags may also be other data forms that can represent the user's interests and hobbies to a certain extent.
S103、所述社交服务器获取第一社交终端的位置信息和第二社交终端的位置信息。S103. The social server acquires the location information of the first social terminal and the location information of the second social terminal.
可选的,在本发明一些可能的实施方式中,上述社交服务器可通过基站定位或卫星定位等等方式获取社交终端(如第一社交终端或第二社交终端)的位置信息。Optionally, in some possible embodiments of the present invention, the above-mentioned social server may obtain the location information of the social terminal (eg, the first social terminal or the second social terminal) by means of base station positioning or satellite positioning.
举例来说,在本发明的一些可能的实施方式中,第一社交终端和第二社交终端可周期性地获取自身当前的位置信息,并可将获取的位置信息上传至社交服务器,社交服务器可接收到第一社交终端和第二社交终端周期性发送的位置信息。For example, in some possible implementations of the present invention, the first social terminal and the second social terminal may periodically acquire their current location information, and may upload the acquired location information to the social server, and the social server may The location information periodically sent by the first social terminal and the second social terminal is received.
又举例来说,在本发明的一些可能的实施方式中,社交服务器也可以根据第一社交终端和第二社交终端当前所接入的WiFi热点的位置信息或者移动通信网络的小区信息等等,获取第一社交终端的位置信息和第二社交终端的位置信息。For another example, in some possible implementations of the present invention, the social server may also, according to the location information of the WiFi hotspot currently accessed by the first social terminal and the second social terminal or the cell information of the mobile communication network, etc., Acquire location information of the first social terminal and location information of the second social terminal.
S104、所述社交服务器在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息。S104. The social server determines that the distance between the first social terminal and the second social terminal is less than Or it is equal to the preset friendship reminder distance threshold, and it is determined that the degree of matching between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold. In this case, a first friendship reminder message is sent to the first social terminal.
其中,所述第一交友提醒消息可携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位。所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The first friend reminder message may carry relative orientation information and an identifier of the second social terminal, and the relative orientation information is used to indicate the relative orientation between the second social terminal and the first social terminal . The first friendship reminder message is used to trigger the rotating camera of the first social terminal to shoot at the position of the second social terminal indicated by the relative position information.
其中,所述相对方位信息可基于第一社交终端的位置信息和第二社交终端的位置信息来确定。The relative orientation information may be determined based on the location information of the first social terminal and the location information of the second social terminal.
其中,第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,可表示第一社交终端的用户和第一社交终端的用户之间具有相同或相似的兴趣爱好。Wherein, the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold, which may indicate that the user of the first social terminal and the first social terminal have a relationship between them. Users have the same or similar interests.
其中,所述相对方位信息可通过多种可能方式来来指示所述第二社交终端与所述第一社交终端之间的相对方位。其中,所述相对方位信息例如可以指示出所述第二社交终端在所述第一社交终端的东边、西边、南边或者北边。所述相对方位信息也可以指示出所述第二社交终端在所述第一社交终端的东偏南 x1°、东偏北x2°、西边偏南x3°或东偏北x4°等。所述相对方位信息也可指示出所述第二社交终端在所述第一社交终端的11点方向、9点方向、6点方向或3点方向等等。可以理解,若所述相对方位信息例如指示出所述第二社交终端在所述第一社交终端的东边,也就相当于指示出所述第一社交终端在所述第二社交终端的西边,其他情况可以此类推。当然所述相对方位信息也可通过其他形式来指示所述第二社交终端与所述第一社交终端之间的相对方位,并不限于上述举例。Wherein, the relative orientation information may indicate the relative orientation between the second social terminal and the first social terminal through various possible ways. The relative orientation information may, for example, indicate that the second social terminal is east, west, south or north of the first social terminal. The relative orientation information may also indicate that the second social terminal is located at x1° east by south, x2° north by east, x3° by south west, or x4° by north east of the first social terminal. The relative orientation information may also indicate that the second social terminal is in the 11 o'clock, 9 o'clock, 6 o'clock, or 3 o'clock direction of the first social terminal, and so on. It can be understood that, if the relative orientation information, for example, indicates that the second social terminal is to the east of the first social terminal, it is equivalent to indicating that the first social terminal is to the west of the second social terminal. Other cases can be deduced by analogy. Of course, the relative orientation information may also indicate the relative orientation between the second social terminal and the first social terminal in other forms, which is not limited to the above examples.
其中,x1、x2、x3和x4可以是正数。例如,x1例如可等于10、20、30、41或其他值。where x1, x2, x3 and x4 can be positive numbers. For example, x1 may be equal to 10, 20, 30, 41 or other values, for example.
其中,由于所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,因此所述第一社交终端在接收到第一交友提醒消息后,可控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄以得到视频或图片,这使得第二社交终端的用户的人物影像很可能被包含在拍摄得到的视频或图片之中,进而便于所述第一社交终端的用户或第一社交终端可据此进行是否交友预判等,例如,当所述第一社交终端的用户发现拍摄得到的视频或图片中的第二社交终端的用户的人物影像符合交友预期,那么可进一步与之进行联系,又例如,当所述第一社交终端的用户发现拍摄得到的视频或图片中的第二社交终端的用户的人物影像不符合交友预期,那么其可以放弃进一步的交友行动。Wherein, since the first friendship reminder message is used to trigger the rotating camera of the first social terminal to shoot at the position of the second social terminal indicated by the relative position information, the first social terminal After receiving the first friendship reminder message, the rotating camera of the first social terminal can be controlled to shoot at the position of the second social terminal indicated by the relative position information to obtain a video or picture, which enables the first The image of the person of the user of the second social terminal is likely to be included in the captured video or picture, so that the user of the first social terminal or the first social terminal can make a pre-judgment based on whether to make friends or not. For example, when If the user of the first social terminal finds that the person image of the user of the second social terminal in the captured video or picture meets the expectations for making friends, he can further contact him. For another example, when the user of the first social terminal If it is found that the person image of the user of the second social terminal in the captured video or picture does not meet the expectations of making friends, the user may give up further making friends.
可选的,在本发明一些可能的实施方式中,交友提醒距离阈值例如可以大于或者等于0米且小于或者等于25米。举例来说,交友提醒距离阈值例如可为1米、2米、10米、13米、20米、18米、8米、 25米、25米或35米或其他值。可以理解的是,交友提醒距离阈值可根据不同的应用场景而适当的减小或增大,其具体取值本发明实施例不做限定。Optionally, in some possible implementations of the present invention, the distance threshold for friend making reminders may be greater than or equal to 0 meters and less than or equal to 25 meters, for example. For example, the distance threshold for friend reminder may be 1 meter, 2 meters, 10 meters, 13 meters, 20 meters, 18 meters, 8 meters, 25 meters, 25 meters or 35 meters or other values. It can be understood that the distance threshold for friend making reminders may be appropriately reduced or increased according to different application scenarios, and the specific value thereof is not limited in the embodiment of the present invention.
可选的,在本发明的一些可能的实施方式中,在所述第一社交终端接收到所述第一交友提醒消息的设定时长t1之后,所述第一社交终端可执行用于提醒用户已收到交友提醒消息的提醒操作,所述t1大于0秒,例如t1可以等于3秒、5秒、10秒、20秒、50秒、100秒、200秒或其他时长。当所述第一社交终端接收到第一交友提醒消息,第一社交终端延迟设定时长t1之后再执行用于提醒用户已收到交友提醒消息的提醒操作,有些时候可避免用户直接对眼所造成的尴尬。当然在不考虑这些因素的情况下,在所述第一社交终端接收到所述第一交友提醒消息时,所述第一社交终端便可执行用于提醒用户已收到交友提醒消息的提醒操作,以便于用户及时获知已收到交友提醒消息。提醒操作可以是呼吸灯闪烁、第一社交终端振动或响铃被启动等。Optionally, in some possible implementations of the present invention, after the first social terminal receives the set duration t1 of the first friendship reminder message, the first social terminal may execute a function for reminding the user. The reminder operation of the friend reminder message has been received, the t1 is greater than 0 seconds, for example, t1 may be equal to 3 seconds, 5 seconds, 10 seconds, 20 seconds, 50 seconds, 100 seconds, 200 seconds or other durations. When the first social terminal receives the first friendship reminder message, the first social terminal delays for a set period of time t1 and then executes the reminder operation for reminding the user that the reminder message has been received. caused embarrassment. Of course, without considering these factors, when the first social networking terminal receives the first friendship reminder message, the first social networking terminal may execute a reminder operation for reminding the user that the friendship reminder message has been received , so that users can know in time that they have received a friend reminder message. The reminding operation may be the blinking of the breathing light, the vibration of the first social terminal, or the activation of a bell, and the like.
可以看出,本实施例的方案中,获取第一社交终端和第二社交终端发布到社交服务器的第一兴趣标签和第二兴趣标签。由于获取了第一社交终端和第二社交终端的位置信息;并且在根据获取的第一社交终端的位置信息和第二社交终端的位置信息,确定第一社交终端和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的 K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,而这就可使第一社交终端的用户获知与其近距离接触过的具有相同或者类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而使得第一社交终端的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得有可能,可见,本实施例的技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而丰富用户社交方式,有利于拓展用户交友渠道,进而有利于增加运营商流量。进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述第一社交终端之间的相对方位的相对方位信息,进而可以触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很可能被包含在拍摄得到的视频或图片之中,进而有利于为所述第一社交终端的用户或第一社交终端的交友预判提供有效参考。It can be seen that, in the solution of this embodiment, the first interest tag and the second interest tag published by the first social terminal and the second social terminal to the social server are obtained. Because the location information of the first social terminal and the second social terminal is obtained; and according to the obtained location information of the first social terminal and the location information of the second social terminal, the distance between the first social terminal and the second social terminal is determined. The interval distance is less than or equal to the preset friend-friend reminder distance threshold, and it is determined that the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold. Then, send a first friend reminder message to the first social terminal, and the first friend reminder message carries the relative orientation information and the identifier of the second social terminal, and this enables the user of the first social terminal to know the proximity of the user. It becomes possible that other users who have contacted with the same or similar interests and hobbies, because the friendship reminder message also includes the identifier of the second social terminal, so that the user of the first social terminal has the same or similar interests as the user who has been in close contact with him. It becomes possible to communicate with other users who have interests and hobbies. It can be seen that the technical solution of this embodiment is beneficial to meet the user's needs for making friends with strangers in a small space, thereby enriching the user's social mode, and helping to expand the user's friendship channel, and then Conducive to increasing operator traffic. Further, the first friendship reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the first social terminal, which can trigger the rotation of the camera of the first social terminal to be located at the location. shooting at the position of the second social terminal indicated by the relative position information, which makes the image of the user of the second social terminal likely to be included in the captured video or picture, which is beneficial for the The user of the first social terminal or the friend prediction of the first social terminal provides an effective reference.
可选的,在本发明的一些可能的实施方式中,所述社交服务器向所述第一社交终端发送第一交友提醒消息,可包括:在所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长大于或等于阈值x秒(x例如可以等于1、5、15、10、30、80、300、600、700或者其它的正数)的情况下,社交服务器向所述第一社交终端发送第一交友提醒消息。在有些时候,所述社交服务器是否向所述第一社交终端发送第一交友提醒消息,所参考的因素可能不包括所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长。Optionally, in some possible implementations of the present invention, the social server sending a first friendship reminder message to the first social terminal may include: sending a message between the first social terminal and the second social terminal The interval distance between them is less than or equal to the preset friendship reminder distance threshold and the duration is greater than or equal to the threshold x seconds (x can be equal to 1, 5, 15, 10, 30, 80, 300, 600, 700 or other positive values, for example. number), the social server sends a first friendship reminder message to the first social terminal. In some cases, whether the social server sends a first friendship reminder message to the first social terminal, the reference factor may not include that the distance between the first social terminal and the second social terminal is less than or equal to Equal to the duration of the preset friend reminder distance threshold.
可选的,在本发明一些可能的实施方式中,社交服务器可根据获取的第一社交终端的位置信息和第二社交终端的位置信息,计算二者的距离值,并轮询第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间是否存在相同或相似的兴趣子标签,在二者的距离值小于或等于预设的交友提醒距离阈值,并且第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间存在相同或相似的兴趣子标签时,社交服务器可确定二者满足交友提醒的条件,社交服务器便可以向第一社交终端发送第一交友提醒消息。当然,社交服务器也还可以向第二社交终端发送第二交友提醒消息。Optionally, in some possible implementations of the present invention, the social server may calculate the distance value between the obtained location information of the first social terminal and the obtained location information of the second social terminal, and poll the first interest tag. Whether there are the same or similar interest sub-tags between the K1 interest sub-tags included and the K2 interest sub-tags included in the second interest tag, when the distance value between the two is less than or equal to the preset friendship reminder distance threshold, and the first When there are the same or similar interest sub-tags between the K1 interest sub-tags included in one interest tag and the K2 interest sub-tags included in the second interest tag, the social server can determine that the two meet the requirements for making friends, and the social server can Send a first friend reminder message to the first social terminal. Of course, the social server may also send a second friend-making reminder message to the second social terminal.
可选的,在本发明一些可能实施方式中,若所述社交服务器接收到所述第一社交终端向所述第二社交终端发送的第三交友问候回复消息,所述社交服务器可以进一步向所述第二社交终端转发所述第三交友问候回复消息。第三交友问候回复消息可由第一社交终端基于第一交友提醒消息携带的第二社交终端的标识向所述第二社交终端发送。例如第三交友问候回复消息携带第二社交终端的标识,其中,第二社交终端的标识为第三交友问候回复消息的目的社交终端标识。Optionally, in some possible implementations of the present invention, if the social server receives a third friend greeting reply message sent by the first social terminal to the second social terminal, the social server may further send a message to the social media server. The second social terminal forwards the third friend greeting reply message. The third friend greeting reply message may be sent by the first social terminal to the second social terminal based on the identifier of the second social terminal carried in the first friend reminder message. For example, the third friend greeting reply message carries the identifier of the second social terminal, where the identifier of the second social terminal is the target social terminal identifier of the third friend greeting reply message.
可选的,在本发明的一些可能的实施方式中,在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2 个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,所述社交服务器还可向所述第二社交终端发送第二交友提醒消息,其中,所述第二交友提醒消息包括相对方位信息和所述第一社交终端的标识。其中,若还向第二社交终端发送第二交友提醒消息,从而使得第二社交终端的用户也可据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得可能,在一定程度上体现了用户权利对等性。Optionally, in some possible implementations of the present invention, the first social terminal and the first social terminal are determined according to the acquired location information of the first social terminal and the obtained location information of the second social terminal The distance between the two social terminals is less than or equal to the preset friendship reminder distance threshold, and the distance between K1 interest sub-tags included in the first interest tag and K2 interest sub-tags included in the second interest tag is determined. In the case that the matching degree exceeds a preset matching threshold, the social server may also send a second friendship reminder message to the second social terminal, wherein the second friendship reminder message includes relative orientation information and the first friendship reminder message. The identity of the social terminal. Wherein, if a second friend-making reminder message is also sent to the second social terminal, so that users of the second social terminal can also communicate with other users who have the same or similar interests and hobbies who have been in close contact with the second social terminal accordingly. To a certain extent, it reflects the equality of user rights.
可选的,在本发明一些可能的实施方式中,所述社交服务器向所述第二社交终端发送第二交友提醒消息可包括:在所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长大于或等于阈值x秒(x例如可等于1、5、10、30、101、300或601或其它值)的情况下,社交服务器向所述第二社交终端发送第二交友提醒消息。Optionally, in some possible implementations of the present invention, the sending, by the social server, a second friendship reminder message to the second social terminal may include: between the first social terminal and the second social terminal In the case where the interval distance is less than or equal to the preset friendship reminder distance threshold and the duration is greater than or equal to the threshold x seconds (x may be equal to 1, 5, 10, 30, 101, 300 or 601 or other values), the social server Sending a second friendship reminder message to the second social terminal.
可选的,在本发明一些可能的实施方式中,社交服务器可根据获取的第一社交终端的位置信息和第二社交终端的位置信息,计算二者的距离值,并轮询第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间是否存在相同或相似的兴趣子标签,在二者的距离值小于或等于预设的交友提醒距离阈值,且第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间存在相同或相似的兴趣子标签的情况下,社交服务器可确定二者满足交友提醒的条件,社交服务器便可向第一社交终端发送第一交友提醒消息,当然,社交服务器也还可向第二社交终端发送第二交友提醒消息。Optionally, in some possible implementations of the present invention, the social server may calculate the distance value between the obtained location information of the first social terminal and the obtained location information of the second social terminal, and poll the first interest tag. Whether there are the same or similar interest sub-tags between the K1 interest sub-tags included and the K2 interest sub-tags included in the second interest tag, when the distance between the two is less than or equal to the preset friendship reminder distance threshold, and the first In the case where the same or similar interest sub-tags exist between the K1 interest sub-tags included in one interest tag and the K2 interest sub-tags included in the second interest tag, the social server may determine that the two meet the requirements for making friends, and the social server The first friendship reminder message can be sent to the first social terminal, and of course, the social server can also send the second friendship reminder message to the second social terminal.
进一步的,所述第一交友提醒消息还可携带第二问候语。Further, the first friendship reminder message may also carry a second greeting.
进一步的,所述第二交友提醒消息还可携带第一问候语。Further, the second friendship reminder message may also carry the first greeting.
其中,第一问候语例如可包括:文字、图片、语音和视频中的任一种或几种的组合。可选的,在本发明一些可能的实施方式中,所述第一问候语例如由所述第一社交终端设定,或所述第一问候语可由所述社交服务器从问候语可选集合中选择(如随机选择),或可由其他设备设定。其中,所述第一问候语若由所述第一社交终端设定,则有利于更好的体现个性化问候。Wherein, the first greeting may include, for example, any one or a combination of text, picture, voice and video. Optionally, in some possible implementations of the present invention, the first greeting is set by the first social terminal, for example, or the first greeting may be selected by the social server from an optional set of greetings. Selected (eg randomly selected), or can be set by other devices. Wherein, if the first greeting is set by the first social terminal, it is beneficial to better reflect the personalized greeting.
其中,第二问候语例如可包括:文字、图片、语音和视频中的任一种或几种的组合。可选的,在本发明一些可能的实施方式中,所述第二问候语例如由所述第二社交终端设定,或所述第二问候语可由所述社交服务器从问候语可选集合中选择(如随机选择),或可由其他设备设定。其中,所述第二问候语若由所述第二社交终端设定,则有利于更好的体现个性化问候。Wherein, the second greeting may include, for example, any one or a combination of text, picture, voice and video. Optionally, in some possible implementations of the present invention, the second greeting is set by the second social terminal, for example, or the second greeting may be selected by the social server from an optional set of greetings. Selected (eg randomly selected), or can be set by other devices. Wherein, if the second greeting is set by the second social terminal, it is beneficial to better reflect the personalized greeting.
可选的,在本发明一些可能实施方式中,若所述社交服务器接收到所述第二社交终端向所述第一社交终端发送的第四交友问候回复消息,所述社交服务器可以进一步向所述第一社交终端转发所述第四交友问候回复消息。第四交友问候回复消息可由第二社交终端基于第二交友提醒消息携带的第一社交终端的标识向所述第一社交终端发送。例如第四交友问候回复消息携带第一社交终端的标识,其中,第一社交终端的标识为第四交友问候回复消息的目的社交终端标识。Optionally, in some possible implementations of the present invention, if the social server receives a fourth friend greeting reply message sent by the second social terminal to the first social terminal, the social server may further send a message to the social network server. The first social terminal forwards the fourth friend greeting reply message. The fourth friend greeting reply message may be sent by the second social terminal to the first social terminal based on the identifier of the first social terminal carried in the second friend reminder message. For example, the fourth friend greeting reply message carries the identifier of the first social terminal, where the identifier of the first social terminal is the target social terminal identifier of the fourth friend greeting reply message.
可选的,在本发明的一些可能的实施方式中,第一社交终端的标识可以为登录第一社交终端的社交账号(如即时通讯账号),或者第一社交终端的标识可为分配给第一社交终端的临时社交账号(如临时即时通讯账号),或者第一社交终端的标识可为第一社交终端的设备标识。Optionally, in some possible embodiments of the present invention, the identifier of the first social terminal may be a social account (such as an instant messaging account) that logs in to the first social terminal, or the identifier of the first social terminal may be assigned to the first social terminal. A temporary social account of a social terminal (eg, a temporary instant messaging account), or the identifier of the first social terminal may be a device identifier of the first social terminal.
可选的,在本发明的一些可能的实施方式中,第二社交终端的标识可以为登录第二社交终端的社交账号(如即时通讯账号),或者第二社交终端的标识可为分配给第二社交终端的临时社交账号(如临时即时通讯账号),或者第二社交终端的标识可为第二社交终端的设备标识。Optionally, in some possible embodiments of the present invention, the identifier of the second social terminal may be a social account (such as an instant messaging account) that logs in to the second social terminal, or the identifier of the second social terminal may be assigned to the first social terminal. The temporary social account of the second social terminal (eg, a temporary instant messaging account), or the identifier of the second social terminal may be the device identifier of the second social terminal.
可以理解,使用临时即时通讯账号来进行交互,有利于更好的实现双方的匿名交流。It can be understood that using a temporary instant messaging account for interaction is conducive to better realization of anonymous communication between the two parties.
可选的,在本发明一些可能的实施方式中,在K1个兴趣子标签中的兴趣子标签i与K2个兴趣子标签中的兴趣子标签j相同或相似的情况下,社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值。其中,兴趣子标签i为K1个兴趣子标签中的任意一个兴趣子标签,兴趣子标签j为K2个兴趣子标签中的任意一个兴趣子标签。Optionally, in some possible embodiments of the present invention, in the case that the interest sub-tag i in the K1 interest sub-tags is the same or similar to the interest sub-tag j in the K2 interest sub-tags, the social server may determine the first The matching degree between the K1 interest sub-tags included in one interest tag and the K2 interest sub-tags included in the second interest tag exceeds a preset matching threshold. The interest sub-tag i is any one of the K1 interest sub-tags, and the interest sub-tag j is any one of the K2 interest sub-tags.
举例来说,假设兴趣子标签i和兴趣子标签j同为“旅游”词组,则社交服务器可以确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,即第一社交终端和第二社交终端各自对应的用户之间存在至少一个共同的兴趣爱好。For example, assuming that the interest sub-tag i and the interest sub-tag j are both "travel" phrases, the social server can determine the difference between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag. The inter-matching degree exceeds a preset matching threshold, that is, there is at least one common hobby between the users corresponding to the first social terminal and the second social terminal.
又举例来说,假设兴趣子标签i和兴趣子标签j同为“台球”词组,则社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,即第一社交终端和第二社交终端各自对应的用户之间存在至少一个共同的兴趣爱好。For another example, assuming that the interest sub-tag i and the interest sub-tag j are both the phrase "billiards", the social server can determine K1 interest sub-tags included in the first interest tag and K2 interest sub-tags included in the second interest tag. The degree of matching between them exceeds the preset matching threshold, that is, there is at least one common hobby between the users corresponding to the first social terminal and the second social terminal.
再举例来说,假设兴趣子标签i为“摄影”词组,而兴趣子标签j为“自拍”词组,由于二者具有较高的相似度,此时社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2 个兴趣子标签之间匹配度超过预设的匹配阈值,即第一社交终端和第二社交终端各自对应的用户之间存在类似的兴趣爱好。For another example, suppose that the interest sub-tag i is the phrase "photography", and the interest sub-tag j is the phrase "selfie". Since the two have a high degree of similarity, the social server can determine the K1 included in the first interest tag. The matching degree between the interest sub-tags and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold, that is, the users corresponding to the first social terminal and the second social terminal have similar interests.
再举例来说,假设兴趣子标签i为“台球”词组,兴趣子标签j为“英式斯诺克”词组,由于二者具有较高的相似度,此时社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,即第一社交终端和第二社交终端各自对应的用户之间存在类似的兴趣爱好。For another example, suppose that the interest sub-tag i is the phrase "billiards", and the interest sub-tag j is the phrase "English snooker". Since the two have a high degree of similarity, the social server can determine the first interest tag at this time. The matching degree between the included K1 interest sub-tags and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold, that is, there are similar interests between the users corresponding to the first social terminal and the second social terminal. Hobby.
可以理解,上述举例主要是为了说明K1个兴趣子标签中的兴趣子标签i与K2个兴趣子标签中的兴趣子标签j相同或相似的一些可能情况,其他场景可以此类推。It can be understood that the above examples are mainly to illustrate some possible situations in which the interest sub-tag i in the K1 interest sub-tags is the same or similar to the interest sub-tag j in the K2 interest sub-tags, and other scenarios can be deduced by analogy.
下面从社交终端的角度进行描述。The following description is made from the perspective of a social terminal.
本发明的一种消息交互方法的一个实施例,其中,一种消息交互方法可包括第一社交终端向社交服务器发布第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;所述第一社交终端接收来自所述社交服务器的第一交友提醒消息,所述第一交友提醒消息由所述社交服务器在根据获取所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,且确定所述第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下发送,所述第二兴趣标签由所述第二社交终端发布到所述社交服务器,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述K1为正整数,所述相对方位信息可用于指示所述第二社交终端与所述第一社交终端之间的相对方位;所述第一社交终端控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。In an embodiment of a message interaction method of the present invention, a message interaction method may include the first social terminal publishing a first interest tag to a social server, the first interest tag including K1 interest sub-tags, and the K1 is a positive integer; the first social terminal receives a first friend reminder message from the social server, and the first friend reminder message is obtained by the social server according to the location information of the first social terminal and the the location information of the second social terminal, determine that the distance between the first social terminal and the second social terminal is less than or equal to a preset friendship reminder distance threshold, and determine the K1 included in the first interest tag Sent when the matching degree between the interest sub-tags and the K2 interest sub-tags included in the second interest tag exceeds a preset matching threshold, and the second interest tag is published by the second social terminal to the social server , the first friendship reminder message carries relative orientation information and the identifier of the second social terminal, the K1 is a positive integer, and the relative orientation information can be used to indicate the second social terminal and the first social terminal. The relative orientation between the two; the first social terminal controls the rotating camera of the first social terminal to shoot at the orientation of the second social terminal indicated by the relative orientation information.
请参见图2,图2为本发明的一个实施例提供的一种消息交互方法的流程示意图。其中,如图2所示,本发明的一个实施例提供的一种消息交互方法可以包括:Please refer to FIG. 2, which is a schematic flowchart of a message interaction method provided by an embodiment of the present invention. Wherein, as shown in FIG. 2, a message interaction method provided by an embodiment of the present invention may include:
S201、第一社交终端向社交服务器发布第一兴趣标签。S201. A first social terminal publishes a first interest tag to a social server.
其中,所述第一兴趣标签包括K1个兴趣子标签,Wherein, the first interest tag includes K1 interest sub-tags,
其中,所述K1为正整数。K1例如可等于1、2、3、5、6、10、17、23或其他值。Wherein, the K1 is a positive integer. K1 may eg be equal to 1, 2, 3, 5, 6, 10, 17, 23 or other values.
S202、第一社交终端接收来自所述社交服务器的第一交友提醒消息。S202. The first social terminal receives a first friend reminder message from the social server.
所述第一交友提醒消息由所述社交服务器在根据获取所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下发送,所述第二兴趣标签由所述第二社交终端发布到所述社交服务器。所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位。The first friendship reminder message is determined by the social server according to the location information of the first social terminal and the location information of the second social terminal to determine the relationship between the first social terminal and the second social terminal. The interval distance between the two is less than or equal to the preset friendship reminder distance threshold, and it is determined that the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset value. In the case of matching the threshold, the second interest tag is published to the social server by the second social terminal. The first friendship reminder message carries relative orientation information and an identifier of the second social terminal, where the relative orientation information is used to indicate the relative orientation between the second social terminal and the first social terminal.
其中,所述K2为正整数。K2例如可等于1、2、3、5、6、10、17、25或其他值。Wherein, the K2 is a positive integer. K2 may eg be equal to 1, 2, 3, 5, 6, 10, 17, 25 or other values.
S203、所述第一社交终端控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。S203: The first social terminal controls the rotating camera of the first social terminal to shoot at the position where the second social terminal is located as indicated by the relative position information.
可选的,在本发明的一些可能的实施方式中,社交终端(例如第一社交终端和第二社交终端等等) 可以通过登录某社交应用(如微信、QQ等)而连接到该应用对应的社交服务器,并开通该应用中的兴趣交友服务(当然亦可默认开通兴趣交友服务)。其中,社交终端可根据用户指令向社交服务器发布的兴趣标签(如第一兴趣标签或第二兴趣标签),社交服务器可据此获取已开通兴趣交友服务的社交终端发布的兴趣标签。其中,若社交终端(例如第一社交终端和第二社交终端等)被默认开通兴趣交友服务,那么开通兴趣交友服务可无需社交终端进行相关服务开通申请操作等,那么开通兴趣交友服务对社交终端而言可以是不感知的。Optionally, in some possible implementations of the present invention, social terminals (such as the first social terminal and the second social terminal, etc.) can be connected to a social application (such as WeChat, QQ, etc.) , and activate the interest-based dating service in the application (of course, the interest-based dating service can also be activated by default). Wherein, the social terminal can publish an interest tag (such as a first interest tag or a second interest tag) to the social server according to the user's instruction, and the social server can obtain the interest tag published by the social terminal that has opened the interest dating service accordingly. Wherein, if the social terminal (for example, the first social terminal and the second social terminal, etc.) is enabled with the interest-based friendship service by default, then opening the interest-based friendship service may not require the social terminal to perform relevant service activation application operations, etc., then the interest-based friendship service is activated. It can be imperceptible.
其中,本发明各实施例的社交终端(如第一社交终端、第二社交终端等)例如可以是智能手机、移动互联网设备(MID)、笔记本电脑、平板电脑、掌上电脑、可穿戴设备(例如智能手表、智能手环、计步器等等)或者其他可以部署社交应用客户端(如即时通讯应用客户端)的且部署有旋转摄像头的移动终端。Wherein, the social terminal (such as the first social terminal, the second social terminal, etc.) in each embodiment of the present invention may be, for example, a smart phone, a mobile Internet device (MID), a laptop computer, a tablet computer, a palmtop computer, a wearable device (such as smart watches, smart bracelets, pedometers, etc.) or other mobile terminals that can deploy social application clients (such as instant messaging application clients) and are deployed with rotating cameras.
其中,兴趣标签可为表征用户兴趣爱好的词组、图片等等。Wherein, the interest tag may be a phrase, a picture, etc. that represent the user's hobbies.
兴趣标签具体可包括用户的至少一个的兴趣子标签,其中,上述兴趣子标签例如可以为“旅游”、“电影”或“游泳”等等词组,或者可为篮球图片或羽毛球图片等等图片,当然,兴趣子标签亦可能是能够在一定程度上表征用户兴趣爱好的其他数据形式。The interest tag may specifically include at least one interest sub-tag of the user, wherein the above-mentioned interest sub-tag may be, for example, phrases such as "travel", "movie" or "swimming", or a picture such as a basketball picture or a badminton picture, Of course, the interest sub-tags may also be other data forms that can represent the user's interests and hobbies to a certain extent.
其中,第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,可表示第一社交终端的用户和第一社交终端的用户之间具有相同或相似的兴趣爱好。Wherein, the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold, which may indicate that the user of the first social terminal and the first social terminal have a relationship between them. Users have the same or similar interests.
其中,所述相对方位信息可通过多种可能方式来来指示所述第二社交终端与所述第一社交终端之间的相对方位。其中,所述相对方位信息例如可以指示出所述第二社交终端在所述第一社交终端的东边、西边、南边或者北边。所述相对方位信息也可以指示出所述第二社交终端在所述第一社交终端的东偏南 x1°、东偏北x2°、西边偏南x3°或东偏北x4°等。所述相对方位信息也可指示出所述第二社交终端在所述第一社交终端的11点方向、9点方向、6点方向或3点方向等等。可以理解,若所述相对方位信息例如指示出所述第二社交终端在所述第一社交终端的东边,也就相当于指示出所述第一社交终端在所述第二社交终端的西边,其他情况可以此类推。当然,所述相对方位信息也可通过其他形式来指示所述第二社交终端与所述第一社交终端之间的相对方位,并不限于上述举例。Wherein, the relative orientation information may indicate the relative orientation between the second social terminal and the first social terminal through various possible ways. The relative orientation information may, for example, indicate that the second social terminal is east, west, south or north of the first social terminal. The relative orientation information may also indicate that the second social terminal is located at x1° east by south, x2° north by east, x3° by south west, or x4° by north east of the first social terminal. The relative orientation information may also indicate that the second social terminal is in the 11 o'clock, 9 o'clock, 6 o'clock, or 3 o'clock direction of the first social terminal, and so on. It can be understood that, if the relative orientation information, for example, indicates that the second social terminal is to the east of the first social terminal, it is equivalent to indicating that the first social terminal is to the west of the second social terminal. Other cases can be deduced by analogy. Certainly, the relative orientation information may also indicate the relative orientation between the second social terminal and the first social terminal in other forms, which is not limited to the above examples.
其中,x1、x2、x3和x4可以是正数。例如,x1例如可等于10、20、30、41或其他值。where x1, x2, x3 and x4 can be positive numbers. For example, x1 may be equal to 10, 20, 30, 41 or other values, for example.
其中,所述相对方位信息可基于第一社交终端的位置信息和第二社交终端的位置信息来确定。The relative orientation information may be determined based on the location information of the first social terminal and the location information of the second social terminal.
可选的,在本发明一些可能的实施方式中,上述社交服务器可通过基站定位或卫星定位等等方式获取社交终端(如第一社交终端或第二社交终端)的位置信息。Optionally, in some possible embodiments of the present invention, the above-mentioned social server may obtain the location information of the social terminal (eg, the first social terminal or the second social terminal) by means of base station positioning or satellite positioning.
举例来说,在本发明的一些可能的实施方式中,第一社交终端和第二社交终端可周期性地获取自身当前的位置信息,并可将获取的位置信息上传至社交服务器,社交服务器可接收到第一社交终端和第二社交终端周期性发送的位置信息。For example, in some possible implementations of the present invention, the first social terminal and the second social terminal may periodically acquire their current location information, and may upload the acquired location information to the social server, and the social server may The location information periodically sent by the first social terminal and the second social terminal is received.
又举例来说,在本发明的一些可能的实施方式中,社交服务器也可以根据第一社交终端和第二社交终端当前所接入的WiFi热点的位置信息或者移动通信网络的小区信息等等,获取第一社交终端的位置信息和第二社交终端的位置信息。For another example, in some possible implementations of the present invention, the social server may also, according to the location information of the WiFi hotspot currently accessed by the first social terminal and the second social terminal or the cell information of the mobile communication network, etc., Acquire location information of the first social terminal and location information of the second social terminal.
其中,由于所述第一交友提醒消息可用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,因此所述第一社交终端在接收到第一交友提醒消息后,可控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄以得到视频或图片,这使得第二社交终端的用户的人物影像很可能被包含在拍摄得到的视频或图片之中,进而便于所述第一社交终端的用户或第一社交终端可据此进行是否交友预判等,例如,当所述第一社交终端的用户发现拍摄得到的视频或图片中的第二社交终端的用户的人物影像符合交友预期,那么可进一步与之进行联系,又例如,当所述第一社交终端的用户发现拍摄得到的视频或图片中的第二社交终端的用户的人物影像不符合交友预期,那么其可以放弃进一步的交友行动。Wherein, since the first friend reminder message can be used to trigger the rotating camera of the first social terminal to shoot at the position of the second social terminal indicated by the relative position information, the first social terminal After receiving the first friendship reminder message, the rotating camera of the first social terminal can be controlled to shoot at the position of the second social terminal indicated by the relative position information to obtain a video or picture, which enables the first The image of the person of the user of the second social terminal is likely to be included in the captured video or picture, so that the user of the first social terminal or the first social terminal can make a pre-judgment based on whether to make friends or not. For example, when If the user of the first social terminal finds that the person image of the user of the second social terminal in the captured video or picture meets the expectations for making friends, he can further contact him. For another example, when the user of the first social terminal If it is found that the person image of the user of the second social terminal in the captured video or picture does not meet the expectations of making friends, the user may give up further making friends.
可选的,在本发明一些可能的实施方式中,交友提醒距离阈值例如可以大于或者等于0米且小于或者等于25米。举例来说,交友提醒距离阈值例如可为1米、2米、10米、13米、20米、18米、8米、 25米、25米或35米或其他值。可以理解的是,交友提醒距离阈值可根据不同的应用场景而适当的减小或增大,其具体取值本发明实施例不做限定。Optionally, in some possible implementations of the present invention, the distance threshold for friend making reminders may be greater than or equal to 0 meters and less than or equal to 25 meters, for example. For example, the distance threshold for friend reminder may be 1 meter, 2 meters, 10 meters, 13 meters, 20 meters, 18 meters, 8 meters, 25 meters, 25 meters or 35 meters or other values. It can be understood that the distance threshold for friend making reminders may be appropriately reduced or increased according to different application scenarios, and the specific value thereof is not limited in the embodiment of the present invention.
可选的,在本发明的一些可能的实施方式中,在所述第一社交终端接收到所述第一交友提醒消息的设定时长t1之后,所述第一社交终端可执行用于提醒用户已收到交友提醒消息的提醒操作,所述t1大于0秒,例如t1可以等于3秒、5秒、10秒、20秒、50秒、100秒、200秒或其他时长。当所述第一社交终端接收到第一交友提醒消息,第一社交终端延迟设定时长t1之后再执行用于提醒用户已收到交友提醒消息的提醒操作,有些时候可避免用户直接对眼所造成的尴尬。当然在不考虑这些因素的情况下,在所述第一社交终端接收到所述第一交友提醒消息时,所述第一社交终端便可执行用于提醒用户已收到交友提醒消息的提醒操作,以便于用户及时获知已收到交友提醒消息。提醒操作可以是呼吸灯闪烁、第一社交终端振动或响铃被启动等。Optionally, in some possible implementations of the present invention, after the first social terminal receives the set duration t1 of the first friendship reminder message, the first social terminal may execute a function for reminding the user. The reminder operation of the friend reminder message has been received, the t1 is greater than 0 seconds, for example, t1 may be equal to 3 seconds, 5 seconds, 10 seconds, 20 seconds, 50 seconds, 100 seconds, 200 seconds or other durations. When the first social terminal receives the first friendship reminder message, the first social terminal delays for a set period of time t1 and then executes the reminder operation for reminding the user that the reminder message has been received. caused embarrassment. Of course, without considering these factors, when the first social networking terminal receives the first friendship reminder message, the first social networking terminal may execute a reminder operation for reminding the user that the friendship reminder message has been received , so that users can know in time that they have received a friend reminder message. The reminding operation may be the blinking of the breathing light, the vibration of the first social terminal, or the activation of a bell, and the like.
可以看出,本实施例的方案中,由于社交服务器获取了第一社交终端和第二社交终端的位置信息,并且在根据获取的第一社交终端的位置信息和第二社交终端的位置信息,确定第一社交终端和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定第一社交终端发布的第一兴趣标签包括的K1个兴趣子标签和第二社交终端发布的第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,而这就可使第一社交终端的用户获知与其近距离接触过的具有相同或者类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而可使得第一社交终端的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得有可能,可见,本实施例的技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而有利于丰富用户社交方式,有利于拓展用户交友渠道,进而有利于增加运营商流量。It can be seen that, in the solution of this embodiment, since the social server acquires the location information of the first social terminal and the second social terminal, and according to the acquired location information of the first social terminal and the location information of the second social terminal, Determine that the separation distance between the first social terminal and the second social terminal is less than or equal to a preset friendship reminder distance threshold, and determine K1 interest sub-tags included in the first interest tag published by the first social terminal and the second social terminal In the case where the matching degree between the K2 interest sub-tags included in the published second interest tag exceeds a preset matching threshold, send a first friendship reminder message to the first social terminal, where the first friendship reminder message carries relative orientation information and the identifier of the second social terminal, and this makes it possible for the user of the first social terminal to know other users who have the same or similar interests and hobbies who have been in close contact with him. The identification of the social terminal makes it possible for the user of the first social terminal to communicate with other users who have the same or similar interests and hobbies. The demand for making friends with strangers in a small space is conducive to enriching users' social methods, expanding user friendmaking channels, and increasing operator traffic.
进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述第一社交终端之间的相对方位的相对方位信息,第一社交终端可控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很有可能被包含在拍摄得到的视频或图片之中,进而有利于为所述第一社交终端的用户或第一社交终端的交友预判提供有效参考。Further, the first friend reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the first social terminal, and the first social terminal can control the rotation of the first social terminal. The camera shoots at the position of the second social terminal indicated by the relative position information, which makes it very likely that the person image of the user of the second social terminal is included in the captured video or picture, and further has It is beneficial to provide an effective reference for the user of the first social terminal or the pre-judgment of making friends of the first social terminal.
可选的,在本发明的一些可能的实施方式中,所述第一社交终端可将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第一社交终端可以展示所述拍摄得到的视频或者图片。此外,在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第一社交终端可能不展示所述拍摄得到的视频或者图片。当然,所述第一社交终端是否展示所述拍摄得到的视频或者图片,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible implementations of the present invention, the first social terminal may match the image of the person in the captured video or picture with a preset standard friendship model; In the case that the matching degree between the character image in the video or the picture and the preset standard friendship model is greater than or equal to the threshold, the first social terminal may display the video or picture obtained by shooting. In addition, in the case where the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than a threshold, the first social terminal may not display the captured video or picture . Of course, whether the first social terminal displays the captured video or picture may not refer to the matching degree between the person image in the captured video or picture and the preset standard friendship model.
可选的,在本发明的一些可能的实施方式中,所述第一社交终端将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第一社交终端执行用于提醒用户已收到交友提醒消息的提醒操作。此外,在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第一社交终端可能不执行用于提醒用户已收到交友提醒消息的提醒操作,或者所述第一社交终端也可删除第一交友提醒消息。当然,所述第一社交终端是否提醒用户已收到交友提醒消息的提醒操作,或者是否删除第一交友提醒消息,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible implementations of the present invention, the first social terminal matches the image of the person in the captured video or picture with a preset standard friendship model; When the degree of matching between the person image in the video or the picture and the preset standard friendship model is greater than or equal to the threshold, the first social terminal performs a reminding operation for reminding the user that the friending reminder message has been received. In addition, in the case that the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than the threshold, the first social terminal may not perform the function of reminding the user that the friendship has been received. The reminder operation of the reminder message, or the first social terminal may also delete the first friend reminder message. Of course, whether the first social terminal reminds the user that he has received the reminder operation of the friendship reminder message, or whether to delete the first friendship reminder message, may not refer to the image of the person in the captured video or picture and the preset Match between standard dating models.
可选的,在本发明一些可能的实施方式中,所述第一社交终端将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第一社交终端展示所述第一交友提醒消息。在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第一社交终端也可能展示所述第一交友提醒消息,当然所述第一社交终端是否展示所述第一交友提醒消息,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible implementations of the present invention, the first social terminal matches the image of the person in the captured video or picture with a preset standard friendship model; Or when the degree of matching between the person image in the picture and the preset standard friendship model is greater than or equal to a threshold, the first social terminal displays the first friendship reminder message. In the case that the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than the threshold, the first social terminal may also display the first friendship reminder message, of course, all Whether the first social terminal displays the first friendship reminder message may not refer to the matching degree between the person image in the captured video or picture and the preset standard friendship model.
可选的,在本发明的一些可能的实施方式中,标准交友模型可能是对应如下至少一个关键参数的标准交友模型:年龄、性别、脸型、肤色、颜值和身材等等。例如标准交友模型针对的关键参数包括年龄和性别,具体例如标准交友模型要求年龄在20到40之间的女性,那么若估计所述拍摄得到的视频或图片中的人物图像为年龄在20到40之间的女性的图像,那么可认为所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值,反之可认为所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值。又举例来说,标准交友模型针对的关键参数包括年龄和性别和脸型,具体例如标准交友模型要求年龄在15到30之间的鹅蛋脸女性,那么若估计所述拍摄得到的视频或图片中的人物图像为年龄在15到30之间的鹅蛋脸女性的图像,那么可认为所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值,反之可认为所述拍摄得到的视频或者图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值。其他情况以此类推。Optionally, in some possible implementations of the present invention, the standard friendship model may be a standard friendship model corresponding to at least one of the following key parameters: age, gender, face shape, skin color, appearance, body shape, and so on. For example, the key parameters targeted by the standard friendship model include age and gender. Specifically, for example, the standard friendship model requires women between the ages of 20 and 40. If it is estimated that the images of people in the captured video or picture are between 20 and 40 years old If there is an image of a woman between the two, then it can be considered that the degree of matching between the image of the person in the obtained video or picture and the preset standard friendship model is greater than or equal to the threshold, otherwise it can be considered that the obtained video or picture. The matching degree between the character image in and the preset standard friendship model is less than the threshold. For another example, the key parameters targeted by the standard dating model include age, gender and face shape. Specifically, for example, the standard dating model requires oval-faced women between the ages of 15 and 30. If it is estimated that the characters in the obtained video or picture are estimated. If the image is an image of an oval-faced woman between the ages of 15 and 30, it can be considered that the matching degree between the person image in the obtained video or picture and the preset standard friendship model is greater than or equal to the threshold, otherwise it can be considered that The matching degree between the image of the person in the obtained video or picture and the preset standard friendship model is less than the threshold. And so on in other cases.
可选的,在本发明的一些可能的实施方式中,所述社交服务器向所述第一社交终端发送第一交友提醒消息,可包括:在所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长大于或等于阈值x秒(x例如可以等于1、5、15、10、30、80、300、600、700或者其它正数)的情况下,社交服务器向所述第一社交终端发送第一交友提醒消息。在有些时候,所述社交服务器是否向所述第一社交终端发送第一交友提醒消息,所参考的因素可能不包括所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长。Optionally, in some possible implementations of the present invention, the social server sending a first friendship reminder message to the first social terminal may include: sending a message between the first social terminal and the second social terminal The interval distance between them is less than or equal to the preset friendship reminder distance threshold and the duration is greater than or equal to the threshold x seconds (x can be equal to 1, 5, 15, 10, 30, 80, 300, 600, 700 or other positive numbers, for example ), the social server sends a first friendship reminder message to the first social terminal. In some cases, whether the social server sends a first friendship reminder message to the first social terminal, the reference factor may not include that the distance between the first social terminal and the second social terminal is less than or equal to Equal to the duration of the preset friend reminder distance threshold.
可选的,在本发明一些可能的实施方式中,社交服务器可根据获取的第一社交终端的位置信息和第二社交终端的位置信息,计算二者的距离值,并轮询第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间是否存在相同或相似的兴趣子标签,在二者的距离值小于或等于预设的交友提醒距离阈值,并且第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间存在相同或相似的兴趣子标签时,社交服务器可确定二者满足交友提醒的条件,社交服务器便可以向第一社交终端发送第一交友提醒消息。当然,社交服务器也还可由向第二社交终端发送第二交友提醒消息。Optionally, in some possible implementations of the present invention, the social server may calculate the distance value between the obtained location information of the first social terminal and the obtained location information of the second social terminal, and poll the first interest tag. Whether there are the same or similar interest sub-tags between the K1 interest sub-tags included and the K2 interest sub-tags included in the second interest tag, when the distance value between the two is less than or equal to the preset friendship reminder distance threshold, and the first When there are the same or similar interest sub-tags between the K1 interest sub-tags included in one interest tag and the K2 interest sub-tags included in the second interest tag, the social server can determine that the two meet the requirements for making friends, and the social server can Send a first friend reminder message to the first social terminal. Of course, the social server may also send the second friend reminder message to the second social terminal.
可选的,在本发明一些可能实施方式中,若所述社交服务器接收到所述第一社交终端向所述第二社交终端发送的第三交友问候回复消息,所述社交服务器可以进一步向所述第二社交终端转发所述第三交友问候回复消息。第三交友问候回复消息可由第一社交终端基于第一交友提醒消息携带的第二社交终端的标识向所述第二社交终端发送。例如第三交友问候回复消息携带第二社交终端的标识,其中,第二社交终端的标识为第三交友问候回复消息的目的社交终端标识。Optionally, in some possible implementations of the present invention, if the social server receives a third friend greeting reply message sent by the first social terminal to the second social terminal, the social server may further send a message to the social media server. The second social terminal forwards the third friend greeting reply message. The third friend greeting reply message may be sent by the first social terminal to the second social terminal based on the identifier of the second social terminal carried in the first friend reminder message. For example, the third friend greeting reply message carries the identifier of the second social terminal, where the identifier of the second social terminal is the target social terminal identifier of the third friend greeting reply message.
可选的,在本发明的一些可能的实施方式中,在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2 个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,所述社交服务器还可向所述第二社交终端发送第二交友提醒消息,其中,所述第二交友提醒消息包括相对方位信息和所述第一社交终端的标识。其中,若还向第二社交终端发送第二交友提醒消息,从而使得第二社交终端的用户也可据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得可能,在一定程度上体现了用户权利对等性。Optionally, in some possible implementations of the present invention, the first social terminal and the first social terminal are determined according to the acquired location information of the first social terminal and the obtained location information of the second social terminal The distance between the two social terminals is less than or equal to the preset friendship reminder distance threshold, and the distance between K1 interest sub-tags included in the first interest tag and K2 interest sub-tags included in the second interest tag is determined. In the case that the matching degree exceeds a preset matching threshold, the social server may also send a second friendship reminder message to the second social terminal, wherein the second friendship reminder message includes relative orientation information and the first friendship reminder message. The identity of the social terminal. Wherein, if a second friend-making reminder message is also sent to the second social terminal, so that users of the second social terminal can also communicate with other users who have the same or similar interests and hobbies who have been in close contact with the second social terminal accordingly. To a certain extent, it reflects the equality of user rights.
可选的,在本发明一些可能的实施方式中,所述社交服务器向所述第二社交终端发送第二交友提醒消息可包括:在所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长大于或等于阈值x秒(x例如可等于1、5、10、30、101、300或601或其它值)的情况下,社交服务器向所述第二社交终端发送第二交友提醒消息。Optionally, in some possible implementations of the present invention, the sending, by the social server, a second friendship reminder message to the second social terminal may include: between the first social terminal and the second social terminal In the case where the interval distance is less than or equal to the preset friendship reminder distance threshold and the duration is greater than or equal to the threshold x seconds (x may be equal to 1, 5, 10, 30, 101, 300 or 601 or other values), the social server Sending a second friendship reminder message to the second social terminal.
可选的,在本发明一些可能的实施方式中,社交服务器可根据获取的第一社交终端的位置信息和第二社交终端的位置信息,计算二者的距离值,并轮询第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间是否存在相同或相似的兴趣子标签,在二者的距离值小于或等于预设的交友提醒距离阈值,且第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间存在相同或相似的兴趣子标签的情况下,社交服务器可确定二者满足交友提醒的条件,社交服务器便可向第一社交终端发送第一交友提醒消息,当然,确定二者满足交友提醒的条件的情况下社交服务器也还可向第二社交终端发送第二交友提醒消息。Optionally, in some possible implementations of the present invention, the social server may calculate the distance value between the obtained location information of the first social terminal and the obtained location information of the second social terminal, and poll the first interest tag. Whether there are the same or similar interest sub-tags between the K1 interest sub-tags included and the K2 interest sub-tags included in the second interest tag, when the distance between the two is less than or equal to the preset friendship reminder distance threshold, and the first In the case where the same or similar interest sub-tags exist between the K1 interest sub-tags included in one interest tag and the K2 interest sub-tags included in the second interest tag, the social server may determine that the two meet the requirements for making friends, and the social server The first friendship reminder message can be sent to the first social terminal. Of course, if it is determined that the two meet the requirements for the friendship reminder, the social server can also send the second friendship reminder message to the second social terminal.
进一步的,所述第一交友提醒消息还可携带第二问候语。Further, the first friendship reminder message may also carry a second greeting.
进一步的,所述第二交友提醒消息还可携带第一问候语。Further, the second friendship reminder message may also carry the first greeting.
其中,第一问候语例如可包括:文字、图片、语音和视频中的任一种或几种的组合。可选的,在本发明一些可能的实施方式中,所述第一问候语例如由所述第一社交终端设定,或所述第一问候语可由所述社交服务器从问候语可选集合中选择(如随机选择),或可由其他设备设定。其中,所述第一问候语若由所述第一社交终端设定,则有利于更好的体现个性化问候。Wherein, the first greeting may include, for example, any one or a combination of text, picture, voice and video. Optionally, in some possible implementations of the present invention, the first greeting is set by the first social terminal, for example, or the first greeting may be selected by the social server from an optional set of greetings. Selected (eg randomly selected), or can be set by other devices. Wherein, if the first greeting is set by the first social terminal, it is beneficial to better reflect the personalized greeting.
其中,第二问候语例如可包括:文字、图片、语音和视频中的任一种或几种的组合。可选的,在本发明一些可能的实施方式中,所述第二问候语例如由所述第二社交终端设定,或所述第二问候语可由所述社交服务器从问候语可选集合中选择(如随机选择),或可由其他设备设定。其中,所述第二问候语若由所述第二社交终端设定,则有利于更好的体现个性化问候。Wherein, the second greeting may include, for example, any one or a combination of text, picture, voice and video. Optionally, in some possible implementations of the present invention, the second greeting is set by the second social terminal, for example, or the second greeting may be selected by the social server from an optional set of greetings. Selected (eg randomly selected), or can be set by other devices. Wherein, if the second greeting is set by the second social terminal, it is beneficial to better reflect the personalized greeting.
可选的,在本发明一些可能实施方式中,若所述社交服务器接收到所述第二社交终端向所述第一社交终端发送的第四交友问候回复消息,所述社交服务器可以进一步向所述第一社交终端转发所述第四交友问候回复消息,第一社交终端可接收所述第四交友问候回复消息。其中,第四交友问候回复消息可由第二社交终端基于第二交友提醒消息携带的第一社交终端的标识向所述第一社交终端发送。例如第四交友问候回复消息携带第一社交终端的标识,第一社交终端的标识为第四交友问候回复消息的目的社交终端标识。Optionally, in some possible implementations of the present invention, if the social server receives a fourth friend greeting reply message sent by the second social terminal to the first social terminal, the social server may further send a message to the social network server. The first social terminal forwards the fourth friend greeting reply message, and the first social terminal may receive the fourth friend greeting reply message. The fourth friend greeting reply message may be sent by the second social terminal to the first social terminal based on the identifier of the first social terminal carried in the second friend reminder message. For example, the fourth friend greeting reply message carries the identifier of the first social terminal, and the identifier of the first social terminal is the target social terminal identifier of the fourth friend greeting reply message.
可选的,在本发明的一些可能的实施方式中,第一社交终端的标识可以为登录第一社交终端的社交账号(如即时通讯账号),或者第一社交终端的标识可为分配给第一社交终端的临时社交账号(如临时即时通讯账号),或者第一社交终端的标识可为第一社交终端的设备标识。Optionally, in some possible embodiments of the present invention, the identifier of the first social terminal may be a social account (such as an instant messaging account) that logs in to the first social terminal, or the identifier of the first social terminal may be assigned to the first social terminal. A temporary social account of a social terminal (eg, a temporary instant messaging account), or the identifier of the first social terminal may be a device identifier of the first social terminal.
可选的,在本发明的一些可能的实施方式中,第二社交终端的标识可以为登录第二社交终端的社交账号(如即时通讯账号),或者第二社交终端的标识可为分配给第二社交终端的临时社交账号(如临时即时通讯账号),或者第二社交终端的标识可为第二社交终端的设备标识。Optionally, in some possible embodiments of the present invention, the identifier of the second social terminal may be a social account (such as an instant messaging account) that logs in to the second social terminal, or the identifier of the second social terminal may be assigned to the first social terminal. The temporary social account of the second social terminal (eg, a temporary instant messaging account), or the identifier of the second social terminal may be the device identifier of the second social terminal.
可以理解,使用临时即时通讯账号来进行交互,有利于更好的实现双方的匿名交流。It can be understood that using a temporary instant messaging account for interaction is conducive to better realization of anonymous communication between the two parties.
可选的,在本发明一些可能的实施方式中,在K1个兴趣子标签中的兴趣子标签i与K2个兴趣子标签中的兴趣子标签j相同或相似的情况下,社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值。其中,兴趣子标签i为K1个兴趣子标签中的任意一个兴趣子标签,兴趣子标签j为K2个兴趣子标签中的任意一个兴趣子标签。Optionally, in some possible embodiments of the present invention, in the case that the interest sub-tag i in the K1 interest sub-tags is the same or similar to the interest sub-tag j in the K2 interest sub-tags, the social server may determine the first The matching degree between the K1 interest sub-tags included in one interest tag and the K2 interest sub-tags included in the second interest tag exceeds a preset matching threshold. The interest sub-tag i is any one of the K1 interest sub-tags, and the interest sub-tag j is any one of the K2 interest sub-tags.
举例来说,假设兴趣子标签i和兴趣子标签j同为“旅游”词组,则社交服务器可以确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,即第一社交终端和第二社交终端各自对应的用户之间存在至少一个共同的兴趣爱好。For example, assuming that the interest sub-tag i and the interest sub-tag j are both "travel" phrases, the social server can determine the difference between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag. The inter-matching degree exceeds a preset matching threshold, that is, there is at least one common hobby between the users corresponding to the first social terminal and the second social terminal.
又举例来说,假设兴趣子标签i和兴趣子标签j同为“台球”词组,则社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,即第一社交终端和第二社交终端各自对应的用户之间存在至少一个共同的兴趣爱好。For another example, assuming that the interest sub-tag i and the interest sub-tag j are both the phrase "billiards", the social server can determine K1 interest sub-tags included in the first interest tag and K2 interest sub-tags included in the second interest tag. The degree of matching between them exceeds the preset matching threshold, that is, there is at least one common hobby between the users corresponding to the first social terminal and the second social terminal.
再举例来说,假设兴趣子标签i为“摄影”词组,而兴趣子标签j为“自拍”词组,由于二者具有较高的相似度,此时社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2 个兴趣子标签之间匹配度超过预设的匹配阈值,即第一社交终端和第二社交终端各自对应的用户之间存在类似的兴趣爱好。For another example, suppose that the interest sub-tag i is the phrase "photography", and the interest sub-tag j is the phrase "selfie". Since the two have a high degree of similarity, the social server can determine the K1 included in the first interest tag. The matching degree between the interest sub-tags and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold, that is, the users corresponding to the first social terminal and the second social terminal have similar interests.
再举例来说,假设兴趣子标签i为“台球”词组,兴趣子标签j为“英式斯诺克”词组,由于二者具有较高的相似度,此时社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,即第一社交终端和第二社交终端各自对应的用户之间存在类似的兴趣爱好。For another example, suppose that the interest sub-tag i is the phrase "billiards", and the interest sub-tag j is the phrase "English snooker". Since the two have a high degree of similarity, the social server can determine the first interest tag at this time. The matching degree between the included K1 interest sub-tags and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold, that is, there are similar interests between the users corresponding to the first social terminal and the second social terminal. Hobby.
可以理解,上述举例主要是为了说明K1个兴趣子标签中的兴趣子标签i与K2个兴趣子标签中的兴趣子标签j相同或相似的一些可能情况,其他场景可以此类推。It can be understood that the above examples are mainly to illustrate some possible situations in which the interest sub-tag i in the K1 interest sub-tags is the same or similar to the interest sub-tag j in the K2 interest sub-tags, and other scenarios can be deduced by analogy.
为便于更好理解和实施本发明实施例的上述方案,下面结合一些具体的应用场景进行举例说明。In order to facilitate better understanding and implementation of the above solutions in the embodiments of the present invention, the following descriptions are given with reference to some specific application scenarios.
请参见图3-a和图3-b,图3-a为本发明的另一个实施例提供的另一种消息交互方法的流程示意图。图3-b为本发明的另一个实施例提供的通信系统的网络架构示意图。其中,图3-b中是以第一社交终端和第二社交终端为手机来举例的。图3-a为本发明的另一个实施例提供的另一种消息交互方法的流程示意图。Please refer to FIG. 3-a and FIG. 3-b. FIG. 3-a is a schematic flowchart of another message interaction method provided by another embodiment of the present invention. FIG. 3-b is a schematic diagram of a network architecture of a communication system according to another embodiment of the present invention. Wherein, in FIG. 3-b, the first social terminal and the second social terminal are used as mobile phones as an example. FIG. 3-a is a schematic flowchart of another message interaction method provided by another embodiment of the present invention.
其中,如图3-a所示,本发明的另一个实施例提供的另一种消息交互方法可以包括:Wherein, as shown in FIG. 3-a, another message interaction method provided by another embodiment of the present invention may include:
s301、第一社交终端登陆社交服务器。s301. The first social terminal logs in to the social server.
s302、第一社交终端向社交服务器发送用于请求开通兴趣交友服务开通的服务开通请求q1。s302. The first social networking terminal sends a service activation request q1 for requesting activation of the interest-based friendship service to the social networking server.
其中,社交服务器在接收到第一社交终端发送的上述服务开通请求q1之后可标记第一社交终端开通了兴趣交友服务,当然如果第一社交终端默认开通了兴趣交友服务则可省略步骤s302。Wherein, the social server may mark the first social terminal to activate the interest dating service after receiving the service activation request q1 sent by the first social terminal. Of course, if the first social terminal has enabled the interest dating service by default, step s302 may be omitted.
其中,服务开通请求q1可携带第一社交终端发布的第一兴趣标签,社交服务器可以据此获取已开通兴趣交友服务的第一社交终端所发布的第一兴趣标签。The service activation request q1 may carry the first interest tag published by the first social terminal, and the social server may obtain the first interest tag published by the first social terminal that has activated the interest dating service accordingly.
其中,所述第一兴趣标签包括K1个兴趣子标签。Wherein, the first interest tag includes K1 interest sub-tags.
其中,K1例如可等于1、2、3、5、6、10、17、23或其他值。Wherein, K1 may be equal to, for example, 1, 2, 3, 5, 6, 10, 17, 23 or other values.
此外,第一社交终端亦可通过其他消息向社交服务器发送第一社交终端发布的第一兴趣标签。例如,第一社交终端可通过不同于服务开通请求的标签发布请求,来向社交服务器发送第一社交终端发布的第一兴趣标签。In addition, the first social terminal may also send the first interest tag published by the first social terminal to the social server through other messages. For example, the first social terminal may send the first interest tag published by the first social terminal to the social server through a tag publishing request different from the service provisioning request.
可选的,在本发明一些可能的实施方式中,服务开通请求q1中可携带第一社交终端发布的第一问候语。此外,第一社交终端亦可通过其他消息向社交服务器发送第一社交终端发布的第一问候语。例如,第一社交终端可通过不同于服务开通请求q1的问候语发布请求,来向社交服务器发送第一社交终端发布的第一问候语。Optionally, in some possible implementations of the present invention, the service provisioning request q1 may carry the first greeting issued by the first social terminal. In addition, the first social terminal may also send the first greeting published by the first social terminal to the social server through other messages. For example, the first social terminal may send the first greeting issued by the first social terminal to the social server through a greeting issuing request different from the service provisioning request q1.
s303、第二社交终端登陆社交服务器。s303. The second social terminal logs in to the social server.
s304、第二社交终端向社交服务器发送用于请求开通兴趣交友服务开通的服务开通请求q2。s304. The second social terminal sends a service activation request q2 for requesting activation of the interest-based friendship service to the social server.
其中,社交服务器在接收到第二社交终端发送的上述服务开通请求q2之后可标记第二社交终端开通了兴趣交友服务,当然,如果第二社交终端默认开通了兴趣交友服务则可省略步骤s304。Wherein, the social server may mark the second social terminal to activate the interest dating service after receiving the service activation request q2 sent by the second social terminal. Of course, if the second social terminal has enabled the interest dating service by default, step s304 may be omitted.
其中,服务开通请求q2可携带第一社交终端发布的第二兴趣标签,社交服务器可以据此获取已开通兴趣交友服务的第二社交终端所发布的第二兴趣标签。Wherein, the service activation request q2 may carry the second interest tag published by the first social terminal, and the social server may obtain the second interest tag published by the second social terminal that has activated the interest dating service accordingly.
其中,所述第一兴趣标签包括K2个兴趣子标签。Wherein, the first interest tag includes K2 interest sub-tags.
其中,K2例如可等于1、2、3、5、6、10、17、25或其他值。Wherein, K2 may be, for example, equal to 1, 2, 3, 5, 6, 10, 17, 25 or other values.
此外,第二社交终端亦可通过其他消息向社交服务器发送第二社交终端发布的第二兴趣标签。例如,第二社交终端可通过不同于服务开通请求的标签发布请求,来向社交服务器发送第二社交终端发布的第二兴趣标签。In addition, the second social terminal may also send the second interest tag published by the second social terminal to the social server through other messages. For example, the second social terminal may send the second interest tag published by the second social terminal to the social server through a tag publishing request different from the service provisioning request.
可选的,在本发明一些可能的实施方式中,服务开通请求q2中可携带第二社交终端发布的第二问候语。此外,第二社交终端亦可通过其他消息向社交服务器发送第二社交终端发布的第二问候语。例如,第二社交终端可通过不同于服务开通请求q2的问候语发布请求,来向社交服务器发送第二社交终端发布的第二问候语。Optionally, in some possible implementations of the present invention, the service provisioning request q2 may carry the second greeting issued by the second social terminal. In addition, the second social terminal may also send the second greeting published by the second social terminal to the social server through other messages. For example, the second social terminal may send the second greeting issued by the second social terminal to the social server through a greeting issuing request different from the service provisioning request q2.
其中,兴趣标签可为表征用户兴趣爱好的词组、图片等等。Wherein, the interest tag may be a phrase, a picture, etc. that represent the user's hobbies.
兴趣标签具体可包括用户的至少一个的兴趣子标签,其中,上述兴趣子标签例如可以为“旅游”、“电影”或“游泳”等等词组,或者可为篮球图片或羽毛球图片等等图片,当然,兴趣子标签亦可能是能够在一定程度上表征用户兴趣爱好的其他数据形式。The interest tag may specifically include at least one interest sub-tag of the user, wherein the above-mentioned interest sub-tag may be, for example, phrases such as "travel", "movie" or "swimming", or a picture such as a basketball picture or a badminton picture, Of course, the interest sub-tags may also be other data forms that can represent the user's interests and hobbies to a certain extent.
可以理解的是,步骤s301~s302与步骤s303~s304之间是没有必然的执行先后顺序的。It can be understood that there is no necessary execution sequence between steps s301-s302 and steps s303-s304.
S305、社交服务器获取所述第一社交终端的位置信息。S305. The social server acquires the location information of the first social terminal.
S306、社交服务器获取所述第二社交终端的位置信息。S306. The social server acquires the location information of the second social terminal.
可以理解,步骤s305与步骤s306之间没有必然的执行先后顺序。It can be understood that there is no necessary execution sequence between step s305 and step s306.
可选的,在本发明一些可能的实施方式中,上述社交服务器可通过基站定位或卫星定位等等方式获取社交终端(如第一社交终端或第二社交终端)的位置信息。Optionally, in some possible embodiments of the present invention, the above-mentioned social server may obtain the location information of the social terminal (eg, the first social terminal or the second social terminal) by means of base station positioning or satellite positioning.
举例来说,在本发明的一些可能的实施方式中,第一社交终端和第二社交终端可周期性地获取自身当前的位置信息,并可将获取的位置信息上传至社交服务器,社交服务器可接收到第一社交终端和第二社交终端周期性发送的位置信息。For example, in some possible implementations of the present invention, the first social terminal and the second social terminal may periodically acquire their current location information, and may upload the acquired location information to the social server, and the social server may The location information periodically sent by the first social terminal and the second social terminal is received.
又举例来说,在本发明的一些可能的实施方式中,社交服务器也可以根据第一社交终端和第二社交终端当前所接入的WiFi热点的位置信息或者移动通信网络的小区信息等等,获取第一社交终端的位置信息和第二社交终端的位置信息。For another example, in some possible implementations of the present invention, the social server may also, according to the location information of the WiFi hotspot currently accessed by the first social terminal and the second social terminal or the cell information of the mobile communication network, etc., Acquire location information of the first social terminal and location information of the second social terminal.
s307、所述社交服务器在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,所述社交服务器向所述第一社交终端发送第一交友提醒消息。s307, the social server determines that the distance between the first social terminal and the second social terminal is less than Or it is equal to the preset friendship reminder distance threshold, and it is determined that the degree of matching between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold. In this case, the social server sends a first friendship reminder message to the first social terminal.
其中,所述第一交友提醒消息可携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位。所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The first friend reminder message may carry relative orientation information and an identifier of the second social terminal, and the relative orientation information is used to indicate the relative orientation between the second social terminal and the first social terminal . The first friendship reminder message is used to trigger the rotating camera of the first social terminal to shoot at the position of the second social terminal indicated by the relative position information.
其中,所述相对方位信息可基于第一社交终端的位置信息和第二社交终端的位置信息来确定。The relative orientation information may be determined based on the location information of the first social terminal and the location information of the second social terminal.
其中,所述相对方位信息可通过多种可能方式来来指示所述第二社交终端与所述第一社交终端之间的相对方位。其中,所述相对方位信息例如可以指示出所述第二社交终端在所述第一社交终端的东边、西边、南边或者北边。所述相对方位信息也可以指示出所述第二社交终端在所述第一社交终端的东偏南 x1°、东偏北x2°、西边偏南x3°或东偏北x4°等。所述相对方位信息也可指示出所述第二社交终端在所述第一社交终端的11点方向、9点方向、6点方向或3点方向等等。可以理解,若所述相对方位信息例如指示出所述第二社交终端在所述第一社交终端的东边,也就相当于指示出所述第一社交终端在所述第二社交终端的西边,其他情况可以此类推。当然,所述相对方位信息也可通过其他形式来指示所述第二社交终端与所述第一社交终端之间的相对方位,并不限于上述举例。Wherein, the relative orientation information may indicate the relative orientation between the second social terminal and the first social terminal through various possible ways. The relative orientation information may, for example, indicate that the second social terminal is east, west, south or north of the first social terminal. The relative orientation information may also indicate that the second social terminal is located at x1° east by south, x2° north by east, x3° by south west, or x4° by north east of the first social terminal. The relative orientation information may also indicate that the second social terminal is in the 11 o'clock, 9 o'clock, 6 o'clock, or 3 o'clock direction of the first social terminal, and so on. It can be understood that, if the relative orientation information, for example, indicates that the second social terminal is to the east of the first social terminal, it is equivalent to indicating that the first social terminal is to the west of the second social terminal. Other cases can be deduced by analogy. Certainly, the relative orientation information may also indicate the relative orientation between the second social terminal and the first social terminal in other forms, which is not limited to the above examples.
其中,x1、x2、x3和x4可以是正数。例如,x1例如可等于10、20、30、41或其他值。where x1, x2, x3 and x4 can be positive numbers. For example, x1 may be equal to 10, 20, 30, 41 or other values, for example.
S308、第一社交终端接收来自所述社交服务器的第一交友提醒消息,所述第一社交终端控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。S308: The first social terminal receives the first friend reminder message from the social server, and the first social terminal controls the rotating camera of the first social terminal to locate the second social terminal indicated by the relative orientation information The location to shoot.
其中,由于所述第一交友提醒消息可用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,因此所述第一社交终端在接收到第一交友提醒消息后,可控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄以得到视频或图片,这使得第二社交终端的用户的人物影像很可能被包含在拍摄得到的视频或图片之中,进而便于所述第一社交终端的用户或第一社交终端可据此进行是否交友预判等,例如,当所述第一社交终端的用户发现拍摄得到的视频或图片中的第二社交终端的用户的人物影像符合交友预期,那么可进一步与之进行联系,又例如,当所述第一社交终端的用户发现拍摄得到的视频或图片中的第二社交终端的用户的人物影像不符合交友预期,那么其可以放弃进一步的交友行动。Wherein, since the first friend reminder message can be used to trigger the rotating camera of the first social terminal to shoot at the position of the second social terminal indicated by the relative position information, the first social terminal After receiving the first friendship reminder message, the rotating camera of the first social terminal can be controlled to shoot at the position of the second social terminal indicated by the relative position information to obtain a video or picture, which enables the first The image of the person of the user of the second social terminal is likely to be included in the captured video or picture, so that the user of the first social terminal or the first social terminal can make a pre-judgment based on whether to make friends or not. For example, when If the user of the first social terminal finds that the person image of the user of the second social terminal in the captured video or picture meets the expectations for making friends, he can further contact him. For another example, when the user of the first social terminal If it is found that the person image of the user of the second social terminal in the captured video or picture does not meet the expectations of making friends, the user may give up further making friends.
可选的,在本发明一些可能的实施方式中,交友提醒距离阈值例如可以大于或者等于0米且小于或者等于25米。举例来说,交友提醒距离阈值例如可为1米、2米、10米、13米、20米、18米、8米、 25米、25米或35米或其他值。可以理解的是,交友提醒距离阈值可根据不同的应用场景而适当的减小或增大,其具体取值本发明实施例不做限定。Optionally, in some possible implementations of the present invention, the distance threshold for friend making reminders may be greater than or equal to 0 meters and less than or equal to 25 meters, for example. For example, the distance threshold for friend reminder may be 1 meter, 2 meters, 10 meters, 13 meters, 20 meters, 18 meters, 8 meters, 25 meters, 25 meters or 35 meters or other values. It can be understood that the distance threshold for friend making reminders may be appropriately reduced or increased according to different application scenarios, and the specific value thereof is not limited in the embodiment of the present invention.
可选的,在本发明的一些可能的实施方式中,在所述第一社交终端接收到所述第一交友提醒消息的设定时长t1之后,所述第一社交终端可执行用于提醒用户已收到交友提醒消息的提醒操作,所述t1大于0秒,例如t1可以等于3秒、5秒、10秒、20秒、50秒、100秒、200秒或其他时长。当所述第一社交终端接收到第一交友提醒消息,第一社交终端延迟设定时长t1之后再执行用于提醒用户已收到交友提醒消息的提醒操作,有些时候可避免用户直接对眼所造成的尴尬。当然在不考虑这些因素的情况下,在所述第一社交终端接收到所述第一交友提醒消息时,所述第一社交终端便可执行用于提醒用户已收到交友提醒消息的提醒操作,以便于用户及时获知已收到交友提醒消息。提醒操作可以是呼吸灯闪烁、第一社交终端振动或响铃被启动等。Optionally, in some possible implementations of the present invention, after the first social terminal receives the set duration t1 of the first friendship reminder message, the first social terminal may execute a function for reminding the user. The reminder operation of the friend reminder message has been received, the t1 is greater than 0 seconds, for example, t1 may be equal to 3 seconds, 5 seconds, 10 seconds, 20 seconds, 50 seconds, 100 seconds, 200 seconds or other durations. When the first social terminal receives the first friendship reminder message, the first social terminal delays for a set period of time t1 and then executes the reminder operation for reminding the user that the reminder message has been received. caused embarrassment. Of course, without considering these factors, when the first social networking terminal receives the first friendship reminder message, the first social networking terminal may execute a reminder operation for reminding the user that the friendship reminder message has been received , so that users can know in time that they have received a friend reminder message. The reminding operation may be the blinking of the breathing light, the vibration of the first social terminal, or the activation of a bell, and the like.
在一些可能的实施方式中,所述社交服务器向所述第一社交终端发送第一交友提醒消息可包括:在所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长大于或等于阈值x秒(x例如可等于1、5、10、30、300或601)的情况下,社交服务器向所述第一社交终端发送第一交友提醒消息。In some possible implementation manners, the sending, by the social server, the first friendship reminder message to the first social terminal may include: the separation distance between the first social terminal and the second social terminal is less than or equal to If the duration of the preset friendship reminder distance threshold is greater than or equal to the threshold x seconds (x may be equal to 1, 5, 10, 30, 300, or 601, for example), the social server sends the first friendship to the first social terminal Alert message.
可选的,在本发明的一些可能的实施方式中,所述第一社交终端可将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第一社交终端可以展示所述拍摄得到的视频或者图片。此外,在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第一社交终端可能不展示所述拍摄得到的视频或者图片。当然,所述第一社交终端是否展示所述拍摄得到的视频或者图片,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible implementations of the present invention, the first social terminal may match the image of the person in the captured video or picture with a preset standard friendship model; In the case that the matching degree between the character image in the video or the picture and the preset standard friendship model is greater than or equal to the threshold, the first social terminal may display the video or picture obtained by shooting. In addition, in the case where the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than a threshold, the first social terminal may not display the captured video or picture . Of course, whether the first social terminal displays the captured video or picture may not refer to the matching degree between the person image in the captured video or picture and the preset standard friendship model.
可选的,在本发明的一些可能的实施方式中,所述第一社交终端将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第一社交终端执行用于提醒用户已收到交友提醒消息的提醒操作。此外,在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第一社交终端可能不执行用于提醒用户已收到交友提醒消息的提醒操作,或者所述第一社交终端也可删除第一交友提醒消息。当然,所述第一社交终端是否提醒用户已收到交友提醒消息的提醒操作,或者是否删除第一交友提醒消息,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible implementations of the present invention, the first social terminal matches the image of the person in the captured video or picture with a preset standard friendship model; When the degree of matching between the person image in the video or the picture and the preset standard friendship model is greater than or equal to the threshold, the first social terminal performs a reminding operation for reminding the user that the friending reminder message has been received. In addition, in the case that the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than the threshold, the first social terminal may not perform the function of reminding the user that the friendship has been received. The reminder operation of the reminder message, or the first social terminal may also delete the first friend reminder message. Of course, whether the first social terminal reminds the user that he has received the reminder operation of the friendship reminder message, or whether to delete the first friendship reminder message, may not refer to the image of the person in the captured video or picture and the preset Match between standard dating models.
可选的,在本发明一些可能的实施方式中,所述第一社交终端将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第一社交终端展示所述第一交友提醒消息。在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第一社交终端也可能展示所述第一交友提醒消息,当然所述第一社交终端是否展示所述第一交友提醒消息,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible implementations of the present invention, the first social terminal matches the image of the person in the captured video or picture with a preset standard friendship model; Or when the degree of matching between the person image in the picture and the preset standard friendship model is greater than or equal to a threshold, the first social terminal displays the first friendship reminder message. In the case that the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than the threshold, the first social terminal may also display the first friendship reminder message, of course, all Whether the first social terminal displays the first friendship reminder message may not refer to the matching degree between the person image in the captured video or picture and the preset standard friendship model.
可选的,在本发明的一些可能的实施方式中,标准交友模型可能是对应如下至少一个关键参数的标准交友模型:年龄、性别、脸型、肤色、颜值和身材等等。例如标准交友模型针对的关键参数包括年龄和性别,具体例如标准交友模型要求年龄在20到40之间的女性,那么若估计所述拍摄得到的视频或图片中的人物图像为年龄在20到40之间的女性的图像,那么可认为所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值,反之可认为所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值。又举例来说,标准交友模型针对的关键参数包括年龄和性别和脸型,具体例如,标准交友模型要求年龄在15到30之间的鹅蛋脸女性,那么若估计所述拍摄得到的视频或图片中的人物图像为年龄在15到30之间的鹅蛋脸女性的图像,那么可认为所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值,反之可认为所述拍摄得到的视频或者图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值。其他情况以此类推。Optionally, in some possible implementations of the present invention, the standard friendship model may be a standard friendship model corresponding to at least one of the following key parameters: age, gender, face shape, skin color, appearance, body shape, and so on. For example, the key parameters targeted by the standard friendship model include age and gender. Specifically, for example, the standard friendship model requires women between the ages of 20 and 40. If it is estimated that the images of people in the captured video or picture are between 20 and 40 years old If there is an image of a woman between the two, then it can be considered that the degree of matching between the image of the person in the obtained video or picture and the preset standard friendship model is greater than or equal to the threshold, otherwise it can be considered that the obtained video or picture. The matching degree between the character image in and the preset standard friendship model is less than the threshold. For another example, the key parameters targeted by the standard dating model include age, gender and face shape. Specifically, for example, the standard dating model requires oval-faced women between the ages of 15 and 30. If it is estimated that the captured video or picture contains The person image is an image of an oval-faced woman between the ages of 15 and 30, then it can be considered that the degree of matching between the person image in the captured video or picture and the preset standard friendship model is greater than or equal to the threshold, and vice versa. It is considered that the matching degree between the person image in the obtained video or picture and the preset standard friendship model is less than the threshold. And so on in other cases.
可以理解,使用临时即时通讯账号来进行交互,有利于更好的实现双方的匿名交流。It can be understood that using a temporary instant messaging account for interaction is conducive to better realization of anonymous communication between the two parties.
S309、所述社交服务器在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,所述社交服务器向所述第二社交终端发送第二交友提醒消息。S309, the social server determines that the distance between the first social terminal and the second social terminal is less than or equal to the preset friendship reminder distance threshold, and it is determined that the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds the preset matching threshold. In this case, the social server sends a second friendship reminder message to the second social terminal.
其中,所述第一交友提醒消息可携带所述相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位。所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The first friendship reminder message may carry the relative orientation information and the identifier of the second social terminal, and the relative orientation information is used to indicate the relationship between the second social terminal and the first social terminal. relative orientation. The first friendship reminder message is used to trigger the rotating camera of the first social terminal to shoot at the position of the second social terminal indicated by the relative position information.
其中,所述相对方位信息可基于第一社交终端的位置信息和第二社交终端的位置信息来确定。The relative orientation information may be determined based on the location information of the first social terminal and the location information of the second social terminal.
可选的,在本发明一些可能的实施方式中,所述社交服务器向所述第二社交终端发送第二交友提醒消息可包括:在所述第一社交终端和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长大于或等于阈值x秒(x例如可等于1、5、10、30、300或601或其它值)的情况下,社交服务器向所述第二社交终端发送第二交友提醒消息。Optionally, in some possible implementations of the present invention, the sending, by the social server, a second friendship reminder message to the second social terminal may include: an interval between the first social terminal and the second social terminal In the case where the distance is less than or equal to the preset friendship reminder distance threshold and the duration is greater than or equal to the threshold x seconds (x may be equal to 1, 5, 10, 30, 300 or 601 or other values, for example), the social server sends the The second social terminal sends a second friendship reminder message.
S310、第二社交终端接收来自所述社交服务器的第二交友提醒消息,所述第二社交终端控制所述第二社交终端的旋转摄像头在所述相对方位信息所指示的所述第一社交终端所处方位进行拍摄。S310. The second social terminal receives a second friend-making reminder message from the social server, and the second social terminal controls the rotating camera of the second social terminal in the first social terminal indicated by the relative orientation information The location to shoot.
其中,由于所述第二交友提醒消息可用于触发所述第二社交终端的旋转摄像头在所述相对方位信息所指示的所述第一社交终端所处方位进行拍摄,因此所述第二社交终端在接收到第二交友提醒消息后,可控制所述第二社交终端的旋转摄像头在所述相对方位信息所指示的所述第一社交终端所处方位进行拍摄以得到视频或图片,这使得第一社交终端的用户的人物影像很可能被包含在拍摄得到的视频或图片之中,进而便于所述第二社交终端的用户或第二社交终端可据此进行是否交友预判等,例如,当所述第二社交终端的用户发现拍摄得到的视频或图片中的第一社交终端的用户的人物影像符合交友预期,那么可进一步与之进行联系,又例如,当所述第二社交终端的用户发现拍摄得到的视频或图片中的第一社交终端的用户的人物影像不符合交友预期,那么其可以放弃进一步的交友行动。Wherein, since the second friend reminder message can be used to trigger the rotating camera of the second social terminal to shoot at the position of the first social terminal indicated by the relative position information, the second social terminal After receiving the second friendship reminder message, the rotating camera of the second social terminal can be controlled to shoot at the position of the first social terminal indicated by the relative position information to obtain a video or picture, which makes the first social terminal The character image of the user of one social terminal is likely to be included in the captured video or picture, so that the user of the second social terminal or the second social terminal can make a pre-judgment based on whether to make friends or not. For example, when If the user of the second social terminal finds that the person image of the user of the first social terminal in the captured video or picture meets the expectations of making friends, he can further contact him. For another example, when the user of the second social terminal If it is found that the person image of the user of the first social terminal in the captured video or picture does not meet the expectations of making friends, the user may give up further making friends.
可选的,在本发明的一些可能的实施方式中,所述第二社交终端可将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第二社交终端可以展示所述拍摄得到的视频或者图片。此外,在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第二社交终端可能不展示所述拍摄得到的视频或者图片。当然,所述第二社交终端是否展示所述拍摄得到的视频或者图片,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible embodiments of the present invention, the second social terminal may match the image of the person in the video or picture obtained by shooting with a preset standard friendship model; In the case that the matching degree between the character image in the video or the picture and the preset standard friendship model is greater than or equal to the threshold, the second social terminal may display the video or picture obtained by shooting. In addition, in the case where the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than a threshold, the second social terminal may not display the captured video or picture . Of course, whether the second social terminal displays the captured video or picture may not refer to the matching degree between the person image in the captured video or picture and the preset standard friendship model.
可选的,在本发明的一些可能的实施方式中,所述第二社交终端将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第二社交终端执行用于提醒用户已收到交友提醒消息的提醒操作。此外,在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第二社交终端可能不执行用于提醒用户已收到交友提醒消息的提醒操作,或者所述第二社交终端也可删除第二交友提醒消息。当然,所述第二社交终端是否提醒用户已收到交友提醒消息的提醒操作,或者是否删除第二交友提醒消息,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible implementations of the present invention, the second social terminal matches the image of the person in the captured video or picture with a preset standard friendship model; When the matching degree between the person image in the video or the picture and the preset standard friendship model is greater than or equal to the threshold, the second social terminal performs a reminding operation for reminding the user that the friendship reminder message has been received. In addition, in the case where the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than the threshold, the second social terminal may not perform the function of reminding the user that the friendship has been received. The reminder operation of the reminder message, or the second social terminal may also delete the second friend reminder message. Of course, whether the second social terminal reminds the user that he has received the reminder operation of the friendship reminder message, or whether to delete the second friendship reminder message, may not refer to the image of the person in the captured video or picture and the preset Match between standard dating models.
可选的,在本发明一些可能的实施方式中,所述第二社交终端将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,所述第二社交终端展示所述第二交友提醒消息。在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度小于阈值的情况下,所述第二社交终端也可能展示所述第二交友提醒消息,当然所述第二社交终端是否展示所述第二交友提醒消息,也可能不参考所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度。Optionally, in some possible implementations of the present invention, the second social terminal matches the image of the person in the captured video or picture with a preset standard friendship model; in the captured video Or when the matching degree between the person image in the picture and the preset standard friendship model is greater than or equal to a threshold, the second social terminal displays the second friendship reminder message. In the case that the matching degree between the person image in the captured video or picture and the preset standard friendship model is less than the threshold, the second social terminal may also display the second friendship reminder message. Of course, the Whether the second social terminal displays the second friendship reminder message may not refer to the matching degree between the person image in the captured video or picture and the preset standard friendship model.
进一步的,所述第一交友提醒消息还可携带第二问候语。Further, the first friendship reminder message may also carry a second greeting.
进一步的,所述第二交友提醒消息还可携带第一问候语。Further, the second friendship reminder message may also carry the first greeting.
其中,第一问候语例如可包括:文字、图片、语音和视频中的任一种或几种的组合。可选的,在本发明一些可能的实施方式中,所述第一问候语例如由所述第一社交终端设定,或所述第一问候语可由所述社交服务器从问候语可选集合中选择(如随机选择),或可由其他设备设定。其中,所述第一问候语若由所述第一社交终端设定,则有利于更好的体现个性化问候。Wherein, the first greeting may include, for example, any one or a combination of text, picture, voice and video. Optionally, in some possible implementations of the present invention, the first greeting is set by the first social terminal, for example, or the first greeting may be selected by the social server from an optional set of greetings. Selected (eg randomly selected), or can be set by other devices. Wherein, if the first greeting is set by the first social terminal, it is beneficial to better reflect the personalized greeting.
其中,第二问候语例如可包括:文字、图片、语音和视频中的任一种或几种的组合。可选的,在本发明一些可能的实施方式中,所述第二问候语例如由所述第二社交终端设定,或所述第二问候语可由所述社交服务器从问候语可选集合中选择(如随机选择),或可由其他设备设定。其中,所述第二问候语若由所述第二社交终端设定,则有利于更好的体现个性化问候。Wherein, the second greeting may include, for example, any one or a combination of text, picture, voice and video. Optionally, in some possible implementations of the present invention, the second greeting is set by the second social terminal, for example, or the second greeting may be selected by the social server from an optional set of greetings. Selected (eg randomly selected), or can be set by other devices. Wherein, if the second greeting is set by the second social terminal, it is beneficial to better reflect the personalized greeting.
可选的,在本发明一些可能实施方式中,若所述社交服务器接收到所述第二社交终端向所述第一社交终端发送的第四交友问候回复消息,所述社交服务器可以进一步向所述第一社交终端转发所述第四交友问候回复消息,第一社交终端可接收所述第四交友问候回复消息。其中,第四交友问候回复消息可由第二社交终端基于第二交友提醒消息携带的第一社交终端的标识向所述第一社交终端发送。例如第四交友问候回复消息携带第一社交终端的标识,第一社交终端的标识为第四交友问候回复消息的目的社交终端标识。Optionally, in some possible implementations of the present invention, if the social server receives a fourth friend greeting reply message sent by the second social terminal to the first social terminal, the social server may further send a message to the social network server. The first social terminal forwards the fourth friend greeting reply message, and the first social terminal may receive the fourth friend greeting reply message. The fourth friend greeting reply message may be sent by the second social terminal to the first social terminal based on the identifier of the first social terminal carried in the second friend reminder message. For example, the fourth friend greeting reply message carries the identifier of the first social terminal, and the identifier of the first social terminal is the target social terminal identifier of the fourth friend greeting reply message.
可选的,在本发明的一些可能的实施方式中,第一社交终端的标识可以为登录第一社交终端的社交账号(如即时通讯账号),或者第一社交终端的标识可为分配给第一社交终端的临时社交账号(如临时即时通讯账号),或者第一社交终端的标识可为第一社交终端的设备标识。Optionally, in some possible embodiments of the present invention, the identifier of the first social terminal may be a social account (such as an instant messaging account) that logs in to the first social terminal, or the identifier of the first social terminal may be assigned to the first social terminal. A temporary social account of a social terminal (eg, a temporary instant messaging account), or the identifier of the first social terminal may be a device identifier of the first social terminal.
可选的,在本发明的一些可能的实施方式中,第二社交终端的标识可以为登录第二社交终端的社交账号(如即时通讯账号),或者第二社交终端的标识可为分配给第二社交终端的临时社交账号(如临时即时通讯账号),或者第二社交终端的标识可为第二社交终端的设备标识。Optionally, in some possible embodiments of the present invention, the identifier of the second social terminal may be a social account (such as an instant messaging account) that logs in to the second social terminal, or the identifier of the second social terminal may be assigned to the first social terminal. The temporary social account of the second social terminal (eg, a temporary instant messaging account), or the identifier of the second social terminal may be the device identifier of the second social terminal.
可以理解,使用临时即时通讯账号来进行交互,有利于更好的实现双方的匿名交流。It can be understood that using a temporary instant messaging account for interaction is conducive to better realization of anonymous communication between the two parties.
可选的,在本发明一些可能的实施方式中,在K1个兴趣子标签中的兴趣子标签i与K2个兴趣子标签中的兴趣子标签j相同或相似的情况下,社交服务器可确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值。其中,兴趣子标签i为K1个兴趣子标签中的任意一个兴趣子标签,兴趣子标签j为K2个兴趣子标签中的任意一个兴趣子标签。Optionally, in some possible embodiments of the present invention, in the case that the interest sub-tag i in the K1 interest sub-tags is the same or similar to the interest sub-tag j in the K2 interest sub-tags, the social server may determine the first The matching degree between the K1 interest sub-tags included in one interest tag and the K2 interest sub-tags included in the second interest tag exceeds a preset matching threshold. The interest sub-tag i is any one of the K1 interest sub-tags, and the interest sub-tag j is any one of the K2 interest sub-tags.
可选的,在本发明一些可能的实施方式中,所述第二交友提醒消息携带的第一社交终端的标识可为登录第一社交终端的即时通讯账号,或所述第二交友提醒消息携带的第一社交终端的标识可为分配给第一社交终端的临时即时通讯账号,或所述第二交友提醒消息携带的第一社交终端的标识可为第一社交终端的设备标识。Optionally, in some possible implementations of the present invention, the identifier of the first social terminal carried in the second friend-making reminder message may be an instant messaging account that logs into the first social terminal, or the second friend-making reminder message may carry the identity of the first social terminal. The identifier of the first social terminal may be a temporary instant messaging account assigned to the first social terminal, or the identifier of the first social terminal carried in the second friend making reminder message may be the device identifier of the first social terminal.
可选的,在本发明一些可能的实施方式中,若所述社交服务器接收到所述第二社交终端基于所述第二交友提醒消息携带的所述第二社交终端的标识,向所述第一社交终端发送的第四交友问候回复消息,所述社交服务器可进一步向所述第一社交终端转发所述第四交友问候回复消息。Optionally, in some possible implementations of the present invention, if the social server receives the identifier of the second social terminal carried by the second social terminal based on the second friend making reminder message, it sends a notification to the first social network terminal. A fourth friend greeting reply message sent by a social terminal, the social server may further forward the fourth friend greeting reply message to the first social terminal.
可以看出,本实施例的方案中,由于社交服务器获取了第一社交终端和第二社交终端的位置信息,并且在根据获取的第一社交终端的位置信息和第二社交终端的位置信息,确定第一社交终端和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定第一社交终端发布的第一兴趣标签包括的K1个兴趣子标签和第二社交终端发布的第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,而这就可使第一社交终端的用户获知与其近距离接触过的具有相同或者类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而可使得第一社交终端的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得有可能,可见,本实施例的技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而有利于丰富用户社交方式,有利于拓展用户交友渠道,进而有利于增加运营商流量。It can be seen that, in the solution of this embodiment, since the social server acquires the location information of the first social terminal and the second social terminal, and according to the acquired location information of the first social terminal and the location information of the second social terminal, Determine that the separation distance between the first social terminal and the second social terminal is less than or equal to a preset friendship reminder distance threshold, and determine K1 interest sub-tags included in the first interest tag published by the first social terminal and the second social terminal In the case where the matching degree between the K2 interest sub-tags included in the published second interest tag exceeds a preset matching threshold, send a first friendship reminder message to the first social terminal, where the first friendship reminder message carries relative orientation information and the identifier of the second social terminal, and this makes it possible for the user of the first social terminal to know other users who have the same or similar interests and hobbies who have been in close contact with him. The identification of the social terminal makes it possible for the user of the first social terminal to communicate with other users who have the same or similar interests and hobbies. The demand for making friends with strangers in a small space is conducive to enriching users' social methods, expanding user friendmaking channels, and increasing operator traffic.
进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述第一社交终端之间的相对方位的相对方位信息,第一社交终端可控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很有可能被包含在拍摄得到的视频或者图片之中,进而有利于为所述第一社交终端的用户或第一社交终端的交友预判提供有效参考。Further, the first friend reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the first social terminal, and the first social terminal can control the rotation of the first social terminal. The camera shoots at the position of the second social terminal indicated by the relative position information, which makes the image of the user of the second social terminal likely to be included in the captured video or picture, and furthermore It is beneficial to provide an effective reference for the user of the first social terminal or the pre-judgment of making friends of the first social terminal.
本发明实施例下面还提供用于实施上述方案的相关装置。The following embodiments of the present invention also provide related devices for implementing the above solutions.
请参见图4,其中,图4是本发明的一个实施例提供的一种社交服务器的结构示意图。其中,如图4 所示,本发明的一个实施例提供的一种社交服务器400可以包括:兴趣标签获取单元410、位置获取单元 420、处理单元430和收发单元440。Please refer to FIG. 4, wherein FIG. 4 is a schematic structural diagram of a social server provided by an embodiment of the present invention. Wherein, as shown in FIG. 4 , a
兴趣标签获取单元410,用于获取第一社交终端发布到社交服务器的第一兴趣标签,获取第二社交终端发布到所述社交服务器的第二兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;所述第二兴趣标签包括K2个兴趣子标签,所述K2为正整数。An interest
位置获取单元420,用于获取所述第一社交终端的位置信息和所述第二社交终端的位置信息。The
处理单元430,用于根据所述位置获取单元获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离是否小于或等于预设的交友提醒距离阈值,确定所述兴趣标签获取单元获取的所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度是否超过预设的匹配阈值。The
收发单元440,用于在所述处理单元确定出所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,且确定出所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,其中,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位,其中,所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The
可选的,在本发明一些可能的实施方式中,收发单元440还用于,在所述处理单元确定出所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,且确定出所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第二社交终端发送第二交友提醒消息,所述第二交友提醒消息携带所述相对方位信息和所述第一社交终端的标识,所述第二交友提醒消息用于触发所述第二社交终端的旋转摄像头在所述相对方位信息所指示的所述第一社交终端所处方位进行拍摄。Optionally, in some possible implementations of the present invention, the
可选的,在本发明一些可能的实施方式中,在所述确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的方面,所述处理单元430 具体用于:在所述K1个兴趣子标签中的兴趣子标签i与所述K2个兴趣子标签中的兴趣子标签j相同或相似的情况下,确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,所述兴趣子标签i为所述K1个兴趣子标签中的任意一个兴趣子标签,所述兴趣子标签j为所述K2个兴趣子标签中的任意一个兴趣子标签。Optionally, in some possible embodiments of the present invention, the matching degree between the K1 interest sub-tags included in the determining of the first interest tag and the K2 interest sub-tags included in the second interest tag is more than In terms of the preset matching threshold, the
可选的,在本发明一些可能实施方式中,收发单元还用于,接收所述第一社交终端基于所述第一交友提醒消息携带的所述第二社交终端的标识,向所述第二社交终端发送的第三交友问候回复消息,向所述第二社交终端转发所述第三交友问候回复消息。Optionally, in some possible implementations of the present invention, the transceiver unit is further configured to receive the identifier of the second social terminal carried by the first social terminal based on the first friendship reminder message, and send the message to the second social terminal. The third friend-making greeting reply message sent by the social terminal, forwards the third friend-making greeting reply message to the second social terminal.
可选的,在本发明一些可能的实施方式中,所述交友提醒距离阈值大于或者等于0米,并且所述交友提醒距离阈值小于或者等于25米。Optionally, in some possible implementations of the present invention, the distance threshold for the friend making reminder is greater than or equal to 0 meters, and the distance threshold for the friend making reminder is less than or equal to 25 meters.
可选的,在本发明一些可能的实施方式中,所述第二社交终端的标识为登录所述第二社交终端的即时通讯账号,或所述第二社交终端的标识为分配给所述第二社交终端的临时即时通讯账号,或所述第二社交终端的标识为所述第二社交终端的设备标识。Optionally, in some possible implementations of the present invention, the identifier of the second social terminal is an instant messaging account that logs in to the second social terminal, or the identifier of the second social terminal is assigned to the first social media terminal. The temporary instant messaging account of the second social terminal, or the identifier of the second social terminal is the device identifier of the second social terminal.
可以理解的是,本实施例的社交服务器400的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each functional module of the
可以看出,本实施例的方案中,社交服务器400获取第一社交终端发布的第一兴趣标签,第一兴趣标签包括K1个兴趣子标签;社交服务器获取第二社交终端发布的第二兴趣标签,第二兴趣标签包括K2 个兴趣子标签。由于社交服务器400获取第一社交终端和第二社交终端的位置信息;并且在根据获取的第一社交终端的位置信息和第二社交终端的位置信息,确定第一社交终端和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,社交服务器400向第一社交终端发送第一交友提醒消息,第一交友提醒消息包括第二问候语和第二社交终端的标识,而这就可使第一社交终端的用户获知与其近距离接触过的具有相同或类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而使得第一社交终端的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得可能,可见本实施例技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而丰富用户社交方式,有利于拓展用户交友渠道,进而有利于增加运营商流量。It can be seen that in the solution of this embodiment, the
进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述第一社交终端之间的相对方位的相对方位信息,第一社交终端可控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很有可能被包含在拍摄得到的视频或图片之中,进而有利于为所述第一社交终端的用户或第一社交终端的交友预判提供有效参考。Further, the first friend reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the first social terminal, and the first social terminal can control the rotation of the first social terminal. The camera shoots at the position of the second social terminal indicated by the relative position information, which makes it very likely that the person image of the user of the second social terminal is included in the captured video or picture, and further has It is beneficial to provide an effective reference for the user of the first social terminal or the pre-judgment of making friends of the first social terminal.
参见图5,图5是本发明的另一个实施例提供的另一种社交服务器的结构示意图。如图5所示,本发明的另一个实施例提供的另一种社交服务器500可以包括:至少一个总线501、与总线501相连的至少一个处理器502以及与总线501相连的至少一个存储器503。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of another social server provided by another embodiment of the present invention. As shown in FIG. 5 , another
其中,处理器502通过总线501,调用存储器503中存储的代码以用于获取第一社交终端发布到社交服务器的第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;获取第二社交终端发布到所述社交服务器的第二兴趣标签,所述第二兴趣标签包括K2个兴趣子标签,所述K2为正整数;获取所述第一社交终端的位置信息和所述第二社交终端的位置信息;在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位,其中,所述第一交友提醒消息用于触发所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The processor 502 calls the code stored in the memory 503 through the bus 501 to obtain the first interest tag published by the first social terminal to the social server, where the first interest tag includes K1 interest sub-tags, and the K1 is a positive integer; obtains the second interest tag published by the second social terminal to the social server, the second interest tag includes K2 interest sub-tags, and K2 is a positive integer; obtains the location of the first social terminal information and the location information of the second social terminal; after determining the first social terminal and the second social terminal according to the acquired location information of the first social terminal and the location information of the second social terminal The interval distance between them is less than or equal to the preset friendship reminder distance threshold, and it is determined that the matching degree between the K1 interest sub-tags included in the first interest tag and the K2 interest sub-tags included in the second interest tag exceeds In the case of a preset matching threshold, a first friendship reminder message is sent to the first social terminal, and the first friendship reminder message carries the relative orientation information and the identifier of the second social terminal, and the relative orientation information is used for indicating the relative orientation between the second social terminal and the first social terminal, wherein the first friendship reminder message is used to trigger the rotating camera of the first social terminal to be indicated by the relative orientation information The location where the second social terminal is located is photographed.
可选的,在本发明一些可能的实施方式中,处理器502向所述第一社交终端发送第一交友提醒消息包括:在所述第一社交终端和所述第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值的持续时长大于或等于阈值x秒的情况下,向所述第一社交终端发送第一交友提醒消息,所述x为正数。Optionally, in some possible implementations of the present invention, sending the first friendship reminder message by the
可选的,在本发明的一些可能的实施方式中,处理器502还用于,在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第二社交终端发送第二交友提醒消息,所述第二交友提醒消息携带所述相对方位信息和所述第一社交终端的标识,所述第二交友提醒消息用于触发所述第二社交终端的旋转摄像头在所述相对方位信息所指示的所述第一社交终端所处方位进行拍摄。Optionally, in some possible implementations of the present invention, the
可选的,在本发明的一些可能的实施方式中,处理器502确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值包括:在所述K1个兴趣子标签中的兴趣子标签i与所述K2个兴趣子标签中的兴趣子标签j相同或相似的情况下,确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值,所述兴趣子标签i为所述K1个兴趣子标签中的任意一个兴趣子标签,所述兴趣子标签j为所述 K2个兴趣子标签中的任意一个兴趣子标签。Optionally, in some possible implementations of the present invention, the
可选的,在本发明的一些可能的实施方式中,处理器502还用于若接收到所述第一社交终端基于所述第一交友提醒消息携带的所述第二社交终端的标识,向所述第二社交终端发送的第三交友问候回复消息,向所述第二社交终端转发所述第三交友问候回复消息。Optionally, in some possible implementations of the present invention, the
可选的,在本发明的一些可能的实施方式中,所述交友提醒距离阈值大于或者等于0米,且所述交友提醒距离阈值小于或者等于25米。Optionally, in some possible implementations of the present invention, the distance threshold for the friend making reminder is greater than or equal to 0 meters, and the distance threshold for the friend making reminder is less than or equal to 25 meters.
可选的,在本发明的一些可能的实施方式中,所述第二社交终端的标识为登录所述第二社交终端的即时通讯账号,或所述第二社交终端的标识为分配给所述第二社交终端的临时即时通讯账号,或所述第二社交终端的标识为所述第二社交终端的设备标识。Optionally, in some possible implementations of the present invention, the identifier of the second social terminal is an instant messaging account that logs in to the second social terminal, or the identifier of the second social terminal is assigned to the The temporary instant messaging account of the second social terminal, or the identifier of the second social terminal is the device identifier of the second social terminal.
可以理解的是,本实施例的社交服务器500的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of the functional modules of the
可以看出,本实施例的方案中,社交服务器500获取第一社交终端发布的第一兴趣标签,第一兴趣标签包括K1个兴趣子标签;社交服务器获取第二社交终端发布的第二兴趣标签,第二兴趣标签包括K2 个兴趣子标签。由于社交服务器500获取第一社交终端和第二社交终端的位置信息;并且在根据获取的第一社交终端的位置信息和第二社交终端的位置信息,确定第一社交终端和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,社交服务器500向第一社交终端发送第一交友提醒消息,第一交友提醒消息包括第二问候语和第二社交终端的标识,而这就可使第一社交终端的用户获知与其近距离接触过的具有相同或类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而使得第一社交终端的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得可能,可见本实施例技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而丰富用户社交方式,有利于拓展用户交友渠道,进而有利于增加运营商流量。It can be seen that, in the solution of this embodiment, the
进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述第一社交终端之间的相对方位的相对方位信息,第一社交终端可控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很有可能被包含在拍摄得到的视频或图片之中,进而有利于为所述第一社交终端的用户或第一社交终端的交友预判提供有效参考。Further, the first friend reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the first social terminal, and the first social terminal can control the rotation of the first social terminal. The camera shoots at the position of the second social terminal indicated by the relative position information, which makes it very likely that the person image of the user of the second social terminal is included in the captured video or picture, and further has It is beneficial to provide an effective reference for the user of the first social terminal or the pre-judgment of making friends of the first social terminal.
请参见图6,其中,图6是本发明的一个实施例提供的一种社交终端的结构示意图。其中,如图6 所示,本发明的一个实施例提供的一种社交终端600可以包括:Please refer to FIG. 6 , wherein FIG. 6 is a schematic structural diagram of a social terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 6 , a social terminal 600 provided by an embodiment of the present invention may include:
发布单元610,用于向社交服务器发布第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;A
收发单元620,用于接收来自所述社交服务器的第一交友提醒消息,所述第一交友提醒消息由所述社交服务器在根据获取所述社交终端的位置信息和所述第二社交终端的位置信息,确定所述社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下发送,所述第二兴趣标签由所述第二社交终端发布到所述社交服务器,其中,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述社交终端之间的相对方位;A
拍摄控制单元630,用于控制所述社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The
可选的,在本发明的一些可能的实施方式中,所述社交终端600还包括处理单元640。Optionally, in some possible implementations of the present invention, the social terminal 600 further includes a processing unit 640 .
其中,所述处理单元640,用于将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,展示所述拍摄得到的视频或图片;Wherein, the processing unit 640 is used to match the image of the person in the video or picture obtained by shooting with the preset standard friendship model; the image of the person in the video or picture obtained by shooting matches the preset If the matching degree between the standard friendship models is greater than or equal to the threshold, display the video or picture obtained by shooting;
或者,所述处理单元640,用于将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,执行用于提醒用户已收到交友提醒消息的提醒操作;Alternatively, the processing unit 640 is configured to match the image of the person in the captured video or picture with a preset standard friendship model; the image of the person in the captured video or picture matches the preset When the degree of matching between the standard friendship models is greater than or equal to the threshold, perform a reminder operation for reminding the user that a reminder message for dating has been received;
或者,所述处理单元640,用于将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,展示所述第一交友提醒消息。Alternatively, the processing unit 640 is configured to match the image of the person in the captured video or picture with a preset standard friendship model; the image of the person in the captured video or picture matches the preset In the case that the matching degree between the standard friendship models is greater than or equal to the threshold, the first friendship reminder message is displayed.
可以理解的是,本实施例的社交终端600的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each functional module of the social terminal 600 in this embodiment can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can refer to the relevant descriptions of the above method embodiments, which will not be repeated here.
可以看出,本实施例的方案中,由于社交服务器获取了社交终端600和第二社交终端的位置信息,并且在根据获取的社交终端600的位置信息和第二社交终端的位置信息,确定社交终端600和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定社交终端600发布的第一兴趣标签包括的K1个兴趣子标签和第二社交终端发布的第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向社交终端600发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,而这就可使社交终端600的用户获知与其近距离接触过的具有相同或者类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而可使得社交终端600的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得有可能,可见,本实施例的技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而有利于丰富用户社交方式,有利于拓展用户交友渠道,进而有利于增加运营商流量。It can be seen that, in the solution of this embodiment, since the social server acquires the location information of the social terminal 600 and the second social terminal, and determines the social network according to the acquired location information of the social terminal 600 and the location information of the second social terminal The separation distance between the terminal 600 and the second social terminal is less than or equal to the preset friendship reminder distance threshold, and it is determined that the K1 interest sub-tags included in the first interest tag published by the social terminal 600 and the second interest sub-tags published by the second social terminal are determined. In the case where the matching degree between the K2 interest sub-tags included in the interest tag exceeds the preset matching threshold, a first friend making reminder message is sent to the social terminal 600, and the first friend making reminder message carries the relative orientation information and the second friend making reminder message. The identification of the social terminal, and this makes it possible for the user of the social terminal 600 to know other users who have the same or similar interests and hobbies in close contact with him. According to this, it is possible for the user of the social terminal 600 to communicate with other users who have the same or similar interests and hobbies in close contact with him. It can be seen that the technical solution of this embodiment is beneficial to meet the needs of users in a small space. The demand for making friends with strangers is conducive to enriching users' social methods, expanding user friendmaking channels, and increasing operator traffic.
进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述社交终端600之间的相对方位的相对方位信息,社交终端600可控制所述社交终端600的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很有可能被包含在拍摄得到的视频或图片之中,进而有利于为所述社交终端600的用户或社交终端600的交友预判提供有效参考。Further, the first friendship reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the social terminal 600, and the social terminal 600 can control the rotating camera of the social terminal 600 to locate the shooting at the position of the second social terminal indicated by the relative position information, which makes the image of the user of the second social terminal likely to be included in the captured video or picture, which is beneficial for all The user of the social terminal 600 or the friend prediction of the social terminal 600 provides an effective reference.
参见图7,图7是本发明的另一个实施例提供的另一种社交服务器的结构示意图。如图7所示,本发明的另一个实施例提供的另一种社交服务器700可以包括:至少一个总线701、与总线701相连的至少一个处理器702以及与总线701相连的至少一个存储器703。Referring to FIG. 7, FIG. 7 is a schematic structural diagram of another social server provided by another embodiment of the present invention. As shown in FIG. 7 , another
其中,处理器702通过总线701,调用存储器703中存储的代码以用于向社交服务器发布第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;接收来自所述社交服务器的第一交友提醒消息,所述第一交友提醒消息由所述社交服务器在根据获取所述社交终端的位置信息和所述第二社交终端的位置信息,确定所述社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下发送,所述第二兴趣标签由所述第二社交终端发布到所述社交服务器,其中,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述社交终端之间的相对方位;控制所述社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The
可选的,在本发明的一些可能的实施方式中,所述处理器702还用于将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,展示所述拍摄得到的视频或图片;Optionally, in some possible implementations of the present invention, the
或者,所述处理器702还用于将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,执行用于提醒用户已收到交友提醒消息的提醒操作;Alternatively, the
或者,所述处理器702还用于将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,展示所述第一交友提醒消息。Alternatively, the
可以理解的是,本实施例的社交终端700的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each functional module of the
可以看出,本实施例的方案中,由于社交服务器获取了社交终端700和第二社交终端的位置信息,并且在根据获取的社交终端700的位置信息和第二社交终端的位置信息,确定社交终端700和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定社交终端700发布的第一兴趣标签包括的K1个兴趣子标签和第二社交终端发布的第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向社交终端700发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,而这就可使社交终端700的用户获知与其近距离接触过的具有相同或者类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而可使得社交终端700的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得有可能,可见,本实施例的技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而有利于丰富用户社交方式,有利于拓展用户交友渠道,进而有利于增加运营商流量。It can be seen that, in the solution of this embodiment, since the social server acquires the location information of the
进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述社交终端700之间的相对方位的相对方位信息,社交终端700可控制所述社交终端700的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很有可能被包含在拍摄得到的视频或图片之中,进而有利于为所述社交终端700的用户或社交终端700的交友预判提供有效参考。Further, the first friendship reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the
参见图8,本发明实施例还提供一种通信系统,包括:Referring to FIG. 8, an embodiment of the present invention further provides a communication system, including:
社交服务器810、第一社交终端820和第二社交终端830。The
其中,所述社交服务器810用于,获取第一社交终端发布到社交服务器的第一兴趣标签,所述第一兴趣标签包括K1个兴趣子标签,所述K1为正整数;获取第二社交终端发布到所述社交服务器的第二兴趣标签,所述第二兴趣标签包括K2个兴趣子标签,其中,所述K2为正整数;获取所述第一社交终端的位置信息和所述第二社交终端的位置信息;在根据获取的所述第一社交终端的位置信息和所述第二社交终端的位置信息,确定所述第一社交终端和所述第二社交终端之间的间隔距离小于或者等于预设的交友提醒距离阈值,并且确定所述第一兴趣标签包括的K1个兴趣子标签和所述第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向所述第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,所述相对方位信息用于指示所述第二社交终端与所述第一社交终端之间的相对方位;Wherein, the
第一社交终端820,用于向所述社交服务器发布第一兴趣标签;接收来自所述社交服务器的第一交友提醒消息;控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄。The first
可选的,在本发明的一些可能的实施方式中,所述第一社交终端820还用于,将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,展示所述拍摄得到的视频或图片;Optionally, in some possible implementations of the present invention, the first
或者,所述第一社交终端820还用于,将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,执行用于提醒用户已收到交友提醒消息的提醒操作;Alternatively, the first
或者,所述第一社交终端820还用于,将所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型进行匹配;在所述拍摄得到的视频或图片中的人物图像与预设的标准交友模型之间的匹配度大于或等于阈值的情况下,展示所述第一交友提醒消息。Alternatively, the first
可以理解的是,本实施例的社交终端和社交服务器的功能可根据上述方法实施例中的方法具体实现,其中,具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of the social terminal and the social server in this embodiment can be specifically implemented according to the methods in the above method embodiments, wherein the specific implementation process can refer to the relevant descriptions of the above method embodiments, which will not be repeated here.
可以看出,本实施例的方案中,由于社交服务器获取了第一社交终端和第二社交终端的位置信息,并且在根据获取的第一社交终端的位置信息和第二社交终端的位置信息,确定第一社交终端和第二社交终端之间的间隔距离小于或等于预设的交友提醒距离阈值,并且确定第一社交终端发布的第一兴趣标签包括的K1个兴趣子标签和第二社交终端发布的第二兴趣标签包括的K2个兴趣子标签之间匹配度超过预设的匹配阈值的情况下,向第一社交终端发送第一交友提醒消息,所述第一交友提醒消息携带相对方位信息和所述第二社交终端的标识,而这就可使第一社交终端的用户获知与其近距离接触过的具有相同或者类似兴趣爱好的其他用户变得可能,由于交友提醒消息中还包括第二社交终端的标识,从而可使得第一社交终端的用户据此与其近距离接触过的具有相同或类似兴趣爱好的其他用户进行交流变得有可能,可见,本实施例的技术方案有利于满足用户在较小空间范围内的陌生人交友需求,进而有利于丰富用户社交方式,有利于拓展用户交友渠道,进而有利于增加运营商流量。It can be seen that, in the solution of this embodiment, since the social server acquires the location information of the first social terminal and the second social terminal, and according to the acquired location information of the first social terminal and the location information of the second social terminal, Determine that the separation distance between the first social terminal and the second social terminal is less than or equal to a preset friendship reminder distance threshold, and determine K1 interest sub-tags included in the first interest tag published by the first social terminal and the second social terminal In the case where the matching degree between the K2 interest sub-tags included in the published second interest tag exceeds a preset matching threshold, send a first friendship reminder message to the first social terminal, where the first friendship reminder message carries relative orientation information and the identifier of the second social terminal, and this makes it possible for the user of the first social terminal to know other users who have the same or similar interests and hobbies who have been in close contact with him. The identification of the social terminal makes it possible for the user of the first social terminal to communicate with other users who have the same or similar interests and hobbies. The demand for making friends with strangers in a small space is conducive to enriching users' social methods, expanding user friendmaking channels, and increasing operator traffic.
进一步的,第一交友提醒消息还携带用于指示所述第二社交终端与所述第一社交终端之间的相对方位的相对方位信息,第一社交终端可控制所述第一社交终端的旋转摄像头在所述相对方位信息所指示的所述第二社交终端所处方位进行拍摄,这使得第二社交终端的用户的人物影像很有可能被包含在拍摄得到的视频或图片之中,进而有利于为所述第一社交终端的用户或第一社交终端的交友预判提供有效参考。Further, the first friend reminder message also carries relative orientation information used to indicate the relative orientation between the second social terminal and the first social terminal, and the first social terminal can control the rotation of the first social terminal. The camera shoots at the position of the second social terminal indicated by the relative position information, which makes it very likely that the person image of the user of the second social terminal is included in the captured video or picture, and further has It is beneficial to provide an effective reference for the user of the first social terminal or the pre-judgment of making friends of the first social terminal.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种消息交互方法的部分或全部步骤。Embodiments of the present invention further provide a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program includes part or all of the steps of any message interaction method described in the above method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明的各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (21)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810031980.XA CN108282395B (en) | 2015-04-30 | 2015-04-30 | Message interaction method and related device, communication system and computer storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510221882.9A CN104967554B (en) | 2015-04-30 | 2015-04-30 | Message interaction method and related device and communication system |
| CN201810031980.XA CN108282395B (en) | 2015-04-30 | 2015-04-30 | Message interaction method and related device, communication system and computer storage medium |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510221882.9A Division CN104967554B (en) | 2015-04-30 | 2015-04-30 | Message interaction method and related device and communication system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108282395A CN108282395A (en) | 2018-07-13 |
| CN108282395B true CN108282395B (en) | 2020-12-22 |
Family
ID=54221502
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810031980.XA Expired - Fee Related CN108282395B (en) | 2015-04-30 | 2015-04-30 | Message interaction method and related device, communication system and computer storage medium |
| CN201510221882.9A Expired - Fee Related CN104967554B (en) | 2015-04-30 | 2015-04-30 | Message interaction method and related device and communication system |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510221882.9A Expired - Fee Related CN104967554B (en) | 2015-04-30 | 2015-04-30 | Message interaction method and related device and communication system |
Country Status (1)
| Country | Link |
|---|---|
| CN (2) | CN108282395B (en) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105868230A (en) * | 2015-11-30 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method and apparatus for realizing user-pairing film-watching social contact |
| CN106549860B (en) * | 2017-02-09 | 2021-05-04 | 北京百度网讯科技有限公司 | Information acquisition method and device |
| US11218482B2 (en) * | 2017-12-27 | 2022-01-04 | Among Net Co., Ltd. | Two-way information exchange system and method of using the system |
| CN108898439A (en) * | 2018-07-01 | 2018-11-27 | 东莞市华睿电子科技有限公司 | A Method of Information Recommendation Based on Sights |
| CN109271024A (en) * | 2018-08-30 | 2019-01-25 | Oppo广东移动通信有限公司 | User pays close attention to information and determines method, apparatus, wearable device and storage medium |
| CN109344646B (en) * | 2018-09-11 | 2019-12-03 | 杭州飞弛网络科技有限公司 | A method and system for protecting user privacy information in social interaction with strangers |
| CN109522371B (en) * | 2018-11-05 | 2021-07-23 | 国网浙江省电力有限公司温州供电公司 | An offline activity pre-organization system based on employee thought management |
| CN110209984A (en) * | 2019-05-31 | 2019-09-06 | 上海掌门科技有限公司 | Information interacting method, electronic equipment and computer-readable medium |
| CN112311653A (en) * | 2019-07-26 | 2021-02-02 | 杭州植嘉科技有限公司 | Instant social contact method, device and system |
| CN112333165B (en) * | 2020-10-27 | 2022-09-23 | 支付宝(杭州)信息技术有限公司 | Identity authentication method, device, equipment and system |
| CN112286289A (en) * | 2020-10-30 | 2021-01-29 | 刘啸 | Buccal wearable device, processing method and storage medium |
| CN114124876A (en) * | 2021-11-17 | 2022-03-01 | 网易(杭州)网络有限公司 | Information interaction method, device, equipment and storage medium |
| CN114971931B (en) * | 2022-05-23 | 2025-08-01 | 幸福小站(广州)信息技术有限公司 | Community friend making method, community friend making system, computer equipment and storage medium |
| CN116688526A (en) * | 2023-06-12 | 2023-09-05 | 网易(杭州)网络有限公司 | Virtual character interaction method and device, terminal equipment and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102695121A (en) * | 2011-03-25 | 2012-09-26 | 北京千橡网景科技发展有限公司 | Method and system for pushing friend information to users in social network |
| CN102867020A (en) * | 2012-07-30 | 2013-01-09 | 成都西可科技有限公司 | Personal character trait-based friend making matching method |
| CN104159000A (en) * | 2014-08-21 | 2014-11-19 | 广东欧珀移动通信有限公司 | Scanned image acquiring method and device |
| CN104243830A (en) * | 2014-09-29 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling camera to rotate |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8521185B2 (en) * | 2004-02-28 | 2013-08-27 | Charles Martin Hymes | Wireless communications with visually-identified targets |
| US7969301B2 (en) * | 2005-09-28 | 2011-06-28 | Social Fabric Corporation | Personal radio location system |
| CN102801652B (en) * | 2012-08-14 | 2016-01-06 | 上海量明科技发展有限公司 | The method of contact person, client and system is added by expression data |
| CN102882957A (en) * | 2012-09-19 | 2013-01-16 | 上海斐讯数据通信技术有限公司 | Mobile terminal friend-making system and method |
| CN103297544B (en) * | 2013-06-24 | 2015-06-17 | 杭州泰一指尚科技有限公司 | Instant messaging application method based on augmented reality |
| CN103391322A (en) * | 2013-07-23 | 2013-11-13 | 关际信息科技(上海)有限公司 | System and method for realizing recommending and informing functions for mobile SNS (social networking services) user |
-
2015
- 2015-04-30 CN CN201810031980.XA patent/CN108282395B/en not_active Expired - Fee Related
- 2015-04-30 CN CN201510221882.9A patent/CN104967554B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102695121A (en) * | 2011-03-25 | 2012-09-26 | 北京千橡网景科技发展有限公司 | Method and system for pushing friend information to users in social network |
| CN102867020A (en) * | 2012-07-30 | 2013-01-09 | 成都西可科技有限公司 | Personal character trait-based friend making matching method |
| CN104159000A (en) * | 2014-08-21 | 2014-11-19 | 广东欧珀移动通信有限公司 | Scanned image acquiring method and device |
| CN104243830A (en) * | 2014-09-29 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling camera to rotate |
Non-Patent Citations (1)
| Title |
|---|
| 基于社交网络和地理位置信息的好友推荐方法研究;刘乾;《中国优秀硕士学位论文全文数据库》;20130115;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104967554A (en) | 2015-10-07 |
| CN104967554B (en) | 2018-01-23 |
| CN108282395A (en) | 2018-07-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108282395B (en) | Message interaction method and related device, communication system and computer storage medium | |
| US10009731B2 (en) | Information sharing method, device and storage medium | |
| US10524087B1 (en) | Message destination list mechanism | |
| US9077679B2 (en) | Mobile status update display | |
| US10164677B2 (en) | Gesture detection to pair two wearable devices and perform an action between them and a wearable device, a method and a system using heat as a means for communication | |
| CN105371850B (en) | A kind of route navigation method and mobile terminal | |
| EP2759892B1 (en) | Synchronization of alarms between devices | |
| WO2012109826A1 (en) | Method and system for implementing social networking service | |
| CN108897996B (en) | Identification information association method and device, electronic equipment and storage medium | |
| JP2019508767A (en) | Information updating method and apparatus and server | |
| CN107592324B (en) | Message pushing method and device and portable terminal equipment | |
| CN110061904B (en) | Method, device and system for acquiring social information, electronic equipment and storage medium | |
| US11381660B2 (en) | Selective information sharing between users of a social network | |
| US11563709B2 (en) | Messaging system of partial and out-of-order events | |
| CN105100206A (en) | Method, equipment and system for pushing business card | |
| HK1221832A1 (en) | Method and device for controlling conversation in instant messaging | |
| CN105871826A (en) | Method and device for sharing geographic position between terminals | |
| CN104980336B (en) | Method for message interaction and relevant apparatus and communication system | |
| CN107786431B (en) | Message interaction method and related device, communication system and media product | |
| CN106161184A (en) | Method for message interaction and instant communication server and communication system | |
| US20170026795A1 (en) | Wireless charging devices with location-based message processing system | |
| CN104915646B (en) | A conference management method and terminal | |
| CN109639561B (en) | Sharing method and device based on information feedback, electronic equipment and storage medium | |
| CN108353021A (en) | Information processing method, terminal, server and the readable storage medium storing program for executing of instant messaging | |
| CN107169042B (en) | Method and device for sharing pictures and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18 Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201222 |
