CN110601934A - Method and device for establishing binding relationship between binding switch equipment and switch equipment - Google Patents

Method and device for establishing binding relationship between binding switch equipment and switch equipment Download PDF

Info

Publication number
CN110601934A
CN110601934A CN201910881708.5A CN201910881708A CN110601934A CN 110601934 A CN110601934 A CN 110601934A CN 201910881708 A CN201910881708 A CN 201910881708A CN 110601934 A CN110601934 A CN 110601934A
Authority
CN
China
Prior art keywords
binding
equipment
switch
gateway
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910881708.5A
Other languages
Chinese (zh)
Inventor
任思阳
巩元鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Smart Home System Ltd By Share Ltd
Original Assignee
Qingdao Hisense Smart Home System Ltd By Share 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 Qingdao Hisense Smart Home System Ltd By Share Ltd filed Critical Qingdao Hisense Smart Home System Ltd By Share Ltd
Priority to CN201910881708.5A priority Critical patent/CN110601934A/en
Publication of CN110601934A publication Critical patent/CN110601934A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method and a device for establishing a binding relationship between a binding switch device and a switch device. The terminal equipment sends the binding instruction containing the equipment information of the binding switch and the equipment information of the first switch equipment to the gateway, so that the gateway broadcasts the binding instruction to the binding switch equipment to establish the binding relation with the first switch equipment according to the binding instruction, a user does not need to establish the binding relation between the binding switch and the switch one by one, the user only needs to select the switch equipment needing to be bound, the binding efficiency is improved, the binding failure rate is reduced, and the user experience is improved.

Description

Method and device for establishing binding relationship between binding switch equipment and switch equipment
Technical Field
The invention relates to the field of smart home, in particular to a method and a device for establishing a binding relationship between binding switch equipment and switch equipment.
Background
The intelligent home is a hot spot industry which develops rapidly in recent years, various home devices are in a large number, particularly, in the aspect of ZigBee wireless communication, related products are various, a binding switch is one of the products, a Hai Xin intelligent home binding switch product is a series of products designed based on the Zigbee technology, the functions of double control or multi-control on the same device are mainly realized, other devices such as a switch, a curtain controller and the like can be controlled remotely and wirelessly, wiring is simple, installation is flexible, a user can control the intelligent home binding switch through a mobile intelligent terminal, the intelligent home binding switch can be used in the fields of intelligent home, intelligent medical treatment, intelligent hotels and the like, and the use scene is wide. The binding switch on the market at present has the following problems in use:
1. the operation is complicated. The slave device controls the binding switch to enter a binding state, the control device enters a bound state, the binding relation can be established only after the device terminal is in communication binding, and user operation is complex.
2. The failure rate is high. When the multi-way switch needs to be bound in multiple ways, equipment end operation needs to be carried out on each way in a grading mode, if the equipment is operated at the same time, the binding relationship established by the equipment is different from the expected binding relationship, and the binding failure rate is high.
3. Much time consuming. And similarly, the multi-way switch is bound in multiple ways, if the multi-way switch is bound in a single-way operation mode, the process is complex, the next binding can be carried out only after the binding is finished, a large amount of time is consumed for a user, and the user experience is poor.
In view of the above-mentioned drawbacks of the current market for binding the switch device, a method for establishing a binding relationship between the binding switch and the switch is needed to avoid the problems of complicated operation for the user, high failure rate and large amount of time consumption.
Disclosure of Invention
The embodiment of the invention provides a method and a device for establishing a binding relationship between binding switch equipment and switch equipment, which are used for solving the problems of high failure rate and large amount of time consumption.
In a first aspect, an embodiment of the present invention provides a method for establishing a binding relationship between a binding switch device and a switch device, including:
the method comprises the steps that terminal equipment acquires equipment information of first switch equipment, wherein the equipment information of the first switch equipment is determined after a user selects the switch equipment which establishes a binding relationship with the binding switch equipment;
the terminal equipment generates a binding instruction according to the equipment information of the first switch equipment and the equipment information of the binding switch equipment;
and the terminal equipment sends the binding instruction to a gateway so that the gateway broadcasts the binding instruction to the binding switch equipment and establishes a binding relationship with the first switch equipment according to the binding instruction.
In the technical scheme, the terminal device sends the binding instruction comprising the device information of the binding switch and the device information of the first switch device to the gateway, so that the gateway broadcasts the binding instruction to the binding switch device to establish the binding relationship with the first switch device according to the binding instruction, a user does not need to bind the switch and the switch one by one, only the switch device needing to be bound needs to be selected, the binding efficiency is improved, the binding failure rate is reduced, and the user experience is improved.
Optionally, the method further includes:
the terminal equipment acquires equipment information of second switch equipment, wherein the equipment information of the second switch equipment is determined after the user selects the switch equipment which is unbound from the bound switch equipment;
the terminal equipment generates a unbinding instruction according to the equipment information of the second switch equipment and the equipment information of the binding switch equipment;
and the terminal equipment sends the unbinding instruction to the gateway so that the gateway broadcasts the unbinding instruction to the bound switch equipment to unbind the second switch equipment according to the binding instruction.
Optionally, after sending the binding instruction or the unbinding instruction to the gateway, the terminal device further includes:
the terminal equipment acquires the binding response information sent by the gateway; the response information comprises a binding result state; the response information is sent to the gateway after the binding switch device establishes the binding relationship or releases the binding relationship;
and the terminal equipment displays the binding result state.
Optionally, the terminal device communicates with the gateway through a cloud.
Optionally, the method further includes:
the terminal equipment acquires error information which is sent by the gateway after determining that the binding switch equipment fails to establish or remove the binding relation;
and the terminal equipment determines binding switch equipment for establishing or releasing the binding relation according to the error information.
In a second aspect, an embodiment of the present invention provides an apparatus for binding a switch device and establishing a binding relationship between the switch device, including:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring the device information of first switch device, and the device information of the first switch device is determined after a user selects the switch device which establishes a binding relationship with the binding switch device;
the processing unit is used for generating a binding instruction according to the equipment information of the first switch equipment and the equipment information of the binding switch equipment;
and the sending unit is used for sending the binding instruction to a gateway so that the gateway broadcasts the binding instruction to the binding switch equipment and establishes a binding relationship with the first switch equipment according to the binding instruction.
Optionally, the processing unit is further configured to:
controlling the acquisition unit to acquire equipment information of a second switch equipment, wherein the equipment information of the second switch equipment is determined after the user selects the switch equipment which is in the binding relation with the binding switch equipment;
generating a unbinding instruction according to the equipment information of the second switch equipment and the equipment information of the bound switch equipment;
and controlling the sending unit to send the unbinding instruction to the gateway so that the gateway broadcasts the unbinding instruction to the bound switch device to release the binding relation with the second switch device according to the binding instruction.
Optionally, the processing unit is further configured to:
after the binding instruction or the unbinding instruction is sent to the gateway, controlling the obtaining unit to obtain the binding response information sent by the gateway; the response information comprises a binding result state; the response information is sent to the gateway after the binding switch device establishes the binding relationship or releases the binding relationship;
and displaying the binding result state.
Optionally, the terminal device communicates with the gateway through a cloud.
Optionally, the processing unit is further configured to:
controlling the acquisition unit to acquire error information, wherein the error information is sent by the gateway after determining that the binding of the binding switch device is failed to establish or remove the binding relationship;
and determining the binding switch equipment for establishing or releasing the binding relationship according to the error information.
In a third aspect, an embodiment of the present invention provides a computer device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of the first aspect according to the obtained program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer-readable instructions are read and executed by a computer, the computer is caused to execute the method according to the first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for binding a switch device and establishing a binding relationship between the switch devices according to an embodiment of the present invention;
fig. 3 is a schematic interface diagram of a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a gateway according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for binding a switch device and establishing a binding relationship between the switch devices according to an embodiment of the present invention.
Detailed Description
In order to better understand the technical solutions, the technical solutions will be described in detail below with reference to the drawings and the specific embodiments of the specification, and it should be understood that the embodiments and specific features of the embodiments of the present invention are detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features of the embodiments and examples of the present invention may be combined with each other without conflict.
Fig. 1 exemplarily shows a system architecture to which an embodiment of the present invention is applicable, and the system architecture may include a terminal device 100, a gateway 200, a cloud 300, a binding switch device 400, and a switch device 500.
The terminal device 100 is used for device control and device status display, such as a mobile phone, a tablet, a television, a central control screen, a magic mirror, and other terminals.
The gateway 200 may be ZigBee for establishing a ZigBee network for each switching device or 500 binding switching device 400 to access.
The cloud 300 may be a cloud server, configured to communicate with the terminal device 100 and the gateway 200, and store data sent by the terminal device 100 or the gateway 200.
The binding switching device 400 may communicate with the gateway 200 and establish a binding relationship with its corresponding switching device 500.
The switching device 500 can communicate with the gateway 200 and establish a binding relationship with its corresponding binding switching device 400.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
To better explain the above embodiments, fig. 2 exemplarily shows a flow of a method for binding a switch device and a switch device, which may be performed by an apparatus for binding a switch device and a switch device to each other. The apparatus may be located in the terminal device 100 shown in fig. 1, or may be the terminal device 100.
As shown in fig. 2, the process specifically includes:
in step 201, the terminal device obtains device information of the first switch device.
The device information of the first switching device is determined after the user selects the switching device that establishes the binding relationship with the binding switching device. The terminal equipment is provided with the APP, and the binding/unbinding of the equipment can be realized through the interface of the APP. The user can enter the binding/unbinding switch device operation main interface to see the switch device capable of being bound/unbound, the user can select the switch device to be bound/unbound, as shown in fig. 3, the whole process is operated from the APP end, and the binding/unbinding function can be realized by clicking a plurality of buttons of 'binding switch', 'editing', 'storing' and 'unbinding', and the method is simpler and more convenient than the method for binding/unbinding at the operation device end, strong in operability and high in efficiency.
Step 202, the terminal device generates a binding instruction according to the device information of the first switch device and the device information of the binding switch device.
After the device information of the first switch device is obtained, a binding instruction may be generated according to the device information of the first switch device and the device information of the binding switch device, where the binding instruction includes the device information of the first switch device and the device information of the binding switch device. For example, information such as the binding flag bit bindmode, the switch clusterID, the binding switchgear mac address, the binding switchgear endpoint, the switchgear mac, and the switchgear endpoint may be included.
Specifically, for example, 1, 2, and 3 paths of the binding switch device 00124B0019E6AFC2 are respectively bound with 1, 2, and 3 paths of the switch device 00124B001AAFE 43C:
zdo devbind 1 0x0006{00124B0019E6AFC2}1{00124B001AAFE43C}1;
zdo devbind 1 0x0006{00124B0019E6AFC2}2{00124B001AAFE43C}2;
zdo devbind 1 0x0006{00124B0019E6AFC2}3{00124B001AAFE43C}3。
and binding 1 path, 2 path and 3 path of the switch device 00124B0019E6AFC2 to respectively perform unbinding with 1 path, 2 path and 3 path of the switch device 00124B001AAFE 43C:
zdo devbind 2 0x0006{00124B0019E6AFC2}1{00124B001AAFE43C}1;
zdo devbind 2 0x0006{00124B0019E6AFC2}2{00124B001AAFE43C}2;
zdo devbind 2 0x0006{00124B0019E6AFC2}3{00124B001AAFE43C}3。
step 203, the terminal device sends the binding instruction to a gateway, so that the gateway broadcasts the binding instruction to the binding switch device, and a binding relationship is established between the binding switch device and the first switch device according to the binding instruction.
The terminal device may further obtain device information of a second switch device, where the device information of the second switch device is determined after the user selects the switch device that is unbound from the bound switch device, and then the unbinding instruction is generated according to the device information of the second switch device and the device information of the bound switch device. And finally, sending the unbinding instruction to the gateway so that the gateway broadcasts the unbinding instruction to the binding switch device to unbind the binding relation between the binding switch device and the second switch device according to the binding instruction. This flow is a flow of binding the switching device to the second switching device to release the binding relationship, which is similar to establishing the binding relationship.
According to the binding instruction or the unbinding instruction, the terminal device is sent to the gateway through the cloud end, and data returned by the gateway is also sent to the terminal device through the cloud end. That is, the terminal device communicates with the gateway through the cloud.
And after the terminal equipment sends the binding instruction or the unbinding instruction to the gateway, the terminal equipment acquires the binding response information sent by the gateway. The response information may include a binding result status, and the response information is transmitted to the gateway by the binding switch device after the binding relationship is established or released.
That is to say, after the gateway broadcasts the binding instruction or the unbinding instruction, the binding switch device receives the binding instruction or the unbinding instruction to complete the establishment or the release of the binding relationship of the switch device of the corresponding path, thereby ensuring high accuracy of the binding or the release. In the returned response information, the binding flag bit zdoType is included, the mac address of the switch and the result status bit status whether the switch is successfully or not are bound, the gateway receives the response information and then transmits the response information to the cloud, the result status is pushed to the APP on the terminal equipment by the cloud, and the APP can be successfully or not bound and feeds the result status back to the user. Namely, after the binding switch device executes the action, the information of the binding type zdoType, the mac address of the binding switch, the result state status and the like is returned.
For example, msg [ { "zdoType":1, "eui64": 0x00124B0019E6AFC2"," states ": 0" } may be included in the response information.
In the embodiment of the present invention, the gateway may have a structure as shown in fig. 4, and include a communication processing module, a protocol data processing module, and a ZigBee data processing module.
Wherein, (a) a communication processing module.
The gateway is in interactive communication with the cloud and in local area network communication with the smart home APP on the terminal device;
the intelligent home APP on the terminal equipment adopts UDP broadcast to discover the gateway in the local area network, then establishes TCP connection with the gateway, and sends an equipment control command to the gateway through the TCP connection in the local area network. (terminal device broadcasts, gateway discovers unidirectional connection).
(b) And a protocol data processing module.
The module has the functions of analyzing, packaging and releasing the occupied space of a protocol format and realizing the function of self-defining a protocol stack; and the communication protocol of the communication module and the server, and the communication protocol of the control end and the communication module local area network are realized.
(c) ZigBee data processing module.
The method comprises the steps of butting a libgateway SDK interface to realize network access and network exit, equipment management, equipment control and data analysis of ZigBee equipment; and forming specific services according to different data analysis conditions and processing the services by a service processing module. And performing information interaction with the binding switch equipment through a Zigbee SVr program.
It should be noted that the embodiment of the present invention can perform binding/unbinding of multiple devices simultaneously, and can solve the problem of a large amount of time consumption in binding in the prior art. After the switch equipment to be bound is selected, the binding instruction is sent to the cloud end by the terminal equipment, the cloud end sends the binding instruction to the binding switch equipment through the gateway, and the binding switch equipment executes binding/unbinding operation. From the perspective of a user, only one-step storage is needed, data transmission and processing workload are completed on the APP, the cloud end and the gateway, and the method is timely and efficient.
In addition, the terminal device may further obtain error information, where the error information is sent by the gateway after determining that the binding switch device fails to establish or release the binding relationship. The terminal equipment can determine the binding switch equipment for establishing or releasing the binding relation according to the error information and display the binding switch equipment on the interface of the APP.
The APP on the terminal equipment displays the binding/unbinding failure information, and the problem that whether the operation is successful or not needs to be verified from the equipment side in the prior art is solved. When no network exists in the system, the gateway is powered off or a binding command which is not allowed to bind equipment is sent, the information returned by the gateway end processing equipment controls the value of the status bit of the returned result, the cloud binding/unbinding failure is reported, and for the switch equipment to be bound/unbound, a user can clearly know whether the binding/unbinding is successful or failed on the APP of the terminal equipment.
For example, binding 1 way of the switching device 00124B0019E6AFC2 and 1 way of the switching device 1111111111111111 ("1111111111111111" is a device which is not allowed to be bound/unbound, and returns a value error):
zdo devbind 1 0x0006{00124B0019E6AFC2}1{1111111111111111}1;
zdo devbind 2 0x0006{00124B0019E6AFC2}1{1111111111111111}1。
then, the information returned by the gateway may be:
msg:[{"zdoType":1,"eui64":"0x00124B0019E6AFC2","status":"1"}]。
the embodiment of the invention shows that the terminal equipment acquires the equipment information of the first switch equipment, the equipment information of the first switch equipment is determined after a user selects the switch equipment which establishes the binding relationship with the binding switch equipment, then a binding instruction is generated according to the equipment information of the first switch equipment and the equipment information of the binding switch equipment, and finally the binding instruction is sent to the gateway, so that the gateway broadcasts the binding instruction to the binding switch equipment to establish the binding relationship with the first switch equipment according to the binding instruction. The terminal equipment sends the binding instruction containing the equipment information of the binding switch and the equipment information of the first switch equipment to the gateway, so that the gateway broadcasts the binding instruction to the binding switch equipment to establish the binding relation with the first switch equipment according to the binding instruction, a user does not need to establish the binding relation between the binding switch and the switch one by one, the user only needs to select the switch equipment needing to be bound, the binding efficiency is improved, the binding failure rate is reduced, and the user experience is improved.
Based on the same technical concept, fig. 5 exemplarily shows a structure of an apparatus for binding a switch device and establishing a binding relationship between the switch devices, which may perform a process of replacing a gateway according to an embodiment of the present invention.
As shown in fig. 5, the apparatus may include:
an obtaining unit 501, configured to obtain device information of a first switch device, where the device information of the first switch device is determined after a user selects a switch device that establishes a binding relationship with the binding switch device;
a processing unit 502, configured to generate a binding instruction according to the device information of the first switch device and the device information of the binding switch device;
a sending unit 503, configured to send the binding instruction to a gateway, so that the gateway broadcasts the binding instruction to the binding switch device, and establishes a binding relationship between the binding switch device and the first switch device according to the binding instruction.
Optionally, the processing unit 502 is further configured to:
controlling the obtaining unit 501 to obtain the device information of the second switch device, where the device information of the second switch device is determined after the user selects the switch device that is unbound from the bound switch device;
generating a unbinding instruction according to the equipment information of the second switch equipment and the equipment information of the bound switch equipment;
the sending unit 503 is controlled to send the unbinding instruction to the gateway, so that the gateway broadcasts the unbinding instruction to the bound switch device to release the binding relationship with the second switch device according to the binding instruction.
Optionally, the processing unit 502 is further configured to:
after the binding instruction or the unbinding instruction is sent to the gateway, the obtaining unit 501 is controlled to obtain the binding response information sent by the gateway; the response information comprises a binding result state; the response information is sent to the gateway after the binding switch device establishes the binding relationship or releases the binding relationship;
and displaying the binding result state.
Optionally, the terminal device communicates with the gateway through a cloud.
Optionally, the processing unit 502 is further configured to:
controlling the obtaining unit 501 to obtain error information, where the error information is sent by the gateway after determining that the binding relationship establishment or release of the binding switch device has failed;
and determining the binding switch equipment for establishing or releasing the binding relationship according to the error information.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instruction stored in the memory and executing the method for binding the switch equipment and establishing the binding relationship with the switch equipment according to the obtained program.
Based on the same technical concept, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the method for establishing the binding relationship between the binding switch device and the switch device.
Finally, it should be noted that: as will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for binding a switch device and a switch device to establish a binding relationship, comprising:
the method comprises the steps that terminal equipment acquires equipment information of first switch equipment, wherein the equipment information of the first switch equipment is determined after a user selects the switch equipment which establishes a binding relationship with the binding switch equipment;
the terminal equipment generates a binding instruction according to the equipment information of the first switch equipment and the equipment information of the binding switch equipment;
and the terminal equipment sends the binding instruction to a gateway so that the gateway broadcasts the binding instruction to the binding switch equipment and establishes a binding relationship with the first switch equipment according to the binding instruction.
2. The method of claim 1, wherein the method further comprises:
the terminal equipment acquires equipment information of second switch equipment, wherein the equipment information of the second switch equipment is determined after the user selects the switch equipment which is unbound from the bound switch equipment;
the terminal equipment generates a unbinding instruction according to the equipment information of the second switch equipment and the equipment information of the binding switch equipment;
and the terminal equipment sends the unbinding instruction to the gateway so that the gateway broadcasts the unbinding instruction to the bound switch equipment to unbind the second switch equipment according to the binding instruction.
3. The method of claim 2, wherein the terminal device, after sending the binding instruction or the unbinding instruction to the gateway, further comprises:
the terminal equipment acquires the binding response information sent by the gateway; the response information comprises a binding result state; the response information is sent to the gateway after the binding switch device establishes the binding relationship or releases the binding relationship;
and the terminal equipment displays the binding result state.
4. The method of claim 1, wherein the end device communicates with the gateway through a cloud.
5. The method of any of claims 1 to 4, further comprising:
the terminal equipment acquires error information which is sent by the gateway after determining that the binding switch equipment fails to establish or remove the binding relation;
and the terminal equipment determines binding switch equipment for establishing or releasing the binding relation according to the error information.
6. An apparatus for binding a switch device with a switch device, comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring the device information of first switch device, and the device information of the first switch device is determined after a user selects the switch device which establishes a binding relationship with the binding switch device;
the processing unit is used for generating a binding instruction according to the equipment information of the first switch equipment and the equipment information of the binding switch equipment;
and the sending unit is used for sending the binding instruction to a gateway so that the gateway broadcasts the binding instruction to the binding switch equipment and establishes a binding relationship with the first switch equipment according to the binding instruction.
7. The apparatus as recited in claim 6, said processing unit to further:
controlling the acquisition unit to acquire equipment information of a second switch equipment, wherein the equipment information of the second switch equipment is determined after the user selects the switch equipment which is in the binding relation with the binding switch equipment;
generating a unbinding instruction according to the equipment information of the second switch equipment and the equipment information of the bound switch equipment;
and controlling the sending unit to send the unbinding instruction to the gateway so that the gateway broadcasts the unbinding instruction to the bound switch device to release the binding relation with the second switch device according to the binding instruction.
8. The apparatus as recited in claim 7, said processing unit to further:
after the binding instruction or the unbinding instruction is sent to the gateway, controlling the obtaining unit to obtain the binding response information sent by the gateway; the response information comprises a binding result state; the response information is sent to the gateway after the binding switch device establishes the binding relationship or releases the binding relationship;
and displaying the binding result state.
9. The apparatus of claim 6, wherein the terminal device communicates with the gateway through a cloud.
10. The apparatus of any of claims 6 to 9, wherein the processing unit is further to:
controlling the acquisition unit to acquire error information, wherein the error information is sent by the gateway after determining that the binding of the binding switch device is failed to establish or remove the binding relationship;
and determining the binding switch equipment for establishing or releasing the binding relationship according to the error information.
CN201910881708.5A 2019-09-18 2019-09-18 Method and device for establishing binding relationship between binding switch equipment and switch equipment Pending CN110601934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910881708.5A CN110601934A (en) 2019-09-18 2019-09-18 Method and device for establishing binding relationship between binding switch equipment and switch equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910881708.5A CN110601934A (en) 2019-09-18 2019-09-18 Method and device for establishing binding relationship between binding switch equipment and switch equipment

Publications (1)

Publication Number Publication Date
CN110601934A true CN110601934A (en) 2019-12-20

Family

ID=68860536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910881708.5A Pending CN110601934A (en) 2019-09-18 2019-09-18 Method and device for establishing binding relationship between binding switch equipment and switch equipment

Country Status (1)

Country Link
CN (1) CN110601934A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343059A (en) * 2020-02-11 2020-06-26 青岛海信智慧家居系统股份有限公司 Multifunctional setting method and device for ZigBee terminal equipment
CN111478816A (en) * 2020-04-15 2020-07-31 公牛集团股份有限公司 Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN111490916A (en) * 2020-04-15 2020-08-04 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee
CN112731838A (en) * 2020-12-24 2021-04-30 上海翰萨智能科技有限公司 Intelligent household switch binding system and method
CN114006932A (en) * 2021-10-29 2022-02-01 四川虹美智能科技有限公司 Method and system for realizing switch double control
CN114114945A (en) * 2021-12-20 2022-03-01 珠海格力电器股份有限公司 Control method and device of intelligent household equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201355879Y (en) * 2009-01-19 2009-12-02 江苏技术师范学院 Switch device for remote control lighting fitting based on ZigBee technology
KR20140096776A (en) * 2013-01-29 2014-08-06 주식회사 에이비아이시스템스 Binding System for Programming Switch and method thereof
CN104639549A (en) * 2015-02-05 2015-05-20 小米科技有限责任公司 Equipment binding method and equipment binding device
CN105652676A (en) * 2016-01-20 2016-06-08 惠州市物联微电子有限公司 Intelligent home remote control system and control method
CN105700396A (en) * 2016-01-22 2016-06-22 深圳市飞比电子科技有限公司 Intelligent switch module and control method therefor
CN106102184A (en) * 2016-07-15 2016-11-09 杭州赫智电子科技有限公司 A kind of for managing the system and method that bluetooth equipment binding connects
CN107592372A (en) * 2017-11-03 2018-01-16 惠州市物联微电子有限公司 A kind of intelligent wireless lighting control system
CN108737226A (en) * 2018-04-13 2018-11-02 珠海格力电器股份有限公司 A kind of binding method, the apparatus and system of household appliance and socket
CN108885435A (en) * 2018-06-11 2018-11-23 深圳市奥星澳科技有限公司 A kind of control method, host, slave, mobile terminal and control system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201355879Y (en) * 2009-01-19 2009-12-02 江苏技术师范学院 Switch device for remote control lighting fitting based on ZigBee technology
KR20140096776A (en) * 2013-01-29 2014-08-06 주식회사 에이비아이시스템스 Binding System for Programming Switch and method thereof
CN104639549A (en) * 2015-02-05 2015-05-20 小米科技有限责任公司 Equipment binding method and equipment binding device
CN105652676A (en) * 2016-01-20 2016-06-08 惠州市物联微电子有限公司 Intelligent home remote control system and control method
CN105700396A (en) * 2016-01-22 2016-06-22 深圳市飞比电子科技有限公司 Intelligent switch module and control method therefor
CN106102184A (en) * 2016-07-15 2016-11-09 杭州赫智电子科技有限公司 A kind of for managing the system and method that bluetooth equipment binding connects
CN107592372A (en) * 2017-11-03 2018-01-16 惠州市物联微电子有限公司 A kind of intelligent wireless lighting control system
CN108737226A (en) * 2018-04-13 2018-11-02 珠海格力电器股份有限公司 A kind of binding method, the apparatus and system of household appliance and socket
CN108885435A (en) * 2018-06-11 2018-11-23 深圳市奥星澳科技有限公司 A kind of control method, host, slave, mobile terminal and control system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343059A (en) * 2020-02-11 2020-06-26 青岛海信智慧家居系统股份有限公司 Multifunctional setting method and device for ZigBee terminal equipment
CN111478816A (en) * 2020-04-15 2020-07-31 公牛集团股份有限公司 Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN111490916A (en) * 2020-04-15 2020-08-04 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee
CN111490916B (en) * 2020-04-15 2022-03-11 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee
CN111478816B (en) * 2020-04-15 2023-04-07 公牛集团股份有限公司 Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN112731838A (en) * 2020-12-24 2021-04-30 上海翰萨智能科技有限公司 Intelligent household switch binding system and method
CN114006932A (en) * 2021-10-29 2022-02-01 四川虹美智能科技有限公司 Method and system for realizing switch double control
CN114114945A (en) * 2021-12-20 2022-03-01 珠海格力电器股份有限公司 Control method and device of intelligent household equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110601934A (en) Method and device for establishing binding relationship between binding switch equipment and switch equipment
CN110248226B (en) Information screen projection method, device, system, storage medium and processor
CN103324457B (en) Terminal and multi-task data display method
EP3312730B1 (en) Control terminal device, audio system, and audio system control method
CN103765826B (en) Communicator, communication system, communication means and TV receiving system
CN110636483A (en) Network distribution method and system
US20160191267A1 (en) Information Processing Method and Central Control Device
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
CN109297142A (en) Control method, air conditioner and storage medium
CN108919663A (en) A kind of management method and electronic equipment of smart home device
CN111930020B (en) Equipment control system, method, device, terminal and readable storage medium
CN104463255A (en) Switching apparatus and method capable of realizing automatic connection with NFC chip and switching security elements
CN112671904B (en) Method and device for transmitting equipment state information, storage medium and electronic device
CN106341271B (en) Maintaining method and device, the electronic equipment of household electrical appliance
CN108306796B (en) Intelligent home system, and information processing method and device of intelligent home equipment
CN105578310A (en) Smart TV remote control method and device based on websocket protocol
CN103634657A (en) Television and mobile terminal synchronous WIFI connection setup method and device
WO2015120690A1 (en) Method for controlling electronic device, control terminal, and system
CN106856563A (en) A kind of projection terminal and its method for realizing the same screen projection in multiple terminals
CN111007733B (en) Method and device for integrating smart home terminal APP with smart device
CN105850162A (en) Method and apparatus for sharing data quota
CN109890017A (en) Method, apparatus, equipment and the readable storage medium storing program for executing being connect with central apparatus
CN110505614B (en) Communication method and device of ZigBee binding switch
CN113783768B (en) Group control method, group control device and communication system
CN106161044B (en) A kind of information transferring method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication