OA17113A - Instruction triggering method and device, user information acquisition method and system, terminal, and server. - Google Patents

Instruction triggering method and device, user information acquisition method and system, terminal, and server. Download PDF

Info

Publication number
OA17113A
OA17113A OA1201400474 OA17113A OA 17113 A OA17113 A OA 17113A OA 1201400474 OA1201400474 OA 1201400474 OA 17113 A OA17113 A OA 17113A
Authority
OA
OAPI
Prior art keywords
user
user information
mobile terminal
information obtaining
matching
Prior art date
Application number
OA1201400474
Inventor
Xiaolong Zhang
Guanchu WU
Yongbo XIE
Lei Huang
Original Assignee
Tencent Technology (Shenzhen) Company Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of OA17113A publication Critical patent/OA17113A/en

Links

Abstract

Disclosed are an instruction triggering method and device, a user information acquisition method and system, a terminal, and a server. An instruction triggering method includes: detecting a shaking operation of a mobile terminal; and according to the acquired shaking operation, triggering a preset input instruction. A user information acquisition method includes: a mobile terminal sending a user information acquisition request to a server when a shaking operation is detected; and the mobile terminal receiving the user information of a matching user which is returned by the server according to the user information acquisition request. Another user information acquisition method includes: after a server receives a user information acquisition request from a mobile terminal triggered by a shaking operation, acquiring a user matching with the user information acquisition request, and sending the user information of the matching user to the mobile terminal. The present invention improves the operational convenience, and enhances random friend-making experience in a wide application range.

Description

INSTRUCTION TRIGGERING METHOD AND DEVICE, USER INFORMATION ACQUISITION
METHOD AND SYSTEM, TERMINAL, AND SERVER
TECHNICAL FIELD
The présent disclosure relates to Internet technologies, and especially relates to an Instruction triggering method and Apparatus, user Information obtaining methods and Systems, a terminal, and a server.
BACKGROUND
In traditional art, a mobile terminal Is usually configured with multiple keys. Each key corresponds to a preset Input Instruction, and a user can trigger an Input Instruction by pressing a key. When there are so many preset Input instructions that the keys are not enough, an input Instruction can be triggered by using a key combination. However, for a mobile terminal with a touch screen, e.g., a Smart phone, an Input Instruction can be triggered by obtaining a pressing or sliding operation of the user on a certain area of the touch screen.
However, since generally a mobile terminal is designed to be relatively light and with a relatively small size, and keys configured In an input area thereof usually are relatively small, when a user selects a key to trigger an Instruction, he Is easy to press a wrong key to cause an Input fallure, and needs to input it again. While for a mobile terminal with a touch screen, a user needs to first position a virtual key (an Icon) on the touch screen with naked eyes and then trigger an Instruction by press. Therefore, the methods for triggering an Instruction In the traditional art are not convenlent enough.
SUMMARY
In view of this, an example of the présent disclosure provides an Instruction triggering method which can Improve the convenience of a user* operation, the method Inciudes: detecting a shaking operation of a mobile terminal; and triggering a preset Input Instruction according to the detected shaking operation.
An example of the présent disclosure provides a user information obtaining method, including: a mobile terminal sending a user Information obtaining request to a server when the mobile terminal detects a shaking operation; and the mobile terminal receiving user Information of a matching user retumed according to the user information by the server.
An example of the présent disclosure also provides a user Information obtaining method, including: after a server recelves a user Information obtaining request triggered by a shaking operation of a mobile terminal, obtaining a user who matches the user information obtaining request and sending user Information of the matching user to the mobile terminal.
An example of the présent disclosure provides an Instruction triggering apparatus, Including: a détection module, to detect a shaking operation of a mobile terminal; and a triggering module, to trigger a preset input instruction according to the detected shaking operation.
An example of the présent disclosure also provides a mobile terminal, Including: a détection module, to detect a shaking operation of the mobile terminai; a triggering module, when the détection module detects the shaking operation, to send a user information obtaining request to a server; and a receiving module, to receive user Information of a matchlng user retumed according to the user information obtaining request by the server.
An example of the présent disclosure provides a server, including: a receiving module, to receive a user Information obtaining request triggered by a shaking operation of a mobile terminal; a matchlng module, to obtain a user who matches the user information obtaining request; and a sending module, to send user information of the matchlng user to the mobile terminai.
ln the above instruction triggering method and apparatus, the Input Instruction Is triggered by detecting the shaking operation of the mobile terminal, so that when a user uses the mobile terminai, he can complote the triggering of the Input Instruction by shaking the mobile terminal directly, which avolds looklng for a spécifie key on the keyboard of the mobile terminal so as to Improve the convenience of the user operation.
ln the above user Information obtaining method and system, the mobile terminal generates the user information obtaining request and upioads It by detecting the shaking operation; and after the server reçoives the user Information obtaining request, It obtains a user that matches the user information obtaining request, and sends the user to the mobile terminai. Since as long as the shaking operation of the mobile terminal Is detected, the matchlng user can be requested and It is not necessary for the user to input a keyword, the convenience of operation by the user Is improved.
By match in g the Interest Information of the terminal and the Interest information saved by the server to obtain a matchlng user and sending the user information of the matchlng user to the terminal, the présent disclosure provides more targeted user information for the terminai user to make friends and provides a wldely used expérience of randomly maklng friends.
BRiEF DESCRIPTION OFTHE DRAW1NGS
Fig.1 shows a flow chart of an Instruction triggering method according to an example of the présent disclosure;
Fig.2 shows a flow chart of a user information obtaining method according to an example of the présent disclosure;
Fig.3 shows a structural schematlc diagram of an instruction triggering apparatus according to an example of the présent disclosure;
Fig.4 shows a structurai schematlc diagram of an Instruction triggering apparatus according to another example of the présent disclosure;
•Flg.5 shows a structural schematic diagram of a user Information obtaining system according to an example of the présent disclosure;
• Fig.6 shows a structural schematlc diagram of a user Information obtaining system according to another example of the présent disclosure;
Fig.7 shows a flow chart of a user Information obtaining method according to another exemple;
Fi g. 8 shows a flow chart of a user Information obtaining method according to another example;
Flg.9 shows a flow chart of a user information obtaining method according to another example;
Fig.10 shows a flow chart of a user information obtaining method according to another example;
Flg.11 shows a structural schematic diagram of a mobile terminal according to an example of the présent disclosure; and
Flg.12 shows a structural schematic diagram of a server In an example of the présent disclosure.
DETAILED DESCRIPTION
In an example, as shown In Fig.1, an instruction triggering method includes the following steps.
At block S102, a shaking operation of a mobile terminal is detected.
In an example, the shaking operation of the mobile terminal can be detected by an acceierometer. Accelerometers are a device that detects accélération and Include angular accelerometers and linear accelerometers.
At Block S104, a preset input instruction is triggered according to the detected shaking operation.
In an exampie, the preset Input instruction can be triggered according to a detected shaking amplitude and/or shaking frequency of the mobile terminal, in the présent example, the preset Input instruction can be triggered when the acceierometer detects that the shaking amplitude and/or the shaking frequency of the mobile terminal is larger than a preset value.
in an example, a step of playing an animation and/or a sound according to the shaking operation may further be induded after the step of triggering the preset input instruction according to the detected shaking operation.
For example, when the shaking amplitude and/or the shaking frequency are/is larger than the preset value, the animation and/or the sound will be played.
Whether or not to play the animation and/or the sound Is determined according to the shaking amplitude and/or the shaking frequency, and using the multimedia can visually prompt a user whether a current shaking operation can trigger the input instruction so as to facilitate the user to know whether the current shaking operation Works or not ·’ ·
In an example, the preset Input Instruction can be a screen unlocking Instruction.
A step of unlocking a display screen of the mobile terminai according to the preset input instruction may further be included after the step of trlggerlng the preset input Instruction according to the detected shaklng operation. When the display screen of the mobile terminal is iocked for savlng energy, the user can unlock the dispiay screen by shaklng the mobile terminal instead of looking for an unlock key on the keyboard. Thus, when the user Is In a dark 5 environment, It is convenient for hlm to unlock the display screen.
in an example, the preset Input instruction Is an Incomlng call answer/ termination instruction.
A step of answering/termlnating an Incomlng call according the preset Input Instruction may be further Included after the step of trlggerlng the preset Input Instruction according to the 10 detected shaklng operation. When a ring rings to prompt that there Is an incomlng cali, the user can answer the Incomlng call by shaklng the mobile terminal; or when the user hopes to end the call, he can hang up the Incomlng call by shaklng the mobile terminal.
ln an example, the preset input instruction Is a data sending instruction.
A step of sending data to a server according to the preset input Instruction may be further 15 Included after the step of trlggerlng the preset Input Instruction according to the detected shaklng operation.
ln an exemple, as shown ln Flg.2, a user Information obtaining method indudes the following steps.
At block S202, the mobile terminal generates a user Information obtaining request and 20 uploads it to the server when It detects the shaklng operation.
ln an example, the mobile terminal can detect the shaklng operation ofthe mobile terminal by using an accelerometer.
Accelerometers are a device that detects accélération and Include angular accelerometers and linear accelerometers. The user information obtaining request Is a request that contains 25 preset personal Information of the user and a matching keyword preset by the user, ln an example, the mobile terminal can generate the user Information obtaining request according to the detected shaklng amplitude and/or the shaklng frequency of the mobile terminai, ln the présent example, the mobile terminai can generate the user Information obtaining request and unload It to the server when It detects, via the accelerometer, that the shaklng amplitude and/or 30 the shaklng frequency of the mobile terminal are/is larger than the preset value.
Further, the mobile terminai may also play an animation and/or a sound according to the shaklng operation before the step of generating the user Information obtaining request and uploading It to the server. For exampie, when the shaklng amplitude and/or the shaklng frequency are/is larger than the preset value, the animation and/or the sound are/is played.
Whether or not to play the animation and/or the sound Is determined according to the shaklng amplitude and/or the shaklng frequency, and using the multimedia can visually prompt the user whether a current shaklng operation triggers the user Information obtaining request so as to facllltate the user to know whether the current shaking operation works or not
At block S204, the server obtains a user who matches the user Information obtaining request
Preset personal information of a user can be stored In the mobile terminai and the user information obtaining request generated in block S202 can contaln the personal Information. After the server receives the user information obtaining request, It can extract the personal information from the user Information obtaining request and obtain a matchlng user according to the personal information.
For example, the personal information of user A can Include gender and a location. Then the server can obtain an opposite sex whose location Is near to user A and the time is the same with user A as the matchlng user.
At block S206, the server sends the matchlng user to the mobile terminal.
In an example, the server can obtain user Information of the matchlng user and send the user Information of the matchlng user to the mobile terminal. The user Information can be preset by the user, Including at least one of name, avatar, gender, région, and personallzad signature.
In the présent example, after the mobile terminal receives the sent matchlng user, It may also show the matchlng user. And when there are multiple matchlng users, the mobile terminal can show the matchlng users in a list. Each matchlng user occuples a column of the ilst and an avatar of the matchlng user and a distance to the matchlng user can be shown In the column.
In another example, geographical location Information of the mobile terminal can be obtained at block S202, and the user Information obtaining request Is generated and uploaded according to the geographical location Information. That is, the generated user Information obtaining request contains the geographical location Information submltted by the mobile terminal.
In the présent example, the server extracts the geographical location Information In the user Information obtaining request, calculâtes a distance between the mobile terminal and the matchlng user according to the geographical location Information and sends the distance between the mobile terminal and the matchlng user to the mobile terminal.
The mobile terminal can obtain Its geographical location Information by a posltloning service of the LBS (Location Based Service). In the présent example, the mobile terminal can obtain Its longitude and latitude Information (the geographical location Information) via a GPS device. In another example, the mobile terminal can upload an Identification of a base station or · a broadband access point where It locates to the LBS System and obtain Its geographical location Information via a feedback from the LBS System.
In the current example, the server can extract respective geographical location Information · from user information obtaining requests uploaded by multiple matchlng users, change It to longitude and latitude Information, and calculate the distances between the mobile terminal and the matchlng users according to the longitude and latitude Information. The calculated distances are physical distances between the mobile terminal and the matchlng users, for example,
1000m, 200km, etc.
Further, In an example, specifically, the step of the server obtaining the user who matches the user Information obtaining request can be: the server obtaining a user whose distance Is smaller than or equal to a first threshold as the matchlng user.
ln another example, specifically, the step of the server obtaining the user who matches the user Information obtaining request can be: the server obtaining a user a time différence between whose request time and a request time submltted by the mobile terminal Is smaller than or equal to a second threshold as the matchlng user.
For example, If the request time when the user Information obtaining request uploaded by user A Is received Is 10:33:10 and the second threshold Is 10 seconds, then the server obtains users corresponding to other user Information obtaining requests whose request time is between 10:33:00 and 10:33:20 as the matchlng users. That is, other users who shake their mobile terminais when user A shakes his mobile terminal are obtained as the matchlng users.
ln an example, as shown ln Fig.3, an instruction triggering apparatus includes a détection module 102 to detect a shaking operation of a mobile terminal.
ln an example, the détection module 102 can be used to detect the shaking operation of the mobile terminal by using an accelerometer. Accelerometers are a device that detects accélération and Include angular accelerometers and linear accelerometers.
A triggering module 104 Is adapted to trigger a preset input Instruction according to the detected shaking operation.
ln an example, the triggering module 104 can be used to trigger the preset Input instruction according to a detected shaking amplitude and/or shaking frequency of the mobile terminal, ln the présent example, the triggering module 104 can be used to trigger the preset input Instruction when the accelerometer detects that the shaking amplitude and/or the shaking frequency of the mobile terminal are/is larger than a preset value.
In an example, as shown ln Fig.4, the instruction triggering apparatus also Includes a triggering prompt module 106 to play an animation and/or a sound according to the shaking operation.
For example, the triggering prompt module 106 may be used to play the animation and/or the sound when the shaking amplitude and/or the shaking frequency are/is larger than the preset value.
Whether or not to play the animation and/or the sound Is determined according to the magnitude of the shaking amplitude and/or shaking frequency and using the multimedia can vlsually prompt a user whether a current shaking operation can trigger the Input instruction so as to facilitate the user to know whether the current shaking operation works or not
In an example, the preset input instruction can be a screen unlocklng instruction, and as shown In Fig.4, the Instruction triggering system aiso Includes a screen unlocking module 108 to unlock a display screen of the mobile terminal according to the preset input Instruction. When the display screen of the mobile terminai is iocked for saving energy, the user can unlock the display screen by shaking the mobile terminal Instead of looking for an unlock key on the keyboard. Thus when the user Is in a dark environment, it Is convenient for him to unlock the display screen.
In an example, the preset input Instruction Is an incoming call answer/termination instruction, and as shown In Fig.4, the Instruction triggering system also includes an incoming call control module 110, to answer/termlnate an incoming call according to the preset Input instruction. When a ring rings to prompt that there Is an Incoming call, the user can answer the incoming call by shaking the mobile terminal; or when the user hopes to end the call, he can hang up the incoming call by shaking the mobile terminal.
In an example, the preset Input Instruction Is a data sending instruction. And as shown In Flg.4, the Instruction triggering system also includes a data sending module 112, which can send data to a server according to the preset Input instruction.
The above instruction triggering apparatus is applicable to the mobile terminal.
In an example, as shown In Fig.5, a user Information obtaining system, Includes a mobile terminai 200 and a server 300, in which, the mobile terminal includes a user Information obtaining request génération module 202 to generate a user Information obtaining request and upload It to the server 300 when it detects the shaking operation.
In an example, the user information obtaining request génération module 202 can also be used to detect the shaking operation of the mobile terminal 200 by using an acceierometer.
Accelerometers are a device that detects accélération and include angular accelerometers and linear accelerometers. The user Information obtaining request is a request containing preset personal material of the user and a matching keyword preset by the user.
In an example, the user information obtaining request génération module 202 can be used to generate the user Information obtaining request according to the detected shaking amplitude and/or the shaking frequency of the mobile terminal 200. in the présent example, the user Information obtaining request génération module 202 can be used to generate the user Information obtaining request and upload it to the server when the acceierometer detects that the shaking amplitude and/or the shaking frequency of the mobile terminal 200 are/is larger than the predeflned value.
Further, as shown in Fig.6, the mobile terminal 200 also Includes a multimedia playing module 204 to play an animation and/or a sound according to the shaking operation. For exampie, the multimedia playing module 204 can be used to piay the animation and/or the sound when the shaking amplitude and/or the shaking frequency are/is larger than the preset value.
Whether or not to play the animation and/or the sound Is determined according to the shaking amplitude and/or the shaklng frequency, and using the multimedia can visuaily prompt the user whether a current shaking operation triggers the user Information obtaining request so as to facilitate the user to know whether the current shaking operation works or not.
The server 300 includes a matching module 302 and a sending module 304.
The matching module 302 is used to obtain a user who matches the user Information obtaining request.
Preset Personal Information of a user can be stored In the mobile terminal 200, and the user information obtaining request generated by the user Information obtaining request génération module 202 can contain the personai Information. After the server 300 receives the user information obtaining request, the matching module 302 can extract the personai Information from the user information obtaining request and obtain a matching user according to the personai information.
For example, the personai Information of user A can inciude gender and a location. Then the matching module 302 can be used to obtain an opposite sex whose location is near to user A and the user information obtaining request time is the same with user A as the matching user.
The sending module 304 is used to send the Information of the matching user to the mobile terminal 200.
in an exampie, the sending module 304 can be used to obtain the user Information of the matching user and then send the user Information of the matching user to the mobile terminal 200. The user Information can be preset by the user, including at least one of name, avatar, gender, région, and personalized signature.
in another example, as shown In Fig.3, the server 300 may also indude a distance calculation module 306 to extract geographical location information In the matching request and calculate a distance between the mobile terminai and the matching user.
In the présent example, the user information obtaining request génération module 202 Is also used to obtain the geographical location Information of the mobile terminal and generate the user information obtaining request according to the geographical location information and upload it That is, the generated matching request contains the geographical location information submltted by the mobile terminal.
The distance-calculation module 306 can be used to obtain the geographical location information by using a positioning service of the LBS (Location Based Service), and the distance calculation module 306 can be used to obtain Its longitude and latitude information (geographical location information) via a GPS device. In another example, the distance calculation module 306 can be used to upload an identification of a base station or a broadband access point where the mobile terminal 200 locales to the LBS system and obtain its geographical location Information via a feedback from the LBS System.
In the présent example, the server 300 can first extract respective geographical location Information from user Information obtaining requests uploaded by multiple matching users, change It to longitude and latitude Information, and then calculate the distances between the 5 mobile terminal 200 and the matching users according to the longitude and latitude Information. The calculated distances are physical distances between the mobile terminal 200 and the matching users, e.g., 1000m, 200km, etc.
In an example, the sending module 304 may also be used to send the distance between the mobile terminai 200 and the matching user to the mobile terminal 200.
Further, in an example, the matching module 302 Is also used to obtain a user whose distance Is smaller than or equal to the first threshold as the matching user. Then the sending module 304 can send the matching user whose distance Is smaller than or equal to the first threshold to the mobile terminai 200.
In another example, the matching module 302 can also be used to obtain a user a time 15 différence between whose request time and a request time submitted by the mobile terminal Is smaller than or equal to a second threshold as the matching user.
For example, If the request time when the user Information obtaining request uploaded by user A Is received Is 10:33:10 and the second threshold Is 10 seconds, then the server obtains users corresponding to other user Information obtaining requests whose request time Is 20 between 10:33:00 and 10:33:20 as the matching users. That Is, other users who shake their mobile terminais when user A shakes his mobile terminal are obtained as the matching users.
In the présent example, the mobile terminal 200 also Inciudes a matching user showing module (not shown In the figure) to show the matching user after it receives the sent matching user. And when there are multiple matching users, the matching user showing module can be 25 used to show the matching users In a list. Each matching user occupies a column of the list and an avatar of the matching user and a distance to the matching user can be shown in the column.
In the above Instruction triggering method and apparatus, the Input Instruction is triggered by detecting the shaking operation of the mobile terminal, so that when a user uses the mobile terminal, he can complété the triggering of the Input Instruction by shaking the mobile terminai, 30 which avolds looking for a spécifie key on the keyboard of the mobile terminal so as to Improve the convenlence of the user operation.
In the above user information obtaining method and System, the mobile terminal generates the user Information obtaining request and uploads it by detecting the shaking operation; and after the server receives the user Information obtaining request, It obtains a user that matches 35 the user Information obtaining request, and sends the user to the mobile terminal. Since as long as the shaking operation of the mobile terminal Is detected, the matching user can be requested and It Is not necessary for the user to Input a keyword, the convenlence of operation by the user ls Improved,
Furthermore, by adding geographicai location Information of the user terminal to the user Information obtaining request, a matching user who ls relatively near to the mobile terminal will be recommended directly, and the distance between the matching user and the mobile terminal can be sent to the mobile terminal to faciiitate the user to seiect a matching user who ls nearer to him, so as to further provide the convenience for the user.
In addition, by obtaining the request time submitted by the user terminal, the server can recommend usera who perform shaklng operations almost at the same time to each other, which, compared to a traditional flxed recommendation mode, can Improve the flexibility and fun of the user recommendation.
In an example, as shown in Fig.7, a user Information obtaining method ls provided. The user Information obtaining method of an example of the présent disclosure can be executed by the user information obtaining apparatus. The user information obtaining apparatus can be an Instant messaging client; the user Information obtaining method in the example of the présent disclosure can also be executed by a terminal with a user information obtaining function, e.g., a terminal containing the user Information obtaining apparatus. In the example of the présent disclosure, the execution body of the user information obtaining method ls expîained by taking the user Information obtaining apparatus as an example; however, specifically, the user Information obtaining apparatus can be an instant messaging client Instalied on the terminai. The method mainly Includes the following steps.
At biock S301, when the mobile terminal detects a shaking operation, it sends a user information obtaining request to the server.
The mobile terminal can generate a user information obtaining request and sends It to a server according to a detected shaking amplitude and/or shaking frequency of the mobiie terminal.
Preferably, the mobiie terminal sending the user Information obtaining request to the server when It detects the shaking operation, includes the following process.
When the mobile terminal detects a shaking instruction, it starts to count time, and when the counted time is up to a specified length, It détermines whether the shaking instruction ls continuously received during the counted time; and if the détermination is yes, then the mobile terminal sends the user Information obtaining request to the server.
Preferably, the user information obtaining request Includes: a first user identification corresponding to the mobile terminal; or the first user identification corresponding to the mobile terminal and Interest Information of the first user; or the first user Identification corresponding to the mobile terminal and the Interest Information of the first user, and a specified condition.
Preferably, the user Information obtaining request aiso contains: request time and/or geographicai location information submitted by the mobile terminal.
As block S302, the mobile terminal reçoives user Information of a matching user retumed by the server according to the user information obtaining request.
In an example, as shown ln Flg.8, It Is a user information obtaining method. The execution body of the user information obtaining method Is a server, and speclfically, the server can be an Instant messaglng server. And referring to Fig.8, the method Includes the following steps.
At block S401, the server reçoives a user Information obtaining request triggered by a shaklng operation of the mobile terminal.
The user Information obtaining request Includes: a first user Identification corresponding to the mobile terminai which sends the request; or the first user Identification corresponding to the mobile terminal which sends the request and Interest information of the first user; or the first user Identification corresponding to the mobile terminal which sends the request and Interest Information of the first user, and a specified condition.
At block S402, the server obtalns a user who matches the user Information obtaining request and sends the user Information of the matching user to the mobile terminal.
Preferably, the above obtaining the user who matches the user Information obtaining request includes: the server obtaining the Interest Information of the first user saved on the server according to the first user Identification carried ln the user Information obtaining request, matching the Interest information of the first user with interest information of multiple second users to détermine a matching user; or the server matching the Interest Information of the first user and the interest Information of the multiple second users to détermine the matching user according to the first user Identification and the Interest Information of the first user contaîned In the user Information obtaining request
Preferably, matching the Interest Information of the first user and the Interest information of the multiple second users to détermine the matching user Includes: detemnining a matching object group from the multiple second users; and matching the Interest Information of the first user with Interest Information of each of the second users In the matching object group to détermine the matching user.
The above detemnining the matching object group from the multiple second users Includes: obtaining a first speclfied group from the multiple second users according to first time, and taking the first specified group as the matching object group, the first time being time when the user information obtaining request of the terminal of the first user Is received, and each of the second users In the first specified group Is a user corresponding to a user Information obtaining request received during a time period to which the first time beiongs; or when the user Information obtaining request carries the specified condition, obtaining a second speclfied group from the multiple second users and taking the second specified group as the matching object group and the user Information of each of the second users ln the second specified group ail meets the specified condition.
Matching the Interest Information of the first user with the Interest Information of each of the second usera In the matching object group to détermine the matching user Includes:
calculating a distance between a first vector and each of second vectors respectively to get multiple distances, taklng reciprocals of the multiple distances as Interest matching degrees between corresponding second usera and the first user, obtaining a preset number of second usera from the multiple second usera according to an order of the Interest matching degrees, and determining the preset number of the second usera as the matching usera, the first vector being a vector corresponding to the Interest information of the first user and the second vector being a vector corresponding to the Interest Information of the second user; or clustering the first vector and each of the second vectors by using a clustering algorithm to détermine a second user corresponding to the second vector which belongs to a same category with the first vector as the matching user.
It Is to be noted that, the first user mentioned in the présent example of the présent disciosure refera to a user who currentiy sends a user Information obtaining request to the server, while the multiple second usera refer to usera that hâve been saved to the server, and the server has saved the user Identification and the interest Information of each of the second usera.
Preferably, the user information obtaining request contains: request time submitted by the mobile terminai.
Correspondingly, the obtaining the user who matches the user Information obtaining request Includes: the server obtaining a user a time différence between whose request time and the request time submitted by the mobile terminal Is smaller than or equal to the second threshold as the matching user.
Preferably, the user Information obtaining request Includes: geographical location Information submitted by the mobile terminal.
The method also Indudes: the server extracting the geographical location Information contained In the user Information obtaining request and calculating the distance between the mobile terminai and the matching user according to the geographical location information; and the server sending the distance between the mobile terminal and the matching user to the mobile terminal.
The obtaining the user who matches the user Information obtaining request Includes: the server obtaining a user whose distance Is smaller than or equal to the first threshold as the matching user.
It should be understood that, the above user matching methods can be used In combination.
The method provided by the présent example, by matching the interest information of the terminal and the Interest Information saved by the server to obtain a matching user and sending the user Information of the matchlng user to the terminal, provides more targeted user information for the terminal user to make friends and provides a wldely used expérience of randomly making friends.
Flg.9 Is a flow chart of a user information obtaining method provided by an example of the present disclosure. Interaction parties in the example are a server and a terminal. Specifically, the server can be an instant messaging server and the terminal can be a fixed terminai or a mobile terminal. The mobile terminal can be a Smart phone, a tablet computer, a MP3 (moving picture experts group audio layer 111), a PDA (personal digital assistant), etc. Preferably, the terminal Is a terminal Installed with an Instant messaging application.
Referring to Flg.9, the user information obtaining method includes the following steps. At block S501, the terminai detects whether a shaking instruction is received in real time. Specifically, there are many methods for the terminal to detect the shaking instruction from the user In real time. For exampie, thls can be reallzed by using a sensor. An acceierometer Is Installed on the terminal to detect whether the user sends a shaking Instruction according to accélération generated by shaking the terminal collected In real time. The acceierometer is a 3dimension acceierometer which detects accélération of the terminal In an X direction, a Y direction, and a Z direction; or Is a 2-dimen$ion acceierometer which detects accélération of the terminal In the X direction and the Y direction. The present example does not limit the acceierometer of the terminal. Specifically, take the 3-dlmension acceierometer as an example. When the 3-dlmenslon acceierometer detects that an accélération value in any of the X direction, Y direction, or Z direction changes in real time, It will conslder that It detects a shaking instruction sent by the user. Of course, there are other methods that can be used to detect the shaking Instruction from the user in real time and the present example will not specify it herein.
At block S502, if the terminal detects the shaking instruction, It begins to count time, and when the counted time reaches a specified length, it will détermine whether a shaking Instruction Is continuously received during the counted time, and if the détermination Is yes, then block S503 Is executed; or otherwise, the flow ends.
The mobile terminal détermines whether it receives the shaking instruction In the specified time length continuously, and If It does, then it considéra that the user sends out a shaking instruction for obtaining the user information, and can make clear an intention of the user sending out the shaking instruction, and confirms that the shaking Instruction is Intended to send the user information obtaining request so as to obtain the user information from the server, which avoid a false operation caused by a shaking instruction unconsclousiy sent out by the user when he uses the terminal, the specified time length can be set In advance and saved in the terminal, e.g., being set to 5s; or the user can change the setting according to his needs, for example, change it to 3s, etc., and the present disclosure Is not limited to this. Further, the terminal can preset that the shaking Instruction is valid in a certain time period. For example, It is set to be valid In the day time or set to be valid during 9:00AM to 12:00AM, etc., and the présent example is not Intended to llmit this.
At block S503, the terminal sends a user Information obtaining request to the server and the user information obtaining request cardes a user identification and interest information of the first user.
Preferably, the user information obtaining request cardes the user identification and the Interest information of the first user, so as to accordingly save the user Identification and the Interest information to the server to facllitate the subséquent obtaining process. A saving format is shown In the following table 1.
Table 1
User identification Interest information
Further, when the server has saved the Interest information of the first user, the user information obtaining request can aiso only carry the user identification of the first user. When the server reçoives a user information obtaining request that only cardes the user Identification of the first user, It can obtain the Interest information of the first user from the server according to the user identification of the first user. The Interest Information saved on the server can be set by the first user on the server, or can be previousty received Interest Information of the first user saved by the server.
The Interest Information can Indicate one or more interests, and the interest information can carry multiple key words, numbers, or characters, etc. that are used to represent interests. The key words can be music, movie, reading, exercise, etc.; the numbers can be set by negotiation between the server and the terminal, each number or character Indicating an interest, so that when the server obtains a number or a character In the Interest information sent by the terminai, It can know a specified interest contained in the interest information of the terminal. The Interest information can be obtained by way of the following: (1) the terminai provides an Interface for the user to fit! out Interest information and saves the words inputted by the user as the Interest Information of the user; (2) the terminai provides Interest Information options for the user and saves Interest information selected by the user as the Interest Information of the user; or (3) the terminal collects a habit of the user browsing web pages and obtains the interest Information of the user by analyzing the habit of the user browsing the web pages. Specifically, the terminal detects web pages visltëd by a browser and makes analysis for the habit of the user browsing the web pages according to the number of visits to the web pages and the types of the web pages. When the number of visits to the first kind of web pages occuples a preset proportion of a total number of visits, or when the number of the browser visitïng the first type of web pages reaches a preset number, a key word corresponding to the first type is taken as the interest information of the user, it Is to be specified that, In the présent example, types corresponding to web page links can be set by a technical personnel, and each type can correspond to at least one key word. For example, when the number of vislts of the browser to shopping web pages reaches a preset number, the key word corresponding to the shopping web pages Is ‘shopping”, then ‘shopping* Is the Interest Information of the user, and when the number of vislts of the 5 browser to muslc web pages reaches a third of the total number of vislts of the browser to web pages, the key word corresponding to the muslc web pages Is muslc”, then the ‘muslc* Is the Interest Information of the user.
At block S504, the server reçoives the user Information obtaining request sent by the terminal and détermines a matchlng object group from multiple second users.
In the current example, the block S504 specifically Includes: the server obtaining a first specifîed group from the multiple second users and taklng the first specifîed group as a matchlng object group according to a first time. The first time Is time when a user Information obtaining request of the terminal of the first user Is received and each of the second users In the first specifîed group is a user corresponding to a user information obtaining request received in 15 a time period to which the first time belongs. The time period to which the first time belongs refers to a time period from a preset time length before the first time to the first time. For example, If the preset time length Is 15 minutes, then the time period to which the first time belongs Is 15 minutes before the first time to the first time. That Is, the obtained each of the second users In the first specifîed group are users corresponding to the user Information obtaining requests received In 15 minutes before the first time. In this way, obtaining the user Information in real time Is guaranteed so that users with user Information obtaining requests In a same time period can find each other. Of course, In other examples, ail the second users saved on the server can be used as members of the matchlng object group and are not limited to the time period, and a matchlng object can be provided for the terminal to the largest extent
Preferably, the server saves user Identifications and Interest Information carried In user Information obtaining requests to a matchlng database, and each time when it recelves a user Identification and Interest Information, It matches the Interest Information with ail Interest Information currently saved In the matching database to détermine a matchlng user. Further, the life spans of the user identifications and the corresponding Interest Information saved in the 30 matchlng database are ail set to a preset time length, and when the life span of a user Identification and corresponding Interest information reaches the preset time length, the user • - Identification and the corresponding Interest Information Is deleted from the matching database.
Preferably, the server saves the user Identifications and the interest information carried In the received user information obtaining requests In an array. The preset time length Is the ** 35 length of the array and It Is also the time length during which each user Identification and interest information are saved In the server. If the server recelves a user Information obtaining * request at the first time, then after a preset time length is passed, user Identification and the
Interest Information carried In the user information obtaining request are deleted.
It is to be specified that, in the example of the présent disclosure, the matching process is performed by the server, however, in another example, the matching process can be performed by another small or separated matching module, the matching module saving the received user Identification and interest information and performing the matching process of the current example so as to détermine a matching user. As ls known by those ordinary skilled in the art, the server In the current example can be a separate server or can be a cluster of servers with different fonctions, which ls not limited by the présent disclosure.
At biock S505, the server matches the interest Information of the first user with the Interest Information of each of the second users In the matching object group to détermine the matching user.
Preferably, as for the block S505, the server can preset N Interest categories, 0 representing having no an Interest and 1 representing having an interest, then the interest Information of a user can be represented by using a vector containing 0 and 1, and a vector corresponding to the Interest Information can be determined according to the Interest Information of the user. That ls to say, the Interest Information of user i can be denoted as:
Interesti - (a,, a2, · · ·, aN ) where G ' * ', e , N ls a naturel number.
For example, 4 interest categories: muslc, movie, finance and current affaire are preset in the server.
While the Interest Information of the first user Includes muslc and finance, then a vector corresponding to the interest Information of the first user ^Interestl =(1,0,1,0)
In the présent example, the block S505 specifically includes: calculating distances between the first vector and each of the second vectors to get multiple distances, taklng reclprocals of the multiple distances as Interest matching degrees between corresponding second users and the first user, obtaining a preset number of second users from the multiple second users according to an order of the interest matching degrees, and determinlng the preset number of second users as the matching users, the first vector being the vector corresponding to the
Interest Information of the first user and a second vector being a vector corresponding to the interest information of a second user; preferably, the distances can be obtained by the
Euclldean distance. For example, when ^eresh Ο,θΛθ) an(j Interest^ (1,1,1,1) .
then the distance ls the Euclidean distance between ^eresh and 1 0nd tfoe interest matching degree between the first user and the second user ls the reciprocal of the
4ï/
Euclideandistance, '2 ,
In another example, the block S505 specifically includes: clustering the first vector and each of the second vectors by using a clustering algorithm and determining a user which corresponds to a second vector that belongs to a same category with the first vector as the matching user. Preferably, the clustering algorithm can cluster users Into multiple categories, and a second vector which belongs to a same category with the first vector wili be deemed as a user having same Interests with the first vector. There may be various clustering algorithme, and here only the K-means algorithm Is used as an example to ïllustrate: 1) randomly selecting a preset number of vectors from the first vector and the multiple second vectors as mass centers; 2) measuring distances of each of the remaining second vectors to each of the mass centers and categortzing each of the remaining second vectors to a category to which Its nearest mass center belongs; 3) recalculating the mass center of respective categories that hâve been got; and 4) Iterating the steps 2) to 3) until a new mass center equals to an original mass center or the change of It Is smaller than a specified threshold. When the algorithm ends, a category to which the first vector belongs and the second vectors that are contained In the category are obtained. Preferably, users In the category who correspond to a preset number of vectors that hâve a s mallest distance to the first vector are determined as the matching users.
In another example, the user Information obtaining request may not carry the Interest Information of the first user but carry the user identification of the first user, when the server recelves the user Information obtaining request canying the user Identification of the first user sent from the terminal, It wili obtain Interest Information corresponding to the user Identification saved by the server according to the user Identification of the fîrst user, and the Interest Information corresponding to the user Identification Is the Interest Information of the first user. It Is to be noted that, In another example, before the fîrst user sends the user Information obtaining request, the Interest Information of the first user needs to be set In the server, or when the first user sends the user Information obtaining request canying the Interest Information to the server for the fîrst time, the server saves the received Interest Information so as to subsequentiy use the saved Interest Information to perform matching when It receives the user information obtaining request canying the user identification.
At block S506, the server sends the user Information of the matching user to the terminal so that the terminal makes friends by using the user Information of the matching user.
User Information of ail the users Is saved on the server, and the user Information can be Indexed by user Identifications. The user information may Include a user Identification, gender information, geographical location information, âge Information, etc., and the user Information of the matching user may also Include a user avatar of the matching user and/or defauit greetings. The user avatar and/or the defauit greetings can be obtained by the server according to the user Identification of the matching user, and the default greetings can be default greetings at the server and can also be preset by the matching user.
At block S507, the terminal receives the user Information of the matching user.
When the terminal receives the user Information of the matching user, preferably, displays the user Information of the matching user, specifically, when the user information of the matching user Includes the user identification of the matching user, then displays the user Identification, and when the user information also includes the user avatar of the matching user and/or the default greetings, when It displays the user Identification, it displays the user avatar and/or the default greetings accordingly.
The way of displaying the user information can be set or adjusted by the terminal and the présent example will not limit this.
Further, the terminal user can Inltiate a making friends request to the matching user according to the received user Information, or greet the matching user or send instant messages to the matching user by using an instant messaglng application provided by the terminal.
The terminal can save the received user Information, or can save or delete It according to the sélection of the terminal user for the terminal user to use in the subséquent process of making friends.
The method provided by the présent example matches the Interest Information of the terminai user with the interest Information saved by the server so as to get the matching users and send the user information of the matching users to the terminal, which provides more targeted user Information for the terminai user and provides a widely used expérience of randomly making friends. Further, by matching a user cunently requests for the user information with multiple second users who are at a same time period with the user, the real-tlme property of obtaining the user information can be increased.
Flg.10 shows a flowchart of another user information obtaining method provided by an example of the présent disclosure. in the présent example, the user information obtaining request sent by the terminal aiso includes the specified condition. Referring to Fig.10, the example specifically Includes the following.
At block S601, the terminal detects whether It receives a shaking Instruction In real time.
At block S602, if the terminal detects the shaking Instruction, then It starts to count time, and when the counted time reaches a specified length, it détermines whether the shaking instruction Is received continuously during the counted time, and if the détermination is yes, then block S603 Is executed; or otherwise, the process ends.
The princlples of blocks S601-S602 are the same with that of blocks S501-S502, and will not be eiaborated herein. . ·’
At step S603, the terminai sends a user information obtaining request to the server and the user Information obtaining request carries the user identification and the interest Information of the first user and the speclfled condition.
The terminal can provide a setting window or settlng options with the speclfled conditions to the terminal user, and the terminal user can set the speclfled conditions for the user information obtaining process of this time by using the settlng window or the settlng options according to his requlrements for maklng friends. For example, the settlng conditions can be gender, âge, geographical location Information, etc., which will not be enumerated here.
At block S604, after the server recelves the user Information obtaining request sent from the terminal, it détermines a matching object group from the multiple second users.
When the user Information obtaining request carries the specified conditions, the server will obtain a second specified group from the multiple second users according to the specified conditions and take the second speclfled group as the matching object group, the user information of each of the second users ln the second specified group ail meeting the speclfled conditions. When the server recelves the specified conditions carried in the user Information obtaining request, It will obtain a second specified group from the multiple second users saved on the server according to the specified conditions. For example, when a specified condition set by the terminal user is “female, the server obtalns the second specified group from the multiple second users according to the specified condition, and the gender Information ln the user Information of each of the second users ln the second specified group Is ail female; further, when a specified condition set by the terminai user is “20 to 30 years old”, then the server obtalns a second specified group from the multiple second users, and the âges ln the user Information of each of the second users in the second specified group are ail between 20-30 years old. As another example, when the specified condition set by the terminal user Is “Beijing, then the server will obtain a second specified group from the multiple second users according to the specified condition and the geographical location information of each of the second users In the second specified group Is all Beijing.
When the specified condition Is geographical location information, the server uses LBS to obtain the geographical location Information of the terminal and obtalns a second user who Is in a same geographical area or ln a close geographical area with the first user according to the obtained geographical location information.
At block S605, the server matches the Interest Information of the first user with the interest Information of each of the second users in the matching object group to déterminé a matching user.
At block S606, the server sends the user information of the matching user to the terminal so that the termina! can make friends according to the user Information of the matching user.
At block S607, the terminai reçoives the user Information of the matching user.
Blocks S605-S607 are similar to blocks S505-S507 and will not be elaborated herein.
t9
The method provided by the présent example provides more targeted user Information for the terminai user to make friands and provides a widely used expérience of randomly making friands by matchlng the interest information of the terminai user and the Interest Information saved by the server so as to obtaln the matchlng user and send the user information of the matchlng user to the terminal. Further, the terminal user can reduce the scope of the matchlng users by setting a specified condition to détermina a matchlng object group so as to preciseiy obtain user Information that meets the requirements of making friends of the terminal user.
ln the above examples, specifically, block S604 or S504 can be replaced by the following step: when the user information obtaining request carries the speclfied condition, the server obtaining a first speclfied group from the multiple second users according to the first time; ln which the first time Is time when the user information obtaining request of the terminal of the first user Is received, and each of the second users In the first specified group is a user corresponding to a user Information obtaining request that Is received during the time period to which the first time belongs; the server obtaining a second speclfied group from the first speclfied group and taking the second specified group as a matchlng object group, ln which the user information of each of the second users in the second specified group ail meets the speclfied condition. By using the receiving time, the scope of the matchlng objects Is reduced, and the scope of the matchlng objects is further reduced according to the speclfied condition, so that ftnally user Information that Is strongly targeted and doser to the requirements of the terminai user will be obtained.
Fig. 11 shows a structural schematic diagram of a mobile terminai provided by an example of the présent disclosure, which Includes: a détection module 102, to detect a shaking operation of the mobile terminal; a triggering module 104, when the détection module detects the shaking operation, to send a user Information obtaining request to a server; and a receiving module 105, to recelve user information of a matchlng user retumed by the server according to the user information obtaining request.
Preferably, the détection module 102 is also adapted to notify the triggering module 104 to generate the user Information obtaining request and send It to the server according to detected shaking amplitude and/or shaking frequency of the mobile terminal.
Preferably, the détection module 102 is also adapted to start to count time when It detects a shaking Instruction, and when the counted time reaches a specified length, détermine whether the shaking instruction Is continuously received ln the counted time; and If the détermination is yes, then notify the triggering module 104 to generate the user Information obtaining request and send it to the server. The function can be executed by an Internai timlng unit in the détection module 102.
Preferably, the user information obtaining request includes: a first user Identification corresponding to the mobile terminal; or the first user identification corresponding to the mobile terminal and Interest Information of the first user; or the first user identification corresponding to the mobile terminal and the Interest information of the first user, and a specified condition.
It is to be noted that when the terminal provided by the above example performs the user information obtaining service, It Is only Illustrated by using the above respective functional 5 modules. However, In practlcal use, the above fonctions can be allocated to different functional modules to carry out as needed. That Is to say, the Internai structure of a device Is dlvided Into different functional modules to carry out the above described ail or a part of fonctions. In addition, the terminal and the user information obtaining methods provided in the above examples belong to a same idea and for detailed implémentation thereof please refer to the 10 above method examples, which will not be elaborated herein.
Fig. 12 shows a structural schematic diagram of a server provided by an example of the présent disclosure, which includes: a receiving module 301, to receive a user Information obtaining request triggered by a shaking operation of a mobile terminal; a matchîng module 302, to obtain a user who matches the user information obtaining request; and a sending module 304, 15 to send user Information of the matchîng user to the mobile terminal.
The user Information obtaining request Includes: a first user Identification corresponding to the mobile terminal that sends the request; or the first user Identification corresponding to the mobile terminal and Interest Information of the first user; or the first user identification corresponding to the mobile terminal and the Interest Information of the first user, and a 20 specified condition.
The matchîng module 302 Is also adapted to:
obtain the interest Information of the first user saved on the server according to the first user identification carried In the user information obtaining request, and match the Interest information of the first user with Interest information of multiple second users to détermine a 25 matchîng user; or match the Interest Information of the first user with Interest Information of the multiple second users to détermine a matching user, according to the first user identification and the interest information of the first user carried In the user information obtaining request.
The matching module 302 includes:
a détermination unit, to détermine a matching object group from the multiple second users; and • -a matching unit, to match the interest information of the first user and the interest information of each of the second users in the matching object group to détermine the matching user. ·
The détermination unit is also adapted to:
> obtain a first specified group from the multiple second users according to the first time and take the first specified group as the matching object group, the first time being the time when the user Information obtaining request of the terminal of the first user is received, and each of second usera In the first specified group is a user corresponding to a user Information obtaining request received during a time period to which the first time beiongs; or when the user information obtaining request cardes the specified condition, obtain a second specified group from the multiple second usera and take the second specified group as the matching object group, and the user Information of each of the second usera In the second specified group ali meets the specified condition.
The matching unit is also adapted to:
respectively calculate a distance between a first vector and each second vector to get multiple distances, take reciprocals of the multiple distances as Interest matching degrees between corresponding second usera and the first user, obtain a preset number of second usera from the multiple second usera according to an order of the Interest matching degrees, and détermine the preset number of second usera as the matching usera, the first vector being a vector corresponding to the Interest Information of the first user and the second vector being a vector corresponding to the Interest Information of the second user; or cluster the first vector and each of the second vectors by using a clustering algorithm to détermine a second user corresponding to the second vector which beiongs to a same category with the first vector as the matching user.
The user Information obtaining request contains: request time submitted by the mobile terminal.
The matching module 302 Is also adapted to obtain a user a time différence between whose request time and the request time submitted by the mobile terminal Is smaller than or equal to the second threshold as the matching user.
The user Information obtaining request Includes: geographical location Information submitted by the mobile terminai.
The matching module 302 Is also adapted to obtain a user whose distance is smaller than or equal to the first threshold as the matching user.
Another exampie of the présent disciosure also provides a user information obtaining system Including the mobile terminal and the server In the above examples. In the system, the functions and rôles of the server and the mobile terminal are as those described In the exampies before and will not be elaborated.
In summary, In the Instruction triggering methods and apparatus of the examples of the présent disciosure, the Input Instruction Is triggered by detecting the shaklng operation of the mobile terminal, so that when a user uses the mobile terminal, he can complété the triggering of the input Instruction by shaking the mobile terminal, which avolds looklng for a spécifie key on the keyboard of the mobile terminal so as to Improve the convenience of the user operation.
In the above user Information obtaining method and system, the mobile terminal generates the user information obtaining request and uploads it by detecting the shaking operation; and after the server recelves the user Information obtaining request, It obtains a user that matches the user Information obtaining request, and sends the user to the mobile terminal. Since as long as the shaking operation of the mobile terminal Is detected, the matching user can be requested and It Is not necessary for the user to Input a keyword, the convenience of operation by the user Is Improved.
And by matching the Interest Information of the terminal and the interest information saved by the server to obtain a matching user and sending the user Information of the matching user to the terminal, more targeted user Information for the terminal user to make friends and a wldely used expérience of randomly maklng friends are provided.
It should be understood by those ordinary skilled In the art that the above all or part of the flows In the method examples can be realized by computer programs Instructlng corresponding hardware and the programs can be stored In computer readable storage media, and when the programs are executed, the flows In the above method examples can be Included. The storage media can be a magnetic dise, a dise, a Read-Only Memory or a Random Access Memory, etc.
The foregoing description, for purpose of explanatlon, has been described with référencé to spécifie examples. However, the Illustrative discussions above are not Intended to be exhaustive or to llmit the présent disclosure to the précisé forms disclosed. Many modifications and variations are possible In view of the above teachings. The examples were chosen and described In order to best explaln the prindples of the présent disclosure and Its practicai applications, to thereby enable others skilled In the art to best utilize the présent disclosure and various examples with various modifications as are suited to the particular use contemplated.

Claims (26)

  1. WHATIS CLAIMED IS:
    1. An instruction triggering method, comprising:
    detecting a shaking operation of a mobile terminal; and triggering a preset Input Instruction according to the detected shaking operation.
  2. 2. The instruction triggering method according to claim 1, wherein detecting the shaking operation of the mobile terminal comprises:
    detecting the shaking operation of the mobile terminal by using an accelerometer.
  3. 3. The instruction triggering method according to claim 1, wherein triggering the preset Input Instruction according to the detected shaking operation comprises:
    triggering the preset Input instruction according to detected shaking amplitude and/or shaking frequency of the mobile terminal.
  4. 4. The instruction triggering method according to claim 1, wherein after the step of triggering the preset Input Instruction according to the detected shaking operation, the method further comprises:
    playing an animation and/or a sound according to the shaking operation.
  5. 5. The Instruction triggering method according to any of daims 1 to 4, wherein the preset input instruction is a screen unlocklng Instruction; and after the step of triggering the preset Input Instruction according to the detected shaking operation, the method further comprises:
    unlocklng a display screen of the mobile terminal according to the preset Input Instruction.
  6. 6. The Instruction triggering method according to any of clalms 1 to 4, wherein the preset Input instruction Is an Incoming call answer/ termination Instruction; and after the step of triggering the preset input Instruction according to the detected shaking operation, the method further comprises:
    answering or termlnatlng an incoming call according to the preset Input Instruction.
  7. 7. The instruction triggering method according to any of daims 1 to 4, wherein the preset input instruction is a data sending instruction; and after the step of triggering the preset Input Instrudion according to the deteded shaking operation, the method further comprises:
    sending data to a server according to the preset Input Instruction.
  8. 8. A user information obtaining method, comprising:
    sending a user information obtaining request to a server by a mobile terminal when the mobile terminal detects a shaking operation; and
    -· i. receivlng user Information of a matching user retumed from the server according to the user information obtaining request by the mobile terminal.
  9. 9. The user Information obtaining method according to claim 8, wherein sending the user Information obtaining request to the server by the mobile terminal when the mobile terminal detects the shaking operation comprises:
    generating the user Information obtaining request and sending the user Information obtaining request to the server by the mobile terminal according to detected shaking amplitude and/or shaking frequency of the mobile terminal.
  10. 10. The user information obtaining method according to claim 8, wherein sending the user Information obtaining request to the server by the mobile terminal when the mobile terminal detects the shaking operation comprises:
    startlng to count time when the mobile terminal detects a shaking Instruction, and when the counted time Is up to a specified length, determining whether the shaking Instruction Is contlnuously received durlng the counted time; and sending the user Information obtaining request to the server by the mobile terminal If the détermination Is yes.
  11. 11. The user Information obtaining method according to daim 8, wherein the user Information obtaining request comprises: a first user Identification corresponding to the mobile terminal.
  12. 12. The user Information obtaining method according to daim 11, wherein the user Information obtaining request further comprises:
    Interest Information of a first user corresponding to the mobile terminal, or the Interest Information of the first user corresponding to the mobile terminal and a specified condition.
  13. 13. The user Information obtaining method according to claim 11 or 12, wherein the user Information obtaining request further comprises: request time submitted by the mobile terminal.
  14. 14. The user Information obtaining method according to claim 11 or 12, wherein the user Information obtaining request further comprises: geographlcal location Information submitted by the mobile terminal.
  15. 15. A user Information obtaining method, comprising:
    after a server reçoives a user Information obtaining request triggered by a shaking operation of a mobile terminal, obtaining a matchlng user who matches the user Information obtaining request and sending user Information of the matchlng user to the mobile terminal. .
  16. 16. The user Information obtaining method according to claim 15, wherein the user Information obtaining request comprises:
    a first user Identification corresponding to the mobile terminal which sends the user Information obtaining request; or the first user Identification corresponding to the mobile terminal which sends the user information obtaining request and interest Information of a first user; or the first user Identification corresponding to the mobile terminal which sends the user Information obtaining request and Interest Information of the first user, and a specified condition.
  17. 17. The user Information obtaining method according to claim 16, wherein obtaining the user who matches the user Information obtaining request comprises:
    obtaining the Interest Information of the first user saved on the server according to the first user Identification carried In the user Information obtaining request, and matching the Interest Information of the first user with Interest Information of multiple second usera to détermine a matching user by the server; or matching the Interest Information of the first user with the Interest Information of the multiple second usera to détermine the matching user according to the first user Identification and the Interest Information of the first user carried ln the user Information obtaining request by the server.
  18. 18. The user Information obtaining method according to claim 17, wherein matching the Interest Information of the first user with the Interest Information of the multiple second usera to détermine the matching user comprises:
    determining a matching object group from the multiple second usera; and matching the Interest Information of the first user with Interest Information of each of second usera ln the matching object group to détermine the matching user.
  19. 19. The user Information obtaining method according to claim 18, wherein determining the matching object group from the multiple second usera comprises:
    obtaining a first specified group from the multiple second usera according to first time, and taking the first specified group as the matching object group, the first time being time when the user Information obtaining request of the terminal of the first user Is received, and each of second usera ln the first specified group Is a user corresponding to a user Information obtaining request received during a time period to which the first time belongs; or when the user Information obtaining request carries the specified condition, obtaining a second specified group from the multiple second usera and taking the second specified group as the matching object group, user Information of each of second users in the second specified group ail meeting the specified condition.
  20. 20. The user Information obtaining method according to claim 18, wherein matching the Interest Information of the first user with the Interest information of each of the second users in the matching object group to détermine the matching user comprises:
    calcuiating a distance between a first vector and each of second vectors respectively to get multiple distances, taking reciprocals of the multiple distances as Interest matching degrees between corresponding second users and the first user, obtaining a preset number of second users from the multiple second users according to an order of Interest matchlng degrees, and determining the preset number of the second users as the matchlng user, the first vector being a vector corresponding to the Interest Information of the first user and the second vector being a vector corresponding to the interest information of a second user; or clustering the first vector and each of the second vectors by using a clustering algorithm and determining a second user corresponding to a second vector which belongs to a same category with the first vector as the matchlng user.
  21. 21. The user Information obtaining method according to any of claims 15 to 20, whereln the user Information obtaining request comprises: request time submitted by the mobile terminal;
    and obtaining the user who matches the user Information obtaining request comprises: obtaining a user a time différence between whose request time and the request time submitted by the mobile terminal is smaller than or equal to a second threshold as the matchlng user by the server.
  22. 22. The user information obtaining method according to any of claims 15 to 20, wherein the user information obtaining request comprises: geographical location Information submitted by the mobile terminai; and the method further comprises: extracting the geographical location Information contained In the user information obtaining request and caiculating the distance between the mobile terminal and the matching user according to the geographical location Information by the server; and sending the distance between the mobile terminai and the matching user to the mobile terminal by the server.
  23. 23. The user Information obtaining method according to ciaim 22, wherein obtaining the user who matches the user Information obtaining request comprises:
    obtaining a user whose distance Is smaller than or equal to a first threshold as the matching user by the server.
  24. 24. An instruction triggering apparatus, comprising:
    a détection module, to detect a shaking operation of a mobile terminai; and a triggering module, to trigger a preset input Instruction according to the detected shaking operation.
  25. 25. A mobile terminai, comprising:
    a détection module, to detect a shaking operation of the mobile terminal; .
    a triggering module, when the détection module detects the shaking operation, to send a user information obtaining request to a server and
    ... a receiving module, to receive user Information of a matching user retumed according to the user information obtaining request by the server.
  26. 26. A server, comprising:
    a receiving module, to receive a user information obtaining request triggered by a shaking operation of a mobile terminal;
    a matching module, to obtain a user who matches the user Information obtaining request; and a sending module, to send user Information of the matching user to the mobile terminal.
OA1201400474 2012-04-16 2013-04-03 Instruction triggering method and device, user information acquisition method and system, terminal, and server. OA17113A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210109917.6 2012-04-16
CN201210138491.7 2012-05-07

Publications (1)

Publication Number Publication Date
OA17113A true OA17113A (en) 2016-03-23

Family

ID=

Similar Documents

Publication Publication Date Title
AU2013248815B2 (en) Instruction triggering method and device, user information acquisition method and system, terminal, and server
KR101691129B1 (en) Routine deviation notification
KR101841661B1 (en) Detecting carriers for mobile devices
US10013462B2 (en) Virtual tiles for service content recommendation
KR101605366B1 (en) Grouping ambient-location updates
US9356792B1 (en) Recording events for social media
KR101603682B1 (en) Routine estimation
CN103944804B (en) Contact recommending method and device
CA2899603C (en) Pattern labeling
US20170116285A1 (en) Semantic Location Layer For User-Related Activity
US9418076B2 (en) System and method for determining interests from location data
JP5891909B2 (en) Server apparatus, program, and communication system
OA17113A (en) Instruction triggering method and device, user information acquisition method and system, terminal, and server.
WO2019005333A1 (en) Offline geographic searches
CN107870941B (en) Webpage sorting method, device and equipment
US20140106780A1 (en) Creating a database entry
US20150234911A1 (en) System and method for leaving and retrieving social traces