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

Wi-Fi association triggering method and system Download PDF

Info

Publication number
CN106534258A
CN106534258A CN201610869446.7A CN201610869446A CN106534258A CN 106534258 A CN106534258 A CN 106534258A CN 201610869446 A CN201610869446 A CN 201610869446A CN 106534258 A CN106534258 A CN 106534258A
Authority
CN
China
Prior art keywords
equipment
configuration
instruction
memory
association
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610869446.7A
Other languages
Chinese (zh)
Other versions
CN106534258B (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

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 association triggering method. The Wi-Fi association triggering method comprises: through a third device, performing association device between a first device and a second device; after configuration is completed, through the first device, sending a command to the second device by hardware triggering; after a user layer of the second device receives the command of the first device, judging whether the command source is consistent with pre-matched information; if the command source is consistent with the pre-matched information, receiving the command; and if the command source is not consistent with the pre-matched information, ignoring the command. The invention further provides a Wi-Fi association triggering system. The Wi-Fi association triggering system comprises a first device capable of associating with other devices, a second device capable of associating with other devices, and a third device for configuring association between the first device and the second device. Through the technical scheme provided by the invention, control on Wi-Fi association devices is achieved through self TCP/IP protocol, and limitation that intelligent household devices only can depend on ZigBee to communicate is solved.

Description

A kind of method and system of Wi-Fi associations triggering
Technical field
The invention mainly relates to the method and system of Intelligent housing technology, particularly Wi-Fi association triggering.
Background technology
With the fast development of wireless technology, the popularization of Wi-Fi products, user is for example, by Bluetooth, ZigBee etc. Wireless communication mode is realized popularizing very much the control mode of curtain, light fixture etc., but the pass controlled by Wi-Fi modes Connection triggering is also not carried out, and demand of the user to family wireless network now is also being improved constantly.
The content of the invention
The technical problem that the present invention first has to solve is to provide a kind of method of Wi-Fi associations triggering, can pass through Wi-Fi Mode controls association triggering, the method comprising the steps of:
1)The associated configuration of the first equipment and the second equipment is carried out by the 3rd equipment;
2)With postponing, the first equipment sends instructions to the second equipment by hardware trigger;
3)The client layer of the second equipment after the instruction for receiving the first equipment, judge this command source whether with match in advance Information be consistent, if it is judged that being yes, then receive instruction, if the judgment is No, then ignore instruction.
Further, first equipment, the communication between the second equipment and the 3rd equipment are all based on ICP/IP protocol.
Further, the first described equipment, the second equipment, the 3rd equipment are in same LAN.
Further, the associated configuration includes the configuration of MAC Address, network ID and port numbers index value.
Further, the information of configuration is stored in the memory of the first equipment and the second equipment.
Used as a kind of modification, described method also includes:The 4th described equipment and the first equipment can also pass through the 3rd Equipment is carrying out MAC Address, network ID and port numbers index value associated configuration;After associated configuration success, the described 4th sets It is standby to receive the instruction from the first equipment and carry out the order for determining whether to be currently needed for performing.
Used as another kind of modification, described method also includes, the 5th described equipment and the 6th equipment can pass through the 3rd Equipment come carry out MAC Address, network ID and port numbers index value matching;After associated configuration success, the 6th described equipment can So that reception is from the instruction of the 5th equipment and carries out determining whether to be currently needed for the order for performing.
Another technical problem to be solved by this invention is to provide a kind of system of Wi-Fi associations triggering, the system bag Include:
First equipment, can control other associations in described association triggering system and set with other equipment associated configuration It is standby;
Second equipment, can receive other associations in described association triggering system and set with other equipment associated configuration Standby instruction control;
3rd equipment, for the first equipment and the associated configuration of the second equipment, and can receive from the first equipment and second The feedback information of equipment.
The first described equipment can be connected with LAN by the Wi-Fi module of itself institute's band with the second equipment;
Further, the first described equipment, the communication between the second equipment and the 3rd equipment are all based on ICP/IP protocol.
Further, the associated configuration between the first described equipment and the second equipment mainly includes MAC Address, network ID And port numbers index value.
Further, it is stored in after the first described equipment and the associated configuration information configuration success of the second equipment respective In memory.
The first described equipment and the second equipment can be associated configuration by the 3rd equipment;Associated configuration is mainly wrapped Include MAC Address, network ID and the port index value of configuration object;After configuration successful, configuration information can be stored in respective In memory module, the first described equipment can assign instruction by hardware trigger to the other equipment of LAN, and instruction is logical Cross ICP/IP protocol to issue, the client layer of the second equipment is being received after the control data of the first equipment, and client layer can basis Present instruction judged received instruction whether be pre-configured with from same equipment, if it is judged that be it is yes, Then receive instruction, if the judgment is No, then denied access request.
Used as a kind of modification, described Wi-Fi associations triggering system also includes:The 4th equipment in LAN, can Pairing is associated by the 3rd equipment come carry out MAC Address, network ID and port index value with the first equipment;Configuration successful Afterwards, the first equipment assigns instruction by hardware trigger to the other equipment of LAN, instructs by under own ICP/IP protocol Send out, the client layer of the 4th equipment is being received after the control data of the first equipment, and client layer can be sentenced according to present instruction Disconnected received instruction whether be pre-configured with from same equipment, if it is judged that being yes, then receive instruction, if It is judged as NO, then refuses control data.
In an example, the first described equipment is controller, and the second described equipment and the 4th equipment are driving Device, the 3rd described equipment are gateway;
The first described device controller, it may include Wi-Fi module, memory and processor;The first described device controller Control instruction can be sent to the second equipment by ICP/IP protocol;
The second described device driver, it may include Wi-Fi module, memory and processor and drive circuit;Described deposits Relevant configuration information can be stored in reservoir, and the program stored in calling memory by the processor, to perform following steps:Institute The client layer of the second equipment stated receives the control instruction based on own ICP/IP protocol;The client layer of second equipment judges The control instruction for being received whether be pre-configured with from same equipment, if it is judged that being yes, then receive instruction, drive Dynamic circuit performs the corresponding command, if it is judged that being no, then refuses control data.
The 3rd described device gateway, can change messaging parameter, the network information configuration of each sub- equipment in network, carry out Region division and equipment control.
Furthermore, it is understood that the first described device controller and the second device driver are carried out by the 3rd device gateway The association pairing of MAC Address, network ID and port index value.
The invention has the beneficial effects as follows:By technical scheme, can be realized by own ICP/IP protocol The control of Wi-Fi associate devices, solves the limitation that intelligent home device can only be communicated by ZigBee, due to The family life that Wi-Fi belongs to compares the data communication mode of popularization, and itself applies extremely wide, therefore, realize that Wi-Fi is associated Equipment is controlled to smart home field there is provided more wide development space, is that the user of smart home brings more preferable body Test.
Description of the drawings
Fig. 1 is a kind of schematic flow sheet of the method for Wi-Fi associations triggering of the present invention.
A kind of system architecture composition figure of the Wi-Fi associations triggering system of Fig. 2 positions present invention.
Specific embodiment
For making the purpose of the present invention, technical scheme clearer, further detailed is made to the present invention below in conjunction with accompanying drawing It is thin to describe.
Embodiment 1, a kind of method of Wi-Fi associations triggering.
The schematic flow sheet of the method for the Wi-Fi association triggerings of Fig. 1 positions present invention, as shown in figure 1, the embodiment of the present invention Method includes:
Step S11, association pairing.
Step S12, the 3rd equipment issue associated configuration instruction.
Step S13, the first equipment receive the configuration-direct of the 3rd equipment with the second equipment and are configured;If be configured to Work(, then execution step S14, configuration failure, then execution step S15.
Step S14, configuration information are preserved, and will be configured to work(feedback of the information to the 3rd equipment.
Step S15, returns failure information to the 3rd equipment.
Step S21, hardware trigger, transmitting order to lower levels.
Step S22, second equipment user's layer receive instruction, and are judged, if be consistent with unpaired message is associated, If it is judged that being yes, then execution step S23;If it is judged that being no, then execution step S24.
Step S23, performs order, receives control data;
Step S24, ignores order, refuses command request.
During the association pairing of step S13, configuration information is mainly MAC Address, network ID and port numbers index value;
The client layer of embodiment can include podium level, protocol layer and application layer.
Communications protocol in embodiment is self-defining ICP/IP protocol.
Second equipment user's layer upon receipt of the instructions, first determines whether destination address and source address, network ID and end Whether whether slogan consistent with the MAC Address preserved in memory module, if it is judged that being yes, then receives instruction;If sentenced Disconnected result is no, then ignore order, refuses command request.
Embodiment 2, a kind of Wi-Fi associate triggering system.
Fig. 2 is the system structure diagram of the Wi-Fi associate devices of the present invention.As shown in Fig. 2 the embodiment of the present invention Wi-Fi associations triggering system may include:First equipment 31, the second equipment 32, the 3rd equipment 33, router 34.
First equipment 31, including Wi-Fi module 311, processor 312, memory 313, power circuit 314;Described One equipment can be controller, can export and assign control command to the second equipment 32;
Second equipment 32, including Wi-Fi module 311, processor 321, drive circuit 322, power circuit 323, memory 324; The second described equipment can be driver, can receive the control instruction of the first equipment, and perform control action, controlled output Circuit;
3rd equipment 33, can be gateway, and gateway can assign association matched order to the first equipment 31 and the second equipment 32, and Receive from the first equipment 31 and the feedback information of the second equipment 32.
First device controller 31 is connected with router 34 by Wi-Fi module 311 respectively with the second device driver 32, 3rd device gateway 33 can pass through Wi-Fi module 311 or be wiredly connected to router 34;3rd equipment 33 passes through TCP/IP Agreement issues associated configuration and instructs to the first equipment 31 and the second equipment 32, and two equipment are carried out after associated configuration instruction is received Configuration, after configuration successful, feedback successful information give the 3rd equipment 33, and by configuration information such as MAC Address, network ID and Port index value is stored into the memory 324 of the memory 313 of the first equipment 31 and the second equipment 32 respectively;If configuration is not Success, returns failure information to the 3rd equipment 33.
After configuration successful, the first device controller 31 assigns instruction by hardware trigger;Instruction is by self-defining TCP/ IP agreement assigns instruction to the equipment of LAN, and the client layer of the second equipment 32 first determines whether target upon receipt of the instructions Whether whether address and source address, network ID and port numbers consistent with the MAC Address preserved in memory module, if it is determined that As a result it is yes, then processor 321 receives instruction, drives the output of output circuit 322, and implementing result is fed back to into the 3rd equipment 33;If it is judged that being no, then processor 321 ignores order, refuse command request, and implementing result fed back to the 3rd to set Standby 33.
Enumerated above is only present pre-ferred embodiments, can not limit certainly the right model of the present invention with this Enclose, therefore, the equivalent variations done according to the claims in the present invention still belong to the scope covered by the present invention.

Claims (10)

1. a kind of method that Wi-Fi associations are triggered, it is characterised in that:Comprise the following steps,
1)The associated configuration of the first equipment and the second equipment is carried out by the 3rd equipment;
2)With postponing, the first equipment sends instructions to the second equipment by hardware trigger;
3)The client layer of the second equipment after the instruction for receiving the first equipment, judge this command source whether with match in advance Information be consistent, if it is judged that being yes, then receive instruction, if the judgment is No, then ignore instruction.
2. method according to claim 1, it is characterised in that:First equipment, between the second equipment and the 3rd equipment Communication be all based on ICP/IP protocol.
3. method according to claim 1, it is characterised in that:Described the first equipment, the second equipment, the 3rd equipment are in In same LAN.
4. method according to claim 1, it is characterised in that:The associated configuration includes MAC Address, network ID and end The configuration of slogan index value.
5. method according to claim 1, it is characterised in that:The information of configuration is stored in the first equipment and the second equipment In memory.
6. the system that a kind of Wi-Fi associations are triggered, it is characterised in that:Including,
First equipment, can control other associations in described association triggering system and set with other equipment associated configuration It is standby;
Second equipment, can receive other associations in described association triggering system and set with other equipment associated configuration Standby instruction control;
3rd equipment, for the first equipment and the associated configuration of the second equipment, and can receive from the first equipment and second The feedback information of equipment.
7. system according to claim 6, it is characterised in that:Described the first equipment, the second equipment and the 3rd equipment it Between communication be all based on ICP/IP protocol.
8. system according to claim 6, it is characterised in that:Associating between the first described equipment and the second equipment is matched somebody with somebody Put.
9. system according to claim 6, it is characterised in that:The associated configuration letter of the first described equipment and the second equipment It is stored in respective memory after breath configuration successful.
10. system according to claim 6, it is characterised in that:The first described equipment is controller, and described second sets Standby and the 4th equipment is driver, and the 3rd described equipment is gateway;
The first described device controller includes Wi-Fi module, memory and processor;The first described device controller can lead to Cross ICP/IP protocol control instruction is sent to the second equipment;
The second described device driver includes Wi-Fi module, memory and processor and drive circuit;Described memory In can store relevant configuration information, the program stored in calling memory by the processor, to perform following steps:Described The client layer of the second equipment receives the control instruction based on own ICP/IP protocol;The client layer of second equipment judges to be connect The control instruction of receipts whether be pre-configured with from same equipment, if it is judged that being yes, then receive instruction, drive electricity Road performs the corresponding command, if it is judged that being no, then refuses control data;
The 3rd described device gateway can change the messaging parameter of each sub- equipment in network, network information configuration, carry out area Domain divides and equipment control.
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 true CN106534258A (en) 2017-03-22
CN106534258B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302763A (en) * 2017-05-26 2017-10-27 北京小鸟看看科技有限公司 Realize method, client terminal device and the system that display device is bound with accessory worn

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808559A (en) * 2015-04-24 2015-07-29 深圳市彩易生活科技有限公司 Wireless switch control method, system and related equipment
CN105093944A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and cloud data processing method based on the intelligent household system
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
CN105430760A (en) * 2015-10-30 2016-03-23 上海摩软通讯技术有限公司 Method and system for connection between equipment
WO2016047917A1 (en) * 2014-09-25 2016-03-31 삼성전자주식회사 Device and method for sharing contents in electronic device with other electronic device

Patent Citations (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
CN104808559A (en) * 2015-04-24 2015-07-29 深圳市彩易生活科技有限公司 Wireless switch control method, system and related equipment
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
CN105430760A (en) * 2015-10-30 2016-03-23 上海摩软通讯技术有限公司 Method and system for connection between equipment

Cited By (2)

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

Also Published As

Publication number Publication date
CN106534258B (en) 2020-02-04

Similar Documents

Publication Publication Date Title
CN105471686A (en) Terminal control method, terminal control apparatus and system
RU2013127235A (en) WIRELESS NETWORK INTERFACE WITH INFRASTRUCTURE AND DIRECT MODES
CN103475703A (en) Intelligent home equipment control method based on ZigBee network
WO2003026184A3 (en) Method for detecting and regulating identifier overlap on power line communication network, electronic appliance connected to subnet of power line communication network, and communication module used in electronic appliance
CN102983982B (en) Average voltage distribution method, system and multiport power receiving equipment
CN109039840A (en) Zigbee network-building method and access point gateway
CN110262356A (en) Confess electric control system, wireless controller and wireless connection method and control method
CN105871995A (en) Method for controlling intelligent device by router and the router
CN103687065A (en) Method for pairing and connecting intelligent terminal and wireless network sound equipment
CN105991555A (en) 6LoWPAN-based network connection method and system
CN106534258A (en) Wi-Fi association triggering method and system
WO2003026186A3 (en) Subnet of power line communication network, method for setting up the same, electronic appliance connected to the same, and communication module used in electronic appliance
CN104346845A (en) Access control system, method and device
CN102143165B (en) Method, network switch and network system for authenticating terminals
CN114025336B (en) Bluetooth communication system
US20110138209A1 (en) Method to control sleep mode, and terminal and apparatus thereof
US20100214967A1 (en) Method and System for Adding a New Connection Identifier to an Existing Power Save Class
CN101909009A (en) Routing method, routing system and service gateway in intelligent home system
CN105182943A (en) Intelligent building monitoring system based on Android and power carrier
CN105471925B (en) The intelligent lock system of function editor and management are realized based on specified network signal
CN104617989A (en) Method and terminal for changing terminal working mode based on a Bluetooth beacon
CN104703250A (en) Method for configuring PANID (personal area network identifier) on ZigBee terminal
CN104683128B (en) A kind of method and apparatus reducing family's multimedium networked terminals system energy consumption
CN102546164A (en) Method and device for license control of optical network unit
CN102143033B (en) Method and equipment for controlling multicast flow

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