CN106973001A - A kind of mixed networking and its method of work and application based on ZigBee and RS485 - Google Patents

A kind of mixed networking and its method of work and application based on ZigBee and RS485 Download PDF

Info

Publication number
CN106973001A
CN106973001A CN201710180430.XA CN201710180430A CN106973001A CN 106973001 A CN106973001 A CN 106973001A CN 201710180430 A CN201710180430 A CN 201710180430A CN 106973001 A CN106973001 A CN 106973001A
Authority
CN
China
Prior art keywords
zigbee
gating
gating devices
nodes
gateways
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
CN201710180430.XA
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.)
Shandong University
Original Assignee
Shandong University
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 Shandong University filed Critical Shandong University
Priority to CN201710180430.XA priority Critical patent/CN106973001A/en
Publication of CN106973001A publication Critical patent/CN106973001A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/46Interconnection of 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]
    • 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/16WPBX [Wireless Private Branch Exchange]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a kind of mixed networking based on ZigBee and RS485 and its method of work and application.Mixed networking of the present invention based on ZigBee and RS485, the function of the advantage of many equipment communications and the multinode communication of ZigBee communication network, the effective transmission for carrying out access information can be carried out by combining traditional RS485 circuits;The shortcoming that traditional RS485 communication lines connect up complicated and ZigBee communication node somewhat expensive in construction is overcome, networking mode can flexibly be selected according to gate inhibition's distribution situation;Gate control system simple to operate in later stage gate inhibition's maintenance process, being communicated than traditional RS485, positioning and investigation failure are easy.

Description

A kind of mixed networking and its method of work and application based on ZigBee and RS485
Technical field
The present invention relates to a kind of mixed networking based on ZigBee and RS485 and its method of work and application, belong to electronics The technical field of information communication.
Background technology
Gate control system is the system being managed to exit and entrance, and it is developed on the basis of traditional mechanical door lock And come, either the electronic password lock gate inhibition at initial stage still have now been attained wide variety of RFID sensing cassette gate inhibition and Emerging finger-print type gate inhibition and iris gate inhibition be unable to do without the network delivery of card information, and gate inhibition's networking is played to systematic function to pass Important effect, is especially installed to the data throughout and stability and system construction of system.
Networking of the prior art is largely to use RS485 communication modes.Chinese patent CN105528818A discloses one Kind be based on gate control system, the system include server, communication converter, controller, memory, card reader, electromagnetic lock, go out by Button, fire-fighting link module and stand-by power supply;Memory is used for the emergency such as power failure suddenly as second data storage method The storage of lower data.Communication converter is responsible for carrying out RS485 communication conversions, and fire-fighting link module is responded for fire protection warning, standby Unit mouthful access control equipment is powered when being responsible for unexpected have a power failure with power supply.
Constructing communication network communication distance is carried out using RS485 long, can carry out multichannel communication multiple telecommunication, many gate inhibitions' work, in low speed, short Distance, glitch-free occasion can use common twisted-pair feeder;In high speed, Long line transmission, using impedance matching (generally 120 Ω) RS485 private cables (STP-120 Ω), interference rugged environment under use armored type paired shield cable (ASTP-120Ω);But RS485 is typically half-duplex operation, communication distance is easily interfered within 1200 meters, impedance Matching influences larger to communication efficiency, and then reduces a part of power.
During for live gate inhibition's construction such as building, communication line long RS485 is to construction requirement threading and cloth Line requires comparatively laborious, and to the wall damages of building than larger, wiring can be effectively reduced by the method for radio communication Difficulty and the destruction to wall, eliminate a large amount of manpowers and wire rod cost, with low cost, and it is good that central controller updates real-time.
There is the mode networked including WIFI with ZigBee in existing wireless communications gate inhibition's technology.Chinese patent CN104504790A discloses a kind of radio entrance guard control system, mainly includes master server layer, embedded server layer, WiFi Transport layer, ZigBee telegons key-course, ZigBee node key-course Pyatyi level, each level can flexibly arrange in pairs or groups to be formed 6 kinds fit Answer the big mini system of different application scene.System that employs ZigBee and WiFi home control network communication protocols and combine embedded processing Device integrated management gate control system.
The gate inhibition of wireless communication network is high to each radio node QoS requirement, requires high to network delay, single nothing The cost of line communication node is higher, for the gate control system with multiple gates, if one communication node of each node installation, Cost is greatly increased, and is also wanted extra to the supply line of each node and connected up.
The content of the invention
In view of the shortcomings of the prior art, the present invention provides a kind of mixed networking based on ZigBee and RS485.
The present invention provides a kind of method of work of the above-mentioned mixed networking based on ZigBee and RS485.
Present invention offer is a kind of to include the gate control system of the above-mentioned mixed networking based on ZigBee and RS485.
Term explanation:
1st, ZigBee gateways (Co-ordinator), is to start a kind of equipment with Configuration network, is the centromere of network Point a, ZigBee-network only allows have a ZigBee gateway;
2nd, ZigBee routing nodes (Router), is a kind of equipment for supporting association, can forward the message to other and set Standby, ZigBee-network can have multiple ZigBee routing nodes;
3rd, ZigBee terminal devices (End Device), the equipment for performing concrete function.
3 kinds of equipment above can be divided into full-function device (FFD) and half function device (RFD) according to functional completeness.Its In, full-function device can be as telegon, router or terminal device, and half function device can only be used as terminal device.One FFD can communicate with the other FFD of multiple RFD or multiple, and a RFD can only communicate with a FFD.
The technical scheme is that:
A kind of mixed networking based on ZigBee and RS485, including zigbee gateways, zigbee terminal nodes and RS485 Gating device;Mixed networking uses tree network topology structure, and ZigBee gateways are the root node of tree network;Zigbee gateways lead to Zigbee terminal nodes are crossed to be connected with RS485 gating devices.
Zigbee gateways be network central controller, to whole ZigBee systems carry out network management, be responsible for formed and Control the flow of each member in network topology, coordination network.
Zigbee terminal nodes are responsible for sending and receiving the terminal of the network information and are responsible for conversion and the place of 485 signals Reason.
RS485 gating devices are the control nodes of hybrid network, are responsible for the transmitting-receiving of 485 signals, receive and come from ZigBee terminals The authorization message and command information of node;The working condition for sending RS485 gating devices controls bottom to ZigBee terminal nodes Hardware device (control authorization message writes flash storage, card reader work, door interlock switch etc.);Each ZigBee terminal sections Point has RS485 communication capacities, and multiple RS485 gating devices carry out RS485 communications with nearest ZigBee terminal nodes, realized whole The networking of individual gate control system.
Choosing is had according to the present invention, the area that each zigbee terminal nodes are in charge of region is 10 ㎡.If gate inhibition's network Distribution distance can carry out cable access network than larger.
Choosing is had according to the present invention, the zigbee terminal nodes pass through ZigBee routing nodes and the zigbee gateways Connection;Between zigbee terminal nodes and zigbee routing nodes, pass through between zigbee routing nodes and zigbee gateways 2.4GHz wireless zigbee communication protocols connection.ZigBee routing nodes are responsible for the flow of a part of network memberses of management and control (ZigBee terminal nodes are not to be all directly connected to zigbee gateways, and part ZigBee terminal sections are route by ZigBee Node is connected to ZigBee gateways, so that the quantity for the ZigBee node for being connected to gateway is reduced, while being also just responsible for control The flow of part), the control command of zigbee network gateway is sent and received, is responsible for the transfer and transmission of the network information.
Choosing is had according to the present invention, described zigbee gateways are realized based on ARM Cortex-A9.ARM Cortex-A9 Internal memory reaches as high as 8M, the L1 cache arrangements of 16,32 or 64KB 4 tunnels association is supported, for optional L2 caches control Device processed, could support up 8MB L2 cache arrangements, and they have high flexibility.
Choosing is had according to the present invention, ZigBee terminals section and ZigBee routing nodes are provided with identification code;RS485 is gated Device is provided with gating device coding;ZigBee gateways, ZigBee routing nodes and ZigBee terminal nodes are provided with and represent node The type codes of type.Identification code is the short address code of one 16, and 16 short addresses are used to identify equipment in the home network, when One node will allocate it short address when adding network by its father node.
It is further preferred that the type codes that the type codes of ZigBee gateways are 0, ZigBee routing nodes are 1, ZigBee whole The type codes of end node are 2.Type codes are used for recognition node type.
A kind of method of work of the above-mentioned mixed networking based on ZigBee and RS485, including step are as follows:
1) zigbee terminal nodes and ZigBee routing nodes add the zigbee that the identification of zigbee gateways is added after network The type codes and identification code of terminal section, ZigBee routing nodes, ZigBee terminal nodes are added from the ZigBee terminal nodes Closest ZigBee routing nodes or the type codes of ZigBee gateways;ZigBee terminal nodes are determined from the nodal distance Nearest routing node or the method for ZigBee gateway nodes are:ZigBee terminal nodes are by way of channel energy is scanned The node specified in channel is searched, sort ascending is carried out to node according to channel energy measured value, selection energy maximum ZigBee routing nodes or ZigBee gateway nodes, belong to the communication line of known apart from determination method.
The gating device coding is the gating device coding in the unique encodings for indicating each gating device, each hybrid network All it is unique, by the toggle switch of 16, defines 655536 gating device codings, most controllable 65536 gating devices.
2) zigbee gateways, zigbee terminal nodes and the initialization of RS485 gating devices;RS485 gating devices are passed sequentially through The gating device that ZigBee terminal nodes, ZigBee routing nodes report RS485 gating devices to ZigBee gateways is encoded and work shape State;ZigBee terminal nodes report the identification code of ZigBee terminal sections to ZigBee gateways;ZigBee routing nodes are to ZigBee Gateway reports the identification code of ZigBee routing nodes;The gating device coding and work shape of ZigBee gateways record RS485 gating devices State, the identification code of ZigBee terminal sections, the identification code of ZigBee routing nodes simultaneously encode the gating device of RS485 gating devices and work Server is sent to as state;Gating device coding, the identification code of ZigBee routing nodes and the ZigBee terminals of RS485 gating devices The identification code of section constitutes routing iinformation;RS485 terminal nodes are not directly connected to server, but it is whole to be first coupled to ZigBee End node, is then sent to server by ZigBee-network again, combines two kinds of communication mode RS485 communications and ZigBee Wireless Network Communication.
The identification code of ZigBee terminal nodes is unique sign of zigbee terminal nodes, is the sign of network route;
3) when server distributing authentication information, the authorization message is sent to ZigBee gateways, ZigBee by server Gateway is searched by the routing iinformation and issues route, passes sequentially through identification code, the ZigBee terminal sections of ZigBee routing nodes The identification code of point and the gating device coding of RS485 gating devices find the RS485 gating devices specified, and the authorization message is issued to In the flash storage of RS485 gating devices, the mandate to specifying gate is realized;
4) when server request RS485 gating devices upload information, solicited message is by recording in ZigBee gateways Routing iinformation finds the RS485 gating devices specified, and appointed RS485 gating devices are received after solicited message in resolution request message Request bag, the information that need to be uploaded is uploaded onto the server.
According to currently preferred, the step 2) in, the working condition of RS485 gating devices includes, if can normally read Take flash storage, if can just be often connected to card reader, whether clock reads normally.
According to currently preferred, the step 3) in authorization message include, authorize card number, authorize the time;When one When RS485 gating devices control multiple, authorization message also includes corresponding door number.
According to currently preferred, the step 4) in, the information that described need are uploaded includes, the control of RS485 gating devices Authorization message and RS485 gating device card reader numbers in the number of door, RS485 gating device internal times, RS485 gating devices. Authorization message in RS485 gating devices is the door of gating device management, and which card can open this door, example period in which Such as, 0000000004 this card can open door between 20170312 to 20170326.
According to currently preferred, the step 3) in, the authorization message is sent by the form of packet, the number According to the gating device coding including authorization message and RS485 gating devices in bag, when ZigBee terminal nodes receive ZigBee gateways Or after the packet of ZigBee routing nodes, packet is untied first, the information in packet is repacked, is sent to specified RS485 gating devices.
According to currently preferred, ZigBee terminal nodes also send command information to RS485 gating devices;Described instruction Information includes, and inquires whether RS485 gating devices work is normal, and RS485 gating devices control the quantity of door, request RS485 gates Device returns to the authorization message in record information of swiping the card, the request current flash storage of RS485 gating devices.This step is used for regular Monitoring and record RS485 gating devices working condition.
A kind of gate control system including the mixed networking based on ZigBee and RS485 includes, the service being sequentially connected Device, ZigBee gateways, ZigBee terminal nodes, RS485 gating devices and electronic lock;The RS485 gating devices are also associated with reading Card device;Ups power is connected with card reader, RS485 gating devices and electronic lock respectively;The ups power also passes through switch and electricity Cervical orifice of uterus lock connection.
Beneficial effects of the present invention are:
1st, the mixed networking of the present invention based on ZigBee and RS485, combine traditional RS485 circuits can carry out it is many The advantage of equipment communication and the function of the multinode communication of ZigBee communication network, the effective transmission for carrying out access information;
2nd, the mixed networking of the present invention based on ZigBee and RS485, overcomes traditional RS485 communication lines in construction Complicated and ZigBee communication node somewhat expensive the shortcoming of upper wiring, can flexibly select networking side according to gate inhibition's distribution situation Formula;
3rd, the mixed networking of the present invention based on ZigBee and RS485, it is simple to operate in later stage gate inhibition's maintenance process, The gate control system communicated than traditional RS485, positioning and investigation failure are easy.
Brief description of the drawings
Fig. 1 is the structural representation of the mixed networking of the present invention based on ZigBee and RS485;
Fig. 2 is the structural representation of gate control system of the present invention.
Embodiment
With reference to embodiment and Figure of description, the present invention will be further described, but not limited to this.
Embodiment 1
As shown in Figure 1.
A kind of mixed networking based on ZigBee and RS485, including zigbee gateways, zigbee terminal nodes and RS485 Gating device;Mixed networking uses tree network topology structure, and ZigBee gateways are the root node of tree network;Zigbee gateways lead to Zigbee terminal nodes are crossed to be connected with RS485 gating devices.
Zigbee gateways be network central controller, to whole ZigBee systems carry out network management, be responsible for formed and Control the flow of each member in network topology, coordination network.
Zigbee terminal nodes are responsible for sending and receiving the terminal of the network information and are responsible for conversion and the place of 485 signals Reason.
RS485 gating devices are the control nodes of hybrid network, are responsible for the transmitting-receiving of 485 signals, receive and come from ZigBee terminals The authorization message and command information of node;The working condition for sending RS485 gating devices controls bottom to ZigBee terminal nodes Hardware device (control authorization message writes flash storage, card reader work, door interlock switch etc.);Each ZigBee terminal sections Point has RS485 communication capacities, and multiple RS485 gating devices carry out RS485 communications with nearest ZigBee terminal nodes, realized whole The networking of individual gate control system.
Embodiment 2
Mixed networking as described in Example 1 based on ZigBee and RS485, except that, each zigbee terminals The area that node is in charge of region is 10 ㎡.
Embodiment 3
Mixed networking as described in Example 1 based on ZigBee and RS485, except that, the zigbee terminals Node is connected by ZigBee routing nodes with the zigbee gateways;Zigbee terminal nodes and zigbee routing nodes it Between, the wireless zigbee communication protocols between zigbee routing nodes and zigbee gateways by 2.4GHz are connected.ZigBee Routing node is responsible for the flows of a part of network memberses of management and control, and (ZigBee terminal nodes are not all direct with zigbee gateways Connection, part ZigBee terminals section is connected to ZigBee gateways by ZigBee routing nodes, gateway is connected to so as to reduce ZigBee node quantity, while being also just responsible for controlling the flow of part), send and receive the control of zigbee network gateway System order, is responsible for the transfer and transmission of the network information.
Embodiment 4
Mixed networking as described in Example 1 based on ZigBee and RS485, except that, described zigbee nets Close and realized based on ARM Cortex-A9.ARM Cortex-A9 internal memories reach as high as 8M, support the association of 16,32 or 64KB 4 tunnels L1 cache arrangements, for optional L2 director caches, could support up 8MB L2 cache arrangements, and they have There is high flexibility.
Embodiment 5
The mixed networking based on ZigBee and RS485 as described in Example 1, except that, ZigBee terminals section and ZigBee routing nodes are provided with identification code;RS485 gating devices are provided with gating device coding;ZigBee gateways, ZigBee roads The type codes for representing node type are provided with by node and ZigBee terminal nodes.Identification code is the short address of one 16 Code, 16 short addresses are used to identify equipment in the home network, by by its father node when a node adds network Allocate it short address.
Embodiment 6
Mixed networking as described in Example 5 based on ZigBee and RS485, except that, the class of ZigBee gateways Type code is that the type codes of 0, ZigBee routing nodes are that the type codes of 1, ZigBee terminal nodes are 2.Type codes, which are used to recognize, to be saved Vertex type.
Embodiment 7
The method of work of mixed networking based on ZigBee and RS485 described in a kind of embodiment 1-6, including step are as follows:
1) zigbee terminal nodes and ZigBee routing nodes add the zigbee that the identification of zigbee gateways is added after network The type codes and identification code of terminal section, ZigBee routing nodes, ZigBee terminal nodes are added from the ZigBee terminal nodes Closest ZigBee routing nodes or the type codes of ZigBee gateways;ZigBee terminal nodes are determined from the nodal distance Nearest routing node or the method for ZigBee gateway nodes are:ZigBee terminal nodes are by way of channel energy is scanned The node specified in channel is searched, sort ascending is carried out to node according to channel energy measured value, selection energy maximum ZigBee routing nodes or ZigBee gateway nodes, belong to the communication line of known apart from determination method.
The gating device coding is the gating device coding in the unique encodings for indicating each gating device, each hybrid network All it is unique, by the toggle switch of 16, defines 655536 gating device codings, most controllable 65536 gating devices.
2) zigbee gateways, zigbee terminal nodes and the initialization of RS485 gating devices;RS485 gating devices are passed sequentially through The gating device that ZigBee terminal nodes, ZigBee routing nodes report RS485 gating devices to ZigBee gateways is encoded and work shape State;ZigBee terminal nodes report the identification code of ZigBee terminal sections to ZigBee gateways;ZigBee routing nodes are to ZigBee Gateway reports the identification code of ZigBee routing nodes;The gating device coding and work shape of ZigBee gateways record RS485 gating devices State, the identification code of ZigBee terminal sections, the identification code of ZigBee routing nodes simultaneously encode the gating device of RS485 gating devices and work Server is sent to as state;Gating device coding, the identification code of ZigBee routing nodes and the ZigBee terminals of RS485 gating devices The identification code of section constitutes routing iinformation;RS485 terminal nodes are not directly connected to server, but it is whole to be first coupled to ZigBee End node, is then sent to server by ZigBee-network again, combines two kinds of communication mode RS485 communications and ZigBee Wireless Network Communication.
The identification code of ZigBee terminal nodes is unique sign of zigbee terminal nodes, is the sign of network route;
3) when server distributing authentication information, the authorization message is sent to ZigBee gateways, ZigBee by server Gateway is searched by the routing iinformation and issues route, passes sequentially through identification code, the ZigBee terminal sections of ZigBee routing nodes The identification code of point and the gating device coding of RS485 gating devices find the RS485 gating devices specified, and the authorization message is issued to In the flash storage of RS485 gating devices, the mandate to specifying gate is realized;
4) when server request RS485 gating devices upload information, solicited message is by recording in ZigBee gateways Routing iinformation finds the RS485 gating devices specified, and appointed RS485 gating devices are received after solicited message in resolution request message Request bag, the information that need to be uploaded is uploaded onto the server.
Embodiment 8
The method of work of mixed networking as described in Example 7 based on ZigBee and RS485, except that, it is described Step 2) in, the working condition of RS485 gating devices includes, if can normally read flash storage, if can just be often connected to Whether card reader, clock reads normally.
Embodiment 9
The method of work of mixed networking as described in Example 7 based on ZigBee and RS485, except that, it is described Step 3) in authorization message include, authorize card number, authorize the time;When a RS485 gating device controls multiple, Also include corresponding door number.
Embodiment 10
The method of work of mixed networking as described in Example 7 based on ZigBee and RS485, except that, it is described Step 4) in, the information that described need are uploaded includes, the number of RS485 gating devices control door, RS485 gating device internal times, Authorization message and RS485 gating device card reader numbers in RS485 gating devices.Authorization message in RS485 gating devices is the door The door of device management is controlled, which card can open this door period in which, for example, 0000000004 this card can be Door is opened between 20170312 to 20170326.
Embodiment 11
The method of work of mixed networking as described in Example 7 based on ZigBee and RS485, except that, it is described Step 3) in, the authorization message is sent by the form of packet, and authorization message is included in the packet and RS485 is gated The gating device coding of device, it is first after ZigBee terminal nodes receive the packet of ZigBee gateways or ZigBee routing nodes Packet is first untied, the information in packet is repacked, the RS485 gating devices specified are sent to.
Embodiment 12
The method of work of mixed networking as described in Example 7 based on ZigBee and RS485, except that, ZigBee terminal nodes also send command information to RS485 gating devices;Described command information includes, and inquires that the RS485 is gated Whether device work is normal, and RS485 gating devices control the quantity of door, and request RS485 gating devices return to record information of swiping the card, request Authorization message in the current flash storage of RS485 gating devices.This step is used to regularly monitoring and recording RS485 gating devices Working condition.
Embodiment 13
As shown in Figure 2.
A kind of gate control system based on mixed networking described in embodiment 1-6 includes, server, the ZigBee nets being sequentially connected Pass, ZigBee terminal nodes, RS485 gating devices and electronic lock;The RS485 gating devices are also associated with card reader;Ups power It is connected respectively with card reader, RS485 gating devices and electronic lock;The ups power is also connected by switch with electronic lock.

Claims (10)

1. a kind of mixed networking based on ZigBee and RS485, it is characterised in that including zigbee gateways, zigbee terminal sections Point and RS485 gating devices;Mixed networking uses tree network topology structure, and ZigBee gateways are the root node of tree network; Zigbee gateways are connected by zigbee terminal nodes with RS485 gating devices.
2. the mixed networking according to claim 1 based on ZigBee and RS485, it is characterised in that each zigbee is whole The area that end node is in charge of region is 10 ㎡.
3. the mixed networking according to claim 1 based on ZigBee and RS485, it is characterised in that the zigbee is whole End node is connected by ZigBee routing nodes with the zigbee gateways;Zigbee terminal nodes and zigbee routing nodes it Between, the wireless zigbee communication protocols between zigbee routing nodes and zigbee gateways by 2.4GHz are connected.
4. the mixed networking according to claim 1 based on ZigBee and RS485, it is characterised in that described zigbee Gateway is realized based on ARM Cortex-A9.
5. the mixed networking according to claim 1 based on ZigBee and RS485, it is characterised in that ZigBee terminal sections Identification code is provided with ZigBee routing nodes;RS485 gating devices are provided with gating device coding;ZigBee gateways, ZigBee Routing node and ZigBee terminal nodes are provided with the type codes for representing node type.
6. a kind of method of work of mixed networking based on ZigBee and RS485 as described in claim 1-5 any one, its It is characterised by, including step is as follows:
1) zigbee terminal nodes and ZigBee routing nodes add the zigbee terminals that the identification of zigbee gateways is added after network The type codes and identification code of section, ZigBee routing nodes, ZigBee terminal nodes are added from a distance from the ZigBee terminal nodes Nearest ZigBee routing nodes or the type codes of ZigBee gateways;
2) zigbee gateways, zigbee terminal nodes and the initialization of RS485 gating devices;RS485 gating devices pass sequentially through ZigBee Terminal node, ZigBee routing nodes report the gating device coding and working condition of RS485 gating devices to ZigBee gateways; ZigBee terminal nodes report the identification code of ZigBee terminal sections to ZigBee gateways;ZigBee routing nodes are to ZigBee gateways Report the identification code of ZigBee routing nodes;The gating device coding and working condition of ZigBee gateways record RS485 gating devices, The gating device of RS485 gating devices is simultaneously encoded and worked by the identification codes of ZigBee terminal sections, the identification code of ZigBee routing nodes State is sent to server;Gating device coding, the identification code of ZigBee routing nodes and the ZigBee terminal sections of RS485 gating devices Identification code constitute routing iinformation;
3) when server distributing authentication information, the authorization message is sent to ZigBee gateways, ZigBee gateways by server Searched by the routing iinformation and issue route, pass sequentially through the identification codes of ZigBee routing nodes, ZigBee terminal nodes The gating device coding of identification code and RS485 gating devices finds the RS485 gating devices specified, and the authorization message is issued to In the flash storage of RS485 gating devices, the mandate to specifying gate is realized;
4) when server request RS485 gating devices upload information, solicited message is by recording the route in ZigBee gateways Information finds the RS485 gating devices specified, and appointed RS485 gating devices receive asking in resolution request message after solicited message Bag is sought, the information that need to be uploaded is uploaded onto the server.
7. the method for work of the mixed networking according to claim 6 based on ZigBee and RS485, it is characterised in that institute State step 2) in, the working condition of RS485 gating devices includes, if can normally read flash storage, if can normally connect To card reader, whether clock reads normally;The step 3) in authorization message include, authorize card number, authorize the time;When one When RS485 gating devices control multiple, authorization message also includes corresponding door number;The information that described need are uploaded includes, RS485 gating devices control authorization message and RS485 in the number of door, RS485 gating device internal times, RS485 gating devices Control device card reader number.
8. the method for work of the mixed networking according to claim 6 based on ZigBee and RS485, it is characterised in that institute State step 3) in, the authorization message is sent by the form of packet, and authorization message and RS485 are included in the packet The gating device coding of device is controlled, after ZigBee terminal nodes receive the packet of ZigBee gateways or ZigBee routing nodes, Packet is untied first, the information in packet is repacked, and is sent to the RS485 gating devices specified.
9. the method for work of the mixed networking according to claim 6 based on ZigBee and RS485, it is characterised in that ZigBee terminal nodes also send command information to RS485 gating devices;Described command information includes, and inquires that the RS485 is gated Whether device work is normal, and RS485 gating devices control the quantity of door, and request RS485 gating devices return to record information of swiping the card, request Authorization message in the current flash storage of RS485 gating devices.
10. a kind of include the gate control system of mixed networking described in claim 1-5 any one, it is characterised in that including successively Server, ZigBee gateways, ZigBee terminal nodes, RS485 gating devices and the electronic lock of connection;The RS485 gating devices It is also associated with card reader;Ups power is connected with card reader, RS485 gating devices and electronic lock respectively;The ups power also leads to Switch is crossed to be connected with electronic lock.
CN201710180430.XA 2017-03-23 2017-03-23 A kind of mixed networking and its method of work and application based on ZigBee and RS485 Pending CN106973001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710180430.XA CN106973001A (en) 2017-03-23 2017-03-23 A kind of mixed networking and its method of work and application based on ZigBee and RS485

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710180430.XA CN106973001A (en) 2017-03-23 2017-03-23 A kind of mixed networking and its method of work and application based on ZigBee and RS485

Publications (1)

Publication Number Publication Date
CN106973001A true CN106973001A (en) 2017-07-21

Family

ID=59329568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710180430.XA Pending CN106973001A (en) 2017-03-23 2017-03-23 A kind of mixed networking and its method of work and application based on ZigBee and RS485

Country Status (1)

Country Link
CN (1) CN106973001A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111404800A (en) * 2020-03-25 2020-07-10 江苏中信博新能源科技股份有限公司 Hybrid networking communication system and method
CN112581655A (en) * 2019-09-27 2021-03-30 深圳市明德智控科技有限公司 Apartment management system with intelligent anti-theft early warning prompt

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916464A (en) * 2010-08-25 2010-12-15 华南理工大学 Zigbee technology-based access control management method and device
CN102496199A (en) * 2011-12-12 2012-06-13 山东大学 Intelligent entrance guard control system with wireless ad hoc network function and control method thereof
CN205644709U (en) * 2016-05-16 2016-10-12 厦门福信光电集成有限公司 Intelligent entrance guard controlgear based on GPRSZigbee bluetooth

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916464A (en) * 2010-08-25 2010-12-15 华南理工大学 Zigbee technology-based access control management method and device
CN102496199A (en) * 2011-12-12 2012-06-13 山东大学 Intelligent entrance guard control system with wireless ad hoc network function and control method thereof
CN205644709U (en) * 2016-05-16 2016-10-12 厦门福信光电集成有限公司 Intelligent entrance guard controlgear based on GPRSZigbee bluetooth

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张鹏: ""高档别墅区智能门禁管理***设计"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581655A (en) * 2019-09-27 2021-03-30 深圳市明德智控科技有限公司 Apartment management system with intelligent anti-theft early warning prompt
CN111404800A (en) * 2020-03-25 2020-07-10 江苏中信博新能源科技股份有限公司 Hybrid networking communication system and method

Similar Documents

Publication Publication Date Title
CN101697516A (en) Systems and methods for managing a network using active jacks
CN103516382A (en) Security system and method using wireless adapters and PoE cameras
CN108028786A (en) Control the centralized control system of the interaction and cooperation between the radio adaptation equipment run in the mesh network for supporting multiple radio communication protocols
CN105046924A (en) Intelligent farmland irrigation control system based on Internet of Things and operation method of intelligent farmland irrigation control system
CN106257949A (en) Indoor wireless communication net and Internet of things system
CN106657612A (en) Wireless networking cloud access control system and method for implementing mobile phone talkback door opening
CN106973001A (en) A kind of mixed networking and its method of work and application based on ZigBee and RS485
CN102333020A (en) Sub-district terminal network oriented security system
DE112015004293T5 (en) SERIAL-LINKED BLUETOOTH LOW-ENERGY NODES
CN105357730B (en) A kind of wireless route method and wireless kilowatt meter reading-out system
CN208013715U (en) A kind of general Internet of Things intelligent object upgrading to Yunmen taboo for common gate inhibition
CN106532960A (en) Adaptive SCADA monitoring method applicable to power supply and power distribution field
CN206865482U (en) A kind of 86 type things-internet gateways and internet of things networking system based on WiFi
CN206237495U (en) A kind of Wireless Networking Yunmen access control system
KR101697568B1 (en) System for providing main contoller based on Internet of Things network
CN209267613U (en) The broadband automatic building control system of the full distributed power line of Internet of Things
CN203070411U (en) Park lot management system based on three-in-one network
CN113597749A (en) System and method for infrastructure management system based power supply device power distribution
CN109920232A (en) Electric power multi service access terminal and management system based on NB-loT
CN112637272B (en) Electric power communication terminal and system based on thing networking intelligent distribution
KR101080949B1 (en) Apparatus for switching of remote meter system using UART
CN108717276A (en) A kind of railway vacuum unloads the long-range operation maintenance system of dirty equipment
CN107564258A (en) A kind of data transmission system and method based on wireless communication technology
CN206149399U (en) But network management structure of talkbacking of remote monitoring
CN104240476B (en) II type collectors based on TG Inwicos realize the method and system of telecommunication

Legal Events

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

RJ01 Rejection of invention patent application after publication