CN108924359A - Friend recommendation method, friend recommendation device and electronic equipment - Google Patents
Friend recommendation method, friend recommendation device and electronic equipment Download PDFInfo
- Publication number
- CN108924359A CN108924359A CN201810749696.6A CN201810749696A CN108924359A CN 108924359 A CN108924359 A CN 108924359A CN 201810749696 A CN201810749696 A CN 201810749696A CN 108924359 A CN108924359 A CN 108924359A
- Authority
- CN
- China
- Prior art keywords
- user
- mobile terminal
- movement terminal
- terminal
- information
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Abstract
The present invention is suitable for field of communication technology, provides a kind of friend recommendation method, friend recommendation device, electronic equipment and computer readable storage medium, the friend recommendation method and includes:Judge whether first movement terminal is in given scenario;If the first movement terminal is in the given scenario, the facility information of the second mobile terminal in the given scenario is obtained;The facility information is uploaded to server, wherein the facility information is used to indicate the server and carries out friend recommendation;Receive the recommendation message that the server is sent.The present invention can be when the mobile terminal of user be in given scenario, and by server recommendation, there are other users of specified relationship with it, improves the convenience that user adds good friend.
Description
Technical field
The invention belongs to field of communication technology more particularly to a kind of friend recommendation methods, friend recommendation device, electronic equipment
And computer readable storage medium.
Background technique
Current mobile terminal, such as phone wrist-watch have become the main tool of the daily social communication of children population, example
Such as, parent can be equipped with phone wrist-watch generally for children, and children can be with being equally equipped with the classmate of phone wrist-watch by phone wrist-watch
Good friend is added, voice-enabled chat or the exchange of other forms can be carried out between good friend.
For such mobile terminal being equipped with for children population, current commonplace plusing good friend mode has:Pass through bluetooth
Pairing connection add good friend, or add good friend by searching for the title of good friend's registration.However, these modes require
Children actively carry out, and for children population, operate relatively complicated also not convenient enough, poor user experience.
Summary of the invention
It can in view of this, the present invention provides a kind of friend recommendation method, friend recommendation device, electronic equipment and computers
Storage medium is read, the problem not convenient enough using mobile terminal addition good friend of children in the prior art is able to solve.
The first aspect of the present invention provides a kind of friend recommendation method, is applied to mobile terminal, the friend recommendation side
Method includes:
Judge whether first movement terminal is in given scenario;
If the first movement terminal is in the given scenario, the second mobile terminal in the given scenario is obtained
Facility information;
The facility information is uploaded to server, wherein the facility information is used to indicate the server and is based on institute
Facility information is stated, is judged in the corresponding user of second mobile terminal with the presence or absence of corresponding with the first movement terminal the
One user is there are the second user of specified relationship, when there are the second users, and, the second user is not described first to use
When the good friend at family, recommendation message is sent to the first movement terminal, the recommendation message is to add the second user preferably
The message of friend;
Receive the recommendation message that the server is sent.
The second aspect of the present invention provides a kind of friend recommendation method, is applied to server, the friend recommendation method
Including:
Receive the first information that first movement terminal uploads, wherein the first information is at the first movement terminal
The facility information of the second mobile terminal in the given scenario obtained when given scenario;
Based on the first information, judge to move in the corresponding user of second mobile terminal with the presence or absence of with described first
There are the second users of specified relationship by dynamic corresponding first user of terminal;
The second user if it exists, and, the second user is not the good friend of first user, then to described first
Mobile terminal sends recommendation message, and the recommendation message is to add the message that the second user is good friend.
The third aspect of the present invention provides a kind of friend recommendation device, is applied to mobile terminal, the friend recommendation dress
Set including:
Judging unit, for judging whether first movement terminal is in given scenario;
Acquiring unit obtains if determining that the first movement terminal is in the given scenario for the judging unit
Take the facility information of the second mobile terminal in the given scenario;
Uploading unit, the facility information for obtaining the acquiring unit are uploaded to server, wherein the equipment letter
Breath is used to indicate the server and is based on the facility information, judges to whether there is in the corresponding user of second mobile terminal
The first user corresponding with the first movement terminal is there are the second user of specified relationship, when there are the second users, and,
When the second user is not the good friend of first user, recommendation message, the recommendation are sent to the first movement terminal
Message is to add the message that the second user is good friend;
Receiving unit, the recommendation message sent for receiving the server.
The fourth aspect of the present invention provides a kind of friend recommendation device, is applied to server, the friend recommendation device
Including:
Receiving unit, for receiving the first information of first movement terminal upload, wherein the first information is described the
One mobile terminal is in the facility information of the second mobile terminal in the given scenario obtained when given scenario;
Judging unit judges that second mobile terminal is corresponding for being based on the received first information of the receiving unit
User in there are the second users of specified relationship with the presence or absence of the first user corresponding with the first movement terminal;
Transmission unit, if determine that there are the second users for the judging unit, and, the second user is not institute
The good friend of the first user is stated, then sends recommendation message to the first movement terminal, the recommendation message is addition described second
User is the message of good friend.
The fifth aspect of the present invention provides a kind of electronic equipment, including memory, processor and is stored in described deposit
In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program
The step of any one above-mentioned friend recommendation method applied to mobile terminal, alternatively, the processor executes the computer journey
It is realized when sequence such as the step of any one above-mentioned friend recommendation method applied to server.
The sixth aspect of the present invention provides a kind of computer readable storage medium, and the computer readable storage medium is deposited
Computer program is contained, is realized when the computer program is executed by processor as any one is above-mentioned applied to the good of mobile terminal
The step of friendly recommended method, is applied to service as any one is above-mentioned alternatively, realizing when the computer program is executed by processor
The step of friend recommendation method of device.
Existing beneficial effect is the present invention compared with prior art:
The present invention is applied to mobile terminal, by judging whether first movement terminal is in given scenario;If described first
Mobile terminal is in the given scenario, then obtains the facility information of the second mobile terminal in the given scenario;It will be described
Facility information is uploaded to server, by server based on upload facility information be the first movement terminal user recommend and its
There are the users of specified relationship;The user of the first movement terminal can receive server transmission recommendation message, and directly into
The operation of row addition good friend;As it can be seen that the present invention carries out the matching operation of mobile terminal without user to mobile terminal side,
Search without user the operation of good friend's user name, can be existed by server recommendation with it and be referred to when being in given scenario
The other users for determining relationship improve the convenience that user adds good friend.
The present invention is applied to server, the first information uploaded by receiving first movement terminal;Based on the first information, sentence
With the presence or absence of the first user corresponding with first movement terminal, there are specified relationships in the disconnected corresponding user of second mobile terminal
Second user;The second user if it exists, and, the second user is not the good friend of first user, then to described
One mobile terminal sends recommendation message, and the recommendation message is to add the message that the second user is good friend;Due to the first letter
Breath is the facility information that first movement terminal is in the second mobile terminal in the given scenario obtained when given scenario, clothes
Business device can be based on the facility information, find out to exist in the corresponding user of the second mobile terminal with first movement terminal user and specify
The second user of relationship, and then the second user is recommended into the first user;It is needed to avoid the first user to a certain extent
Second user is actively searched by user name or add second user with Peer by mobile terminal
Friend improves the convenience that user adds good friend.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the friend recommendation method provided in an embodiment of the present invention applied to mobile terminal;
Fig. 2 is the implementation flow chart of the friend recommendation method provided in an embodiment of the present invention applied to server;
Fig. 3 is the structural schematic diagram of the friend recommendation device provided in an embodiment of the present invention applied to mobile terminal;
Fig. 4 is the structural schematic diagram of the friend recommendation device provided in an embodiment of the present invention applied to server;
Fig. 5 is the schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
To make the object, technical solutions and advantages of the present invention clearer, pass through specific embodiment below in conjunction with attached drawing
To be illustrated.
Referring to Fig. 1, it illustrates the realizations of the friend recommendation method provided in an embodiment of the present invention applied to mobile terminal
Flow chart, details are as follows:
In a step 101, judge whether first movement terminal is in given scenario;
In embodiments of the present invention, first movement terminal is the terminal that user side carries, which can be
Smartwatch, for example it is suitable for the phone wrist-watch for having telephony feature that children population is worn.
In embodiments of the present invention, the given scenario is related with the affiliated group of the good friend of recommendation, for example, given scenario
For school classroom when, to the first movement terminal recommend good friend then belong to the of the same class of the corresponding user of the first movement terminal
Classmate.
Optionally, above-mentioned steps 101 include:Judge whether the first movement terminal is in the classroom of school.
In the embodiment of the present invention, recommending it to correspond to the classmate of user to first movement terminal when needs is pair for adding good friend
As when, given scenario can be school classroom.
Judge whether the first movement terminal is in the classroom of school specifically, above-mentioned, following steps can be passed through
It realizes:
Step A, the location information of the first movement terminal is obtained;
Step B, the step counting information of the first movement terminal is obtained;
Step C, it is based on the location information, judges whether the first movement terminal is located at school;
If step D, the described first movement terminal is located at school, and, the step number of the step counting information increases in preset duration
Dosage is less than preset value, then determines that the first movement terminal is in the classroom of school.
In embodiments of the present invention, for first movement terminal equipped with locating module, which can be GPS positioning mould
Block or Beidou positioning module obtain the location information of first movement terminal by locating module, that is, the first movement is whole
End is presently in the geographical location information of position;The position that first movement terminal is currently located can be known according to location information,
For example, can know whether first movement terminal is currently in school, namely judge whether the user of first movement terminal is learning
In the school.
In embodiments of the present invention, first movement terminal is available by motion sensor equipped with motion sensor
The step counting information of first movement terminal.
In embodiments of the present invention, as user in the classroom of school upper class hour, largely its step counting information is one
Too big variation will not occur for (time in classroom) in fixing time, and therefore, be located at school in first movement terminal, and, when default
When the step number incrementss of its step counting information are less than preset value in long, it is possible to determine that first movement terminal is in the classroom of school,
That is, under the situation, it can be determined that the user of the first movement terminal just attends class in classroom.For example, the preset duration
It can be 20 minutes or 30 minutes, specifically refer to time in classroom and be determined, the preset value can be 5 steps, 10 steps
Or 20 steps, it is moved for indicating that in corresponding preset duration, more position does not occur in special scenes (in classroom) for user
Dynamic (class period).
If in a step 102, the first movement terminal is in the given scenario, obtain in the given scenario
The facility information of second mobile terminal;
In embodiments of the present invention, when first movement terminal is in the given scenario, the available given scenario
In the second mobile terminal facility information, herein, which can be one, be also possible to it is multiple, it is unlimited
Its fixed quantity.
Specifically, in embodiments of the present invention, first movement terminal and the second mobile terminal are each equipped with bluetooth module,
And Bluetooth function is opened, the facility information of the second mobile terminal in the above-mentioned acquisition given scenario can be search
The Bluetooth information of the second mobile terminal in the given scenario, the equipment using Bluetooth information as each second mobile terminal is identified
Information.
In step 103, the facility information is uploaded to server, wherein the facility information is used to indicate described
Server is based on the facility information, judges to whether there is and the first movement in the corresponding user of second mobile terminal
Corresponding first user of terminal is there are the second user of specified relationship, when there are the second users, and, the second user is not
For first user good friend when, to the first movement terminal send recommendation message, the recommendation message be addition described in
Second user is the message of good friend;
In embodiments of the present invention, the second mobile terminal in the given scenario that first movement terminal will acquire
Facility information be uploaded to server, in order to the facility information that server is uploaded based on first movement terminal, determine therein
Destination mobile terminal, goal mobile terminal refers to the first user corresponding with first movement terminal, and there are specified relationships
The corresponding mobile terminal of second user, herein, when given scenario is the classroom of school, which is classmate pass
System.
It should be noted that the quantity of determining destination mobile terminal may be one here, it is also possible to be multiple.
You need to add is that server determines that the process of destination mobile terminal can take following mode:
Judge in second mobile terminal with the presence or absence of destination mobile terminal, wherein the destination mobile terminal be
In the period of the first movement terminal uploading device information, setting for the first movement terminal is uploaded to the server
Second mobile terminal of standby information;
The destination mobile terminal if it exists then determines that the corresponding user of the destination mobile terminal is to use with described first
There are the second users of specified relationship at family.
In embodiments of the present invention, when while server is by judging first movement terminal uploading device information or close
In, whether there is the facility information for uploading first movement terminal in each second mobile terminal in the facility information of upload
Second mobile terminal, if so, then determining that this uploads the second mobile terminal of the facility information of first movement terminal corresponding
Two users are that there are the users of specified relationship by the first user corresponding with first movement terminal.That is, when two mobile terminals exist
When with the facility information for uploading other side in the period to server, it is specified to determine that the corresponding user of two mobile terminals exists
Relationship.
Illustratively, first movement terminal A has searched the second mobile terminal B's and the second mobile terminal C at classroom
Facility information, and it is uploaded to server;Whether server may determine that the second mobile terminal B and the second mobile terminal C same
The facility information of first movement terminal A is uploaded in period, if the second mobile terminal B uploads first within the same period
The facility information of mobile terminal A, the second mobile terminal C upload the facility information of first movement terminal A not within the same period,
Then this judgement result is:The corresponding user of second mobile terminal B user corresponding with first movement terminal A is classmate pass
System, and the corresponding user of the second mobile terminal C user corresponding with first movement terminal A is not classmate's relationship, is based on the judgement
As a result, can recommend the corresponding user of the second mobile terminal B of addition to the corresponding user of first movement terminal A is good friend.
Both it should be noted that herein, the same period refers to that the uplink time of the two is close, for example can set
The time interval of upload is then considered as the same period within 10 minutes.
At step 104, the recommendation message that the server is sent is received.
In embodiments of the present invention, first movement terminal receives the recommendation message that server is sent, which recommends
Good friend be that there are the users of specified relationship by the user corresponding with first movement terminal of server judgement, be largely the
Good friend to be added needed for one mobile terminal user, for example, it is good friend that its classmate is added in user demand, but it is in the prior art
Scheme needs user and its classmate to carry out the Bluetooth pairing of mobile terminal, or the user name for needing user to search for its classmate carries out
Addition, and the recommendation message of server can be then directly received using the solution of the present invention, recommendation message recommended user adds
The good friend's object added is the classmate of the user, therefore user can directly add after receiving recommendation message, efficient and convenient.
From the foregoing, it will be observed that the present invention is applied to mobile terminal, by judging whether first movement terminal is in given scenario;If
The first movement terminal is in the given scenario, then obtains the equipment letter of the second mobile terminal in the given scenario
Breath;The facility information is uploaded to server, the facility information by server based on upload is the use of the first movement terminal
There are the users of specified relationship with it for family recommendation;The recommendation that the user of the first movement terminal can receive server transmission disappears
Breath, and directly it is added the operation of good friend;As it can be seen that the present invention carries out mobile terminal without user to mobile terminal side
Matching operation search without user the operation of good friend's user name, can be recommended when being in given scenario by server
There are other users of specified relationship with it, improve the convenience that user adds good friend.
Fig. 2 shows the implementation flow charts of the friend recommendation method provided in an embodiment of the present invention applied to server, in detail
It states as follows:
In step 201, the first information that first movement terminal uploads is received, wherein the first information is described the
One mobile terminal is in the facility information of the second mobile terminal in the given scenario obtained when given scenario;
In embodiments of the present invention, first movement terminal is the terminal that user side carries, which can be
Smartwatch, for example it is suitable for the phone wrist-watch for having telephony feature that children population is worn.
In embodiments of the present invention, the given scenario is related with the affiliated group of the good friend of recommendation, for example, given scenario
For school classroom when, to the first movement terminal recommend good friend then belong to the of the same class of the corresponding user of the first movement terminal
Classmate.
Illustratively, when needing that it is recommended to correspond to the classmate of user to first movement terminal is to add the object of good friend,
Given scenario can be the classroom of school.
In step 202, it is based on the first information, judges to whether there is in the corresponding user of second mobile terminal
There are the second users of specified relationship by the first user corresponding with the first movement terminal;
In embodiments of the present invention, the first information that server is uploaded according to first movement terminal, it can be determined that second moves
With the presence or absence of the first user corresponding with the first movement terminal, there are the second of specified relationship in the dynamic corresponding user of terminal
User.Namely the destination mobile terminal in determining second mobile terminal, goal mobile terminal refers to and first movement end
Holding corresponding first user, there are the corresponding mobile terminals of the second user of specified relationship, herein, when given scenario is school
Classroom when, the specified relationship be classmate's relationship.
It should be noted that the quantity of determining destination mobile terminal may be one here, it is also possible to be multiple.
Specifically, can be judged in the following manner:
Judge in second mobile terminal with the presence or absence of destination mobile terminal, wherein the destination mobile terminal be
The first movement terminal uploaded in the period where the first information, uploaded the first movement to the server
Second mobile terminal of the facility information of terminal;
The destination mobile terminal if it exists then determines that the corresponding user of the destination mobile terminal is to use with described first
There are the second users of specified relationship at family.
In embodiments of the present invention, when while server is by judging first movement terminal uploading device information or close
In, whether there is the facility information for uploading first movement terminal in each second mobile terminal in the facility information of upload
Second mobile terminal, if so, then determining that this uploads the second mobile terminal of the facility information of first movement terminal corresponding
Two users are that there are the users of specified relationship by the first user corresponding with first movement terminal.That is, when two mobile terminals exist
When with the facility information for uploading other side in the period to server, it is specified to determine that the corresponding user of two mobile terminals exists
Relationship.
Illustratively, first movement terminal A has searched the second mobile terminal B's and the second mobile terminal C at classroom
Facility information, and it is uploaded to server;Whether server may determine that the second mobile terminal B and the second mobile terminal C same
The facility information of first movement terminal A is uploaded in period, if the second mobile terminal B uploads first within the same period
The facility information of mobile terminal A, the second mobile terminal C upload the facility information of first movement terminal A not within the same period,
Then this judgement result is:The corresponding user of second mobile terminal B user corresponding with first movement terminal A is classmate pass
System, and the corresponding user of the second mobile terminal C user corresponding with first movement terminal A is not classmate's relationship, is based on the judgement
As a result, can recommend the corresponding user of the second mobile terminal B of addition to the corresponding user of first movement terminal A is good friend.
Both it should be noted that herein, the same period refers to that the uplink time of the two is close, for example can set
The time interval of upload is then considered as the same period within 10 minutes.
In step 203, the second user if it exists, and, the second user is not the good friend of first user,
Recommendation message then is sent to the first movement terminal, the recommendation message is to add the message that the second user is good friend.
In embodiments of the present invention, when there are the second users for server judgement, and, the second user is not described
When the good friend of the first user, the recommendation message for recommending addition second user to be good friend can be sent to the first movement terminal.
Second user directly can be added to good friend when receiving the recommendation message for first movement terminal by the recommendation message.
Optionally, the second user if it exists, and, the second user is not the good friend of first user, then obtains
Taking in the good friend of the second user is not the target user of the good friend of first user;
The recommendation message for recommending to add that the target user is good friend is sent to the first movement terminal.
In embodiments of the present invention, when determining second user and the first user, there are specified relationships, such as there are classmate passes
Target user in the good friend of second user not for the first user good friend can also be recommended the first user, in order to expand by system
The friend circle of big first user.
From the foregoing, it will be observed that the present invention is applied to server, the first information uploaded by receiving first movement terminal;Based on
One information judges to refer in the corresponding user of the second mobile terminal with the presence or absence of the first user corresponding with first movement terminal presence
Determine the second user of relationship;The second user if it exists, and, the second user is not the good friend of first user, then
Recommendation message is sent to the first movement terminal, the recommendation message is to add the message that the second user is good friend;By
The second mobile terminal in the given scenario obtained when the first information is in given scenario for first movement terminal is set
Standby information, server can be based on the facility information, find out in the corresponding user of the second mobile terminal and use with first movement terminal
There are the second users of specified relationship at family, and then the second user is recommended the first user;To avoid to a certain extent
First user needs actively to search second user by user name or match Peer for second by mobile terminal
User adds good friend, improves the convenience that user adds good friend.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
The following are the device of the invention embodiments can refer to above-mentioned corresponding the details of wherein not detailed description
Embodiment of the method.
Fig. 3 shows the structural schematic diagram of the friend recommendation device provided in an embodiment of the present invention applied to mobile terminal,
For ease of description, only parts related to embodiments of the present invention are shown, and details are as follows:
As shown in figure 3, friend recommendation device 3 includes:First judging unit 31, first acquisition unit 32, uploading unit 33
With receiving unit 34.
First judging unit 31, for judging whether first movement terminal is in given scenario;
First acquisition unit 32, if determining that the first movement terminal is in the specified field for the first judging unit 31
Scape then obtains the facility information of the second mobile terminal in the given scenario;
Uploading unit 33, the facility information for obtaining first acquisition unit 32 are uploaded to server, wherein described to set
Standby information is used to indicate the server and is based on the facility information, judge in the corresponding user of second mobile terminal whether
In the presence of the first user corresponding with the first movement terminal, there are the second users of specified relationship, to use when there are described second
Family, and, when the second user is not the good friend of first user, recommendation message, institute are sent to the first movement terminal
Stating recommendation message is to add the message that the second user is good friend;
Receiving unit 34, the recommendation message sent for receiving the server.
Optionally, judging unit 31 is specifically used for, and judges whether the first movement terminal is in the classroom of school.
Optionally, friend recommendation device 3 further includes:
Second acquisition unit, for obtaining the location information of the first movement terminal;
Third acquiring unit, for obtaining the step counting information of the first movement terminal;
Second judgment unit, the location information for being obtained based on the second acquisition unit, judges the first movement
Whether terminal is located at school;
First judging unit 31 is specifically also used to, if the first movement terminal is located at school, and, the institute in preset duration
The step number incrementss for stating the step counting information of third acquiring unit acquisition are less than preset value, then determine that the first movement terminal is in
In the classroom of school.
From the foregoing, it will be observed that the present invention is by judging whether first movement terminal is in given scenario;If the first movement is whole
End is in the given scenario, then obtains the facility information of the second mobile terminal in the given scenario;The equipment is believed
Breath is uploaded to server, is existed for user's recommendation of the first movement terminal with it by server based on the facility information of upload and is referred to
Determine the user of relationship;The user of the first movement terminal can receive the recommendation message of server transmission, and directly be added
The operation of good friend;As it can be seen that mobile terminal side, the present invention carries out the matching operation of mobile terminal without user, without with
Family search the operation of good friend's user name, can be when being in given scenario, and by server recommendation, there are specified relationships with it
Other users, improve user add good friend convenience.
Fig. 4 shows the structural schematic diagram of the friend recommendation device provided in an embodiment of the present invention applied to server, is
Convenient for explanation, only parts related to embodiments of the present invention are shown, details are as follows:
As shown in figure 4, friend recommendation device 4 includes:Receiving unit 41, judging unit 42 and transmission unit 43.
Receiving unit 41, for receiving the first information of first movement terminal upload, wherein the first information is described
First movement terminal is in the facility information of the second mobile terminal in the given scenario obtained when given scenario;
Judging unit 42 judges that second mobile terminal is corresponding for being based on the received first information of receiving unit 41
User in there are the second users of specified relationship with the presence or absence of the first user corresponding with the first movement terminal;
Transmission unit 43, if determine that there are the second users for judging unit 42, and, the second user is not institute
The good friend of the first user is stated, then sends recommendation message to the first movement terminal, the recommendation message is addition described second
User is the message of good friend.
Optionally, judging unit 42 is specifically used for judging in second mobile terminal with the presence or absence of destination mobile terminal,
Wherein, the destination mobile terminal is in the period where uploading the first information in the first movement terminal, to institute
State the second mobile terminal that server uploads the facility information of the first movement terminal;The target is mobile eventually if it exists
End then determines that the corresponding user of the destination mobile terminal is that there are the second users of specified relationship with first user.
Transmission unit 43 is also used to:The second user if it exists, and, the second user is not first user
Good friend then obtains in the good friend of the second user for the target user of the good friend of first user, and to described first
Mobile terminal sends the recommendation message for recommending to add that the target user is good friend.
From the foregoing, it will be observed that the present invention is applied to server, the first information uploaded by receiving first movement terminal;Based on
One information judges to refer in the corresponding user of the second mobile terminal with the presence or absence of the first user corresponding with first movement terminal presence
Determine the second user of relationship;The second user if it exists, and, the second user is not the good friend of first user, then
Recommendation message is sent to the first movement terminal, the recommendation message is to add the message that the second user is good friend;By
The second mobile terminal in the given scenario obtained when the first information is in given scenario for first movement terminal is set
Standby information, server can be based on the facility information, find out in the corresponding user of the second mobile terminal and use with first movement terminal
There are the second users of specified relationship at family, and then the second user is recommended the first user;To avoid to a certain extent
First user needs actively to search second user by user name or match Peer for second by mobile terminal
User adds good friend, improves the convenience that user adds good friend.
Fig. 5 is the schematic diagram for the electronic equipment that one embodiment of the invention provides.As shown in figure 5, the electronics of the embodiment is set
Standby 5 include:Processor 50, memory 51 and it is stored in the meter that can be run in the memory 51 and on the processor 50
Calculation machine program 52.Above-mentioned each friend recommendation method may be implemented in the processor 50 when executing the computer program 52 implements
Step in example.Alternatively, the processor 50 realizes each mould in above-mentioned each Installation practice when executing the computer program 52
Block/unit function.
For example, electronic equipment 5 is mobile terminal, figure is may be implemented when executing the computer program 52 in the processor 50
Step 101 shown in 1 is to step 104.Alternatively, the processor 50 realizes list shown in Fig. 3 when executing the computer program 52
The function of member 31 to 34.
In another example electronic equipment 5 is server, figure is may be implemented when executing the computer program 52 in the processor 50
Step 201 shown in 2 is to step 203.Alternatively, the processor 50 realizes list shown in Fig. 4 when executing the computer program 52
The function of member 41 to 43.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the electronic equipment 5 is described.For example, the computer program 52 can be divided
It is cut into judging unit, acquiring unit, uploading unit and receiving unit, each unit concrete function is as follows:
Judging unit, for judging whether first movement terminal is in given scenario;
Acquiring unit obtains if determining that the first movement terminal is in the given scenario for the judging unit
Take the facility information of the second mobile terminal in the given scenario;
Uploading unit, the facility information for obtaining the acquiring unit are uploaded to server, wherein the equipment letter
Breath is used to indicate the server and is based on the facility information, judges to whether there is in the corresponding user of second mobile terminal
The first user corresponding with the first movement terminal is there are the second user of specified relationship, when there are the second users, and,
When the second user is not the good friend of first user, recommendation message, the recommendation are sent to the first movement terminal
Message is to add the message that the second user is good friend;
Receiving unit, the recommendation message sent for receiving the server.
The electronic equipment 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The electronic equipment may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5
The only example of electronic equipment 5 does not constitute the restriction to electronic equipment 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the electronic equipment can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the electronic equipment 5, such as the hard disk or interior of electronic equipment 5
It deposits.The memory 51 is also possible to the External memory equipment of the electronic equipment 5, such as be equipped on the electronic equipment 5
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the electronic equipment 5
Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the electronic equipment
Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/electronic equipment and method, it can be with
It realizes by another way.For example, device described above/electronic equipment embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that:It still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of friend recommendation method, which is characterized in that be applied to mobile terminal, the friend recommendation method includes:
Judge whether first movement terminal is in given scenario;
If the first movement terminal is in the given scenario, setting for the second mobile terminal in the given scenario is obtained
Standby information;
The facility information is uploaded to server, wherein the facility information is used to indicate the server and is based on described set
Standby information judges to use in the corresponding user of second mobile terminal with the presence or absence of corresponding with the first movement terminal first
Family is there are the second user of specified relationship, when there are the second users, and, the second user is not first user
When good friend, recommendation message is sent to the first movement terminal, the recommendation message is that add the second user be good friend's
Message;
Receive the recommendation message that the server is sent.
2. friend recommendation method according to claim 1, which is characterized in that described to judge whether first movement terminal is in
Given scenario, including:
Judge whether the first movement terminal is in the classroom of school.
3. friend recommendation method according to claim 2, which is characterized in that described whether to judge the first movement terminal
In classroom in school, including:
Obtain the location information of the first movement terminal;
Obtain the step counting information of the first movement terminal;
Based on the location information, judge whether the first movement terminal is located at school;
If the first movement terminal is located at school, and, the step number incrementss of the step counting information are less than pre- in preset duration
If value, then determine that the first movement terminal is in the classroom of school.
4. a kind of friend recommendation method, which is characterized in that be applied to server, the friend recommendation method includes:
Receive the first information that first movement terminal uploads, wherein the first information is that the first movement terminal is in finger
Determine the facility information of the second mobile terminal in the given scenario obtained when scene;
Based on the first information, judge in the corresponding user of second mobile terminal with the presence or absence of whole with the first movement
Holding corresponding first user, there are the second users of specified relationship;
The second user if it exists, and, the second user is not the good friend of first user, then to the first movement
Terminal sends recommendation message, and the recommendation message is to add the message that the second user is good friend.
5. friend recommendation method according to claim 4, which is characterized in that it is described to be based on the first information, judge institute
It states in the corresponding user of the second mobile terminal and there is specified close with the presence or absence of the first user corresponding with the first movement terminal
The second user of system, including:
Judge in second mobile terminal with the presence or absence of destination mobile terminal, wherein the destination mobile terminal is described
First movement terminal uploaded in the period where the first information, uploaded the first movement terminal to the server
Facility information the second mobile terminal;
The destination mobile terminal if it exists then determines that the corresponding user of the destination mobile terminal is to deposit with first user
In the second user of specified relationship.
6. friend recommendation method according to claim 4 or 5, which is characterized in that the friend recommendation method includes:
The second user if it exists, and, the second user is not the good friend of first user, then obtains described second and use
It is not the target user of the good friend of first user in the good friend at family;
The recommendation message for recommending to add that the target user is good friend is sent to the first movement terminal.
7. a kind of friend recommendation device, which is characterized in that be applied to mobile terminal, the friend recommendation device includes:
Judging unit, for judging whether first movement terminal is in given scenario;
Acquiring unit obtains institute if determining that the first movement terminal is in the given scenario for the judging unit
State the facility information of the second mobile terminal in given scenario;
Uploading unit, the facility information for obtaining the acquiring unit are uploaded to server, wherein the facility information is used
In indicating that the server is based on the facility information, judge to whether there is in the corresponding user of second mobile terminal and institute
Corresponding first user of first movement terminal is stated there are the second user of specified relationship, when there are the second users, and, it is described
When second user is not the good friend of first user, recommendation message, the recommendation message are sent to the first movement terminal
To add the message that the second user is good friend;
Receiving unit, the recommendation message sent for receiving the server.
8. a kind of friend recommendation device, which is characterized in that be applied to server, the friend recommendation device includes:
Receiving unit, for receiving the first information of first movement terminal upload, wherein the first information is first shifting
Dynamic terminal is in the facility information of the second mobile terminal in the given scenario obtained when given scenario;
Judging unit judges the corresponding use of second mobile terminal for being based on the received first information of the receiving unit
With the presence or absence of the first user corresponding with the first movement terminal, there are the second users of specified relationship in family;
Transmission unit, if determine that there are the second users for the judging unit, and, the second user is not described the
The good friend of one user, then send recommendation message to the first movement terminal, and the recommendation message is to add the second user
For the message of good friend.
9. a kind of electronic equipment, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claims 1 to 3 when executing the computer program
The step of any one the method, alternatively, the processor realizes such as claim 4 to 6 times when executing the computer program
The step of one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claims 1 to 3 of realization the method, alternatively, institute
It states and is realized when computer program is executed by processor such as the step of any one of claim 4 to 6 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810749696.6A CN108924359A (en) | 2018-07-10 | 2018-07-10 | Friend recommendation method, friend recommendation device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810749696.6A CN108924359A (en) | 2018-07-10 | 2018-07-10 | Friend recommendation method, friend recommendation device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108924359A true CN108924359A (en) | 2018-11-30 |
Family
ID=64411179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810749696.6A Pending CN108924359A (en) | 2018-07-10 | 2018-07-10 | Friend recommendation method, friend recommendation device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924359A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102332940A (en) * | 2011-07-29 | 2012-01-25 | 上海合合信息科技发展有限公司 | Data transmission method and system making use of Bluetooth wireless technology |
CN102427378A (en) * | 2011-07-29 | 2012-04-25 | 上海合合信息科技发展有限公司 | Data transmission method using bluetooth technology and acceleration sensing technology and system thereof |
CN102546801A (en) * | 2012-01-09 | 2012-07-04 | 北京风灵创景科技有限公司 | Ambient-equipment-list-based mobile terminal matching method and system |
CN104618472A (en) * | 2015-01-26 | 2015-05-13 | 上海华豚科技有限公司 | Mobile communication device contact information maintenance method and system |
CN104836725A (en) * | 2015-03-31 | 2015-08-12 | 北京奇艺世纪科技有限公司 | Method and device used for adding friend users |
CN105871687A (en) * | 2016-03-21 | 2016-08-17 | 广东小天才科技有限公司 | Method and system for recommending friend |
CN105959909A (en) * | 2016-04-26 | 2016-09-21 | 广东小天才科技有限公司 | Method and system for recommending friends |
CN107995099A (en) * | 2017-11-24 | 2018-05-04 | 广东欧珀移动通信有限公司 | Friend recommendation method and device |
-
2018
- 2018-07-10 CN CN201810749696.6A patent/CN108924359A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102332940A (en) * | 2011-07-29 | 2012-01-25 | 上海合合信息科技发展有限公司 | Data transmission method and system making use of Bluetooth wireless technology |
CN102427378A (en) * | 2011-07-29 | 2012-04-25 | 上海合合信息科技发展有限公司 | Data transmission method using bluetooth technology and acceleration sensing technology and system thereof |
CN102546801A (en) * | 2012-01-09 | 2012-07-04 | 北京风灵创景科技有限公司 | Ambient-equipment-list-based mobile terminal matching method and system |
CN104618472A (en) * | 2015-01-26 | 2015-05-13 | 上海华豚科技有限公司 | Mobile communication device contact information maintenance method and system |
CN104836725A (en) * | 2015-03-31 | 2015-08-12 | 北京奇艺世纪科技有限公司 | Method and device used for adding friend users |
CN105871687A (en) * | 2016-03-21 | 2016-08-17 | 广东小天才科技有限公司 | Method and system for recommending friend |
CN105959909A (en) * | 2016-04-26 | 2016-09-21 | 广东小天才科技有限公司 | Method and system for recommending friends |
CN107995099A (en) * | 2017-11-24 | 2018-05-04 | 广东欧珀移动通信有限公司 | Friend recommendation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105630977B (en) | Application program recommended method, apparatus and system | |
Pticek et al. | Beyond the internet of things: the social networking of machines | |
CN107306355B (en) | A kind of content recommendation method and server | |
US20150371553A1 (en) | System and method for personalized nutrition | |
CN104765793B (en) | A kind of software recommendation method and server | |
CN105008959A (en) | Generating geofence via analysis of GPS fix utilization distribution | |
CN109074550A (en) | Context-aware dispatches special case | |
CN104750745B (en) | A kind of method and intelligent body of intelligent body processing information | |
CN103620595A (en) | Method and apparatus for context-aware role modeling and recommendation | |
CN108141702A (en) | The position shared service of context-aware | |
CN103942221B (en) | Search method and equipment | |
CN110110244A (en) | A kind of point of interest recommended method merging multi-source information | |
CN106027693B (en) | IP address-based localization method and device | |
CN109246171A (en) | Application program recommended method, recommendation apparatus and terminal device | |
CN105335515A (en) | Information recommendation method and information recommendation device | |
CN109543734A (en) | User portrait method and device, storage medium | |
CN105224545A (en) | A kind of position recommend method and device | |
CN107689991B (en) | Information pushing method and device and server | |
CN110427134A (en) | Data processing method, device, equipment and the readable storage medium storing program for executing of instant messaging | |
CN107038649A (en) | A kind of friend recommendation method and device of terminal user | |
CN108334353A (en) | Skill development system and method | |
CN110516017A (en) | Location information processing method, device, electronic equipment and storage medium based on terminal device | |
CN108805658A (en) | The providing method and device of rental services point | |
CN110008398A (en) | A kind of data classification management recommended method and device | |
CN108924359A (en) | Friend recommendation method, friend recommendation device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |
|
RJ01 | Rejection of invention patent application after publication |