[go: up one dir, main page]

CN105208683B - A kind of determination method and apparatus of initiative equipment - Google Patents

A kind of determination method and apparatus of initiative equipment Download PDF

Info

Publication number
CN105208683B
CN105208683B CN201410228923.2A CN201410228923A CN105208683B CN 105208683 B CN105208683 B CN 105208683B CN 201410228923 A CN201410228923 A CN 201410228923A CN 105208683 B CN105208683 B CN 105208683B
Authority
CN
China
Prior art keywords
electronic equipment
kinematic parameter
equipment
sensing unit
initiative
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410228923.2A
Other languages
Chinese (zh)
Other versions
CN105208683A (en
Inventor
李凡智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410228923.2A priority Critical patent/CN105208683B/en
Publication of CN105208683A publication Critical patent/CN105208683A/en
Application granted granted Critical
Publication of CN105208683B publication Critical patent/CN105208683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of determination method and apparatus of initiative equipment, belong to the communications field.The method is applied between the first electronic equipment and the second electronic equipment, wherein first electronic equipment includes the first sensing unit, second electronic equipment includes the second sensing unit, the described method includes: the first kinematic parameter of first electronic equipment is obtained, wherein first kinematic parameter is obtained according to first sensing unit;The second kinematic parameter of second electronic equipment is obtained, wherein second kinematic parameter is to obtain according to second sensing unit, and be transferred to first electronic equipment;Compare first kinematic parameter and second kinematic parameter;When first kinematic parameter is greater than second kinematic parameter, determine that first electronic equipment is initiative equipment.Described device includes: the first acquisition module, comparison module and determining module.Invention increases interest, it is conducive to promote user experience.

Description

A kind of determination method and apparatus of initiative equipment
Technical field
The present invention relates to the communications field, in particular to a kind of determination method and apparatus of initiative equipment.
Background technique
Mobile terminal (including smart phone and tablet computer) has powerful processing capacity, provides between mobile terminal Interaction (including sending information mutually), the function abundant such as take pictures, listen to music, playing game, positioning, information processing and finger scan Energy.
Wherein, the interactive process between mobile terminal is introduced so that bluetooth transmits file as an example.Firstly, the touching interacted Hair.Assuming that first movement terminal and the second mobile terminal are the mobile terminal that need to be interacted, the first and has been respectively started in A, B two users The Bluetooth function of second mobile terminal, to trigger bluetooth transmitting information (such as picture).Secondly, determine actively interaction side, so that Actively interaction side is actively interacted with the passive side of interaction, for example party A-subscriber is sent out by first movement terminal to the second mobile terminal The request for sending transmitting information after party B-subscriber receives the request by the second mobile terminal, receives the request, i.e. party A-subscriber is actively to hand over Mutually side, B are passive interaction side.Party A-subscriber transmits information to party B-subscriber, and party B-subscriber receives the information.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems: the prior art is being moved When moving the interaction between terminal, it is voluntarily selected as actively interaction side or passive interaction side by user, operates more complicated, user It experiences poor.
Summary of the invention
Poor in order to solve the problems, such as to operate more complicated and user experience, the embodiment of the invention provides a kind of actives The determination method and apparatus of property equipment.The technical solution is as follows:
In a first aspect, present embodiments provide a kind of determination method of initiative equipment, be applied to the first electronic equipment and Between second electronic equipment, wherein first electronic equipment includes the first sensing unit, second electronic equipment includes the Two sensing units, which comprises
The first kinematic parameter of first electronic equipment is obtained, wherein first kinematic parameter is passed according to described first Feel unit to obtain;
The second kinematic parameter of second electronic equipment is obtained, wherein second kinematic parameter is according to described second Sensing unit obtains, and is transferred to first electronic equipment;
Compare first kinematic parameter and second kinematic parameter;
When first kinematic parameter is greater than second kinematic parameter, determine that first electronic equipment is initiative Equipment.
In the first embodiment of first aspect, the method also includes:
When first kinematic parameter is less than second kinematic parameter, determine that second electronic equipment is initiative Equipment.
In the second embodiment of first aspect, first kinematic parameter for obtaining the first electronic equipment, wherein institute The first kinematic parameter is stated to be obtained according to first sensing unit;Obtain the second kinematic parameter of the second electronic equipment, comprising:
Detect the distance between first electronic equipment and second electronic equipment;
When the distance between first electronic equipment and second electronic equipment are less than preset distance, described in acquisition First kinematic parameter of the first electronic equipment, wherein first kinematic parameter is obtained according to first sensing unit;It obtains Second kinematic parameter of second electronic equipment.
It is obtained in the third embodiment of first aspect with the second embodiment of first aspect with reference to first aspect The first kinematic parameter of first electronic equipment and the second kinematic parameter of second electronic equipment of acquisition be respectively,
First electronic equipment and second electronic equipment are respectively centered on respective position, and with described pre- Set a distance is what radius was broadcast out.
In the 4th embodiment of first aspect, first kinematic parameter includes: that first sensing unit is last The difference of the absolute value of the initial velocity of the absolute value and detection of the speed of one-time detection;
Second kinematic parameter includes: absolute value and the detection of the speed of the second sensing unit last time detection Initial velocity absolute value difference.
In the 5th embodiment of first aspect, the method also includes:
The present speed direction of first electronic equipment and second electronic equipment, first electronics are obtained respectively The present speed direction of equipment is obtained according to first sensing unit, the present speed direction of second electronic equipment according to Second sensing unit obtains.
It is described in the sixth embodiment of first aspect with reference to first aspect with the 5th embodiment of first aspect When first kinematic parameter is greater than second kinematic parameter, determine that first electronic equipment is initiative equipment, packet It includes:
When the present speed direction of first electronic equipment is contrary with the present speed of second electronic equipment, And first kinematic parameter be greater than second kinematic parameter when, determine first electronic equipment be initiative equipment.
Second aspect provides a kind of determining device of initiative equipment, is arranged in the first electronic equipment, wherein described First electronic equipment includes the first sensing unit, and described device includes:
First obtains module, for obtaining the first kinematic parameter of first electronic equipment, wherein first movement Parameter is obtained according to first sensing unit;The second kinematic parameter of the second electronic equipment is obtained, wherein second movement Parameter is to be obtained according to the second sensing unit of second electronic equipment, and be transferred to first electronic equipment;
Comparison module is used for first kinematic parameter and second kinematic parameter;
Determining module, for when first kinematic parameter is greater than second kinematic parameter, determining first electricity Sub- equipment is initiative equipment.
In the first embodiment of second aspect, the determining module is also used to,
When first kinematic parameter is less than second kinematic parameter, determine that second electronic equipment is initiative Equipment.
In the second embodiment of second aspect, the first acquisition module is used for,
Detect the distance between first electronic equipment and second electronic equipment;
When the distance between first electronic equipment and second electronic equipment are less than preset distance, described in acquisition First kinematic parameter of the first electronic equipment, wherein first kinematic parameter is obtained according to first sensing unit;It obtains Second kinematic parameter of the second electronic equipment, wherein second kinematic parameter is passed according to the second of second electronic equipment Feel unit to obtain, and is transferred to first electronic equipment.
It is described in the third embodiment of second aspect in conjunction with the second embodiment of second aspect and second aspect First obtains the of second electronic equipment of the first kinematic parameter of first electronic equipment that module obtains and acquisition Two kinematic parameters are respectively,
First electronic equipment and second electronic equipment are respectively centered on respective position, and with described pre- Set a distance is what radius was broadcast out.
In the 4th embodiment of second aspect, first kinematic parameter includes: that first sensing unit is last The difference of the absolute value of the initial velocity of the absolute value and detection of the speed of one-time detection;
Second kinematic parameter includes: absolute value and the detection of the speed of the second sensing unit last time detection Initial velocity absolute value difference.
In the 5th embodiment of second aspect, described device further includes the second acquisition module,
The second acquisition module is used for, and obtains the current of first electronic equipment and second electronic equipment respectively The present speed direction of directional velocity, first electronic equipment is obtained according to first sensing unit, second electronics The present speed direction of equipment is obtained according to second sensing unit.
It is described in the sixth embodiment of second aspect in conjunction with the 5th embodiment of second aspect and second aspect Determining module is used for,
When the present speed direction of first electronic equipment is contrary with the present speed of second electronic equipment, And first kinematic parameter be greater than second kinematic parameter when, determine first electronic equipment be initiative equipment.
Technical solution provided in an embodiment of the present invention has the benefit that first by comparing the first electronic equipment Second kinematic parameter of kinematic parameter and the second electronic equipment determines the when the first kinematic parameter is greater than the second kinematic parameter One electronic equipment is initiative equipment, and as initiative equipment, the first electronic equipment hands over active and the second electronic equipment Mutually, it does not need user and is selected as initiative equipment, the fairly simple convenience of this method, and increase interest, be conducive to be promoted and use Family experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow chart of the determination method of initiative equipment provided in an embodiment of the present invention;
Fig. 2 and Fig. 3 is the flow chart of the determination method of another initiative equipment provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the determining device of initiative equipment provided in an embodiment of the present invention;
Fig. 5 and Fig. 6 is the structural schematic diagram of the determining device of another initiative equipment provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
For the ease of the understanding to technical solution provided in an embodiment of the present invention, initiative equipment is introduced first. Initiative equipment can be in two electronic equipments, triggering electronic equipment between interaction after, actively with another electronics The electronic equipment that equipment interacts.Relatively, another electronic equipment is passivity equipment.In addition, in the present embodiment, electricity Sub- equipment includes mobile terminal, such as smart phone, laptop and tablet computer.Sensing unit can be to equipment itself The sensor that is analyzed and determined of motion state, including gravity sensor, accelerometer and gyroscope.
Embodiment one
The embodiment of the invention provides a kind of determination methods of initiative equipment, are applied to the first electronic equipment and the second electricity Between sub- equipment.Wherein the first electronic equipment includes the first sensing unit, and the second electronic equipment includes the second sensing unit.The party Method is executed by the first electronic equipment.Referring to Fig. 1, this method comprises:
Step 101, the first kinematic parameter of the first electronic equipment is obtained.
Wherein, the first kinematic parameter is obtained according to the first sensing unit.
First kinematic parameter can be the acceleration of the first electronic equipment.
Step 102, the second kinematic parameter of the second electronic equipment is obtained.
Wherein, the second kinematic parameter is to be obtained according to the second sensing unit, and be transferred to the first electronic equipment.
Second kinematic parameter can be the acceleration of the second electronic equipment.
Step 103, compare the first kinematic parameter and the second kinematic parameter.
When the first kinematic parameter is greater than the second kinematic parameter, step 104 is executed, when the first kinematic parameter is less than the second fortune When dynamic parameter, step 105 is executed.
Step 104, determine that the first electronic equipment is initiative equipment.
Step 105, determine that the second electronic equipment is initiative equipment.
The embodiment of the present invention is by comparing the first kinematic parameter of the first electronic equipment and the second fortune of the second electronic equipment Dynamic parameter determines that the first electronic equipment is initiative equipment, as actively when the first kinematic parameter is greater than the second kinematic parameter Active is interacted with the second electronic equipment, does not need user and be selected as initiative equipment by property equipment, the first electronic equipment, The fairly simple convenience of this method, and interest is increased, it is conducive to promote user experience.
Embodiment two
The embodiment of the invention provides a kind of determination methods of initiative equipment, are applied to the first electronic equipment and the second electricity Between sub- equipment.Wherein the first electronic equipment includes the first sensing unit, and the second electronic equipment includes the second sensing unit.The party Method is executed by the first electronic equipment.Referring to fig. 2, this method comprises:
Step 201, the first kinematic parameter of the first electronic equipment is obtained, and centered on position, with preset distance The first kinematic parameter is broadcasted for radius.
Wherein, electronic equipment is equipped with certain interactive application.It is answered assuming that user starts the interaction on the first electronic equipment With.After interactive application receives starting instruction, the first sensing unit of starting is acquired into the first operating parameter in real time, the first movement ginseng Number can describe the motion state of the first electronic equipment.
First kinematic parameter can be the absolute value of the speed of the first sensing unit last time detection and detect first The difference of the absolute value of beginning speed.The initial velocity of first sensing unit detection can be, and interactive application starts the first sensing unit Afterwards, the speed for the first electronic equipment that the first sensing unit detects for the first time.The speed of first sensing unit last time detection It can be, the speed of the first currently detected electronic equipment of the first sensing unit.As can be seen that the first kinematic parameter can be retouched State the degree of the first electronic equipment speedup.
Meanwhile first electronic equipment centered on oneself position, using preset distance as radius broadcast this first movement Parameter.Broadcast mode can use near-field communication (Near Field Communication, abbreviation NFC) or bluetooth approach.It is false If the preset distance is N meters.
Step 202, the distance between the first electronic equipment and the second electronic equipment are detected.
As optional embodiment, the first electronic equipment can be examined using by NFC chip, bluetooth module or camera Survey the distance between second electronic equipment.
Assuming that the first electronic equipment is using the distance between NFC chip detection and the second electronic equipment, which covers Lid radius is N meters.Then when the distance between the first electronic equipment and the second electronic equipment are not more than N meters, the first electronic equipment It will test to the second electronic equipment, and the distance between determining and second electronic equipment is not more than N meters.
Step 203, when the distance between the first electronic equipment and the second electronic equipment are less than preset distance, second is obtained Second kinematic parameter of electronic equipment.
Wherein, the second kinematic parameter of the second electronic equipment is centered on the second electronic equipment position, with predetermined Distance is what radius was broadcast out.Wherein, the second kinematic parameter is to be obtained according to the second sensing unit, and be transferred to the first electronics and set Standby.Second kinematic parameter can be the absolute value of the speed of the second sensing unit last time detection and the initial velocity of detection Absolute value difference.
For example, when the first electronic equipment detects the second electronic equipment by NFC chip, the first electronic equipment is located at the The broadcast area of two electronic equipments.At this moment, the first electronic equipment starts receive capabilities, starts to receive the broadcast of the second electronic equipment Second kinematic parameter.
It is worth noting that step 202 is optional step, in other embodiments, the first electronic equipment can handed over Mutually when application starting, it is switched on receive capabilities.As long as the distance between the first electronic equipment and the second electronic equipment are less than predetermined Distance, the first electronic equipment can actively obtain the second kinematic parameter of the second electronic equipment.In the present embodiment, the first electronics The distance between equipment and the second electronic equipment are less than preset distance, are as the triggering item that interaction occurs between electronic equipment Part.
201- step 203 realizes through the above steps, obtains the first kinematic parameter of the first electronic equipment and obtains the Second kinematic parameter of two electronic equipments.
Step 204, compare the first kinematic parameter and the second kinematic parameter.
When the first kinematic parameter is greater than the second kinematic parameter, step 205 is executed, when the first kinematic parameter is less than the second fortune When dynamic parameter, step 206 is executed.
Since kinematic parameter can describe the degree of electronic equipment speedup, if the first kinematic parameter is greater than the second fortune Dynamic parameter, then show that the first electronic equipment is faster than the second electronic equipment speedup;Conversely, if the first kinematic parameter is less than the second movement Parameter then shows that the second electronic equipment is faster than the first electronic equipment speedup.
Step 205, determine that the first electronic equipment is initiative equipment.
When the first electronic equipment is initiative equipment, the first electronic equipment sets active transmission information to the second electronics Standby, the second electronic equipment actively receives the information.The information includes picture and file.
Step 206, determine that the second electronic equipment is initiative equipment.
When the second electronic equipment is initiative equipment, the second electronic equipment sets active transmission information to the first electronics Standby, the first electronic equipment will actively receive the information.
It following is a brief introduction of the application scenarios of the present embodiment.First electronic equipment and the second electronic equipment are assembled with Screen application is thrown, the throwing screen application on the first electronic equipment and the second electronic equipment has been respectively started in user X and user Y.Screen is thrown to answer Kinematic parameter is acquired with calling sensing unit is started after actuation.Meanwhile after throwing screen application starting, user X can send figure Piece can send the picture to user X to user Y or user Y, but user X and user Y do not know whether oneself is actively Sender.When the first electronic equipment and when the second electronic equipment is close to each other and distance between the two is less than preset distance, the One electronic equipment and the second electronic equipment obtain the kinematic parameter of opposite end respectively, and are compared.The fast electricity of the speedup compared out Sub- equipment, is taken as active transmission side, another electronic equipment is passive recipient.Active transmission side will send picture to quilt Dynamic recipient, passive recipient receive the picture and show on a display screen.In other application scenarios, active transmission side Passive recipient can also be sent a file to.
The embodiment of the present invention is by comparing the first kinematic parameter of the first electronic equipment and the second fortune of the second electronic equipment Dynamic parameter determines that the first electronic equipment is initiative equipment, as actively when the first kinematic parameter is greater than the second kinematic parameter Active is interacted with the second electronic equipment, does not need user and be selected as initiative equipment by property equipment, the first electronic equipment, The fairly simple convenience of this method, and interest is increased, it is conducive to promote user experience.
Embodiment three
The embodiment of the invention provides a kind of determination methods of initiative equipment, are applied to the first electronic equipment and the second electricity Between sub- equipment.Wherein the first electronic equipment includes the first sensing unit, and the second electronic equipment includes the second sensing unit.The party Method is executed by the first electronic equipment.
The difference between the present embodiment and the second embodiment lies in that when determining initiative equipment, in addition to being set in view of the first electronics Second kinematic parameter of standby the first kinematic parameter and the second electronic equipment, it is also contemplated that the first electronic equipment is set with the second electronics Standby present speed direction.Referring to Fig. 3, this method comprises:
Step 301, the first kinematic parameter and the present speed direction of the first electronic equipment are obtained, and with position is The heart broadcasts the first kinematic parameter and present speed direction by radius of preset distance.
Wherein, the acquisition pattern of the first kinematic parameter is referring to step 201 in embodiment two, and details are not described herein.
Wherein, the present speed direction of the first electronic equipment can be obtained by the first sensing unit.
Step 302, when the distance between the first electronic equipment and the second electronic equipment are less than preset distance, second is obtained Second kinematic parameter of electronic equipment and present speed direction.
Wherein, the second kinematic parameter of the second electronic equipment and present speed direction are that the second electronic equipment is with the second electricity Centered on sub- equipment position, broadcast out using preset distance as radius.
301- step 302 realizes through the above steps, obtains the first kinematic parameter and currently speed of the first electronic equipment It spends direction and obtains the second kinematic parameter and the present speed direction of the second electronic equipment.
Step 303, compare the present speed direction of the first electronic equipment and the present speed direction of the second electronic equipment, with And compare the first kinematic parameter and the second kinematic parameter.
When the present speed direction of the first electronic equipment is identical as the present speed direction of the second electronic equipment, this is exited Secondary process executes step 301;Present speed direction and the present speed direction phase of the second electronic equipment when the first electronic equipment When anti-and the first kinematic parameter is greater than the second kinematic parameter, execute step 304, when the first electronic equipment present speed direction with When the present speed of second electronic equipment is contrary and the first kinematic parameter is less than the second kinematic parameter, step 305 is executed.
Step 304, determine that the first electronic equipment is initiative equipment.
When the first electronic equipment is initiative equipment, the first electronic equipment sets active transmission message to the second electronics Standby, the second electronic equipment actively receives the message.
Step 305, determine that the second electronic equipment is initiative equipment.
When the second electronic equipment is initiative equipment, the second electronic equipment sets active transmission message to the first electronics Standby, the first electronic equipment will actively receive the message.
The embodiment of the present invention is by comparing the first kinematic parameter of the first electronic equipment and the second fortune of the second electronic equipment It moves parameter and compares the present speed direction of the first electronic equipment and the present speed direction of the second electronic equipment, when first The present speed direction of electronic equipment is contrary with the present speed of the second electronic equipment and the first kinematic parameter is greater than second When kinematic parameter, determine that the first electronic equipment is initiative equipment, as initiative equipment, the first electronic equipment will be actively with the Two electronic equipments interact, and do not need user and are selected as initiative equipment, the fairly simple convenience of this method;Also, As soon as the present speed direction of electronic equipment determines initiative equipment when contrary with the present speed of the second electronic equipment, It is to say, only when the first electronic equipment and the second electronic equipment have the tendency that close to each other, just determines initiative equipment, in this way Further increase the interest that user uses.
Example IV
The embodiment of the invention provides a kind of determining devices of initiative equipment.The device can be set to be set in the first electronics In standby, wherein the first electronic equipment includes the first sensing unit.Referring to fig. 4, which includes:
First obtains module 401, for obtaining the first kinematic parameter of the first electronic equipment, wherein the first kinematic parameter root It is obtained according to the first sensing unit;The second kinematic parameter of the second electronic equipment is obtained, wherein the second kinematic parameter is according to second Second sensing unit of electronic equipment obtains, and is transferred to the first electronic equipment.
Comparison module 402, for comparing the first kinematic parameter and the second kinematic parameter.
Determining module 403, for determining based on the first electronic equipment when the first kinematic parameter is greater than the second kinematic parameter Dynamic property equipment.
The embodiment of the present invention is by comparing the first kinematic parameter of the first electronic equipment and the second fortune of the second electronic equipment Dynamic parameter determines that the first electronic equipment is initiative equipment, as actively when the first kinematic parameter is greater than the second kinematic parameter Active is interacted with the second electronic equipment, does not need user and be selected as initiative equipment by property equipment, the first electronic equipment, The fairly simple convenience of this method, and interest is increased, it is conducive to promote user experience.
Embodiment five
The embodiment of the invention provides a kind of determining devices of initiative equipment.The device can be set to be set in the first electronics In standby, wherein the first electronic equipment includes the first sensing unit.Referring to Fig. 5, which includes the first acquisition module 501, compares Module 502 and determining module 503.
First obtains module 501, for obtaining the first kinematic parameter of the first electronic equipment, wherein the first kinematic parameter root It is obtained according to the first sensing unit;The second kinematic parameter of the second electronic equipment is obtained, wherein the second kinematic parameter is according to second Second sensing unit of electronic equipment obtains, and is transferred to the first electronic equipment.
As first embodiment, the first acquisition module 501 is used for, detect the first electronic equipment and the second electronic equipment it Between distance;When the distance between the first electronic equipment and the second electronic equipment are less than preset distance, obtain the first electronics and set The first standby kinematic parameter, wherein the first kinematic parameter is obtained according to the first sensing unit;Obtain the second of the second electronic equipment Kinematic parameter, wherein the second kinematic parameter is to be obtained according to the second sensing unit of the second electronic equipment, and be transferred to the first electricity Sub- equipment.
As second embodiment, first obtains the first kinematic parameter of the first electronic equipment that module 501 obtains and obtains Second kinematic parameter of the second electronic equipment obtained is that the first electronic equipment and the second electronic equipment are respectively with respectively place respectively Centered on position, and broadcast out using preset distance as radius.
As a third embodiment, the first kinematic parameter includes: the exhausted of the speed of the first sensing unit last time detection To the difference of the absolute value of the initial velocity of value and detection;Second kinematic parameter includes: the last time detection of the second sensing unit The difference of the absolute value of the initial velocity of the absolute value and detection of speed.
Comparison module 502, for comparing the first kinematic parameter and the second kinematic parameter.
Determining module 503, for determining based on the first electronic equipment when the first kinematic parameter is greater than the second kinematic parameter Dynamic property equipment.
As the 4th embodiment, determining module 503 is also used to, when the first kinematic parameter is less than the second kinematic parameter, Determine that the second electronic equipment is initiative equipment.
The embodiment of the present invention is by comparing the first kinematic parameter of the first electronic equipment and the second fortune of the second electronic equipment Dynamic parameter determines that the first electronic equipment is initiative equipment, as actively when the first kinematic parameter is greater than the second kinematic parameter Active is interacted with the second electronic equipment, does not need user and be selected as initiative equipment by property equipment, the first electronic equipment, The fairly simple convenience of this method, and interest is increased, it is conducive to promote user experience.
Embodiment six
The embodiment of the invention provides a kind of determining devices of initiative equipment.The device can be set to be set in the first electronics In standby, wherein the first electronic equipment includes the first sensing unit.Referring to Fig. 6, which includes the first acquisition module 601, compares Module 602 and determining module 603.
First obtains module 601, for obtaining the first kinematic parameter of the first electronic equipment, wherein the first kinematic parameter root It is obtained according to the first sensing unit;The second kinematic parameter of the second electronic equipment is obtained, wherein the second kinematic parameter is according to second Second sensing unit of electronic equipment obtains, and is transferred to the first electronic equipment.
Comparison module 602, for comparing the first kinematic parameter and the second kinematic parameter.
Determining module 603, for determining based on the first electronic equipment when the first kinematic parameter is greater than the second kinematic parameter Dynamic property equipment.
As first embodiment, which further includes the second acquisition module 604.
Second acquisition module 604 is used for, and obtains the present speed direction of the first electronic equipment and the second electronic equipment respectively, The present speed direction of first electronic equipment is obtained according to the first sensing unit, the present speed direction of the second electronic equipment according to Second sensing unit obtains.
As second embodiment, determining module 603 is used for, when present speed direction and the second electricity of the first electronic equipment When the present speed of sub- equipment is contrary and the first kinematic parameter is greater than the second kinematic parameter, determine that the first electronic equipment is Initiative equipment.
The embodiment of the present invention is by comparing the first kinematic parameter of the first electronic equipment and the second fortune of the second electronic equipment It moves parameter and compares the present speed direction of the first electronic equipment and the present speed direction of the second electronic equipment, when first The present speed direction of electronic equipment is contrary with the present speed of the second electronic equipment and the first kinematic parameter is greater than second When kinematic parameter, determine that the first electronic equipment is initiative equipment, as initiative equipment, the first electronic equipment will be actively with the Two electronic equipments interact, and do not need user and are selected as initiative equipment, the fairly simple convenience of this method;Also, As soon as the present speed direction of electronic equipment determines initiative equipment when contrary with the present speed of the second electronic equipment, It is to say, only when the first electronic equipment and the second electronic equipment have the tendency that close to each other, just determines initiative equipment, in this way Further increase the interest that user uses.
It should be understood that the determining device of initiative equipment provided by the above embodiment is when determining initiative equipment, Only the example of the division of the above functional modules, it in practical application, can according to need and by above-mentioned function distribution It is completed by different functional modules, i.e., the internal structure of equipment is divided into different functional modules, it is described above to complete All or part of function.In addition, the determination of the determining device of initiative equipment provided by the above embodiment and initiative equipment Embodiment of the method belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of determination method of initiative equipment is applied between the first electronic equipment and the second electronic equipment, wherein described First electronic equipment includes the first sensing unit, and second electronic equipment includes the second sensing unit, which is characterized in that described Method includes:
The first kinematic parameter of first electronic equipment is obtained, wherein first kinematic parameter is single according to first sensing Member obtains;
The second kinematic parameter of second electronic equipment is obtained, wherein second kinematic parameter is according to second sensing Unit obtains, and is transferred to first electronic equipment;
Compare first kinematic parameter and second kinematic parameter;
When first kinematic parameter is greater than second kinematic parameter, determine that first electronic equipment sets for initiative It is standby;
When first kinematic parameter is less than second kinematic parameter, determine that second electronic equipment sets for initiative It is standby.
2. the method according to claim 1, wherein it is described obtain the first electronic equipment the first kinematic parameter, Wherein first kinematic parameter is obtained according to first sensing unit;The second kinematic parameter of the second electronic equipment is obtained, Include:
Detect the distance between first electronic equipment and second electronic equipment;
When the distance between first electronic equipment and second electronic equipment are less than preset distance, described first is obtained First kinematic parameter of electronic equipment, wherein first kinematic parameter is obtained according to first sensing unit;Described in acquisition Second kinematic parameter of the second electronic equipment.
3. according to the method described in claim 2, it is characterized in that, the first kinematic parameter of first electronic equipment obtained The second kinematic parameter with second electronic equipment of acquisition is respectively,
First electronic equipment and second electronic equipment are respectively centered on respective position, and with the pre- spacing From what is broadcast out for radius.
4. the method according to claim 1, wherein
First kinematic parameter includes: the absolute value of the speed of the first sensing unit last time detection and detects first The difference of the absolute value of beginning speed;
Second kinematic parameter includes: the absolute value of the speed of the second sensing unit last time detection and detects first The difference of the absolute value of beginning speed.
5. the method according to claim 1, wherein the method also includes:
The present speed direction of first electronic equipment and second electronic equipment, first electronic equipment are obtained respectively Present speed direction obtained according to first sensing unit, the present speed direction of second electronic equipment is according to Second sensing unit obtains.
6. according to the method described in claim 5, it is characterized in that, described when first kinematic parameter is greater than second fortune When dynamic parameter, determine that first electronic equipment is initiative equipment, comprising:
When the present speed direction of first electronic equipment with the present speed of second electronic equipment contrary and institute When stating the first kinematic parameter greater than second kinematic parameter, determine that first electronic equipment is initiative equipment.
7. a kind of determining device of initiative equipment is arranged in the first electronic equipment, wherein first electronic equipment includes First sensing unit, which is characterized in that described device includes:
First obtains module, for obtaining the first kinematic parameter of first electronic equipment, wherein first kinematic parameter It is obtained according to first sensing unit;The second kinematic parameter of the second electronic equipment is obtained, wherein second kinematic parameter It is to be obtained according to the second sensing unit of second electronic equipment, and be transferred to first electronic equipment;
Comparison module is used for first kinematic parameter and second kinematic parameter;
Determining module, for determining that first electronics is set when first kinematic parameter is greater than second kinematic parameter Standby is initiative equipment;
The determining module is also used to, and when first kinematic parameter is less than second kinematic parameter, determines described second Electronic equipment is initiative equipment.
8. device according to claim 7, which is characterized in that the first acquisition module is used for,
Detect the distance between first electronic equipment and second electronic equipment;
When the distance between first electronic equipment and second electronic equipment are less than preset distance, described first is obtained First kinematic parameter of electronic equipment, wherein first kinematic parameter is obtained according to first sensing unit;Obtain second Second kinematic parameter of electronic equipment, wherein second kinematic parameter is single according to the second of second electronic equipment the sensing Member obtains, and is transferred to first electronic equipment.
9. device according to claim 8, which is characterized in that first electronics that the first acquisition module obtains is set Second kinematic parameter of second electronic equipment of standby the first kinematic parameter and acquisition is respectively,
First electronic equipment and second electronic equipment are respectively centered on respective position, and with the pre- spacing From what is broadcast out for radius.
10. device according to claim 7, which is characterized in that
First kinematic parameter includes: the absolute value of the speed of the first sensing unit last time detection and detects first The difference of the absolute value of beginning speed;
Second kinematic parameter includes: the absolute value of the speed of the second sensing unit last time detection and detects first The difference of the absolute value of beginning speed.
11. device according to claim 7, which is characterized in that described device further includes the second acquisition module,
The second acquisition module is used for, and obtains the present speed of first electronic equipment and second electronic equipment respectively The present speed direction in direction, first electronic equipment is obtained according to first sensing unit, second electronic equipment Present speed direction obtained according to second sensing unit.
12. device according to claim 11, which is characterized in that the determining module is used for,
When the present speed direction of first electronic equipment with the present speed of second electronic equipment contrary and institute When stating the first kinematic parameter greater than second kinematic parameter, determine that first electronic equipment is initiative equipment.
CN201410228923.2A 2014-05-28 2014-05-28 A kind of determination method and apparatus of initiative equipment Active CN105208683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410228923.2A CN105208683B (en) 2014-05-28 2014-05-28 A kind of determination method and apparatus of initiative equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410228923.2A CN105208683B (en) 2014-05-28 2014-05-28 A kind of determination method and apparatus of initiative equipment

Publications (2)

Publication Number Publication Date
CN105208683A CN105208683A (en) 2015-12-30
CN105208683B true CN105208683B (en) 2019-04-26

Family

ID=54956015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410228923.2A Active CN105208683B (en) 2014-05-28 2014-05-28 A kind of determination method and apparatus of initiative equipment

Country Status (1)

Country Link
CN (1) CN105208683B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1836403A (en) * 2003-03-14 2006-09-20 诺基亚公司 Wireless transfer of data
CN101889431A (en) * 2007-12-12 2010-11-17 索尼爱立信移动通讯有限公司 Interacting with devices based on physical device-to-device contact
CN102263570A (en) * 2010-05-26 2011-11-30 宏达国际电子股份有限公司 Data transfer method between electronic devices
CN102427378A (en) * 2011-07-29 2012-04-25 上海合合信息科技发展有限公司 Data transmission method using bluetooth technology and acceleration sensing technology and system thereof
CN102545964A (en) * 2010-12-16 2012-07-04 国民技术股份有限公司 Communication method and system for triggering information interaction by collision
CN103023866A (en) * 2011-08-25 2013-04-03 罗技欧洲公司 Easy sharing of wireless audio signals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7427926B2 (en) * 2006-01-26 2008-09-23 Microsoft Corporation Establishing communication between computing-based devices through motion detection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1836403A (en) * 2003-03-14 2006-09-20 诺基亚公司 Wireless transfer of data
CN101889431A (en) * 2007-12-12 2010-11-17 索尼爱立信移动通讯有限公司 Interacting with devices based on physical device-to-device contact
CN102263570A (en) * 2010-05-26 2011-11-30 宏达国际电子股份有限公司 Data transfer method between electronic devices
CN102545964A (en) * 2010-12-16 2012-07-04 国民技术股份有限公司 Communication method and system for triggering information interaction by collision
CN102427378A (en) * 2011-07-29 2012-04-25 上海合合信息科技发展有限公司 Data transmission method using bluetooth technology and acceleration sensing technology and system thereof
CN103023866A (en) * 2011-08-25 2013-04-03 罗技欧洲公司 Easy sharing of wireless audio signals

Also Published As

Publication number Publication date
CN105208683A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN104126295B (en) The mirror image interface navigation of multiple user interfaces
CN104519485B (en) Communication means, device and system between a kind of terminal
CN107896279A (en) Screenshotss processing method, device and the mobile terminal of a kind of mobile terminal
CN109156041A (en) Method and electronic device for sharing images
CN105100141B (en) Multimedia content network sharing method, apparatus and system
US20150149924A1 (en) Interaction method between wearable devices and wearable device thereof
CN106973330B (en) Screen live broadcasting method, device and system
CN109587789A (en) Accidental access method, mobile terminal and the network equipment
CN106231379A (en) A kind of methods, devices and systems playing live video
CN108287611A (en) Screen touch-control response method, terminal and computer storage media
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN110020386A (en) Application page sharing method, mobile terminal and computer readable storage medium
CN108388456A (en) A kind of application starts method, mobile terminal
CN109714476A (en) Data processing method, device, mobile terminal and storage medium
CN109271073A (en) Desktop dynamic icon implementation method, terminal and computer-readable medium
CN109165651A (en) A kind of identification code recognition methods, terminal and computer readable storage medium
CN103401911B (en) Request processing method, terminal, server, authorization server and system
CN108744495A (en) A kind of control method of virtual key, terminal and computer storage media
CN108241808A (en) identification code display control method, terminal and computer readable storage medium
CN109246259A (en) A kind of terminal interaction method, terminal and computer readable storage medium
CN105208683B (en) A kind of determination method and apparatus of initiative equipment
CN107786412A (en) Communication method and related products of game virtual private network
CN108446153A (en) A kind of method and terminal of control e-sourcing
KR20150082085A (en) Computing system with command-sense mechanism and method of operation thereof
CN109451295A (en) A kind of method and system obtaining virtual information

Legal Events

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