CN105577521B - Good friend's group technology, apparatus and system - Google Patents

Good friend's group technology, apparatus and system Download PDF

Info

Publication number
CN105577521B
CN105577521B CN201510971698.6A CN201510971698A CN105577521B CN 105577521 B CN105577521 B CN 105577521B CN 201510971698 A CN201510971698 A CN 201510971698A CN 105577521 B CN105577521 B CN 105577521B
Authority
CN
China
Prior art keywords
terminal
good friend
description information
environment
environment description
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510971698.6A
Other languages
Chinese (zh)
Other versions
CN105577521A (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.)
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

Abstract

The disclosure is directed to a kind of good friend's group technologies, apparatus and system, belong to application of electronic technology field.It include: to receive the good friend that terminal is sent to receive request, it is that terminal is generated based on good friend's addition instruction that good friend, which receives request, good friend receives the environment description information that request includes terminal, and the environment description information of terminal is used to describe environment when terminal transmission good friend receives request;Receive request according to good friend, inquires and whether added good friend in the target environment of the environment description information description of terminal;When adding good friend in target environment, inquire whether the good friend added is corresponding with packet marking;When the good friend added is corresponding with packet marking, grouping recommendation information is sent to terminal, grouping recommendation information includes the corresponding packet marking of good friend added.The disclosure solves that good friend's block form is single, and the low problem of grouping flexibility, the disclosure realizes the form for increasing grouping, improves the beneficial effect of the flexibility of grouping.The disclosure is grouped for good friend.

Description

