CN106954177A - Method and apparatus for matching mobile terminal - Google Patents

Method and apparatus for matching mobile terminal Download PDF

Info

Publication number
CN106954177A
CN106954177A CN201710164801.5A CN201710164801A CN106954177A CN 106954177 A CN106954177 A CN 106954177A CN 201710164801 A CN201710164801 A CN 201710164801A CN 106954177 A CN106954177 A CN 106954177A
Authority
CN
China
Prior art keywords
mobile terminal
testing result
acceleration
matching
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
Application number
CN201710164801.5A
Other languages
Chinese (zh)
Inventor
郎君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710164801.5A priority Critical patent/CN106954177A/en
Publication of CN106954177A publication Critical patent/CN106954177A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

This application discloses the method and apparatus for matching mobile terminal.One embodiment of this method includes:The matching request that two mobile terminals are sent respectively is received, wherein, each matching request includes the acceleration information at least one time point of the corresponding mobile terminal in current slot, and acceleration information includes the component of acceleration in multiple reference axis;Detect whether the direction of two mobile terminals multiple components of acceleration on correspondence time point is identical, obtains the first testing result;Determining two mobile terminals according to the first testing result, whether the match is successful.The embodiment realizes the accurate matching of different mobile terminal.

Description

Method and apparatus for matching mobile terminal
Technical field
The application is related to field of computer technology, and in particular to Internet technical field, more particularly, to matching movement The method and apparatus of terminal.
Background technology
Before cooperatings are carried out using different mobile terminals, it usually needs according to certain mode mobile terminal it Between set up matching relationship.In order to avoid introducing the mobile device that need not be matched in matching, it is necessary to improve the essence of matching process Accuracy.
However, prior art is in matching, used matching scheme is more coarse, can frequently result in the shifting of user Dynamic terminal accordingly, there are with that need not set up other mobile terminal error hidings of matching relationship and improve mobile terminal matching The demand of precision.
The content of the invention
The purpose of the application is to propose a kind of improved method and apparatus for matching mobile terminal, more than solving The technical problem that background section is mentioned.
In a first aspect, the embodiment of the present application provides a kind of method for matching mobile terminal, this method includes:Receive The matching request that two mobile terminals are sent respectively, wherein, each matching request includes corresponding mobile terminal in current time The acceleration information at least one time point in section, acceleration information includes the component of acceleration in multiple reference axis;Detection Whether the direction of two mobile terminals multiple components of acceleration on correspondence time point is identical, obtains the first testing result;According to First testing result determines two mobile terminals, and whether the match is successful.
In certain embodiments, the above method also includes:Detect that two mobile terminals are multiple on correspondence time point to accelerate Whether the similarity spent between the component value proportionate relationship of component is more than similarity threshold, obtains the second testing result;And, on State and determine two mobile terminals according to the first testing result whether the match is successful, including:According to the first testing result and second Testing result determines two mobile terminals, and whether the match is successful.
In certain embodiments, the above method also includes:Two mobile terminals of detection each accelerate on correspondence time point Whether the difference for spending the component value of component is less than predetermined threshold value, obtains the 3rd testing result;And, determined according to the first testing result Whether the match is successful for two mobile terminals, including:Two movements are determined eventually according to the first testing result and the 3rd testing result Whether the match is successful at end.
In certain embodiments, matching request also includes the current three-dimensional geographical location information of mobile terminal;And, it is above-mentioned Method also includes:Detect whether the space length between the three-dimensional geographical position of two mobile terminals is less than distance threshold, obtain 4th testing result;And, it is above-mentioned two mobile terminals to be determined according to the first testing result whether the match is successful, including:According to First testing result and the 4th testing result determine two mobile terminals, and whether the match is successful.
Second aspect, the embodiment of the present application provides the method that another is used to match mobile terminal, and this method includes:Inspection The acceleration information at least one time point of first mobile terminal in current slot is surveyed, wherein acceleration information includes many Component of acceleration in individual reference axis;Being sent to server includes the matching request of acceleration information;What the reception server was returned Matching result information is simultaneously presented, and wherein matching result information is that server detects the first mobile terminal with being sent out in current slot Send the direction of the second mobile terminal component of acceleration on correspondence time point of matching request whether identical and obtain the first detection As a result generated after, according to the first testing result for indicating the first mobile terminal and the second mobile terminal letter whether the match is successful Breath.
In certain embodiments, matching result information is that server is given birth to according to the first testing result and the second testing result Into, wherein the second testing result, which is server, detects that the first mobile terminal and the second mobile terminal are multiple on correspondence time point Whether the similarity between the component value proportionate relationship of component of acceleration is more than obtained from similarity threshold.
In certain embodiments, matching result information is that server is given birth to according to the first testing result and the 3rd testing result Into, wherein the 3rd testing result, which is server, detects that the first mobile terminal and the second mobile terminal are each on correspondence time point Whether the difference of the component value of component of acceleration is less than obtained from predetermined threshold value.
In certain embodiments, the above method also includes:Detect the current location information of the first mobile terminal;And, Also include the current three-dimensional geographical location information of correspondence mobile terminal with request, matching result information is server according to the first inspection What survey result and the 4th testing result were generated, detect that the first mobile terminal and second is moved wherein the 4th testing result is server Whether the space length between the three-dimensional geographical position of dynamic terminal is less than distance threshold and obtains.
The third aspect, the embodiment of the present application provides a kind of device for being used to match mobile terminal, and the device includes:Receive Unit, for receiving the matching request that two mobile terminals are sent respectively, wherein, each matching request includes corresponding mobile whole The acceleration information at least one time point in current slot is held, acceleration information includes the acceleration in multiple reference axis Spend component;First detection unit, for two mobile terminals of detection, the direction of multiple components of acceleration is on correspondence time point It is no identical, obtain the first testing result;Determining unit, for determining whether two mobile terminals match according to the first testing result Success.
In certain embodiments, said apparatus also includes:Second detection unit, for detecting two mobile terminals in correspondence Whether the similarity on time point between the component value proportionate relationship of multiple components of acceleration is more than similarity threshold, obtains second Testing result;And, determining unit is further used for determining two movements according to the first testing result and the second testing result Whether the match is successful for terminal.
In certain embodiments, said apparatus also includes:3rd detection unit, for detecting two mobile terminals in correspondence Whether the difference of the component value of each component of acceleration is less than predetermined threshold value on time point, obtains the 3rd testing result;And, it is determined that Unit is further used for determining two mobile terminals according to the first testing result and the 3rd testing result whether the match is successful.
In certain embodiments, matching request also includes the current three-dimensional geographical location information of mobile terminal;And, it is above-mentioned Device also includes the 4th detection unit, and whether the space length between three-dimensional geographical position for detecting two mobile terminals is small In distance threshold, the 4th testing result is obtained;And, determining unit is further used for according to the first testing result and the 4th inspection Survey result determines two mobile terminals, and whether the match is successful.
Fourth aspect, the embodiment of the present application provides the device that another is used to match mobile terminal, and the device includes:The One detection unit, the acceleration information for detecting at least one time point of first mobile terminal in current slot, its Middle acceleration information includes the component of acceleration in multiple reference axis;Transmitting element, includes acceleration for being sent to server The matching request of information;Receiving unit, the matching result information returned for the reception server is simultaneously presented, and wherein matching result is believed Breath be server detect the first mobile terminal with current slot transmission matching request the second mobile terminal to it is corresponding when Between put upper component of acceleration direction it is whether identical and obtain after the first testing result, generated according to the first testing result for referring to Show the first mobile terminal and the second mobile terminal information whether the match is successful.
In certain embodiments, matching result information is that server is given birth to according to the first testing result and the second testing result Into, wherein the second testing result, which is server, detects that the first mobile terminal and the second mobile terminal are multiple on correspondence time point Whether the similarity between the component value proportionate relationship of component of acceleration is more than obtained from similarity threshold.
In certain embodiments, matching result information is that server is given birth to according to the first testing result and the 3rd testing result Into, wherein the 3rd testing result, which is server, detects that the first mobile terminal and the second mobile terminal are each on correspondence time point Whether the difference of the component value of component of acceleration is less than obtained from predetermined threshold value.
In certain embodiments, said apparatus also includes:Second detection unit, for detecting the current of the first mobile terminal Positional information;And, matching request also includes the current three-dimensional geographical location information of correspondence mobile terminal, and matching result information is Server is generated according to the first testing result and the 4th testing result, wherein the 4th testing result is server detection first Whether the space length between mobile terminal and the three-dimensional geographical position of the second mobile terminal is less than distance threshold and obtains.
5th aspect, the embodiment of the present application provides a kind of server, including:One or more processors;Storage device, For storing one or more programs, when one or more programs are executed by one or more processors so that one or more Processor realizes the method as described by any in first aspect.
6th aspect, the embodiment of the present application provides a kind of mobile terminal, including:One or more processors;Storage dress Put, for storing one or more programs;Multi-shaft acceleration transducer, for gathering mobile terminal adding in multiple reference axis Velocity component;Device is presented, for information to be presented;When one or more programs are executed by one or more processors so that one Individual or multiple processors realize the method as described by any one of second aspect.
7th aspect, the embodiment of the present application provides a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, it is characterised in that realized when the program is executed by processor as described by any one of first aspect or any one of second aspect Method.
The method and apparatus for matching mobile terminal that the application is provided, by the acceleration to mobile terminal multiple Whether the direction of the component of acceleration in reference axis unanimously judges two mobile terminals, and whether the match is successful so that different user can To be matched by carrying out rocking for equidirectional to used mobile terminal, the probability of error hiding is greatly reduced, carry The high precision matched to mobile terminal.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart for being used to match one embodiment of the method for mobile terminal according to the application;
Fig. 3 is the schematic diagram for being used to match an application scenarios of the method for mobile terminal according to the application;
Fig. 4 is the flow chart for being used to match another embodiment of the method for mobile terminal according to the application;
Fig. 5 is the structural representation for being used to match one embodiment of the device of mobile terminal according to the application;
Fig. 6 is the structural representation for being used to match another embodiment of the device of mobile terminal according to the application;
Fig. 7 is adapted for the structural representation for realizing the server of the embodiment of the present application or the computer system of mobile terminal Figure.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to Be easy to description, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1, which is shown, can apply the method for matching mobile terminal or the dress for matching mobile terminal of the application The exemplary system architecture 100 for the embodiment put.
As shown in figure 1, system architecture 100 can include mobile terminal 1 01,102, network 103 and server 104.Network 103 medium to provide communication link between mobile terminal 1 01,102 and server 104.Network 103 can include various Connection type, such as wired, wireless communication link or fiber optic cables etc..
User can use mobile terminal 1 01,102 to be interacted by network 103 with server 104, be disappeared with receiving or sending Breath etc..Various telecommunication customer end applications, such as JICQ, social platform can be installed in mobile terminal 1 01,102 Software etc..
Mobile terminal 1 01,102 can be the various mobile electronic equipments with acceleration transducer, including but not limit In smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4) player etc..
Server 104 can be to provide the server of various services, such as matching to being sent in mobile terminal 1 01,102 Ask the background server matched.Background server can carry out analyzing etc. to data such as the matching requests that receives Reason, and result (such as matching result) is fed back into mobile terminal.
It should be noted that the method for being used to match mobile terminal that the embodiment of the present application Fig. 2 is provided is general by servicing Device 104 is performed, correspondingly, and the device for matching mobile terminal that Fig. 5 is provided is generally positioned in server 104;Fig. 4 institutes The method for being used to match mobile terminal provided is typically performed by mobile terminal 1 01 or mobile terminal 1 02, and correspondingly, Fig. 6 is carried The device for being used to match mobile terminal supplied is generally positioned in mobile terminal 1 01 or mobile terminal 1 02.
It should be understood that the number of the mobile terminal, network and server in Fig. 1 is only schematical.According to realizing need Will, can have any number of mobile terminal, network and server.
With continued reference to Fig. 2, the stream for being used to match one embodiment of the method for mobile terminal according to the application is shown Journey 200.This is used for the method for matching mobile terminal, comprises the following steps:
Step 201, the matching request that two mobile terminals are sent respectively is received.
In the present embodiment, for matching the electronic equipment of the method operation of mobile terminal thereon (such as shown in Fig. 1 Server) two mobile terminals being operated by wired connection mode or radio connection from user receive matching please Ask.Wherein, each matching request includes the acceleration at least one time point of the corresponding mobile terminal in current slot Information.In practice, each mobile terminal of the matching request of transmission generally can by being provided with multi-shaft acceleration transducer, Installed multi-shaft acceleration transducer collection acceleration information can be passed through when sending request.Acceleration information is sweared for space Amount, it can include the component of acceleration in multiple reference axis, and each component of acceleration includes direction.For example for the earth The parallel north-south reference axis of latitude, acceleration information can be included in the direction in the reference axis of north-south, i.e., it is to the south or to North.In addition, component of acceleration is additionally may included in the component value in the reference axis.It should be noted that representing some seat During component of acceleration on parameter, it can be represented by the numerical value with sign symbol.Wherein, the sign symbol of the numerical value institute band is For the direction of the component in the reference axis, the absolute value of the numerical value can as component in the reference axis component value.
Step 202, detect whether the direction of two mobile terminals multiple components of acceleration on correspondence time point is identical, obtains To the first testing result.
In the present embodiment, based on two matching requests received in step 201, above-mentioned electronic equipment (such as Fig. 1 Shown server) corresponding mobile terminal can be extracted from each matching request first on each time point each Component of acceleration in reference axis.Afterwards, electronic equipment can detect two mobile terminals at correspondence time point and correspondingly Whether the direction of the component of acceleration in reference axis is identical, so that the first testing result is obtained, for follow-up further analysis.
Step 203, two mobile terminals are determined according to the first testing result whether the match is successful.
In the present embodiment, based on the first testing result obtained by step 202, the method for matching mobile terminal is transported The electronic equipment of row thereon can be using first testing result as a criterion, whether to judge two mobile terminals The match is successful.For example, can be using the first testing result as a unique criterion, i.e., when the first testing result is direction When identical, you can think that the match is successful for two mobile terminals, otherwise it is assumed that matching is unsuccessful.Optionally, can also be by the first inspection Survey result to be combined with other standards, judging two mobile terminals jointly, whether the match is successful.
In some optional implementations of the present embodiment, the above method also includes:Detect two mobile terminals right Whether similarity that should be between the component value proportionate relationship of time point upper multiple components of acceleration is more than similarity threshold, obtains the Two testing results.Meanwhile, above-mentioned steps 203 include:Two movements are determined according to the first testing result and the second testing result Whether the match is successful for terminal.In the implementation, the phase also between the component value proportionate relationship based on multiple components of acceleration Determine whether two mobile terminals match like degree, wherein component value proportionate relationship can reflect that the specific of mobile terminal rocks angle Spend, therefore this matching scheme is favorably improved also further using the specific roll angle of mobile terminal as the standard of matching The precision of matching.
In some optional implementations of the present embodiment, the above method also includes:Detect two mobile terminals in correspondence Whether the difference of the component value of each component of acceleration is less than predetermined threshold value on time point, obtains the 3rd testing result.Meanwhile, it is above-mentioned Step 203 is specifically included:Determining two mobile terminals according to the first testing result and the 3rd testing result, whether the match is successful. In the implementation, in addition to whether electronic equipment is identical except the direction for detecting component of acceleration, also component of acceleration is divided Whether the difference of value detected less than predetermined threshold value, and as judging the foundation whether two mobile terminals match.It can be seen that, should In implementation simultaneously according to user rock mobile terminal rock direction and the amplitude of rocking determine two mobile terminals whether With success, the precision of matching is further increased.
In some optional implementations of the present embodiment, above-mentioned matching request also includes the current three-dimensional of mobile terminal Geographical location information.Corresponding, the above method also includes:Detect two mobile terminals three-dimensional geographical position between space away from From whether distance threshold is less than, the 4th testing result is obtained.Meanwhile, above-mentioned steps 203 further comprise:Tied according to the 4th detection Fruit and the second testing result determine two mobile terminals, and whether the match is successful.In the implementation, it is determined that two movements Terminal is when whether the match is successful, except the matching between component of acceleration, as the standard judged, is also further moved two The space length of dynamic terminal is as criterion, so as to further improve the precision of matching.
With continued reference to Fig. 3, Fig. 3 is one that is used to match the application scenarios of the method for mobile terminal according to the present embodiment Schematic diagram.In Fig. 3 application scenarios, different users can rock direction difference in synchronization to same as shown in Figure 3 Rock mobile phone 301 and mobile phone 302;Now, the multi-shaft acceleration transducer installed on mobile phone 301 and mobile phone 302 can be detected Acceleration information of the mobile phone at this moment, the acceleration information is included in the component of acceleration in multiple reference axis;Then, hand Machine 301 and mobile phone 302 send matching request to server, and server detects acceleration of two mobile phones in same reference axis The direction all same of component, so that server can determine mobile phone 301 and mobile phone 302 according to this testing result, the match is successful.
The method that above-described embodiment of the application is provided adding in multiple reference axis by the acceleration to mobile terminal Whether the direction of velocity component unanimously judges two mobile terminals, and whether the match is successful so that different user can be by being made Mobile terminal carries out equidirectional and rocks to be matched, and greatly reduces the probability of error hiding, improve to it is mobile eventually Hold the precision of matching.
With further reference to Fig. 4, it illustrates the flow 400 of another embodiment of the method for matching mobile terminal. This is used for the flow 400 for matching the method for mobile terminal, comprises the following steps:
Step 401, the acceleration information at least one time point of the first mobile terminal of detection in current slot.
In the present embodiment, for matching the electronic equipment of the method operation of mobile terminal thereon, (the i.e. first movement is eventually End) it can generally pass through installed multi-shaft acceleration transducer progress acceleration detection, exist so as to obtain the first mobile terminal The acceleration information at least one time point in current slot.Wherein, acceleration information includes adding in multiple reference axis Velocity component.Optionally, above-mentioned multi-shaft acceleration transducer can be that two axle accelerations sensing or 3-axis acceleration are passed Sensor.When multi-shaft acceleration transducer is 3-axis acceleration sensor, electronic equipment can be to north-south reference axis, East and West direction The component of acceleration of reference axis and upward and downward reference axis is detected.
Step 402, being sent to server includes the matching request of acceleration information.
In the present embodiment, above-mentioned electronic equipment can be sent to server includes the matching request of acceleration information.Its In, the matching request includes the acceleration information detected by step 401.
Step 403, the reception server return matching result information and present.
In the present embodiment, server is in addition to receiving the matching request that the first mobile terminal is sent, also from the second movement Terminal receives matching request.Wherein, the matching request received from the second mobile terminal also includes the second mobile terminal and worked as Acceleration information in the preceding period.Server can detect the first mobile terminal with the second mobile terminal in the corresponding time first Whether the directions of multiple components of acceleration on point is identical to obtain the first testing result.Afterwards, server can be according to first Testing result generates concurrent for indicating the first mobile terminal and the second mobile terminal matching result information whether the match is successful Give the first mobile terminal.Thus, the first mobile terminal can receive matching result information and show, the first movement is eventually The user at end can know whether matching succeeds according to the information presented.
In some optional implementations of the present embodiment, matching result information be server according to the first testing result with And the second testing result generation, wherein the second testing result, which is server, detects that the first mobile terminal and the second mobile terminal exist Whether the similarity between the component value proportionate relationship of correspondence time point upper multiple components of acceleration is more than similarity threshold and obtains Arrive.That is, server is when judging whether the first mobile terminal and the second mobile terminal match, except by each component of acceleration Whether it is identical as basis for estimation outside, also further using the component value proportionate relationship of multiple components of acceleration as basis for estimation, Help further to improve matching precision.
In some optional implementations of the present embodiment, matching result information be server according to the first testing result with And the 3rd testing result generation, wherein the 3rd testing result, which is server, detects that the first mobile terminal and the second mobile terminal exist Whether the difference of the component value of correspondence time point upper each component of acceleration is less than obtained from predetermined threshold value.In the implementation In, in addition to whether electronic equipment identical except the direction for detecting component of acceleration, also to the difference of the component value of component of acceleration whether Detected less than predetermined threshold value, and as judging the foundation whether two mobile terminals match.It can be seen that, it is same in the implementation When mobile terminal is rocked according to user rock direction and the amplitude of rocking determine two mobile terminals whether the match is successful, further Improve the precision of matching.
In some optional implementations of the present embodiment, the above method also includes:Detect the current of the first mobile terminal Positional information.Meanwhile, matching request also includes the current three-dimensional geographical location information of correspondence mobile terminal.Accordingly, matching knot Fruit information is that server detects whether is space length between the three-dimensional geographical position of the first mobile terminal and the second mobile terminal Obtain after the second testing result, generated according to the first testing result and the second testing result for indicating less than distance threshold First mobile terminal and the second mobile terminal the matching result information whether the match is successful.In the implementation, it is determined that two Individual mobile terminal is when whether the match is successful, except using the matching between component of acceleration as the standard judged, also further general The space length of two mobile terminals is as criterion, so as to further improve the precision of matching.
The method that above-described embodiment of the application is provided adding in multiple reference axis by the acceleration to mobile terminal Whether the direction of velocity component unanimously judges two mobile terminals, and whether the match is successful so that different user can be by being made Mobile terminal carries out equidirectional and rocks to be matched, and greatly reduces the probability of error hiding, improve to it is mobile eventually Hold the precision of matching.
With further reference to Fig. 5, as the realization to method shown in above-mentioned Fig. 2, it is used to match this application provides one kind and moves One embodiment of the device of dynamic terminal, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and the device specifically may be used With applied in various servers.
As shown in figure 5, the device 500 for being used to match mobile terminal of the present embodiment includes:Receiving unit 501, first is examined Survey unit 502 and determining unit 503.Wherein, receiving unit 501 is asked for receiving the matching that two mobile terminals are sent respectively Ask, wherein, each matching request includes the acceleration at least one time point of the corresponding mobile terminal in current slot Information, acceleration information includes the component of acceleration in multiple reference axis;First detection unit 502 is used to detect two movements eventually Hold the direction of multiple components of acceleration on correspondence time point whether identical, obtain the first testing result;And determining unit 503 is used In determining two mobile terminals according to the first testing result, whether the match is successful.
In the present embodiment, receiving unit 501, the specific processing of the first detection unit 502 and determining unit 503 can be joined Step 201, step 202 and the step 203 in Fig. 2 correspondence embodiments are examined, is repeated no more here.
In some optional implementations of the present embodiment, device 500 also includes:Second detection unit (not shown), is used It is in similarity of two mobile terminals of detection on correspondence time point between the component value proportionate relationship of multiple components of acceleration It is no to be more than similarity threshold, obtain the second testing result;And, determining unit 203 is further used for according to the first testing result And second testing result determine two mobile terminals whether the match is successful.The specific processing of the implementation may be referred to Fig. 2 Corresponding implementation, is repeated no more here in correspondence embodiment.
In some optional implementations of the present embodiment, device 500 also includes:3rd detection unit, for detecting two Whether the difference of individual mobile terminal component value of each component of acceleration on correspondence time point is less than predetermined threshold value, obtains the 3rd inspection Survey result;And, determining unit 203 is further used for determining two movements according to the first testing result and the 3rd testing result Whether the match is successful for terminal.The specific processing of the implementation may be referred to corresponding implementation in Fig. 2 correspondence embodiments, this In repeat no more.
In some optional implementations of the present embodiment, matching request also includes the geographical position of the current three-dimensional of mobile terminal Confidence ceases;And, device 500 also includes:4th detection unit (not shown), the three-dimensional for detecting two mobile terminals is geographical Whether the space length between position is less than distance threshold, obtains the 4th testing result;And, determining unit 503 is further used In:Determining two mobile terminals according to the first testing result and the 4th testing result, whether the match is successful.The implementation Specific processing may be referred to corresponding implementation in Fig. 2 correspondence embodiments, repeat no more here.
With further reference to Fig. 6, as the realization to method shown in above-mentioned Fig. 4, it is used to match this application provides one kind and moves One embodiment of the device of dynamic terminal, the device embodiment is corresponding with the embodiment of the method shown in Fig. 4, and the device specifically may be used With applied in various mobile terminals.
As shown in fig. 6, the device 600 for being used to match mobile terminal of the present embodiment includes:First detection unit 601, hair Send unit 602 and receiving unit 603.Wherein, the first detection unit 601 is used to detect the first mobile terminal in current slot At least one time point acceleration information, wherein acceleration information include multiple reference axis on component of acceleration;Send Unit 602, which is used to send to server, includes the matching request of acceleration information;And receiving unit 603 is returned for the reception server Return matching result information and present, wherein matching result information be server detect the first mobile terminal with current slot The direction of component of acceleration of interior the second mobile terminal for sending matching request on correspondence time point and respective coordinates axle is It is no identical and obtain after the first testing result, according to the first testing result generate for indicate the first mobile terminal and second movement The terminal information whether the match is successful.
In the present embodiment, the specific processing of the first detection unit 601, transmitting element 602 and receiving unit 603 can be joined Step 401, step 402 and the step 403 in Fig. 4 correspondence embodiments are examined, is repeated no more here.
In some optional implementations of the present embodiment, matching result information be server according to the first testing result with And the second testing result generation, wherein the second testing result, which is server, detects that the first mobile terminal and the second mobile terminal exist Whether the similarity between the component value proportionate relationship of correspondence time point upper multiple components of acceleration is more than similarity threshold and obtains Arrive.The specific processing of the implementation may be referred to corresponding implementation in Fig. 4 correspondence embodiments, repeat no more here.
In some optional implementations of the present embodiment, matching result information be server according to the first testing result with And the 3rd testing result generation, wherein the 3rd testing result, which is server, detects that the first mobile terminal and the second mobile terminal exist Whether the difference of the component value of correspondence time point upper each component of acceleration is less than obtained from predetermined threshold value.The tool of the implementation Body processing may be referred to corresponding implementation in Fig. 4 correspondence embodiments, repeat no more here.
In some optional implementations of the present embodiment, device 600 also includes:Second detection unit (not shown), is used In the current location information for detecting the first mobile terminal;And, it is current dimensionally that matching request also includes correspondence mobile terminal Manage positional information;And, matching result information is that server detects that the three-dimensional of the first mobile terminal and the second mobile terminal is geographical Whether space length between position be less than distance threshold and obtain after the 4th testing result, according to the first testing result and the Four testing results are generated for indicating the first mobile terminal and the second mobile terminal matching result information whether the match is successful.Should The specific processing of implementation may be referred to corresponding implementation in Fig. 4 correspondence embodiments, repeat no more here.
Present invention also provides a kind of server, the server includes:One or more processors;Storage device, is used for One or more programs are stored, when one or more programs are executed by one or more processors so that one or more processing Device realizes the method for operating group described by any optional implementation in the corresponding embodiments of Fig. 2 or the embodiment. In addition, present invention also provides a kind of mobile terminal, the mobile terminal includes:One or more processors;Storage device, is used for Store one or more programs;Multi-shaft acceleration transducer, for gathering the mobile terminal acceleration in multiple reference axis point Amount;Device is presented, for information to be presented;When one or more programs are executed by one or more processors so that one or many Individual processor realizes the method such as the corresponding embodiments of Fig. 4 or any implementation.Fig. 7 is shown suitable for being used for realizing the application The structural representation of the server of embodiment or the computer system 700 of mobile terminal.Equipment shown in Fig. 7 is only one and shown Example, should not carry out any limitation to the function of the embodiment of the present application and using range band.
As shown in fig. 7, computer system 700 includes CPU (CPU) 701, it can be read-only according to being stored in Program in memory (ROM) 702 or be loaded into program in random access storage device (RAM) 703 from storage part 708 and Perform various appropriate actions and processing.In RAM 703, the system that is also stored with 700 operates required various programs and data. CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always Line 704.
I/O interfaces 705 are connected to lower component:Importation 706;Output par, c 707;Storage part including hard disk etc. 708;And the communications portion 709 of the NIC including LAN card, modem etc..Communications portion 709 is via all Network such as internet performs communication process.Driver 710 is also according to needing to be connected to I/O interfaces 705.Detachable media 711, It is arranged on as needed on driver 710, in order to which the computer program read from it is mounted into storage part as needed Divide 708.When computer system 700 is mobile terminal, importation 706 can include multi-shaft acceleration transducer, output section Divide 707 can include device is presented.
Especially, in accordance with an embodiment of the present disclosure, the process described above with reference to flow chart may be implemented as computer Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium On computer program, the computer program include be used for execution flow chart shown in method program code.In such reality Apply in example, the computer program can be downloaded and installed by communications portion from network, can also be from detachable media quilt Install.When the computer program is performed by CPU (CPU), the above-mentioned work(limited in the present processes is performed Energy.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, the part of the module, program segment or code is used comprising one or more In the executable instruction for realizing defined logic function.It should also be noted that in some realizations as replacement, being marked in square frame The function of note can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actually It can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also to note Meaning, the combination of each square frame in block diagram and/or flow chart and the square frame in block diagram and/or flow chart can be with holding The special hardware based system of function or operation as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag Include receiving unit, the first detection unit and determining unit.Wherein, the title of these units under certain conditions constitute pair The restriction of the unit in itself, for example, receiving unit is also described as, " matching that two mobile terminals of reception are sent respectively please The unit asked ".
As on the other hand, present invention also provides a kind of computer-readable medium, the computer-readable medium can be Included in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculating Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the device so that should Device:The matching request that two mobile terminals are sent respectively is received, wherein, each matching request exists including corresponding mobile terminal The acceleration information at least one time point in current slot, acceleration information includes the acceleration point in multiple reference axis Amount;Detect whether the direction of two mobile terminals multiple components of acceleration on correspondence time point is identical, obtains the first detection knot Really;Determining two mobile terminals according to the first testing result, whether the match is successful.Or, above computer computer-readable recording medium is carried One or more program, when said one or multiple programs are performed by the device so that the device:Detection first is moved The acceleration information at least one time point of the terminal in current slot, wherein acceleration information are included in multiple reference axis Component of acceleration;Being sent to server includes the matching request of acceleration information;The matching result letter that the reception server is returned Cease and present, wherein matching result information is that server detects the first mobile terminal and matching request is sent in current slot The second mobile terminal component of acceleration on correspondence time point direction it is whether identical and after obtaining the first testing result, basis First testing result is generated for indicating the first mobile terminal and the second mobile terminal information whether the match is successful.
It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer-readable recording medium either the two any combination.Computer-readable recording medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination. The more specifically example of computer-readable recording medium can include but is not limited to:Electrical connection with one or more wires, Portable computer diskette, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer-readable recording medium can any be included or store The tangible medium of program, the program can be commanded execution system, device or device and use or in connection.And In the application, computer-readable signal media can include believing in a base band or as the data of carrier wave part propagation Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium beyond readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by the use of instruction execution system, device or device or program in connection.Included on computer-readable medium Program code any appropriate medium can be used to transmit, include but is not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, is carried out by above-mentioned technical characteristic or its equivalent feature Other technical schemes formed by any combination.Such as features described above has similar work(with (but not limited to) disclosed herein The technical characteristic of energy carries out technical scheme formed by replacement mutually.

Claims (13)

1. a kind of method for matching mobile terminal, methods described includes:
The matching request that two mobile terminals are sent respectively is received, wherein, each matching request exists including corresponding mobile terminal The acceleration information at least one time point in current slot, acceleration information includes the acceleration point in multiple reference axis Amount;
Detect whether the direction of described two mobile terminals multiple components of acceleration on correspondence time point is identical, obtains the first inspection Survey result;
Determining described two mobile terminals according to first testing result, whether the match is successful.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
Detect phase of described two mobile terminals on correspondence time point between the component value proportionate relationship of multiple components of acceleration Whether it is more than similarity threshold like degree, obtains the second testing result;And
It is described described two mobile terminals to be determined according to first testing result whether the match is successful, including:
Determining described two mobile terminals according to first testing result and second testing result, whether the match is successful.
3. according to the method described in claim 1, it is characterised in that methods described also includes:
Detect whether the difference of described two mobile terminals component value of each component of acceleration on correspondence time point is less than to preset Threshold value, obtains the 3rd testing result;And
It is described described two mobile terminals to be determined according to first testing result whether the match is successful, including:
Determining described two mobile terminals according to first testing result and the 3rd testing result, whether the match is successful.
4. according to the method described in claim 1, it is characterised in that the matching request also includes the current three-dimensional of mobile terminal Geographical location information;And
Methods described also includes:
Detect whether the space length between the three-dimensional geographical position of described two mobile terminals is less than distance threshold, obtain the 4th Testing result;And
It is described described two mobile terminals to be determined according to first testing result whether the match is successful, including:
Determining described two mobile terminals according to first testing result and the 4th testing result, whether the match is successful.
5. a kind of method for matching mobile terminal, methods described includes:
Detect the acceleration information at least one time point of first mobile terminal in current slot, wherein acceleration information Including the component of acceleration in multiple reference axis;
Being sent to server includes the matching request of acceleration information;
Receive the matching result information of the server return and present, wherein the matching result information is the server inspection First mobile terminal is surveyed with sending the second mobile terminal of matching request in the current slot at corresponding time point Whether the direction of upper component of acceleration is identical and obtains after the first testing result, generated according to first testing result for referring to Show first mobile terminal and the second mobile terminal information whether the match is successful.
6. method according to claim 5, it is characterised in that the matching result information is the server according to described First testing result and the generation of the second testing result, wherein second testing result is server detection described the One mobile terminal and second mobile terminal are on correspondence time point between the component value proportionate relationship of multiple components of acceleration Similarity whether be more than similarity threshold obtained from.
7. method according to claim 5, it is characterised in that the matching result information is the server according to described First testing result and the generation of the 3rd testing result, wherein the 3rd testing result is server detection described the It is default whether the difference of one mobile terminal and the second mobile terminal component value of each component of acceleration on correspondence time point is less than Obtained from threshold value.
8. method according to claim 5, it is characterised in that methods described also includes:
Detect the current location information of first mobile terminal;And
Matching request also includes the current three-dimensional geographical location information of correspondence mobile terminal, and the matching result information is the clothes It is engaged in what device was generated according to first testing result and the 4th testing result, wherein the 4th testing result is the service Device detects whether the space length between first mobile terminal and the three-dimensional geographical position of the second mobile terminal is less than distance Threshold value and obtain.
9. a kind of device for being used to match mobile terminal, described device includes:
Receiving unit, for receiving the matching request that two mobile terminals are sent respectively, wherein, each matching request includes corresponding At least one time point of the mobile terminal in current slot acceleration information, acceleration information includes multiple reference axis On component of acceleration;
First detection unit, for detecting that described two mobile terminals the directions of multiple components of acceleration are on correspondence time point It is no identical, obtain the first testing result;
Determining unit, for determining described two mobile terminals according to first testing result, whether the match is successful.
10. a kind of device for being used to match mobile terminal, described device includes:
First detection unit, the acceleration letter for detecting at least one time point of first mobile terminal in current slot Breath, wherein acceleration information include the component of acceleration in multiple reference axis;
Transmitting element, includes the matching request of acceleration information for being sent to server;
Receiving unit, for receiving the matching result information of the server return and presenting, wherein the matching result information It is that the server detects first mobile terminal with sending the second movement of matching request in the current slot eventually Hold the direction of the component of acceleration on correspondence time point whether identical and obtain after the first testing result, according to the described first detection As a result generate for indicating first mobile terminal and the second mobile terminal information whether the match is successful.
11. a kind of server, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors are real The existing method as described in any in claim 1-4.
12. a kind of mobile terminal, including:
One or more processors;
Storage device, for storing one or more programs;
Multi-shaft acceleration transducer, for gathering component of acceleration of the mobile terminal in multiple reference axis;
Device is presented, for information to be presented;
When one or more of programs are by one or more of computing devices so that one or more of processors are real The existing method as described in any in claim 5-8.
13. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-8 is realized during execution.
CN201710164801.5A 2017-03-20 2017-03-20 Method and apparatus for matching mobile terminal Pending CN106954177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710164801.5A CN106954177A (en) 2017-03-20 2017-03-20 Method and apparatus for matching mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710164801.5A CN106954177A (en) 2017-03-20 2017-03-20 Method and apparatus for matching mobile terminal

Publications (1)

Publication Number Publication Date
CN106954177A true CN106954177A (en) 2017-07-14

Family

ID=59473107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710164801.5A Pending CN106954177A (en) 2017-03-20 2017-03-20 Method and apparatus for matching mobile terminal

Country Status (1)

Country Link
CN (1) CN106954177A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451139A (en) * 2018-09-13 2019-03-08 腾讯科技(深圳)有限公司 Method for message transmission, terminal, device, electronic equipment and readable medium
CN114827169A (en) * 2021-01-19 2022-07-29 上海哔哩哔哩科技有限公司 Data synchronization method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752710A (en) * 2011-04-22 2012-10-24 喜讯无限(北京)科技有限责任公司 Multi-mobile-device real-time interaction realization system and method based on acceleration transducer, gyroscope and mobile positioning technique
CN103313347A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Method for establishing connection for mobile terminals, mobile terminals and server
US20140085341A1 (en) * 2012-09-24 2014-03-27 Pantech Co., Ltd. Mobile device and method of changing screen orientation of mobile device
CN104580325A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 User pairing method and device, as well as data exchange method, device and system
US20150281876A1 (en) * 2014-03-25 2015-10-01 Canon Kabushiki Kaisha Information-processing apparatus, control method of information-processing apparatus, program, recording medium, portable terminal, and information-processing system
CN104994125A (en) * 2015-05-14 2015-10-21 小米科技有限责任公司 Information sending method and device and information displaying method and device
CN105188027A (en) * 2015-08-12 2015-12-23 小米科技有限责任公司 Nearby user searching method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752710A (en) * 2011-04-22 2012-10-24 喜讯无限(北京)科技有限责任公司 Multi-mobile-device real-time interaction realization system and method based on acceleration transducer, gyroscope and mobile positioning technique
CN103313347A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Method for establishing connection for mobile terminals, mobile terminals and server
US20140085341A1 (en) * 2012-09-24 2014-03-27 Pantech Co., Ltd. Mobile device and method of changing screen orientation of mobile device
CN104580325A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 User pairing method and device, as well as data exchange method, device and system
US20150281876A1 (en) * 2014-03-25 2015-10-01 Canon Kabushiki Kaisha Information-processing apparatus, control method of information-processing apparatus, program, recording medium, portable terminal, and information-processing system
CN104994125A (en) * 2015-05-14 2015-10-21 小米科技有限责任公司 Information sending method and device and information displaying method and device
CN105188027A (en) * 2015-08-12 2015-12-23 小米科技有限责任公司 Nearby user searching method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451139A (en) * 2018-09-13 2019-03-08 腾讯科技(深圳)有限公司 Method for message transmission, terminal, device, electronic equipment and readable medium
CN114827169A (en) * 2021-01-19 2022-07-29 上海哔哩哔哩科技有限公司 Data synchronization method and device

Similar Documents

Publication Publication Date Title
CN109800732B (en) Method and device for generating cartoon head portrait generation model
CN107919129A (en) Method and apparatus for controlling the page
CN110288049A (en) Method and apparatus for generating image recognition model
CN108830235A (en) Method and apparatus for generating information
CN108984399A (en) Detect method, electronic equipment and the computer-readable medium of interface difference
CN110059623B (en) Method and apparatus for generating information
CN108345387A (en) Method and apparatus for output information
CN110070076B (en) Method and device for selecting training samples
US20210225069A1 (en) Method and apparatus for generating 3d joint point regression model
CN106908082A (en) Method, apparatus and system for the gyroscope in calibrating terminal
CN108387757B (en) Method and apparatus for detecting moving state of movable device
CN111340015A (en) Positioning method and device
CN106954177A (en) Method and apparatus for matching mobile terminal
CN109829431B (en) Method and apparatus for generating information
CN107622241A (en) Display methods and device for mobile device
CN110334650A (en) Object detecting method, device, electronic equipment and storage medium
CN112883966B (en) Image character recognition method, device, medium and electronic equipment
CN109614327A (en) Method and apparatus for output information
CN106535132B (en) Method and apparatus for positioning terminal
CN111311358B (en) Information processing method and device and electronic equipment
CN112818898A (en) Model training method and device and electronic equipment
CN111325160A (en) Method and apparatus for generating information
CN113191257B (en) Order of strokes detection method and device and electronic equipment
CN109948636A (en) Data fusion method and device
CN111586295B (en) Image generation method and 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: 20170714

RJ01 Rejection of invention patent application after publication