CN103312546B - A kind of method automatically configuring management ZigBee-network - Google Patents

A kind of method automatically configuring management ZigBee-network Download PDF

Info

Publication number
CN103312546B
CN103312546B CN201310240592.XA CN201310240592A CN103312546B CN 103312546 B CN103312546 B CN 103312546B CN 201310240592 A CN201310240592 A CN 201310240592A CN 103312546 B CN103312546 B CN 103312546B
Authority
CN
China
Prior art keywords
olt
things
internet gateway
configuration
zigbee
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.)
Expired - Fee Related
Application number
CN201310240592.XA
Other languages
Chinese (zh)
Other versions
CN103312546A (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 WOYUN TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU WOYUN 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 WOYUN TECHNOLOGY Co Ltd filed Critical HANGZHOU WOYUN TECHNOLOGY Co Ltd
Priority to CN201310240592.XA priority Critical patent/CN103312546B/en
Publication of CN103312546A publication Critical patent/CN103312546A/en
Application granted granted Critical
Publication of CN103312546B publication Critical patent/CN103312546B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method automatically configuring management ZigBee-network, it is characterised in that: for the scheme of ZigBee multiple gateway networking, introducing passive optical network and substitute Ethernet, passive optical network includes OLT, beam splitter and ONU;Wherein OLT is direct-connected with upper server;Beam splitter is connected between OLT and ONU, and its effect is so that single optical fibre is divided into multi-core fiber so that an OLT connects multichannel ONU;Described every road ONU is embedded into the wireless coordinator of ZigBee as the up optical module of Ethernet of miniaturization, described OLT unify all access devices and its port carry out overall situation coding assignment virtual logical port id.Invention when extensive remote internet of things is applied, can to the management of ZigBee-network, safeguard and carry out automation mechanized operation, it is to avoid response time length that manual maintenance is brought, easily make mistakes, problem that cost is high.

Description

A kind of method automatically configuring management ZigBee-network
Technical field
The present invention relates to a kind of method automatically configuring management ZigBee-network, particularly a kind of for ZigBee multiple gateway The method automatically configuring management ZigBee-network of the scheme of networking.
Background technology
ZigBee technology as the short range wireless transmission technology developed rapidly in recent years, possess low in energy consumption, good reliability, The radio network technique of low cost, it is a kind of technology motion between radio mark technology and bluetooth.It is mainly used near Distance wireless connections.It is according to 802.15.4 standard, and between thousands of small sensors, mutually coordinated realization communicates.These Sensor has only to little energy, by radio wave, from a network node, data is passed to another in the way of relay Node, so being considered to be best suitable for being applied to last hundred meters of technical schemes in Internet of Things field.
ZigBee and other technologies such as FSK, bluetooth, WLAN compares, and far has technical advantage, ZigBee and WLAN is common It is operated in the frequency range of 2.4G, utilizes #15, #20, #25 and #26 channel of ZIGBEE, #1, the # with 802.11b can be prevented effectively from 6, the interfering of #11 channel, therefore, ZigBee has the strongest interference free performance in the environment of low signal-to-noise ratio;Identical Environment in, ZigBee interference free performance far better than bluetooth and WLAN, be bluetooth, 1000 times of WLAN and FSK.Become at equipment This, transmission range, the aspect such as equipment power dissipation also has the biggest advantage, and therefore, ZigBee technology is primarily suitable for automatically controlling And remote control field, can embed in various equipment.ZigBee standard is set up based on 802.15.4 protocol stack, has possessed strong Big equipment networking function, network structure therein, there is the strongest network robustness and system reliability.Star Network structure Feature, supports point-to-point, point-to-multipoint delivery;It is suitable for circular dispersion, equipment networking close together;MESH mesh network topology Feature;System uses multi-hop route communication;Network capacity is the biggest;The biggest physical space can be crossed over, be suitable for distant Relatively scattered structure.
Along with the increase day by day of ZigBee technology application, complete remotely access by ZigBee gateway, inquire about, control to sense The needs of net get more and more, and use telecommunication network such as to carry out information exchange between the Internet and Internet of Things, it is achieved data remote Journey transmission and process, it has also become the important directions of the development in this field.
The major function of ZigBee gateway is data summarization and protocol translation.At up direction by the number in ZigBee-network It is sent to Ethernet according to after carrying out Ethernet protocol conversion;The data that Ethernet is then sent by down direction carry out ZigBee ZigBee-network node it is sent to after protocol conversion.Concrete scheme is with reference to figure below.
Present stage, generally Internet of Things sensing node quantity was few, conventional single ZigBee-network only one of which Gateway, the data exchange between Sensor Network and Ethernet is realized by the conversion of unique gateway.Maturation along with technology of Internet of things And the popularization of application, sensing node quantity gets more and more, needs ZigBee to arrange net and a large amount of via node need to be used to protect In card net, communication is unobstructed, and the probability being disturbed is greatly increased, and dramatically increases propagation delay time.In addition single gateway ZigBee exists The risk of Single Point of Faliure, and the external transmission channel of all nodes is carried by single gateway, there is rate limit, the biggest rule During mould networking application, multiple ZigBee gateway is used to be substantially unique scheme, as shown in Figure 1.
Substantially use multiple ZigBee gateway approach during the application of present stage large-scale network-estabilishing, gateway as with Ethernet/mutually The node that networking and ZigBee-network are linked up, including ZigBee module, TCP/IP modular converter, power management module;Wherein TCP/IP modular converter is dealt into appointment IP address and the IP of port, i.e. server for ZigBee serial data is converted into IP bag Address and port.When sending the orders such as control, inquiry when server to ZigBee-network node, by the Zigbee belonging to node The IP address of gateway and port numbers carry out related data transmission.ZigBee gateway is assisted by TCP/IP conversion module after receiving View reversely changes into ZigBee serial data, thus completes two-way data interaction.
Therefore, before real network is run, the IP address that each gateway must be the most differently configured, according to IP address registration The configuration of the aspect such as radio channel, serial ports speed is carried out to ZigBee gateway.Then the upper computer software of server is according to these Configuration information carries out corresponding configuration, sets up TCP/IP SOCKET communication, completes the construction of bidirectional data path.
The actual application of traditional scheme needs human configuration difference gateway different IP addresses, then it is enterprising to sign in different gateway The concrete radio channel of row and the isoparametric configuration of serial ports speed.Or by setting up Dynamic Host Configuration Protocol server, different gateways obtain automatically Take IP address, then searched the IP address of different gateway by special-purpose software, then click on IP address and carry out the relevant of gateway and join Put.Complete in the configuration of each ZigBee gateway, after IP address determines, software arrangements and the operation of server can be carried out.
It is many to there is operating procedure in above-mentioned traditional scheme, and operation maintenance bothers, and exists and needs human configuration, records and safeguard IP The deficiency of address.And carry out IP address searching by special-purpose software, and need user of service to be familiar with the process of special-purpose software, the softest Part often carries out IP address searching because the problem of the aspects such as network, there is the IP address searched and omits, IP address error etc. The problem of aspect.
Additionally, newly increase ZigBee gateway, or electricity, deletion under existing ZigBee gateway, or change ZigBee gateway IP address need manually to repeat aforesaid operations, one is that the IP address record using ZigBee gateway carries out synchronization and repaiies Change, additionally server upper computer software cannot be obtained automatically the state of ZigBee gateway, need to carry out human configuration foundation, delete Remove, revise TCP/IP link, otherwise automatically find link interruption by software time-out, be likely to result in upper-layer service data and lose Bag.
Summary of the invention
It is an object of the invention to, it is provided that a kind of method automatically configuring management ZigBee-network.The present invention is on a large scale During remote internet of things application, the management of ZigBee-network, maintenance can be carried out automation mechanized operation, it is to avoid manual maintenance is brought Response time length, easily make mistakes, problem that cost is high.
Technical scheme: a kind of method automatically configuring management ZigBee-network, is characterized in: for ZigBee The scheme of multiple gateway networking, introduces passive optical network and substitutes Ethernet, and passive optical network includes OLT (Optical Line terminal), beam splitter and ONU (Optical network terminal);Wherein OLT is direct-connected with upper server; Beam splitter is connected between OLT and ONU, and its effect is so that single optical fibre is divided into multi-core fiber so that an OLT connects multichannel ONU;Described every road ONU is embedded into the wireless coordinator of ZigBee, ONU and wireless association as the up optical module of Ethernet of miniaturization Device is adjusted to be combined together as a things-internet gateway;By described OLT is unified, all access devices and its port are carried out entirely Office's coding assignment virtual logical port id.
In the above-mentioned method automatically configuring management ZigBee-network, it is characterised in that described OLT is unified to all accesses Equipment and its port carry out the method for overall situation coding assignment virtual logical port id: by abstract for entirety Internet of Things transmission network be Fiber buss adds the mode of the multilevel branch bus of wireless bus, to all transmission communication nodes, including things-internet gateway, other Optical access node, radio access node and these node all of the above physical ports all distribute the virtual logical of the overall situation only Port id.
In the aforesaid method automatically configuring management ZigBee-network, described virtual logical port id is by OLT frame number, OLT Slot number, OLT pilot trench item, OLT physical port number, the subport number of OLT physical port, gateway number, gateway port number and end End device number (radio access node) forms successively.
In the aforesaid method automatically configuring management ZigBee-network, it is characterised in that also include that things-internet gateway powers on The method automatically configured, its concrete steps are followed successively by:
Things-internet gateway power-up initializing, the state that arranges is in registration, and this stage does not allow wireless terminal to access;
The time slot window that things-internet gateway distributes according to OLT is initiated to power on registration request;If the time is overtime, do not obtain OLT Answer message, then initialize complete, duty is set to WORK, it is allowed to wireless terminal access, flow process terminates;
OLT judges that things-internet gateway is the most legal, illegal issues refusal logon message, and it is quiet that things-internet gateway receives holding Writing from memory and no longer initiate registration request, the most do not allow wireless terminal to access, flow process terminates;
If things-internet gateway address is in binding table, then return and the virtual logical port of Internet of Things address binding ID, if without unnecessary virtual logical port id, does not allow registration;Need manually first to release the virtual logical port used ID and the binding of things-internet gateway, discharge the virtual logical port id of free time.
OLT distribute belonging to it in order according to the groove position belonging to things-internet gateway, port information in the range of free virtual Logic port ID, and bind the wireless short address of record things-internet gateway;
The virtual logical port id of things-internet gateway record distribution, the state that arranges is for succeeding in registration, and returned packet informs OLT Succeed in registration;
OLT obtains after succeeding in registration and distributes things-internet gateway wireless network ID, wireless channel, ensures adjacent Internet of Things net Pass does not interfere with each other;
OLT carries out configuration querying according to virtual logical port in configuration file, obtains the configuration of homologue networking gateway Information;
OLT traversal configuration information one by one distribution configuration command, and inform configuration order number;
Things-internet gateway performs all configuration orders, and after configuration successful, the state of setting is WORK, it is allowed to wireless terminal connects Enter, and return message and inform that OLT normally works;If wherein an order performs failure, then notice OLT configuration failure, after time delay Restarting to apply for the registration of, if number of repetition is more than 3 times, then things-internet gateway enters silent status, and flow process terminates;
OLT notifies upper server after receiving configuration normal return message, and flow process terminates.
In the aforesaid method automatically configuring management ZigBee-network, also include what radio access node configuration automatically configured Method, its concrete steps are followed successively by:
Things-internet gateway first determines whether, if existing waking up nodes, access network, simultaneously according to its short address with virtual patrol Collecting port id and notice the change of its state of OLT, flow process terminates;
If new node accesses, the relevant informations such as its short address are informed OLT by things-internet gateway;
OLT judges things-internet gateway legitimacy, does not conforms to rule refusal node and adds, and flow process terminates;
If legal, from distributing to radio access node virtual logical port id (allocative decision is identical with things-internet gateway), And notify things-internet gateway, the short address of things-internet gateway storage radio access node and virtual logical port id corresponding relation;
OLT reads configuration file according to virtual logical port id, issues and is configured to things-internet gateway;
Things-internet gateway carries out configuration detection, according to virtual logical port id, it is judged that the radio node configuration connect under being, obtains Take wireless short address, configuration information is carried out Zigbee protocol encapsulation, issue and be configured to radio access node, and result is reported OLT;
OLT judges radio access node type, if as just the node of relaying, then state does not report host computer, no Then reporting host computer, flow process terminates;
Said process is when optical communication fault, and things-internet gateway can process node according to original Zigbee protocol mode and connect Enter, do not carry out the message interaction between OLT.
In the aforesaid method automatically configuring management ZigBee-network, described OLT judges the legitimacy of things-internet gateway Tool method is: black, white list is issued on OLT by webmaster, or imports OLT by TELNET, FTP mode;Black, white list is The file being made up of things-internet gateway address, same things-internet gateway address does not allow to exist in black, white list simultaneously.
In the aforesaid method automatically configuring management ZigBee-network, the concrete grammar that the configuration of described things-internet gateway preserves For: things-internet gateway judges the legitimacy of virtual logical port id, if exceed span, is the most legal, otherwise abandons and joins Put;
For the configuration of things-internet gateway port, judge whether to belong to this Internet of Things net according to its virtual logical port id Close, be the most legal, otherwise abandon configuration;
Judge that configuration information attribute is whether identical with nodal community, port attribute;
Within whether configuration parameter configuration content belongs to zone of reasonableness;
Above-mentioned configuration content legality, directly invokes driving and configures corresponding depositor;
Configuration result, reports OLT.
In the aforesaid method automatically configuring management ZigBee-network, described OLT judges the legitimacy of radio access node Tool method be: black, white list is issued on OLT by webmaster, or imports OLT by TELNET, FTP mode;Black, white list The file being made up of radio access node address, same radio access node address does not allow to there is black, white list simultaneously In.
Compared with prior art, the present invention is directed to the scheme of ZigBee multiple gateway networking, it is proposed that Ethernet and ZigBee The system schema that transmission network merges, introduces EPON product technology, automatically distributes virtual logical end to ZigBee gateway Mouth ID, it is not necessary to IP address carries out gateway identification, it is to avoid set up Dynamic Host Configuration Protocol server, it is to avoid safeguard IP address.The present invention ZigBee gateway and the relevant configuration of ZigBee radio access node be can automatically carry out, ZigBee gateway and node automatically found Duty change, automatically carry out validity judgement and carry out automatic configuration, real-time informing upper computer software associated gateway Status Change and configuration change, it is to avoid the variation of IP address causes host computer treatment mechanism complexity to increase.Make extensive Internet of Things applies more automatization, real time implementation, reduces network operation and the threshold of use and cost.
Accompanying drawing explanation
Fig. 1 is the networking structure schematic diagram of prior art;
Fig. 2 is the networking structure schematic diagram of the present invention;
Fig. 3 is the flow chart of embodiment of the present invention step A2;
Fig. 4 is the flow chart of embodiment of the present invention step A3;
Fig. 5 is the flow chart of embodiment of the present invention step A10;
Fig. 6 is the flow chart of embodiment of the present invention step A11;
Fig. 7 is the flow chart of embodiment of the present invention step D3;
Fig. 8 is the flow chart of embodiment of the present invention step D6;
Detailed description of the invention
The present invention is further illustrated with embodiment below in conjunction with the accompanying drawings, but is not intended as depending on restriction of the present invention According to.
Embodiment.A kind of method automatically configuring management ZigBee-network, it is characterised in that: for ZigBee multiple gateway group The scheme of net, introduces passive optical network and substitutes Ethernet, and passive optical network includes OLT, beam splitter and ONU;Its Middle OLT is direct-connected with upper server;Beam splitter is connected between OLT and ONU, and its effect is so that single optical fibre is divided into multi-core optical Fine so that an OLT connects multichannel ONU;Described every road ONU is embedded into ZigBee as the up optical module of Ethernet of miniaturization Wireless coordinator, ONU and wireless coordinator are combined together as a things-internet gateway;Connect all by described OLT is unified Enter equipment and its port carries out overall situation coding assignment virtual logical port id.Its networking structure is as shown in Figure 2.
Under large-scale network-estabilishing applicable cases, present invention introduces passive optical network and carry out the Ethernet before instead.Nothing Source optical-fiber network is by OLT (Optical line terminal), beam splitter and ONU (Optical network terminal) group Becoming, wherein OLT is similar to core switch, and product form is identical with core switch, and position is in core engine room and host computer clothes Business device is direct-connected;Beam splitter is passive device, and its effect is so that single optical fibre is divided into multi-core fiber;ONU is similar to access switch, Can be embedded in the wireless coordinator of ZigBee as the up optical module of the Ethernet of miniaturization.The system framework of the present invention is as above schemed Shown in, ONU+ is wireless coordinator the most referred to as things-internet gateway, a large-scale OLT can be accessed by thousand of Internet of Things Gateway.
1, the definition of virtual logical port id:
The detection of automatic configuration and real-time status for completing overall network, overall Internet of Things transmission network can be abstract for light The multilevel branch bus of fine bus+wireless bus.OLT device unification carries out overall situation coding to all access devices and its port Distribution.All of configuration information and status information are all coded into line index by this, inquire about and position.Coding is defined as virtual patrolling Collect the form of port id.All transmission communication nodes, include things-internet gateway, other optical access node, radio access node with And the virtual logical port id of all allocated overall situation only of these node all of the above physical ports.
The virtual logical port id of OLT device distribution is FRAMEID.
Virtual logical port id=the FRAMEID.SLOTID.SUBSLOTID.PORTID of the physical port distribution of OLT device.
Virtual logical port id=the FRAMEID.SLOTID+SUBSLOTID.PORTID.SUBPORTID of things-internet gateway.
Virtual logical port id=the FRAMEID.SLOTID.SUBSLOTID.POR of the less radio-frequency mouth distribution of things-internet gateway TID.SUBPORTID.GATEWAYID.GW_PORTID。
Virtual logical port id=the FRAMEID.SLOTID.SUBSLOTID.PORTID.SUBPORT of wireless access terminal ID.GATEWAYID.GW_POR TID.DEVID。
Wherein the implication of each title is,
FRAMEID:OLT frame number;SLOTID:OLT slot number
SUBSLOTID:OLT pilot trench item;PORTID:OLT physical port number
Subport GATEWAYID of SUBPORTID:OLT physical port: gateway number
GW_PORTID: gateway port DEVID: terminal unit number
Such as virtual logical port id 1.1.1.1.5 represents under first physical port of No. 1 groove 1 work song groove of OLT1 5 things-internet gateways, wherein 5 is from 1.1.1.1.PORTID (choosing PORTID span 1~64) by OLT device;
Such as 1.1.1.1.5.1.1.32 represents the 5th Internet of Things under first physical port of No. 1 groove 1 work song groove of OLT1 The 32nd terminal access node under No. 1 mouth of No. 1 gateway of net gateway;
Virtual logical port numbers is not only the index of relevant configuration and status information, and comprise each node, port it Between membership relation, also contains path forward routing iinformation.It is outside webmaster and OLT configures alternately, inquires about, adds up, accuses The information that alarm message must comprise, is the design basis of extensive Internet of Things automatic configuration O&M scheme.
2, things-internet gateway powers on, and to automatically configure process as follows.
A1) networking gateway power-up initializing, the state that arranges is in registration, and this stage does not allow wireless terminal to access;
A2) the time slot window that things-internet gateway distributes according to OLT is initiated to power on registration request;If the time is overtime, do not obtain The answer message of OLT, then initialize complete, and duty is set to WORK, it is allowed to wireless terminal accesses, and flow process terminates.Specifically Stream is as shown in Figure 3.
A3) OLT judges that things-internet gateway is the most legal, illegal issues refusal logon message, and things-internet gateway receives guarantor Holding mourns in silence no longer initiates registration request, does not the most allow wireless terminal to access, and flow process terminates.Validity judgement method is with reference to next chapter Saving 2.3 things-internet gateway validity judgements, flow process is as shown in Figure 4.
A4) if things-internet gateway address is in binding table, then return and the virtual logical end of Internet of Things address binding Mouth ID, if without unnecessary virtual logical port id, does not allow registration;(need manually first to release the virtual logical used Port id and the binding of things-internet gateway, discharge the virtual logical port id of free time)
A5) free time in the range of OLT distributes belonging to it in order according to information such as the groove position belonging to things-internet gateway, ports Virtual logical port id, and bind the wireless short address of record things-internet gateway.
A6) the virtual logical port id of things-internet gateway record distribution, the state that arranges is for succeeding in registration, and returned packet is informed OLT succeeds in registration.
A7) OLT distributes things-internet gateway wireless network ID, wireless channel after obtaining and succeeding in registration, and ensures adjacent Internet of Things Net gateway does not interfere with each other.
A8) OLT carries out configuration querying according to virtual logical port in configuration file, obtains joining of homologue networking gateway Confidence ceases
A9) OLT traversal configuration information one by one distribution configuration command, and inform configuration order number;
A10) things-internet gateway performs all configuration orders, and idiographic flow preserves operation with reference to 2.4 things-internet gateway configurations Flow process.After configuration successful, the state of setting is WORK, it is allowed to wireless terminal accesses, and returns message and inform that OLT normally works, and enters Enter step 10;If wherein an order performs failure, then notice OLT configuration failure, restart after time delay to apply for the registration of, if weight Again count more than 3 times, then things-internet gateway enters silent status, and flow process terminates.Idiographic flow is as shown in Figure 5.
A11) OLT notifies host computer after receiving configuration normal return message, and flow process terminates.Internet of Things is successfully entered work State flow process as shown in Figure 6.
Wherein as follows about things-internet gateway validity judgement.
OLT judges that the validity judgement of things-internet gateway can carry out choosing whether to carry out according to the actual requirements, if carrying out, Flow process is as follows:
Black, white list is issued on OLT by webmaster, it is also possible to be that the modes such as TELNET, FTP import OLT.Black, white list The file being made up of things-internet gateway address, same things-internet gateway address does not allow to exist in black, white list simultaneously, if There is not black, white list, then skip step B1, B2;
B1) if things-internet gateway address is in white list, it is allowed to registration;
B2) if things-internet gateway address is in blacklist, registration is not allowed;
B3) things-internet gateway manufacturer whether lawful registration registration;
B4) whether the software and hardware version of things-internet gateway meets the requirements;
B5) the other side requirement of things-internet gateway;
It addition, things-internet gateway configuration preservation operating process is as follows.
C1) things-internet gateway judges the legitimacy of virtual logical port id, if exceed span, is the most legal, no Then abandon configuration;
C2) for the configuration of things-internet gateway port, judge whether to belong to this Internet of Things according to its virtual logical port id Gateway, is the most legal, otherwise abandons configuration;
C3) judge that configuration information attribute is whether identical with nodal community, port attribute;
C4) within whether configuration parameter configuration content belongs to zone of reasonableness;
C5) above-mentioned configuration content legality, directly invokes driving and configures corresponding depositor;
C6) configuration result, reports OLT.
3, radio access node configuration flow is as follows.
D1) things-internet gateway first determines whether, if existing waking up nodes, access network, simultaneously according to its short address and void Intending logic port ID and notice the change of its state of OLT, flow process terminates;
D2) if new node accesses, the relevant informations such as its short address are informed OLT by things-internet gateway;
D3) OLT judges legitimacy, and validity judgement mode is identical with 2.3 things-internet gateway validity judgements, does not conforms to rule Refusal node adds, and flow process terminates.Idiographic flow is as shown in Figure 7.
If legal, from distributing to radio access node virtual logical port id (allocative decision is identical with things-internet gateway), And notify things-internet gateway, the short address of things-internet gateway storage radio access node and virtual logical port id corresponding relation.
D4) OLT reads configuration file according to virtual logical port id, issues and is configured to things-internet gateway;
D5) things-internet gateway carries out configuration detection, according to virtual logical port id, it is judged that the radio node connect under being is joined Put, obtain wireless short address, configuration information is carried out Zigbee protocol encapsulation, issue and be configured to radio access node, and knot Fruit reports OLT;
D6) OLT judges radio access node type, if as just the node of relaying, then state does not report host computer, Otherwise reporting host computer, flow process terminates, particular flow sheet as shown in Figure 8:
D7) said process is when optical communication fault, and things-internet gateway can process node according to original Zigbee protocol mode Access, do not carry out the message interaction between OLT.
Technical scheme carries out unified ZigBee gateway logic address distribution and management, has not used IP ground Location, it is not necessary to manually participate in, it is not necessary to open DHCP service, it is to avoid multiple ZigBee gateways are carried out manually setting of IP address respectively Put, save labour cost, improve on-the-spot beginning speed.
Can automatically find to newly increase ZigBee gateway and ZigBee gateway is removed, it is not necessary to special-purpose software carries out gateway Search, it is possible to ZigBee gateway being carried out validity judgement, carries out safety certification, certification is by rear automatic configuration, and notifies Host computer is further processed.Without manual operation, it is to avoid omission that manual operation brings and mistake, and promote the peace of network Quan Xing.
It is not only ZigBee gateway, it is possible to automatically find to newly increase ZigBee terminal node, terminal node is closed Method certification and configuration management, and notify host computer and be further processed.Without manual operation, it is to avoid manual operation brings Omit and mistake, and promote the safety of network.
Having heartbeat message between OLT and ZigBee gateway, when ZigBee gateway loses efficacy, OLT can find automatically, identifies shape State was for losing efficacy, and configuration section is not modified, and informed that host computer is further processed.Or things-internet gateway is supported multiple Alarm, active reporting alarm status, OLT informs that host computer is further processed after obtaining in time, it is achieved for ZigBee net The realtime monitoring closed.
ZigBee radio access node condition monitoring is also reported OLT by ZigBee gateway, then reports host computer, it is achieved right The condition monitoring of ZigBee radio access node.
Host computer need not to carry out with multiple ZigBee gateways TCP/IPSOCKET respectively and communicate, universe network have only to OLT sets up a TCP/IP passage.For the change of ZigBee gateway status and additions and deletions, it is not necessary to carry out again building of TCP/IP passage Stand and delete, improve host computer reaction treatment speed, can quickly carry out service communication, it is to avoid the wind that upper-layer service packet loss retransmits Danger.
By EPON and the fusion of ZigBee-network, it is provided that carry roomy, time delay is low, capacity of resisting disturbance is strong, peace The whole net solution of good perfection, reduces Internet of Things and promotes threshold, decrease the cost of operation maintenance, extensive establishment, pipe Reason, to run multiple Wireless MESH network more convenient.

Claims (6)

1. the method automatically configuring management ZigBee-network, it is characterised in that: for the scheme of ZigBee multiple gateway networking, Introducing passive optical network and substitute Ethernet, passive optical network includes OLT, beam splitter and ONU;Wherein OLT is with upper Position server is direct-connected;Beam splitter is connected between OLT and ONU, and its effect is so that single optical fibre is divided into multi-core fiber so that one Individual OLT connects multichannel ONU;Described every road ONU is embedded into ZigBee without line coordination as the up optical module of Ethernet of miniaturization Device, ONU and wireless coordinator are combined together as a things-internet gateway;By described OLT unified to all access devices with And port carries out overall situation coding assignment virtual logical port id;Described OLT is unified to be entered all access devices and its port Row the overall situation coding assignment virtual logical port id method be: by abstract for entirety Internet of Things transmission network for fiber buss add wireless always The mode of the multilevel branch bus of line, to all transmission communication nodes, including things-internet gateway, other optical access node, wireless Access node and these node all of the above physical ports all distribute the virtual logical port id of the overall situation only;Described virtual Logic port ID is by OLT frame number, OLT slot number, OLT pilot trench item, OLT physical port number, the subport of OLT physical port Number, gateway number, gateway port number and terminal unit number form successively.
The method automatically configuring management ZigBee-network the most according to claim 1, it is characterised in that also include Internet of Things Gateway powers on the method automatically configured, and its concrete steps are followed successively by:
Things-internet gateway power-up initializing, the state that arranges is in registration, and this stage does not allow wireless terminal to access;
The time slot window that things-internet gateway distributes according to OLT is initiated to power on registration request;If the time is overtime, do not obtain answering of OLT Multiple message, then initialize complete, and duty is set to WORK, it is allowed to wireless terminal accesses, and flow process terminates;
OLT judges that things-internet gateway is the most legal, illegal issues refusal logon message, and things-internet gateway receives holding and mourns in silence not Initiating registration request again, the most do not allow wireless terminal to access, flow process terminates;
If things-internet gateway address is in binding table, then return and the virtual logical port of things-internet gateway address binding ID, if without unnecessary virtual logical port id, does not allow registration;
OLT distribute belonging to it in order according to the groove position belonging to things-internet gateway, port information in the range of free virtual logic Port id, and bind the wireless short address of record things-internet gateway;
The virtual logical port id of things-internet gateway record distribution, the state that arranges is for succeeding in registration, and returned packet informs that OLT registers Success;
OLT obtains after succeeding in registration and distributes things-internet gateway wireless network ID, wireless channel, ensures that adjacent things-internet gateway is mutual Do not disturb;
OLT carries out configuration querying according to virtual logical port in configuration file, obtains the configuration information of homologue networking gateway;
OLT traversal configuration information one by one distribution configuration command, and inform configuration order number;
Things-internet gateway performs all configuration orders, and after configuration successful, the state of setting is WORK, it is allowed to wireless terminal accesses, and Return message and inform that OLT normally works;If wherein an order performs failure, then notice OLT configuration failure, opens after time delay again Beginning to apply for the registration of, if number of repetition is more than 3 times, then things-internet gateway enters silent status, and flow process terminates;
OLT notifies upper server after receiving configuration normal return message, and flow process terminates.
The method automatically configuring management ZigBee-network the most according to claim 1, it is characterised in that also include wireless connecing Ingress configures the method automatically configured, and its concrete steps are followed successively by:
Things-internet gateway first determines whether, if existing waking up nodes, access network, simultaneously according to its wireless short address with virtual patrol Collecting port id and notice the change of its state of OLT, flow process terminates;
If new node accesses, its wireless short address relevant information is informed OLT by things-internet gateway;
OLT judges the legitimacy of thing radio access node, does not conforms to rule refusal node and adds, and flow process terminates;
If legal, distributing to radio access node virtual logical port id, and notify things-internet gateway, things-internet gateway stores The wireless short address of radio access node and virtual logical port id corresponding relation;
OLT reads configuration file according to virtual logical port id, issues and is configured to things-internet gateway;
Things-internet gateway carries out configuration detection, according to virtual logical port id, it is judged that the radio node configuration connect under being, obtains nothing Line short address, carries out Zigbee protocol encapsulation to configuration information, issues and is configured to radio access node, and result is reported OLT;
OLT judges radio access node type, if as just the node of relaying, then state does not report host computer, otherwise goes up Report host computer, flow process terminates;
Said process is when optical communication fault, and things-internet gateway can process node according to original Zigbee protocol mode and access, no Carry out the message interaction between OLT.
The method automatically configuring management ZigBee-network the most according to claim 2, it is characterised in that described OLT judges The legitimacy of things-internet gateway method particularly includes: black, white list is issued on OLT by webmaster, or by TELNET, FTP Mode imports OLT;The file that black, white list is made up of things-internet gateway address, same things-internet gateway address does not allows Exist in black, white list simultaneously.
The method automatically configuring management ZigBee-network the most according to claim 2, it is characterised in that automatically join powering on The things-internet gateway configuration put carries out the concrete grammar preserved: things-internet gateway judges the legitimacy of virtual logical port id, is No exceed span, be the most legal, otherwise abandon configuration;
For the configuration of things-internet gateway port, judge whether to belong to this things-internet gateway according to its virtual logical port id, be The most legal, otherwise abandon configuration;
Judge that configuration information attribute is whether identical with nodal community, port attribute;
Within whether configuration parameter configuration content belongs to zone of reasonableness;
Above-mentioned configuration content legality, directly invokes driving and configures corresponding depositor;
Configuration result, reports OLT.
The method automatically configuring management ZigBee-network the most according to claim 3, it is characterised in that described OLT judges The legitimacy of radio access node method particularly includes: black, white list is issued on OLT by webmaster, or by TELNET, FTP mode imports OLT;The file that black, white list is made up of radio access node address, same radio access node address Do not allow to exist in black, white list simultaneously.
CN201310240592.XA 2013-06-14 2013-06-14 A kind of method automatically configuring management ZigBee-network Expired - Fee Related CN103312546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310240592.XA CN103312546B (en) 2013-06-14 2013-06-14 A kind of method automatically configuring management ZigBee-network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310240592.XA CN103312546B (en) 2013-06-14 2013-06-14 A kind of method automatically configuring management ZigBee-network

Publications (2)

Publication Number Publication Date
CN103312546A CN103312546A (en) 2013-09-18
CN103312546B true CN103312546B (en) 2016-12-07

Family

ID=49137348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310240592.XA Expired - Fee Related CN103312546B (en) 2013-06-14 2013-06-14 A kind of method automatically configuring management ZigBee-network

Country Status (1)

Country Link
CN (1) CN103312546B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490965A (en) * 2013-09-23 2014-01-01 柳州市欧博科技有限公司 Processing method of configuration information of Internet of things
CN105515772B (en) * 2014-06-09 2020-04-03 华为技术有限公司 Information processing method, network node, verification method and server
CN104703182A (en) * 2015-02-13 2015-06-10 深圳市睿祺智尚科技有限公司 Zigbee-based networking method and network system
CN104749996B (en) * 2015-03-05 2018-06-01 南京物联传感技术有限公司 A kind of ZigBee remote controlers long-range control method
CN106341452A (en) * 2016-08-22 2017-01-18 合肥若涵信智能工程有限公司 Server communication device internet of things system
US11223965B2 (en) 2016-09-13 2022-01-11 Interdigital Ce Patent Holdings, Sas Method and apparatus for controlling network sensors
CN107017946B (en) * 2017-02-15 2019-04-23 金钱猫科技股份有限公司 A kind of method and system that ONU equipment is registered automatically
CN107147743B (en) * 2017-06-29 2020-04-03 深圳市劳沃智能科技有限公司 Communication method of Internet of things system based on simplified Internet of things communication protocol
CN109031542B (en) * 2018-07-10 2020-10-09 烽火通信科技股份有限公司 Photoelectric-linkage optical fiber system, virtual electronic tag generation method and application
CN111371656B (en) * 2018-12-25 2022-01-14 上海未来宽带技术股份有限公司 Coaxial cable network unit silencing method and device, readable storage medium and terminal
CN109495323A (en) * 2018-12-26 2019-03-19 合肥大明节能科技股份有限公司 The road lamp system of automatic distribution channel parameter
CN110233909B (en) * 2019-06-17 2022-08-09 深圳和而泰数据资源与云技术有限公司 Address code allocation method and device for wireless gateway and network equipment
CN110646905B (en) * 2019-09-19 2021-01-05 烽火通信科技股份有限公司 Method and system for calculating fiber running distance between ODF frames
CN111542042B (en) * 2020-05-08 2022-11-01 深圳市银河风云网络系统股份有限公司 Automatic security authentication network access method for short-distance Internet of things
CN113036911A (en) * 2021-02-26 2021-06-25 云南电网有限责任公司曲靖供电局 Intelligent online anti-misjudgment five-prevention system
CN113300879A (en) * 2021-04-13 2021-08-24 深圳万物安全科技有限公司 Method, system and computer readable medium for zero configuration opening of equipment
CN113225628B (en) * 2021-04-25 2023-02-10 中国移动通信集团陕西有限公司 Business data configuration method, device, equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908995A (en) * 2010-07-14 2010-12-08 浙江工业大学 Communication node for interconnecting WSN and EPON
CN102111910A (en) * 2010-12-31 2011-06-29 东莞市高明企业服务有限公司 ZigBee wireless transmission network system configuration method and system based on service oriented architecture (SOA)
CN102511170A (en) * 2011-11-15 2012-06-20 华为技术有限公司 channel balance method and device for passive optical network
WO2013082456A1 (en) * 2011-11-30 2013-06-06 Ulterius Technologies, Llc Gateway device, system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908995A (en) * 2010-07-14 2010-12-08 浙江工业大学 Communication node for interconnecting WSN and EPON
CN102111910A (en) * 2010-12-31 2011-06-29 东莞市高明企业服务有限公司 ZigBee wireless transmission network system configuration method and system based on service oriented architecture (SOA)
CN102511170A (en) * 2011-11-15 2012-06-20 华为技术有限公司 channel balance method and device for passive optical network
WO2013082456A1 (en) * 2011-11-30 2013-06-06 Ulterius Technologies, Llc Gateway device, system and method

Also Published As

Publication number Publication date
CN103312546A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN103312546B (en) A kind of method automatically configuring management ZigBee-network
CN105308913B (en) For supporting Packet Data Unit (PDU) structure of distributed relay control protocol (DRCP)
CN106161077B (en) Cut-in convergent device and certification register method
CN111586120B (en) Internet of things gateway equipment, data transmission method, storage medium and installation method
WO2017193815A1 (en) Sdn management control method, device and system, and olt
CN106899470A (en) A kind of data acquisition network framework and planing method
CN109639484B (en) Industrial fusion network management method based on software definition and network manager thereof
CN112769602B (en) System and method for unified configuration management of white box switch and network operating system
WO2019228251A1 (en) Method and apparatus for generating network topology
CN108737169A (en) A kind of isomery industrial network central fusion management method based on SDN
CN114189444B (en) Method for nano-tube industrial end equipment, time sensitive network controller and system
CN106302058A (en) The coordination system and method for intelligent domestic system based on Zigbee wireless communication technology
CN106341468A (en) Remote wakeup method, device and system of intelligent equipment
CN100518094C (en) A method for searching network element device and establishing topology connection in network management system
CN103517300A (en) Self-discovery method, device and system of distributed base station
CN103220215A (en) Fiber channel over Ethernet (FCoE) message forwarding method and device in TRILL network
CN104734947A (en) Single-fiber interconnection type home gateway
CN105635335B (en) Social resources cut-in method, apparatus and system
CN104253849A (en) Method and system for remotely accessing web camera
CN105637806A (en) Method and apparatus for determining network topology, and centralized network state information storage device
CN106789616A (en) A kind of things-internet gateway equipment and Internet of Things central platform
CN103108347A (en) Association alarm method and association alarm device of wired network and wireless network
CN1996880A (en) Method and network device of the self-adapted management network device
CN100499489C (en) management method of network constituted by resource restricted apparatus
CN114189485A (en) Network port management method and system of switch and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161207

Termination date: 20190614