Good friend's group technology, apparatus and system
Technical field
This disclosure relates to application of electronic technology field, in particular to a kind of good friend's group technology, apparatus and system.
Background technique
As mobile Internet develops, the development of social application is also getting faster.The starting ring that social application uses Section is the foundation of social networks, that is, addition good friend carries out the processing of good friend's grouping to it later.
In the related technology, social application server can according between newly added good friend and user common friend and The user is to the label of the common friend as a result, recommending user one grouping.Such as between newly added good friend and user Common friend, all by the user's mark at being " middle school classmate ", then social application server will be by the newly added good friend Grouping recommend at " middle school classmate " be grouped.
Summary of the invention
Single in order to solve good friend's block form in the related technology, the low problem of grouping flexibility, the embodiment of the present disclosure mentions A kind of good friend's group technology, apparatus and system are supplied.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of good friend's group technology is provided, comprising:
The good friend that reception terminal is sent receives request, and it is that the terminal is based on good friend's addition instruction that the good friend, which receives request, It generates, the good friend adds instruction and is used to indicate terminal progress good friend's addition, and it includes described that the good friend, which receives request, The environment description information of terminal, the environment description information of the terminal receive request for describing the terminal transmission good friend When environment;
Receive request according to the good friend, inquire in the target environment that the environment description information in the terminal describes whether Added good friend;
When adding good friend in the target environment, inquire whether the good friend added is corresponding with packet marking;
When the good friend added is corresponding with packet marking, grouping recommendation information is sent to the terminal, the grouping pushes away Recommending information includes the corresponding packet marking of the good friend added.
Optionally, described when the good friend added is corresponding with packet marking, grouping recommendation information is sent to the terminal, Include:
Count the number of the corresponding packet marking of good friend added;
When the corresponding packet marking of the good friend added number be equal to 1, generate the grouping recommendation information, it is described Being grouped recommendation information includes the corresponding packet marking of the good friend added;
When the corresponding packet marking of the good friend added number be greater than 1, generate the grouping recommendation information, it is described It includes any one or more in the corresponding packet marking of the good friend added for being grouped recommendation information;
The grouping recommendation information is sent to the terminal.
Optionally, it includes terminal iidentification that the good friend, which receives request, described to receive request according to the good friend, is inquired in institute It states in the target environment of the environment description information description of terminal and whether added good friend, comprising:
Receive request according to the good friend, it is corresponding to obtain the terminal iidentification in pre-stored environment description information Environment description information, the pre-stored environment description information are that the good friend that each terminal received in advance is sent receives request Middle carrying;
Judge the environment description information that the terminal whether is recorded in the corresponding environment description information of the terminal iidentification;
When record has the environment description information of the terminal in the corresponding environment description information of the terminal iidentification, determine Good friend was added in the target environment;
When not recording the environment description information of the terminal in the corresponding environment description information of the terminal iidentification, really It is scheduled in the target environment and was not added with good friend.
Optionally, the environment description information includes: geography locating for the network information and the terminal of the terminal connection At least one of location information.
Optionally, the network information of the terminal connection includes:
In the mark of the network of the terminal connection, the MAC address of the access point of the network extremely Few one kind.
Optionally, geographical location information locating for the terminal is the global position system GPS address of the terminal and described At least one of the ambient image that terminal obtains.
Optionally, the environment description information includes: geographical location information locating for the terminal, geography locating for the terminal Location information includes: the ambient image that the terminal obtains,
The environment description for judging whether to record the terminal in the corresponding environment description information of the terminal iidentification Information, comprising:
Judge to be greater than in the corresponding ambient image of the terminal iidentification with the presence or absence of the ambient image obtained with the terminal The image of default similarity;
It is greater than default phase when there is the ambient image obtained with the terminal in the corresponding ambient image of the terminal iidentification Like the image of degree, the environment description information for recording in the corresponding environment description information of the terminal iidentification and having the terminal is determined;
It is preset when being greater than in the corresponding ambient image of the terminal iidentification there is no the ambient image obtained with the terminal The image of similarity determines the environment description letter for not recording the terminal in the corresponding environment description information of the terminal iidentification Breath.
Optionally, the environment description information includes: geographical location information locating for the terminal, geography locating for the terminal Location information includes: the address GPS of the terminal;
The environment description for judging whether to record the terminal in the corresponding environment description information of the terminal iidentification Information, comprising:
Judge in the corresponding address GPS of the terminal iidentification with the presence or absence of the error with the address GPS of the terminal pre- If the address GPS in error range;
When existing with the error of the address GPS of the terminal in the corresponding address GPS of the terminal iidentification in default error When the address GPS in range, determine that record has the environment of the terminal to retouch in the corresponding environment description information of the terminal iidentification State information;
It is missed when there is no the errors with the address GPS of the terminal in the corresponding address GPS of the terminal iidentification default When the address GPS in poor range, the ring for not recording the terminal in the corresponding environment description information of the terminal iidentification is determined Border description information.
Optionally, the environment description information includes: the network information of the terminal connection, the network of the terminal connection Information: the mark of the network of the terminal connection;
The environment description for judging whether to record the terminal in the corresponding environment description information of the terminal iidentification Information, comprising:
Judge in the mark of the corresponding network of the terminal iidentification with the presence or absence of the mark for the network being connect with the terminal Identical mark;
When the mark that there is the network connecting with the terminal in the mark of the corresponding network of the terminal iidentification is identical When mark, the environment description information for recording in the corresponding environment description information of the terminal iidentification and having the terminal is determined;
When there is no identical as the mark of network that the terminal connects in the mark of the corresponding network of the terminal iidentification Mark when, determine the environment description information for not recording the terminal in the corresponding environment description information of the terminal iidentification.
According to the second aspect of an embodiment of the present disclosure, a kind of good friend's group technology is provided, comprising:
Instruction is added according to the good friend for being used to indicate terminal progress good friend's addition, obtains the environment description information of terminal, institute The environment description information for stating terminal is used to describe the environment when terminal sends good friend's receiving request;
It generates good friend and receives request, the good friend receives the environment description information that request includes the terminal;
The good friend, which is sent, to application server receives request;
The grouping recommendation information that the application server is sent is received, the grouping recommendation information includes packet marking, institute Stating packet marking is that the application server added good friend in the target environment that the environment description information of the terminal describes When, the corresponding packet marking of the good friend added.
Optionally, the environment description information includes: geography locating for the network information and the terminal of the terminal connection At least one of location information.
Optionally, the network information of the terminal connection includes:
In the mark of the network of the terminal connection, the MAC address of the access point of the network extremely Few one kind.
Optionally, geographical location information locating for the terminal is the global position system GPS address of the terminal and described At least one of the ambient image that terminal obtains.
Optionally, the environment description information includes: geographical location information locating for the terminal, geography locating for the terminal Location information includes: the ambient image that the terminal obtains,
The basis is used to indicate good friend's addition instruction that terminal carries out good friend's addition, obtains the environment description letter of terminal Breath, comprising:
It is added and is instructed according to the good friend, open the camera of the terminal;
The ambient image is acquired by the image scanning function or camera function of the camera.
According to the third aspect of an embodiment of the present disclosure, a kind of good friend's apparatus for grouping is provided, comprising:
Receiving module, the good friend for being configured as receiving terminal transmission receive request, and it is the end that the good friend, which receives request, End group adds what instruction generated in good friend, and good friend's addition instruction is used to indicate the terminal and carries out good friend's addition, described good Friend receives the environment description information that request includes the terminal, and the environment description information of the terminal is for describing the terminal hair The environment when good friend being sent to receive request;
First enquiry module is configured as receiving request according to the good friend, and the environment inquired in the terminal describes letter It ceases in the target environment of description and whether added good friend;
Second enquiry module is configured as when adding good friend in the target environment, inquires the good friend added Whether packet marking is corresponding with;
Sending module is configured as when the good friend added is corresponding with packet marking, is sent grouping to the terminal and is pushed away Information is recommended, the grouping recommendation information includes the corresponding packet marking of the good friend added.
Optionally, the sending module, is configured as:
Count the number of the corresponding packet marking of good friend added;
When the corresponding packet marking of the good friend added number be equal to 1, generate the grouping recommendation information, it is described Being grouped recommendation information includes the corresponding packet marking of the good friend added;
When the corresponding packet marking of the good friend added number be greater than 1, generate the grouping recommendation information, it is described It includes any one or more in the corresponding packet marking of the good friend added for being grouped recommendation information;
The grouping recommendation information is sent to the terminal.
Optionally, it includes terminal iidentification, first enquiry module that the good friend, which receives request, comprising:
Acquisition submodule is configured as receiving request according to the good friend, obtains in pre-stored environment description information The corresponding environment description information of the terminal iidentification is taken, the pre-stored environment description information is preparatory received each end It is carried in good friend's receiving request that end is sent;
Whether judging submodule is configured as judging to have recorded in the corresponding environment description information of the terminal iidentification described The environment description information of terminal;
First determines submodule, and being configured as the record in the corresponding environment description information of the terminal iidentification has the end When the environment description information at end, determination added good friend in the target environment;
Second determines submodule, is configured as not recorded in the corresponding environment description information of the terminal iidentification described When the environment description information of terminal, determination was not added with good friend in the target environment.
Optionally, the environment description information includes: geography locating for the network information and the terminal of the terminal connection At least one of location information.
Optionally, the network information of the terminal connection includes:
In the mark of the network of the terminal connection, the MAC address of the access point of the network extremely Few one kind.
Optionally, geographical location information locating for the terminal is the global position system GPS address of the terminal and described At least one of the ambient image that terminal obtains.
Optionally, the environment description information includes: geographical location information locating for the terminal, geography locating for the terminal Location information includes: the ambient image that the terminal obtains, and the judging submodule is configured as:
Judge to be greater than in the corresponding ambient image of the terminal iidentification with the presence or absence of the ambient image obtained with the terminal The image of default similarity;
It is greater than default phase when there is the ambient image obtained with the terminal in the corresponding ambient image of the terminal iidentification Like the image of degree, the environment description information for recording in the corresponding environment description information of the terminal iidentification and having the terminal is determined;
It is preset when being greater than in the corresponding ambient image of the terminal iidentification there is no the ambient image obtained with the terminal The image of similarity determines the environment description letter for not recording the terminal in the corresponding environment description information of the terminal iidentification Breath.
Optionally, the environment description information includes: geographical location information locating for the terminal, geography locating for the terminal Location information includes: the address GPS of the terminal;The judging submodule, is configured as:
Judge in the corresponding address GPS of the terminal iidentification with the presence or absence of the error with the address GPS of the terminal pre- If the address GPS in error range;
When existing with the error of the address GPS of the terminal in the corresponding address GPS of the terminal iidentification in default error When the address GPS in range, determine that record has the environment of the terminal to retouch in the corresponding environment description information of the terminal iidentification State information;
It is missed when there is no the errors with the address GPS of the terminal in the corresponding address GPS of the terminal iidentification default When the address GPS in poor range, the ring for not recording the terminal in the corresponding environment description information of the terminal iidentification is determined Border description information.
Optionally, the environment description information includes: the network information of the terminal connection, the network of the terminal connection Information: the mark of the network of the terminal connection;The judging submodule, is configured as:
Judge in the mark of the corresponding network of the terminal iidentification with the presence or absence of the mark for the network being connect with the terminal Identical mark;
When the mark that there is the network connecting with the terminal in the mark of the corresponding network of the terminal iidentification is identical When mark, the environment description information for recording in the corresponding environment description information of the terminal iidentification and having the terminal is determined;
When there is no identical as the mark of network that the terminal connects in the mark of the corresponding network of the terminal iidentification Mark when, determine the environment description information for not recording the terminal in the corresponding environment description information of the terminal iidentification.
According to a fourth aspect of embodiments of the present disclosure, a kind of good friend's apparatus for grouping is provided, comprising:
Module is obtained, is configured as adding instruction according to the good friend for being used to indicate terminal progress good friend's addition, obtains terminal Environment description information, the environment description information of the terminal is used to describe the terminal and sends when the good friend receives request Environment;
Generation module is configurable to generate good friend and receives request, and the good friend receives the environment that request includes the terminal Description information;
Sending module is configured as receiving request to the application server transmission good friend;
Receiving module is configured as receiving the grouping recommendation information that the application server is sent, the grouping recommendation Breath includes packet marking, and the packet marking is the target that the application server is described in the environment description information of the terminal When adding good friend in environment, the corresponding packet marking of the good friend added.
Optionally, the environment description information includes: geography locating for the network information and the terminal of the terminal connection At least one of location information.
Optionally, the network information of the terminal connection includes:
In the mark of the network of the terminal connection, the MAC address of the access point of the network extremely Few one kind.
Optionally, geographical location information locating for the terminal is the global position system GPS address of the terminal and described At least one of the ambient image that terminal obtains.
Optionally, the environment description information includes: geographical location information locating for the terminal, geography locating for the terminal Location information includes: the ambient image that the terminal obtains, and the acquisition module is configured as:
It is added and is instructed according to the good friend, open the camera of the terminal;
The ambient image is acquired by the image scanning function or camera function of the camera.
According to a fifth aspect of the embodiments of the present disclosure, a kind of good friend's grouping system is provided, comprising: application server and end End,
The application server includes: any good friend's apparatus for grouping of the third aspect;
The terminal includes: any good friend's apparatus for grouping of fourth aspect.
According to a sixth aspect of an embodiment of the present disclosure, a kind of good friend's apparatus for grouping is provided, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
The good friend that reception terminal is sent receives request, and it is that the terminal is based on good friend's addition instruction that the good friend, which receives request, It generates, the good friend adds instruction and is used to indicate terminal progress good friend's addition, and it includes described that the good friend, which receives request, The environment description information of terminal, the environment description information of the terminal receive request for describing the terminal transmission good friend When environment;
Receive request according to the good friend, inquire in the target environment that the environment description information in the terminal describes whether Added good friend;
When adding good friend in the target environment, inquire whether the good friend added is corresponding with packet marking;
When the good friend added is corresponding with packet marking, grouping recommendation information is sent to the terminal, the grouping pushes away Recommending information includes the corresponding packet marking of the good friend added.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of good friend's apparatus for grouping is provided, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
Instruction is added according to the good friend for being used to indicate terminal progress good friend's addition, obtains the environment description information of terminal, institute The environment description information for stating terminal is used to describe the environment when terminal sends good friend's receiving request;
It generates good friend and receives request, the good friend receives the environment description information that request includes the terminal;
The good friend, which is sent, to application server receives request;
The grouping recommendation information that the application server is sent is received, the grouping recommendation information includes packet marking, institute Stating packet marking is that the application server added good friend in the target environment that the environment description information of the terminal describes When, the corresponding packet marking of the good friend added.
According to the eighth aspect of the embodiment of the present disclosure, a kind of good friend's grouping system is provided, comprising: application server and end End,
The application server includes: good friend's apparatus for grouping described in the 6th aspect;
The terminal includes: good friend's apparatus for grouping described in the 7th aspect.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In conclusion the embodiment of the present disclosure provide good friend's group technology, apparatus and system, since application server can be with The environment description information for the terminal for receiving to carry in request according to the good friend is inquired, and describes letter in the environment of the terminal When the good friend for adding good friend in the target environment of breath description, and adding is corresponding with packet marking, sends and divide to the terminal Group recommendation information, which includes the corresponding packet marking of the good friend added, therefore, the embodiment of the present disclosure Good friend's group technology recommendation can be grouped according to the environment description information of terminal, increase the form of grouping, improve The flexibility of grouping.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
In order to illustrate more clearly of embodiment of the disclosure, attached drawing needed in embodiment description will be made below Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present disclosure, common for this field For technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic diagram of implementation environment involved in the information recommendation method that provides in disclosure section Example.
Fig. 2 is a kind of flow chart of good friend's group technology shown according to an exemplary embodiment.
Fig. 3 is the flow chart of another good friend's group technology shown according to an exemplary embodiment.
Fig. 4-1 is the flow chart of another good friend's group technology shown according to an exemplary embodiment.
Fig. 4-2 is a kind of process of the method for environment description information for obtaining terminal shown according to an exemplary embodiment Figure.
Fig. 4-3 is the target that a kind of inquiry shown according to an exemplary embodiment is described in the environment description information of terminal Whether the method flow diagram of good friend was added in environment.
Fig. 4-4 is that a kind of application server shown according to an exemplary embodiment judges that the corresponding environment of terminal iidentification is retouched The method flow diagram that the environment description information of terminal whether is recorded in information stated.
Fig. 4-5 is a kind of picture exemplary diagram shown according to an exemplary embodiment.
Fig. 4-6 is that a kind of application server shown according to an exemplary embodiment judges that the corresponding environment of terminal iidentification is retouched The method flow diagram that the environment description information of terminal whether is recorded in information stated.
Fig. 4-7 is that a kind of application server shown according to an exemplary embodiment judges that the corresponding environment of terminal iidentification is retouched The method flow diagram that the environment description information of terminal whether is recorded in information stated.
Fig. 4-8 is a kind of method flow that grouping recommendation information is sent to terminal shown according to an exemplary embodiment Figure.
Fig. 4-9 is a kind of schematic diagram of terminal display grouping recommendation information shown according to an exemplary embodiment.
Fig. 5-1 is a kind of block diagram of good friend's apparatus for grouping shown according to an exemplary embodiment.
Fig. 5-2 is a kind of block diagram of first enquiry module shown according to an exemplary embodiment.
Fig. 6 is the block diagram of another good friend's apparatus for grouping shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of good friend's apparatus for grouping shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of good friend's apparatus for grouping shown according to an exemplary embodiment.
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Referring to Figure 1, it illustrates implement ring involved in the information recommendation method provided in disclosure section Example The schematic diagram in border.The implementation environment may include: application server 110 and at least one terminal 120.
Application server 110 can be a server, the server cluster perhaps consisted of several servers or It is a cloud computing service center.Terminal 120 can be smart phone, computer, multimedia player, electronic reader, can wear Wear formula equipment etc..
Connection can be established by cable network or wireless network between application server 110 and terminal 120.
Fig. 2 is a kind of flow chart of good friend's group technology shown according to an exemplary embodiment, is applied to as shown in Figure 1 Application server 110, comprising:
Step 201, the good friend for receiving terminal transmission receive request, and it is that terminal is referred to based on good friend's addition which, which receives request, Generation is enabled, good friend addition instruction is used to indicate terminal and carries out good friend's addition, which receives to request the environment including terminal Description information, the environment description information of the terminal are used to describe environment when terminal sends good friend's receiving request.
Step 202 receives request according to good friend, inquire in the target environment that the environment description information in terminal describes whether Added good friend.
Step 203, when adding good friend in target environment, inquire whether the good friend that added is corresponding with grouping mark Note.
Step 204, when the good friend added is corresponding with packet marking, send grouping recommendation information to terminal, grouping pushes away Recommending information includes the corresponding packet marking of good friend added.
In conclusion good friend's group technology that the embodiment of the present disclosure provides, since application server can connect according to good friend The environment description information of the terminal carried in being requested is inquired, in the target environment of the environment description information description of terminal When the good friend for adding good friend, and adding is corresponding with packet marking, grouping recommendation information, the grouping recommendation are sent to terminal Breath includes the corresponding packet marking of good friend added, and therefore, good friend's group technology of the embodiment of the present disclosure can be according to terminal Environment description information come be grouped recommend, increase the form of grouping, improve the flexibility of grouping.
Optionally, when the good friend added is corresponding with packet marking, grouping recommendation information is sent to terminal, comprising:
Count the number of the corresponding packet marking of good friend added;
When the number of the corresponding packet marking of the good friend added is equal to 1, generation grouping recommendation information is grouped recommendation information The corresponding packet marking of good friend including adding;
When the number of the corresponding packet marking of the good friend added is greater than 1, generation grouping recommendation information is grouped recommendation information It is any one or more in the corresponding packet marking of good friend including adding;
Grouping recommendation information is sent to terminal.
Optionally, it includes terminal iidentification that good friend, which receives request, receives request according to good friend, and the environment inquired in terminal describes Whether good friend was added in the target environment of information description, comprising:
Judge the environment description information for whether recording terminal in the corresponding environment description information of terminal iidentification, is stored in advance Environment description information be that the good friend that received each terminal is sent in advance receives to carry in request;
When record has the environment description information of terminal in the corresponding environment description information of terminal iidentification, determine in target ring Good friend was added in border;
When not recording the environment description information of terminal in the corresponding environment description information of terminal iidentification, determine in target Good friend was not added in environment.
Optionally, environment description information includes: in geographical location information locating for the network information and terminal of terminal connection It is at least one.
Optionally, the network information of terminal connection includes:
Mark, the media access control of the access point of network of the network of terminal connection are (English: Media Access Control;Referred to as: MAC) at least one of address.
Optionally, geographical location information locating for terminal is the global positioning system (English: Global of terminal Positioning System;Referred to as: GPS) at least one of the ambient image of address and terminal acquisition.
Optionally, environment description information includes: geographical location information locating for terminal, geographical location information packet locating for terminal It includes: the ambient image that terminal obtains,
Judge the environment description information that terminal whether is recorded in the corresponding environment description information of terminal iidentification, comprising:
Judge in the corresponding ambient image of terminal iidentification with the presence or absence of similar greater than presetting to the ambient image that terminal obtains The image of degree;
When the figure for being greater than default similarity in the corresponding ambient image of terminal iidentification in the presence of the ambient image obtained with terminal Picture determines the environment description information for recording in the corresponding environment description information of terminal iidentification and having terminal;
When there is no the ambient images obtained with terminal to be greater than default similarity in the corresponding ambient image of terminal iidentification Image determines the environment description information for not recording terminal in the corresponding environment description information of terminal iidentification.
Optionally, environment description information includes: geographical location information locating for terminal, geographical location information packet locating for terminal It includes: the address GPS of terminal;
Judge the environment description information that terminal whether is recorded in the corresponding environment description information of terminal iidentification, comprising:
Judge in the corresponding address GPS of terminal iidentification with the presence or absence of the error with the address GPS of terminal in default error model Enclose the interior address GPS;
It is being preset in error range when existing in the corresponding address GPS of terminal iidentification with the error of the address GPS of terminal When the address GPS, the environment description information for recording in the corresponding environment description information of terminal iidentification and having terminal is determined;
When there is no the errors with the address GPS of terminal in default error range in the corresponding address GPS of terminal iidentification The address GPS when, determine the environment description information for not recording terminal in the corresponding environment description information of terminal iidentification.
Optionally, environment description information includes: the network information of terminal connection, and the network information of terminal connection: terminal connects The mark of the network connect;
Judge the environment description information that terminal whether is recorded in the corresponding environment description information of terminal iidentification, comprising:
Judge in the mark of the corresponding network of terminal iidentification with the presence or absence of the identical mark of mark for the network being connect with terminal Know;
When the identical mark of the mark that there is the network connecting with terminal in the mark of the corresponding network of terminal iidentification, really Determine the environment description information that record in the corresponding environment description information of terminal iidentification has terminal;
When mark identical there is no the mark for the network being connect with terminal in the mark of the corresponding network of terminal iidentification, Determine the environment description information for not recording terminal in the corresponding environment description information of terminal iidentification.
In conclusion good friend's group technology that the embodiment of the present disclosure provides, since application server can connect according to good friend The environment description information of the terminal carried in being requested is inquired, in the target environment of the environment description information description of terminal When the good friend for adding good friend, and adding is corresponding with packet marking, grouping recommendation information, the grouping recommendation are sent to terminal Breath includes the corresponding packet marking of good friend added, and therefore, good friend's group technology of the embodiment of the present disclosure can be according to terminal Environment description information come be grouped recommend, increase the form of grouping, improve the flexibility of grouping.
Fig. 3 is the flow chart of another good friend's group technology shown according to an exemplary embodiment, is applied to such as Fig. 1 institute The terminal 120 shown, comprising:
Step 301 adds instruction according to the good friend for being used to indicate terminal progress good friend's addition, obtains the environment description of terminal Information, the environment description information of the terminal are used to describe environment when terminal sends good friend's receiving request.
Step 302, generation good friend receive request, and good friend receives the environment description information that request includes terminal.
Step 303 receives request to application server transmission good friend.
Step 304 receives the grouping recommendation information that application server is sent, and grouping recommendation information includes packet marking, point When group echo is that application server added good friend in the target environment that the environment description information of terminal describes, that added is good The corresponding packet marking of friend.
In conclusion good friend's group technology that the embodiment of the present disclosure provides, instructs since terminal can be added according to good friend The environment description information of terminal is obtained, and request is received by good friend and is sent to application server, by application server according to this The environment description information of terminal sends grouping recommendation information to terminal, which includes that the good friend that added is corresponding Packet marking, therefore, good friend's group technology of the embodiment of the present disclosure can be grouped according to the environment description information of terminal Recommend, increases the form of grouping, improve the flexibility of grouping.
Optionally, environment description information includes: in geographical location information locating for the network information and terminal of terminal connection It is at least one.
Optionally, the network information of terminal connection includes:
At least one of the mark of network of terminal connection, MAC Address of access point of network.
Optionally, geographical location information locating for terminal be terminal the address GPS and terminal obtain ambient image in extremely Few one kind.
Optionally, environment description information includes: geographical location information locating for terminal, geographical location information packet locating for terminal It includes: the ambient image that terminal obtains,
It is added and is instructed according to good friend, obtain the environment description information of terminal, comprising:
It is added and is instructed according to good friend, open the camera of terminal;
Ambient image is acquired by the image scanning function or camera function of camera.
In conclusion good friend's group technology that the embodiment of the present disclosure provides, instructs since terminal can be added according to good friend The environment description information of terminal is obtained, and request is received by good friend and is sent to application server, by application server according to this The environment description information of terminal sends grouping recommendation information to terminal, which includes that the good friend that added is corresponding Packet marking, therefore, good friend's group technology of the embodiment of the present disclosure can be grouped according to the environment description information of terminal Recommend, increases the form of grouping, improve the flexibility of grouping.
Fig. 4-1 is the flow chart of another good friend's group technology shown according to an exemplary embodiment, is applied to such as Fig. 1 Shown in implementation environment, which includes:
Step 401, terminal add instruction according to the good friend for being used to indicate terminal progress good friend's addition, obtain the environment of terminal Description information.
User is when using social application, on the one hand, can actively search for by the function of search of social application and want to add For the target social application account of good friend, the terminal that user uses sends good friend to the terminal for logging in the target social application account Addition request, when receiving good friend's addition response that the terminal for logging in the target social application account is sent, terminal is accordingly given birth to It adds and instructs at good friend, illustrate that the corresponding user of target social application account agrees to addition good friend, application server can be corresponding It is grouped recommendation;On the other hand, can be by the function of search of social application, actively the target society added as a friend is wanted in search It hands over and applies account, send good friend to the terminal for logging in the target social application account in the terminal that user uses and add request, eventually End is corresponding to generate good friend's addition instruction, which adds instruction and show that user wants to add good friend, and application server can be corresponding It is grouped recommendation, if user agrees to the grouping recommended, is receiving what the terminal for logging in the target social application account was sent When good friend adds response, the good friend of addition can be divided into the grouping of recommendation by terminal;In another aspect, other social application accounts Terminal that the terminal of login can be used to user sends good friend and adds request, and terminal selects to agree to add receiving user When friendly option, the good friend that the terminal logged in other social application accounts is sent adds response, and generates good friend and add instruction, Illustrate to agree to that the addition corresponding user of other social application accounts is good friend, application server can accordingly be grouped recommendation. It should be noted that the generation moment that good friend adds instruction in the embodiment of the present disclosure schematically illustrates, other are readily apparent that Scene can also cover in the protection scope of the embodiment of the present disclosure.
Terminal can be added according to the good friend and be instructed after receiving good friend and adding instruction, obtain the environment description of terminal Information, the environment description information of the terminal are used to describe environment when terminal sends good friend's receiving request.The environment description information It may include: at least one of geographical location information locating for the network information and terminal of terminal connection.Wherein, which connects The network information include: at least one of the mark of network of terminal connection, the MAC Address of access point of network.The network It can be cable network or wireless network, when the network of terminal connection is wireless network, which can be wireless Local area network, such as Wireless Fidelity (English: Wireless Fidelity;Referred to as: WiFi) network, geographical location information locating for terminal It can be at least one of the ambient image of the global position system GPS address of terminal and terminal acquisition.
Exemplary, the embodiment of the present disclosure assumes that environment description information includes: geographical location information locating for terminal, the terminal institute Place's geographical location information includes: the ambient image that terminal obtains, and as shown in the Fig. 4-2, Fig. 4-2 is shown according to an exemplary embodiment A kind of flow chart of the method for the environment description information of acquisition terminal out, comprising:
Step 4011 adds instruction according to good friend, and terminal opens the camera of the terminal.
Terminal triggers the unlatching of camera after receiving good friend and adding instruction, which can be front camera, It is also possible to rear camera, the embodiment of the present disclosure does not limit this.In practical application, terminal can open camera it Before, it shows that camera opens prompt in user interface, for prompting user that will open camera, is receiving user's triggering After confirming open command, it is then turned on camera, on the one hand, when showing that camera opens prompt, can also show that camera selects , it is selected to open front camera or rear camera by user;On the other hand, user can also be set in advance in acquisition environment The camera opened when image, when receiving good friend's addition instruction every time, the camera of unlatching is that user is pre-set Camera.
Step 4012, terminal acquire ambient image by the image scanning function or camera function of camera.
Exemplary, terminal can pass through image scanning functionality scan terminal surrounding environment, build environment image;It can also lead to Cross camera function, shoot an at least picture to reflect the environment of terminal surrounding, using the image in this at least a picture as Ambient image.In practical application, terminal can also shoot video by camera to obtain ambient image, the embodiment of the present disclosure This is not repeated them here.
Step 402, terminal generate good friend and receive request, which receives the environment description information that request includes terminal.
Step 403, terminal send good friend to application server and receive request.
Step 404, application server receive request according to good friend, inquire the target in the environment description information description of terminal Whether good friend was added in environment.
In the embodiment of the present disclosure, it includes terminal iidentification that good friend, which receives request, and application server receives the good friend that terminal is sent After receiving request, request can be received according to good friend, inquire in the target environment that the environment description information in terminal describes whether Good friend was added, as shown in Fig. 4-3, Fig. 4-3 is that a kind of inquiry shown according to an exemplary embodiment is retouched in the environment of terminal The method flow diagram that good friend whether was added in the target environment of information description stated, comprising:
Step 4041, application server receive request according to good friend, obtain eventually in pre-stored environment description information End identifies corresponding environment description information, and pre-stored environment description information is the good friend that each terminal received in advance is sent It is carried in receiving request.
Application server can store good friend and receive in request when the good friend for receiving terminal transmission every time receives request Terminal iidentification and corresponding environment description information.It is exemplary, it is assumed that before step 403, application server is received according to preparatory To good friend receive request establish terminal iidentification as shown in Table 1 and environment description information corresponding relationship, it can be seen that terminal mark Knowing 001 corresponding environment description information is respectively information x, y, z, and the corresponding environment description information of terminal iidentification 002 is respectively to believe M, z are ceased, the corresponding environment description information of terminal iidentification 003 is information x.Assuming that the good friend that terminal receives in step 4041 connects The terminal iidentification for being included by request is 001, then obtains the corresponding environment description letter of terminal iidentification according to the terminal iidentification inquiry table 1 Breath is respectively information x, y, z.
Table 1
Further, environment description information may include: geographical location information locating for terminal, the letter of geographical location locating for terminal Breath includes: the ambient image that terminal obtains, then the corresponding environment description information of terminal iidentification is the corresponding environment map of terminal iidentification Picture, it is exemplary, it is assumed that before step 403, application server receives request according to the good friend being previously received and establishes such as 1 institute of table The terminal iidentification and ambient image corresponding relationship shown, it can be seen that the corresponding ambient image of terminal iidentification 001 is respectively picture X1, y1, z1, the corresponding ambient image of terminal iidentification 002 are respectively picture m1, n1, the corresponding environment of terminal iidentification 003 description letter Breath is picture q1.Assuming that it is 001 that the good friend that receives in step 4041 of terminal, which receives the terminal iidentification that request includes, then basis It is respectively picture x1, y1, z1 that the terminal iidentification inquiry table 2, which obtains the corresponding ambient image of terminal iidentification,.
In practical application, environment description information can there are many, the disclosure only schematically illustrated with table 2, other It is readily apparent that other embodiments of the disclosure should also cover in the protection scope of the disclosure, the embodiment of the present disclosure is herein not It repeats again.
It should be noted that pre-stored environment description information can be the good friend that each terminal received in advance is sent Receive to carry in request, be also possible to it is preset by user, for example, the environment that user has preset varying environment is retouched Information is stated, such as service set (the English of the wireless router of the address GPS of upload house, ambient image, IP address or WiFi Text: Service Set Identifier;Referred to as: SSID);The SSID of the address GPS of upload company, ambient image or WiFi, The embodiment of the present disclosure only schematically illustrates.
Step 4042, application server judge the ring that terminal whether is recorded in the corresponding environment description information of terminal iidentification Border description information.
In practical application, the difference of environment description information content, application server judges that the corresponding environment of terminal iidentification is retouched The method for stating the environment description information that terminal whether is recorded in information is also different, and the embodiment of the present disclosure is for following three kinds:
In a first aspect, environment description information includes: geographical location information locating for terminal, geographical location information packet locating for terminal Include: the ambient image that terminal obtains, then the corresponding environment description information of terminal iidentification is the corresponding ambient image of terminal iidentification, such as Shown in Fig. 4-4, Fig. 4-4 is that a kind of application server shown according to an exemplary embodiment judges the corresponding environment of terminal iidentification Whether the method flow diagram of the environment description information of terminal is recorded in description information, comprising:
Step 4042a, application server judges in the corresponding ambient image of terminal iidentification with the presence or absence of obtaining with terminal Ambient image is greater than the image of default similarity.When there is the environment map that obtains with terminal in the corresponding ambient image of terminal iidentification Image as being greater than default similarity, executes step 4042b, when there is no obtain with terminal in the corresponding ambient image of terminal iidentification The ambient image taken is greater than the image of default similarity, executes step 4042c.
Example, it is assumed that in step 4041, the received good friend of application server receives the environment for the terminal for including in request Image is picture p1, and terminal iidentification 001, then application server inquires above-mentioned table 2 and obtains the corresponding environment map of terminal iidentification 001 As respectively picture x1, y1, z1, then picture p1 is compared with picture x1, y1, z1 respectively, is judged in picture x1, y1, z1 No to there is the image for being greater than default similarity with picture p1, exemplary, as illustrated in figures 4-5, Fig. 4-5 is according to an exemplary implementation A kind of picture exemplary diagram exemplified, in Fig. 4-5, by picture p1 respectively with picture x1, y1, z1, it is assumed that default similarity is 50%, by comparing, determines that the similarity of picture p1 and picture y1 is 90%, be greater than 50%, then the corresponding environment of terminal iidentification There is the image that the ambient image obtained with terminal is greater than default similarity in image.It, can will be every when carrying out image comparison The ambient image overall contrast of the corresponding ambient image of a terminal iidentification 001 and terminal, can also by each ambient image according to Image type is divided into multiple subgraphs, by the ring of subgraph and terminal in the corresponding ambient image of each terminal iidentification 001 Subgraph in the image of border compares, and determines the number for the subgraph that matches, determines phase according to the number of Matching sub-image picture Like degree.For example, the picture y1 in Fig. 4-5 is divided into metope, curtain, desk, tea table, sofa, back cushion etc. according to image type Subgraph, and picture p1 is also divided into the subgraphs such as metope, curtain, desk, tea table, sofa, back cushion according to image type, in this way Determine that the similarity of picture p1 and picture y1 is greater than 50% by subgraph matching.
It should be noted that whether there is and end in the corresponding ambient image of above-mentioned judgement terminal iidentification that the disclosure provides The ambient image that end obtains is greater than the method for the image of default similarity, only schematically illustrates, other methods being contemplated that It can also cover in the protection scope of the disclosure, details are not described herein for the disclosure.
Step 4042b, application server determines the environment for recording in the corresponding environment description information of terminal iidentification and having terminal Description information.
Step 4042c, application server determines the ring for not recording terminal in the corresponding environment description information of terminal iidentification Border description information.
Second aspect, environment description information include: geographical location information locating for terminal, geographical location information packet locating for terminal Include: the address GPS of terminal, then the corresponding environment description information of terminal iidentification is the corresponding address GPS of terminal iidentification, such as Fig. 4-6 Shown, Fig. 4-6 is that a kind of application server shown according to an exemplary embodiment judges the corresponding environment description of terminal iidentification Whether the method flow diagram of the environment description information of terminal is recorded in information, comprising:
Step 4042d, application server judges in the corresponding address GPS of terminal iidentification with the presence or absence of with the GPS of terminal GPS address of the error of location in default error range.When in the corresponding address GPS of terminal iidentification exist with the GPS of terminal When GPS address of the error of location in default error range, execute step 4042e, when in the corresponding address GPS of terminal iidentification not In the presence of the address GPS with terminal GPS address of the error in default error range when, execute step 4042f.
Example, it is assumed that in step 4041, the received good friend of application server receives the terminal iidentification pair for including in request The address GPS answered is (36.4553342177,106.2472888906), indicates that longitude is 36.4553342177, latitude is 106.2472888906, terminal iidentification 001, it is assumed that the corresponding address GPS of terminal iidentification 001 that application server determines is (36.4553342170,106.2472888905), then by the address GPS (36.4553342177,106.2472888906) with (36.4553342170,106.2472888905) are compared, and judge whether the error of the two is less than default error range.It is real It, can also be by judging in the corresponding address GPS of terminal iidentification with the presence or absence of small at a distance from the address GPS of terminal in the application of border In the address GPS of pre-determined distance come determine whether recorded in the corresponding environment description information of terminal iidentification terminal environment description Information, the embodiment of the present disclosure repeat no more this.
Step 4042e, application server determines the environment for recording in the corresponding environment description information of terminal iidentification and having terminal Description information.
Step 4042f, application server determines the ring for not recording terminal in the corresponding environment description information of terminal iidentification Border description information.
The third aspect, environment description information include: the network information of terminal connection, the network information of terminal connection: terminal The mark of the network of connection, then the corresponding environment description information of terminal iidentification is the mark of the corresponding network of terminal iidentification, is such as schemed Shown in 4-7, Fig. 4-7 is that a kind of application server shown according to an exemplary embodiment judges that the corresponding environment of terminal iidentification is retouched The method flow diagram that the environment description information of terminal whether is recorded in information stated, comprising:
Step 4042g, application server judges to whether there is in the mark of the corresponding network of terminal iidentification and connect with terminal Network the identical mark of mark.When the mark that there is the network connecting with terminal in the mark of the corresponding network of terminal iidentification When identical mark, step 4042h is executed, when there is no the networks connecting with terminal in the mark of the corresponding network of terminal iidentification Mark identical mark when, execute step 4042j.
Exemplary, which can be WiFi network, then the mark of WiFi can be to provide the SSID of WiFi network.Using Server may determine that in the corresponding SSID of terminal iidentification with the presence or absence of the identical mark of SSID for the network connecting with terminal.
Step 4042h, application server determines the environment for recording in the corresponding environment description information of terminal iidentification and having terminal Description information.
Step 4042j, application server determines the ring for not recording terminal in the corresponding environment description information of terminal iidentification Border description information.
Step 4043, record is answered when having the environment description information of terminal in the corresponding environment description information of terminal iidentification Good friend was added in target environment with server determination.
Step 4044, when not recording the environment description information of terminal in the corresponding environment description information of terminal iidentification, Application server determination was not added with good friend in target environment.
Step 405, when adding good friend in target environment, whether the good friend that added of application server inquiry corresponds to There is packet marking.
Step 406, when the good friend added is corresponding with packet marking, application server to terminal send grouping recommendation Breath, which includes the corresponding packet marking of good friend added.
As shown in Figure 4-8, Fig. 4-8 is that a kind of send to terminal shown according to an exemplary embodiment is grouped recommendation information Method flow diagram, comprising:
The number for the corresponding packet marking of good friend that step 4061, application server statistics were added.
In practical application, user may repeatedly add good friend in the same environment, and repeatedly carry out good friend's grouping, Exemplary, user may add 5 good friends at home, and 5 good friends are belonging respectively to 2 groupings, respectively " good friend " Grouping and " regular friend " grouping;User can add 6 good friends in company, and 6 good friends belong to grouping of " working together ".
Step 4062, when the corresponding packet marking of the good friend added number be equal to 1, application server generate grouping pushes away Information is recommended, which includes the corresponding packet marking of good friend added.
For example, the number when the corresponding packet marking of good friend added is equal to 1, it is " colleague " grouping, then grouping pushes away Recommend the label that information may include " colleague " grouping.
Step 4063, when the corresponding packet marking of the good friend added number be greater than 1, application server generate grouping pushes away Information is recommended, which includes any one or more in the corresponding packet marking of good friend added.
For example, when the number of the corresponding packet marking of good friend that add is greater than 1, respectively " good friend " grouping and " general Logical friend " grouping is then grouped the label that recommendation information may include " good friend " grouping and " regular friend " grouping, can also be only Any of label including " good friend " grouping and " regular friend " grouping.
Step 4064, application server send grouping recommendation information to terminal.
Step 407, terminal display grouping recommendation information.
After terminal receives the grouping recommendation information that application server is sent, display grouping recommendation information.As shown in figures 4-9, Fig. 4-9 is a kind of schematic diagram of terminal display grouping recommendation information shown according to an exemplary embodiment, it is assumed that grouping is recommended Information includes " good friend " grouping and " regular friend " grouping.Then terminal shows " good friend " option and " regular friend " option, It is selected for user.
Step 408, terminal are grouped selection instruction based on the received and the good friend of addition are divided in grouping selection instruction instruction Grouping in, the grouping selection instruction instruction grouping be according to grouping recommendation information determine.
User can show that the grouping for dividing the good friend of addition is wanted in the option selection in grouping recommendation information in terminal, After user has determined corresponding grouping, the corresponding option of the grouping is triggered, terminal generates grouping selection instruction, and according to this point The good friend of addition is divided in corresponding grouping by group selection instruction, exemplary, " good friend " option that user shows in Fig. 4-9 " good friend " option is selected in " regular friend " option, then terminal generates grouping selection instruction, which includes It is somebody's turn to do the label of " good friend ", the good friend of addition is divided to by " good friend " grouping according to the grouping selection instruction.
In conclusion good friend's group technology that the embodiment of the present disclosure provides, since application server can connect according to good friend The environment description information of the terminal carried in being requested is inquired, in the target environment of the environment description information description of terminal When the good friend for adding good friend, and adding is corresponding with packet marking, grouping recommendation information, the grouping recommendation are sent to terminal Breath includes the corresponding packet marking of good friend added, for example, can determine that terminal local environment is by environment description information Company where user is (the address GPS of company as where good friend receives the address GPS carried in request and pre-stored user Error is less than default error range or good friend receives the SSID carried in request and the SSID phase of company where user is same Deng), it is grouped into " colleague " according to user before is corresponding when company where user adds good friend, what can be recommended is grouped into " colleague ", grouping recommend accuracy higher, and recommend flexibility high.Therefore, good friend's group technology of the embodiment of the present disclosure can It is grouped recommendation according to the environment description information of terminal, increases the form of grouping, improves the flexibility of grouping.
Fig. 5-1 is a kind of block diagram of good friend's apparatus for grouping shown according to an exemplary embodiment, comprising:
Receiving module 501, the good friend for being configured as receiving terminal transmission receive request, and it is that terminal is based on that good friend, which receives request, Good friend adds what instruction generated, and good friend's addition instruction is used to indicate terminal and carries out good friend's addition, and good friend receives request and includes terminal Environment description information, the environment description information of terminal is used to describe terminal and sends environment when good friend receives request;
First enquiry module 502 is configured as receiving request according to good friend, and the environment description information inquired in terminal describes Target environment in whether added good friend;
Second enquiry module 503, is configured as when adding good friend in target environment, and inquiring the good friend added is It is no to be corresponding with packet marking;
Sending module 504 is configured as when the good friend added is corresponding with packet marking, is sent grouping to terminal and is recommended Information, grouping recommendation information includes the corresponding packet marking of good friend added.
In conclusion the friend recommendation device that the embodiment of the present disclosure provides, due to the first enquiry module and the second inquiry mould Block can be inquired according to the environment description information that good friend receives the terminal carried in request, in the environment description information of terminal When the good friend for adding good friend in the target environment of description, and adding is corresponding with packet marking, sending module is sent to terminal It is grouped recommendation information, which includes the corresponding packet marking of good friend added, therefore, the embodiment of the present disclosure Good friend's group technology can be grouped recommendation according to the environment description information of terminal, increase the form of grouping, improve The flexibility of grouping.
Wherein, sending module 504 are configured as:
Count the number of the corresponding packet marking of good friend added;
When the number of the corresponding packet marking of the good friend added is equal to 1, generation grouping recommendation information is grouped recommendation information The corresponding packet marking of good friend including adding;
When the number of the corresponding packet marking of the good friend added is greater than 1, generation grouping recommendation information is grouped recommendation information It is any one or more in the corresponding packet marking of good friend including adding;
Grouping recommendation information is sent to terminal.
Optionally, it includes terminal iidentification that good friend, which receives request, and Fig. 5-2 is shown according to an exemplary embodiment a kind of the The block diagram of one enquiry module 502, comprising:
Acquisition submodule 5021 is configured as receiving request according to good friend, obtains in pre-stored environment description information The corresponding environment description information of terminal iidentification is taken, pre-stored environment description information is that each terminal received in advance is sent It is carried in good friend's receiving request;
Judging submodule 5022 is configured as judging whether recorded terminal in the corresponding environment description information of terminal iidentification Environment description information;
First determines submodule 5023, and being configured as the record in the corresponding environment description information of terminal iidentification has terminal When environment description information, good friend was added in determination in target environment;
Second determines submodule 5024, is configured as not recorded terminal in the corresponding environment description information of terminal iidentification Environment description information when, determination good friend was not added in target environment.
Optionally, environment description information includes: in geographical location information locating for the network information and terminal of terminal connection It is at least one.
Optionally, the network information of terminal connection includes:
At least one of the mark of network of terminal connection, MAC address of access point of network.
Optionally, geographical location information locating for terminal is the global position system GPS address of terminal and the ring that terminal obtains At least one of border image.
Optionally, environment description information includes: geographical location information locating for terminal, geographical location information packet locating for terminal Include: the ambient image that terminal obtains, judging submodule 5022 are configured as:
Judge in the corresponding ambient image of terminal iidentification with the presence or absence of similar greater than presetting to the ambient image that terminal obtains The image of degree;
When the figure for being greater than default similarity in the corresponding ambient image of terminal iidentification in the presence of the ambient image obtained with terminal Picture determines the environment description information for recording in the corresponding environment description information of terminal iidentification and having terminal;
When there is no the ambient images obtained with terminal to be greater than default similarity in the corresponding ambient image of terminal iidentification Image determines the environment description information for not recording terminal in the corresponding environment description information of terminal iidentification.
Optionally, environment description information includes: geographical location information locating for terminal, geographical location information packet locating for terminal It includes: the address GPS of terminal;Judging submodule 5022, is configured as:
Judge in the corresponding address GPS of terminal iidentification with the presence or absence of the error with the address GPS of terminal in default error model Enclose the interior address GPS;
It is being preset in error range when existing in the corresponding address GPS of terminal iidentification with the error of the address GPS of terminal When the address GPS, the environment description information for recording in the corresponding environment description information of terminal iidentification and having terminal is determined;
When there is no the errors with the address GPS of terminal in default error range in the corresponding address GPS of terminal iidentification The address GPS when, determine the environment description information for not recording terminal in the corresponding environment description information of terminal iidentification.
Optionally, environment description information includes: the network information of terminal connection, and the network information of terminal connection: terminal connects The mark of the network connect;Judging submodule 5022, is configured as:
Judge in the mark of the corresponding network of terminal iidentification with the presence or absence of the identical mark of mark for the network being connect with terminal Know;
When the identical mark of the mark that there is the network connecting with terminal in the mark of the corresponding network of terminal iidentification, really Determine the environment description information that record in the corresponding environment description information of terminal iidentification has terminal;
When mark identical there is no the mark for the network being connect with terminal in the mark of the corresponding network of terminal iidentification, Determine the environment description information for not recording terminal in the corresponding environment description information of terminal iidentification.
In conclusion the friend recommendation device that the embodiment of the present disclosure provides, due to the first enquiry module and the second inquiry mould Block can be inquired according to the environment description information that good friend receives the terminal carried in request, in the environment description information of terminal When the good friend for adding good friend in the target environment of description, and adding is corresponding with packet marking, sending module is sent to terminal It is grouped recommendation information, which includes the corresponding packet marking of good friend added, therefore, the embodiment of the present disclosure Good friend's group technology can be grouped recommendation according to the environment description information of terminal, increase the form of grouping, improve The flexibility of grouping.
Fig. 6 is the block diagram of another good friend's apparatus for grouping shown according to an exemplary embodiment, comprising:
Module 601 is obtained, is configured as adding instruction according to the good friend for being used to indicate terminal progress good friend's addition, obtain eventually The environment description information at end, the environment description information of terminal are used to describe environment when terminal sends good friend's receiving request;
Generation module 602 is configurable to generate good friend and receives request, and good friend receives the environment that request includes terminal and describes letter Breath;
Sending module 603 is configured as receiving request to application server transmission good friend;
Receiving module 604 is configured as receiving the grouping recommendation information that application server is sent, and grouping recommendation information includes Packet marking, packet marking are that application server added good friend in the target environment that the environment description information of terminal describes When, the corresponding packet marking of the good friend added.
In conclusion good friend's group technology that the embodiment of the present disclosure provides, can add due to obtaining module according to good friend Instruction obtains the environment description information of terminal, and receives request by good friend by sending module and be sent to application server, by connecing It receives module and receives the grouping recommendation information that application server is sent according to the environment description information of the terminal to terminal, which pushes away Recommending information includes the corresponding packet marking of good friend added, and therefore, good friend's group technology of the embodiment of the present disclosure being capable of basis The environment description information of terminal is recommended to be grouped, and is increased the form of grouping, is improved the flexibility of grouping.
Optionally, environment description information includes: in geographical location information locating for the network information and terminal of terminal connection It is at least one.
Optionally, in the mark for the network that terminal connects, the MAC address of the access point of network at least It is a kind of.
Optionally, geographical location information locating for terminal is the global position system GPS address of terminal and the ring that terminal obtains At least one of border image.
Optionally, environment description information includes: geographical location information locating for terminal, geographical location information packet locating for terminal Include: the ambient image that terminal obtains obtains module, is configured as:
It is added and is instructed according to good friend, open the camera of terminal;
Ambient image is acquired by the image scanning function or camera function of camera.
In conclusion good friend's group technology that the embodiment of the present disclosure provides, can add due to obtaining module according to good friend Instruction obtains the environment description information of terminal, and receives request by good friend by sending module and be sent to application server, by connecing It receives module and receives the grouping recommendation information that application server is sent according to the environment description information of the terminal to terminal, which pushes away Recommending information includes the corresponding packet marking of good friend added, and therefore, good friend's group technology of the embodiment of the present disclosure being capable of basis The environment description information of terminal is recommended to be grouped, and is increased the form of grouping, is improved the flexibility of grouping.
The embodiment of the present disclosure provides a kind of good friend's grouping system characterized by comprising application server and terminal are answered It include: good friend's apparatus for grouping shown in Fig. 5-1 with server;Terminal includes: good friend's apparatus for grouping shown in fig. 6.
Fig. 7 is a kind of block diagram of good friend's apparatus for grouping 700 shown according to an exemplary embodiment.For example, device 700 can To be provided as a server.Referring to Fig. 7, it further comprises one or more processing that device 700, which includes processing component 722, Device, and the memory resource as representated by memory 732 for storing the instruction that can be executed by processing component 722, such as are answered Use program.The application program stored in memory 732 may include it is one or more each correspond to one group of instruction Module.In addition, processing component 722 is configured as executing instruction, to execute above-mentioned good friend's group technology.
Device 700 can also include the power management that a power supply module 726 is configured as executive device 700, and one has Line or radio network interface 750 are configured as device 700 being connected to network and input and output (I/O) interface 758.Dress Setting 700 can operate based on the operating system for being stored in memory 732, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
The embodiment of the present disclosure provides a kind of good friend's apparatus for grouping, comprising:
Processor;
The memory of executable instruction for storage processor;
Wherein, processor is configured as: being received the good friend that terminal is sent and is received request, it is that terminal is based on that good friend, which receives request, Good friend adds what instruction generated, and good friend's addition instruction is used to indicate terminal and carries out good friend's addition, and good friend receives request and includes terminal Environment description information, the environment description information of terminal is used to describe terminal and sends environment when good friend receives request;According to good Friend receives request, inquires and whether added good friend in the target environment of the environment description information description of terminal;When in target ring When adding good friend in border, inquire whether the good friend added is corresponding with packet marking;When the good friend added is corresponding with grouping When label, grouping recommendation information is sent to terminal, grouping recommendation information includes the corresponding packet marking of good friend added.
Fig. 8 is a kind of block diagram of good friend's apparatus for grouping 800 shown according to an exemplary embodiment.For example, device 800 can To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Referring to Fig. 8, device 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between device 800 and user.In some realities It applies in example, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch screen, to receive input signal from the user.Touch panel include one or more touch sensors with Sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and And also detect duration and pressure relevant to touch or slide.In some embodiments, multimedia component 808 includes One front camera and/or rear camera.It is such as in a shooting mode or a video mode, preceding when device 800 is in operation mode It sets camera and/or rear camera can receive external multi-medium data.Each front camera and rear camera can Be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, the relative positioning of component, such as component For the display and keypad of device 800, sensor module 814 can be with the position of 800 1 components of detection device 800 or device Set change, the existence or non-existence that user contacts with device 800, the temperature in 800 orientation of device or acceleration/deceleration and device 800 Variation.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for answering in imaging With middle use.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 816 further includes near-field communication (NFC) module, to promote short range communication.For example, Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light Data storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 800 When row, so that device 800 is able to carry out a kind of good friend's group technology, method includes:
Instruction is added according to the good friend for being used to indicate terminal progress good friend's addition, obtains the environment description information of terminal, eventually The environment description information at end is used to describe environment when terminal sends good friend's receiving request;It generates good friend and receives request, Hao Youjie It is included the environment description information of terminal by request;Good friend, which is sent, to application server receives request;Application server is received to send Grouping recommendation information, packet marking be application server terminal environment description information describe target environment in added When good friend, the corresponding packet marking of the good friend added.
The disclosure provides a kind of good friend's apparatus for grouping, comprising:
Processor;
The memory of executable instruction for storage processor;
Wherein, processor is configured as: being added instruction according to the good friend for being used to indicate terminal progress good friend's addition, is obtained eventually The environment description information at end, the environment description information of terminal are used to describe environment when terminal sends good friend's receiving request;It generates Good friend receives request, and good friend receives the environment description information that request includes terminal;Good friend, which is sent, to application server receives request; The grouping recommendation information that application server is sent is received, packet marking is that application server is described in the environment description information of terminal Target environment in when adding good friend, the corresponding packet marking of the good friend added.
The disclosure provides a kind of good friend's grouping system, comprising: application server and terminal, application server include: Fig. 7 institute The good friend's apparatus for grouping shown;Terminal includes: good friend's apparatus for grouping shown in Fig. 8.
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and practicing the disclosure Case.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or adaptability Variation follows the general principles of this disclosure and including the undocumented common knowledge or usual skill in the art of the disclosure Art means.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (32)

1. a kind of good friend's group technology characterized by comprising
The good friend that reception terminal is sent receives request, and it is that the terminal is generated based on good friend's addition instruction that the good friend, which receives request, , the good friend adds instruction and is used to indicate terminal progress good friend's addition, and it includes the terminal that the good friend, which receives request, Environment description information, the environment description information of the terminal is used to describe the terminal and sends when the good friend receives request Environment;
Receive request according to the good friend, inquires in the target environment of the environment description information description of the terminal and whether add Cross good friend;
When adding good friend in the target environment, inquire whether the good friend added is corresponding with packet marking;
When the good friend added is corresponding with packet marking, grouping recommendation information, the grouping recommendation are sent to the terminal Breath includes the corresponding packet marking of good friend added.
2. the method according to claim 1, wherein described when the good friend added is corresponding with packet marking, Grouping recommendation information is sent to the terminal, comprising:
Count the number of the corresponding packet marking of good friend added;
When the corresponding packet marking of the good friend added number be equal to 1, generate the grouping recommendation information, the grouping Recommendation information includes the corresponding packet marking of the good friend added;
When the corresponding packet marking of the good friend added number be greater than 1, generate the grouping recommendation information, the grouping Recommendation information includes any one or more in the corresponding packet marking of the good friend added;
The grouping recommendation information is sent to the terminal.
3. the method according to claim 1, wherein the good friend receive request include terminal iidentification, described Receive request according to the good friend, it is good whether inquiry was added in the target environment that the environment description information of the terminal describes Friend, comprising:
Receive request according to the good friend, the corresponding environment of the terminal iidentification is obtained in pre-stored environment description information Description information, the pre-stored environment description information are that the good friend that each terminal received in advance is sent receives to take in request Band;
Judge the environment description information that the terminal whether is recorded in the corresponding environment description information of the terminal iidentification;
When record has the environment description information of the terminal in the corresponding environment description information of the terminal iidentification, determine in institute It states and added good friend in target environment;
When not recording the environment description information of the terminal in the corresponding environment description information of the terminal iidentification, determine Good friend was not added in the target environment.
4. method according to any one of claims 1 to 3, which is characterized in that
The environment description information includes: in geographical location information locating for the network information and the terminal of the terminal connection It is at least one.
5. according to the method described in claim 4, it is characterized in that, the network information of terminal connection includes:
At least one in the mark of the network of the terminal connection, the MAC address of the access point of the network Kind.
6. according to the method described in claim 4, it is characterized in that, geographical location information locating for the terminal is the terminal At least one of the ambient image that global position system GPS address and the terminal obtain.
7. according to the method described in claim 3, it is characterized in that, the environment description information includes: the locating ground of the terminal Location information is managed, geographical location information locating for the terminal includes: the ambient image that the terminal obtains,
The environment description information for judging whether to record the terminal in the corresponding environment description information of the terminal iidentification, Include:
Judge to be greater than in the corresponding ambient image of the terminal iidentification with the presence or absence of the ambient image obtained with the terminal and preset The image of similarity;
It is greater than default similarity when there is the ambient image obtained with the terminal in the corresponding ambient image of the terminal iidentification Image, determine in the corresponding environment description information of the terminal iidentification that record has the environment description information of the terminal;
When there is no similar greater than presetting to the ambient image that the terminal obtains in the corresponding ambient image of the terminal iidentification The image of degree determines the environment description information for not recording the terminal in the corresponding environment description information of the terminal iidentification.
8. according to the method described in claim 3, it is characterized in that, the environment description information includes: the locating ground of the terminal Location information is managed, geographical location information locating for the terminal includes: the address GPS of the terminal;
The environment description information for judging whether to record the terminal in the corresponding environment description information of the terminal iidentification, Include:
Judge to miss with the presence or absence of the error with the address GPS of the terminal default in the corresponding address GPS of the terminal iidentification The address GPS in poor range;
When existing with the error of the address GPS of the terminal in the corresponding address GPS of the terminal iidentification in default error range When the interior address GPS, determine that record in the corresponding environment description information of the terminal iidentification has the environment description letter of the terminal Breath;
When there is no the errors with the address GPS of the terminal in default error model in the corresponding address GPS of the terminal iidentification When enclosing the interior address GPS, determine that the environment for not recording the terminal in the corresponding environment description information of the terminal iidentification is retouched State information.
9. according to the method described in claim 3, it is characterized in that, the environment description information includes: what the terminal connected The network information, the network information of the terminal connection: the mark of the network of the terminal connection;
The environment description information for judging whether to record the terminal in the corresponding environment description information of the terminal iidentification, Include:
Judge in the mark of the corresponding network of the terminal iidentification with the presence or absence of identical as the mark of network that the terminal connects Mark;
When the identical mark of mark that there is the network connecting with the terminal in the mark of the corresponding network of the terminal iidentification When, determine the environment description information for recording in the corresponding environment description information of the terminal iidentification and having the terminal;
When there is no the identical marks of mark for the network connecting with the terminal in the mark of the corresponding network of the terminal iidentification When knowledge, the environment description information for not recording the terminal in the corresponding environment description information of the terminal iidentification is determined.
10. a kind of good friend's group technology characterized by comprising
Instruction is added according to the good friend for being used to indicate terminal progress good friend's addition, obtains the environment description information of terminal, the end The environment description information at end is used to describe the environment when terminal sends good friend's receiving request;
It generates good friend and receives request, the good friend receives the environment description information that request includes the terminal;
The good friend, which is sent, to application server receives request;
The grouping recommendation information that the application server is sent is received, the grouping recommendation information includes packet marking, and described point When group echo is that the application server added good friend in the target environment that the environment description information of the terminal describes, add The corresponding packet marking of the good friend added.
11. according to the method described in claim 10, it is characterized in that, the environment description information includes: the terminal connection The network information and the terminal locating at least one of geographical location information.
12. according to the method for claim 11, which is characterized in that the network information of terminal connection includes:
At least one in the mark of the network of the terminal connection, the MAC address of the access point of the network Kind.
13. according to the method for claim 11, which is characterized in that geographical location information locating for the terminal is the terminal Global position system GPS address and at least one of the ambient image that obtains of the terminal.
14. according to the method for claim 13, which is characterized in that the environment description information includes: locating for the terminal Geographical location information, geographical location information locating for the terminal include: the ambient image that the terminal obtains,
The basis is used to indicate good friend's addition instruction that terminal carries out good friend's addition, obtains the environment description information of terminal, wraps It includes:
It is added and is instructed according to the good friend, open the camera of the terminal;
The ambient image is acquired by the image scanning function or camera function of the camera.
15. a kind of good friend's apparatus for grouping characterized by comprising
Receiving module, the good friend for being configured as receiving terminal transmission receive request, and it is the terminal base that the good friend, which receives request, Add what instruction generated in good friend, good friend's addition instruction is used to indicate the terminal and carries out good friend's addition, and the good friend connects It is included the environment description information of the terminal by request, the environment description information of the terminal sends institute for describing the terminal State environment when good friend receives request;
First enquiry module is configured as receiving request according to the good friend, and the environment description information inquired in the terminal is retouched Whether good friend was added in the target environment stated;
Second enquiry module is configured as when adding good friend in the target environment, and whether the good friend that inquiry was added It is corresponding with packet marking;
Sending module is configured as when the good friend added is corresponding with packet marking, sends grouping recommendation to the terminal Breath, the grouping recommendation information includes the corresponding packet marking of the good friend added.
16. device according to claim 15, which is characterized in that the sending module is configured as:
Count the number of the corresponding packet marking of good friend added;
When the corresponding packet marking of the good friend added number be equal to 1, generate the grouping recommendation information, the grouping Recommendation information includes the corresponding packet marking of the good friend added;
When the corresponding packet marking of the good friend added number be greater than 1, generate the grouping recommendation information, the grouping Recommendation information includes any one or more in the corresponding packet marking of the good friend added;
The grouping recommendation information is sent to the terminal.
17. device according to claim 15, which is characterized in that it includes terminal iidentification that the good friend, which receives request, described First enquiry module, comprising:
Acquisition submodule is configured as receiving request according to the good friend, obtains institute in pre-stored environment description information The corresponding environment description information of terminal iidentification is stated, the pre-stored environment description information is each terminal hair received in advance It is carried in the good friend's receiving request sent;
Judging submodule is configured as judging whether recorded the terminal in the corresponding environment description information of the terminal iidentification Environment description information;
First determines submodule, and being configured as the record in the corresponding environment description information of the terminal iidentification has the terminal When environment description information, determination added good friend in the target environment;
Second determines submodule, is configured as not recorded the terminal in the corresponding environment description information of the terminal iidentification Environment description information when, determination be not added with good friend in the target environment.
18. 5 to 17 any device according to claim 1, which is characterized in that
The environment description information includes: in geographical location information locating for the network information and the terminal of the terminal connection It is at least one.
19. device according to claim 18, which is characterized in that the network information of terminal connection includes:
At least one in the mark of the network of the terminal connection, the MAC address of the access point of the network Kind.
20. device according to claim 18, which is characterized in that geographical location information locating for the terminal is the terminal Global position system GPS address and at least one of the ambient image that obtains of the terminal.
21. device according to claim 17, which is characterized in that the environment description information includes: locating for the terminal Geographical location information, geographical location information locating for the terminal include: the ambient image that the terminal obtains, the judgement submodule Block is configured as:
Judge to be greater than in the corresponding ambient image of the terminal iidentification with the presence or absence of the ambient image obtained with the terminal and preset The image of similarity;
It is greater than default similarity when there is the ambient image obtained with the terminal in the corresponding ambient image of the terminal iidentification Image, determine in the corresponding environment description information of the terminal iidentification that record has the environment description information of the terminal;
When there is no similar greater than presetting to the ambient image that the terminal obtains in the corresponding ambient image of the terminal iidentification The image of degree determines the environment description information for not recording the terminal in the corresponding environment description information of the terminal iidentification.
22. device according to claim 17, which is characterized in that the environment description information includes: locating for the terminal Geographical location information, geographical location information locating for the terminal include: the address GPS of the terminal;The judging submodule, quilt It is configured that
Judge to miss with the presence or absence of the error with the address GPS of the terminal default in the corresponding address GPS of the terminal iidentification The address GPS in poor range;
When existing with the error of the address GPS of the terminal in the corresponding address GPS of the terminal iidentification in default error range When the interior address GPS, determine that record in the corresponding environment description information of the terminal iidentification has the environment description letter of the terminal Breath;
When there is no the errors with the address GPS of the terminal in default error model in the corresponding address GPS of the terminal iidentification When enclosing the interior address GPS, determine that the environment for not recording the terminal in the corresponding environment description information of the terminal iidentification is retouched State information.
23. device according to claim 17, which is characterized in that the environment description information includes: the terminal connection The network information, the network information of terminal connection: the mark of the network of the terminal connection;The judging submodule, quilt It is configured that
Judge in the mark of the corresponding network of the terminal iidentification with the presence or absence of identical as the mark of network that the terminal connects Mark;
When the identical mark of mark that there is the network connecting with the terminal in the mark of the corresponding network of the terminal iidentification When, determine the environment description information for recording in the corresponding environment description information of the terminal iidentification and having the terminal;
When there is no the identical marks of mark for the network connecting with the terminal in the mark of the corresponding network of the terminal iidentification When knowledge, the environment description information for not recording the terminal in the corresponding environment description information of the terminal iidentification is determined.
24. a kind of good friend's apparatus for grouping characterized by comprising
Module is obtained, is configured as adding instruction according to the good friend for being used to indicate terminal progress good friend's addition, obtains the ring of terminal Border description information, the environment description information of the terminal are used to describe the environment when terminal sends good friend's receiving request;
Generation module is configurable to generate good friend and receives request, and the good friend receives the environment that request includes the terminal and describes Information;
Sending module is configured as receiving request to the application server transmission good friend;
Receiving module is configured as receiving the grouping recommendation information that the application server is sent, the grouping recommendation information packet Packet marking is included, the packet marking is the target environment that the application server is described in the environment description information of the terminal In when adding good friend, the corresponding packet marking of the good friend added.
25. device according to claim 24, which is characterized in that the environment description information includes: the terminal connection The network information and the terminal locating at least one of geographical location information.
26. device according to claim 25, which is characterized in that the network information of terminal connection includes:
At least one in the mark of the network of the terminal connection, the MAC address of the access point of the network Kind.
27. device according to claim 25, which is characterized in that geographical location information locating for the terminal is the terminal Global position system GPS address and at least one of the ambient image that obtains of the terminal.
28. device according to claim 27, which is characterized in that the environment description information includes: locating for the terminal Geographical location information, geographical location information locating for the terminal include: the ambient image that the terminal obtains, the acquisition mould Block is configured as:
It is added and is instructed according to the good friend, open the camera of the terminal;
The ambient image is acquired by the image scanning function or camera function of the camera.
29. a kind of good friend's grouping system characterized by comprising application server and terminal,
The application server includes: any good friend's apparatus for grouping of claim 15 to 23;
The terminal includes: any good friend's apparatus for grouping of claim 24 to 28.
30. a kind of good friend's apparatus for grouping characterized by comprising
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
The good friend that reception terminal is sent receives request, and it is that the terminal is generated based on good friend's addition instruction that the good friend, which receives request, , the good friend adds instruction and is used to indicate terminal progress good friend's addition, and it includes the terminal that the good friend, which receives request, Environment description information, the environment description information of the terminal is used to describe the terminal and sends when the good friend receives request Environment;
Receive request according to the good friend, inquires in the target environment of the environment description information description of the terminal and whether add Cross good friend;
When adding good friend in the target environment, inquire whether the good friend added is corresponding with packet marking;
When the good friend added is corresponding with packet marking, grouping recommendation information, the grouping recommendation are sent to the terminal Breath includes the corresponding packet marking of good friend added.
31. a kind of good friend's apparatus for grouping characterized by comprising
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
Instruction is added according to the good friend for being used to indicate terminal progress good friend's addition, obtains the environment description information of terminal, the end The environment description information at end is used to describe the environment when terminal sends good friend's receiving request;
It generates good friend and receives request, the good friend receives the environment description information that request includes the terminal;
The good friend, which is sent, to application server receives request;
The grouping recommendation information that the application server is sent is received, the grouping recommendation information includes packet marking, and described point When group echo is that the application server added good friend in the target environment that the environment description information of the terminal describes, add The corresponding packet marking of the good friend added.
32. a kind of good friend's grouping system characterized by comprising application server and terminal,
The application server includes: good friend's apparatus for grouping described in claim 30;
The terminal includes: good friend's apparatus for grouping described in 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 CN105577521A (en) 2016-05-11
CN105577521B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354532B (en) * 2016-08-26 2020-03-17 北京小米移动软件有限公司 Application account information processing method and device
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

Family Cites Families (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
CN101465917B (en) * 2009-01-09 2011-06-08 华为终端有限公司 Method for grouping communication terminal information and communication terminal
CN103346952B (en) * 2013-05-28 2017-03-01 小米科技有限责任公司 A kind of method and device adding group
CN104468329B (en) * 2014-12-02 2018-02-02 小米科技有限责任公司 Member adding method and device based on instant messaging
CN104580431A (en) * 2014-12-27 2015-04-29 北京奇虎科技有限公司 Communication group configuration method and device
CN104932455B (en) * 2015-04-27 2018-04-13 小米科技有限责任公司 The group technology and apparatus for grouping of smart machine in intelligent domestic system

Also Published As

Publication number Publication date
CN105577521A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN104506410B (en) The method and apparatus of instant messaging
EP3151507A1 (en) Methods and apparatuses for controlling device
CN106209800B (en) Equipment Authority sharing method and apparatus
CN105468767B (en) Card information acquisition methods and device
CN106231378A (en) The display packing of direct broadcasting room, Apparatus and system
JP2016535523A (en) Network connection method, apparatus, program, and recording medium
CN104320830B (en) The display methods and device of wireless device list, wireless device and its broadcasting method
CN106254467A (en) Sharing files method and device
CN105554064B (en) The method and device of head portrait is set
KR101810514B1 (en) Methods, devices, program and recording medium for calling based on cloud card
CN108307308B (en) Positioning method, device and storage medium for wireless local area network equipment
CN105704655A (en) Media data sharing method and media data sharing device between terminals
CN105208176B (en) Contact person record processing method and processing device
CN107426489A (en) Processing method, device and terminal during shooting image
CN108173744A (en) Information processing method and equipment
CN105979480A (en) Method and device for updating time of mobile equipment
CN105407160B (en) Interface display method and device
CN109451811A (en) Unmanned plane management method and device, electronic equipment and computer readable storage medium
CN105577521B (en) Good friend's group technology, apparatus and system
CN109075856A (en) flight path configuration method and device
CN105554087A (en) Information setting method and device
CN105843894A (en) Information recommending method and device
CN109451810A (en) Unmanned aerial vehicle (UAV) control method and device, unmanned plane and equipment of the core network
CN105245681B (en) Label addition method and device
CN110673732A (en) Scene sharing method, device, system, electronic equipment and storage medium

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