CN109743714A - Device pairing method and device - Google Patents

Device pairing method and device Download PDF

Info

Publication number
CN109743714A
CN109743714A CN201910010767.5A CN201910010767A CN109743714A CN 109743714 A CN109743714 A CN 109743714A CN 201910010767 A CN201910010767 A CN 201910010767A CN 109743714 A CN109743714 A CN 109743714A
Authority
CN
China
Prior art keywords
equipment
pairing
communication unit
address information
contact mechanism
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
CN201910010767.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.)
Unicon (beijing) Technology Co Ltd
Original Assignee
Unicon (beijing) 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 Unicon (beijing) Technology Co Ltd filed Critical Unicon (beijing) Technology Co Ltd
Priority to CN201910010767.5A priority Critical patent/CN109743714A/en
Publication of CN109743714A publication Critical patent/CN109743714A/en
Pending legal-status Critical Current

Links

Abstract

Present disclose provides a kind of method and devices for the pairing processing between the first equipment and the second equipment.In the method, after the first equipment detects satisfaction pairing trigger condition, the device address information of the second equipment is obtained, and using the device address information of the second acquired equipment, pairing processing is executed between the first equipment and the second equipment.Using this method, the matching operation that can be automatically performed in the case where being participated in without user between equipment.

Description

Device pairing method and device
Technical field
The disclosure is usually directed to technical field of data transmission, more particularly, to device pairing method and device.
Background technique
In field of data transmission, often occur to carry out data transmission between two equipment.And between both devices When carrying out data transmission, it usually needs pairing processing is carried out between two equipment, to establish communication between both devices Thus link completes the data transmission between two equipment.
The pairing scheme of the prior art generallys use manual mode to realize, and operating process is relatively various and complicated. For example, it includes: to open mobile phone indigo plant that user, which needs the process carried out, in the case where mobile phone and external bluetooth equipment are matched Tooth starts the pairing mode of external bluetooth equipment, the device name to be matched is selected in the bluetooth equipment list of mobile phone, then Input pairing password completes pairing.So complicated operating process makes user be very easy to error, further, since device address To show form usually not intuitive so that user is not easily found the address etc. of corresponding equipment in bluetooth equipment list interface, So that user experience is bad.
Summary of the invention
In view of the above problems, present disclose provides a kind of device pairing method and devices.Using the device pairing method and Device, the matching operation that can be automatically performed in the case where being participated in without user between equipment.
According to one aspect of the disclosure, provide it is a kind of between the first equipment and the second equipment pairing processing Method, the method are executed by first equipment, which comprises after detecting satisfaction pairing trigger condition, control The first communication unit in first equipment obtains the device address information of second equipment;And utilize acquired institute The device address information for stating the second equipment executes pairing processing between first equipment and second equipment.
Optionally, in an example of above-mentioned aspect, first equipment has the first contact mechanism, and described second sets Standby have the second contact mechanism and the pairing trigger condition includes: first contact mechanism and the second contact machine Structure physical contact or the pairing trigger condition include: that first equipment and second equipment are located at distance to a declared goal model In enclosing, and after detecting satisfaction pairing trigger condition, control described in the first communication unit acquisition in first equipment The device address information of second equipment includes: to control the in first equipment after detecting and meeting pairing trigger condition One communication unit is believed to be obtained the device address of second equipment using communication mode corresponding with first communication unit Breath.
Optionally, in an example of above-mentioned aspect, first contact mechanism and the second contact mechanism physics Contact includes: first contact mechanism and second contact mechanism physical contact to form electrical connection, and the electrical connection makes Second equipment enters the charged state that is charged by first equipment, or make first equipment enter by The charged state that second equipment charges.
Optionally, in an example of above-mentioned aspect, first equipment has the first contact mechanism, and described second sets Standby have the second contact mechanism and the pairing trigger condition includes: first contact mechanism and the second contact machine Structure physical contact is to establish communication link, and after detecting satisfaction pairing trigger condition, controls in first equipment The device address information that communication unit obtains second equipment includes: to control institute after detecting satisfaction pairing trigger condition The first communication unit stated in the first equipment obtains second equipment from second equipment using the communication link Device address information.
Optionally, in an example of above-mentioned aspect, the device address information of second equipment is to utilize wireless communication Number send, using acquired second equipment device address information, set in first equipment and described second Before executing pairing processing between standby, the method also includes: determine the device address information for sending second equipment The signal strength of wireless signal whether be more than predetermined threshold, the predetermined threshold is based on first contact mechanism and described What the regulation physical contact degree of the second contact mechanism determined, or the regulation based on first equipment and second equipment What distance determined, wherein using the device address information of acquired second equipment, in first equipment and described the It includes: to determine the wireless signal for sending the device address information of second equipment that pairing processing is executed between two equipment Signal strength be more than predetermined threshold when, using the device address information of acquired second equipment, set described first Pairing processing is executed between standby and described second equipment.
Optionally, in an example of above-mentioned aspect, first contact mechanism and second contact mechanism include One of following contact mechanisms: Pogo pin connector, magnetic connector, pogo pin connectors and FPC connector.
Optionally, in an example of above-mentioned aspect, first communication unit includes one in following communication units Kind: bluetooth-communication unit, WiFi communication unit, NFC communication unit and magnetic field antenna unit.
Optionally, in an example of above-mentioned aspect, the method can also include: to detect that meeting pairing triggers After condition, if first communication unit and third equipment communication bindings, first communication unit and described the are released Communication bindings relationship between three equipment.
According to another aspect of the present disclosure, a kind of side for the pairing processing between the first equipment and the second equipment is provided Method, the method are executed by second equipment, which comprises after detecting satisfaction pairing trigger condition, control institute State the device address information that the second communication unit in the second equipment sends second equipment;And utilize second equipment Device address information, between first equipment and second equipment execute pairing processing.
Optionally, in an example of above-mentioned aspect, the device address information of second equipment is by described second Communication unit is sent using communication mode corresponding with second communication unit.
Optionally, in an example of above-mentioned aspect, first equipment has the first contact mechanism, and described second sets Standby have the second contact mechanism and the pairing trigger condition includes: first contact mechanism and the second contact machine Structure is physically contacted to establish communication link, wherein the device address information of second equipment is by second communication unit Established communication link is used to send to first equipment.
Optionally, in an example of above-mentioned aspect, second communication unit includes one in following communication units Kind: bluetooth-communication unit, WiFi communication unit, NFC communication unit and magnetic field antenna unit.
Optionally, in an example of above-mentioned aspect, the method can also include: to detect that meeting pairing triggers After condition, if second communication unit and third equipment communication bindings, second communication unit and described the are released Communication bindings relationship between three equipment.
According to another aspect of the present disclosure, a kind of dress for the pairing processing between the first equipment and the second equipment is provided It sets, comprising: pairing detection trigger unit is configured as detecting whether meet pairing touching between first equipment and the second equipment Clockwork spring part;First control unit is configured as after detecting and meeting pairing trigger condition, controls the in first equipment One communication unit obtains the device address information of second equipment;And the first pairing processing unit, it is configured as using institute The device address information of second equipment obtained executes at pairing between first equipment and second equipment Reason.
Optionally, in an example of above-mentioned aspect, first equipment has the first contact mechanism, and described second sets Standby have the second contact mechanism and the pairing trigger condition includes: first contact mechanism and the second contact machine Structure physical contact or the pairing trigger condition include: that first equipment and second equipment are located at distance to a declared goal model In enclosing and the first control unit is configured as: after detecting satisfaction pairing trigger condition, controlling first equipment In the first communication unit come the equipment that obtains second equipment using communication mode corresponding with first communication unit Address information.
Optionally, in an example of above-mentioned aspect, first equipment has the first contact mechanism, and described second sets Standby have the second contact mechanism and the pairing trigger condition includes: first contact mechanism and the second contact machine Structure physical contact is configured as with establishing communication link and the first control unit: meeting pairing triggering item detecting After part, the first communication unit in first equipment is controlled using the communication link and obtains described the from second equipment The device address information of two equipment.
Optionally, in an example of above-mentioned aspect, the device address information of second equipment is to utilize wireless communication Number send, described device further include: signal strength determination unit is configured to determine that for sending setting for second equipment Whether the signal strength of the wireless signal of standby address information is more than predetermined threshold, and the predetermined threshold is based on first contact What the regulation physical contact degree of mechanism and second contact mechanism determined, or it is based on first equipment and described second What the predetermined distance of equipment determined, wherein the first pairing processing unit is configured as: being determined for sending described second When the signal strength of the wireless signal of the device address information of equipment is more than predetermined threshold, acquired second equipment is utilized Device address information, between first equipment and second equipment execute pairing processing.
Optionally, in an example of above-mentioned aspect, described device can also include: that the first communication bindings release list Member is configured as after detecting satisfaction pairing trigger condition, if first communication unit and third equipment communication bindings, Then release the communication bindings relationship between first communication unit and the third equipment.
According to another aspect of the present disclosure, a kind of first equipment is provided, comprising: as described above for the first equipment and the The device of pairing processing between two equipment;And first communication unit, it is configured as under the control of described device, obtains the The device address information of two equipment.
According to another aspect of the present disclosure, a kind of dress for the pairing processing between the first equipment and the second equipment is provided It sets, comprising: pairing detection trigger unit is configured as detecting whether meet pairing touching between first equipment and the second equipment Clockwork spring part;Second control unit, be configured as detect meet pairing trigger condition when, control the in second equipment Two communication units send the device address information of second equipment;And the second pairing processing unit, it is configured as using institute The device address information for stating the second equipment executes pairing processing between first equipment and second equipment.
Optionally, in an example of above-mentioned aspect, described device can also include: that the second communication bindings release list Member is configured as after detecting satisfaction pairing trigger condition, if second communication unit and third equipment communication bindings, Then release the communication bindings relationship between second communication unit and the third equipment.
According to another aspect of the present disclosure, a kind of second equipment is provided, comprising: as described above for the first equipment and the The device of pairing processing between two equipment;And second communication unit, it is configured as sending the device address letter of the second equipment Breath.
According to another aspect of the present disclosure, a kind of calculating equipment is provided, comprising: at least one processor, and with it is described The memory of at least one processor coupling, the memory store instruction, when described instruction is by least one described processor When execution, so that at least one described processor, which executes, is used for the first equipment and second by what the first equipment executed as described above The method of pairing processing between equipment.
According to another aspect of the present disclosure, a kind of non-transitory machinable medium is provided, is stored with executable Instruction, described instruction execute the machine as described above by the execution of the first equipment for the first equipment And the method for the second pairing processing between equipment.
According to another aspect of the present disclosure, a kind of calculating equipment is provided, comprising: at least one processor, and with it is described The memory of at least one processor coupling, the memory store instruction, when described instruction is by least one described processor When execution, so that at least one described processor, which executes, is used for the first equipment and second by what the second equipment executed as described above The method of pairing processing between equipment.
According to another aspect of the present disclosure, a kind of non-transitory machinable medium is provided, is stored with executable Instruction, described instruction execute the machine as described above by the execution of the second equipment for the first equipment And the method for the second pairing processing between equipment.
Detailed description of the invention
By referring to following attached drawing, may be implemented to further understand the nature and advantages of present disclosure.? In attached drawing, similar assembly or feature can have identical appended drawing reference.
Fig. 1 is shown according to first embodiment of the present disclosure for the pairing processing between the first equipment and the second equipment Method flow chart;
Fig. 2 shows the block diagrams according to first equipment of first embodiment of the present disclosure;
Fig. 3 shows the block diagram of the pairing processing unit in the first equipment according to an embodiment of the present disclosure;
Fig. 4 shows the block diagram of the second equipment according to an embodiment of the present disclosure;
Fig. 5 shows the block diagram of the pairing processing unit in the second equipment according to an embodiment of the present disclosure;
Fig. 6 shows the calculating according to an embodiment of the present disclosure for realizing the pairing processing method in the first equipment and sets Standby block diagram;With
Fig. 7 shows the box of the calculating equipment for realizing the pairing processing method in the second equipment according to the disclosure Figure.
Specific embodiment
Theme described herein is discussed referring now to example embodiment.It should be understood that discussing these embodiments only It is in order to enable those skilled in the art can better understand that being not to claim to realize theme described herein Protection scope, applicability or the exemplary limitation illustrated in book.It can be in the protection scope for not departing from present disclosure In the case of, the function and arrangement of the element discussed are changed.Each example can according to need, omit, substitute or Add various processes or component.For example, described method can be executed according to described order in a different order, with And each step can be added, omits or combine.In addition, feature described in relatively some examples is in other examples It can be combined.
As used in this article, term " includes " and its modification indicate open term, are meant that " including but not limited to ". Term "based" indicates " being based at least partially on ".Term " one embodiment " and " embodiment " expression " at least one implementation Example ".Term " another embodiment " expression " at least one other embodiment ".Term " first ", " second " etc. may refer to not Same or identical object.Here may include other definition, either specific or implicit.Unless bright in context It really indicates, otherwise the definition of a term is consistent throughout the specification.
In the disclosure, term " the first equipment " refers to the equipment for initiating pairing processing request, also referred to as main equipment.Term " the second equipment " refers to the equipment for executing pairing processing in response to pairing processing request, also referred to as from equipment.For example, described One equipment can be terminal device and second equipment can be terminal device accessory (for example, earphone etc.) or another Terminal device.The terminal device can for mobile terminal, smart phone, plate, cellular phone, personal digital assistant (PDA), Hand-held device, messaging devices, wearable device, consumer-elcetronics devices etc..First equipment can set for control box Standby and described second equipment can be the handheld device with control cartridge device pairing.
In the disclosure, term " pairing " refers to main equipment and is led to from equipment is paired with each other to establish connection Letter main equipment and/or no longer rings the pairing request of other equipment (third equipment) from equipment and after the completion of pairing It answers, unless the pairing between equipment and main equipment is cancelled.
Fig. 1 is shown according to first embodiment of the present disclosure for the pairing between the first equipment 10 and the second equipment 20 The flow chart of the method for processing.
As shown in Figure 1, at the first equipment 10 and the second equipment 20, in block 110, continuously or periodically detection pairing touching Hair-like state, and in block 120, it is determined whether meet pairing trigger condition.For example, can use the first equipment 10 and the second equipment Pairing trigger condition detection device or pairing trigger condition detection module at 20 match trigger condition to monitor whether to meet.
In one example, the first equipment 10 has the first contact mechanism, and the second equipment 20 has the second contact mechanism, with And the pairing trigger condition includes: the first contact mechanism and the physical contact of the second contact mechanism.In this case, it first sets Standby 10 and second pairing trigger condition detection device/module at equipment 20 can be contact detecting apparatus/module.Contact inspection Survey whether each other device/module passes through the second contact mechanism of the first contact mechanism and the second equipment 20 that monitor the first equipment 10 Physical contact matches trigger condition to detect whether to meet.In the disclosure, first contact mechanism and second contact Mechanism may include one of following contact mechanisms: Pogo pin connector, magnetic connector, pogo pin connectors and FPC Connector.For example, contact detecting apparatus/module can be mutually aligned by the way that whether monitor the PIN foot of above-mentioned connector point-to-point And it is physically contacted to detect whether to meet pairing trigger condition.It will be clear that in the disclosure, the first contact mechanism and Second contact mechanism is configured to have the structure that can match contact (for example, be engaged or engage each other).For example, connector can To designed to be able to be mutually aligned and be engaged.
In another example, the pairing trigger condition may include: the first equipment 10 and the second equipment 20 positioned at specified Within the scope of communication distance.Correspondingly, pairing trigger condition detection device/module at the first equipment 10 and the second equipment 20 can be with It is distance detection device/module.
In addition, in another example, the first contact mechanism and the physical contact of the second contact mechanism may include: described first Contact mechanism and second contact mechanism physical contact with formed electrical connection, it is described electrical connection so that the second equipment 20 enter by The charged state that first equipment 10 charges, or the first equipment 10 is made to enter the charging charged by the second equipment 20 State.That is, being formed by electrical connection so that the first equipment 10 charges to the second equipment 20 or the second equipment 20 is to first Equipment 10 charges.Pairing trigger condition detection device/module at first equipment 10 and the second equipment 20 can be discharge/charge Electricity condition detection device/module.
If satisfaction pairing trigger condition is not detected at block 120 continuously or periodically to detect at block 110 Match triggering state.At block 120, the first equipment 10 and the second equipment 20 are all detected after meeting pairing trigger condition, in block 130, control the device address information that the communication unit in the first equipment 10 obtains the second equipment 20.In the disclosure, described to set Standby address information for example can be equipment media access control (Media Access Control, MAC) address information or Other suitable address informations.
In one example, the first equipment 10 has the first contact mechanism, and the second equipment 20 has the second contact mechanism, with And the pairing trigger condition includes: the first contact mechanism and the physical contact of the second contact mechanism.Alternatively, the pairing triggers item Part includes: that the first equipment 10 and the second equipment 20 are located within the scope of distance to a declared goal.In this case, satisfaction pairing is being detected After trigger condition, the first communication unit controlled in the first equipment 10 comes using communication mode corresponding with the first communication unit 10 Obtain the device address information of the second equipment 20.For example, after the second equipment 20 detects satisfaction pairing trigger condition, using wide The mode broadcast sends the device address information of the second equipment 20, then, the first communication unit use and in the first equipment 10 The corresponding communication mode of one communication unit 10 obtains setting for the second equipment 20 that the second equipment 20 is sent in the way of broadcast Standby address information.In the disclosure, the first communication unit may include one of following communication units: bluetooth-communication unit, WiFi communication unit, NFC communication unit and magnetic field antenna unit.For example, being the feelings of bluetooth-communication unit in the first communication unit Under condition, the device address information that Bluetooth protocol to obtain the second equipment 20 from the second equipment 20 can be used.
It is the first contact mechanism and the physical contact of the second contact mechanism to form communication link in the pairing trigger condition In the case where, after detecting satisfaction pairing trigger condition, the control unit in the first equipment 10 is controlled in the first equipment 10 Communication unit come using be formed by communication link from the second equipment 20 obtain the second equipment 20 device address information.That is, the The communication unit of two equipment 20 sends the second equipment 20 to the communication unit of the first equipment 10 by being formed by communication link Device address information.
After the device address information that the first equipment 10 gets the second equipment 20, in block 150, the first equipment 10 uses institute The device address information of the second equipment 20 obtained to execute pairing processing between the first equipment 10 and the second equipment 20.Example Such as, link connection and/or application link are established between the first equipment 10 and the second equipment 20, to complete pairing processing.First Equipment 10 carries out pairing processing between the first equipment 10 and the second equipment 20 using the device address information of the second equipment 20, Any suitable way in this field can be used to realize.
Optionally, in addition, in another example of the disclosure, the device address information of the second equipment 20 is the second equipment 20 The second communication unit sent using the mode of wireless signal.Correspondingly, it is set in the first equipment 10 using acquired second Before standby 20 device address information to execute pairing processing between the first equipment 10 and the second equipment 20, the method may be used also To include the operation of block 140.At block 140, the first equipment 10 can also judge acquired for sending device address information The signal strength of wireless signal whether be more than predetermined threshold, and when meeting signal strength more than predetermined threshold, first is set Standby 10 ability are executed between the first equipment 10 and the second equipment 20 using the device address information of the second acquired equipment 20 Pairing processing.
In the disclosure, for example, being the first contact mechanism and the physical contact of the second contact mechanism in pairing trigger condition In the case of, the predetermined threshold can be the regulation physical contact degree based on the first contact mechanism and the second contact mechanism and determine Predetermined threshold.For example, it is assumed that a regulation physical contact degree between the first contact mechanism of regulation and the second contact mechanism, so Afterwards, determine corresponding signal strength threshold as predetermined threshold based on the regulation physical contact degree.Here, the predetermined threshold Value can be absolute signal strengths value, be also possible to the relative signal-strength values of signal strength when sending at the second equipment 20, For example, decline percentage etc..Alternatively, being that the first equipment 10 and the second equipment 20 are located at distance to a declared goal range in pairing trigger condition In the case where, the predetermined threshold can be the predetermined threshold that the predetermined distance based on the first equipment 10 and the second equipment 20 is determined Value.
Optionally, in addition, after satisfaction pairing trigger condition is detected at the first equipment 10, if the first equipment 10 is logical Believe that there are communication bindings relationships between unit and some other equipment (third equipment), then the method can also include: to release Communication bindings relationship between the communication unit and the third equipment, so that the communication unit of the first equipment 10 can be with It is communicated between the communication unit of the second equipment 20, to obtain the device address information of the second equipment 20.Here, communication is tied up Determine relationship for example and can be to be configured when carrying out device configuration to the first equipment 10, or is also possible in the first equipment 10 It is formed after being handled with the completion pairing of another equipment.Once there are communication bindings relationship between the first equipment 10 and another equipment, Then first equipment 10 can only be communicated with another equipment.
In addition, similarly, after satisfaction pairing trigger condition is detected at the second equipment 20, if the second equipment 20 is logical Believe that there are communication bindings relationships between unit and some other equipment (third equipment), then the method can also include: to release Communication bindings relationship between the communication unit and the third equipment, so that the communication unit of the second equipment 20 can be with It is communicated between the communication unit of the first equipment 10, to send the device address information of the second equipment 20.
Fig. 2 shows the block diagrams according to first equipment 10 of first embodiment of the present disclosure.As shown in Fig. 2, first sets Standby 10 include pairing processing unit 110 and communication unit 120 (that is, first communication unit).Pairing processing unit 110 is configured as Execute the pairing processing between the first equipment 10 and the second equipment 20.Communication unit 120 is configured as in pairing processing unit 110 Control under, obtain the second equipment 20 device address information.
Fig. 3 shows the block diagram of the pairing processing unit 110 in the first equipment 10 according to an embodiment of the present disclosure.Such as Shown in Fig. 3, pairing processing unit 110 includes pairing detection trigger unit 111, first control unit 113, signal strength unit 115 and first match processing unit 117.
Pairing detection trigger unit 111 is configured as whether meeting pairing between the first equipment 10 of detection and the second equipment 20 Trigger condition.In one example, the first equipment 10 has the first contact mechanism, and the second equipment 20 has the second contact mechanism, And the pairing trigger condition includes: the first contact mechanism and the physical contact of the second contact mechanism.In this case, first Pairing trigger condition detection unit 110 at equipment 10 can be contact detecting apparatus/module.Contact detecting apparatus/the module It is detected by the way that whether the first contact mechanism of the first equipment 10 of monitoring and the second contact mechanism of the second equipment 20 are physically contacted Whether satisfaction matches trigger condition.In another example, the pairing trigger condition may include: that the first equipment 10 and second set Standby 20 are located within the scope of distance to a declared goal.Correspondingly, the pairing trigger condition detection unit 110 at the first equipment 10 can be distance Detection device/module.Alternatively, the first contact mechanism and the second contact mechanism physical contact may include: the first contact mechanism and The physical contact of second contact mechanism is to form electrical connection, and the electrical connection is so that the entrance of the second equipment 20 is carried out by the first equipment 10 The charged state of charging, or the first equipment 10 is made to enter the charged state to be charged by the second equipment 20.That is, being formed Electrical connection so that the first equipment 10 charges to the second equipment 20 or the second equipment 20 fills the first equipment 10 Electricity.Correspondingly, the pairing detection trigger unit 110 at the first equipment 10 can be charge/discharge condition checkout gear/module.
First control unit 113 is configured as after detecting satisfaction pairing trigger condition, is controlled in the first equipment 10 Communication unit 120 obtains the device address information of the second equipment 20.In one example, the first equipment 10 has the first contact machine Structure, the second equipment 20 has the second contact mechanism and the pairing trigger condition includes: the first contact mechanism and the second contact Mechanism physical contact.Alternatively, the pairing trigger condition includes: that the first equipment 10 and the second equipment 20 are located at distance to a declared goal range It is interior.In this case, first control unit 113 is configured as after detecting satisfaction pairing trigger condition, and control first is set Communication unit 120 in standby 10 uses communication mode corresponding with communication unit 120 to obtain the device address of the second equipment 20 Information.It is the first contact mechanism and the physical contact of the second contact mechanism to form the feelings of communication link in the pairing trigger condition Under condition, first control unit 113 is configured as after detecting satisfaction pairing trigger condition, controls the communication in the first equipment 10 Unit 120 come use be formed by communication link from the second equipment 20 obtain the second equipment 20 device address information.
First pairing processing unit 117 is configured with the device address information of the second acquired equipment 20, the Pairing processing is executed between one equipment 10 and the second equipment 20.
Optionally, in addition, in another example of the disclosure, the device address information of the second equipment 20 is the second equipment 20 The second communication unit sent using the mode of wireless signal.Correspondingly, pairing processing unit 110 can also include that signal is strong Spend determination unit 115.Signal strength determination unit 115 is configured as in the first pairing processing unit 117 using acquired the Before the device address information of two equipment 20 to execute pairing processing between the first equipment 10 and the second equipment 20, judge to be obtained Whether the signal strength of the wireless signal for sending device address information taken is more than predetermined threshold, and strong meeting signal When degree is more than predetermined threshold, the first pairing processing unit 117 is just come using the device address information of the second acquired equipment 20 Pairing processing is executed between the first equipment 10 and the second equipment 20.
In the disclosure, for example, being the first contact mechanism and the physical contact of the second contact mechanism in pairing trigger condition In the case of, the predetermined threshold can be the regulation physical contact degree based on the first contact mechanism and the second contact mechanism and determine Predetermined threshold.For example, it is assumed that a regulation physical contact degree between the first contact mechanism of regulation and the second contact mechanism, so Afterwards, determine corresponding signal strength threshold as predetermined threshold based on the regulation physical contact degree.Here, the predetermined threshold Value can be absolute signal strengths value, be also possible to the relative signal-strength values of signal strength when sending at the second equipment 20, For example, decline percentage etc..Alternatively, being that the first equipment 10 and the second equipment 20 are located at distance to a declared goal range in pairing trigger condition In the case where, the predetermined threshold can be the predetermined threshold that the predetermined distance based on the first equipment 10 and the second equipment 20 is determined Value.
In addition, pairing processing unit 110 can also include the first communication bindings lifting unit (not shown).Described first is logical Letter binding lifting unit is configured as after detecting satisfaction pairing trigger condition, if communication unit 120 and third equipment are logical Letter binding, then release the communication bindings relationship between communication unit 120 and the third equipment.
Fig. 4 shows the block diagram of the second equipment 20 according to an embodiment of the present disclosure.As shown in figure 4, the second equipment 20 Including pairing processing unit 210 and communication unit 220 (that is, second communication unit).Pairing processing unit 210 is configured as executing Pairing processing between first equipment 10 and the second equipment 20.Communication unit 220 is configured as the equipment for sending the second equipment 20 Address information.
Fig. 5 shows the block diagram of the pairing processing unit 210 in the second equipment 20 according to an embodiment of the present disclosure.Such as Shown in Fig. 5, pairing processing unit 210 includes pairing detection trigger unit 211, the second control unit 213 and the second pairing processing Unit 215.
Pairing detection trigger unit 211 is configured as whether meeting pairing between the first equipment 10 of detection and the second equipment 20 Trigger condition.Match operation and the behaviour of the pairing detection trigger unit 111 described above with reference to Fig. 3 of detection trigger unit 211 Make identical, details are not described herein.
Second control unit 213 is configured as after detecting satisfaction pairing trigger condition, is controlled in the second equipment 20 Communication unit 220 sends the device address information of the second equipment 20.For example, the second control unit 213 can control communication unit 220 send the device address information of the second equipment 20 using communication mode corresponding to communication unit 220, so as to the first equipment 10 obtain.For example, corresponding communication can be used to broadcast the device address of the second equipment 20 letter in communication unit 220 Breath.Alternatively, communication unit 220 can be used corresponding communication mode to send the second equipment according to other suitable circulation ways 20 device address information.Alternatively, respectively there is contact mechanism and via contact machine in the first equipment 10 and the second equipment 20 In the case where constructing vertical communication link, the second control unit 213 can control communication unit 220 come using the communication chain established The first equipment of road direction 10 sends the device address information of the second equipment 20.
Then, the second pairing processing unit 215 is configured with the device address information of the second equipment 20, sets first Standby 10 and second execute pairing processing between equipment 20.
Optionally, in addition, pairing processing unit 210 can also include the second communication bindings lifting unit (not shown).Institute It states the second communication bindings lifting unit to be configured as after detecting satisfaction pairing trigger condition, if the second communication unit 220 With third equipment communication bindings, then the communication bindings relationship between the second communication unit 220 and the third equipment is released.
Using it is according to an embodiment of the present disclosure be used between the first equipment and the second equipment pairing processing method and Device, by controlling the communication unit in the first equipment and obtaining setting for the second equipment in the case where meeting pairing trigger condition Standby address information;And pairing behaviour is completed between the first equipment and the second equipment using the device address information of the second equipment Make, is enable to be automatically performed pairing processing without user's intervention, so that matching operation is simple, and And the error rate of matching operation is reduced, promote user experience.
In addition, being respectively provided with the first contact mechanism in the first equipment and the second equipment using disclosed method and device With the second contact mechanism and in the case that the first and second contact mechanism physical contact with one another are to establish communication link, first is set The standby device address information that established communication link can be used and to obtain the second equipment automatically, so that matching operation is more Add simple.
It, can be in addition, there are in the case where equipment communication bindings between the first equipment or the second equipment and other equipment Meet pairing trigger condition in response to detecting or receive pairing request signal and automatically carry out equipment unbundlings operation, it can be with Further promote user experience.
In addition, it is noted that in the above embodiments, the first equipment 10 and the second equipment 20 are described as having not With device structure, but in the other embodiments of the disclosure, the first equipment 10 and the second equipment 20 can use identical Equipment realizes that the identical equipment has the various components of the first equipment 10 described above and the second equipment 20.
Above with reference to Fig. 1-Fig. 5 to the side for the pairing processing between the first equipment and the second equipment according to the disclosure Method and the embodiment of device are illustrated.The pairing processing unit in the first equipment and the second equipment above can be using hard Part is realized, can also be realized using the combination of software or hardware and software.
Fig. 6 shows the calculating according to an embodiment of the present disclosure for realizing the pairing processing method in the first equipment and sets Standby 600 block diagram.According to one embodiment, calculating equipment 600 may include at least one processor 610, this at least one Processor 610 executes at least one computer of storage or coding in computer readable storage medium (that is, memory 620) can Reading instruction (that is, above-mentioned element realized in a software form).
In one embodiment, computer executable instructions are stored in memory 620, make at least one when implemented A processor 610: after detecting satisfaction pairing trigger condition, the communication unit acquisition second controlled in first equipment is set Standby device address information;And it using a matched device name, is built between first equipment and second equipment Vertical link connection and/or application link, to complete pairing processing.
It should be understood that the computer executable instructions stored in memory 620 make at least one processing when implemented Device 610 carries out the above various operations and functions described in conjunction with Fig. 1-5 in each embodiment of the disclosure.
Fig. 7 shows the calculating according to an embodiment of the present disclosure for realizing the pairing processing method in the second equipment and sets Standby 700 block diagram.According to one embodiment, calculating equipment 700 may include at least one processor 710, this at least one Processor 710 executes at least one computer of storage or coding in computer readable storage medium (that is, memory 720) can Reading instruction (that is, above-mentioned element realized in a software form).
In one embodiment, computer executable instructions are stored in memory 720, make at least one when implemented A processor 710: after detecting satisfaction pairing trigger condition, the second communication unit controlled in second equipment sends institute State the device address information of the second equipment;And the device address information using second equipment, in first equipment and Pairing processing is executed between second equipment.
It should be understood that the computer executable instructions stored in memory 720 make at least one processing when implemented Device 710 carries out the above various operations and functions described in conjunction with Fig. 1-5 in each embodiment of the disclosure.
According to one embodiment, a kind of program product of such as non-transitory machine readable media is provided.Non-transitory Machine readable media can have instruction (that is, above-mentioned element realized in a software form), which when executed by a machine, makes It obtains machine and executes the above various operations and functions described in conjunction with Fig. 1-5 in each embodiment of the disclosure.Specifically, Ke Yiti For being furnished with the system or device of readable storage medium storing program for executing, store on the readable storage medium storing program for executing any in realization above-described embodiment The software program code of the function of embodiment, and read and execute the computer of the system or device or processor and be stored in Instruction in the readable storage medium storing program for executing.
In this case, it is real that any one of above-described embodiment can be achieved in the program code itself read from readable medium The function of example is applied, therefore the readable storage medium storing program for executing of machine readable code and storage machine readable code constitutes of the invention one Point.
The embodiment of readable storage medium storing program for executing include floppy disk, hard disk, magneto-optic disk, CD (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD-RW), tape, non-volatile memory card and ROM.It selectively, can be by communication network Network download program code from server computer or on cloud.
It will be appreciated by those skilled in the art that each embodiment disclosed above can be in the situation without departing from invention essence Under make various changes and modifications.Therefore, protection scope of the present invention should be defined by the appended claims.
It should be noted that step and unit not all in above-mentioned each process and each system construction drawing is all necessary , certain step or units can be ignored according to the actual needs.Each step execution sequence be not it is fixed, can be according to need It is determined.Apparatus structure described in the various embodiments described above can be physical structure, be also possible to logical construction, that is, have A little units may be realized by same physical entity, be realized alternatively, some units may divide by multiple physical entities, alternatively, can be with It is realized jointly by certain components in multiple autonomous devices.
In the above various embodiments, hardware cell or module mechanically or can be realized electrically.For example, one Hardware cell, module or processor may include permanent dedicated circuit or logic (such as special processor, FPGA or ASIC) corresponding operating is completed.Hardware cell or processor can also include programmable logic or circuit (such as general processor or Other programmable processors), interim setting can be carried out by software to complete corresponding operating.Concrete implementation mode is (mechanical Mode or dedicated permanent circuit or the circuit being temporarily arranged) it can be determined based on cost and temporal consideration.
The specific embodiment illustrated above in conjunction with attached drawing describes exemplary embodiment, it is not intended that may be implemented Or fall into all embodiments of the protection scope of claims." exemplary " meaning of the term used in entire this specification Taste " be used as example, example or illustration ", be not meant to than other embodiments " preferably " or " there is advantage ".For offer pair The purpose of the understanding of described technology, specific embodiment include detail.However, it is possible in these no details In the case of implement these technologies.In some instances, public in order to avoid the concept to described embodiment causes indigestion The construction and device known is shown in block diagram form.
The foregoing description of present disclosure is provided so that any those of ordinary skill in this field can be realized or make Use present disclosure.To those skilled in the art, the various modifications carried out to present disclosure are apparent , also, can also answer generic principles defined herein in the case where not departing from the protection scope of present disclosure For other modifications.Therefore, present disclosure is not limited to examples described herein and design, but disclosed herein with meeting Principle and novel features widest scope it is consistent.

Claims (26)

1. a kind of method for the pairing processing between the first equipment and the second equipment, the method are held by first equipment Row, which comprises
After detecting satisfaction pairing trigger condition, the first communication unit acquisition described second controlled in first equipment is set Standby device address information;And
Using the device address information of acquired second equipment, held between first equipment and second equipment Row pairing processing.
2. the method for claim 1, wherein first equipment has the first contact mechanism, the second equipment tool Having the second contact mechanism and the pairing trigger condition includes: first contact mechanism and the second contact mechanism object Reason contact or the pairing trigger condition include: that first equipment and second equipment are located within the scope of distance to a declared goal, And
After detecting satisfaction pairing trigger condition, the first communication unit acquisition described second controlled in first equipment is set Standby device address information includes:
After detecting and meeting pairing trigger condition, controls the first communication unit in first equipment and come using with described the The corresponding communication mode of one communication unit obtains the device address information of second equipment.
3. method according to claim 2, wherein first contact mechanism and second contact mechanism physical contact packet Include: first contact mechanism and second contact mechanism physical contact are to form electrical connection, and the electrical connection is so that described Second equipment enters the charged state that is charged by first equipment, or first equipment is entered by described the The charged state that two equipment charge.
4. the method for claim 1, wherein first equipment has the first contact mechanism, the second equipment tool Having the second contact mechanism and the pairing trigger condition includes: first contact mechanism and the second contact mechanism object Reason is contacted to establish communication link, and
After detecting satisfaction pairing trigger condition, the first communication unit acquisition described second controlled in first equipment is set Standby device address information includes:
After detecting satisfaction pairing trigger condition, the first communication unit controlled in first equipment uses the communication chain Second equipment described in Lu Laicong obtains the device address information of second equipment.
5. method as claimed in claim 2 or claim 3, wherein the device address information of second equipment is to utilize wireless signal It sends, in the device address information using acquired second equipment, in first equipment and second equipment Between execute pairing processing before, the method also includes:
Determine whether the signal strength for sending the wireless signal of the device address information of second equipment is more than predetermined threshold Value, the predetermined threshold are determined based on the regulation physical contact degree of first contact mechanism and second contact mechanism , or determined based on the predetermined distance of first equipment and second equipment,
Wherein, using the device address information of acquired second equipment, in first equipment and second equipment Between execute pairing processing include:
It is more than predetermined threshold in the signal strength for determining the wireless signal for sending the device address information of second equipment When, using the device address information of acquired second equipment, held between first equipment and second equipment Row pairing processing.
6. the method as described in any in claim 2 to 5, wherein first contact mechanism and second contact mechanism Including one of following contact mechanisms:
Pogo pin connector, magnetic connector, pogo pin connectors and FPC connector.
7. the method for claim 1, wherein first communication unit includes one of following communication units:
Bluetooth-communication unit, WiFi communication unit, NFC communication unit and magnetic field antenna unit.
8. the method as described in any in claims 1 to 7, further includes:
After detecting satisfaction pairing trigger condition, if first communication unit and third equipment communication bindings, release Communication bindings relationship between first communication unit and the third equipment.
9. a kind of method for the pairing processing between the first equipment and the second equipment, the method are held by second equipment Row, which comprises
After detecting satisfaction pairing trigger condition, the second communication unit transmission described second controlled in second equipment is set Standby device address information;And
Using the device address information of second equipment, executed at pairing between first equipment and second equipment Reason.
10. method as claimed in claim 9, wherein the device address information of second equipment is communicated by described second Unit is sent using communication mode corresponding with second communication unit.
11. method as claimed in claim 9, wherein first equipment has the first contact mechanism, the second equipment tool Having the second contact mechanism and the pairing trigger condition includes: first contact mechanism and the second contact mechanism object Reason is contacted to establish communication link,
Wherein, the device address information of second equipment be from second communication unit use established communication link to What first equipment was sent.
12. method as claimed in claim 9, wherein second communication unit includes one of following communication units:
Bluetooth-communication unit, WiFi communication unit, NFC communication unit and magnetic field antenna unit.
13. the method as described in any in claim 9 to 12, further includes:
After detecting satisfaction pairing trigger condition, if second communication unit and third equipment communication bindings, release Communication bindings relationship between second communication unit and the third equipment.
14. a kind of device for the pairing processing between the first equipment and the second equipment, comprising:
Detection trigger unit is matched, is configured as detecting whether meet pairing triggering item between first equipment and the second equipment Part;
First control unit is configured as after detecting satisfaction pairing trigger condition, controls first in first equipment Communication unit obtains the device address information of second equipment;And
First pairing processing unit, is configured as the device address information using acquired second equipment, described the Pairing processing is executed between one equipment and second equipment.
15. device as claimed in claim 14, wherein first equipment has the first contact mechanism, second equipment It include: first contact mechanism and second contact mechanism with the second contact mechanism and the pairing trigger condition Physical contact or the pairing trigger condition include: that first equipment and second equipment are located at distance to a declared goal range It is interior, and
The first control unit is configured as: after detecting satisfaction pairing trigger condition, being controlled in first equipment First communication unit obtains the device address of second equipment using communication mode corresponding with first communication unit Information.
16. device as claimed in claim 14, wherein first equipment has the first contact mechanism, second equipment It include: first contact mechanism and second contact mechanism with the second contact mechanism and the pairing trigger condition It is physically contacted to establish communication link, and
The first control unit is configured as: after detecting satisfaction pairing trigger condition, being controlled in first equipment First communication unit obtains the device address information of second equipment using the communication link from second equipment.
17. the method as described in claim 15 or 16, wherein the device address information of second equipment is to utilize wireless communication Number send, described device further include:
Signal strength determination unit is configured to determine that the wireless signal of the device address information for sending second equipment Signal strength whether be more than predetermined threshold, the predetermined threshold is based on first contact mechanism and the second contact machine What the regulation physical contact degree of structure determined, or determined based on the predetermined distance of first equipment and second equipment ,
Wherein, the first pairing processing unit is configured as: determining the device address letter for sending second equipment When the signal strength of the wireless signal of breath is more than predetermined threshold, using the device address information of acquired second equipment, Pairing processing is executed between first equipment and second equipment.
18. the device as described in any in claim 14 to 17, further includes:
First communication bindings lifting unit is configured as after detecting satisfaction pairing trigger condition, if first communication Unit and third equipment communication bindings, the then communication bindings released between first communication unit and the third equipment are closed System.
19. a kind of first equipment, comprising:
Device as described in any in claim 14 to 18;And
First communication unit is configured as under the control of described device, obtains the device address information of the second equipment.
20. a kind of device for the pairing processing between the first equipment and the second equipment, comprising:
Detection trigger unit is matched, is configured as detecting whether meet pairing triggering item between first equipment and the second equipment Part;
Second control unit is configured as controlling second in second equipment when detecting satisfaction pairing trigger condition Communication unit sends the device address information of second equipment;And
Second pairing processing unit, is configured as the device address information using second equipment, in first equipment and Pairing processing is executed between second equipment.
21. device as claimed in claim 20, further includes:
Second communication bindings lifting unit is configured as after detecting satisfaction pairing trigger condition, if second communication Unit and third equipment communication bindings, the then communication bindings released between second communication unit and the third equipment are closed System.
22. a kind of second equipment, comprising:
Device as described in claim 20 or 21;And
Second communication unit is configured as sending the device address information of the second equipment.
23. a kind of calculating equipment, comprising:
At least one processor, and
The memory coupled at least one described processor, the memory store instruction, when described instruction by it is described at least When one processor executes, so that at least one described processor executes the method as described in any in claims 1 to 8.
24. a kind of non-transitory machinable medium, is stored with executable instruction, described instruction makes upon being performed The machine executes the method as described in any in claims 1 to 8.
25. a kind of calculating equipment, comprising:
At least one processor, and
The memory coupled at least one described processor, the memory store instruction, when described instruction by it is described at least When one processor executes, so that at least one described processor executes the method as described in any in claim 9 to 13.
26. a kind of non-transitory machinable medium, is stored with executable instruction, described instruction makes upon being performed The machine executes the method as described in any in claim 9 to 13.
CN201910010767.5A 2019-01-07 2019-01-07 Device pairing method and device Pending CN109743714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910010767.5A CN109743714A (en) 2019-01-07 2019-01-07 Device pairing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910010767.5A CN109743714A (en) 2019-01-07 2019-01-07 Device pairing method and device

Publications (1)

Publication Number Publication Date
CN109743714A true CN109743714A (en) 2019-05-10

Family

ID=66363438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910010767.5A Pending CN109743714A (en) 2019-01-07 2019-01-07 Device pairing method and device

Country Status (1)

Country Link
CN (1) CN109743714A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110930540A (en) * 2019-10-21 2020-03-27 钛马信息网络技术有限公司 Method and device for starting/sleeping automobile data recorder
CN111054085A (en) * 2019-12-10 2020-04-24 上海布鲁可科技有限公司 Triggering pairing method and system for spliced building blocks and spliced building blocks suitable for triggering pairing
CN112354174A (en) * 2020-12-03 2021-02-12 张威 Intelligent equipment joining system and method based on big data
WO2022047968A1 (en) * 2020-09-04 2022-03-10 歌尔股份有限公司 Bluetooth device pairing method, device, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501378A (en) * 2013-08-15 2014-01-08 沈阳华立德电子科技有限公司 Bluetooth mobile phone with NFC function
CN104284025A (en) * 2014-09-30 2015-01-14 厦门美图移动科技有限公司 Mobile terminal Bluetooth accessory and automatic pairing method thereof
CN105208515A (en) * 2015-09-14 2015-12-30 北京佳讯飞鸿电气股份有限公司 Method for utilizing wireless charging interface for automatically pairing Bluetooth peripheral and host

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501378A (en) * 2013-08-15 2014-01-08 沈阳华立德电子科技有限公司 Bluetooth mobile phone with NFC function
CN104284025A (en) * 2014-09-30 2015-01-14 厦门美图移动科技有限公司 Mobile terminal Bluetooth accessory and automatic pairing method thereof
CN105208515A (en) * 2015-09-14 2015-12-30 北京佳讯飞鸿电气股份有限公司 Method for utilizing wireless charging interface for automatically pairing Bluetooth peripheral and host

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110930540A (en) * 2019-10-21 2020-03-27 钛马信息网络技术有限公司 Method and device for starting/sleeping automobile data recorder
CN111054085A (en) * 2019-12-10 2020-04-24 上海布鲁可科技有限公司 Triggering pairing method and system for spliced building blocks and spliced building blocks suitable for triggering pairing
WO2022047968A1 (en) * 2020-09-04 2022-03-10 歌尔股份有限公司 Bluetooth device pairing method, device, and storage medium
CN112354174A (en) * 2020-12-03 2021-02-12 张威 Intelligent equipment joining system and method based on big data
CN112354174B (en) * 2020-12-03 2021-12-07 海南波克科技有限公司 Intelligent equipment joining system and method based on big data

Similar Documents

Publication Publication Date Title
CN109743714A (en) Device pairing method and device
US10141791B2 (en) Systems and methods for controlling communications during wireless transmission of power using application programming interfaces
EP3574546B1 (en) Control method and electronic device based on battery leakage state
EP2929613B1 (en) Apparatus and methods for utilizing a wireless charger in a wireless docking environment
US9124112B2 (en) Accelerometer-based battery charge status indicator
CN104270732B (en) Configuration method and device for call forwarding
CN109891860B (en) Electronic device and method for electronic device to identify connection terminal of external device
CN106549451B (en) A kind of wireless charging method and device
CN104601799A (en) Data transmission method and mobile terminal
CN104808501A (en) Intelligent scene deleting method and device
CN104461725A (en) Application process starting control method and device
CN105578411A (en) Positioning information prompt method and device
CN105071473B (en) USB charging methods and device
CN104661176A (en) Reminding method and device
CN104469714A (en) Short message sending method and device
CN105472771A (en) Wireless connection method and device
CN105826979A (en) Charging matching method, apparatus, electronic device and PD charger
CN104219038A (en) Method and device for synchronizing data
CN104468971A (en) Method and device for connecting playing source
CN104601204B (en) trigger condition detection method and device
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
CN110249655A (en) Error reason report method and device
CN105323748B (en) Test error uploading method and device
CN105100096A (en) Verification method and apparatus
CN103312881A (en) Mobile terminal state control method, device, system and mobile terminal

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: 20190510

RJ01 Rejection of invention patent application after publication