CN106211036A - A kind of method and apparatus connecting equipment - Google Patents
A kind of method and apparatus connecting equipment Download PDFInfo
- Publication number
- CN106211036A CN106211036A CN201610511658.8A CN201610511658A CN106211036A CN 106211036 A CN106211036 A CN 106211036A CN 201610511658 A CN201610511658 A CN 201610511658A CN 106211036 A CN106211036 A CN 106211036A
- Authority
- CN
- China
- Prior art keywords
- communication module
- near field
- field communication
- connection
- equipment
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of method and apparatus connecting equipment, for the connection being easily achieved between distinct device.First equipment that the method comprise the steps that obtains the connection request that the second equipment sends;First equipment opens the first proximity communication module under the triggering of connection request;First equipment is by setting the first proximity communication module on the first device and setting the second proximity communication module on the second device and connect the second equipment;Wherein the first proximity communication module and the second proximity communication module be type identical for the proximity communication module closely connected.First equipment is opened by the triggering of the connection request of the second equipment and is set the first proximity communication module thereon, thus the closely connection of the first equipment and the second equipment is realized by the first proximity communication module and the second proximity communication module, the closely connection making two equipment is easily achieved, and closely connect the transmission with preferable stability, beneficially data.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for connecting devices
Background
With the popularization of intelligent devices, the intelligent devices are closely related to the life of people, and the safety of the devices is more and more important.
The loss of the smart device can cause a lot of troubles for users, and the users can encounter a lot of unexpected situations, so that the users can lose the smart devices or forget the positions of the smart devices.
At this time, if the lost smart device is powered off or cannot be connected to the communication network, the user can only search for the smart device by memory, and there is no way to establish connection between the lost smart device and the user.
Disclosure of Invention
The embodiment of the invention provides a method and a device for connecting equipment, aiming at easily realizing the connection between different equipment.
In order to solve the above technical problem, an embodiment of the present invention provides the following technical solutions:
a method of connecting devices, comprising:
the method comprises the steps that a first device obtains a connection request sent by a second device;
the first equipment starts a first near field communication module under the trigger of the connection request;
the first device is connected with the second device through a first near field communication module arranged on the first device and a second near field communication module arranged on the second device;
the first close range communication module and the second close range communication module are close range communication modules which are the same in type and are used for close range connection.
In order to solve the above technical problem, an embodiment of the present invention further provides the following technical solutions:
a method of connecting devices, comprising:
the method comprises the steps that a second device sends a connection request to a first device, so that the first device starts a first near field communication module under the trigger of the connection request;
the second device is connected with the first device through a first near field communication module arranged on the second device and a first near field communication module arranged on the first device;
the first close range communication module and the second close range communication module are close range communication modules which are the same in type and are used for close range connection.
In order to solve the above technical problem, an embodiment of the present invention further provides the following technical solutions:
an apparatus for connecting devices, comprising:
a request acquisition unit, configured to acquire a connection request sent by a second device;
the starting unit is used for starting the first near field communication module under the trigger of the connection request;
a first connection unit configured to connect the second device through a first near field communication module provided on the first device and a second near field communication module provided on the second device;
the first close range communication module and the second close range communication module are close range communication modules which are the same in type and are used for close range connection.
In order to solve the above technical problem, an embodiment of the present invention further provides the following technical solutions:
an apparatus for connecting devices, comprising:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a connection request to a first device so that the first device starts a first near field communication module under the trigger of the connection request;
a second connection unit for connecting the first device through a first near field communication module provided on the second device and a first near field communication module provided on the first device;
the first close range communication module and the second close range communication module are close range communication modules which are the same in type and are used for close range connection.
According to the technical scheme, the embodiment of the invention has the following advantages:
after the first device acquires a connection request sent by the second device, the first near field communication module is started under the trigger of the connection request, so that the first device is connected with the second device through the first near field communication module arranged on the first device and the second near field communication module arranged on the second device; the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection. In this way, the first device starts the first near field communication module for near field connection, which is arranged on the first device, through the triggering of the connection request of the second device, so that the near field connection between the first device and the second device is realized through the first near field communication module arranged on the first device and the second near field communication module arranged on the second device, the near field connection between the first device and the second device is easy to realize, and has better stability compared with the equal-length connection of network connection, and is beneficial to data transmission.
Drawings
Fig. 1 is a schematic diagram of an implementation environment related to a method for connecting devices according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for connecting devices according to another embodiment of the present invention;
fig. 3 is a flowchart of a method for connecting devices according to another embodiment of the present invention;
fig. 4 is a flowchart of a method for connecting devices according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an apparatus for connecting devices according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus for connecting devices according to another embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method for connecting equipment, which is used for easily realizing the connection between different equipment.
Referring to fig. 1, a schematic diagram of an implementation environment involved in a method for connecting devices according to an embodiment of the present invention is shown. As shown in fig. 1, the implementation environment includes two devices, namely a first device and a second device, where the two devices may be electronic devices such as a mobile phone, a tablet computer, a notebook computer, and the like, where the first device and the second device may be the same device or different devices, and a wireless connection may be performed between the first device and the second device.
After the first device acquires a connection request sent by the second device, the first near field communication module is started under the trigger of the connection request, so that the first device is connected with the second device through the first near field communication module arranged on the first device and the second near field communication module arranged on the second device; the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection. In this way, the first device starts the first near field communication module for near field connection on the first device through the triggering of the connection request of the second device, so that the near field connection between the first device and the second device is realized through the first near field communication module on the first device and the second near field communication module on the second device, and the near field connection between the first device and the second device is easy to realize.
Fig. 2 is a flow chart illustrating a method of connecting devices according to an example embodiment. In conjunction with the schematic diagram of the implementation environment shown in fig. 1 and the above description, an embodiment of the present invention provides a method for connecting devices. Taking an angle of the terminal executing the method provided by the embodiment of the present invention as an example, referring to fig. 2, the method provided by the embodiment of the present invention includes:
step 201: the method comprises the steps that a first device obtains a connection request sent by a second device;
step 202: the first equipment starts a first near field communication module under the trigger of the connection request;
step 203: the first device is connected with the second device through a first near field communication module arranged on the first device and a second near field communication module arranged on the second device;
the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection.
Optionally, the connection request includes communication module type information;
the first device, triggered by the connection request, opens a first near field communication module comprising,
the first equipment starts the first near field communication module according to the type information of the communication module.
Optionally, the connection request includes second identification information for identifying the second device, and the method further includes:
the first equipment judges whether second identification information can be obtained according to predetermined legal pairing information, wherein the legal pairing information is used for indicating identification information of equipment which can be connected with the first equipment;
and if the second identification information can be obtained according to the predetermined legal pairing information, executing a step of starting the first near field communication module by the first equipment under the trigger of the connection request, or executing a step of connecting the first equipment with the second equipment through the first near field communication module arranged on the first equipment and the second near field communication module arranged on the second equipment.
Optionally, after the first device connects to the second device through a first near field communication module provided on the first device and a second near field communication module provided on the second device, the method further includes:
the method comprises the steps that a first device obtains a control instruction sent by a second device through a second near field communication module through a first near field communication module;
the first device executes the target operation according to the control instruction.
Alternatively,
the control instruction comprises a triggering alarm instruction;
the target operation comprises any combination of playing sound, starting light and starting a vibration switch;
or,
the control instructions include a transmit data instruction;
the target operation comprises transmitting data corresponding to the transmission data instruction to the second device through the first near field communication module.
Optionally, the short-range communication module includes one of a bluetooth module, a WiFi module, and an infrared module.
In summary, after the first device obtains the connection request sent by the second device, the first near field communication module is turned on under the trigger of the connection request, so that the first device is connected to the second device through the first near field communication module disposed on the first device and the second near field communication module disposed on the second device; the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection. In this way, the first device starts the first near field communication module for near field connection, which is arranged on the first device, through the triggering of the connection request of the second device, so that the near field connection between the first device and the second device is realized through the first near field communication module arranged on the first device and the second near field communication module arranged on the second device, the near field connection between the first device and the second device is easy to realize, and has better stability compared with the equal-length connection of network connection, and is beneficial to data transmission.
Fig. 3 is a flow chart illustrating a method of connecting devices according to an example embodiment. In conjunction with the schematic diagram of the implementation environment shown in fig. 1 and the above description, an embodiment of the present invention provides a method for connecting devices. Taking an angle of the terminal executing the method provided by the embodiment of the present invention as an example, referring to fig. 2, the method provided by the embodiment of the present invention includes:
step 301: the second equipment sends a connection request to the first equipment so that the first equipment starts up the first near field communication module under the trigger of the connection request;
step 302: the second device is connected with the first device through a first near field communication module arranged on the second device and a first near field communication module arranged on the first device;
the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection.
Optionally, the method further comprises:
the second equipment uses the second identification information to log in the server;
the second equipment sends a position request instruction to the server so that the server can acquire the position information of the first equipment according to the position request instruction;
the second device acquires the location information of the first device.
In summary, after the first device obtains the connection request sent by the second device, the first near field communication module is turned on under the trigger of the connection request, so that the first device is connected to the second device through the first near field communication module disposed on the first device and the second near field communication module disposed on the second device; the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection. In this way, the first device starts the first near field communication module for near field connection, which is arranged on the first device, through the triggering of the connection request of the second device, so that the near field connection between the first device and the second device is realized through the first near field communication module arranged on the first device and the second near field communication module arranged on the second device, the near field connection between the first device and the second device is easy to realize, and has better stability compared with the equal-length connection of network connection, and is beneficial to data transmission.
Fig. 4 is a flow chart illustrating a method of connecting devices according to an example embodiment. In conjunction with the schematic diagram of the implementation environment shown in fig. 1 and the above description, an embodiment of the present invention provides a method for connecting devices. Taking an angle of the terminal executing the method provided by the embodiment of the present invention as an example, referring to fig. 2, the method provided by the embodiment of the present invention includes:
step 401: the second device sends a connection request to the first device.
The second device sends the connection request to the first device in various ways, for example, sending the connection request through a mobile cellular network, and sending the connection request through a second short-distance communication module on the second device, where the second short-distance communication module includes various short-distance communication modules such as a bluetooth module, a WiFi module, and an infrared module. The connection request is used to trigger the first device to open the first near field communication module, and the connection request may further include various information, such as second identification information for identifying the second device, near field communication module type information, and the like, which may also be sent to the first device independently, which is not limited in this embodiment of the present invention.
For example, the user loses the a cell phone, and the user sends a connection request to the a cell phone using the bluetooth function of the B cell phone.
Step 402: the first device acquires the connection request sent by the second device.
If the second device sends the connection request through the short-range communication module for short-range connection, the first device may obtain the connection request only when the distance between the first device and the second device meets a preset range, and if the second device sends the connection request through another method, such as a cellular network, the first device is not limited by the foregoing.
Step 403: the first equipment judges whether second identification information can be obtained according to predetermined legal pairing information; if the second identification information can be obtained according to the predetermined legal pairing information, step 404 is executed.
The legal pairing information is used for indicating identification information of equipment which can establish connection with the first equipment; the second identification information is used to identify the second device, and the specific form of the second identification information may be an account name, an international user identification code, or a preset numerical number, as long as the second identification code can identify the second device, which is not specifically limited in the embodiment of the present invention.
The legal pairing information may be set by the user on the first device before step 403, for example, the second identification information is input on the first device, or the first device is obtained from a server.
If the legal pairing information is obtained by the first device from the server, the method of the embodiment of the present invention further includes: the first device sends first identification information for identifying the first device by a user to the server, and after the server acquires the first identification information, the server judges second identification information which can be paired with the first identification information, for example, the first identification information and the second identification information are the same or belong to the same user, the server generates legal pairing information, and the legal pairing information comprises the second identification information. Then the server sends the legal pairing information to the first equipment, and the first equipment stores the legal pairing information after receiving the legal pairing information.
The second identification information is checked by the legal pairing information to judge whether the second device is a legal device, namely, the first device and the second device can establish a trustworthy connection. Therefore, the reliability of connection establishment between the first equipment and the second equipment is improved, and the safety requirement of a user on connection establishment is met.
It should be understood that the verification of the second identifier may be completed before the connection is established, so that, in some embodiments, if the second identifier information is obtained according to the predetermined legal pairing information, the method for connecting devices according to the embodiment of the present invention performs step 405.
For example, after the a mobile phone detects the connection request, the a mobile phone detects whether the legal pairing information on the a mobile phone has the second identification information of the B mobile phone on the connection request, where the legal pairing information may be input by the user in advance on the a mobile phone, for example, the legal pairing information has "user zhangsan", and the second identification information is "user zhangsan", the first device performs step 404 or step 405.
Or the mobile phone A sends first identification information for identifying the mobile phone A to the server through the network, such as 'user Zhang III'. After the server acquires the user Zhang III, it is detected that the user Zhang III corresponds to the numerical code 110, and if the connection request sent by the second device includes the numerical code 110, the first device executes step 404 or step 405.
Step 404: the first equipment starts a first near field communication module under the trigger of the connection request;
and after detecting that the second device meets the safety requirement, the first device receives the trigger of the connection request, and starts a first near field communication module on the first device under the trigger of the connection request. The first short-range communication module is a module for short-range connection, and may be one of a bluetooth module, a WiFi module, and an infrared module, for example, which is not limited in this embodiment of the present invention. The first near field communication module and the second near field communication module on the second device are the same type of near field communication module. The connection request sent by the second device may include type information of the near field communication module, and the first device may determine the corresponding first near field communication module according to the type information of the near field communication module. The information of the type of the near field communication module may include various specific information, for example, the information is identified by specific identification information in the request information, or when the request information is sent by the second device according to the second near field communication module, the corresponding information of the type of the near field communication module may be indicated according to the signal carrier of the request information.
For example, device a turns on the bluetooth module triggered by the connection request.
Step 405: the first device and the second device are connected through a first near field communication module arranged on the first device and a second near field communication module arranged on the second device.
The first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection. The close range communication module may be used to transmit and receive close range connection signals. As described above, the short range communication module includes one of a bluetooth module, a WiFi module, and an infrared module. It can be understood that the short distance of the short-distance communication module according to the embodiment of the present invention is relative to the case of long-distance communication such as network communication, and the short distance is within a preset distance, for example, the preset distance may be 0 meter to dozens of meters.
The second near field communication module of the second device is already started before use, and may be started by a user, or may be automatically started by the second device, for example, after the second device sends a connection request, the second near field communication module is started. After the first near field communication module of the first device is started, the first near field communication module searches for a signal of the second device, so that the first near field communication module and the second near field communication module are connected.
After the first near field communication module and the second near field communication module are connected, the first device and the second device can be correspondingly connected in a near field. After the first device and the second device establish the short-distance connection, the first device and the second device can be connected and communicated through the corresponding short-distance communication module, for example, data transmission or control instruction transmission is performed.
For example, after the bluetooth module is turned on, the mobile phone a and the mobile phone B are connected through the bluetooth module on the mobile phone a and the bluetooth module on the mobile phone B. Therefore, the mobile phone A and the mobile phone B complete the establishment of the Bluetooth connection, which is not limited in the embodiment of the invention.
Step 406: the first device acquires a control instruction sent by the second device through the second near field communication module through the first near field communication module.
After the first device and the first device are connected, the second device can control the first device through a connection mode corresponding to the near field communication module, namely the second device sends a control instruction to the first device, and the first device receives and sends the control instruction.
The control instruction may also be a data transmission instruction, which is used to control the first device to transmit corresponding data. The embodiment of the present invention does not limit the specific form of the control command.
For example, the user sends a control instruction for playing ring tone to the a mobile phone through the B mobile phone.
Step 407: the first device executes the target operation according to the control instruction.
After the first device acquires the control instruction of the second device, the first device executes corresponding target operation according to the control instruction,
when the control instruction is a trigger alarm instruction, the target operation can be any combination of playing sound, starting lamplight and starting a vibration switch; when the control instruction is a data transmission instruction, the target operation may be to transmit data corresponding to the data transmission instruction to the second device, which is not limited in this embodiment of the present invention.
For example, after the mobile phone a receives a control instruction for playing a ring tone sent by the mobile phone B, the mobile phone a plays a corresponding ring tone.
It is understood that after the first device establishes the close-range connection with the second device, the first device may also actively transmit data, such as image data or gyroscope data, to the second device.
In some embodiments of the present invention, the first device and the second device further have other connection modes, so as to implement more connection functions, for example, a user uses the first identification information to log in the server by the first device, the second device uses the second identification information to log in the server by the second device, after the first device logs in the server, the first device may send the location information of the first device to the server, or the server actively obtains the location information of the first device, so that after the second device logs in the server, the location information of the first device may be obtained from the server. So that the user can obtain the approximate location of the first device through the second device.
In summary, after the first device obtains the connection request sent by the second device, the first near field communication module is turned on under the trigger of the connection request, so that the first device is connected to the second device through the first near field communication module disposed on the first device and the second near field communication module disposed on the second device; the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection. In this way, the first device starts the first near field communication module for near field connection, which is arranged on the first device, through the triggering of the connection request of the second device, so that the near field connection between the first device and the second device is realized through the first near field communication module arranged on the first device and the second near field communication module arranged on the second device, the near field connection between the first device and the second device is easy to realize, and has better stability compared with the equal-length connection of network connection, and is beneficial to data transmission.
And because the short-distance connection modes such as Bluetooth connection, infrared connection, WIFI connection and the like are more stable than the mobile cellular connection mode, after the short-distance connection is established between the first device and the second device, the first device and the second device have more stable connection conditions during operations such as data transmission and the like.
Fig. 5 is a schematic structural diagram illustrating an apparatus for connecting devices according to an exemplary embodiment, where the terminal is configured to perform the functions performed by the first device in any of the embodiments corresponding to fig. 2 to 4. Referring to fig. 5, the apparatus includes:
a request obtaining unit 501, configured to obtain a connection request sent by a second device;
an opening unit 502, configured to open the first near field communication module under the trigger of the connection request;
a first connection unit 503, configured to connect to a second device through a first near field communication module provided on the first device and a second near field communication module provided on the second device;
the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection.
Alternatively,
the request obtaining unit 501 is further configured to obtain, by the first device, a connection request sent by the second device through the second near field communication module, where the connection request includes type information of the near field communication module;
the unit 502 is turned on. And the first near field communication module is started according to the type information of the near field communication module.
Optionally, the apparatus further comprises:
a determining unit 504, configured to determine, by the first device, whether second identification information can be obtained according to predetermined legal pairing information, where the legal pairing information is used to indicate identification information of a device that can establish a connection with the first device;
the opening unit 502 is further configured to, if the second identification information can be obtained according to the predetermined legal pairing information, open the first near field communication module under the trigger of the connection request, or,
the first connection unit 503 is further configured to connect the second device through a first near field communication module disposed on the first device and a second near field communication module disposed on the second device if the second identification information can be obtained according to the predetermined legal pairing information.
Optionally, the apparatus further comprises:
an instruction obtaining unit 505, configured to obtain, through the first near field communication module, a control instruction sent by the second device through the second near field communication module;
an operation unit 506, configured to execute the target operation according to the control instruction.
Alternatively,
the control instruction comprises a triggering alarm instruction;
the target operation comprises any combination of playing sound, starting light and starting a vibration switch;
or,
the control instructions include a transmit data instruction;
the target operation comprises transmitting data corresponding to the transmission data instruction to the second device through the first near field communication module.
Optionally, the short-range communication module includes one of a bluetooth module, a WiFi module, and an infrared module.
In summary, after the request obtaining unit 501 obtains the connection request sent by the second device, the opening unit 502 is triggered by the connection request to open the first near field communication module, so that the first connecting unit 503 connects to the second device through the first near field communication module disposed on the first device and the second near field communication module disposed on the second device; the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection. In this way, the first device starts the first near field communication module for near field connection, which is arranged on the first device, through the triggering of the connection request of the second device, so that the near field connection between the first device and the second device is realized through the first near field communication module arranged on the first device and the second near field communication module arranged on the second device, the near field connection between the first device and the second device is easy to realize, and has better stability compared with the equal-length connection of network connection, and is beneficial to data transmission.
Fig. 6 is a schematic structural diagram illustrating an apparatus for connecting devices according to an exemplary embodiment, where the apparatus is configured to perform the functions performed by the second device in any of the embodiments corresponding to fig. 2 to 4. Referring to fig. 6, the apparatus includes:
a sending unit 601, configured to send a connection request to a first device, so that the first device opens a first near field communication module under the trigger of the connection request;
a second connection unit 602, configured to connect to the first device through a first near field communication module provided on the second device and a first near field communication module provided on the first device;
the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection.
Optionally, the apparatus further comprises:
a login unit 603 for logging in the server using the second identification information;
a location instruction sending unit 604, configured to send a location request instruction to a server, so that the server obtains location information of the first device according to the location request instruction;
a location obtaining unit 605, configured to obtain location information of the first device.
In summary, after the first device obtains the connection request sent by the sending unit 601, the first near field communication module is turned on under the trigger of the connection request, so that the first device connects to the second connecting unit 602 through the first near field communication module disposed on the first device and the second near field communication module disposed on the second device; the first near field communication module and the second near field communication module are the same type of near field communication module used for near field connection. In this way, the first device starts the first near field communication module for near field connection, which is arranged on the first device, through the triggering of the connection request of the second device, so that the near field connection between the first device and the second device is realized through the first near field communication module arranged on the first device and the second near field communication module arranged on the second device, the near field connection between the first device and the second device is easy to realize, and has better stability compared with the equal-length connection of network connection, and is beneficial to data transmission.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method of connecting devices, comprising:
the method comprises the steps that a first device obtains a connection request sent by a second device;
the first equipment starts a first near field communication module under the trigger of the connection request;
the first device is connected with the second device through a first near field communication module arranged on the first device and a second near field communication module arranged on the second device;
the first close range communication module and the second close range communication module are close range communication modules which are the same in type and are used for close range connection.
2. The method of claim 1, wherein the connection request includes communication module type information;
the first device, triggered by the connection request, turns on a first near field communication module comprising,
and the first equipment starts the first near field communication module according to the communication module type information.
3. The method of claim 1, wherein the connection request comprises second identification information for identifying the second device, the method further comprising:
the first equipment judges whether the second identification information can be obtained according to predetermined legal pairing information, wherein the legal pairing information is used for indicating the identification information of the equipment which can establish connection with the first equipment;
and if the second identification information can be obtained according to predetermined legal pairing information, executing a step of starting a first near field communication module under the trigger of the connection request by the first device, or executing a step of connecting the first device with the second device through the first near field communication module arranged on the first device and a second near field communication module arranged on the second device.
4. The method of any one of claims 1 to 3, wherein after the first device is connected to the second device through a first near field communication module provided on the first device and a second near field communication module provided on the second device, the method further comprises:
the first equipment acquires a control instruction sent by the second equipment through the second near field communication module through the first near field communication module;
and the first equipment executes target operation according to the control instruction.
5. The method of claim 4,
the control instruction comprises an alarm triggering instruction;
the target operation comprises any combination of playing sound, starting light and starting a vibration switch;
or,
the control instruction comprises a transmit data instruction;
the target operation comprises transmitting data corresponding to the data transmission instruction to the second equipment through the first close-range communication module.
6. The method of any one of claims 1 to 3, wherein the short-range communication module comprises one of a Bluetooth module, a WiFi module, and an infrared module.
7. A method of connecting devices, comprising:
the method comprises the steps that a second device sends a connection request to a first device, so that the first device starts a first near field communication module under the trigger of the connection request;
the second device is connected with the first device through a first near field communication module arranged on the second device and a first near field communication module arranged on the first device;
the first close range communication module and the second close range communication module are close range communication modules which are the same in type and are used for close range connection.
8. The method of claim 7, further comprising:
the second equipment uses the second identification information to log in a server;
the second equipment sends a position request instruction to the server so that the server can acquire the position information of the first equipment according to the position request instruction;
the second device obtains location information of the first device.
9. An apparatus for connecting devices, comprising:
a request acquisition unit, configured to acquire a connection request sent by a second device;
the starting unit is used for starting the first near field communication module under the trigger of the connection request;
a first connection unit configured to connect the second device through a first near field communication module provided on the first device and a second near field communication module provided on the second device;
the first close range communication module and the second close range communication module are close range communication modules which are the same in type and are used for close range connection.
10. An apparatus for connecting devices, comprising:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a connection request to a first device so that the first device starts a first near field communication module under the trigger of the connection request;
a second connection unit for connecting the first device through a first near field communication module provided on the second device and a first near field communication module provided on the first device;
the first close range communication module and the second close range communication module are close range communication modules which are the same in type and are used for close range connection.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610511658.8A CN106211036A (en) | 2016-06-30 | 2016-06-30 | A kind of method and apparatus connecting equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610511658.8A CN106211036A (en) | 2016-06-30 | 2016-06-30 | A kind of method and apparatus connecting equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106211036A true CN106211036A (en) | 2016-12-07 |
Family
ID=57464054
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610511658.8A Withdrawn CN106211036A (en) | 2016-06-30 | 2016-06-30 | A kind of method and apparatus connecting equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106211036A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110417787A (en) * | 2019-07-31 | 2019-11-05 | 广州华多网络科技有限公司 | A kind of data processing method, device, client and storage medium |
| CN111083943A (en) * | 2018-08-03 | 2020-04-28 | 深圳市汇顶科技股份有限公司 | Near field communication connection method and system, active pen and touch screen |
| CN115766825A (en) * | 2022-10-26 | 2023-03-07 | 歌尔科技有限公司 | Pairing method, head-mounted display device, server and display system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20100028204A (en) * | 2008-09-04 | 2010-03-12 | 김봉겸 | Parking information on cell phone |
| CN103516750A (en) * | 2012-06-25 | 2014-01-15 | 北京智慧风云科技有限公司 | System for position information sharing of cloud server and cloud server |
| CN104301857A (en) * | 2014-09-24 | 2015-01-21 | 广州三星通信技术研究有限公司 | Method and device for wireless communication between communication terminals |
| CN204859262U (en) * | 2015-08-06 | 2015-12-09 | 湖南象外科技有限公司 | Prevent losing reason fastener |
-
2016
- 2016-06-30 CN CN201610511658.8A patent/CN106211036A/en not_active Withdrawn
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20100028204A (en) * | 2008-09-04 | 2010-03-12 | 김봉겸 | Parking information on cell phone |
| CN103516750A (en) * | 2012-06-25 | 2014-01-15 | 北京智慧风云科技有限公司 | System for position information sharing of cloud server and cloud server |
| CN104301857A (en) * | 2014-09-24 | 2015-01-21 | 广州三星通信技术研究有限公司 | Method and device for wireless communication between communication terminals |
| CN204859262U (en) * | 2015-08-06 | 2015-12-09 | 湖南象外科技有限公司 | Prevent losing reason fastener |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111083943A (en) * | 2018-08-03 | 2020-04-28 | 深圳市汇顶科技股份有限公司 | Near field communication connection method and system, active pen and touch screen |
| CN111083943B (en) * | 2018-08-03 | 2023-11-24 | 深圳市汇顶科技股份有限公司 | Near field wireless communication connection method, system, active pen and touch screen |
| CN110417787A (en) * | 2019-07-31 | 2019-11-05 | 广州华多网络科技有限公司 | A kind of data processing method, device, client and storage medium |
| CN115766825A (en) * | 2022-10-26 | 2023-03-07 | 歌尔科技有限公司 | Pairing method, head-mounted display device, server and display system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3200549B1 (en) | Method and device for wireless communication between communication terminals | |
| EP2965546B1 (en) | Method and apparatus for peer-2-peer wi-fi ranging using near field communication | |
| EP2406933B1 (en) | Method, apparatus and computer program for enabling access to content | |
| EP2355563A1 (en) | Method for automatic pairing to a wireless network | |
| US20110086632A1 (en) | Object range detector and lock down device | |
| EP2838309A1 (en) | Method, device and system for establishing data connection | |
| KR20160077071A (en) | Authentication for application | |
| US20150208194A1 (en) | Short range radio communication system and short range radio communication terminal | |
| CN104363585A (en) | Wireless local area network access method | |
| CN105513296A (en) | Intelligent anti-lost system and method | |
| US9769168B2 (en) | Mobile device and method | |
| US12003958B2 (en) | Electronic device for performing authentication by using accessory, and electronic device operating method | |
| EP2941058B1 (en) | Near field communication method and device | |
| CN105764159B (en) | Network connection method, system and terminal thereof | |
| CN112839303B (en) | Method and related device for device reconnection | |
| CN104580534B (en) | Information processing method, device and electronic equipment | |
| CN104363665A (en) | Terminal | |
| CN102523019A (en) | Apparatus and method for sharing data in portable terminal | |
| US9002273B2 (en) | Apparatus and process for detection of a bluetooth device | |
| CN106211036A (en) | A kind of method and apparatus connecting equipment | |
| EP2767104B1 (en) | Method and apparatus for controlling a device | |
| KR101833709B1 (en) | Communication apparatus, information processing apparatus, and control method for the same | |
| CN115088297A (en) | Reporting method and device | |
| CN108012270B (en) | Information processing method, equipment and computer readable storage medium | |
| WO2014094503A1 (en) | Intercommunication methods and devices based on digital networks |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20161207 |
|
| WW01 | Invention patent application withdrawn after publication |