CN106161185B - Information processing method and device and server - Google Patents

Information processing method and device and server Download PDF

Info

Publication number
CN106161185B
CN106161185B CN201510144055.4A CN201510144055A CN106161185B CN 106161185 B CN106161185 B CN 106161185B CN 201510144055 A CN201510144055 A CN 201510144055A CN 106161185 B CN106161185 B CN 106161185B
Authority
CN
China
Prior art keywords
terminal
social
information
activity
side user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510144055.4A
Other languages
Chinese (zh)
Other versions
CN106161185A (en
Inventor
刘荣鑫
孙红涛
李晓冰
杨鸿滟
刘群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Chongqing University of Post and Telecommunications
Original Assignee
Tencent Technology Shenzhen Co Ltd
Chongqing University of Post and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd, Chongqing University of Post and Telecommunications filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510144055.4A priority Critical patent/CN106161185B/en
Publication of CN106161185A publication Critical patent/CN106161185A/en
Application granted granted Critical
Publication of CN106161185B publication Critical patent/CN106161185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides an information processing method, an information processing device and a server, wherein the method comprises the following steps: when a first terminal and a second terminal are detected to carry social marks, a server acquires a first social configuration of the first terminal and a second social configuration of the second terminal; the server judges whether the first terminal and the second terminal have an association relation or not according to the first social configuration and the second social configuration; if the first terminal and the second terminal have an association relationship, the server acquires attribute information of the first terminal and attribute information of the second terminal; and the server sends the attribute information of the second terminal to the first terminal and sends the attribute information of the first terminal to the second terminal. The method and the device can process information according to the social contact requirement of the terminal side user, can realize accurate information recommendation, and improve the accuracy and intelligence of information processing.

Description

Information processing method and device and server
Technical Field
The invention relates to the field of internet, in particular to the field of social contact, and particularly relates to an information processing method, an information processing device and a server.
Background
With the development of internet technology, terminals such as mobile phones, PDAs (tablet computers), vehicle terminals, smart wearable devices, and the like are widely used, and at least one internet application may be installed in the terminals, including but not limited to: social applications, gaming applications, browser applications, and the like, wherein the social applications may include, but are not limited to: an instant messaging application, an SNS (social networking Services) application, and the like. The user can use at least one social application in the terminal to perform information interaction with other users, or the user can log in to a social network site to perform information interaction with other users by using a browser application of the terminal. In order to meet the increasing social demands of terminal-side users, how to provide a better information processing service for the terminal-side users, for example, providing an accurate information recommendation service for the terminal-side users to meet the actual demands of the terminal-side users, and the like, is a technical problem to be solved urgently in the current social application or social website development process.
Disclosure of Invention
The embodiment of the invention provides an information processing method, an information processing device and a server, which can process information according to social requirements of a terminal side user, can realize accurate information recommendation, and improve the accuracy and intelligence of information processing.
A first aspect of an embodiment of the present invention provides an information processing method, which may include:
when a first terminal and a second terminal are detected to carry social marks, a server acquires a first social configuration of the first terminal and a second social configuration of the second terminal;
the server judges whether the first terminal and the second terminal have an association relation or not according to the first social configuration and the second social configuration;
if the first terminal and the second terminal have an association relationship, the server acquires attribute information of the first terminal and attribute information of the second terminal;
and the server sends the attribute information of the second terminal to the first terminal and sends the attribute information of the first terminal to the second terminal.
A second aspect of an embodiment of the present invention provides an information processing apparatus, which may include:
the configuration acquisition unit is used for acquiring a first social configuration of a first terminal and a second social configuration of a second terminal when detecting that the first terminal and the second terminal both carry social marks;
the association judging unit is used for judging whether the first terminal and the second terminal have an association relation or not according to the first social configuration and the second social configuration;
an attribute obtaining unit, configured to obtain attribute information of the first terminal and attribute information of the second terminal if the first terminal and the second terminal have an association relationship;
and the information processing unit is used for sending the attribute information of the second terminal to the first terminal and sending the attribute information of the first terminal to the second terminal.
A third aspect of embodiments of the present invention provides a server, which may include the information processing apparatus according to the second aspect.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of an information handling system according to an embodiment of the present invention;
fig. 2 is a flowchart of an information processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another information processing method according to an embodiment of the present invention;
FIG. 4 is a flow chart of another information processing method according to an embodiment of the present invention;
FIG. 5 is a detailed flowchart of step S302 shown in FIG. 4;
FIG. 6 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an embodiment of the association determining unit shown in FIG. 6;
FIG. 8 is a schematic structural diagram of another embodiment of the association determining unit shown in FIG. 6;
fig. 9 is a schematic structural diagram of an embodiment of the similarity determination unit shown in fig. 8.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, the terminal may be a PC (Personal Computer), a notebook Computer, a mobile phone, a PAD (tablet Computer), a vehicle-mounted terminal, an intelligent wearable device, or the like. At least one internet application may be installed in the terminal, including but not limited to: social applications, gaming applications, browser applications, and the like, wherein the social applications may include, but are not limited to: instant messaging applications, SNS applications, and the like. The user can use at least one social application in the terminal to perform information interaction with other users, or the user can log in to a social network site to perform information interaction with other users by using a browser application of the terminal. In the following embodiments of the present invention, unless otherwise specified, the terminal-side user refers to a user who logs in through the terminal and uses a social application or a social network site.
Fig. 1 is a schematic structural diagram of an information processing system according to an embodiment of the present invention; the system may include: a server and a plurality of terminals accessed to the server (fig. 1 only shows terminal 1, terminal 2 and terminal 3, and the number of terminals in specific implementation can be determined according to actual needs); the server can be a background server of a social application or a background server of a social website; the terminal can be accessed to the server, and a user at the terminal side can log in to a social application or a social network site through the terminal. In the system shown in fig. 1, the server may provide information processing services required for social interaction for terminals accessing the server, including but not limited to: the server may establish communication connection between the terminals according to the connection request of the terminals so that information interaction between the terminal-side users can be performed, or the server may recommend various types of information for the user according to the social requirement of the terminal-side user, for example: the server can send attribute information of other terminals having an association relation with the terminal to the terminal according to the social requirement of the terminal side user, so that the purpose of recommending information of other users to the terminal side user is achieved, and the social circle of the terminal side user is favorably expanded.
Based on the above description of the embodiments of the present invention, the information processing method provided by the embodiments of the present invention will be described in detail below with reference to fig. 2 to 4.
Fig. 2 is a flowchart of an information processing method according to an embodiment of the present invention; in this embodiment, the server may be a server in the system shown in fig. 1, the first terminal may be any one of the terminals in the system shown in fig. 1, and the second terminal may be any one of the terminals in the system shown in fig. 1 except for the first terminal. The method may comprise the following steps S101-S104.
S101, when it is detected that a first terminal and a second terminal both carry social signs, a server obtains a first social configuration of the first terminal and a second social configuration of the second terminal.
The social tag may be used to request the server to push attribute information of other terminals. The first terminal carries a social mark to indicate that a user at the first terminal side requests to show own information to other users and requests to obtain information of other users; the first terminal requests the server to push attribute information of other terminals so as to meet social requirements of the first terminal side user. The second terminal carries a social mark to indicate that the second terminal side user requests to display own information to other users and requests to obtain information of other users; it is also indicated that the second terminal requests the server to recommend attribute information of other terminals. In a specific implementation, the representation of the social token may include, but is not limited to: text or graphics, such as: the social sign may be represented by the text "idol", or may be represented by a specific icon; and so on.
The first social configuration is information which is set by the first terminal side user through the first terminal and can be used for describing social requirements of the first terminal side user. Specifically, the social requirement may be: requesting to show own information to social friends in the same position area and requesting to obtain information of the social friends in the same position area; the first social configuration at this time may include: the method comprises the steps that current position information of a first terminal and a social relation chain of a first terminal side user are obtained; the social needs may also be: requesting to show own information to social users with similar activity plans and requesting to obtain information of other social users with similar activity plans; the first social configuration at this time may include: an activity plan in which the first end-side user participates, an activity plan initiated by the first end-side user, and so on. The second social configuration is information which is set by the second terminal side user through the second terminal and can be used for describing social requirements of the second terminal side user. Specifically, the social requirement may be: requesting to show own information to social friends in the same position area and requesting to obtain information of the social friends in the same position area; the second social configuration may then include: the current position information of the second terminal and a social relation chain of a user at the side of the second terminal are obtained; the social needs may also be: requesting to show own information to social users with similar activity plans and requesting to obtain information of other social users with similar activity plans; the second social configuration may then include: an activity plan in which the second end-side user participates, an activity plan initiated by the second end-side user, and so on. Wherein the campaign may include: activity time, activity location, and activity content.
In the embodiment of the present invention, the server may provide configuration interfaces for the first terminal and the second terminal, the first terminal may output the configuration interfaces, the first terminal-side user may complete a setting process of the first social configuration in the configuration interface output by the first terminal, and the first terminal uploads the first social configuration to the server. The second terminal can output the configuration interface, the second terminal side user can complete the setting process of the second social configuration in the configuration interface output by the second terminal, and the second terminal uploads the second social configuration to the server.
S102, the server judges whether the first terminal and the second terminal have an association relation or not according to the first social configuration and the second social configuration.
The server can determine the social requirement of the first terminal side user according to the information included in the first social configuration, and judge whether the second terminal meets the social requirement of the first terminal side user; for example: if the first social configuration comprises: the method comprises the steps that current position information of a first terminal and a social relation chain of a first terminal side user are obtained; the server can determine that the first terminal side user requests to show own information to social friends in the same position area and requests to obtain information of the social friends in the same position area; further, the server judges whether the second terminal is in the same position area as the first terminal, and whether a second terminal side user is a social friend of the first terminal side user.
The server can determine the social requirement of the second terminal side user according to the second social configuration and judge whether the first terminal meets the social requirement of the second terminal side user; for example: if the second social configuration comprises: the current position information of the second terminal and a social relation chain of a user at the side of the second terminal are obtained; the server can determine that the second terminal side user requests to show own information to friends in the same position area and requests to obtain information of social friends in the same position area; further, the server judges whether the first terminal and the second terminal are in the same position area or not, and whether the first terminal side user is a social friend of the second terminal side user or not.
If the first terminal meets the social requirement of the second terminal side user and the second terminal meets the social requirement of the first terminal side user, the server can determine that the first terminal and the second terminal have an association relationship.
And S103, if the first terminal and the second terminal have an association relationship, the server acquires the attribute information of the first terminal and the attribute information of the second terminal.
The attribute information of the first terminal includes: the information of the social friend of the first terminal side user, the identifier of the first terminal, the current position information of the first terminal, and the business information of the position area to which the first terminal belongs. The attribute information of the second terminal includes: at least one of the identifier of the second terminal side user, the information of the social friend of the second terminal side user, the identifier of the second terminal, the current position information of the second terminal, and the merchant information of the position area to which the second terminal belongs currently.
The attribute information of the terminal is usually stored in the server in the form of registration information, and is updated by the server in real time or at regular time according to the state of the terminal or the state of the user at the terminal side. In this step, the server may query registration information of the first terminal to obtain attribute information of the first terminal; the server may query the registration information of the second terminal to obtain the attribute information of the second terminal.
And S104, the server sends the attribute information of the second terminal to the first terminal and sends the attribute information of the first terminal to the second terminal.
The server sends the attribute information of the second terminal to the first terminal, namely the attribute information is the related information of the second terminal user recommended to the first terminal user; and the server sends the attribute information of the first terminal to the second terminal, namely, the attribute information is the related information of the first terminal side user recommended to the second terminal side user. Because the first terminal and the second terminal have the association relationship, the server recommends the information of the corresponding user to the two terminals having the association relationship, so that the recommended information is closer to the actual social requirement of the terminal side user, and the recommendation accuracy is ensured.
In the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
Please refer to fig. 3, which is a flowchart illustrating another information processing method according to an embodiment of the present invention; the method may include the following steps S201 to S207.
S201, when detecting that a first terminal and a second terminal both carry social signs, a server obtains a first social configuration of the first terminal and a second social configuration of the second terminal.
The social tag may be used to request the server to push attribute information of other terminals. The first terminal carries a social mark to indicate that a user at the first terminal side requests to show own information to other users and requests to obtain information of other users; the first terminal requests the server to push attribute information of other terminals so as to meet social requirements of the first terminal side user. The second terminal carries a social mark to indicate that the second terminal side user requests to display own information to other users and requests to obtain information of other users; it is also indicated that the second terminal requests the server to recommend attribute information of other terminals. In a specific implementation, the representation of the social token may include, but is not limited to: text or graphics, such as: the social sign may be represented by the text "idol", or may be represented by a specific icon; and so on. The first social configuration is information which is set by the first terminal side user through the first terminal and can be used for describing social requirements of the first terminal side user. The second social configuration is information which is set by the second terminal side user through the second terminal and can be used for describing social requirements of the second terminal side user.
In the embodiment of the present invention, the server may provide configuration interfaces for the first terminal and the second terminal, the first terminal may output the configuration interfaces, the first terminal-side user may complete a setting process of the first social configuration in the configuration interface output by the first terminal, and the first terminal uploads the first social configuration to the server. The second terminal can output the configuration interface, the second terminal side user can complete the setting process of the second social configuration in the configuration interface output by the second terminal, and the second terminal uploads the second social configuration to the server.
S202, the server judges whether the first terminal and the second terminal are located in the same position area according to the current position information of the first terminal and the current position information of the second terminal.
In this embodiment, the social requirement of the first terminal-side user described by the first social configuration may be: requesting to show own information to social friends in the same position area and requesting to obtain information of the social friends in the same position area; the first social configuration at this time may include: the current position information of the first terminal and the social relation chain of the first terminal side user. The social needs of the second end-side user described by the second social configuration may be: requesting to show own information to social friends in the same position area and requesting to obtain information of the social friends in the same position area; the second social configuration may then include: the current position information of the second terminal and the social relation chain of the user at the side of the second terminal.
The server can predefine at least one location area according to actual needs, such as: assuming that the server defines n (n is a positive integer) location areas according to the area radius set by the user in combination with the map, the n location areas can be respectively represented as: p0、P1、P2To Pn-1. In this step, the server may first determine a location area where the first terminal is located according to the current location information of the first terminal, for example: assume that the first terminal is terminal a, the first terminal side user is user a, and the current position information of terminal a is represented as coordinates (x)A,yA) The server judges that the terminal A is positioned in a position area P0(ii) a Assuming that the second terminal is terminal B, the second terminal side user is user B, and the current position information of terminal B is represented as coordinates (x)B,yB) The server judges that the terminal B is also located in the position area P0And the server confirms that the terminal A and the terminal B are positioned in the same position area.
S203, if the first terminal and the second terminal are located in the same position area, the server respectively inquires the social relationship chain of the first terminal side user and the social relationship chain of the second terminal side user, and judges whether the first terminal side user and the second terminal side user are social friends with each other.
The social relationship chain of the first end-side user may include: information of at least one social friend of the first end-side user, information of at least one social group the first end-side user joins, and the like. The social relationship chain of the second end-side user may include: information of social friends of the second terminal-side user, information of at least one social group to which the first terminal-side user joins, and so on. If the first terminal and the second terminal belong to the same position area, the server respectively queries the social relationship chain of the first terminal side user and the social relationship chain of the second terminal side user, judges whether the first terminal side user is a social friend of the second terminal side user, and judges whether the second terminal side user is a social friend of the first terminal side user, according to the example shown in step S202, the server judges whether the user a is a social friend in the social relationship chain of the user B, judges whether the user B is a social friend in the social relationship chain of the user a, and if the user a is a social friend in the social relationship chain of the user B and the user B is a social friend in the social relationship chain of the user a, the user a and the user B are social friends.
S204, if the first terminal side user and the second terminal side user are social friends with each other, the server determines that the first terminal and the second terminal have an association relationship.
In this embodiment, the first terminal and the second terminal have an association relationship, which indicates that the first terminal and the second terminal are in the same location area, and the first terminal side user and the second terminal side user are social friends with each other.
And S205, if the first terminal and the second terminal have an association relationship, the server acquires the attribute information of the first terminal and the attribute information of the second terminal.
The attribute information of the first terminal includes: the information of the social friend of the first terminal side user, the identifier of the first terminal, the current position information of the first terminal, and the business information of the position area to which the first terminal belongs. The attribute information of the second terminal includes: at least one of the identifier of the second terminal side user, the information of the social friend of the second terminal side user, the identifier of the second terminal, the current position information of the second terminal, and the merchant information of the position area to which the second terminal belongs currently.
The attribute information of the terminal is usually stored in the server in the form of registration information, and is updated by the server in real time or at regular time according to the state of the terminal or the state of the user at the terminal side. In this step, the server may query registration information of the first terminal to obtain attribute information of the first terminal; the server may query the registration information of the second terminal to obtain the attribute information of the second terminal.
S206, the server sends the attribute information of the second terminal to the first terminal, and sends the attribute information of the first terminal to the second terminal.
The server sends the attribute information of the second terminal to the first terminal, namely the attribute information is the related information of the second terminal user recommended to the first terminal user; and the server sends the attribute information of the first terminal to the second terminal, namely, the attribute information is the related information of the first terminal side user recommended to the second terminal side user. Because the first terminal and the second terminal have the association relationship, the server recommends the information of the corresponding user to the two terminals having the association relationship, so that the recommended information is closer to the actual social requirement of the terminal side user, and the recommendation accuracy is ensured.
And S207, when receiving the connection request fed back by the first terminal according to the attribute information of the second terminal and receiving the connection request fed back by the second terminal according to the attribute information of the first terminal, the server establishes communication connection between the first terminal and the second terminal.
After the server establishes communication connection between the first terminal and the second terminal, the first terminal side user can perform information interaction with the second terminal side user.
In the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
Please refer to fig. 4, which is a flowchart illustrating another information processing method according to an embodiment of the present invention; the method may comprise the following steps S301-S306.
S301, when it is detected that a first terminal and a second terminal both carry social signs, a server obtains a first social configuration of the first terminal and a second social configuration of the second terminal.
The social tag may be used to request the server to push attribute information of other terminals. The first terminal carries a social mark to indicate that a user at the first terminal side requests to show own information to other users and requests to obtain information of other users; the first terminal requests the server to push attribute information of other terminals so as to meet social requirements of the first terminal side user. The second terminal carries a social mark to indicate that the second terminal side user requests to display own information to other users and requests to obtain information of other users; it is also indicated that the second terminal requests the server to recommend attribute information of other terminals. In a specific implementation, the representation of the social token may include, but is not limited to: text or graphics, such as: the social sign may be represented by the text "idol", or may be represented by a specific icon; and so on. The first social configuration is information which is set by the first terminal side user through the first terminal and can be used for describing social requirements of the first terminal side user. The second social configuration is information which is set by the second terminal side user through the second terminal and can be used for describing social requirements of the second terminal side user.
In the embodiment of the present invention, the server may provide configuration interfaces for the first terminal and the second terminal, the first terminal may output the configuration interfaces, the first terminal-side user may complete a setting process of the first social configuration in the configuration interface output by the first terminal, and the first terminal uploads the first social configuration to the server. The second terminal can output the configuration interface, the second terminal side user can complete the setting process of the second social configuration in the configuration interface output by the second terminal, and the second terminal uploads the second social configuration to the server.
S302, the server judges whether the activity plan of the first terminal side user is similar to the activity plan of the second terminal side user.
In this embodiment of the present invention, the social requirement of the first terminal-side user described by the first social configuration may be: requesting to show own information to social users with similar activity plans and requesting to obtain information of other social users with similar activity plans; the first social configuration at this time may include: an activity plan in which the first end-side user participates, an activity plan initiated by the first end-side user, and so on. The social needs of the second end-side user described by the second social configuration may be: requesting to show own information to social users with similar activity plans and requesting to obtain information of other social users with similar activity plans; the second social configuration may then include: an activity plan in which the second end-side user participates, an activity plan initiated by the second end-side user, and so on.
Please refer to fig. 5, which is a detailed flow of step S302 shown in fig. 4; the step S302 may specifically include the following steps S11-S13:
s 11: and the server constructs a first vector according to the activity plan of the first terminal side user and constructs a second vector according to the activity plan of the second terminal side user.
The campaign may include: activity time, activity location, and activity content; in this step, the server may construct the first vector and the second vector using the triplet. For example: assuming that the first terminal is a terminal a and the first terminal-side user is a user a, the activity plan of the user a may be as shown in the following table one:
table one: activity schedule 1
Active content Time of start of activity End time of activity Location of activity
Eating food st11 et11 XX mansion
Study of st12 et12 Library
Voting st13 et13 XX teaching building
For example: assuming that the second terminal is a terminal B and the second terminal side user is a user B, the activity plan of the user B may be as shown in the following table two:
table two: activity schedule two
Active content Time of start of activity End time of activity Location of activity
Study of st21 et21 Library
Shopping st22 et22 XX shopping center
Voting st23 et23 XX teaching building
According to table one above, the server may construct the first vector as u1=(IA,TA,AdA) (ii) a Wherein u is1Representing the first vector. I isARepresenting said first vector u1Is a moving content component vector ofA=(i1A,i2A,i3A…imA) (m is a positive integer), IAEach dimension in (a) represents an active content, e.g. i1Content of the event indicating "eating", if i1AIf i indicates that the user a has an activity plan containing the content of the activity1A0 indicates that the user a has no campaign for the campaign content. T isARepresenting said first vector u1Of the active time component vector, TA=(T1A,T2A,T3A…TmA) (m is a positive integer), TAEach dimension in (a) represents the start time and end time of an activity, e.g. T1A=(st11,et11)。AdARepresenting said first vector u1Is divided into vector, AdA=(Ad1A,Ad2A,Ad3A…AdmA) (m is a positive integer), AdAEach dimension in (a) represents an activity site, e.g. Ad1ARepresenting a library.
According to the second table, the server can construct the second vector as u2=(IB,TB,AdB) (ii) a Wherein u is2Representing the second vector. I isBRepresents the second vector u2Is a moving content component vector ofB=(i1B,i2B,i3B…imB) (m is a positive integer), IBEach dimension in (a) represents an active content, e.g. i1Content of the event indicating "eating", if i1BIf i indicates that the user B has an activity plan containing the content of the activity1B0 indicates that the user B has no campaign for the campaign content. T isBRepresents the second vector u2Of the active time component vector, TB=(T1B,T2B,T3B…TmB) (m is a positive integer), TBEach dimension in (a) represents the start time and end time of an activity, e.g. T1B=(st21,et21)。AdBRepresents the second vector u2Is divided into vector, AdB=(Ad1B,Ad2B,Ad3B…AdmB) (m is a positive integer), AdBEach dimension in (a) represents an activity site, e.g. Ad1BRepresenting a library.
s12, the server computing a similarity between the first vector and the second vector using a similarity algorithm.
According to the example shown in step s11, in this step, the similarity between the first vector and the second vector may be calculated by using a similarity calculation method shown in the following formula (1), where formula (1) may be expressed as follows:
Figure BDA0000690948210000121
in the above formula (1), Sim (u)1,u2) Representing the similarity of the first vector and the second vector; Δ T represents TAAnd TBActivity crossing time of; t isGeneral assemblyRepresents the total activity time of day; lambda [ alpha ]1And λ2Representing the weight, the two can be equal; sim (I)A,IB) Is represented byAAnd IBThe similarity of (2); sim (Ad)A,AdB) Denotes AdAAnd AdBThe similarity of (c).
Wherein, IAAnd IBSimilarity of (2) Sim (I)A,IB) The following equation (2) can be used for the calculation, and equation (2) can be expressed as follows:
Figure BDA0000690948210000122
AdAand AdBSimilarity Sim (Ad)A,AdB) The following formula (3) can be used for calculation, and the formula (3) can be expressed as follows:
Figure BDA0000690948210000123
the first mentionedSimilarity Sim (u) between a vector and the second vector1,u2) Has a value range of [0, 1 ]]If Sim (u)1,u2) The closer to 0, the more dissimilar between the first vector and the second vector; if Sim (u)1,u2) A value closer to 1 indicates a more similarity between the first vector and the second vector.
s13, if the similarity between the first vector and the second vector is greater than a preset similarity threshold, the server determines that the activity plan of the first terminal is similar to the activity plan of the second terminal.
The preset similarity threshold can be set according to actual needs, and the value range of the preset similarity threshold is [0, 1 ]]If the similarity between the first vector and the second vector is Sim (u)1,u2) And if the activity plan of the first terminal side user is larger than the preset similarity threshold, the server determines that the activity plan of the first terminal side user is similar to the activity plan of the second terminal side user.
S303, if the activity plan of the first terminal side user is similar to the activity plan of the second terminal side user, the server determines that the first terminal and the second terminal have an association relationship.
In this embodiment, the first terminal and the second terminal have an association relationship, which indicates that the first terminal side user and the second terminal side user have similar activity plans.
S304, if the first terminal and the second terminal have an association relationship, the server acquires the attribute information of the first terminal and the attribute information of the second terminal.
The attribute information of the first terminal includes: the information of the social friend of the first terminal side user, the identifier of the first terminal, the current position information of the first terminal, and the business information of the position area to which the first terminal belongs. The attribute information of the second terminal includes: at least one of the identifier of the second terminal side user, the information of the social friend of the second terminal side user, the identifier of the second terminal, the current position information of the second terminal, and the merchant information of the position area to which the second terminal belongs currently.
The attribute information of the terminal is usually stored in the server in the form of registration information, and is updated by the server in real time or at regular time according to the state of the terminal or the state of the user at the terminal side. In this step, the server may query registration information of the first terminal to obtain attribute information of the first terminal; the server may query the registration information of the second terminal to obtain the attribute information of the second terminal.
S305, the server sends the attribute information of the second terminal to the first terminal, and sends the attribute information of the first terminal to the second terminal.
The server sends the attribute information of the second terminal to the first terminal, namely the attribute information is the related information of the second terminal user recommended to the first terminal user; and the server sends the attribute information of the first terminal to the second terminal, namely, the attribute information is the related information of the first terminal side user recommended to the second terminal side user. Because the first terminal and the second terminal have the association relationship, the server recommends the information of the corresponding user to the two terminals having the association relationship, so that the recommended information is closer to the actual social requirement of the terminal side user, and the recommendation accuracy is ensured.
S306, when receiving the connection request fed back by the first terminal according to the attribute information of the second terminal and receiving the connection request fed back by the second terminal according to the attribute information of the first terminal, the server establishes communication connection between the first terminal and the second terminal.
After the server establishes communication connection between the first terminal and the second terminal, the first terminal side user can perform information interaction with the second terminal side user.
In the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
An information processing apparatus according to an embodiment of the present invention will be described in detail with reference to fig. 6 to 9. It should be noted that the information processing apparatuses shown in fig. 6 to 9 may be operated in the server in the system shown in fig. 1, and may be applied to the methods shown in fig. 2 to 5 described above.
Fig. 6 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention; the apparatus may include: a configuration acquisition unit 101, an association judgment unit 102, an attribute acquisition unit 103, and an information processing unit 104.
The configuration obtaining unit 101 is configured to obtain a first social configuration of a first terminal and a second social configuration of a second terminal when it is detected that the first terminal and the second terminal both carry social tags.
The social tag may be used to request the server to push attribute information of other terminals. The first terminal carries a social mark to indicate that a user at the first terminal side requests to show own information to other users and requests to obtain information of other users; the first terminal requests the server to push attribute information of other terminals so as to meet social requirements of the first terminal side user. The second terminal carries a social mark to indicate that the second terminal side user requests to display own information to other users and requests to obtain information of other users; it is also indicated that the second terminal requests the server to recommend attribute information of other terminals. In a specific implementation, the representation of the social token may include, but is not limited to: text or graphics, such as: the social sign may be represented by the text "idol", or may be represented by a specific icon; and so on.
The first social configuration is information which is set by the first terminal side user through the first terminal and can be used for describing social requirements of the first terminal side user. Specifically, the social requirement may be: requesting to show own information to social friends in the same position area and requesting to obtain information of the social friends in the same position area; the first social configuration at this time may include: the method comprises the steps that current position information of a first terminal and a social relation chain of a first terminal side user are obtained; the social needs may also be: requesting to show own information to social users with similar activity plans and requesting to obtain information of other social users with similar activity plans; the first social configuration at this time may include: an activity plan in which the first end-side user participates, an activity plan initiated by the first end-side user, and so on. The second social configuration is information which is set by the second terminal side user through the second terminal and can be used for describing social requirements of the second terminal side user. Specifically, the social requirement may be: requesting to show own information to social friends in the same position area and requesting to obtain information of the social friends in the same position area; the second social configuration may then include: the current position information of the second terminal and a social relation chain of a user at the side of the second terminal are obtained; the social needs may also be: requesting to show own information to social users with similar activity plans and requesting to obtain information of other social users with similar activity plans; the second social configuration may then include: an activity plan in which the second end-side user participates, an activity plan initiated by the second end-side user, and so on. Wherein the campaign may include: activity time, activity location, and activity content.
In this embodiment of the present invention, the server may provide configuration interfaces to the first terminal and the second terminal, the first terminal may output the configuration interfaces, the first terminal-side user may complete the setting process of the first social configuration in the configuration interface output by the first terminal, and the first terminal uploads the first social configuration to the configuration obtaining unit 101. The second terminal may output the configuration interface, the second terminal side user may complete a setting process of the second social configuration in the configuration interface output by the second terminal, and the second terminal uploads the second social configuration to the configuration obtaining unit 101.
The association determining unit 102 is configured to determine whether the first terminal and the second terminal have an association relationship according to the first social configuration and the second social configuration.
The association determining unit 102 may determine, according to information included in the first social configuration, a social requirement of the first terminal-side user, and determine whether the second terminal meets the social requirement of the first terminal-side user; for example: if the first social configuration comprises: the method comprises the steps that current position information of a first terminal and a social relation chain of a first terminal side user are obtained; the association determining unit 102 may determine that the first terminal-side user requests to display information of the first terminal-side user to social friends in the same location area, and requests to obtain information of the social friends in the same location area; further, the association determining unit 102 determines whether the second terminal is in the same location area as the first terminal, and whether the second terminal-side user is a social friend of the first terminal-side user.
The association determining unit 102 may determine the social requirement of the second terminal-side user according to the second social configuration, and determine whether the first terminal meets the social requirement of the second terminal-side user; for example: if the second social configuration comprises: the current position information of the second terminal and a social relation chain of a user at the side of the second terminal are obtained; the association determining unit 102 may determine that the second terminal side user requests to display own information to friends in the same location area, and requests to obtain information of social friends in the same location area; further, the association determining unit 102 determines whether the first terminal and the second terminal are in the same location area, and whether the first terminal side user is a social friend of the second terminal side user.
If the first terminal meets the social requirement of the second terminal-side user and the second terminal meets the social requirement of the first terminal-side user, the association determining unit 102 may determine that the first terminal and the second terminal have an association relationship.
An attribute obtaining unit 103, configured to obtain attribute information of the first terminal and attribute information of the second terminal if the first terminal and the second terminal have an association relationship.
The attribute information of the first terminal includes: the information of the social friend of the first terminal side user, the identifier of the first terminal, the current position information of the first terminal, and the business information of the position area to which the first terminal belongs. The attribute information of the second terminal includes: at least one of the identifier of the second terminal side user, the information of the social friend of the second terminal side user, the identifier of the second terminal, the current position information of the second terminal, and the merchant information of the position area to which the second terminal belongs currently.
The attribute information of the terminal is usually stored in the server in the form of registration information, and is updated by the server in real time or at regular time according to the state of the terminal or the state of the user at the terminal side. The attribute obtaining unit 103 may query registration information of the first terminal, and obtain attribute information of the first terminal; the server may query the registration information of the second terminal to obtain the attribute information of the second terminal.
An information processing unit 104, configured to send attribute information of the second terminal to the first terminal, and send attribute information of the first terminal to the second terminal.
The information processing unit 104 sends the attribute information of the second terminal to the first terminal, that is, the attribute information is the related information of the second terminal user recommended to the first terminal user; the information processing unit 104 sends the attribute information of the first terminal to the second terminal, that is, the attribute information is the related information that recommends the first terminal side user to the second terminal side user. Because the first terminal and the second terminal have an association relationship, the information processing unit 104 recommends information of respective corresponding users to the two terminals having the association relationship, so that the recommended information is closer to the actual social requirement of the terminal side user, thereby ensuring the recommendation accuracy.
Referring again to fig. 6, optionally, the apparatus may further include: a connection establishing unit 105.
A connection establishing unit 105, configured to establish a communication connection between the first terminal and the second terminal when receiving a connection request that is fed back by the first terminal according to the attribute information of the second terminal and receiving a connection request that is fed back by the second terminal according to the attribute information of the first terminal.
After the connection establishing unit 105 establishes a communication connection between the first terminal and the second terminal, the first terminal side user may perform information interaction with the second terminal side user.
In the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
Please refer to fig. 7, which is a schematic structural diagram of an embodiment of the association determining unit shown in fig. 6; the association judging unit 102 includes: a region judgment unit 1001, a friend judgment unit 1002, and a first association confirmation unit 1003.
An area determining unit 1001, configured to determine whether the first terminal and the second terminal are located in the same location area according to the current location information of the first terminal and the current location information of the second terminal.
In this embodiment, the social requirement of the first terminal-side user described by the first social configuration may be: requesting to show own information to social friends in the same position area and requesting to obtain information of the social friends in the same position area; the first social configuration at this time may include: the current position information of the first terminal and the social relation chain of the first terminal side user. The social needs of the second end-side user described by the second social configuration may be: requesting to show own information to social friends in the same position area and requesting to obtain information of the social friends in the same position area; the second social configuration may then include: the current position information of the second terminal and the social relation chain of the user at the side of the second terminal.
The area determination unit 1001 may pre-define at least one location area according to actual needs, for example: assuming that the area determination unit 1001 can define n (n is a positive integer) location areas according to the area radius set by the user in combination with the map, the n location areas can be respectively expressed as: p0、P1、P2To Pn-1. The area determination unit 1001 may first determine a location area where the first terminal is located according to the current location information of the first terminal, for example: assume that the first terminal is terminal a, the first terminal side user is user a, and the current position information of terminal a is represented as coordinates (x)A,yA) The area determination unit 1001 determines that the terminal a is located in the location area P0(ii) a Assuming that the second terminal is terminal B, the second terminal side user is user B, and the current position information of terminal B is represented as coordinates (x)B,yB) The area determination unit 1001 determines that the terminal B is also located in the location area P0The area determination unit 1001 confirms that the terminal a and the terminal B are located in the same location area.
A friend determining unit 1002, configured to, if the first terminal and the second terminal are located in the same location area, respectively query the social relationship chain of the first terminal-side user and the social relationship chain of the second terminal-side user, and determine whether the first terminal-side user and the second terminal-side user are social friends with each other.
The social relationship chain of the first end-side user may include: information of at least one social friend of the first end-side user, information of at least one social group the first end-side user joins, and the like. The social relationship chain of the second end-side user may include: information of social friends of the second terminal-side user, information of at least one social group to which the first terminal-side user joins, and so on. If the first terminal and the second terminal belong to the same location area, the friend determining unit 1002 queries the social relationship chain of the first terminal-side user and the social relationship chain of the second terminal-side user, determines whether the first terminal-side user is a social friend of the second terminal-side user, and determines whether the second terminal-side user is a social friend of the first terminal-side user.
A first association confirming unit 1003, configured to determine that the first terminal and the second terminal have an association relationship if the first terminal-side user and the second terminal-side user are social friends with each other.
In this embodiment, the first terminal and the second terminal have an association relationship, which indicates that the first terminal and the second terminal are in the same location area, and the first terminal side user and the second terminal side user are social friends with each other.
In the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
Please refer to fig. 8, which is a schematic structural diagram of another embodiment of the association determining unit shown in fig. 6; the association judging unit 102 includes: a similarity determination unit 2001 and a second association confirmation unit 2002.
A similarity determination unit 2001, configured to determine whether the activity plan of the first terminal-side user is similar to the activity plan of the second terminal-side user.
In this embodiment of the present invention, the social requirement of the first terminal-side user described by the first social configuration may be: requesting to show own information to social users with similar activity plans and requesting to obtain information of other social users with similar activity plans; the first social configuration at this time may include: an activity plan in which the first end-side user participates, an activity plan initiated by the first end-side user, and so on. The social needs of the second end-side user described by the second social configuration may be: requesting to show own information to social users with similar activity plans and requesting to obtain information of other social users with similar activity plans; the second social configuration may then include: an activity plan in which the second end-side user participates, an activity plan initiated by the second end-side user, and so on.
A second association confirming unit 2002, configured to determine that the first terminal and the second terminal have an association relationship if the activity plan of the first terminal-side user is similar to the activity plan of the second terminal-side user.
In this embodiment, the first terminal and the second terminal have an association relationship, which indicates that the first terminal side user and the second terminal side user have similar activity plans.
In the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
Please refer to fig. 9, which is a schematic structural diagram of an embodiment of the similarity determination unit shown in fig. 8; the similarity determination unit 2001 may include: vector construction unit 1111, similarity calculation unit 1112, and similarity confirmation unit 1113.
A vector construction unit 1111, configured to construct a first vector according to the activity plan of the first terminal-side user, and construct a second vector according to the activity plan of the second terminal-side user.
The campaign may include: activity time, activity location, and activity content; the vector construction unit 1111 may construct the first vector and the second vector using triples. For example: assuming that the first terminal is terminal a and the first terminal-side user is user a, the activity plan of user a can be as shown in table one in the embodiment shown in fig. 4, and the vector construction unit 1111 can construct the first vector as u1=(IA,TA,AdA). Assuming that the second terminal is terminal B and the second terminal-side user is user B, the activity plan of user B can be as shown in table two in the embodiment shown in fig. 4, and the vector construction unit 1111 can construct the second vector as u2=(IB,TB,AdB)。
A similarity calculation unit 1112 configured to calculate a similarity between the first vector and the second vector by using a similarity calculation method.
According to the example shown in this embodiment, the similarity calculation unit 1112 may calculate the similarity Sim (u) between the first vector and the second vector by using the similarity calculation method shown in formula (1) in the embodiment shown in fig. 41,u2). Similarity Sim (u) between the first vector and the second vector1,u2) Has a value range of [0, 1 ]]If Sim (u)1,u2) The closer to 0, the more dissimilar between the first vector and the second vector; if Sim (u)1,u2) The closer the value of (A) is toAt 1, the more similarity between the first vector and the second vector is indicated.
A similarity confirming unit 1113, configured to determine that the activity plan of the first end-side user is similar to the activity plan of the second end-side user if the similarity between the first vector and the second vector is greater than a preset similarity threshold.
The preset similarity threshold can be set according to actual needs, and the value range of the preset similarity threshold is [0, 1 ]]If the similarity between the first vector and the second vector is Sim (u)1,u2) If the activity plan of the first end-side user is greater than the preset similarity threshold, the similarity determination unit 1113 determines that the activity plan of the first end-side user is similar to the activity plan of the second end-side user.
In the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
An embodiment of the present invention further discloses a server, which may be the server in the embodiment shown in fig. 1, and may specifically be a background server of a social application or a social network site, where the server may include an information processing device, and a structure and a function of the information processing device may refer to the description related to the embodiments shown in fig. 6 to 9, which is not described herein again, and the server shown in this embodiment may be applied to the embodiments shown in fig. 2 to 5.
In the embodiment of the invention, when the first terminal and the second terminal are detected to carry the social sign, the server can determine the association relationship between the first terminal and the second terminal according to the first social configuration of the first terminal and the second social configuration of the second terminal, and recommend the attribute information of the respective user to the two terminals with the association relationship, so that the recommended information is closer to the actual social requirement of the user at the terminal side, the recommendation accuracy is ensured, and the accuracy and the intelligence of information processing are improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (9)

1. An information processing method characterized by comprising:
when it is detected that a first terminal and a second terminal both carry social signs, a server obtains a first social configuration of the first terminal and a second social configuration of the second terminal, wherein the first social configuration comprises an activity plan of a user at a side of the first terminal, the second social configuration comprises an activity plan of a user at a side of the second terminal, and the activity plans comprise: activity time, activity location, and activity content;
the server constructs a first vector according to the activity plan of the first terminal side user and constructs a second vector according to the activity plan of the second terminal side user; wherein the first vector comprises a first activity time component vector, a first activity content component vector, and a first activity place component vector, and the second vector comprises a second activity time component vector, a second activity content component vector, and a second activity place component vector;
the server calculates the similarity between the first vector and the second vector according to the crossing time of the first activity time component vector and the second activity time component vector, the cosine value of the vector included angle between the first activity content component vector and the second activity content component vector and the cosine value of the vector included angle between the first activity place component vector and the second activity place component vector;
if the similarity between the first vector and the second vector is greater than a preset similarity threshold, the server determines that the activity plan of the first terminal side user is similar to the activity plan of the second terminal side user, so that the server determines that the first terminal and the second terminal have an association relationship;
if the first terminal and the second terminal have an association relationship, the server acquires attribute information of the first terminal and attribute information of the second terminal;
and the server sends the attribute information of the second terminal to the first terminal and sends the attribute information of the first terminal to the second terminal.
2. The method of claim 1, wherein the first social configuration comprises current location information of the first terminal and a social relationship chain of the first terminal-side user; the second social configuration comprises current position information of the second terminal and a social relation chain of a user at the side of the second terminal;
the server judges whether the first terminal and the second terminal have an association relation according to the first social configuration and the second social configuration, and the method comprises the following steps:
the server judges whether the first terminal and the second terminal are located in the same position area or not according to the current position information of the first terminal and the current position information of the second terminal;
if the first terminal and the second terminal are located in the same position area, the server respectively inquires a social relation chain of a first terminal side user and a social relation chain of a second terminal side user and judges whether the first terminal side user and the second terminal side user are social friends or not;
and if the first terminal side user and the second terminal side user are social friends with each other, the server determines that the first terminal and the second terminal have an association relationship.
3. The method according to any of claims 1 or 2, wherein the attribute information of the first terminal comprises: at least one of the identification of the first terminal side user, the information of the social friend of the first terminal side user, the identification of the first terminal, the current position information of the first terminal, and the merchant information of the position area to which the first terminal belongs currently;
the attribute information of the second terminal includes: at least one of the identifier of the second terminal side user, the information of the social friend of the second terminal side user, the identifier of the second terminal, the current position information of the second terminal, and the merchant information of the position area to which the second terminal belongs currently.
4. The method of claim 3, wherein after the server sends the attribute information of the second terminal to the first terminal and sends the attribute information of the first terminal to the second terminal, further comprising:
and when receiving a connection request fed back by the first terminal according to the attribute information of the second terminal and receiving a connection request fed back by the second terminal according to the attribute information of the first terminal, the server establishes communication connection between the first terminal and the second terminal.
5. An information processing apparatus characterized by comprising:
a configuration obtaining unit, configured to obtain, when it is detected that both a first terminal and a second terminal carry a social token, a first social configuration of the first terminal and a second social configuration of the second terminal, where the first social configuration includes an activity plan of a user on a first terminal side, and the second social configuration includes an activity plan of a user on a second terminal side, where the activity plan includes: activity time, activity location, and activity content;
the association judging unit is used for judging whether the first terminal and the second terminal have an association relation or not according to the first social configuration and the second social configuration;
an attribute obtaining unit, configured to obtain attribute information of the first terminal and attribute information of the second terminal if the first terminal and the second terminal have an association relationship;
the information processing unit is used for sending the attribute information of the second terminal to the first terminal and sending the attribute information of the first terminal to the second terminal;
the association judging unit includes:
a similarity judgment unit configured to judge whether the activity plan of the first terminal-side user is similar to the activity plan of the second terminal-side user;
a second association confirming unit, configured to determine that the first terminal and the second terminal have an association relationship if the activity plan of the first terminal-side user is similar to the activity plan of the second terminal-side user;
the similarity judgment unit includes:
the vector construction unit is used for constructing a first vector according to the activity plan of the first terminal side user and constructing a second vector according to the activity plan of the second terminal side user; wherein the first vector comprises a first activity time component vector, a first activity content component vector, and a first activity place component vector, and the second vector comprises a second activity time component vector, a second activity content component vector, and a second activity place component vector;
a similarity calculation unit, configured to calculate a similarity between the first vector and the second vector according to a crossing time of the first activity time component vector and the second activity time component vector, a vector included angle cosine value of the first activity content component vector and the second activity content component vector, and a vector included angle cosine value of the first activity place component vector and the second activity place component vector;
and the similarity confirming unit is used for determining that the activity plan of the first terminal side user is similar to the activity plan of the second terminal side user if the similarity between the first vector and the second vector is greater than a preset similarity threshold.
6. The apparatus of claim 5, wherein the association determining unit comprises:
the area judgment unit is used for judging whether the first terminal and the second terminal are positioned in the same position area or not according to the current position information of the first terminal and the current position information of the second terminal;
a friend judgment unit, configured to, if the first terminal and the second terminal are located in the same location area, respectively query the social relationship chain of the first terminal-side user and the social relationship chain of the second terminal-side user, and judge whether the first terminal-side user and the second terminal-side user are social friends with each other;
the first association confirmation unit is used for determining that the first terminal and the second terminal have an association relationship if the first terminal side user and the second terminal side user are social friends with each other;
the first social configuration comprises current position information of the first terminal and a social relation chain of a user at the side of the first terminal; the second social configuration includes current location information of the second terminal and a social relationship chain of the user at the second terminal side.
7. The apparatus according to any of claims 5 or 6, wherein the attribute information of the first terminal comprises: at least one of the identification of the first terminal side user, the information of the social friend of the first terminal side user, the identification of the first terminal, the current position information of the first terminal, and the merchant information of the position area to which the first terminal belongs currently;
the attribute information of the second terminal includes: at least one of the identifier of the second terminal side user, the information of the social friend of the second terminal side user, the identifier of the second terminal, the current position information of the second terminal, and the merchant information of the position area to which the second terminal belongs currently.
8. The apparatus of claim 7, further comprising:
and the connection establishing unit is used for establishing communication connection between the first terminal and the second terminal when receiving a connection request fed back by the first terminal according to the attribute information of the second terminal and receiving a connection request fed back by the second terminal according to the attribute information of the first terminal.
9. A server characterized by comprising the information processing apparatus according to any one of claims 5 to 8.
CN201510144055.4A 2015-03-30 2015-03-30 Information processing method and device and server Active CN106161185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510144055.4A CN106161185B (en) 2015-03-30 2015-03-30 Information processing method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510144055.4A CN106161185B (en) 2015-03-30 2015-03-30 Information processing method and device and server

