CN104022901A - Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller) - Google Patents
Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller) Download PDFInfo
- Publication number
- CN104022901A CN104022901A CN201410239677.0A CN201410239677A CN104022901A CN 104022901 A CN104022901 A CN 104022901A CN 201410239677 A CN201410239677 A CN 201410239677A CN 104022901 A CN104022901 A CN 104022901A
- Authority
- CN
- China
- Prior art keywords
- concentrator
- onu
- control device
- module
- telnet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method of configuring and managing an ONU (Optical Network Unit) module of a state grid concentrator by utilizing a PLC (Programmable Logic Controller). The method is characterized by comprising the following steps that: communication between a PC (Personal Computer) and a record and control device is carried out through a serial port/USB (Universal Serial Bus)/WiFi (Wireless Fidelity), the record and control device is added into a concentrator meter reading network, a telnet connection message is transmitted to the concentrator by the PC through the record and control device, the concentrator receives a telnet connection request through a carrier module, and a telnet link is established between the concentrator and the ONU module so as to form a carrier-RJ45 network; after the carrier-RJ45 network is established, message data is transmitted to the ONU module by the PC according to a path from the PC to the record and control device to the concentrator to the ONU module, the ONU receives the telnet request of the concentrator and the connection is established, and then a configuration command is transmitted to the ONU by the PC according to a path from the PC to the record and control device to the concentrator to the ONU. Through the method, an ONU system can be guaranteed to configure and manage without removing a shell when the ONU system is unable to connect an OLT (Optical Line Terminal).
Description
Technical field
The present invention relates to a kind of state net concentrator ONU module configuration managing method, belong to communication management technical field.
Background technology
Existing state net concentrator ONU module configuration managing technology is divided into two kinds of telemanagement and local managements.This mode of commonly using is to be carried out telemanagement and used serial ports to carry out this locality configuration by optical fiber.These two kinds of modes all have its limitation at present, in the first installation of ONU and regular maintenance process, there are a lot of parameters to need configuration, debugging, staff must use serial ports to carry out these work at the scene, and because module does not have external serial line interface, therefore must take module housing apart and just can carry out AccessPort, this has brought very big inconvenience to work on the spot.In day-to-day operation process, when significant trouble does not appear in ONU, can continue to remain on line states time, can use the mode of remote fiber to carry out program upgrade, management to it, but one and break down and make ONU not connect OLT, still need staff to go to scene to carry out debugging work.
Remote configuring method of the prior art is Simple Network Management Protocol (SNMP) system of setting up by the uhttpd web server based on http protocol, its protocol frame is simple, in a TCP connects, carry out information interaction in the mode of question-response.Specifically, be exactly the well-known port (normally 80) of client (browser or related software) Connection Service end, set up a TCP and connect, then send a request message; Server end to this packet parsing after, beam back corresponding response message, and close TCP connect.It is once mutual that Here it is, and client has request more afterwards, repeats process above.After concentrator ONU module and main station system connect, its built-in uhttpd can enter a circulation as a simple web server, and circuit is monitored, and in the time that SNMP system request arrives, it is processed.If ONU module breaks down cannot keep online time, adopt the method for SNMP unavailable.
Local configuration mode of the prior art is directly to use debug serial port, still can start applicable to ONU modular system, but the processing cannot connect OLT time, need to reach the spot and pull up module and take shell apart, and then again plug module and just can carry out, debugging completely needs to pull up module and loads onto shell, and operation shows slightly loaded down with trivial details, is also a kind of waste for time, human resources.
Therefore, although existing long-range, local debugging has lot of advantages, and existing years of researches and practice, but still have its limitation in application, for addressing this problem, the present invention has designed a kind of this locality configuration that uses power line carrier to carry out, without pulling up ONU module, can carrying out this locality debugging to it without taking shell apart.The local configuring management method of PLC is to use low voltage power line carrier mode to make concentrator core board by the telnet server of RJ45 interface ONU module, thereby realize, various instructions is directly sent to ONU, and it is carried out to maintenance work.
Summary of the invention
The present invention is directed to the problems referred to above, a kind of method that provides PLC of utilization to configure and manage ONU module, while ensureing that ONU system cannot connect OLT, can carry out Remote configuration and management.
In order to address the above problem, the technical solution used in the present invention is to provide a kind of PLC configuring management method of state net concentrator ONU module, comprises the following steps:
S1: first control by copying the route network that device adds concentrator kilowatt meter reading-out system, on concentrator, will destroy control device address adds PLC network and starts automatic copy reading as table address, concentrator using copy control device carry out the copy reading of Data Identification as intelligent electric meter, complete copy reading copy control device just successfully add concentrator route carrier network.
S2:PC utilizes serial ports, USB or WiFi and copies control device and communicates, PC carries out with ONU module the message that telnet is connected to copying the request of control device transmission concentrator, copying control device is converted to circuit line carrier wave by message data and sends through power line by carrier module, concentrator is received instruction and is logined ONU telnet server by RJ45 interface requests by carrier module, ONU module is received logging request, sets up telnet and connects;
S3: carrier network is connected with telnet after foundation, and PC can send to ONU module by configuration-direct by the communication path in S2.
In above-mentioned steps S1, when PC initiates telnet connection to concentrator, first arrange and destroy control device address, in concentrator, this address is added to PLC network and starts automatic copy reading as table address, then concentrator can copy reading be copied control device; Concentrator copy reading completes and copies the process that control device adds concentrator route carrier network to the Data Identification of copying control device, and copying afterwards control device just can initiated event reporting functions.
In above-mentioned steps S2, concrete execution step comprises the following steps:
H1:PC sends request by the carrier chip of copying control device the instruction message that telnet connects, and concentrator receives by carrier chip and forwards the packet the module to ONU by RJ45 interface; ONU module reads the message information that telnet connects, and whether checking prediction message sequence is correct, if message information is correct, ONU module is set up telnet with PC and is connected, and sends acknowledgement frame by carrier chip and be confirmed whether successful connection, and proceeds to step S2; Connect when unsuccessful, ONU module query configuration command list, and send corresponding error message message to PC;
H2: after concentrator core board and ONU module are set up telnet and be connected, PC sends configuration-direct message according to the path of PC → copy control device → concentrator → ONU to ONU module, and configuration-direct message data comprises the parameter commands such as MAC, VLAN, LOIDLOID name, LOID password; The carrier chip of copying control device sends to reporting events frame after power line, and the application layer that can copy control device from trend sends acknowledgement frame, and after command execution between concentrator and ONU is complete, concentrator returns to response message to copying control device, and proceeds to step S3;
H3: judge whether configuration comes into force, and is sent and is read parameter instruction to ONU module by PC, ONU module is returned with configuration instruction configures success, as configuration finishes, need to nullify and connect, and proceeds to step S4; Configure the unsuccessful step S2 that proceeds to;
H4:PC sends and nullifies telnet link order to ONU module, and concentrator is received after this order, and it is resolved and is forwarded to ONU module by carrier module; The carrier chip of copying control device sends to reporting events frame after power line, copies control device application layer send acknowledgement frame from trend, and after log-out instruction has operated, concentrator sends and confirms acknowledgement frame to the device of making a copy for, and PC receives by serial ports and shows.
Brief description of the drawings
Fig. 1 is ONU module PLC collocation method principle assumption diagram;
Fig. 2 is ONU module PLC collocation method communication flow diagram.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing.
The invention provides a kind of PLC configuring management method of state net concentrator ONU module, carrying out transfer of data by carrier module and power line, and ONU module is set up telnet and connected, sends configuration-direct and nullify telnet be connected three steps and realize.
PC is converted to reporting events data 68A0A1A2A3A4A56891L50165345 " telnet192.168.0.10:23 " CS16 power line carrier and is sent to concentrator core board by the carrier chip of copying control device.Data Analysis reporting events being come when concentrator while being judged as request ONU dependent instruction, is forwarded to ONU module by RJ45 interface by instruction, sets up telnet and connects.
The carrier chip of copying control device sends to reporting events frame after power line, and its carrier chip is copied control device application layer transmission 68A0A1A2A3A4A5689F00CS16 frame from trend and is confirmed whether successful connection.In the time that telnet connection is successfully established, return to successfully message 68A0A1A2A3A4A56891L50165345DATA CS16.
Table 1: reporting events frame format
Wherein A0~A5 is for destroying control device address, and L is the length that sends data content DATA, and front 4 bytes of DATA are Data Identification, and D0D1D2D3=50H16H53H45H is that D3~D0 represents ES1650, and " ES " is ASCII character, and 1650 is binary-coded decimal.Expansion concentrator communication protocol, makes it receive that Data Identification is that the message of ES1650 is directly forwarded to ONU module.
DATA data are configuration-direct data, below all orders use DATA to represent.
(1) set up telnet bind command
PC is converted to reporting events data 68A0A1A2A3A4A56891L50165345 " telnet192.168.0.10:23 " CS16 power line carrier and is sent to concentrator core board by the carrier chip of copying control device.Data Analysis reporting events being come when concentrator while being judged as request ONU dependent instruction, is forwarded to ONU module by RJ45 interface by instruction, and instruction is herein for setting up telnet connection.
The carrier chip of copying control device sends to reporting events frame after power line, and its carrier chip is copied control device application layer transmission 68A0A1A2A3A4A5689F00CS16 frame from trend and is confirmed whether successful connection.In the time that telnet connection is successfully established, return to successfully message 68A0A1A2A3A4A56891L50165345DATACS16, DATA is corresponding ONU response message herein.
(2) send configuration-direct
After concentrator core board and ONU module are set up telnet and are connected, PC sends ONU configuration-direct message 68A0A1A2A3A4A56891L50165345DATA CS16 according to same paths, and DATA is ONU configuration and reads the parameter commands such as MAC, VLAN, LOID name, LOID password herein.
The carrier chip of copying control device sends to reporting events frame after power line, can copy from trend the application layer transmission 68A0A1A2A3A4A5689F00CS16 frame of control device, after command execution between concentrator and ONU is complete, concentrator returns to response message 68A0A1A2A3A4A56891L50165345DATA CS16 to copying control device.DATA is corresponding response message, and owing to not returning to any data after the execution of ONU configuration-direct, therefore DATA is empty herein.If know, whether configuration-direct comes into force, and sends and reads parameter instruction to ONU, return to configuration-direct configuration successful is described, on the contrary unsuccessful.
(3) nullifying telnet connects
DATA is the telnet bind command of nullifying concentrator and EPON.Plc communication flow process is identical with (1).Concentrator is received after this order, and it is resolved and be forwarded to ONU module, nullifies telnet and connects.
The carrier chip of copying control device sends to reporting events frame after power line, copies control device application layer send from trend:
68A0A1A2A3A4A5689F00CS16 frame, after command execution between concentrator and EPON is complete, concentrator sends and confirms to reply to copying control device:
68A0A1A2A3A4A56891L50165345DATA?CS16
DATA is corresponding response message: disconnect success or failed, failed, can provide the reason of failure.
Table 2: the message that configuration-direct is corresponding
Instruction | DATA |
Setting up telnet connects | “telnet192.168.0.10:23” |
Configuration ONU MAC Address | “echo22:22:22:01:02:13>/DATA/macaddr” |
Read ONU MAC Address | “cat/DATA/macaddr” |
Configuration ONU LOID user name | “echo053283676800>/DATA/loidname” |
Read ONU LOID user name | “cat/DATA/loidname” |
Configuration ONU LOID password | “echo1234567890>/DATA/loidpass” |
Read ONU LOID password | “cat/DATA/loidpass” |
Configuration ONUVLAN | “echo1>/DATA/lanvlan” |
Read ONU VLAN | “cat/DATA/lanvlan” |
Restart ONU | “reboot” |
Exit telnet | “logout” |
The foregoing is only the preferred embodiments of the present invention, the present invention includes but be not limited to this example, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (3)
1. the PLC configuring management method of state's net concentrator ONU module, is characterized in that, comprises the following steps:
S1: first control by copying the route network that device adds concentrator kilowatt meter reading-out system, on concentrator, will destroy control device address adds PLC network and starts automatic copy reading as table address, concentrator using copy control device carry out the copy reading of Data Identification as intelligent electric meter, complete copy reading copy control device just successfully add concentrator route carrier network.
S2:PC utilizes serial ports, USB or WiFi and copies control device and communicates, PC carries out with ONU module the message that telnet is connected to copying the request of control device transmission concentrator, copying control device is converted to circuit line carrier wave by message data and sends through power line by carrier module, concentrator is received instruction and is logined ONU telnet server by RJ45 interface requests by carrier module, ONU module is received logging request, sets up telnet and connects;
S3: after carrier network is connected with telnet and sets up,, PC sends to ONU module according to the path of PC → copy control device → concentrator → ONU module by message data.
2. the PLC configuring management method of state net concentrator ONU module according to claim 1, it is characterized in that: in described step S1, when PC initiates telnet connection to concentrator, first arrange and destroy control device address, in concentrator, this address is added to PLC network and starts automatic copy reading as table address, then concentrator can copy reading be copied control device; Concentrator copy reading completes and copies the process that control device adds concentrator route carrier network to the Data Identification of copying control device, and copying afterwards control device just can initiated event reporting functions.
3. the PLC configuring management method of state net concentrator ONU module according to claim 1, is characterized in that, the concrete execution step of step S2 comprises the following steps:
H1:PC sends request by the carrier chip of copying control device the instruction message that telnet connects, and concentrator receives by carrier chip and forwards the packet the module to ONU by RJ45 interface; ONU module reads the message information that telnet connects, and whether checking prediction message sequence is correct, if message information is correct, ONU module is set up telnet with PC and is connected, and sends acknowledgement frame by carrier chip and be confirmed whether successful connection, and proceeds to step S2; Connect when unsuccessful, ONU module query configuration command list, and send corresponding error message message to PC;
H2: after concentrator core board and ONU module are set up telnet and be connected, PC sends configuration-direct message according to the path of PC → copy control device → concentrator → ONU to ONU module, and configuration-direct message data comprises the parameter commands such as MAC, VLAN, LOIDLOID name, LOID password; The carrier chip of copying control device sends to reporting events frame after power line, and the application layer that can copy control device from trend sends acknowledgement frame, and after command execution between concentrator and ONU is complete, concentrator returns to response message to copying control device, and proceeds to step S3;
H3: judge whether configuration comes into force, and is sent and is read parameter instruction to ONU module by PC, ONU module is returned with configuration instruction configures success, as configuration finishes, need to nullify and connect, and proceeds to step S4; Configure the unsuccessful step S2 that proceeds to;
H4:PC sends and nullifies telnet link order to ONU module, and concentrator is received after this order, and it is resolved and is forwarded to ONU module by carrier module; The carrier chip of copying control device sends to reporting events frame after power line, copies control device application layer send acknowledgement frame from trend, and after log-out instruction has operated, concentrator sends and confirms acknowledgement frame to the device of making a copy for, and PC receives by serial ports and shows.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410239677.0A CN104022901B (en) | 2014-06-03 | 2014-06-03 | Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410239677.0A CN104022901B (en) | 2014-06-03 | 2014-06-03 | Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller) |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104022901A true CN104022901A (en) | 2014-09-03 |
CN104022901B CN104022901B (en) | 2017-05-24 |
Family
ID=51439484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410239677.0A Active CN104022901B (en) | 2014-06-03 | 2014-06-03 | Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104022901B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105490706A (en) * | 2015-11-11 | 2016-04-13 | 珠海中慧微电子股份有限公司 | Split type keyboard table carrier communication system |
CN111697997A (en) * | 2020-05-29 | 2020-09-22 | 国网河北省电力有限公司电力科学研究院 | HPLC module rapid detection device and method based on copy controller |
CN112289017A (en) * | 2020-10-28 | 2021-01-29 | 国网安徽省电力有限公司合肥供电公司 | Remote meter reading method and system for intelligent electric energy meter |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009117695A1 (en) * | 2008-03-20 | 2009-09-24 | Illumitron International | Energy management system |
CN103236892A (en) * | 2013-04-18 | 2013-08-07 | 国家电网公司 | Carrier communication testing system |
CN103366544A (en) * | 2013-07-22 | 2013-10-23 | 国家电网公司 | Routing simulation system based on electric power line |
-
2014
- 2014-06-03 CN CN201410239677.0A patent/CN104022901B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009117695A1 (en) * | 2008-03-20 | 2009-09-24 | Illumitron International | Energy management system |
CN103236892A (en) * | 2013-04-18 | 2013-08-07 | 国家电网公司 | Carrier communication testing system |
CN103366544A (en) * | 2013-07-22 | 2013-10-23 | 国家电网公司 | Routing simulation system based on electric power line |
Non-Patent Citations (2)
Title |
---|
程远等: "基于EPON技术的用电信息采集系统分析研究", 《电力系统通信》 * |
陈凤等: "低压电力线载波通信技术及应用", 《电力系统保护与控制》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105490706A (en) * | 2015-11-11 | 2016-04-13 | 珠海中慧微电子股份有限公司 | Split type keyboard table carrier communication system |
CN105490706B (en) * | 2015-11-11 | 2019-05-07 | 珠海中慧微电子有限公司 | A kind of Split-type keyboard table carrier communication system |
CN111697997A (en) * | 2020-05-29 | 2020-09-22 | 国网河北省电力有限公司电力科学研究院 | HPLC module rapid detection device and method based on copy controller |
CN112289017A (en) * | 2020-10-28 | 2021-01-29 | 国网安徽省电力有限公司合肥供电公司 | Remote meter reading method and system for intelligent electric energy meter |
Also Published As
Publication number | Publication date |
---|---|
CN104022901B (en) | 2017-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2645636B1 (en) | Home gateway, cloud server, and method for communication therebetween | |
CN108667807A (en) | A kind of protocol self-adapting method and system based on monitoring cloud platform and gateway | |
CN103544096A (en) | Method and system for feeding back information in case of operational failure of Android terminal | |
WO2012088905A1 (en) | Polling sub-system and polling method for communication network system and communication apparatus | |
US10833914B2 (en) | Device or vendor independent network switch management via embedded management controller stack | |
CN104167822B (en) | A kind of method for parameter configuration for distribution automation terminal device | |
CN112437047A (en) | Remote server management method, system and related device | |
CN102957568B (en) | A kind of method for managing and monitoring of multi node server | |
CN103138985A (en) | Method and system of process of service host computer of supporting network | |
CN104022901A (en) | Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller) | |
CN104076792A (en) | Frequency converter remote monitoring system based on internet | |
CN103439934A (en) | Intelligent electrical appliance control method, server and system | |
US10579545B2 (en) | Method for accessing a peripheral device by a host device via an access device | |
CN102736926A (en) | Upgrade method, device and batch upgrade system based on task template | |
CN104378231A (en) | Control system and control method for enterprise wireless router | |
CN111026662A (en) | Remote debugging method, system and medium for terminal equipment of Internet of things | |
CN109871325B (en) | KNX remote debugging method and system | |
JP2004306200A (en) | Robot control system | |
CN114089711B (en) | Industrial equipment control management method, electronic equipment and storage medium | |
CN115695090A (en) | Data transmission method, internet of things gateway equipment and computer readable storage medium | |
KR101095827B1 (en) | Gateway with SmartIO module automatically supporting multi-protocol | |
CN109871288A (en) | Execute method, apparatus, equipment and the medium of android system order | |
TWI795619B (en) | Gateway device with built-in server module and communication system thereof | |
CN105429871A (en) | Embedded Web gateway and communication system based on interconnection of Wi-Fi and PROFIBUS-DP bus | |
KR101399800B1 (en) | Service providing method and system for instance hosting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |