[go: up one dir, main page]

CN105577521A - Method, device and system for friend grouping - Google Patents

Method, device and system for friend grouping Download PDF

Info

Publication number
CN105577521A
CN105577521A CN201510971698.6A CN201510971698A CN105577521A CN 105577521 A CN105577521 A CN 105577521A CN 201510971698 A CN201510971698 A CN 201510971698A CN 105577521 A CN105577521 A CN 105577521A
Authority
CN
China
Prior art keywords
good friend
described terminal
terminal
environment
environment descriptor
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.)
Granted
Application number
CN201510971698.6A
Other languages
Chinese (zh)
Other versions
CN105577521B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510971698.6A priority Critical patent/CN105577521B/en
Publication of CN105577521A publication Critical patent/CN105577521A/en
Application granted granted Critical
Publication of CN105577521B publication Critical patent/CN105577521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method, a device and a system for friend grouping, belonging to the electronic technology application field. The method comprises steps of receiving a friend acceptation request transmitted by a terminal, wherein the friend acceptation request is generated based on a friend adding order, the friend acceptation request comprises environment description information of the terminal and the environment description information is used for describing the environment at the moment that the terminal transmits the friend acceptation request, inquiring whether the friend is added in a target environment which is described in the terminal description information according to the friend acceptation request, inquiring whether the added friend has the corresponding grouping mark when the friend is being added in the current environment, and if yes, transmitting grouping recommendation information to the terminal, wherein the grouping recommendation information comprises the corresponding grouping mark of the added friend. The invention solves the problem that the friend grouping mode is singular and low in grouping flexibility, and increases the grouping modes and improves the beinficial effects of the flexibility of grouping. The invention is used for friend grouping.

Description

Good friend's group technology, Apparatus and system
Technical field
The disclosure relates to application of electronic technology field, particularly a kind of good friend's group technology, Apparatus and system.
Background technology
Along with mobile Internet development, the development of social application is also more and more faster.The start-up procedure that social application uses is the foundation of social networks, after namely adding good friend, it is carried out to the process of good friend's grouping.
In correlation technique, social application server according to the common good friend between the new good friend that adds and user and this user to the mark result of this common good friend, can recommend user one grouping.Such as, common good friend between the good friend of new interpolation and user, being all marked as by this user is " middle school classmate ", and the grouping of the good friend of this new interpolation will be recommended into " middle school classmate " grouping by so social application server.
Summary of the invention
Single in order to solve good friend's block form in correlation technique, the problem that grouping flexibility is low, disclosure embodiment provides a kind of good friend's group technology, Apparatus and system.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, a kind of good friend's group technology is provided, comprises:
The good friend that receiving terminal sends accepts request, it is that described terminal adds instruction generation based on good friend that described good friend accepts request, described good friend adds instruction and is used to indicate described terminal and carries out good friend's interpolation, described good friend accepts request and comprises the environment descriptor of described terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Accept request according to described good friend, inquire about in the targeted environment described in the environment descriptor of described terminal whether added good friend;
When adding good friend in described targeted environment, whether the good friend that inquiry was added was to having packet marking;
When the good friend added is to when should have a packet marking, send grouping recommendation information to described terminal, described grouping recommendation information comprises packet marking corresponding to the described good friend added.
Optionally, the described good friend when adding, to when should have a packet marking, sends grouping recommendation information to described terminal, comprising:
Add up the number of packet marking corresponding to the good friend that added;
When the number of packet marking corresponding to the described good friend added equals 1, generate described grouping recommendation information, described grouping recommendation information comprises packet marking corresponding to the described good friend added;
When the number of packet marking corresponding to the described good friend added is greater than 1, generate described grouping recommendation information, it is any one or more that described grouping recommendation information comprises in packet marking corresponding to the described good friend added;
Described grouping recommendation information is sent to described terminal.
Optionally, described good friend accepts request and comprises terminal iidentification, describedly accepts request according to described good friend, inquires about in the targeted environment described in the environment descriptor of described terminal whether added good friend, comprising:
Accept request according to described good friend, in the environment descriptor prestored, obtain the environment descriptor that described terminal iidentification is corresponding, described in the environment descriptor that prestores be carry during good friend that each terminal received in advance sends accepts request;
Judge the environment descriptor whether recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When recording the environment descriptor of described terminal in the environment descriptor that described terminal iidentification is corresponding, determine to add good friend in described targeted environment;
When not recording the environment descriptor of described terminal in the environment descriptor that described terminal iidentification is corresponding, determine not add good friend in described targeted environment.
Optionally, described environment descriptor comprises: at least one in geographical location information residing for the network information that described terminal connects and described terminal.
Optionally, the network information that described terminal connects comprises:
At least one in the mark of network that described terminal connects, the MAC address of the access point of described network.
Optionally, geographical location information residing for described terminal is at least one in the ambient image that obtains of the global position system GPS address of described terminal and described terminal.
Optionally, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the ambient image that described terminal obtains,
Describedly judge the environment descriptor whether recording described terminal in the environment descriptor that described terminal iidentification is corresponding, comprising:
Judge whether to exist in the ambient image that described terminal iidentification is corresponding the image that the ambient image obtained with described terminal is greater than default similarity;
When the ambient image existed in the ambient image that described terminal iidentification is corresponding and described terminal obtains is greater than the image of default similarity, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When the image that there is not the ambient image obtained with described terminal in the ambient image that described terminal iidentification is corresponding and be greater than default similarity, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
Optionally, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the GPS address of described terminal;
Describedly judge the environment descriptor whether recording described terminal in the environment descriptor that described terminal iidentification is corresponding, comprising:
Judge whether exist in the GPS address that described terminal iidentification is corresponding and the GPS address of the error of the GPS address of described terminal in default error range;
When there is the GPS address with the error of the GPS address of described terminal in default error range in the GPS address that described terminal iidentification is corresponding, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When there is not the GPS address with the error of the GPS address of described terminal in default error range in the GPS address that described terminal iidentification is corresponding, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
Optionally, described environment descriptor comprises: the network information that described terminal connects, the network information that described terminal connects: the mark of the network that described terminal connects;
Describedly judge the environment descriptor whether recording described terminal in the environment descriptor that described terminal iidentification is corresponding, comprising:
Judge whether there is the mark identical with the mark of the network that described terminal connects in the mark of the network that described terminal iidentification is corresponding;
When there is the mark identical with the mark of the network that described terminal connects in the mark of network corresponding to described terminal iidentification, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When there is not the mark identical with the mark of the network that described terminal connects in the mark of network corresponding to described terminal iidentification, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
According to the second aspect of disclosure embodiment, a kind of good friend's group technology is provided, comprises:
Good friend according to being used to indicate terminal and carrying out good friend's interpolation adds instruction, obtains the environment descriptor of terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Generate good friend to accept request, described good friend accepts request and comprises the environment descriptor of described terminal;
Send described good friend to application server to accept request;
Receive the grouping recommendation information that described application server sends, described grouping recommendation information comprises packet marking, described packet marking is described application server when adding good friend in the targeted environment that the environment descriptor of described terminal describes, the packet marking that the good friend added is corresponding.
Optionally, described environment descriptor comprises: at least one in geographical location information residing for the network information that described terminal connects and described terminal.
Optionally, the network information that described terminal connects comprises:
At least one in the mark of network that described terminal connects, the MAC address of the access point of described network.
Optionally, geographical location information residing for described terminal is at least one in the ambient image that obtains of the global position system GPS address of described terminal and described terminal.
Optionally, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the ambient image that described terminal obtains,
Described basis is used to indicate the good friend that terminal carries out good friend's interpolation and adds instruction, obtains the environment descriptor of terminal, comprising:
Add instruction according to described good friend, open the camera of described terminal;
Described ambient image is gathered by the image scanning function of described camera or camera function.
According to the third aspect of disclosure embodiment, a kind of good friend's apparatus for grouping is provided, comprises:
Receiver module, the good friend being configured to receiving terminal transmission accepts request, it is that described terminal adds instruction generation based on good friend that described good friend accepts request, described good friend adds instruction and is used to indicate described terminal and carries out good friend's interpolation, described good friend accepts request and comprises the environment descriptor of described terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
First enquiry module, is configured to accept request according to described good friend, inquires about in the targeted environment described in the environment descriptor of described terminal whether added good friend;
Second enquiry module, is configured to when adding good friend in described targeted environment, and whether the good friend that inquiry was added is to having packet marking;
Sending module, be configured to when the good friend added is to when should have a packet marking, send grouping recommendation information to described terminal, described grouping recommendation information comprises packet marking corresponding to the described good friend added.
Optionally, described sending module, is configured to:
Add up the number of packet marking corresponding to the good friend that added;
When the number of packet marking corresponding to the described good friend added equals 1, generate described grouping recommendation information, described grouping recommendation information comprises packet marking corresponding to the described good friend added;
When the number of packet marking corresponding to the described good friend added is greater than 1, generate described grouping recommendation information, it is any one or more that described grouping recommendation information comprises in packet marking corresponding to the described good friend added;
Described grouping recommendation information is sent to described terminal.
Optionally, described good friend accepts request and comprises terminal iidentification, and described first enquiry module, comprising:
Obtain submodule, be configured to accept request according to described good friend, in the environment descriptor prestored, obtain the environment descriptor that described terminal iidentification is corresponding, described in the environment descriptor that prestores be carry during good friend that each terminal received in advance sends accepts request;
Judge submodule, be configured to the environment descriptor whether recording described terminal in the environment descriptor judging that described terminal iidentification is corresponding;
First determines submodule, when being configured to the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding, determines to add good friend in described targeted environment;
Second determines submodule, when being configured to the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding, determines not add good friend in described targeted environment.
Optionally, described environment descriptor comprises: at least one in geographical location information residing for the network information that described terminal connects and described terminal.
Optionally, the network information that described terminal connects comprises:
At least one in the mark of network that described terminal connects, the MAC address of the access point of described network.
Optionally, geographical location information residing for described terminal is at least one in the ambient image that obtains of the global position system GPS address of described terminal and described terminal.
Optionally, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the ambient image that described terminal obtains, and described judgement submodule, is configured to:
Judge whether to exist in the ambient image that described terminal iidentification is corresponding the image that the ambient image obtained with described terminal is greater than default similarity;
When the ambient image existed in the ambient image that described terminal iidentification is corresponding and described terminal obtains is greater than the image of default similarity, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When the image that there is not the ambient image obtained with described terminal in the ambient image that described terminal iidentification is corresponding and be greater than default similarity, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
Optionally, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the GPS address of described terminal; Described judgement submodule, is configured to:
Judge whether exist in the GPS address that described terminal iidentification is corresponding and the GPS address of the error of the GPS address of described terminal in default error range;
When there is the GPS address with the error of the GPS address of described terminal in default error range in the GPS address that described terminal iidentification is corresponding, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When there is not the GPS address with the error of the GPS address of described terminal in default error range in the GPS address that described terminal iidentification is corresponding, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
Optionally, described environment descriptor comprises: the network information that described terminal connects, the network information that described terminal connects: the mark of the network that described terminal connects; Described judgement submodule, is configured to:
Judge whether there is the mark identical with the mark of the network that described terminal connects in the mark of the network that described terminal iidentification is corresponding;
When there is the mark identical with the mark of the network that described terminal connects in the mark of network corresponding to described terminal iidentification, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When there is not the mark identical with the mark of the network that described terminal connects in the mark of network corresponding to described terminal iidentification, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
According to the fourth aspect of disclosure embodiment, a kind of good friend's apparatus for grouping is provided, comprises:
Acquisition module, being configured to add instruction according to being used to indicate the good friend that terminal carries out good friend's interpolation, obtaining the environment descriptor of terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Generation module, be configured to generate good friend and accept request, described good friend accepts request and comprises the environment descriptor of described terminal;
Sending module, is configured to send described good friend to application server and accepts request;
Receiver module, be configured to the grouping recommendation information receiving the transmission of described application server, described grouping recommendation information comprises packet marking, described packet marking is described application server when adding good friend in the targeted environment that the environment descriptor of described terminal describes, the packet marking that the good friend added is corresponding.
Optionally, described environment descriptor comprises: at least one in geographical location information residing for the network information that described terminal connects and described terminal.
Optionally, the network information that described terminal connects comprises:
At least one in the mark of network that described terminal connects, the MAC address of the access point of described network.
Optionally, geographical location information residing for described terminal is at least one in the ambient image that obtains of the global position system GPS address of described terminal and described terminal.
Optionally, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the ambient image that described terminal obtains, and described acquisition module, is configured to:
Add instruction according to described good friend, open the camera of described terminal;
Described ambient image is gathered by the image scanning function of described camera or camera function.
According to the 5th aspect of disclosure embodiment, a kind of good friend's grouping system is provided, comprises: application server and terminal,
Described application server comprises: the arbitrary described good friend's apparatus for grouping of the third aspect;
Described terminal comprises: the arbitrary described good friend's apparatus for grouping of fourth aspect.
According to the 6th aspect of disclosure embodiment, a kind of good friend's apparatus for grouping is provided, comprises:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
The good friend that receiving terminal sends accepts request, it is that described terminal adds instruction generation based on good friend that described good friend accepts request, described good friend adds instruction and is used to indicate described terminal and carries out good friend's interpolation, described good friend accepts request and comprises the environment descriptor of described terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Accept request according to described good friend, inquire about in the targeted environment described in the environment descriptor of described terminal whether added good friend;
When adding good friend in described targeted environment, whether the good friend that inquiry was added was to having packet marking;
When the good friend added is to when should have a packet marking, send grouping recommendation information to described terminal, described grouping recommendation information comprises packet marking corresponding to the described good friend added.
According to the 7th aspect of disclosure embodiment, a kind of good friend's apparatus for grouping is provided, comprises:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Good friend according to being used to indicate terminal and carrying out good friend's interpolation adds instruction, obtains the environment descriptor of terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Generate good friend to accept request, described good friend accepts request and comprises the environment descriptor of described terminal;
Send described good friend to application server to accept request;
Receive the grouping recommendation information that described application server sends, described grouping recommendation information comprises packet marking, described packet marking is described application server when adding good friend in the targeted environment that the environment descriptor of described terminal describes, the packet marking that the good friend added is corresponding.
According to the eighth aspect of disclosure embodiment, a kind of good friend's grouping system is provided, comprises: application server and terminal,
Described application server comprises: the good friend's apparatus for grouping described in the 6th aspect;
Described terminal comprises: the good friend's apparatus for grouping described in the 7th aspect.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In sum, good friend's group technology that disclosure embodiment provides, Apparatus and system, due to application server can accept request according to described good friend in the environment descriptor of terminal of carrying inquire about, good friend was added in the targeted environment that the environment descriptor of described terminal describes, and the good friend added is to when should have a packet marking, grouping recommendation information is sent to described terminal, this grouping recommendation information comprises packet marking corresponding to the described good friend added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present disclosure, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only embodiments more of the present disclosure, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of the implementation environment involved by information recommendation method provided in disclosure section Example.
Fig. 2 is the flow chart of a kind of good friend's group technology according to an exemplary embodiment.
Fig. 3 is the flow chart of the another kind of good friend's group technology according to an exemplary embodiment.
Fig. 4-1 is the flow chart of another the good friend's group technology according to an exemplary embodiment.
Fig. 4-2 is a kind of flow charts obtaining the method for the environment descriptor of terminal according to an exemplary embodiment.
The method flow diagram of good friend whether was added in Fig. 4-3 targeted environment that to be a kind of inquiries according to an exemplary embodiment describe in the environment descriptor of terminal.
Fig. 4-4 is method flow diagrams that a kind of application server according to an exemplary embodiment judges whether to record in the environment descriptor that terminal iidentification is corresponding the environment descriptor of terminal.
Fig. 4-5 is a kind of picture exemplary plot according to an exemplary embodiment.
Fig. 4-6 is method flow diagrams that a kind of application server according to an exemplary embodiment judges whether to record in the environment descriptor that terminal iidentification is corresponding the environment descriptor of terminal.
Fig. 4-7 is method flow diagrams that a kind of application server according to an exemplary embodiment judges whether to record in the environment descriptor that terminal iidentification is corresponding the environment descriptor of terminal.
Fig. 4-8 is a kind of method flow diagrams sending grouping recommendation information to terminal according to an exemplary embodiment.
Fig. 4-9 is schematic diagrames of a kind of terminal demonstration grouping recommendation information according to an exemplary embodiment.
Fig. 5-1 is the block diagram of a kind of good friend's apparatus for grouping according to an exemplary embodiment.
Fig. 5-2 is block diagrams of a kind of first enquiry module according to an exemplary embodiment.
Fig. 6 is the block diagram of the another kind of good friend's apparatus for grouping according to an exemplary embodiment.
Fig. 7 is the block diagram of a kind of good friend's apparatus for grouping according to an exemplary embodiment.
Fig. 8 is the block diagram of a kind of good friend's apparatus for grouping according to an exemplary embodiment.
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Refer to Fig. 1, the schematic diagram of the implementation environment involved by information recommendation method provided in disclosure section Example is provided.This implementation environment can comprise: application server 110 and at least one terminal 120.
Application server 110 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.Terminal 120 can be smart mobile phone, computer, multimedia player, electronic reader, Wearable device etc.
Can be set up by cable network or wireless network between application server 110 and terminal 120 and connect.
Fig. 2 is the flow chart of a kind of good friend's group technology according to an exemplary embodiment, is applied to application server 110 as shown in Figure 1, comprises:
The good friend that step 201, receiving terminal send accepts request, it is that terminal adds instruction generation based on good friend that this good friend accepts request, this good friend adds instruction and is used to indicate terminal and carries out good friend's interpolation, this good friend accepts request and comprises the environment descriptor of terminal, and the environment descriptor of this terminal is for describing environment when terminal transmission good friend accepts request.
Step 202, to accept request according to good friend, inquire about in the targeted environment described in the environment descriptor of terminal whether added good friend.
Step 203, when adding good friend in targeted environment, whether inquired about the good friend that added to packet marking should be had.
Step 204, when the good friend added is to when should have a packet marking, send grouping recommendation information to terminal, grouping recommendation information comprises packet marking corresponding to the good friend that added.
In sum, good friend's group technology that disclosure embodiment provides, due to application server can accept request according to good friend in the environment descriptor of terminal of carrying inquire about, good friend was added in the targeted environment that the environment descriptor of terminal describes, and the good friend added is to when should have a packet marking, grouping recommendation information is sent to terminal, this grouping recommendation information comprises packet marking corresponding to the good friend that added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Optionally, when the good friend added is to when should have a packet marking, send grouping recommendation information to terminal, comprising:
Add up the number of packet marking corresponding to the good friend that added;
When the number of packet marking corresponding to the good friend added equals 1, generate grouping recommendation information, grouping recommendation information comprises packet marking corresponding to the good friend that added;
When the number of packet marking corresponding to the good friend added is greater than 1, generate grouping recommendation information, it is any one or more that grouping recommendation information comprises in packet marking corresponding to the good friend that added;
Grouping recommendation information is sent to terminal.
Optionally, good friend accepts request and comprises terminal iidentification, accepts request according to good friend, inquires about in the targeted environment described in the environment descriptor of terminal whether added good friend, comprising:
Judge the environment descriptor whether recording terminal in the environment descriptor that terminal iidentification is corresponding, the environment descriptor prestored is carried during the good friend of each terminal transmission received in advance accepts request;
When recording the environment descriptor of terminal in the environment descriptor that terminal iidentification is corresponding, determine to add good friend in targeted environment;
When not recording the environment descriptor of terminal in the environment descriptor that terminal iidentification is corresponding, determine not add good friend in targeted environment.
Optionally, environment descriptor comprises: at least one residing for the network information that terminal connects and terminal in geographical location information.
Optionally, the network information that terminal connects comprises:
The mark of network that terminal connects, the media interviews of the access point of network control (English: MediaAccessControl; Be called for short: at least one MAC) in address.
Optionally, geographical location information residing for terminal is the global positioning system (English: GlobalPositioningSystem of terminal; Be called for short: at least one GPS) in the ambient image that obtains of address and terminal.
Optionally, environment descriptor comprises: geographical location information residing for terminal, and residing for terminal, geographical location information comprises: the ambient image that terminal obtains,
Judge the environment descriptor whether recording terminal in the environment descriptor that terminal iidentification is corresponding, comprising:
Judge whether to exist in the ambient image that terminal iidentification is corresponding the image that the ambient image obtained with terminal is greater than default similarity;
When the ambient image existed in the ambient image that terminal iidentification is corresponding and terminal obtains is greater than the image of default similarity, determine the environment descriptor recording terminal in the environment descriptor that terminal iidentification is corresponding;
When the image that there is not the ambient image obtained with terminal in the ambient image that terminal iidentification is corresponding and be greater than default similarity, determine the environment descriptor not recording terminal in the environment descriptor that terminal iidentification is corresponding.
Optionally, environment descriptor comprises: geographical location information residing for terminal, and residing for terminal, geographical location information comprises: the GPS address of terminal;
Judge the environment descriptor whether recording terminal in the environment descriptor that terminal iidentification is corresponding, comprising:
Judge whether exist in the GPS address that terminal iidentification is corresponding and the GPS address of the error of the GPS address of terminal in default error range;
When there is the GPS address with the error of the GPS address of terminal in default error range in the GPS address that terminal iidentification is corresponding, determine the environment descriptor recording terminal in the environment descriptor that terminal iidentification is corresponding;
When there is not the GPS address with the error of the GPS address of terminal in default error range in the GPS address that terminal iidentification is corresponding, determine the environment descriptor not recording terminal in the environment descriptor that terminal iidentification is corresponding.
Optionally, environment descriptor comprises: the network information that terminal connects, the network information that terminal connects: the mark of the network that terminal connects;
Judge the environment descriptor whether recording terminal in the environment descriptor that terminal iidentification is corresponding, comprising:
Judge whether there is the mark identical with the mark of the network that terminal connects in the mark of the network that terminal iidentification is corresponding;
When there is the mark identical with the mark of the network that terminal connects in the mark of network corresponding to terminal iidentification, determine the environment descriptor recording terminal in the environment descriptor that terminal iidentification is corresponding;
When there is not the mark identical with the mark of the network that terminal connects in the mark of network corresponding to terminal iidentification, determine the environment descriptor not recording terminal in the environment descriptor that terminal iidentification is corresponding.
In sum, good friend's group technology that disclosure embodiment provides, due to application server can accept request according to good friend in the environment descriptor of terminal of carrying inquire about, good friend was added in the targeted environment that the environment descriptor of terminal describes, and the good friend added is to when should have a packet marking, grouping recommendation information is sent to terminal, this grouping recommendation information comprises packet marking corresponding to the good friend that added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Fig. 3 is the flow chart of the another kind of good friend's group technology according to an exemplary embodiment, is applied to terminal 120 as shown in Figure 1, comprises:
Step 301, adding instruction according to being used to indicate the good friend that terminal carries out good friend's interpolation, obtaining the environment descriptor of terminal, the environment descriptor of this terminal sends environment when good friend accepts request for describing terminal.
Step 302, generation good friend accept request, and good friend accepts request and comprises the environment descriptor of terminal.
Step 303, to application server send good friend accept request.
The grouping recommendation information that step 304, reception application server send, grouping recommendation information comprises packet marking, packet marking is application server when adding good friend in the targeted environment that the environment descriptor of terminal describes, the packet marking that the good friend added is corresponding.
In sum, good friend's group technology that disclosure embodiment provides, because terminal can add according to good friend the environment descriptor that instruction obtains terminal, and accepted request by good friend and send to application server, grouping recommendation information is sent according to the environment descriptor of this terminal to terminal by application server, this grouping recommendation information comprises packet marking corresponding to the good friend that added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Optionally, environment descriptor comprises: at least one residing for the network information that terminal connects and terminal in geographical location information.
Optionally, the network information that terminal connects comprises:
At least one in the mark of network that terminal connects, the MAC Address of the access point of network.
Optionally, geographical location information residing for terminal is at least one in the ambient image that obtains of the GPS address of terminal and terminal.
Optionally, environment descriptor comprises: geographical location information residing for terminal, and residing for terminal, geographical location information comprises: the ambient image that terminal obtains,
Add instruction according to good friend, obtain the environment descriptor of terminal, comprising:
Add instruction according to good friend, open the camera of terminal;
By image scanning function or the camera function collection ambient image of camera.
In sum, good friend's group technology that disclosure embodiment provides, because terminal can add according to good friend the environment descriptor that instruction obtains terminal, and accepted request by good friend and send to application server, grouping recommendation information is sent according to the environment descriptor of this terminal to terminal by application server, this grouping recommendation information comprises packet marking corresponding to the good friend that added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Fig. 4-1 is the flow chart of another the good friend's group technology according to an exemplary embodiment, is applied to implementation environment as shown in Figure 1, and this good friend's group technology comprises:
Step 401, terminal add instruction according to the good friend being used to indicate terminal and carrying out good friend's interpolation, obtain the environment descriptor of terminal.
User is when using social application, on the one hand, can by the function of search of social application, active searching wants the target social activity application account added as a friend, the terminal that user uses sends good friend to the terminal logging in this target social activity application account and adds request, when the good friend receiving the terminal transmission logging in this target social activity application account adds response, terminal corresponding generation good friend adds instruction, illustrate that target social activity is applied user corresponding to account and agreed to add good friend, application server correspondingly can carry out grouping to be recommended, on the other hand, can by the function of search of social application, active searching wants the target social activity application account added as a friend, the terminal used user adds request to the terminal transmission good friend logging in this target social activity application account, terminal corresponding generation good friend adds instruction, this good friend adds instruction and shows that user wants to add good friend, application server correspondingly can carry out grouping to be recommended, if user agrees to the grouping recommended, when the good friend receiving the terminal transmission logging in this target social activity application account adds response, the good friend of interpolation can be divided in the grouping of recommendation by terminal, again on the one hand, the terminal that the terminal that other social application accounts log in can use to user sends good friend and adds request, terminal is when receiving user and selecting to agree to add good friend's option, response is added to these other social good friend applying the terminal transmission that account logs in, and generate good friend and add instruction, illustrate that the user agreeing to add other social application accounts corresponding is good friend, application server correspondingly can carry out grouping to be recommended.It should be noted that, the generation moment that in disclosure embodiment, good friend adds instruction schematically illustrates, and other scenes easily expected also can be encompassed in the protection range of disclosure embodiment.
Terminal, receiving after good friend adds instruction, can be added instruction according to this good friend, obtain the environment descriptor of terminal, and the environment descriptor of this terminal sends environment when good friend accepts request for describing terminal.This environment descriptor can comprise: at least one residing for the network information that terminal connects and terminal in geographical location information.Wherein, the network information that this terminal connects comprises: at least one in the mark of network that terminal connects, the MAC Address of the access point of network.This network can be cable network or wireless network, and when the network that terminal connects is wireless network, this wireless network can be WLAN (wireless local area network), as Wireless Fidelity is (English: WirelessFidelity; Be called for short: WiFi) network, geographical location information residing for terminal can be at least one in the ambient image of the global position system GPS address of terminal and terminal acquisition.
Example, disclosure embodiment assumptions' environment descriptor comprises: geographical location information residing for terminal, residing for this terminal, geographical location information comprises: the ambient image that terminal obtains, as shown in the Fig. 4-2, Fig. 4-2 is a kind of flow charts obtaining the method for the environment descriptor of terminal according to an exemplary embodiment, comprising:
Step 4011, add instruction according to good friend, terminal opens the camera of this terminal.
Terminal is receiving after good friend adds instruction, and trigger the unlatching of camera, this camera can be front-facing camera, and also can be post-positioned pick-up head, disclosure embodiment limit this.In practical application, terminal can before unlatching camera, prompting is opened at user interface display camera, being about to for pointing out user open camera, after the confirmation open command receiving user's triggering, then opening camera, on the one hand, when showing camera and opening prompting, also can show camera option, be selected to open front-facing camera or post-positioned pick-up head by user; On the other hand, user also can be set in advance in the camera opened when obtaining ambient image, and when receiving good friend and add instruction at every turn, the camera of unlatching is the camera that user pre-sets.
Step 4012, terminal pass through image scanning function or the camera function collection ambient image of camera.
Example, terminal can pass through image scanning functionality scan terminal surrounding environment, build environment image; Also can pass through camera function, take at least one pictures to reflect the environment of terminal surrounding, using the image in this at least one pictures as ambient image.In practical application, terminal can also be carried out capture video by camera and obtain ambient image, and disclosure embodiment does not repeat this.
Step 402, terminal generate good friend and accept request, and this good friend accepts request and comprises the environment descriptor of terminal.
Step 403, terminal send good friend to application server and accept request.
Step 404, application server accept request according to good friend, inquire about in the targeted environment described in the environment descriptor of terminal whether added good friend.
In disclosure embodiment, good friend accepts request and comprises terminal iidentification, after the good friend that application server receiving terminal sends accepts request, can accept request according to good friend, inquire about in the targeted environment described in the environment descriptor of terminal and whether added good friend, as shown in Fig. 4-3, whether added the method flow diagram of good friend in Fig. 4-3 targeted environment that to be a kind of inquiries according to an exemplary embodiment describe in the environment descriptor of terminal, comprising:
Step 4041, application server accept request according to good friend, in the environment descriptor prestored, obtain the environment descriptor that terminal iidentification is corresponding, the environment descriptor prestored is carried during the good friend of each terminal transmission received in advance accepts request.
Application server when receiving good friend that terminal sends and accept request at every turn, can store good friend accept request in terminal iidentification and corresponding environment descriptor.Example, suppose before step 403, application server receives request according to the good friend received in advance and sets up terminal iidentification as shown in table 1 and environment descriptor corresponding relation, can find out, the environment descriptor of terminal iidentification 001 correspondence is respectively information x, y, z, the environment descriptor of terminal iidentification 002 correspondence is respectively information m, z, and the environment descriptor of terminal iidentification 003 correspondence is information x.Suppose that good friend that terminal receives in step 4041 terminal iidentification comprised that accepts request is 001, then the environment descriptor obtaining terminal iidentification corresponding according to this terminal iidentification question blank 1 is respectively information x, y, z.
Table 1
Further, environment descriptor can comprise: geographical location information residing for terminal, residing for terminal, geographical location information comprises: the ambient image that terminal obtains, the environment descriptor that then terminal iidentification is corresponding is the ambient image that terminal iidentification is corresponding, example, suppose before step 403, application server receives request according to the good friend received in advance and sets up terminal iidentification as shown in table 1 and ambient image corresponding relation, can find out, the ambient image of terminal iidentification 001 correspondence is respectively picture x1, y1, z1, the ambient image of terminal iidentification 002 correspondence is respectively picture m1, n1, the environment descriptor of terminal iidentification 003 correspondence is picture q1.Suppose that good friend that terminal receives in step 4041 terminal iidentification comprised that accepts request is 001, then obtain ambient image corresponding to terminal iidentification according to this terminal iidentification question blank 2 and be respectively picture x1, y1, z1.
In practical application, environment descriptor can have multiple, and the disclosure just schematically illustrates with table 2, and other easily expect that other embodiment of the present disclosure also should be encompassed in protection range of the present disclosure, and disclosure embodiment does not repeat them here.
It should be noted that, the environment descriptor prestored can be carry during the good friend of each terminal transmission received in advance accepts request, also can be preset by user, such as, user has preset the environment descriptor of varying environment, as upload the GPS address of house, ambient image, IP address or WiFi the service set of wireless router (English: ServiceSetIdentifier; Be called for short: SSID); Upload the SSID of the GPS address of company, ambient image or WiFi, disclosure embodiment just schematically illustrates.
Step 4042, application server judge the environment descriptor whether recording terminal in the environment descriptor that terminal iidentification is corresponding.
In practical application, the difference of environment descriptor content, application server judges that the method whether recording the environment descriptor of terminal in the environment descriptor that terminal iidentification is corresponding is also different, and disclosure embodiment is for following three kinds:
First aspect, environment descriptor comprises: geographical location information residing for terminal, residing for terminal, geographical location information comprises: the ambient image that terminal obtains, the environment descriptor that then terminal iidentification is corresponding is the ambient image that terminal iidentification is corresponding, as shown in Fig. 4-4, Fig. 4-4 is method flow diagrams that a kind of application server according to an exemplary embodiment judges whether to record in the environment descriptor that terminal iidentification is corresponding the environment descriptor of terminal, comprising:
Step 4042a, application server judge whether to exist in the ambient image that terminal iidentification is corresponding the image that the ambient image obtained with terminal is greater than default similarity.When the ambient image existed in the ambient image that terminal iidentification is corresponding and terminal obtains is greater than the image of default similarity, perform step 4042b, when the image that there is not the ambient image obtained with terminal in the ambient image that terminal iidentification is corresponding and be greater than default similarity, perform step 4042c.
Example, suppose in step 4041, the ambient image of the terminal comprised during the good friend that application server receives accepts request is picture p1, terminal iidentification is 001, then application server is inquired about the ambient image that above-mentioned table 2 obtains terminal iidentification 001 correspondence and is respectively picture x1, y1, z1, then by picture p1 respectively with picture x1, y1, z1 compares, judge picture x1, y1, in z1, no existence and picture p1 are greater than the image of default similarity, example, as illustrated in figures 4-5, Fig. 4-5 is a kind of picture exemplary plot according to an exemplary embodiment, in Fig. 4-5, by picture p1 respectively with picture x1, y1, z1, suppose that presetting similarity is 50%, by comparing, determine that the similarity of picture p1 and picture y1 is 90%, be greater than 50%, the image that the ambient image obtained with terminal is greater than default similarity is there is in the ambient image that then terminal iidentification is corresponding.When carrying out image comparison, can by each ambient image of terminal iidentification 001 correspondence and the ambient image overall contrast of terminal, also each ambient image can be divided into multiple subgraph according to image type, subgraph in the ambient image of the subgraph in the ambient image of each terminal iidentification 001 correspondence and terminal is contrasted, determine to match the number of subgraph, the number according to Matching sub-image picture determines similarity.Such as, picture y1 in Fig. 4-5 is divided into the subgraphs such as metope, curtain, desk, tea table, sofa, back cushion according to image type, and picture p1 is also divided into the subgraphs such as metope, curtain, desk, tea table, sofa, back cushion according to image type, is mated by subgraph like this and determine that the similarity of picture p1 and picture y1 is greater than 50%.
It should be noted that; the above-mentioned method judging whether to exist in the ambient image that terminal iidentification is corresponding the ambient image obtained with terminal and be greater than the image of default similarity that the disclosure provides; just schematically illustrate; other methods that can expect also can be encompassed in protection range of the present disclosure, and the disclosure does not repeat them here.
The environment descriptor of terminal is recorded in the environment descriptor that step 4042b, application server determination terminal iidentification are corresponding.
The environment descriptor of terminal is not recorded in the environment descriptor that step 4042c, application server determination terminal iidentification are corresponding.
Second aspect, environment descriptor comprises: geographical location information residing for terminal, residing for terminal, geographical location information comprises: the GPS address of terminal, the environment descriptor that then terminal iidentification is corresponding is the GPS address that terminal iidentification is corresponding, as Figure 4-Figure 6, Fig. 4-6 is method flow diagrams that a kind of application server according to an exemplary embodiment judges whether to record in the environment descriptor that terminal iidentification is corresponding the environment descriptor of terminal, comprising:
Step 4042d, application server judge whether exist in the GPS address that terminal iidentification is corresponding and the GPS address of the error of the GPS address of terminal in default error range.When there is the GPS address with the error of the GPS address of terminal in default error range in the GPS address that terminal iidentification is corresponding, perform step 4042e, when there is not the GPS address with the error of the GPS address of terminal in default error range in the GPS address that terminal iidentification is corresponding, perform step 4042f.
Example, suppose in step 4041, the GPS address that the terminal iidentification comprised during the good friend that application server receives accepts request is corresponding is (36.4553342177, 106.2472888906), represent that longitude is 36.4553342177, latitude is 106.2472888906, terminal iidentification is 001, the GPS address supposing terminal iidentification 001 correspondence that application server is determined is (36.4553342170, 106.2472888905), then by GPS address (36.4553342177, 106.2472888906) with (36.4553342170, 106.2472888905) compare, whether the error of both judgements is less than default error range.In practical application, also can by judging whether there is the environment descriptor that the GPS address being less than predeterminable range with the distance of the GPS address of terminal determines whether to record in the environment descriptor that terminal iidentification is corresponding terminal in the GPS address that terminal iidentification is corresponding, disclosure embodiment repeats no more this.
The environment descriptor of terminal is recorded in the environment descriptor that step 4042e, application server determination terminal iidentification are corresponding.
The environment descriptor of terminal is not recorded in the environment descriptor that step 4042f, application server determination terminal iidentification are corresponding.
The third aspect, environment descriptor comprises: the network information that terminal connects, the network information that terminal connects: the mark of the network that terminal connects, the environment descriptor that then terminal iidentification is corresponding is the mark of the network that terminal iidentification is corresponding, as shown in figs. 4-7, Fig. 4-7 is method flow diagrams that a kind of application server according to an exemplary embodiment judges whether to record in the environment descriptor that terminal iidentification is corresponding the environment descriptor of terminal, comprising:
Step 4042g, application server judge whether there is the mark identical with the mark of the network that terminal connects in the mark of the network that terminal iidentification is corresponding.When there is the mark identical with the mark of the network that terminal connects in the mark of network corresponding to terminal iidentification, perform step 4042h, when there is not the mark identical with the mark of the network that terminal connects in the mark of network corresponding to terminal iidentification, perform step 4042j.
Example, this network can be WiFi network, then the mark of WiFi can for providing the SSID of WiFi network.Application server can judge whether there is the mark identical with the SSID of the network that terminal connects in the SSID that terminal iidentification is corresponding.
The environment descriptor of terminal is recorded in the environment descriptor that step 4042h, application server determination terminal iidentification are corresponding.
The environment descriptor of terminal is not recorded in the environment descriptor that step 4042j, application server determination terminal iidentification are corresponding.
Step 4043, when recording the environment descriptor of terminal in the environment descriptor that terminal iidentification is corresponding, application server is determined to add good friend in targeted environment.
Step 4044, when not recording the environment descriptor of terminal in the environment descriptor that terminal iidentification is corresponding, application server is determined not add good friend in targeted environment.
Step 405, when adding good friend in targeted environment, whether application server inquired about the good friend that added to having packet marking.
Step 406, when the good friend added is to when should have a packet marking, application server sends grouping recommendation information to terminal, and this grouping recommendation information comprises packet marking corresponding to the good friend that added.
As Figure 4-8, Fig. 4-8 is a kind of method flow diagrams sending grouping recommendation information to terminal according to an exemplary embodiment, comprising:
The number of packet marking corresponding to the good friend that added added up by step 4061, application server.
In practical application, user repeatedly may add good friend in same environment, and repeatedly carried out good friend's grouping, example, user may add 5 good friends at home, and these 5 good friends belong to 2 groupings respectively, was respectively " good friend " grouping and " regular friend " grouping; User can add 6 good friends in company, and these 6 good friends all belong to " colleague " grouping.
Step 4062, when the number of packet marking corresponding to the good friend added equals 1, application server generates grouping recommendation information, and this grouping recommendation information comprises packet marking corresponding to the good friend that added.
Such as, when the number of packet marking corresponding to the good friend added equals 1, be " colleague " grouping, then the recommendation information that divides into groups can comprise the mark that " colleague " divides into groups.
Step 4063, when the number of packet marking corresponding to the good friend added is greater than 1, application server generates grouping recommendation information, and it is any one or more that this grouping recommendation information comprises in packet marking corresponding to the good friend that added.
Such as, when the number of packet marking corresponding to the good friend added is greater than 1, be respectively " good friend " grouping and " regular friend " grouping, then grouping recommendation information can comprise the mark that " good friend " grouping is divided into groups with " regular friend ", also only can comprise any one in the mark that " good friend " divides into groups and " regular friend " divides into groups.
Step 4064, application server send grouping recommendation information to terminal.
Step 407, terminal demonstration grouping recommendation information.
After terminal receives the grouping recommendation information of application server transmission, display grouping recommendation information.As shown in figures 4-9, Fig. 4-9 is schematic diagrames of a kind of terminal demonstration grouping recommendation information according to an exemplary embodiment, supposes that grouping recommendation information comprises " good friend " grouping and " regular friend " grouping.Then terminal demonstration " good friend " option and " regular friend " option, select for user.
The good friend of interpolation is divided in the grouping of grouping selection instruction instruction according to the grouping selection instruction received by step 408, terminal, and the grouping of this grouping selection instruction instruction is determined according to grouping recommendation information.
The option that user can divide into groups in recommendation information at terminal demonstration selects the grouping wanting the good friend added to divide, after user determines corresponding grouping, trigger the option of this grouping correspondence, terminal generates grouping selection instruction, and according to this grouping selection instruction, the good friend of interpolation is divided in corresponding grouping, example, " good friend " option is selected in " good friend " option that user shows at Fig. 4-9 and " regular friend " option, then terminal generates grouping selection instruction, this grouping selection instruction comprises the mark of this " good friend ", according to this grouping selection instruction, the good friend of interpolation is divided to " good friend " grouping.
In sum, good friend's group technology that disclosure embodiment provides, due to application server can accept request according to good friend in the environment descriptor of terminal of carrying inquire about, good friend was added in the targeted environment that the environment descriptor of terminal describes, and the good friend added is to when should have a packet marking, grouping recommendation information is sent to terminal, this grouping recommendation information comprises packet marking corresponding to the good friend that added, such as, by environment descriptor can determine environment residing for terminal be user place company (as good friend accept request in the GPS address of carrying be less than default error range with the error of the GPS address of the user place company prestored or good friend accept request in the SSID of the SSID that carries and user place company identical etc.), according to user's corresponding being grouped into " colleague " when user place company adds good friend before, that can recommend is grouped into " colleague ", grouping recommends accuracy higher, and recommend flexibility high.Therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, and adds the form of grouping, improves the flexibility of grouping.
Fig. 5-1 is the block diagram of a kind of good friend's apparatus for grouping according to an exemplary embodiment, comprising:
Receiver module 501, the good friend being configured to receiving terminal transmission accepts request, it is that terminal adds instruction generation based on good friend that good friend accepts request, good friend adds instruction and is used to indicate terminal and carries out good friend's interpolation, good friend accepts request and comprises the environment descriptor of terminal, and the environment descriptor of terminal is for describing environment when terminal transmission good friend accepts request;
First enquiry module 502, is configured to accept request according to good friend, inquires about in the targeted environment described in the environment descriptor of terminal whether added good friend;
Second enquiry module 503, is configured to when adding good friend in targeted environment, and whether the good friend that inquiry was added is to having packet marking;
Sending module 504, is configured to, when the good friend added is to when should have a packet marking, send grouping recommendation information to terminal, and grouping recommendation information comprises packet marking corresponding to the good friend that added.
In sum, the friend recommendation device that disclosure embodiment provides, due to the first enquiry module and the second enquiry module can accept request according to good friend in the environment descriptor of terminal of carrying inquire about, good friend was added in the targeted environment that the environment descriptor of terminal describes, and the good friend added is to when should have a packet marking, sending module sends grouping recommendation information to terminal, this grouping recommendation information comprises packet marking corresponding to the good friend that added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Wherein, sending module 504, is configured to:
Add up the number of packet marking corresponding to the good friend that added;
When the number of packet marking corresponding to the good friend added equals 1, generate grouping recommendation information, grouping recommendation information comprises packet marking corresponding to the good friend that added;
When the number of packet marking corresponding to the good friend added is greater than 1, generate grouping recommendation information, it is any one or more that grouping recommendation information comprises in packet marking corresponding to the good friend that added;
Grouping recommendation information is sent to terminal.
Optionally, good friend accepts request and comprises terminal iidentification, and Fig. 5-2 is block diagrams of a kind of first enquiry module 502 according to an exemplary embodiment, comprising:
Obtain submodule 5021, be configured to accept request according to good friend, in the environment descriptor prestored, obtain the environment descriptor that terminal iidentification is corresponding, the environment descriptor prestored is carried during the good friend of each terminal transmission received in advance accepts request;
Judge submodule 5022, be configured to the environment descriptor whether recording terminal in the environment descriptor judging that terminal iidentification is corresponding;
First determines submodule 5023, when being configured to the environment descriptor recording terminal in the environment descriptor that terminal iidentification is corresponding, determines to add good friend in targeted environment;
Second determines submodule 5024, when being configured to the environment descriptor not recording terminal in the environment descriptor that terminal iidentification is corresponding, determines not add good friend in targeted environment.
Optionally, environment descriptor comprises: at least one residing for the network information that terminal connects and terminal in geographical location information.
Optionally, the network information that terminal connects comprises:
At least one in the mark of network that terminal connects, the MAC address of the access point of network.
Optionally, geographical location information residing for terminal is at least one in the ambient image that obtains of the global position system GPS address of terminal and terminal.
Optionally, environment descriptor comprises: geographical location information residing for terminal, and residing for terminal, geographical location information comprises: the ambient image that terminal obtains, and judges submodule 5022, is configured to:
Judge whether to exist in the ambient image that terminal iidentification is corresponding the image that the ambient image obtained with terminal is greater than default similarity;
When the ambient image existed in the ambient image that terminal iidentification is corresponding and terminal obtains is greater than the image of default similarity, determine the environment descriptor recording terminal in the environment descriptor that terminal iidentification is corresponding;
When the image that there is not the ambient image obtained with terminal in the ambient image that terminal iidentification is corresponding and be greater than default similarity, determine the environment descriptor not recording terminal in the environment descriptor that terminal iidentification is corresponding.
Optionally, environment descriptor comprises: geographical location information residing for terminal, and residing for terminal, geographical location information comprises: the GPS address of terminal; Judge submodule 5022, be configured to:
Judge whether exist in the GPS address that terminal iidentification is corresponding and the GPS address of the error of the GPS address of terminal in default error range;
When there is the GPS address with the error of the GPS address of terminal in default error range in the GPS address that terminal iidentification is corresponding, determine the environment descriptor recording terminal in the environment descriptor that terminal iidentification is corresponding;
When there is not the GPS address with the error of the GPS address of terminal in default error range in the GPS address that terminal iidentification is corresponding, determine the environment descriptor not recording terminal in the environment descriptor that terminal iidentification is corresponding.
Optionally, environment descriptor comprises: the network information that terminal connects, the network information that terminal connects: the mark of the network that terminal connects; Judge submodule 5022, be configured to:
Judge whether there is the mark identical with the mark of the network that terminal connects in the mark of the network that terminal iidentification is corresponding;
When there is the mark identical with the mark of the network that terminal connects in the mark of network corresponding to terminal iidentification, determine the environment descriptor recording terminal in the environment descriptor that terminal iidentification is corresponding;
When there is not the mark identical with the mark of the network that terminal connects in the mark of network corresponding to terminal iidentification, determine the environment descriptor not recording terminal in the environment descriptor that terminal iidentification is corresponding.
In sum, the friend recommendation device that disclosure embodiment provides, due to the first enquiry module and the second enquiry module can accept request according to good friend in the environment descriptor of terminal of carrying inquire about, good friend was added in the targeted environment that the environment descriptor of terminal describes, and the good friend added is to when should have a packet marking, sending module sends grouping recommendation information to terminal, this grouping recommendation information comprises packet marking corresponding to the good friend that added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Fig. 6 is the block diagram of the another kind of good friend's apparatus for grouping according to an exemplary embodiment, comprising:
Acquisition module 601, being configured to add instruction according to being used to indicate the good friend that terminal carries out good friend's interpolation, obtaining the environment descriptor of terminal, and the environment descriptor of terminal sends environment when good friend accepts request for describing terminal;
Generation module 602, be configured to generate good friend and accept request, good friend accepts request and comprises the environment descriptor of terminal;
Sending module 603, is configured to send good friend to application server and accepts request;
Receiver module 604, be configured to the grouping recommendation information receiving application server transmission, grouping recommendation information comprises packet marking, and packet marking is application server when adding good friend in the targeted environment that the environment descriptor of terminal describes, the packet marking that the good friend added is corresponding.
In sum, good friend's group technology that disclosure embodiment provides, because acquisition module can add according to good friend the environment descriptor that instruction obtains terminal, and to be accepted request by good friend by sending module and send to application server, the grouping recommendation information sent to terminal according to the environment descriptor of this terminal by receiver module reception application server, this grouping recommendation information comprises packet marking corresponding to the good friend that added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Optionally, environment descriptor comprises: at least one residing for the network information that terminal connects and terminal in geographical location information.
Optionally, terminal connect the mark of network, the access point of network MAC address at least one.
Optionally, geographical location information residing for terminal is at least one in the ambient image that obtains of the global position system GPS address of terminal and terminal.
Optionally, environment descriptor comprises: geographical location information residing for terminal, and residing for terminal, geographical location information comprises: the ambient image that terminal obtains, and acquisition module, is configured to:
Add instruction according to good friend, open the camera of terminal;
By image scanning function or the camera function collection ambient image of camera.
In sum, good friend's group technology that disclosure embodiment provides, because acquisition module can add according to good friend the environment descriptor that instruction obtains terminal, and to be accepted request by good friend by sending module and send to application server, the grouping recommendation information sent to terminal according to the environment descriptor of this terminal by receiver module reception application server, this grouping recommendation information comprises packet marking corresponding to the good friend that added, therefore, good friend's group technology of disclosure embodiment can be carried out grouping according to the environment descriptor of terminal and be recommended, add the form of grouping, improve the flexibility of grouping.
Disclosure embodiment provides a kind of good friend's grouping system, it is characterized in that, comprising: application server and terminal, and application server comprises: shown in Fig. 5-1 good friend's apparatus for grouping; Terminal comprises: the good friend's apparatus for grouping shown in Fig. 6.
Fig. 7 is the block diagram of a kind of good friend's apparatus for grouping 700 according to an exemplary embodiment.Such as, device 700 may be provided in a server.With reference to Fig. 7, device 700 comprises processing components 722, and it comprises one or more processor further, and the memory resource representated by memory 732, such as, for storing the instruction that can be performed by processing unit 722, application program.The application program stored in memory 732 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 722 is configured to perform instruction, to perform above-mentioned good friend's group technology.
Device 700 can also comprise the power management that a power supply module 726 is configured to final controlling element 700, and a wired or wireless network interface 750 is configured to device 700 to be connected to network, and input and output (I/O) interface 758.Device 700 can operate the operating system based on being stored in memory 732, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Disclosure embodiment provides a kind of good friend's apparatus for grouping, comprising:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, processor is configured to: the good friend that receiving terminal sends accepts request, it is that terminal adds instruction generation based on good friend that good friend accepts request, good friend adds instruction and is used to indicate terminal and carries out good friend's interpolation, good friend accepts request and comprises the environment descriptor of terminal, and the environment descriptor of terminal is for describing environment when terminal transmission good friend accepts request; Accept request according to good friend, inquire about in the targeted environment described in the environment descriptor of terminal whether added good friend; When adding good friend in targeted environment, whether the good friend that inquiry was added was to having packet marking; When the good friend added is to when should have a packet marking, send grouping recommendation information to terminal, grouping recommendation information comprises packet marking corresponding to the good friend that added.
Fig. 8 is the block diagram of a kind of good friend's apparatus for grouping 800 according to an exemplary embodiment.Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 8, device 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducer, for providing the state estimation of various aspects for device 800.Such as, sensor cluster 814 can detect the opening/closing state of device 800, the relative positioning of assembly, such as assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of device 800, make device 800 can perform a kind of good friend's group technology, method comprises:
Good friend according to being used to indicate terminal and carrying out good friend's interpolation adds instruction, obtains the environment descriptor of terminal, and the environment descriptor of terminal sends environment when good friend accepts request for describing terminal; Generate good friend to accept request, good friend accepts request and comprises the environment descriptor of terminal; Send good friend to application server to accept request; Receive the grouping recommendation information that application server sends, packet marking is application server when adding good friend in the targeted environment that the environment descriptor of terminal describes, the packet marking that the good friend added is corresponding.
The disclosure provides a kind of good friend's apparatus for grouping, comprising:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, processor is configured to: the good friend according to being used to indicate terminal and carrying out good friend's interpolation adds instruction, obtains the environment descriptor of terminal, and the environment descriptor of terminal sends environment when good friend accepts request for describing terminal; Generate good friend to accept request, good friend accepts request and comprises the environment descriptor of terminal; Send good friend to application server to accept request; Receive the grouping recommendation information that application server sends, packet marking is application server when adding good friend in the targeted environment that the environment descriptor of terminal describes, the packet marking that the good friend added is corresponding.
The disclosure provides a kind of good friend's grouping system, comprising: application server and terminal, and application server comprises: the good friend's apparatus for grouping shown in Fig. 7; Terminal comprises: the good friend's apparatus for grouping shown in Fig. 8.
Those skilled in the art, at consideration specification and after putting into practice the disclosure, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (32)