Publications (2)

Publication Number Publication Date
CN106161185A CN106161185A (en) 2016-11-23
CN106161185B true CN106161185B (en) 2020-08-25

Family

ID=57340264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510144055.4A Active CN106161185B (en) 2015-03-30 2015-03-30 Information processing method and device and server

Country Status (1)

Country Link
CN (1) CN106161185B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306172A (en) * 2011-08-24 2012-01-04 深圳市凯立德科技股份有限公司 Accompanied tour recommendation method and system
CN102811179A (en) * 2012-03-29 2012-12-05 北京淘友天下科技发展有限公司 Information provision method and system for social network
CN103020254A (en) * 2012-12-20 2013-04-03 北京趣拿信息技术有限公司 Information recommending method and device
CN103096242A (en) * 2011-11-03 2013-05-08 腾讯科技(深圳)有限公司 User recommendation method and system based on location based services
CN103164480A (en) * 2011-12-13 2013-06-19 北京千橡网景科技发展有限公司 Method and equipment used for recommending interest points in social network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306172A (en) * 2011-08-24 2012-01-04 深圳市凯立德科技股份有限公司 Accompanied tour recommendation method and system
CN103096242A (en) * 2011-11-03 2013-05-08 腾讯科技(深圳)有限公司 User recommendation method and system based on location based services
CN103164480A (en) * 2011-12-13 2013-06-19 北京千橡网景科技发展有限公司 Method and equipment used for recommending interest points in social network
CN102811179A (en) * 2012-03-29 2012-12-05 北京淘友天下科技发展有限公司 Information provision method and system for social network
CN103020254A (en) * 2012-12-20 2013-04-03 北京趣拿信息技术有限公司 Information recommending method and device

