CN106534258B - Wi-Fi association triggering method and system - Google Patents

Wi-Fi association triggering method and system Download PDF

Info

Publication number
CN106534258B
CN106534258B CN201610869446.7A CN201610869446A CN106534258B CN 106534258 B CN106534258 B CN 106534258B CN 201610869446 A CN201610869446 A CN 201610869446A CN 106534258 B CN106534258 B CN 106534258B
Authority
CN
China
Prior art keywords
instruction
configuration
equipment
association
user layer
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
CN201610869446.7A
Other languages
Chinese (zh)
Other versions
CN106534258A (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 Hongyan Intelligent Technology Co Ltd
Original Assignee
Hangzhou Hongyan Intelligent 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 Hongyan Intelligent Technology Co Ltd filed Critical Hangzhou Hongyan Intelligent Technology Co Ltd
Priority to CN201610869446.7A priority Critical patent/CN106534258B/en
Publication of CN106534258A publication Critical patent/CN106534258A/en
Application granted granted Critical
Publication of CN106534258B publication Critical patent/CN106534258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a Wi-Fi correlation triggering method, which comprises the following steps: performing association configuration of the first device and the second device through a third device; after configuration, the first equipment sends an instruction to the second equipment through hardware triggering; and after receiving the instruction of the first device, the user layer of the second device judges whether the instruction source is consistent with the pre-matched information, if so, the user layer receives the instruction, and if not, the user layer ignores the instruction. The invention also provides a system for Wi-Fi association triggering, which comprises: the first device can be configured in association with other devices; the second device can be configured in association with other devices; and the third equipment is used for the association configuration of the first equipment and the second equipment. According to the technical scheme, the control of Wi-Fi associated equipment can be realized through the self TCP/IP protocol, and the limitation that intelligent household equipment can only communicate by means of ZigBee is solved.

Description

Wi-Fi association triggering method and system
Technical Field
The invention mainly relates to an intelligent home control technology, in particular to a method and a system for Wi-Fi correlation triggering.
Background
With the rapid development of wireless technology and the popularization of Wi-Fi products, the control modes of curtains, lamps and the like realized by users through wireless communication modes such as Bluetooth, ZigBee and the like are very popular, but the association triggering through the control of the Wi-Fi mode is not realized, and the appeal of the users to a home wireless network is continuously improved at present.
Disclosure of Invention
The invention firstly solves the technical problem of providing a method for controlling association triggering in a Wi-Fi way, which comprises the following steps:
1) performing association configuration of the first device and the second device through a third device;
2) after configuration, the first equipment sends an instruction to the second equipment through hardware triggering;
3) and after receiving the instruction of the first device, the user layer of the second device judges whether the instruction source is consistent with the pre-matched information, if so, the user layer receives the instruction, and if not, the user layer ignores the instruction.
Furthermore, the communication among the first device, the second device and the third device is based on a TCP/IP protocol.
Further, the first device, the second device, and the third device are in the same local area network.
Further, the association configuration includes configuration of MAC address, network ID, and port number index value.
Further, the configuration information is stored in the memories of the first device and the second device.
As a variant, the method further comprises: the fourth device and the first device may also perform association configuration of the MAC address, the network ID, and the port number index value through the third device; after the association configuration is successful, the fourth device may receive the instruction from the first device and determine whether the instruction is a command that needs to be executed currently.
As another variation, the method further includes that the fifth device and the sixth device can perform MAC address, network ID, and port number index value matching through the third device; after the association configuration is successful, the sixth device may receive the instruction from the fifth device and determine whether the instruction is a command that needs to be executed currently.
Another technical problem to be solved by the present invention is to provide a system for Wi-Fi association triggering, which includes:
the first device can be associated with other devices for configuration, and other associated devices can be controlled in the association triggering system;
the second device can be associated with other devices for configuration, and can receive instruction control of other associated devices in the association triggering system;
and the third equipment is used for the association configuration of the first equipment and the second equipment and can receive the feedback information from the first equipment and the second equipment.
The first device and the second device can be connected with a local area network through Wi-Fi modules carried by the first device and the second device;
furthermore, the communication among the first device, the second device and the third device is based on a TCP/IP protocol.
Further, the association configuration between the first device and the second device mainly includes a MAC address, a network ID, and a port number index value.
Further, the associated configuration information of the first device and the second device is successfully configured and then stored in respective memories.
The first device and the second device can be configured in an association way through a third device; the association configuration mainly comprises the MAC address, the network ID and the port index value of the configuration object; after configuration is successful, configuration information is stored in respective storage modules, the first device can issue an instruction to other devices of the local area network through hardware triggering, the instruction is issued through a TCP/IP protocol, after a user layer of the second device receives a control request from the first device, the user layer can judge whether the received instruction is from the same device as that of the pre-configuration according to the current instruction, if so, the instruction is accepted, and if not, the access request is rejected.
As a variation, the Wi-Fi association triggering system further comprises: the fourth device arranged in the local area network can perform association pairing of the MAC address, the network ID and the port index value with the first device through the third device; after configuration is successful, the first device sends an instruction to other devices of the local area network through hardware triggering, the instruction is sent through a self-contained TCP/IP protocol, after a user layer of the fourth device receives a control request from the first device, the user layer can judge whether the received instruction is from the same device as the pre-configured instruction or not according to the current instruction, if the judgment result is yes, the instruction is accepted, and if the judgment result is no, the control request is rejected.
In one example, the first device is a controller, the second device and the fourth device are drivers, and the third device is a gateway;
the first device controller can comprise a Wi-Fi module, a memory and a processor; the first equipment controller can send a control instruction to the second equipment through a TCP/IP protocol;
the second device driver can comprise a Wi-Fi module, a memory, a processor and a driving circuit; the memory can store the related configuration information, and the processor calls the program stored in the memory to execute the following steps: the user layer of the second device receives a control instruction based on the own TCP/IP protocol; and the user layer of the second device judges whether the received control instruction is from the same device as the pre-configured control instruction, if so, the instruction is accepted, the driving circuit executes a corresponding command, and if not, the control request is rejected.
The third device gateway can modify the communication parameters and network information configuration of each sub-device in the network, and perform area division and device management.
Further, the first device controller and the second device driver perform association pairing of the MAC address, the network ID, and the port index value through the third device gateway.
The invention has the beneficial effects that: according to the technical scheme, the control of the Wi-Fi associated equipment can be realized through the self-contained TCP/IP protocol, the limitation that the intelligent household equipment can only communicate by means of ZigBee is solved, and the Wi-Fi belongs to a data communication mode which is popular in family life and is extremely wide in application, so that a wider development space is provided for the field of intelligent household for realizing the control of the Wi-Fi associated equipment, and better experience is brought to users of the intelligent household.
Drawings
Fig. 1 is a flowchart illustrating a Wi-Fi association triggering method according to the present invention.
FIG. 2 is a block diagram of a Wi-Fi correlation triggering system according to the present invention.
Detailed Description
In order to make the purpose and technical solution of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings.
Embodiment 1, a method of Wi-Fi association triggering.
Fig. 1 is a schematic flow chart of a Wi-Fi association triggering method according to the present invention, and as shown in fig. 1, the method according to the embodiment of the present invention includes:
step S11, associate the pair.
In step S12, the third device issues an association configuration instruction.
Step S13, the first device and the second device receive the configuration instruction of the third device and configure; if the configuration is successful, step S14 is performed, and if the configuration is failed, step S15 is performed.
And step S14, storing the configuration information and feeding back the successful configuration information to the third equipment.
Step S15, failure information is returned to the third device.
And step S21, triggering by hardware and issuing a command.
Step S22, the second device user layer receives the instruction, and judges whether the instruction is consistent with the associated pairing information, if yes, the step S23 is executed; if the judgment result is no, step S24 is executed.
Step S23, executing the command, and receiving the control request;
step S24 ignores the command and rejects the command request.
When step S13 is associated and paired, the configuration information mainly includes MAC address, network ID, and port number index value;
the user layer of an embodiment may include a platform layer, a protocol layer, and an application layer.
The communication protocol in the embodiment is a customized TCP/IP protocol.
After receiving the instruction, the second device user layer firstly judges whether a target address, a source address, a network ID and a port number are consistent with the MAC address stored in the storage module, and if so, receives the instruction; if the judgment result is negative, the command is ignored, and the command request is refused.
Embodiment 2, a Wi-Fi association triggering system.
Fig. 2 is a schematic system structure diagram of the Wi-Fi associated device of the present invention. As shown in fig. 2, the Wi-Fi association triggering system of the embodiment of the present invention may include: a first device 31, a second device 32, a third device 33, a router 34.
A first device 31 comprising a Wi-Fi module 311, a processor 312, a memory 313, a power circuit 314; the first device may be a controller, and may output a control command to the second device 32;
a second device 32 comprising a Wi-Fi module 311, a processor 321, a driving circuit 322, a power circuit 323, a memory 324; the second device can be a driver, can receive the control instruction of the first device, and execute the control action to control the output circuit;
the third device 33 may be a gateway, and the gateway may issue an association pairing command to the first device 31 and the second device 32 and receive feedback information from the first device 31 and the second device 32.
The first device controller 31 and the second device driver 32 are respectively connected with the router 34 through the Wi-Fi module 311, and the third device gateway 33 can be connected to the router 34 through the Wi-Fi module 311 or by wire; the third device 33 issues a correlation configuration instruction to the first device 31 and the second device 32 through a TCP/IP protocol, the two devices perform configuration after receiving the correlation configuration instruction, after the configuration is successful, the successful information is fed back to the third device 33, and the configured information, such as the MAC address, the network ID, and the port index value, is respectively stored in the memory 313 of the first device 31 and the memory 324 of the second device 32; if the configuration is unsuccessful, a failure message is returned to the third device 33.
After the configuration is successful, the first device controller 31 issues an instruction through hardware triggering; the instruction is sent to the device of the local area network through a self-defined TCP/IP protocol, after receiving the instruction, the user layer of the second device 32 first determines whether the destination address, the source address, the network ID, and the port number are consistent with the MAC address stored in the storage module, and if the determination result is yes, the processor 321 receives the instruction, drives the output of the output circuit 322, and feeds back the execution result to the third device 33; if the result of the determination is no, the processor 321 ignores the command, rejects the command request, and feeds back the execution result to the third device 33.
The above-mentioned embodiments are only examples of the present invention, which should not be construed as limiting the scope of the present invention, and therefore, the present invention is not limited to the above-mentioned embodiments.

Claims (3)

1. A method of Wi-Fi association triggering, characterized by: comprises the following steps of (a) carrying out,
1) performing association configuration of the first device and the second device through a third device;
2) after configuration, the first equipment sends an instruction to the second equipment through hardware triggering;
3) after receiving the instruction of the first device, the user layer of the second device judges whether the instruction source is consistent with the pre-matched information, if so, the user layer receives the instruction, and if not, the user layer ignores the instruction;
wherein the method is used for a system of Wi-Fi association triggering, the system comprises,
the first device can be associated with other devices for configuration, and other associated devices can be controlled in the association triggering system;
the second device can be associated with other devices for configuration, and can receive instruction control of other associated devices in the association triggering system;
the third device is used for the association configuration of the first device and the second device and can receive feedback information from the first device and the second device; the communication among the first equipment, the second equipment and the third equipment is based on a TCP/IP protocol; the association configuration between the first device and the second device mainly comprises the configuration of MAC address, network ID and port number index value;
the first device is a controller, the second device and the fourth device are drivers, and the third device is a gateway;
the first device comprises a Wi-Fi module, a memory and a processor; the first equipment can send a control instruction to the second equipment through a TCP/IP protocol;
the second equipment comprises a Wi-Fi module, a memory, a processor and a driving circuit; the memory can store relevant configuration information, and the processor calls the program stored in the memory to execute the following steps: the user layer of the second device receives a control instruction based on the own TCP/IP protocol; the user layer of the second device judges whether the received control instruction and a pre-configured control instruction are from the same device, if so, the instruction is accepted, the driving circuit executes a corresponding command, and if not, the control instruction is rejected;
the third device can modify the communication parameters and network information configuration of each sub-device in the network, and perform area division and device management.
2. The method of claim 1, wherein: the first device, the second device and the third device are in the same local area network.
3. The method of claim 1, wherein: and storing the associated configuration information of the first device and the second device in respective memories after the configuration is successful.
CN201610869446.7A 2016-10-01 2016-10-01 Wi-Fi association triggering method and system Active CN106534258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610869446.7A CN106534258B (en) 2016-10-01 2016-10-01 Wi-Fi association triggering method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610869446.7A CN106534258B (en) 2016-10-01 2016-10-01 Wi-Fi association triggering method and system

Publications (2)

Publication Number Publication Date
CN106534258A CN106534258A (en) 2017-03-22
CN106534258B true CN106534258B (en) 2020-02-04

Family

ID=58344737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610869446.7A Active CN106534258B (en) 2016-10-01 2016-10-01 Wi-Fi association triggering method and system

Country Status (1)

Country Link
CN (1) CN106534258B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302763B (en) * 2017-05-26 2019-11-08 北京小鸟看看科技有限公司 Realize method, client terminal device and the system for wearing display equipment and accessory binding

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016047917A1 (en) * 2014-09-25 2016-03-31 삼성전자주식회사 Device and method for sharing contents in electronic device with other electronic device
CN105093944A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and cloud data processing method based on the intelligent household system
CN104808559B (en) * 2015-04-24 2019-01-22 深圳市彩易生活科技有限公司 A kind of wireless switching control method, system and relevant device
CN105182815A (en) * 2015-08-11 2015-12-23 小米科技有限责任公司 Equipment control method and equipment control device
CN105182766A (en) * 2015-08-12 2015-12-23 小米科技有限责任公司 Equipment control method and apparatus
CN105430760B (en) * 2015-10-30 2019-10-22 上海摩软通讯技术有限公司 Connection method and system between equipment

Also Published As

Publication number Publication date
CN106534258A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN105392181B (en) A kind of networking method of smart machine, apparatus and system
EP3941121A1 (en) Network connection method, terminal, base station, and computer storage medium
US9955369B2 (en) Network self-healing method and system using lighting devices
US11191125B2 (en) Commissioning in multi-hop networks by using a single-hop connection
US20160142496A1 (en) Home Network Device and Method of Proxy Service Discovering
CN106341468B (en) Remote awakening method, device and system of intelligent equipment
US10474424B2 (en) Control method, audio device, and information storage medium
CN103298073A (en) Multi-mode terminal and method controlling operation mode thereof
CN103491005A (en) Method for controlling transmission of message, access point device and relevant system
CN108738003A (en) Bluetooth matching method and system based on shared bluetooth communication address
CN106534258B (en) Wi-Fi association triggering method and system
WO2017071567A1 (en) Connection control method and device for wireless fidelity (wi-fi) hotspot
CN105451208A (en) Method and apparatus for achieving device to device (D2D) discovery
CN110139327A (en) Connect method, apparatus, electronic equipment and the storage medium of hotspot
CN104703211A (en) A virtualization accessing method and apparatus
CN104754749A (en) Communication control method and central control device
US8054771B2 (en) Method and system for adding a new connection identifier to an existing power save class
US8634780B2 (en) Terminal, method, and wireless communication for power saving
US11317347B2 (en) Method and apparatus for providing service by using Bluetooth low energy technology
JP2003511971A (en) Low power wireless network
CN109712380A (en) Find method and device, the storage medium, terminal device, remote control equipment of remote control equipment
CN113765759B (en) Equipment network access and communication optimization method of intelligent home system
EP3340687B1 (en) Method for connecting communication device, and communication device
CN114125883B (en) Network access method and device of intelligent equipment, electronic equipment and storage medium
KR101947169B1 (en) METHOD AND APPARATUS FOR CONTROLLING IoT DEVICE USING IP TUNNELING

Legal Events

Date Code Title Description
C06 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