1. good friend's group technology, is characterized in that, comprising:
The good friend that receiving terminal sends accepts request, it is that described terminal adds instruction generation based on good friend that described good friend accepts request, described good friend adds instruction and is used to indicate described terminal and carries out good friend's interpolation, described good friend accepts request and comprises the environment descriptor of described terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Accept request according to described good friend, inquire about in the targeted environment described in the environment descriptor of described terminal whether added good friend;
When adding good friend in described targeted environment, whether the good friend that inquiry was added was to having packet marking;
When the good friend added is to when should have a packet marking, send grouping recommendation information to described terminal, described grouping recommendation information comprises packet marking corresponding to the described good friend added.
2. method according to claim 1, is characterized in that, the described good friend when adding, to when should have a packet marking, sends grouping recommendation information to described terminal, comprising:
Add up the number of packet marking corresponding to the good friend that added;
When the number of packet marking corresponding to the described good friend added equals 1, generate described grouping recommendation information, described grouping recommendation information comprises packet marking corresponding to the described good friend added;
When the number of packet marking corresponding to the described good friend added is greater than 1, generate described grouping recommendation information, it is any one or more that described grouping recommendation information comprises in packet marking corresponding to the described good friend added;
Described grouping recommendation information is sent to described terminal.
3. method according to claim 1, is characterized in that, described good friend accepts request and comprises terminal iidentification, describedly accepts request according to described good friend, inquires about in the targeted environment described in the environment descriptor of described terminal whether added good friend, comprising:
Accept request according to described good friend, in the environment descriptor prestored, obtain the environment descriptor that described terminal iidentification is corresponding, described in the environment descriptor that prestores be carry during good friend that each terminal received in advance sends accepts request;
Judge the environment descriptor whether recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When recording the environment descriptor of described terminal in the environment descriptor that described terminal iidentification is corresponding, determine to add good friend in described targeted environment;
When not recording the environment descriptor of described terminal in the environment descriptor that described terminal iidentification is corresponding, determine not add good friend in described targeted environment.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that,
Described environment descriptor comprises: at least one in geographical location information residing for the network information that described terminal connects and described terminal.
5. method according to claim 4, is characterized in that, the network information that described terminal connects comprises:
At least one in the mark of network that described terminal connects, the MAC address of the access point of described network.
6. method according to claim 4, is characterized in that, geographical location information residing for described terminal is at least one in the ambient image that obtains of the global position system GPS address of described terminal and described terminal.
7. method according to claim 3, is characterized in that, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the ambient image that described terminal obtains,
Describedly judge the environment descriptor whether recording described terminal in the environment descriptor that described terminal iidentification is corresponding, comprising:
Judge whether to exist in the ambient image that described terminal iidentification is corresponding the image that the ambient image obtained with described terminal is greater than default similarity;
When the ambient image existed in the ambient image that described terminal iidentification is corresponding and described terminal obtains is greater than the image of default similarity, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When the image that there is not the ambient image obtained with described terminal in the ambient image that described terminal iidentification is corresponding and be greater than default similarity, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
8. method according to claim 3, is characterized in that, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the GPS address of described terminal;
Describedly judge the environment descriptor whether recording described terminal in the environment descriptor that described terminal iidentification is corresponding, comprising:
Judge whether exist in the GPS address that described terminal iidentification is corresponding and the GPS address of the error of the GPS address of described terminal in default error range;
When there is the GPS address with the error of the GPS address of described terminal in default error range in the GPS address that described terminal iidentification is corresponding, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When there is not the GPS address with the error of the GPS address of described terminal in default error range in the GPS address that described terminal iidentification is corresponding, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
9. method according to claim 3, is characterized in that, described environment descriptor comprises: the network information that described terminal connects, the network information that described terminal connects: the mark of the network that described terminal connects;
Describedly judge the environment descriptor whether recording described terminal in the environment descriptor that described terminal iidentification is corresponding, comprising:
Judge whether there is the mark identical with the mark of the network that described terminal connects in the mark of the network that described terminal iidentification is corresponding;
When there is the mark identical with the mark of the network that described terminal connects in the mark of network corresponding to described terminal iidentification, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When there is not the mark identical with the mark of the network that described terminal connects in the mark of network corresponding to described terminal iidentification, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
10. good friend's group technology, is characterized in that, comprising:
Good friend according to being used to indicate terminal and carrying out good friend's interpolation adds instruction, obtains the environment descriptor of terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Generate good friend to accept request, described good friend accepts request and comprises the environment descriptor of described terminal;
Send described good friend to application server to accept request;
Receive the grouping recommendation information that described application server sends, described grouping recommendation information comprises packet marking, described packet marking is described application server when adding good friend in the targeted environment that the environment descriptor of described terminal describes, the packet marking that the good friend added is corresponding.
11. methods according to claim 10, is characterized in that, described environment descriptor comprises: at least one in geographical location information residing for the network information that described terminal connects and described terminal.
12. methods according to claim 11, is characterized in that, the network information that described terminal connects comprises:
At least one in the mark of network that described terminal connects, the MAC address of the access point of described network.
13. methods according to claim 11, is characterized in that, geographical location information residing for described terminal is at least one in the ambient image that obtains of the global position system GPS address of described terminal and described terminal.
14. methods according to claim 13, is characterized in that, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the ambient image that described terminal obtains,
Described basis is used to indicate the good friend that terminal carries out good friend's interpolation and adds instruction, obtains the environment descriptor of terminal, comprising:
Add instruction according to described good friend, open the camera of described terminal;
Described ambient image is gathered by the image scanning function of described camera or camera function.
15. 1 kinds of good friend's apparatus for grouping, is characterized in that, comprising:
Receiver module, the good friend being configured to receiving terminal transmission accepts request, it is that described terminal adds instruction generation based on good friend that described good friend accepts request, described good friend adds instruction and is used to indicate described terminal and carries out good friend's interpolation, described good friend accepts request and comprises the environment descriptor of described terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
First enquiry module, is configured to accept request according to described good friend, inquires about in the targeted environment described in the environment descriptor of described terminal whether added good friend;
Second enquiry module, is configured to when adding good friend in described targeted environment, and whether the good friend that inquiry was added is to having packet marking;
Sending module, be configured to when the good friend added is to when should have a packet marking, send grouping recommendation information to described terminal, described grouping recommendation information comprises packet marking corresponding to the described good friend added.
16. devices according to claim 15, is characterized in that, described sending module, is configured to:
Add up the number of packet marking corresponding to the good friend that added;
When the number of packet marking corresponding to the described good friend added equals 1, generate described grouping recommendation information, described grouping recommendation information comprises packet marking corresponding to the described good friend added;
When the number of packet marking corresponding to the described good friend added is greater than 1, generate described grouping recommendation information, it is any one or more that described grouping recommendation information comprises in packet marking corresponding to the described good friend added;
Described grouping recommendation information is sent to described terminal.
17. devices according to claim 15, is characterized in that, described good friend accepts request and comprises terminal iidentification, and described first enquiry module, comprising:
Obtain submodule, be configured to accept request according to described good friend, in the environment descriptor prestored, obtain the environment descriptor that described terminal iidentification is corresponding, described in the environment descriptor that prestores be carry during good friend that each terminal received in advance sends accepts request;
Judge submodule, be configured to the environment descriptor whether recording described terminal in the environment descriptor judging that described terminal iidentification is corresponding;
First determines submodule, when being configured to the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding, determines to add good friend in described targeted environment;
Second determines submodule, when being configured to the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding, determines not add good friend in described targeted environment.
18., according to claim 15 to 17 arbitrary described devices, is characterized in that,
Described environment descriptor comprises: at least one in geographical location information residing for the network information that described terminal connects and described terminal.
19. devices according to claim 18, is characterized in that, the network information that described terminal connects comprises:
At least one in the mark of network that described terminal connects, the MAC address of the access point of described network.
20. devices according to claim 18, is characterized in that, geographical location information residing for described terminal is at least one in the ambient image that obtains of the global position system GPS address of described terminal and described terminal.
21. devices according to claim 17, it is characterized in that, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the ambient image that described terminal obtains, described judgement submodule, is configured to:
Judge whether to exist in the ambient image that described terminal iidentification is corresponding the image that the ambient image obtained with described terminal is greater than default similarity;
When the ambient image existed in the ambient image that described terminal iidentification is corresponding and described terminal obtains is greater than the image of default similarity, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When the image that there is not the ambient image obtained with described terminal in the ambient image that described terminal iidentification is corresponding and be greater than default similarity, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
22. devices according to claim 17, is characterized in that, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the GPS address of described terminal; Described judgement submodule, is configured to:
Judge whether exist in the GPS address that described terminal iidentification is corresponding and the GPS address of the error of the GPS address of described terminal in default error range;
When there is the GPS address with the error of the GPS address of described terminal in default error range in the GPS address that described terminal iidentification is corresponding, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When there is not the GPS address with the error of the GPS address of described terminal in default error range in the GPS address that described terminal iidentification is corresponding, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
23. devices according to claim 17, is characterized in that, described environment descriptor comprises: the network information that described terminal connects, the network information that described terminal connects: the mark of the network that described terminal connects; Described judgement submodule, is configured to:
Judge whether there is the mark identical with the mark of the network that described terminal connects in the mark of the network that described terminal iidentification is corresponding;
When there is the mark identical with the mark of the network that described terminal connects in the mark of network corresponding to described terminal iidentification, determine the environment descriptor recording described terminal in the environment descriptor that described terminal iidentification is corresponding;
When there is not the mark identical with the mark of the network that described terminal connects in the mark of network corresponding to described terminal iidentification, determine the environment descriptor not recording described terminal in the environment descriptor that described terminal iidentification is corresponding.
24. 1 kinds of good friend's apparatus for grouping, is characterized in that, comprising:
Acquisition module, being configured to add instruction according to being used to indicate the good friend that terminal carries out good friend's interpolation, obtaining the environment descriptor of terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Generation module, be configured to generate good friend and accept request, described good friend accepts request and comprises the environment descriptor of described terminal;
Sending module, is configured to send described good friend to application server and accepts request;
Receiver module, be configured to the grouping recommendation information receiving the transmission of described application server, described grouping recommendation information comprises packet marking, described packet marking is described application server when adding good friend in the targeted environment that the environment descriptor of described terminal describes, the packet marking that the good friend added is corresponding.
25. devices according to claim 24, is characterized in that, described environment descriptor comprises: at least one in geographical location information residing for the network information that described terminal connects and described terminal.
26. devices according to claim 25, is characterized in that, the network information that described terminal connects comprises:
At least one in the mark of network that described terminal connects, the MAC address of the access point of described network.
27. devices according to claim 25, is characterized in that, geographical location information residing for described terminal is at least one in the ambient image that obtains of the global position system GPS address of described terminal and described terminal.
28. devices according to claim 27, it is characterized in that, described environment descriptor comprises: geographical location information residing for described terminal, and residing for described terminal, geographical location information comprises: the ambient image that described terminal obtains, described acquisition module, is configured to:
Add instruction according to described good friend, open the camera of described terminal;
Described ambient image is gathered by the image scanning function of described camera or camera function.
29. 1 kinds of good friend's grouping systems, is characterized in that, comprising: application server and terminal,
Described application server comprises: the arbitrary described good friend's apparatus for grouping of claim 15 to 23;
Described terminal comprises: the arbitrary described good friend's apparatus for grouping of claim 24 to 28.
30. 1 kinds of good friend's apparatus for grouping, is characterized in that, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
The good friend that receiving terminal sends accepts request, it is that described terminal adds instruction generation based on good friend that described good friend accepts request, described good friend adds instruction and is used to indicate described terminal and carries out good friend's interpolation, described good friend accepts request and comprises the environment descriptor of described terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Accept request according to described good friend, inquire about in the targeted environment described in the environment descriptor of described terminal whether added good friend;
When adding good friend in described targeted environment, whether the good friend that inquiry was added was to having packet marking;
When the good friend added is to when should have a packet marking, send grouping recommendation information to described terminal, described grouping recommendation information comprises packet marking corresponding to the described good friend added.
31. 1 kinds of good friend's apparatus for grouping, is characterized in that, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Good friend according to being used to indicate terminal and carrying out good friend's interpolation adds instruction, obtains the environment descriptor of terminal, and the environment descriptor of described terminal sends environment when described good friend accepts request for describing described terminal;
Generate good friend to accept request, described good friend accepts request and comprises the environment descriptor of described terminal;
Send described good friend to application server to accept request;
Receive the grouping recommendation information that described application server sends, described grouping recommendation information comprises packet marking, described packet marking is described application server when adding good friend in the targeted environment that the environment descriptor of described terminal describes, the packet marking that the good friend added is corresponding.
32. 1 kinds of good friend's grouping systems, is characterized in that, comprising: application server and terminal,
Described application server comprises: good friend's apparatus for grouping according to claim 30;
Described terminal comprises: good friend's apparatus for grouping according to claim 31.
CN201510971698.6A 2015-12-22 2015-12-22 Good friend's group technology, apparatus and system Active CN105577521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510971698.6A CN105577521B (en) 2015-12-22 2015-12-22 Good friend's group technology, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510971698.6A CN105577521B (en) 2015-12-22 2015-12-22 Good friend's group technology, apparatus and system

Publications (2)

Publication Number Publication Date
CN105577521A true CN105577521A (en) 2016-05-11
CN105577521B CN105577521B (en) 2019-02-12

Family

ID=55887210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510971698.6A Active CN105577521B (en) 2015-12-22 2015-12-22 Good friend's group technology, apparatus and system

Country Status (1)

Country Link
CN (1) CN105577521B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354532A (en) * 2016-08-26 2017-01-25 北京小米移动软件有限公司 Processing method and device for application account information
CN107634897A (en) * 2016-09-12 2018-01-26 腾讯科技(深圳)有限公司 Group recommends method and apparatus
CN112089596A (en) * 2020-05-22 2020-12-18 未来穿戴技术有限公司 Friend adding method of neck massager, neck massager and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127735A (en) * 2007-09-24 2008-02-20 腾讯科技(深圳)有限公司 A method, system and device for grouping mobile instant communication contacts
CN101465917A (en) * 2009-01-09 2009-06-24 深圳华为通信技术有限公司 Method for grouping communication terminal information and communication terminal
CN103346952A (en) * 2013-05-28 2013-10-09 北京小米科技有限责任公司 Method and apparatus for joining group
CN104468329A (en) * 2014-12-02 2015-03-25 小米科技有限责任公司 Member adding method and device based on instant messaging
CN104580431A (en) * 2014-12-27 2015-04-29 北京奇虎科技有限公司 Communication group configuration method and device
CN104932455A (en) * 2015-04-27 2015-09-23 小米科技有限责任公司 Intelligent device grouping method and device of intelligent household system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127735A (en) * 2007-09-24 2008-02-20 腾讯科技(深圳)有限公司 A method, system and device for grouping mobile instant communication contacts
CN101465917A (en) * 2009-01-09 2009-06-24 深圳华为通信技术有限公司 Method for grouping communication terminal information and communication terminal
CN103346952A (en) * 2013-05-28 2013-10-09 北京小米科技有限责任公司 Method and apparatus for joining group
CN104468329A (en) * 2014-12-02 2015-03-25 小米科技有限责任公司 Member adding method and device based on instant messaging
CN104580431A (en) * 2014-12-27 2015-04-29 北京奇虎科技有限公司 Communication group configuration method and device
CN104932455A (en) * 2015-04-27 2015-09-23 小米科技有限责任公司 Intelligent device grouping method and device of intelligent household system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354532A (en) * 2016-08-26 2017-01-25 北京小米移动软件有限公司 Processing method and device for application account information
CN106354532B (en) * 2016-08-26 2020-03-17 北京小米移动软件有限公司 Application account information processing method and device
CN107634897A (en) * 2016-09-12 2018-01-26 腾讯科技(深圳)有限公司 Group recommends method and apparatus
CN107634897B (en) * 2016-09-12 2020-09-25 腾讯科技(深圳)有限公司 Group recommendation method and device
CN112089596A (en) * 2020-05-22 2020-12-18 未来穿戴技术有限公司 Friend adding method of neck massager, neck massager and readable storage medium

Also Published As

Publication number Publication date
CN105577521B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
US9264104B2 (en) Sharing of information common to two mobile device users over a near-field communication (NFC) link
EP3029889B1 (en) Method for instant messaging and device thereof
CN104105064B (en) The method and device of location equipment
CN104460365A (en) Equipment control method and device
CN104735057A (en) Sharing device control right method and device
CN105242556A (en) A speech control method and device of intelligent devices, a control device and the intelligent device
CN106254467A (en) Sharing files method and device
CN106231378A (en) The display packing of direct broadcasting room, Apparatus and system
CN104468329A (en) Member adding method and device based on instant messaging
CN106211159A (en) Personal identification method based on bluetooth and device
CN105468767A (en) Method and device for acquiring calling card information
CN105610700A (en) Group creating method and apparatus and electronic device
CN105847111A (en) Method and device for adding friend
CN105515831A (en) Network state information display method and device
CN105100355A (en) Method and device for identifying calling user
CN105872573A (en) Video playing method and apparatus
CN105101085A (en) Establishing method of trip log and apparatus thereof
CN104837178A (en) Network accessing method and device
CN104158854B (en) Resource share method and device
CN104166814A (en) Method and device for prompting WIFI network password and equipment
CN105407160A (en) Interface display method and device
CN105763601A (en) File sharing method and device
CN104639609A (en) Method and device for sharing network
CN104811904A (en) Contact setting method and device
CN105550343A (en) Two-dimension code processing method and device

Legal Events

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