Also Published As

Publication number Publication date
CN106161185A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US12106326B2 (en) Determining locations of interest based on user visits
US10042548B2 (en) Methods and systems for providing user feedback using an emotion scale
WO2014161433A1 (en) System and method for positioning terminal
US20160188671A1 (en) Methods and Systems for Recommending Applications
CN107430531A (en) For managing the method and system for the license for accessing mobile device resource
US20200007491A1 (en) Methods and Systems for Providing Notifications to Users of a Social Networking Service
CN102695121A (en) Method and system for pushing friend information for user in social network
KR20190025066A (en) Recommending additional users for an event using a social networking system
EP2896013A2 (en) Generating a point of interest profile based on third-party social comments
CN113032682A (en) Product recommendation method, device, equipment and storage medium based on collaborative filtering
US9344518B2 (en) Facilitation of social interactions
CN102495941B (en) Taxi taking difficulty assessment method and system
CN105069145A (en) Method and system for determining user relationship strength in social network
Lu et al. Localization algorithm based on maximum a posteriori in wireless sensor networks
US9635507B2 (en) Mobile device analytics
US20190347306A1 (en) Taxonomy-based system for discovering and annotating geofences from geo-referenced data
Zheng et al. Weight-RSS: A calibration-free and robust method for WLAN-Based indoor positioning
CN104111981A (en) Method and device used for providing post messages
EP2891343B1 (en) Efficient proximity detection
CN106161185B (en) Information processing method and device and server
Wang et al. A new privacy-preserving scheme for continuous query in location-based social networking services
Zheng et al. Bigloc: A two-stage positioning method for large indoor space
CN113746648A (en) Information processing method, device and storage medium
US10498838B2 (en) Determining online system user eligibility for receiving content using a polygon representing a physical location associated with the content
US10225355B2 (en) Methods and systems for abuse detection of zero-rated data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant