CN113596795A - Equipment binding method and device and computer readable storage medium - Google Patents

Equipment binding method and device and computer readable storage medium Download PDF

Info

Publication number
CN113596795A
CN113596795A CN202110834897.8A CN202110834897A CN113596795A CN 113596795 A CN113596795 A CN 113596795A CN 202110834897 A CN202110834897 A CN 202110834897A CN 113596795 A CN113596795 A CN 113596795A
Authority
CN
China
Prior art keywords
binding
identifier
communication protocol
target
extension
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.)
Granted
Application number
CN202110834897.8A
Other languages
Chinese (zh)
Other versions
CN113596795B (en
Inventor
叶申强
伍卉
钱秀娟
毛小俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110834897.8A priority Critical patent/CN113596795B/en
Publication of CN113596795A publication Critical patent/CN113596795A/en
Application granted granted Critical
Publication of CN113596795B publication Critical patent/CN113596795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a device binding method, a device and a computer readable storage medium, wherein the device binding method comprises the following steps: when the first device detects triggering binding, acquiring first extension information, a user identifier and a device identifier of a target device, wherein the user identifier and the device identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target device, the target extension communication protocol is obtained by inquiring in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target device, and the preset extension communication protocol is sent by a binding server; and sending the first extension information, the user identifier and the equipment identifier to a binding server so that the binding server establishes a binding relationship among the equipment identifier, the user identifier and the first extension information. The invention can avoid the problem that the adopted protocol is single when the equipment binding is realized.

Description

Equipment binding method and device and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device binding method and apparatus, and a computer-readable storage medium.
Background
In the field of smart home, devices of various protocols, such as bluetooth devices adopting a bluetooth protocol, are widely adopted, in order to enhance the use experience of the bluetooth devices, generally the bluetooth devices need to be bound, such as binding a device identifier of a weight scale with a user identifier, so that the weight corresponding to the user identifier can be further recorded based on the binding relationship, when the bluetooth devices are bound, the binding needs to be realized according to a specific bluetooth protocol, currently, a specific application is developed in a terminal device to support the specific bluetooth protocol, and the specific bluetooth protocol is configured for the bluetooth devices when leaving a factory, so that the communication interaction and binding processes are realized on the basis, however, the binding is realized by adopting the method, if a bluetooth device needing a new bluetooth protocol to be bound appears, only the previous single protocol can be adopted, for example, if a certain bluetooth device needs to be bound with more information besides the user identifier, the application program only configures one protocol, and only supports binding of one specific information, so that the purpose cannot be achieved, for example, a plurality of bluetooth devices respectively have different binding requirements, and a single protocol cannot support all the binding requirements, so that the present invention at least solves the following technical problems: when the equipment binding is realized, the adopted protocol is single.
Disclosure of Invention
The invention mainly aims to provide a device binding method, a device and a computer readable storage medium, and aims to solve the technical problem that a protocol adopted when device binding is realized is single.
In order to achieve the above object, the present invention provides an apparatus binding method, including:
when the first device detects that binding is triggered, acquiring first extension information, a user identifier and a device identifier of a target device, wherein the user identifier and the device identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target device, the target extension communication protocol is obtained by inquiring in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target device, and the preset extension communication protocol is sent by a binding server;
and sending the first extension information, the user identifier and the equipment identifier to the binding server so that the binding server establishes a binding relationship among the equipment identifier, the user identifier and the first extension information.
Optionally, when the first device detects the trigger binding, the step of obtaining the first extension information, the user identifier, and the device identifier of the target device includes:
when the first device detects a trigger binding, acquiring the user identifier locally stored by the first device, the first extension information locally stored by the first device, and the device identifier sent by a second device, where the second device is the target device;
or, when the first device detects a trigger binding, the user identifier sent by the second device, the first extension information sent by the second device, and the device identifier locally stored by the first device are obtained, and the first device is the target device.
Optionally, after the step of acquiring the user identifier sent by the second device, the first extension information sent by the second device, and the device identifier locally stored by the first device when the first device detects a trigger binding, the method further includes:
acquiring second extended information sent by the second device, wherein the second extended information comprises wireless local area network information and is obtained according to the target extended communication protocol;
and establishing communication connection with the binding server according to the wireless local area network information, and executing the step of sending the first extension information, the user identifier and the equipment identifier to the binding server through the communication connection.
Optionally, when the first device detects the trigger binding, the step of obtaining the first extension information, the user identifier, and the device identifier of the target device includes:
when the first device detects triggering binding, acquiring the user identifier, the first extension information and a preset Bluetooth device set sent by the binding server;
determining target Bluetooth equipment corresponding to the Bluetooth broadcast according to the received Bluetooth broadcast;
inquiring the second equipment matched with the target Bluetooth equipment in the preset Bluetooth equipment set;
and acquiring the device identifier sent by the second device, and taking the device identifier sent by the second device as the target identifier of the target device.
Optionally, the device binding method further includes:
acquiring an updated extended communication protocol sent by the binding server and a protocol identifier associated with the updated extended communication protocol;
and updating the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
In addition, to achieve the above object, the present invention further provides an apparatus binding method, where the apparatus binding method includes:
a binding server receives first extension information, a user identifier and an equipment identifier of a target equipment, wherein the first extension information and the equipment identifier are sent by a first equipment, the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target equipment, the target extension communication protocol is obtained by inquiring in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extension communication protocol is sent by the binding server;
and establishing a binding relationship among the equipment identifier, the user identifier and the first extension information.
Optionally, the device binding method further includes:
when a modification request for a preset extended communication protocol is received, modifying the corresponding preset extended communication protocol according to the modification request to obtain an updated extended communication protocol;
and sending the updated extended communication protocol and a protocol identifier associated with the updated extended communication protocol to the first device, so that the first device updates the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
In addition, to achieve the above object, the present invention further provides a binding apparatus, which includes an obtaining module and a sending module, wherein:
the acquisition module is used for acquiring first extension information, a user identifier and an equipment identifier of target equipment when the first equipment detects that binding is triggered, wherein the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target equipment, the target extension communication protocol is obtained by inquiring among a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extension communication protocol is sent by a binding server;
the sending module is configured to send the first extension information, the user identifier, and the device identifier to the binding server, so that the binding server establishes a binding relationship between the device identifier, the user identifier, and the first extension information;
or, the binding apparatus includes a receiving module and a binding module, wherein:
the receiving module is used for receiving first extended information, a user identifier and an equipment identifier of a target equipment, wherein the first extended information, the user identifier and the equipment identifier are sent by a first equipment through a binding server, the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extended information is obtained according to a target extended communication protocol corresponding to the target equipment, the target extended communication protocol is obtained through inquiry in a plurality of preset extended communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extended communication protocol is sent by the binding server;
the binding module is configured to establish a binding relationship between the device identifier, the user identifier, and the first extension information.
In addition, to achieve the above object, the present invention further provides a binding apparatus, which includes a memory, a processor, and a device binding program stored in the memory and executable on the processor, wherein:
the device binding program when executed by the processor implementing the steps of a device binding method applied to a first device;
or, the device binding program, when executed by the processor, implements the steps of the device binding method applied to the binding server.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having a device binding program stored thereon, where the device binding program, when executed by a processor, implements the steps of the device binding method according to any one of the above.
When the first device detects the trigger binding, acquiring first extension information, a user identifier and a device identifier of a target device, and sending the first extension information, the user identifier and the device identifier to a binding server so that the binding server establishes a binding relationship among the device identifier, the user identifier and the first extension information, wherein the user identifier and the device identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target device, the target extension communication protocol is inquired and obtained in a plurality of preset extension communication protocols, the basic protocol is locally stored in the target device, and the preset extension communication protocol is sent by the binding server, so that whatever protocol is needed when the target device is bound can be inquired and obtained in the plurality of preset extension communication protocols to obtain a target extension communication protocol corresponding to the target device And a basic protocol corresponding to the target device can be obtained, so that a target extended communication protocol corresponding to the target device is obtained through inquiry based on the difference of the protocols required by the target device, and first extended information is obtained based on the target extended communication protocol, so that when the device is bound, the device can be bound by combining the first extended information, the device identifier and the user identifier, and the binding relationship among the first extended information, the device identifier and the user identifier is established, thereby the binding requirements of different devices can be met, the purpose of binding more information by the device can be realized, and the problem that the adopted protocol is single when the device is bound is avoided.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a device binding method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a device binding method according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a device binding method according to the present invention;
FIG. 5 is a flowchart illustrating a fourth embodiment of a device binding method according to the present invention;
fig. 6 is a flowchart illustrating a fifth embodiment of the device binding method according to the present invention;
fig. 7 is a flowchart illustrating a sixth embodiment of a device binding method according to the present invention;
fig. 8 is a functional module diagram of an embodiment of a binding apparatus according to the present invention;
fig. 9 is a functional module diagram of a binding apparatus according to another embodiment of the present invention;
fig. 10 is an interaction diagram of a terminal device, a bluetooth device, and a cloud server according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the apparatus may include: a processor 1001 such as a CPU, a communication interface 1002, a memory 1003, and a communication bus 1004. Wherein a communication bus 1004 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the device shown in fig. 1 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include an operating system and a device binding program therein.
In the apparatus shown in fig. 1, the apparatus may be a terminal device, or may also be a smart home device, a wearable device, or some other device implemented by using a specific communication protocol, such as a bluetooth device implemented by using a bluetooth communication protocol; among other things, the processor 1001 may be configured to call a device binding program stored in the memory 1003, and perform the following operations:
when the first device detects that binding is triggered, acquiring first extension information, a user identifier and a device identifier of a target device, wherein the user identifier and the device identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target device, the target extension communication protocol is obtained by inquiring in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target device, and the preset extension communication protocol is sent by a binding server;
and sending the first extension information, the user identifier and the equipment identifier to the binding server so that the binding server establishes a binding relationship among the equipment identifier, the user identifier and the first extension information.
Further, the processor 1001 may call the device binding program stored in the memory 1003, and further perform the following operations:
when the first device detects a trigger binding, acquiring the user identifier locally stored by the first device, the first extension information locally stored by the first device, and the device identifier sent by a second device, where the second device is the target device;
or, when the first device detects a trigger binding, the user identifier sent by the second device, the first extension information sent by the second device, and the device identifier locally stored by the first device are obtained, and the first device is the target device.
Further, the processor 1001 may call the device binding program stored in the memory 1003, and further perform the following operations:
acquiring second extended information sent by the second device, wherein the second extended information comprises wireless local area network information and is obtained according to the target extended communication protocol;
and establishing communication connection with the binding server according to the wireless local area network information, and executing the step of sending the first extension information, the user identifier and the equipment identifier to the binding server through the communication connection.
Further, the processor 1001 may call the device binding program stored in the memory 1003, and further perform the following operations:
when the first device detects triggering binding, acquiring the user identifier, the first extension information and a preset Bluetooth device set sent by the binding server;
determining target Bluetooth equipment corresponding to the Bluetooth broadcast according to the received Bluetooth broadcast;
inquiring the second equipment matched with the target Bluetooth equipment in the preset Bluetooth equipment set;
and acquiring the device identifier sent by the second device, and taking the device identifier sent by the second device as the target identifier of the target device.
Further, the processor 1001 may call the device binding program stored in the memory 1003, and further perform the following operations:
acquiring an updated extended communication protocol sent by the binding server and a protocol identifier associated with the updated extended communication protocol;
and updating the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
Alternatively, in the apparatus shown in fig. 1, the apparatus is a binding server, where the processor 1001 may be configured to call a device binding program stored in the memory 1003, and perform the following operations:
a binding server receives first extension information, a user identifier and an equipment identifier of a target equipment, wherein the first extension information and the equipment identifier are sent by a first equipment, the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target equipment, the target extension communication protocol is obtained by inquiring in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extension communication protocol is sent by the binding server;
and establishing a binding relationship among the equipment identifier, the user identifier and the first extension information.
Further, the processor 1001 may call the device binding program stored in the memory 1003, and further perform the following operations:
when a modification request for a preset extended communication protocol is received, modifying the corresponding preset extended communication protocol according to the modification request to obtain an updated extended communication protocol;
and sending the updated extended communication protocol and a protocol identifier associated with the updated extended communication protocol to the first device, so that the first device updates the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
Referring to fig. 2, a first embodiment of the present invention provides a device binding method, where the device binding method includes:
step S10, when the first device detects that binding is triggered, obtaining first extension information, a user identifier and a device identifier of a target device, wherein the user identifier and the device identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target device, the target extension communication protocol is obtained by querying in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target device, and the preset extension communication protocol is sent by a binding server;
the first device is a computer device which has a certain communication protocol and can communicate with other devices and perform device binding, for example, the first device may be a terminal device, the terminal device may be a mobile phone, a PC, a smart television and other devices, an application program is installed on the terminal device, and communication interaction with other devices can be performed through the application program, or the first device may also be a smart home device, a wearable device and other devices, the smart home device and the wearable device may be a bluetooth device, and when the first device is the terminal device, the smart home device or the wearable device, the device binding process can be performed when the first device detects triggering binding.
The first device detecting the trigger binding may be as follows:
the first device is a terminal device, and since terminal devices such as a mobile phone and a smart television often have an application program and a screen, the first device can directly interact with a user through the screen and the application program and detect various interactive operations of the user, so that the terminal device can directly detect a binding operation triggered by the user through a target application program, or the terminal device can trigger device binding by receiving a voice signal of the user;
the first device is computer equipment such as an intelligent home and wearable equipment, and the intelligent home and the wearable equipment are often used as accessories of the terminal equipment, so that the intelligent home and the wearable equipment can trigger a binding process by receiving a binding instruction sent by the terminal equipment, or the intelligent home and the wearable equipment can also directly receive the binding instruction sent by a user, and the binding is triggered and detected when the binding instruction is received.
The first extension information is information obtained according to a target extension communication protocol, the first extension information is used for establishing a binding relationship with an equipment identifier and a user identifier when equipment binding is performed, the first extension information is information such as geographical location information and user attribute information, the user attribute information is information such as age and gender, which information is specifically included in the first extension information, depending on the target extension communication protocol, the first extension information may include different information or no information based on different target extension communication protocols, the target extension communication protocol is an extension communication protocol corresponding to a target equipment, the extension communication protocol is a protocol indicating information required by the target equipment, each target equipment corresponds to an extension communication protocol, for example, if a certain target equipment needs to obtain geographical location information for binding, the corresponding extension communication protocol includes an indication that geographical location information needs to be obtained, it should be noted that the extended communication protocol is only used to indicate information that the target device needs to obtain, but does not directly include specific information that the target device needs to obtain, for example, the target extended communication protocol indicates that the target device needs to obtain geographic location information, but does not directly include geographic location information of the target device, the target extended communication protocol is embodied in some form of computer code, the target device is a device that needs to be bound, the target device is, for example, various wearable devices and smart home devices, when binding, a device identifier of the target device needs to be obtained based on a basic communication protocol, if the first device is the target device, the first device directly obtains a locally stored device identifier, if the second device is the target device, the first device needs the basic communication protocol to communicate with the second device, and obtains a device identifier sent by the second device, the device identifier is used to identify a target device, the device identifier is, for example, a physical address (MAC) or a unique identification code of the target device, the user identifier is generally stored in a target application program of the terminal device, based on different scenarios, the terminal device may be a first device or a second device, the second device is a device other than the first device, when a target extended communication protocol is obtained, specifically, a preset extended communication protocol corresponding to the target device is queried in a plurality of preset extended communication protocols to obtain the target extended communication protocol, the preset extended communication protocol is sent by the binding server, the basic communication protocol is locally stored in the target device, wherein, when the triggered binding is detected, a protocol obtaining request is sent to the binding server, the binding server receives the preset extended communication protocol sent by the protocol obtaining request, or, a preset extension communication protocol pushed by the binding server may be acquired, or a latest preset extension communication protocol may be acquired from the binding server at regular time.
Step S20, sending the first extension information, the user identifier, and the device identifier to the binding server, so that the binding server establishes a binding relationship among the device identifier, the user identifier, and the first extension information.
The binding server is used for binding the device identifier, the user identifier and the first extension information, and after the first extension information, the user identifier and the device identifier are obtained, the first extension information, the user identifier and the device identifier are sent to the binding server, so that the binding server establishes a binding relationship among the first extension information, the user identifier and the device identifier, the first extension information can include various information for binding, or if the target extension communication protocol indicates that the target device does not need to obtain any information when binding, the first extension information is null, and at this time, the binding is actually equivalent to only establishing the binding relationship between the user identifier and the device identifier.
In this embodiment, when the first device detects the triggered binding, obtain first extension information, a user identifier, and a device identifier of the target device, and send the first extension information, the user identifier, and the device identifier to the binding server, so that the binding server establishes a binding relationship between the device identifier, the user identifier, and the first extension information, where the user identifier and the device identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target device, the target extension communication protocol is obtained by querying in a plurality of preset extension communication protocols, the basic protocol is locally stored in the target device, and the preset extension communication protocol is sent by the binding server, so that no matter which protocol is needed when the target device is bound, the target extension communication protocol corresponding to the target device can be obtained by querying in the plurality of preset extension communication protocols, and the basic protocol corresponding to the target equipment can be obtained, so that the target extended communication protocol corresponding to the target equipment is inquired and obtained based on the difference of the protocols required by the target equipment, and the first extended information is obtained based on the target extended communication protocol, so that when equipment is bound, the equipment can be bound by combining the first extended information, the equipment identifier and the user identifier, and the binding relationship among the first extended information, the equipment identifier and the user identifier is established, so that the binding requirements of different equipment can be met, the purpose of binding more information by the equipment can be realized, and the problem that the adopted protocol is single when equipment is bound is avoided.
Referring to fig. 3, a second embodiment of the present invention provides a device binding method, based on the first embodiment shown in fig. 2, where the step S10 includes:
step S11, when the first device detects a trigger binding, acquiring the user identifier locally stored in the first device, the first extension information locally stored in the first device, and the device identifier sent by a second device, where the second device is the target device;
based on different scenes, when the first device detects that the binding is triggered, the user identifier, the first extension information and the device identifier are obtained in different manners, wherein the first device is a terminal device, the second device is a device to be bound, for example, when the second device is an intelligent home device or a wearable device, the first device obtains the locally stored user identifier, the locally stored first extension information and the device identifier sent by the second device, wherein the user identifier can be locally stored in a target application program of the terminal device, the user identifier is, for example, account information of a user, the first extension information is, for example, geographical location information and user attribute information, and the user attribute information is different from the user identifier; in this case, the second device is a target device, the target device is the device to be bound, and the target device provides its device identifier.
Or, in step S12, when the first device detects a trigger binding, the first device obtains the user identifier sent by the second device, the first extension information sent by the second device, and the device identifier locally stored by the first device, where the first device is the target device.
Or the first device is a device that needs to be bound, such as a smart home device and a wearable device, and the second device is a terminal device, in this case, when the first device detects that the binding is triggered, the user identifier sent by the second device and the first extension information sent by the second device are obtained, and the first device is a target device.
When the first device is bound, because the smart home device and the wearable device do not usually have a mode of directly enabling a user to input networking information, the first device also acquires second extension information sent by the second device in order to realize communication with the binding server, wherein the second extension information comprises wireless local area network information, the wireless local area network information is used for enabling the first device to establish communication connection with the binding server, the first device acquires the second extension information sent by the second device, and the second extension information is obtained according to a target extension communication protocol; and establishing communication connection with the binding server according to the wireless local area network information, and sending the first extension information, the user identifier and the equipment identifier to the binding server through the communication connection.
The second extension information is different from the first extension information, the second extension information is not directly used for binding with the device identifier and the user identifier, the second extension information can be used for enabling the first device to be networked, in addition, the second extension information can also be used for enabling the first device to change the communication state of the first device, the communication state includes the size of a transmission packet when the first device transmits based on a specific communication protocol and the broadcast name adopted when the first device transmits, for example, the target extension communication protocol is an extension communication protocol realized based on a Bluetooth protocol, the second extension information includes the Bluetooth broadcast name and the Bluetooth transmission packet size, and after the first device receives the Bluetooth broadcast name and the Bluetooth transmission packet size, the Bluetooth broadcast signal is transmitted according to the Bluetooth broadcast name and the Bluetooth transmission packet size.
In addition, under the condition that the first device is an intelligent home device and a wearable device and the second device is a terminal device, the first device can also determine whether trigger binding is detected or not according to a binding initiator when receiving binding initiator information sent by the second device, wherein the second device determines the binding initiator according to a target extension communication protocol, sends the binding initiator information to the first device when the binding initiator is the first device, and directly modifies the binding initiator information in the target extension communication protocol when the subsequent binding initiator needs to be modified, so that the binding initiator can be flexibly modified, and binding is initiated by the first device or the second device under different conditions.
In this embodiment, when the first device detects the trigger binding, the user identifier locally stored in the first device, the first extension information locally stored in the first device, and the device identifier sent by the second device are obtained, where the second device is a target device, or when the first device detects the trigger binding, the user identifier sent by the second device, the first extension information sent by the second device, and the device identifier locally stored in the first device are obtained, where the first device is a target device, so that when the target devices to be bound are the first device and the second device, the information required for binding is obtained respectively, and the binding under multiple scenarios is achieved.
Referring to fig. 4, a third embodiment of the present invention provides a device binding method, based on the first embodiment shown in fig. 2, where the step S10 includes:
step S13, when the first device detects triggering binding, the user identification, the first extension information and a preset Bluetooth device set sent by the binding server are obtained;
in this embodiment, the first device is a terminal device, the second device is a bluetooth device, the bluetooth device includes, for example, various smart home devices and wearable devices that are implemented using a bluetooth communication protocol, information required when bluetooth devices of different types are bound may be different, and in order to avoid that an application program in the terminal device can only support one bluetooth protocol, in this embodiment, the first device includes a plurality of preset extension communication protocols, and can query, in the plurality of preset extension communication protocols, a target device, that is, the second device, a corresponding target extension communication protocol, so that bluetooth devices of different types can be bound. The preset bluetooth device set is a preset set of bluetooth devices capable of being bound, and the preset bluetooth device set includes device identification information associated with each preset bluetooth device, such as a device name. The target extended communication protocol and the base communication protocol may further be associated with a protocol version, so as to facilitate version management, for example, to modify the protocol version of the base communication protocol and the target extended communication protocol corresponding to the target device.
Step S14, according to the received Bluetooth broadcast, determining a target Bluetooth device corresponding to the Bluetooth broadcast;
the first device searches nearby Bluetooth devices, receives Bluetooth broadcasts sent by the nearby Bluetooth devices, and determines target Bluetooth devices corresponding to the Bluetooth broadcasts, wherein the target Bluetooth devices are the nearby Bluetooth devices determined according to the Bluetooth broadcasts.
Step S15, querying the second device matching the target bluetooth device in the preset bluetooth device set;
since not all bluetooth devices correspond to the target extended communication protocol, after the target bluetooth device is determined, after the preset bluetooth device set, the preset bluetooth device matched with the target bluetooth device is inquired as the second device in the preset bluetooth device set, and the matched second device can be determined according to the name of each bluetooth device in the preset bluetooth device set and the name of the target bluetooth device.
Step S16, acquiring the device identifier sent by the second device, and taking the device identifier sent by the second device as the target identifier of the target device.
After the second device is determined, a request for obtaining the device identifier may be sent to the second device, the device identifier returned by the second device according to the request may be received, and the device identifier returned by the second device may be used as the device identifier of the target device.
When the first device performs binding, the first device may call a binding interface of the binding server to send the first extension information, the device identifier, and the user identifier.
Referring to fig. 10, fig. 10 is a schematic diagram showing interaction among bluetooth devices, terminal devices and a cloud server when device binding is performed, where a first device is exemplified by the terminal device, a second device is exemplified by the bluetooth device, the binding server is exemplified by the cloud server, when the terminal device detects that a user has logged in and triggers a binding operation, a request is sent, a preset bluetooth device set, a protocol version and a preset extended communication protocol are obtained from the cloud server, the preset bluetooth device set includes a device name, nearby bluetooth devices are searched according to the preset bluetooth device set, a communication connection is established with a target bluetooth device by receiving a bluetooth broadcast sent by the nearby bluetooth devices, a device identifier sent by the target bluetooth device is obtained through the communication connection, and after the terminal device receives the preset extended communication protocol, the method comprises the steps of inquiring a target extended communication protocol corresponding to a target Bluetooth device in a plurality of preset extended communication protocols, obtaining first extended information according to the target extended communication protocol to obtain a locally stored user identification, sending the device identification, the user identification and the first extended information to a cloud server, enabling the cloud server to establish a binding relation among the user identification, the device identification and the first extended information, returning information of successful binding to a terminal device after the cloud server is successfully bound, enabling the terminal device to finish a binding process, and if the cloud server is failed to bind, returning information of failed binding, and enabling the terminal device to bind again.
In addition, the first device may also determine a binding initiator based on the target extension communication protocol, and when the binding initiator is a terminal device, the terminal device obtains a device identifier of the bluetooth device, acquiring first extension information according to a target extension communication protocol, acquiring a locally stored user identifier, sending the equipment identifier, the user identifier and the first extension information to a cloud server, the cloud server establishes a binding relationship between the user identifier, the device identifier and the first extension information, or, when detecting that the binding initiator is a Bluetooth device according to the target extension communication protocol, the terminal device sends first extension information and a user identifier to the target Bluetooth device, the target Bluetooth device sends the device identification, the user identification and the first extension information to the cloud server, and the cloud server establishes the binding relationship among the device identification, the user identification and the first extension information.
In this embodiment, when the first device detects that the binding is triggered, the user identifier, the first extension information, and the preset bluetooth device set sent by the binding server are obtained, the target bluetooth device corresponding to the bluetooth broadcast is determined according to the received bluetooth broadcast, in the preset bluetooth device set, the second device matched with the target bluetooth device is queried, the device identifier sent by the second device is obtained, and the device identifier sent by the second device is used as the target identifier of the target device, so that the binding of the specific bluetooth device is realized.
Referring to fig. 5, a fourth embodiment of the present invention provides a device binding method, based on the first embodiment shown in fig. 2, the device binding method further includes:
step S30, acquiring the updated extension communication protocol sent by the binding server and the protocol identifier associated with the updated extension communication protocol;
the updating extended communication protocol is information used for updating a preset extended communication protocol, the first device is a terminal device, the preset extended communication protocol is stored in the terminal device, the updating extended communication protocol can be pushed when the binding server detects that the extended communication protocol is updated, for example, information required to be bound by a certain Bluetooth device is changed, at the moment, research and development personnel can modify an extended package communication protocol corresponding to the Bluetooth device and obtain the updating extended communication protocol at the binding server, and therefore the binding server detects the updating extended communication protocol and sends the updating extended communication protocol to the terminal device.
Step S40, updating the preset extension communication protocol corresponding to the protocol identifier according to the update extension communication protocol and the protocol identifier.
After the updated extended communication protocol and the protocol identifier are obtained, the preset extended communication protocol corresponding to the protocol identifier is determined through the protocol identifier, and the preset extended communication protocol is replaced through the updated extended communication protocol, so that the preset extended communication protocol is updated.
In this embodiment, the update extension communication protocol and the protocol identifier associated with the update extension communication protocol, which are sent by the binding server, are obtained, and the corresponding preset extension communication protocol is updated according to the update extension communication protocol and the protocol identifier, so that the preset extension communication protocol can be conveniently updated, when the binding requirement of the bound device changes, the preset extension communication protocol can be updated in time, and the binding requirement of other types of devices cannot be interfered.
Referring to fig. 6, a fifth embodiment of the present invention provides a device binding method, where the device binding method includes:
step S50, a binding server receives first extension information, a user identifier and an equipment identifier of a target equipment, wherein the first extension information is sent by a first equipment, the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target equipment, the target extension communication protocol is obtained by inquiring among a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extension communication protocol is sent by the binding server;
the binding server is a server for establishing a binding relationship, and can modify, add and delete the preset extended communication protocol, and in addition, the binding server can also be used for modifying the broadcast name corresponding to the target device and modifying the version of the preset extended communication protocol supported by the target device, so as to realize version management.
The first device is a computer device which has a certain communication protocol and can communicate with other devices and perform device binding, for example, the first device may be a terminal device, the terminal device may be a device such as a mobile phone, a PC, and a smart television, an application program is installed on the terminal device, and communication interaction with other devices can be performed through the application program, or the first device may also be a device such as a smart home device and a wearable device, and the first device, no matter whether the first device is the terminal device, the smart home device, or the wearable device, can detect triggering and bind and perform a device binding process.
The first device detecting the trigger binding may be as follows:
the first device is a terminal device, and since terminal devices such as a mobile phone and a smart television often have an application program and a screen, the first device can directly interact with a user through the screen and the application program and detect various interactive operations of the user, so that the terminal device can directly detect a binding operation triggered by the user through a target application program, or the terminal device can trigger device binding by receiving a voice signal of the user;
the first device is computer equipment such as an intelligent home and wearable equipment, and the intelligent home and the wearable equipment are often used as accessories of the terminal equipment, so that the intelligent home and the wearable equipment can trigger a binding process by receiving a binding instruction sent by the terminal equipment, or the intelligent home and the wearable equipment can also directly receive the binding instruction sent by a user, and the binding is triggered and detected when the binding instruction is received.
The first extension information is information obtained according to a target extension communication protocol, the first extension information is used for establishing a binding relationship with an equipment identifier and a user identifier when equipment binding is performed, the first extension information is information such as geographical location information and user attribute information, the user attribute information is information such as age and gender, which information is specifically included in the first extension information, depending on the target extension communication protocol, the first extension information may include different information or no information based on different target extension communication protocols, the target extension communication protocol is an extension communication protocol corresponding to a target equipment, the extension communication protocol is a protocol indicating information required by the target equipment, each target equipment corresponds to an extension communication protocol, for example, if a certain target equipment needs to obtain geographical location information for binding, the corresponding extension communication protocol includes an indication that geographical location information needs to be obtained, it should be noted that the extended communication protocol is only used to indicate information that the target device needs to obtain, but does not directly include specific information that the target device needs to obtain, for example, the target extended communication protocol indicates that the target device needs to obtain geographic location information, but does not directly include geographic location information of the target device, the target extended communication protocol is embodied in some form of computer code, the target device is a device that needs to be bound, the target device is, for example, various wearable devices and smart home devices, when binding, a device identifier of the target device needs to be obtained based on a basic communication protocol, if the first device is the target device, the first device directly obtains a locally stored device identifier, if the second device is the target device, the first device needs the basic communication protocol to communicate with the second device, and obtains a device identifier sent by the second device, the device identifier is used to identify a target device, the device identifier is, for example, a physical address (MAC) or a unique identification code of the target device, the user identifier is generally stored in a target application program of the terminal device, based on different scenarios, the terminal device may be a first device or a second device, the second device is a device other than the first device, when a target extended communication protocol is obtained, specifically, a preset extended communication protocol corresponding to the target device is queried in a plurality of preset extended communication protocols to obtain the target extended communication protocol, the preset extended communication protocol is sent by the binding server, the basic communication protocol is locally stored in the target device, wherein, when the triggered binding is detected, a protocol obtaining request is sent to the binding server, the binding server receives the preset extended communication protocol sent by the protocol obtaining request, or, a preset extension communication protocol pushed by the binding server may be acquired, or a latest preset extension communication protocol may be acquired from the binding server at regular time.
Step S60, establishing a binding relationship between the device identifier, the user identifier, and the first extension information.
After obtaining the binding relationship among the device identifier, the user identifier and the first extension information, the binding server establishes the binding relationship among the device identifier, the user identifier and the first extension information, and can return the binding relationship to the terminal device associated with the user identifier.
In this embodiment, a binding server receives first extension information, a user identifier and an equipment identifier of a target equipment, which are sent by a first equipment, and establishes a binding relationship among the equipment identifier, the user identifier and the first extension information, wherein the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target equipment, the target extension communication protocol is obtained by querying in a plurality of preset extension communication protocols, the basic communication protocol is stored locally in the target equipment, and the preset extension communication protocol is sent by the binding server, so that binding requirements of different equipment can be met, the purpose of binding more information by the equipment can be achieved, and the problem that a protocol that can be adopted when the equipment is bound is relatively single is avoided.
Referring to fig. 7, a sixth embodiment of the present invention provides a device binding method, based on the fifth embodiment shown in fig. 6, the device binding method further includes:
step S70, when a modification request for a preset extended communication protocol is received, modifying the corresponding preset extended communication protocol according to the modification request to obtain an updated extended communication protocol;
since the binding requirement of the device may change, in order to adapt to a new binding requirement in time when the binding requirement changes, the binding server modifies the corresponding preset extension communication protocol according to the modification request to obtain the updated extension communication protocol when receiving the modification request for the preset extension communication protocol. For example, when the information to be bound by a certain bluetooth device changes, research and development personnel may modify the extension packet communication protocol corresponding to the bluetooth device and obtain the updated extension communication protocol at the binding server, so that the binding server detects the updated extension communication protocol and sends the updated extension communication protocol to the terminal device.
Step S80, sending the updated extended communication protocol and the protocol identifier associated with the updated extended communication protocol to the first device, so that the first device updates the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
After the update extended communication protocol is acquired, the update extended communication protocol and a protocol identifier associated with the update extended communication protocol are sent to the first device, and the protocol identifier is used for identifying the preset extended communication protocol to be updated, so that the first device can update the preset extended communication protocol conveniently according to the protocol identifier and the update extended communication protocol.
In this embodiment, when a modification request for a preset extension communication protocol is received, a corresponding preset extension communication protocol is modified according to the modification request to obtain an updated extension communication protocol, and an updated extension communication protocol and a protocol identifier associated with the updated extension communication protocol are sent to a first device, so that the first device updates the preset extension communication protocol corresponding to the protocol identifier according to the updated extension communication protocol, thereby being capable of conveniently updating the preset extension communication protocol, and therefore, when a binding requirement of a bound device changes, the bound device can be updated in time, and the binding requirements of other types of devices are not interfered.
As shown in fig. 8, fig. 8 is a schematic diagram of functional modules of an embodiment of a binding apparatus according to the present invention, where the binding apparatus includes an obtaining module and a sending module, where:
the obtaining module 10 is configured to obtain, when a first device detects that binding is triggered, first extension information, a user identifier, and a device identifier of a target device, where the user identifier and the device identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target device, the target extension communication protocol is obtained by querying in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target device, and the preset extension communication protocol is sent by a binding server;
the sending module 20 is configured to send the first extension information, the user identifier, and the device identifier to the binding server, so that the binding server establishes a binding relationship between the device identifier, the user identifier, and the first extension information.
In an embodiment, the obtaining module 10 is further configured to perform the following steps:
when the first device detects a trigger binding, acquiring the user identifier locally stored by the first device, the first extension information locally stored by the first device, and the device identifier sent by a second device, where the second device is the target device;
or, when the first device detects a trigger binding, the user identifier sent by the second device, the first extension information sent by the second device, and the device identifier locally stored by the first device are obtained, and the first device is the target device.
In an embodiment, the binding apparatus further comprises a communication module, wherein:
the obtaining module 10 is configured to obtain second extension information sent by the second device, where the second extension information includes wireless local area network information, and the second extension information is obtained according to the target extension communication protocol;
the communication module is configured to establish a communication connection with the binding server according to the wlan information, and perform the step of sending the first extension information, the user identifier, and the device identifier to the binding server through the communication connection.
In an embodiment, the obtaining module 10 is further configured to perform the following steps:
when the first device detects triggering binding, acquiring the user identifier, the first extension information and a preset Bluetooth device set sent by the binding server;
determining target Bluetooth equipment corresponding to the Bluetooth broadcast according to the received Bluetooth broadcast;
inquiring the second equipment matched with the target Bluetooth equipment in the preset Bluetooth equipment set;
and acquiring the device identifier sent by the second device, and taking the device identifier sent by the second device as the target identifier of the target device.
In an embodiment, the binding apparatus further comprises an update module, wherein:
the obtaining module 10 is further configured to obtain an update extension communication protocol sent by the binding server and a protocol identifier associated with the update extension communication protocol;
the updating module is further configured to update the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
As shown in fig. 9, fig. 9 is a functional module diagram of another embodiment of the binding apparatus according to the present invention, where the binding apparatus includes a receiving module 30 and a binding module 40, where:
the receiving module 30 is configured to receive, by a binding server, first extended information, a user identifier, and an equipment identifier of a target equipment, where the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extended information is obtained according to a target extended communication protocol corresponding to the target equipment, the target extended communication protocol is obtained by querying among a plurality of preset extended communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extended communication protocol is sent by the binding server;
the binding module 40 is configured to establish a binding relationship between the device identifier, the user identifier, and the first extension information.
In an embodiment, the binding apparatus further includes a modification module and a sending module, wherein:
the modification module is used for modifying the corresponding preset extended communication protocol according to a modification request to obtain an updated extended communication protocol when the modification request to the preset extended communication protocol is received;
the sending module is configured to send the updated extended communication protocol and the protocol identifier associated with the updated extended communication protocol to the first device, so that the first device updates the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. 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 (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a binding apparatus to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A device binding method, characterized in that the device binding method comprises:
when the first device detects that binding is triggered, acquiring first extension information, a user identifier and a device identifier of a target device, wherein the user identifier and the device identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target device, the target extension communication protocol is obtained by inquiring in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target device, and the preset extension communication protocol is sent by a binding server;
and sending the first extension information, the user identifier and the equipment identifier to the binding server so that the binding server establishes a binding relationship among the equipment identifier, the user identifier and the first extension information.
2. The device binding method according to claim 1, wherein the step of acquiring the first extension information, the user identifier and the device identifier of the target device when the first device detects the trigger binding comprises:
when the first device detects a trigger binding, acquiring the user identifier locally stored by the first device, the first extension information locally stored by the first device, and the device identifier sent by a second device, where the second device is the target device;
or, when the first device detects a trigger binding, the user identifier sent by the second device, the first extension information sent by the second device, and the device identifier locally stored by the first device are obtained, and the first device is the target device.
3. The device binding method according to claim 2, wherein after the step of acquiring the user identifier sent by the second device, the first extension information sent by the second device, and the device identifier stored locally by the first device when the first device detects a trigger binding, the method further comprises:
acquiring second extended information sent by the second device, wherein the second extended information comprises wireless local area network information and is obtained according to the target extended communication protocol;
and establishing communication connection with the binding server according to the wireless local area network information, and executing the step of sending the first extension information, the user identifier and the equipment identifier to the binding server through the communication connection.
4. The device binding method according to claim 1, wherein the step of acquiring the first extension information, the user identifier and the device identifier of the target device when the first device detects the trigger binding comprises:
when the first device detects triggering binding, acquiring the user identifier, the first extension information and a preset Bluetooth device set sent by the binding server;
determining target Bluetooth equipment corresponding to the Bluetooth broadcast according to the received Bluetooth broadcast;
inquiring the second equipment matched with the target Bluetooth equipment in the preset Bluetooth equipment set;
and acquiring the device identifier sent by the second device, and taking the device identifier sent by the second device as the target identifier of the target device.
5. The device binding method of claim 1, wherein the device binding method further comprises:
acquiring an updated extended communication protocol sent by the binding server and a protocol identifier associated with the updated extended communication protocol;
and updating the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
6. A device binding method, characterized in that the device binding method comprises:
a binding server receives first extension information, a user identifier and an equipment identifier of a target equipment, wherein the first extension information and the equipment identifier are sent by a first equipment, the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target equipment, the target extension communication protocol is obtained by inquiring in a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extension communication protocol is sent by the binding server;
and establishing a binding relationship among the equipment identifier, the user identifier and the first extension information.
7. The device binding method of claim 6, wherein the device binding method further comprises:
when a modification request for a preset extended communication protocol is received, modifying the corresponding preset extended communication protocol according to the modification request to obtain an updated extended communication protocol;
and sending the updated extended communication protocol and a protocol identifier associated with the updated extended communication protocol to the first device, so that the first device updates the preset extended communication protocol corresponding to the protocol identifier according to the updated extended communication protocol and the protocol identifier.
8. A binding apparatus, comprising an obtaining module and a sending module, wherein:
the acquisition module is used for acquiring first extension information, a user identifier and an equipment identifier of target equipment when the first equipment detects that binding is triggered, wherein the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extension information is obtained according to a target extension communication protocol corresponding to the target equipment, the target extension communication protocol is obtained by inquiring among a plurality of preset extension communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extension communication protocol is sent by a binding server;
the sending module is configured to send the first extension information, the user identifier, and the device identifier to the binding server, so that the binding server establishes a binding relationship between the device identifier, the user identifier, and the first extension information;
or, the binding apparatus includes a receiving module and a binding module, wherein:
the receiving module is used for receiving first extended information, a user identifier and an equipment identifier of a target equipment, wherein the first extended information, the user identifier and the equipment identifier are sent by a first equipment through a binding server, the user identifier and the equipment identifier are obtained according to a basic communication protocol, the first extended information is obtained according to a target extended communication protocol corresponding to the target equipment, the target extended communication protocol is obtained through inquiry in a plurality of preset extended communication protocols, the basic communication protocol is locally stored in the target equipment, and the preset extended communication protocol is sent by the binding server;
the binding module is configured to establish a binding relationship between the device identifier, the user identifier, and the first extension information.
9. A binding apparatus comprising a memory, a processor, and a device binding program stored on the memory and executable on the processor, wherein:
the device binding program when executed by the processor implementing the steps of the device binding method of any one of claims 1 to 5;
alternatively, the device binding program when executed by the processor implements the steps of the device binding method of claim 6 or 7.
10. A computer-readable storage medium, having stored thereon a device binding program which, when executed by a processor, implements the steps of the device binding method of any one of claims 1 to 7.
CN202110834897.8A 2021-07-22 2021-07-22 Device binding method, device and computer readable storage medium Active CN113596795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110834897.8A CN113596795B (en) 2021-07-22 2021-07-22 Device binding method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110834897.8A CN113596795B (en) 2021-07-22 2021-07-22 Device binding method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113596795A true CN113596795A (en) 2021-11-02
CN113596795B CN113596795B (en) 2023-08-15

Family

ID=78249609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110834897.8A Active CN113596795B (en) 2021-07-22 2021-07-22 Device binding method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113596795B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157510A (en) * 2021-12-14 2022-03-08 中国联合网络通信集团有限公司 Internet of things service processing method, platform and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218779A (en) * 2005-07-14 2008-07-09 微软公司 User mapping information extension for protocols
CN101369939A (en) * 2007-08-17 2009-02-18 华为技术有限公司 Access network type information transfer method, system and correlated equipment
US20100177787A1 (en) * 2009-01-12 2010-07-15 Trane International Inc. System and Method for Extending Communication Protocols
US20140287687A1 (en) * 2013-03-20 2014-09-25 Elbrys Networks, Inc. Method and system for managing bluetooth bonding for pre-pairing and impersonation
EP3057284A1 (en) * 2015-02-13 2016-08-17 Xiaomi Inc. Method and apparatus for binding or securing a device
CN106465116A (en) * 2014-01-14 2017-02-22 瑞典爱立信有限公司 Access control for a wireless network
WO2019144742A1 (en) * 2018-01-23 2019-08-01 阿里巴巴集团控股有限公司 Binding method for user terminal and device, apparatus, and system
CN112415901A (en) * 2019-08-20 2021-02-26 云丁网络技术(北京)有限公司 Method and device for managing intelligent equipment, computer readable medium and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218779A (en) * 2005-07-14 2008-07-09 微软公司 User mapping information extension for protocols
CN101369939A (en) * 2007-08-17 2009-02-18 华为技术有限公司 Access network type information transfer method, system and correlated equipment
US20100177787A1 (en) * 2009-01-12 2010-07-15 Trane International Inc. System and Method for Extending Communication Protocols
US20140287687A1 (en) * 2013-03-20 2014-09-25 Elbrys Networks, Inc. Method and system for managing bluetooth bonding for pre-pairing and impersonation
CN106465116A (en) * 2014-01-14 2017-02-22 瑞典爱立信有限公司 Access control for a wireless network
EP3057284A1 (en) * 2015-02-13 2016-08-17 Xiaomi Inc. Method and apparatus for binding or securing a device
WO2019144742A1 (en) * 2018-01-23 2019-08-01 阿里巴巴集团控股有限公司 Binding method for user terminal and device, apparatus, and system
CN112415901A (en) * 2019-08-20 2021-02-26 云丁网络技术(北京)有限公司 Method and device for managing intelligent equipment, computer readable medium and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157510A (en) * 2021-12-14 2022-03-08 中国联合网络通信集团有限公司 Internet of things service processing method, platform and storage medium

Also Published As

Publication number Publication date
CN113596795B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN108074177B (en) Data reconciliation method, system and computer-readable storage medium
JP5296221B2 (en) Method for installing application in NFC-compatible device, NFC-compatible device, server node, computer-readable medium, and computer program
CN104580085B (en) service data updating method, system, client and server
CN109154890B (en) Software updating device and software updating system
CN107592367B (en) Resource sharing method and device for household appliances and computer readable storage medium
EP2672391A1 (en) Osgi program and osgi system
KR101885133B1 (en) Apparatus and method for providing application auto install function in digital device
US9696977B2 (en) Method and system for allocating ID of software component
CN109768980B (en) Server access method, device, mobile terminal and computer readable storage medium
CN112448873A (en) Equipment binding method and device and computer readable storage medium
CN110719187B (en) Configuration management method, system and computer readable storage medium
CN103312489A (en) Method and device for synchronizing terminal and server
CN108183960B (en) CDN-based file updating method, server, storage medium and device
CN111147314A (en) Switch upgrading method, device and storage medium
US20170085673A1 (en) Attribute Operating Method and Apparatus
EP2544474A1 (en) Method and device for processing service command information
CN113596795B (en) Device binding method, device and computer readable storage medium
CN111435947A (en) Electronic message control
CN110139326B (en) Method, device and terminal equipment for automatically switching network modes in private network system
CN105530323A (en) File upgrading method, related equipment and system
CN103414689A (en) Connection method and connection device of digital living network alliance (DLNA) equipment
CN109600738B (en) User information updating method, device, equipment and storage medium
CN108156246B (en) File distribution method, system, server and client
CN102685220A (en) Method and system for data interaction based on WEB page
CN112333054B (en) Device communication method, device and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant