CN111065079B - Local equipment binding method and system - Google Patents

Local equipment binding method and system Download PDF

Info

Publication number
CN111065079B
CN111065079B CN201911273736.5A CN201911273736A CN111065079B CN 111065079 B CN111065079 B CN 111065079B CN 201911273736 A CN201911273736 A CN 201911273736A CN 111065079 B CN111065079 B CN 111065079B
Authority
CN
China
Prior art keywords
access address
control
information
controlled
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911273736.5A
Other languages
Chinese (zh)
Other versions
CN111065079A (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN201911273736.5A priority Critical patent/CN111065079B/en
Publication of CN111065079A publication Critical patent/CN111065079A/en
Application granted granted Critical
Publication of CN111065079B publication Critical patent/CN111065079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The application discloses a local equipment binding method, which comprises the following steps: assigning an access address to the control device; the control device transmits control information containing identification information of the access address; the access address receives the control information; the controlled device subscribes to the access address; and the controlled equipment acquires the control information from the access address. Compared with the prior art, the application has the following advantages: the application relates to a local binding and control technology based on BLE mesh technology, which can realize directional control on intelligent equipment by directly binding a remote controller or a sensor with the intelligent equipment such as a lamp or a socket when the remote controller or the sensor and the intelligent equipment are in the same network, and an APP can check and modify the binding relationship, so that a more flexible and safer control mode is realized. And the flexible linkage control function between the sensor and the intelligent equipment is realized, the necessity of the gateway is reduced, and the cost is reduced.

Description

Local equipment binding method and system
Technical Field
The application relates to the field of Internet of things, in particular to a local equipment binding method and system.
Background
The current intelligent equipment can be controlled by a mobile phone APP, and the BLE mesh intelligent equipment can be controlled by a mobile phone Bluetooth or Bluetooth gateway. At present, the remote controllers on the market are more infrared and have partial Bluetooth remote controllers, but Bluetooth generally transmits data through BLE broadcasting, does not encrypt at all and is easy to steal and control. There are also remote controls that can control smart devices in part through BLE mesh technology, but such remote controls do not have pairing-binding functionality. Only all devices in the network can be controlled, and directional single device control and group control cannot be realized. In addition, the sensors on the market can realize the linkage function with the intelligent equipment only by matching with the gateway, and the gateway is required to perform coordinated control.
Disclosure of Invention
The main object of the present application is to provide a local device binding method, comprising:
assigning an access address to the control device;
the control device transmits control information containing identification information of the access address;
the access address receives the control information;
the controlled device subscribes to the access address;
and the controlled equipment acquires the control information from the access address.
Optionally, the control device is an intelligent mobile terminal.
Optionally, the local device binding method further includes:
the intelligent mobile terminal sends inquiry information to the access address;
all the controlled devices subscribed to the access address inquire the inquiry information in the access address;
all the controlled devices subscribed to the access address send inquiry response information to the access address;
and the intelligent mobile terminal receives all response information and displays all controlled devices subscribed to the access address.
Optionally, the local device binding method further includes: and the intelligent mobile terminal selects the controlled equipment which is required to send control information from all the displayed controlled equipment subscribed to the access address.
Optionally, all the controlled devices subscribed to the access address sequentially send query response information to the access address according to a predetermined sequence.
Optionally, the access address is one or more group addresses or virtual addresses.
According to another aspect of the present application, there is also provided a local device binding system including:
the distribution module is used for distributing the control equipment access address;
the control module is used for sending control information containing the identification information of the access address;
an access address module for receiving the control information;
and the controlled equipment is used for subscribing the access address, and the controlled equipment acquires the control information from the access address.
The application also discloses a computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, the processor implementing the method of any one of the above when executing the computer program.
The application also discloses a computer readable storage medium, a non-volatile readable storage medium having stored therein a computer program which, when executed by a processor, implements the method of any of the above.
The application also discloses a computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the preceding claims.
Compared with the prior art, the application has the following advantages:
the application relates to a local binding and control technology based on BLE mesh technology, which can realize directional control on intelligent equipment by directly binding a remote controller or a sensor with the intelligent equipment such as a lamp or a socket when the remote controller or the sensor and the intelligent equipment are in the same network, and an APP can check and modify the binding relationship, so that a more flexible and safer control mode is realized. And the flexible linkage control function between the sensor and the intelligent equipment is realized, the necessity of the gateway is reduced, and the cost is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, are incorporated in and constitute a part of this specification. The drawings and their description are illustrative of the application and are not to be construed as unduly limiting the application. In the drawings:
FIG. 1 is a flow diagram of a local device binding method according to one embodiment of the application;
FIG. 2 is a flow diagram of a local device binding method according to one embodiment of the application;
FIG. 3 is a schematic diagram of a computer device according to one embodiment of the application; and
FIG. 4 is a schematic diagram of a computer-readable storage medium according to one embodiment of the application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the application herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Referring to fig. 1, an embodiment of the present application provides a local device binding method, including:
s2: assigning an access address to the control device;
s4: the control device transmits control information containing identification information of the access address;
s6: the access address receives the control information;
s8: the controlled device subscribes to the access address;
s10: and the controlled equipment acquires the control information from the access address.
When the remote controller or the sensor is used, one or more group addresses or virtual addresses are allocated in the network allocation process, and the controlled equipment (television and lamp) can realize free binding and control by subscribing the addresses and sending information to the group addresses by the remote controller or the sensor. The intelligent device is in a bindable state through triggering in modes of power on and power off or key pressing and the like, and at the moment, the remote controller or the sensor can send out a binding instruction, and the intelligent device in the bindable state can be bound with the remote controller or the sensor. For security reasons, the bindable state has a time window of 10s, and is not bindable outside the window. This way a free combination of bindings can be achieved.
In an embodiment of the present application, the control device is an intelligent mobile terminal.
Referring to fig. 2, in an embodiment of the present application, the local device binding method further includes:
s21: the intelligent mobile terminal sends inquiry information to the access address;
s22: all the controlled devices subscribed to the access address inquire the inquiry information in the access address;
s23: all the controlled devices subscribed to the access address send inquiry response information to the access address;
s24: and the intelligent mobile terminal receives all response information and displays all controlled devices subscribed to the access address.
The APP on the mobile phone can send a query data to the subscription address, and the received controlled device replies the address of the APP to the subscription address, so that the APP can know which controlled devices have binding relation with the remote controller or the sensor.
In an embodiment of the present application, the local device binding method further includes: and the intelligent mobile terminal selects the controlled equipment which is required to send control information from all the displayed controlled equipment subscribed to the access address.
In an embodiment of the present application, all the controlled devices subscribed to the access address sequentially send query response information to the access address according to a predetermined sequence.
In order to prevent the concurrency conflict of data, delay is carried out at the intelligent equipment end according to the network address of the equipment, so that the APP can receive all replies and the whole binding relation is displayed completely.
In an embodiment of the present application, the access address is one or more group addresses or virtual addresses.
According to another aspect of the present application, there is also provided a local device binding system including:
the distribution module is used for distributing the control equipment access address;
the control module is used for sending control information containing the identification information of the access address;
an access address module for receiving the control information;
and the controlled equipment is used for subscribing the access address, and the controlled equipment acquires the control information from the access address.
The application relates to a local binding and control technology based on BLE mesh technology, which can realize directional control on intelligent equipment by directly binding a remote controller or a sensor with the intelligent equipment such as a lamp or a socket when the remote controller or the sensor and the intelligent equipment are in the same network, and an APP can check and modify the binding relationship, so that a more flexible and safer control mode is realized. And the flexible linkage control function between the sensor and the intelligent equipment is realized, the necessity of the gateway is reduced, and the cost is reduced.
Referring to fig. 3, the present application further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, where the processor implements the method of any one of the above when executing the computer program.
Referring to fig. 4, a computer readable storage medium, a non-volatile readable storage medium, has stored therein a computer program which, when executed by a processor, implements the method of any of the above.
A computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the preceding claims.
It will be apparent to those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (7)

1. A local device binding method, comprising:
the method comprises the steps that access addresses are allocated to control equipment, wherein the control equipment is an intelligent mobile terminal;
the control device transmits control information containing identification information of the access address;
the access address receives the control information;
the controlled device subscribes to the access address;
the controlled device acquires the control information from the access address;
the intelligent mobile terminal sends inquiry information to the access address;
all the controlled devices subscribed to the access address inquire the inquiry information in the access address;
all the controlled devices subscribed to the access address send inquiry response information to the access address;
and the intelligent mobile terminal receives all response information and displays all controlled devices subscribed to the access address.
2. The local device binding method of claim 1, further comprising: and the intelligent mobile terminal selects the controlled equipment which is required to send control information from all the displayed controlled equipment subscribed to the access address.
3. The local device binding method according to claim 1, wherein all the controlled devices subscribing to the access address sequentially transmit inquiry response information to the access address in a predetermined order.
4. A local device binding method as claimed in claim 3, wherein said access addresses are one or more group addresses or virtual addresses.
5. A local device binding system, comprising:
the distribution module is used for distributing the access address to the control equipment, wherein the control equipment is an intelligent mobile terminal;
the intelligent mobile terminal sends inquiry information to the access address;
all the controlled devices subscribed to the access address inquire the inquiry information in the access address;
all the controlled devices subscribed to the access address send inquiry response information to the access address;
the intelligent mobile terminal receives all response information and displays all controlled devices subscribed to the access address;
the control module is used for sending control information containing the identification information of the access address;
an access address module for receiving the control information;
and the controlled equipment is used for subscribing the access address, and the controlled equipment acquires the control information from the access address.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any of claims 1-4 when executing the computer program.
7. A computer readable storage medium, in which a computer program is stored which, when executed by a processor, implements the method according to any of claims 1-4.
CN201911273736.5A 2019-12-12 2019-12-12 Local equipment binding method and system Active CN111065079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911273736.5A CN111065079B (en) 2019-12-12 2019-12-12 Local equipment binding method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911273736.5A CN111065079B (en) 2019-12-12 2019-12-12 Local equipment binding method and system

Publications (2)

Publication Number Publication Date
CN111065079A CN111065079A (en) 2020-04-24
CN111065079B true CN111065079B (en) 2023-10-20

Family

ID=70298931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911273736.5A Active CN111065079B (en) 2019-12-12 2019-12-12 Local equipment binding method and system

Country Status (1)

Country Link
CN (1) CN111065079B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115296989B (en) * 2022-07-01 2024-04-16 浙江艾克斯精灵人工智能科技有限公司 Subscription address configuration method, related equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737166A (en) * 2018-05-02 2018-11-02 华尔达(厦门)塑胶有限公司 A kind of intelligent network rapid networking method of off host
CN109348463A (en) * 2018-11-23 2019-02-15 深圳迈睿智能科技有限公司 Bluetooth Mesh network and its network-building method and electrical equipment
CN110034983A (en) * 2019-03-08 2019-07-19 佛山市云米电器科技有限公司 Home equipment interlock method and system based on Publish-subscribe message processing facility

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737166A (en) * 2018-05-02 2018-11-02 华尔达(厦门)塑胶有限公司 A kind of intelligent network rapid networking method of off host
CN109348463A (en) * 2018-11-23 2019-02-15 深圳迈睿智能科技有限公司 Bluetooth Mesh network and its network-building method and electrical equipment
CN110034983A (en) * 2019-03-08 2019-07-19 佛山市云米电器科技有限公司 Home equipment interlock method and system based on Publish-subscribe message processing facility

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
耿文东,杜小平,李智,马志昊,吴钰飞,耿歌著.《空间态势感知导论》.《空间态势感知导论》.2015, *

Also Published As

Publication number Publication date
CN111065079A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
CN103309308B (en) A kind of device intelligence control method and device, system, PnP device
CN107592367B (en) Resource sharing method and device for household appliances and computer readable storage medium
CN106470049B (en) NFC device and near field communication method with multiple safety elements
CN105404258A (en) Intelligent household management method and platform
CN103618670A (en) Intelligent gateway and intelligent home system
CN111885594B (en) Equipment binding method and device
CN110365704B (en) Equipment binding method and device and electronic equipment
CN111913397B (en) Device control method, device, storage medium, and electronic apparatus
CN111885115A (en) Equipment binding change method and device
CN112202651A (en) Method and system for controlling intelligent household scene linkage
CN106789466B (en) Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance
CN110933170A (en) Multi-device linkage control method and device of ZigBee gateway and storage medium
US20160300483A1 (en) Device Control Method, Server, System and Computer Storage Medium
CN110824948A (en) Intelligent household control method and device based on IOT virtual service
CN111065079B (en) Local equipment binding method and system
CN108390795B (en) Household appliance and monitoring method thereof, smart home system and readable storage medium
CN107181825B (en) Online processing method of terminal equipment data
CN106019957A (en) Intelligent terminal control method and intelligent terminal control system
CN106797393B (en) Method for assigning actions to tags within a network, corresponding network and control device
CN106302093B (en) Communication method, system and server
CN106254201A (en) Network-building method and device, method for connecting network and device, network system and terminal
WO2010029988A1 (en) Ic chip, information processing device, software module control method, information processing system, method, and program
CN108900586B (en) Household appliance, WIFI module, communication method between household appliance and WIFI module and terminal and readable storage medium
CN111478816A (en) Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN103019979B (en) USB host, equipment and information transferring method

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