CN104702441A - Data exchange method between network intelligent management terminal and network facility - Google Patents

Data exchange method between network intelligent management terminal and network facility Download PDF

Info

Publication number
CN104702441A
CN104702441A CN201510117803.XA CN201510117803A CN104702441A CN 104702441 A CN104702441 A CN 104702441A CN 201510117803 A CN201510117803 A CN 201510117803A CN 104702441 A CN104702441 A CN 104702441A
Authority
CN
China
Prior art keywords
byte
information
bytes
command
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510117803.XA
Other languages
Chinese (zh)
Other versions
CN104702441B (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.)
Sichuan Tianyi Comheart Telecom Co Ltd
Original Assignee
Sichuan Tianyi Comheart Telecom 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 Sichuan Tianyi Comheart Telecom Co Ltd filed Critical Sichuan Tianyi Comheart Telecom Co Ltd
Priority to CN201510117803.XA priority Critical patent/CN104702441B/en
Publication of CN104702441A publication Critical patent/CN104702441A/en
Application granted granted Critical
Publication of CN104702441B publication Critical patent/CN104702441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data exchange method between a network intelligent management terminal and a network facility, wherein the intelligent management terminal adopts a communication protocol and the network facility to perform message exchange. The data exchange method comprises the following steps: acquiring resource information: reading facility information, reading ID of a tank body or the facility, a manufacturer marker, machine frame information, plate/disc information, port information and hardware-software upgrading edition number; upgrading software; writing in electronic label information; acquiring and automatically reporting warning/event information; operating an indicator lamp. The invention provides the data exchange method between the simple and reliable network intelligent management terminal and the network facility, so that a reliable data transmission problem between an intelligent light distribution network intelligent management terminal and the network facility is solved, the system maintaining staff can quickly collect the operation state of the network facility, and technical support and guarantee is provided for maintaining, managing and diagnosing the system.

Description

The method for interchanging data of network intelligent management terminal and the network facilities
Technical field
The present invention relates to a kind of communication means, particularly relate to the method for interchanging data of a kind of network intelligent management terminal and the network facilities.
Background technology
Along with the continuous appearance of new business application, such as HD video, game online etc., the use amount of the Internet in the past within 10 years, there occurs huge growth.Along with the quick growth of Internet user and business, Access Network bandwidth demand is significantly improved, Performance And Reliability for network requires more and more higher, PON is made to start to occur the development trend of more splitting ratios and Geng Duo ONU quantity, therefore the parameter, running status etc. of special equipment management system to the network equipment is needed to carry out real-time management and monitoring, when a network fails, scheduling, the fault diagnosis and location of network line can be carried out rapidly, strive within the shortest time, make network recovery normal.
At present domestic applied equipment management system each part interface and agreement be mostly special, non-opening, there are more technology barriers, limit the domestic exploitation about Network Management Equipment with apply.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of simple, network intelligent management terminal and the network facilities reliably method for interchanging data is provided, solve the reliable data transmission problems between intelligent optical distribution network Intelligent management terminal and the network facilities, so that system maintenance personnel can the running status of promptly collection network facility, for system maintenance, management and diagnosis provide technical support and guarantee.
The object of the invention is to be achieved through the following technical solutions:
The method for interchanging data of network intelligent management terminal and the network facilities, Intelligent management terminal is according to the communication protocol of specifying, and carry out message switching with the network facilities, it comprises the following steps:
S1. resource information collection: comprise reading facilities information, reading casing or facility ID, manufacturer's sign, read machine frame information, read plate/dish information, read port information and version number of reading hardware and software;
S2. software upgrading;
S3. electronic labeling information write;
S4. alarm/event information collection and automatically reporting;
S5. indicator light operation.
Described communication protocol is RS485 agreement.
Communication mode between Intelligent management terminal and the network facilities is the half-duplex operation of band address, Intelligent management terminal is addressed to 0xFE, network facilities main control unit is addressed to 0x01, the sub-frame control unit of the network facilities is addressed to 0x02, in described half-duplex operation mode, the maximum duration being switched to accepting state after data are sent is less than 3ms, in described half-duplex operation mode, baud rate is 230400bit/s, in described half-duplex operation mode, the command timeout response time is 300ms, and number of retransmissions is no more than 3 times.
Described message comprises heading, message body and message trailer, and wherein, heading length is fixed, and comprises message frame head, protocol version, reserved field, command code and conditional code; Message body carrying specific instructions and data, its variable-length; Message trailer comprises CRC check and message postamble, network byte order little endian mode, and coded system is UTF-8, variable-length.
Described message frame head length is 1 byte, is fixed as 0x7E, identifies the beginning of a frame ordering; Protocol version is 2 bytes, is 0x1000; Reserved field is 14 bytes, is defaulted as 0; Command code is 2 bytes, identifies different orders; Conditional code is 1 byte, represents the state of command execution, represents that this message is request message, represent that this message is response message when being 0 full when being 1 entirely; Described message body length can be 0 ~ 1024 byte, is the part of carrying specific instructions and data; CRC check part is 2 bytes, and verification scope is message body; Message postamble length is 1 byte, is fixed as 0x7E, identifies the end of a frame ordering.
In described resource information acquisition step, the identification step of resource information reading order and response is: when command code is 0x1101, mark reads network facilities title, request command message body is totally 2 bytes, value request is 0xAA01, acknowledgement command message body totally 80 bytes, and wherein machine frame numbering is 1 byte, be divided into 0x01 ~ 0,x04 tetra-kinds of numberings, facility name is 80 bytes;
When command code is 0x1102, mark reads network facilities upper box or facility ID, identification of the manufacturer, and wherein request command message body is 2 bytes, is worth for 0Xaa03, and acknowledgement command message body is the identification of the manufacturer of 3 bytes and the facility ID of 30 bytes;
When command code is 0x1103, mark reads network facilities machine frame information, request command message body occupies 2 bytes, value is 0xAA02, acknowledgement command message body is N+2 byte altogether, comprise the board numbering of the unit frame sum of 1 byte, the frame numbering of N byte and 1 byte, be not wherein set to 0 by the frame position label used, board numbering is divided into 0x01 ~ 0,x04 tetra-kinds;
When command code is 0x1104, mark reads network facilities plate/dish information, request command message body is the frame number of 1 byte, can value 0x01 ~ maximum specification, wherein single frame device is set to 0x01, and acknowledgement command message body is 2+N byte, comprises the dish sum of 1 byte, the dish numbering of N number of byte and the port numbering mode of 1 byte, wherein port numbering mode is divided into 0x01 ~ 0,x04 tetra-kinds of modes;
When command code is 0x1105, mark reads network facilities port information, request command message body is totally 10 bytes, comprise the frame number of 1 byte, the business board number of 1 byte, the port numbers of 8 bytes and the reading tag extend information of 1 byte, its center span is 0x01 ~ maximum specification, business board span is 1 ~ maximum specification, the reading of port numbers need once read 8, not enough benefit 0 from 1, reading tag extend information value represents reading tag extend information when being 0x01, not reading tag extend information is represented during the 0x00 of value position, when reading tag extend information byte is 0x01, acknowledgement command message body reports the label information of totally 128 bytes of 8 ports, port order is corresponding with request command, when reading tag extend information byte is 0x00, acknowledgement command message body reports the label information of totally 32 bytes of 32 ports, port order is corresponding with request command,
When command code is 0x1106, mark reads network facilities software and hardware version number, request command message body work 2 byte, comprise 1 byte frame number and 1 byte business board number, its center span is 0x01 ~ maximum specification, 1 is set to without frame equipment, value represents the reading network facilities main control unit version when being 0x00, business board value can be 1 ~ maximum specification, when frame number is more than or equal to 1, business board number represents the version reading sub-frame control unit when being 0, when there is no sub-frame control unit, business board value 0 is invalid, read software and hardware version number acknowledgement command message body totally 48 bytes, wherein front 24 bytes are software version number, rear 24 bytes are hardware version numbers.
Described software upgrading step, comprises following sub-step:
S21. Intelligent management terminal issues auto-update order to the network facilities, starts upgrading;
S22. Intelligent management terminal downloads upgrade file order to the network facilities;
S23., after upgrade file has been downloaded, Intelligent management terminal is given and has been carried order to the network facilities;
S24. the network facilities starts software upgrading;
S25. Intelligent management terminal sends out the order of inquiry updating result to the network facilities, inquiry updating result.
The identification step of described software upgrading order and response is:
When command code is 0x1107, identify intelligent ODN software upgrading order; Software upgrading request command message body is 2+N byte altogether, comprises the upgrade request type of 1 byte, the upgrading object type of 1 byte and the upgrade command data of N byte; In upgrading object type, 0x01 represents staging business plate/dish, 0x02 represents the sub-frame control unit of upgrading, 0x03 represents upgrading intelligent network facility main control unit; When upgrade request type is 0x01, for starting upgrading, upgrade command data equal the data packet number of 2 bytes; When upgrade request type is 0x02, for downloading upgrade file, upgrade command data are the AKU data sum of 2 byte data bag sequence numbers and 1 ~ 1021 byte; When upgrade request type is 0x03, for having downloaded, upgrade command data have been the upgrade file end mark of 1 byte; When upgrade request type is 0x04, be inquiry updating result, without upgrade command data;
Software upgrading acknowledgement command message body is 1 byte, and when upgrade request type is 0x01 teacher, acknowledgement command is 0x00; When upgrade request order is 0x02, acknowledgement command is 0x00; When upgrade request order is 0x03, shows it is not last upgrade file when acknowledgement command is 0x00, when acknowledgement command is 0x01, be shown to be last upgrade file; When upgrade request type is 0x04, acknowledgement command is that 0x00 shows to upgrade successfully, and shows to upgrade unsuccessfully when acknowledgement command is 0x01; Wherein, when upgrading unsuccessfully, rollback answered by software.
The described identification step write into electronic labeling information order and response is:
When command code is 0x1108, mark is sent to the network facilities label information to be written, request command message body is N+3 byte altogether, comprise the frame number of 1 byte, the label information of the reel number of 1 byte, the port numbers of 1 byte and 128 bytes, acknowledgement command message body is 1 byte, 0 represents successfully, non-zeroly represents unsuccessfully.
The identification step of the order of described fetch equipment alarm/event information and response is:
When command code is 0x1109, mark fetch equipment alarm/temporal information; Request command message body occupies 2 bytes, and value request is 0xAA04; Acknowledgement command message body comprises the alarm number of 1 byte and the warning information of M 4 bytes, wherein alarm information formats is 1 byte frame numbering, 1 byte dish numbering, 1 byte port numbers and 1 byte alarm type, being that electronic tag carrier plug is abnormal when alarm type is 0x01 extracts alarm, 0x02 is that electronic tag carrier plug inserts alarm extremely, 0x03 is that business board/dish extracts alarm extremely, 0x04 is that business board/dish inserts alarm extremely, and 0x05 is the failed alarm of upgrading.
Described alarm/event reports the identification step of order and response to be automatically:
When command code is 0x110A, mark alarm/event reports automatically, reports command message physique formula to be the warning information of 1 byte alarm number, multiple 4 bytes.
Described alarm/event treatment step is:
The network facilities stores alarm/event information, after receiving reading command, Premium Features/event information mountain is passed, upload the maximum number of warning information is 20 at every turn, when the number of warning information number light rain command request, returning actual number, is that office terminal should at this request command when warning information number equals 20.
The identification step of described tutorial light order and response is:
When command code is 0x110B, mark tutorial light; Request command message body totally 4 bytes, comprise the frame number of each 1 byte, reel number, port numbers and action type, wherein action type are divided into 0x01 extinguishing, 0x02 quick flashing, 0x03 dodge slowly, the long bright Four types of 0x04; Acknowledgement command message body represents successfully when being 0, represents failure time non-zero.
Described configuration write order with the identification step of response is:
When command code is 0x110C, mark configuration write; Request command message body is totally 369 bytes, comprise the facility name of 80 bytes, 3 byte identifications of the manufacturer, 30 byte casing ID, the facility IP address of totally 12 bytes, subnet mask and gateway address, the SNMP information of 64 bytes, 128 byte facility locations, 200 byte operator business custom fields and 200 byte manufacturer custom fields; Acknowledgement command message body is 1 byte, and 0 represents successfully, non-zeroly represents unsuccessfully.
The invention has the beneficial effects as follows: the invention solves the reliable data transmission problems between intelligent optical distribution network Intelligent management terminal and the network facilities, make system maintenance personnel can the running status of promptly collection network facility, for system maintenance, management and diagnosis provide technical support and guarantee,, will play a significant role for the equipment management system specification improving the overall operation level of China optical-fiber network, system open, transparent, compatible.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for interchanging data of network intelligent management terminal of the present invention and the network facilities;
Fig. 2 is the location drawing of I2 interface in intelligent ODN of the method for interchanging data of network intelligent management terminal of the present invention and the network facilities;
Fig. 3 is the message structure figure in the method for interchanging data of network intelligent management terminal of the present invention and the network facilities;
Fig. 4 is the flow chart of software upgrading in the method for interchanging data of network intelligent management terminal of the present invention and the network facilities.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, the method for interchanging data of network intelligent management terminal and the network facilities, Intelligent management terminal is according to the communication protocol of specifying, and carry out message switching with the network facilities, it comprises the following steps:
S1. resource information collection: comprise reading facilities information, reading casing or facility ID, manufacturer's sign, read machine frame information, read plate/dish information, read port information and version number of reading hardware and software;
S2. software upgrading;
S3. electronic labeling information write;
S4. alarm/event information collection and automatically reporting;
S5. indicator light operation.
As shown in Figure 2, adopt I2 interface between Intelligent management terminal and the network facilities, wherein, the electric interfaces of I2 interface adopts RS485 agreement, and physical interface adopts RJ45 interface, and physical interface supports power supply and communication function simultaneously.Connected by five classes or super Category-5 twisted pair between RJ45 interface, two end interfaces all adopt TIA/EIA568B joint form, and each pinout of RJ45 is as shown in table 1.
Table 1
The electrical characteristic of RS485 interface meets the requirement of TIA-485-A standard, and RS485 communication frame structure is as shown in table 2, and when address bit is set to 1, what data bit transmitted is address information, and when address bit is 0, what data bit transmitted is data message; Sending order first sends out a frame address, then continue to this address transmission data frame.
Table 2
Start bit Data bit Address bit Position of rest
1bit 8bits 1bit 1bit
Communication mode between Intelligent management terminal and the network facilities is the half-duplex operation of band address; Intelligent management terminal is addressed to 0xFE, and network facilities main control unit is addressed to 0x01, and the sub-frame control unit of the network facilities is addressed to 0x02; In half-duplex operation mode, the maximum duration being switched to accepting state after data are sent is less than 3ms; Baud rate is 230400bit/s; The command timeout response time is 300ms, and number of retransmissions is no more than 3 times.
As shown in Figure 3, described message comprises heading, message body and message trailer, and wherein, heading length is fixed, and comprises message frame head, protocol version, reserved field, command code and conditional code; Message body carrying specific instructions and data, its variable-length; Message trailer comprises CRC check and message postamble, network byte order little endian mode, and coded system is UTF-8, variable-length.
Described message frame head length is 1 byte, is fixed as 0x7E, identifies the beginning of a frame ordering; Protocol version is 2 bytes, is 0x1000; Reserved field is 14 bytes, is defaulted as 0; Command code is 2 bytes, identifies different orders; Conditional code is 1 byte, represents the state of command execution, represents that this message is request message, represent that this message is response message when being 0 full when being 1 entirely; Described message body length can be 0 ~ 1024 byte, is the part of carrying specific instructions and data; CRC check part is 2 bytes, and verification scope is message body; Message postamble length is 1 byte, is fixed as 0x7E, identifies the end of a frame ordering.
Basic command and the command code of the support of I2 interface needs are as shown in table 3:
Table 3
Command code Command name Command specification
0x1101 Read facilities information Read intelligent ODN facility name
0x1102 Read facility alarm/event information Read intelligent ODN facility alarm/event information
0x1103 Read machine frame information Read intelligent ODN facility machine frame information
0x1104 Read plate/dish information Read intelligent ODN facility plate/dish information
0x1105 Read port information Read intelligent ODN facility port information
0x1106 Read software and hardware version number Read intelligent ODN facility software and hardware version number
0x1107 Software upgrading Intelligence ODN software upgrading order
0x1108 Electronic labeling information to be written Label information to be written is sent to intelligent ODN equipment
0x1109 Read facility alarm/event information Read intelligent ODN facility alarm/event information
0x110A Alarm/event reports automatically Automatic report and alarm/the event information of intelligence ODN facility
0x110B Tutorial light Operative intelligence ODN facility indicator light
0x110C Configuration write Configuration information is write intelligent ODN facility
In described resource information acquisition step, the identification step of resource information reading order and response is: when command code is 0x1101, mark reads network facilities title, request command message body is totally 2 bytes, value request is 0xAA01, acknowledgement command message body totally 80 bytes, and wherein machine frame numbering is 1 byte, be divided into 0x01 ~ 0,x04 tetra-kinds of numberings, facility name is 80 bytes;
When command code is 0x1102, mark reads network facilities upper box or facility ID, identification of the manufacturer, and wherein request command message body is 2 bytes, is worth for 0Xaa03, and acknowledgement command message body is the identification of the manufacturer of 3 bytes and the facility ID of 30 bytes;
When command code is 0x1103, mark reads network facilities machine frame information, request command message body occupies 2 bytes, value is 0xAA02, acknowledgement command message body is N+2 byte altogether, comprise the board numbering of the unit frame sum of 1 byte, the frame numbering of N byte and 1 byte, be not wherein set to 0 by the frame position label used, board numbering is divided into 0x01 ~ 0,x04 tetra-kinds;
When command code is 0x1104, mark reads network facilities plate/dish information, request command message body is the frame number of 1 byte, can value 0x01 ~ maximum specification, wherein single frame device is set to 0x01, and acknowledgement command message body is 2+N byte, comprises the dish sum of 1 byte, the dish numbering of N number of byte and the port numbering mode of 1 byte, wherein port numbering mode is divided into 0x01 ~ 0,x04 tetra-kinds of modes;
When command code is 0x1105, mark reads network facilities port information, request command message body is totally 10 bytes, comprise the frame number of 1 byte, the business board number of 1 byte, the port numbers of 8 bytes and the reading tag extend information of 1 byte, its center span is 0x01 ~ maximum specification, business board span is 1 ~ maximum specification, the reading of port numbers need once read 8, not enough benefit 0 from 1, reading tag extend information value represents reading tag extend information when being 0x01, not reading tag extend information is represented during the 0x00 of value position, when reading tag extend information byte is 0x01, acknowledgement command message body reports the label information of totally 128 bytes of 8 ports, port order is corresponding with request command, when reading tag extend information byte is 0x00, acknowledgement command message body reports the label information of totally 32 bytes of 32 ports, port order is corresponding with request command,
When command code is 0x1106, mark reads network facilities software and hardware version number, request command message body work 2 byte, comprise 1 byte frame number and 1 byte business board number, its center span is 0x01 ~ maximum specification, 1 is set to without frame equipment, value represents the reading network facilities main control unit version when being 0x00, business board value can be 1 ~ maximum specification, when frame number is more than or equal to 1, business board number represents the version reading sub-frame control unit when being 0, when there is no sub-frame control unit, business board value 0 is invalid, read software and hardware version number acknowledgement command message body totally 48 bytes, wherein front 24 bytes are software version number, rear 24 bytes are hardware version numbers.
Software and hardware version number should read according to fixed length 24 byte respectively, and namely response message body should be fixed length 48 byte, and front 24 bytes are software version number, and rear 24 bytes are hardware version numbers.Software version number, more than 24 bytes, should be blocked according to 24 byte process; Less than 24 bytes, subsequent byte should fill 0 according to 24 byte process.Hardware version numbers, more than 24 bytes, should be blocked according to 24 byte process; Less than 24 bytes, subsequent byte should fill 0 according to 24 byte process.
As shown in Figure 4, described software upgrading step, comprises following sub-step:
S21. Intelligent management terminal issues auto-update order to the network facilities, starts upgrading;
S22. Intelligent management terminal downloads upgrade file order to the network facilities;
S23., after upgrade file has been downloaded, Intelligent management terminal is given and has been carried order to the network facilities;
S24. the network facilities starts software upgrading;
S25. Intelligent management terminal sends out the order of inquiry updating result to the network facilities, inquiry updating result.
The identification step of described software upgrading order and response is:
When command code is 0x1107, identify intelligent ODN software upgrading order; Software upgrading request command message body is 2+N byte altogether, comprises the upgrade request type of 1 byte, the upgrading object type of 1 byte and the upgrade command data of N byte; In upgrading object type, 0x01 represents staging business plate/dish, 0x02 represents the sub-frame control unit of upgrading, 0x03 represents upgrading intelligent network facility main control unit; When upgrade request type is 0x01, for starting upgrading, upgrade command data equal the data packet number of 2 bytes; When upgrade request type is 0x02, for downloading upgrade file, upgrade command data are the AKU data sum of 2 byte data bag sequence numbers and 1 ~ 1021 byte; When upgrade request type is 0x03, for having downloaded, upgrade command data have been the upgrade file end mark of 1 byte; When upgrade request type is 0x04, be inquiry updating result, without upgrade command data;
Software upgrading acknowledgement command message body is 1 byte, and when upgrade request type is 0x01 teacher, acknowledgement command is 0x00; When upgrade request order is 0x02, acknowledgement command is 0x00; When upgrade request order is 0x03, shows it is not last upgrade file when acknowledgement command is 0x00, when acknowledgement command is 0x01, be shown to be last upgrade file; When upgrade request type is 0x04, acknowledgement command is that 0x00 shows to upgrade successfully, and shows to upgrade unsuccessfully when acknowledgement command is 0x01; Wherein, when upgrading unsuccessfully, rollback answered by software.
The described identification step write into electronic labeling information order and response is:
When command code is 0x1108, mark is sent to the network facilities label information to be written, request command message body is N+3 byte altogether, comprise the frame number of 1 byte, the label information of the reel number of 1 byte, the port numbers of 1 byte and 128 bytes, acknowledgement command message body is 1 byte, 0 represents successfully, non-zeroly represents unsuccessfully.
The identification step of the order of described fetch equipment alarm/event information and response is:
When command code is 0x1109, mark fetch equipment alarm/temporal information; Request command message body occupies 2 bytes, and value request is 0xAA04; Acknowledgement command message body comprises the alarm number of 1 byte and the warning information of M 4 bytes, wherein alarm information formats is 1 byte frame numbering, 1 byte dish numbering, 1 byte port numbers and 1 byte alarm type, being that electronic tag carrier plug is abnormal when alarm type is 0x01 extracts alarm, 0x02 is that electronic tag carrier plug inserts alarm extremely, 0x03 is that business board/dish extracts alarm extremely, 0x04 is that business board/dish inserts alarm extremely, and 0x05 is the failed alarm of upgrading.
Described alarm/event reports the identification step of order and response to be automatically:
When command code is 0x110A, mark alarm/event reports automatically, reports command message physique formula to be the warning information of 1 byte alarm number, multiple 4 bytes.
Described alarm/event treatment step is:
The network facilities stores alarm/event information, after receiving reading command, Premium Features/event information mountain is passed, upload the maximum number of warning information is 20 at every turn, when the number of warning information number light rain command request, returning actual number, is that office terminal should at this request command when warning information number equals 20.
The identification step of described tutorial light order and response is:
When command code is 0x110B, mark tutorial light; Request command message body totally 4 bytes, comprise the frame number of each 1 byte, reel number, port numbers and action type, wherein action type are divided into 0x01 extinguishing, 0x02 quick flashing, 0x03 dodge slowly, the long bright Four types of 0x04; Acknowledgement command message body represents successfully when being 0, represents failure time non-zero.
Described configuration write order with the identification step of response is:
When command code is 0x110C, mark configuration write; Request command message body is totally 369 bytes, comprise the facility name of 80 bytes, 3 byte identifications of the manufacturer, 30 byte casing ID, the facility IP address of totally 12 bytes, subnet mask and gateway address, the SNMP information of 64 bytes, 128 byte facility locations, 200 byte operator business custom fields and 200 byte manufacturer custom fields; Acknowledgement command message body is 1 byte, and 0 represents successfully, non-zeroly represents unsuccessfully.

Claims (10)

1. the method for interchanging data of network intelligent management terminal and the network facilities, Intelligent management terminal adopts communication protocol and the network facilities to carry out message switching, it is characterized in that: it comprises the following steps:
S1. resource information collection: comprise reading facilities information, reading casing or facility ID, manufacturer's sign, read machine frame information, read plate/dish information, read port information and version number of reading hardware and software;
S2. software upgrading;
S3. electronic labeling information write;
S4. alarm/event information collection and automatically reporting;
S5. indicator light operation.
2. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, it is characterized in that: the communication mode between Intelligent management terminal and the network facilities is the half-duplex operation of band address, Intelligent management terminal is addressed to 0xFE, network facilities main control unit is addressed to 0x01, the sub-frame control unit of the network facilities is addressed to 0x02, in half-duplex operation mode, the maximum duration being switched to accepting state after data are sent is less than 3ms, baud rate is 230400bit/s, the command timeout response time is 300ms, and number of retransmissions is no more than 3 times.
3. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, it is characterized in that: described message comprises heading, message body and message trailer, wherein, heading length is fixed, and comprises message frame head, protocol version, reserved field, command code and conditional code; Message body carrying specific instructions and data, its variable-length; Message trailer comprises CRC check and message postamble, network byte order little endian mode, and coded system is UTF-8, variable-length; Message frame head length is 1 byte, is fixed as 0x7E, identifies the beginning of a frame ordering; Protocol version is 2 bytes, is 0x1000; Reserved field is 14 bytes, is defaulted as 0; Command code is 2 bytes, identifies different orders; Conditional code is 1 byte, represents the state of command execution, represents that this message is request message, represent that this message is response message when being 0 full when being 1 entirely; Described message body length can be 0 ~ 1024 byte, is the part of carrying specific instructions and data; CRC check part is 2 bytes, and verification scope is message body; Message postamble length is 1 byte, is fixed as 0x7E, identifies the end of a frame ordering.
4. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, it is characterized in that: in described resource information acquisition step, the identification step of resource information reading order and response is: when command code is 0x1101, mark reads network facilities title, request command message body is totally 2 bytes, value request is 0xAA01, acknowledgement command message body totally 80 bytes, wherein machine frame numbering is 1 byte, be divided into 0x01 ~ 0,x04 tetra-kinds of numberings, facility name is 80 bytes;
When command code is 0x1102, mark reads network facilities upper box or facility ID, identification of the manufacturer, and wherein request command message body is 2 bytes, is worth for 0Xaa03, and acknowledgement command message body is the identification of the manufacturer of 3 bytes and the facility ID of 30 bytes;
When command code is 0x1103, mark reads network facilities machine frame information, request command message body occupies 2 bytes, value is 0xAA02, acknowledgement command message body is N+2 byte altogether, comprise the board numbering of the unit frame sum of 1 byte, the frame numbering of N byte and 1 byte, be not wherein set to 0 by the frame position label used, board numbering is divided into 0x01 ~ 0,x04 tetra-kinds;
When command code is 0x1104, mark reads network facilities plate/dish information, request command message body is the frame number of 1 byte, can value 0x01 ~ maximum specification, wherein single frame device is set to 0x01, and acknowledgement command message body is 2+N byte, comprises the dish sum of 1 byte, the dish numbering of N number of byte and the port numbering mode of 1 byte, wherein port numbering mode is divided into 0x01 ~ 0,x04 tetra-kinds of modes;
When command code is 0x1105, mark reads network facilities port information, request command message body is totally 10 bytes, comprise the frame number of 1 byte, the business board number of 1 byte, the port numbers of 8 bytes and the reading tag extend information of 1 byte, its center span is 0x01 ~ maximum specification, business board span is 1 ~ maximum specification, the reading of port numbers need once read 8, not enough benefit 0 from 1, reading tag extend information value represents reading tag extend information when being 0x01, not reading tag extend information is represented during the 0x00 of value position, when reading tag extend information byte is 0x01, acknowledgement command message body reports the label information of totally 128 bytes of 8 ports, port order is corresponding with request command, when reading tag extend information byte is 0x00, acknowledgement command message body reports the label information of totally 32 bytes of 32 ports, port order is corresponding with request command,
When command code is 0x1106, mark reads network facilities software and hardware version number, request command message body work 2 byte, comprise 1 byte frame number and 1 byte business board number, its center span is 0x01 ~ maximum specification, 1 is set to without frame equipment, value represents the reading network facilities main control unit version when being 0x00, business board value can be 1 ~ maximum specification, when frame number is more than or equal to 1, business board number represents the version reading sub-frame control unit when being 0, when there is no sub-frame control unit, business board value 0 is invalid, read software and hardware version number acknowledgement command message body totally 48 bytes, wherein front 24 bytes are software version number, rear 24 bytes are hardware version numbers.
5. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, is characterized in that: described software upgrading step, comprises following sub-step:
S21. Intelligent management terminal issues auto-update order to the network facilities, starts upgrading;
S22. Intelligent management terminal downloads upgrade file order to the network facilities;
S23., after upgrade file has been downloaded, Intelligent management terminal is given and has been carried order to the network facilities;
S24. the network facilities starts software upgrading;
S25. Intelligent management terminal sends out the order of inquiry updating result to the network facilities, inquiry updating result.
6. the method for interchanging data of network intelligent management terminal according to claim 5 and the network facilities, is characterized in that: the identification step of described software upgrading order and response is:
When command code is 0x1107, identify intelligent ODN software upgrading order; Software upgrading request command message body is 2+N byte altogether, comprises the upgrade request type of 1 byte, the upgrading object type of 1 byte and the upgrade command data of N byte; In upgrading object type, 0x01 represents staging business plate/dish, 0x02 represents the sub-frame control unit of upgrading, 0x03 represents upgrading intelligent network facility main control unit; When upgrade request type is 0x01, for starting upgrading, upgrade command data equal the data packet number of 2 bytes; When upgrade request type is 0x02, for downloading upgrade file, upgrade command data are the AKU data sum of 2 byte data bag sequence numbers and 1 ~ 1021 byte; When upgrade request type is 0x03, for having downloaded, upgrade command data have been the upgrade file end mark of 1 byte; When upgrade request type is 0x04, be inquiry updating result, without upgrade command data;
Software upgrading acknowledgement command message body is 1 byte, and when upgrade request type is 0x01 teacher, acknowledgement command is 0x00; When upgrade request order is 0x02, acknowledgement command is 0x00; When upgrade request order is 0x03, shows it is not last upgrade file when acknowledgement command is 0x00, when acknowledgement command is 0x01, be shown to be last upgrade file; When upgrade request type is 0x04, acknowledgement command is that 0x00 shows to upgrade successfully, and shows to upgrade unsuccessfully when acknowledgement command is 0x01; Wherein, when upgrading unsuccessfully, rollback answered by software.
7. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, is characterized in that: described write electronic labeling information order and the identification step of response are:
When command code is 0x1108, mark is sent to the network facilities label information to be written, request command message body is N+3 byte altogether, comprise the frame number of 1 byte, the label information of the reel number of 1 byte, the port numbers of 1 byte and 128 bytes, acknowledgement command message body is 1 byte, 0 represents successfully, non-zeroly represents unsuccessfully.
8. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, it is characterized in that: described alarm/event information collection and automatically report order and corresponding identification step to comprise: the identification step of the order of fetch equipment alarm/event information and response, alarm/event reports identification step and the alarm/event treatment step of order and response automatically;
Described fetch equipment alarm/event information order and the identification step of response are: when command code is 0x1109, mark fetch equipment alarm/temporal information; Request command message body occupies 2 bytes, and value request is 0xAA04; Acknowledgement command message body comprises the alarm number of 1 byte and the warning information of M 4 bytes, wherein alarm information formats is 1 byte frame numbering, 1 byte dish numbering, 1 byte port numbers and 1 byte alarm type, being that electronic tag carrier plug is abnormal when alarm type is 0x01 extracts alarm, 0x02 is that electronic tag carrier plug inserts alarm extremely, 0x03 is that business board/dish extracts alarm extremely, 0x04 is that business board/dish inserts alarm extremely, and 0x05 is the failed alarm of upgrading;
Described alarm/event reports the identification step of order and response to be automatically: when command code is 0x110A, and mark alarm/event reports automatically, reports command message physique formula to be the warning information of 1 byte alarm number, multiple 4 bytes;
Described alarm/event treatment step is: the network facilities stores alarm/event information, after receiving reading command, Premium Features/event information mountain is passed, upload the maximum number of warning information is 20 at every turn, when the number of warning information number light rain command request, returning actual number, is that office terminal should at this request command when warning information number equals 20.
9. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, is characterized in that: the identification step of described tutorial light order and response is:
When command code is 0x110B, mark tutorial light; Request command message body totally 4 bytes, comprise the frame number of each 1 byte, reel number, port numbers and action type, wherein action type are divided into 0x01 extinguishing, 0x02 quick flashing, 0x03 dodge slowly, the long bright Four types of 0x04; Acknowledgement command message body represents successfully when being 0, represents failure time non-zero.
10. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, is characterized in that: described configuration write order with the identification step of response is:
When command code is 0x110C, mark configuration write; Request command message body is totally 369 bytes, comprise the facility name of 80 bytes, 3 byte identifications of the manufacturer, 30 byte casing ID, the facility IP address of totally 12 bytes, subnet mask and gateway address, the SNMP information of 64 bytes, 128 byte facility locations, 200 byte operator business custom fields and 200 byte manufacturer custom fields; Acknowledgement command message body is 1 byte, and 0 represents successfully, non-zeroly represents unsuccessfully.
CN201510117803.XA 2015-03-17 2015-03-17 The method for interchanging data of network intelligent management terminal and the network facilities Active CN104702441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510117803.XA CN104702441B (en) 2015-03-17 2015-03-17 The method for interchanging data of network intelligent management terminal and the network facilities

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510117803.XA CN104702441B (en) 2015-03-17 2015-03-17 The method for interchanging data of network intelligent management terminal and the network facilities

Publications (2)

Publication Number Publication Date
CN104702441A true CN104702441A (en) 2015-06-10
CN104702441B CN104702441B (en) 2018-01-12

Family

ID=53349233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510117803.XA Active CN104702441B (en) 2015-03-17 2015-03-17 The method for interchanging data of network intelligent management terminal and the network facilities

Country Status (1)

Country Link
CN (1) CN104702441B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245282A (en) * 2015-11-03 2016-01-13 黄迪 Intelligent optical fiber management system and testing method thereof
WO2017206535A1 (en) * 2016-06-03 2017-12-07 中兴通讯股份有限公司 Optical distribution network (odn) resource information collection method and device
CN108881258A (en) * 2018-06-29 2018-11-23 张家港市鸿嘉数字科技有限公司 A kind of intelligence system for network file safe transmission
CN109409689A (en) * 2018-09-29 2019-03-01 中国电力科学研究院有限公司 The method and system that a kind of pair of collector communication unit assets information is handled
CN109740027A (en) * 2019-01-28 2019-05-10 上海达梦数据库有限公司 Method for interchanging data, device, server and storage medium
CN110505075A (en) * 2018-05-18 2019-11-26 华为技术有限公司 Device management method and relevant device
CN110536323A (en) * 2019-09-04 2019-12-03 四川长虹电器股份有限公司 A kind of WiFi smart machine acceptance test method
CN111488015A (en) * 2020-03-19 2020-08-04 成都理工大学 Temperature and humidity control method based on ARM11 platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020165945A1 (en) * 2001-05-07 2002-11-07 Randy Buswell Method and system for registry flying in a network
US20070288984A1 (en) * 2006-04-11 2007-12-13 Kyung Ho Kim Digital broadcast receiver and method for receiving a software
CN102075918A (en) * 2011-01-13 2011-05-25 大唐移动通信设备有限公司 Base station remote radio unit (RRU) system updating method and device thereof
CN102811136A (en) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 Software upgrading system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020165945A1 (en) * 2001-05-07 2002-11-07 Randy Buswell Method and system for registry flying in a network
US20070288984A1 (en) * 2006-04-11 2007-12-13 Kyung Ho Kim Digital broadcast receiver and method for receiving a software
CN102075918A (en) * 2011-01-13 2011-05-25 大唐移动通信设备有限公司 Base station remote radio unit (RRU) system updating method and device thereof
CN102811136A (en) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 Software upgrading system and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245282A (en) * 2015-11-03 2016-01-13 黄迪 Intelligent optical fiber management system and testing method thereof
WO2017206535A1 (en) * 2016-06-03 2017-12-07 中兴通讯股份有限公司 Optical distribution network (odn) resource information collection method and device
CN110505075A (en) * 2018-05-18 2019-11-26 华为技术有限公司 Device management method and relevant device
US11411797B2 (en) 2018-05-18 2022-08-09 Huawei Technologies Co., Ltd. Device management method and related device
CN110505075B (en) * 2018-05-18 2022-11-25 华为技术有限公司 Device management method and related device
CN108881258A (en) * 2018-06-29 2018-11-23 张家港市鸿嘉数字科技有限公司 A kind of intelligence system for network file safe transmission
CN109409689A (en) * 2018-09-29 2019-03-01 中国电力科学研究院有限公司 The method and system that a kind of pair of collector communication unit assets information is handled
CN109740027A (en) * 2019-01-28 2019-05-10 上海达梦数据库有限公司 Method for interchanging data, device, server and storage medium
CN110536323A (en) * 2019-09-04 2019-12-03 四川长虹电器股份有限公司 A kind of WiFi smart machine acceptance test method
CN111488015A (en) * 2020-03-19 2020-08-04 成都理工大学 Temperature and humidity control method based on ARM11 platform

Also Published As

Publication number Publication date
CN104702441B (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN104702441A (en) Data exchange method between network intelligent management terminal and network facility
CN107909131B (en) Intelligent ODN equipment and automatic fiber core control method
CN104243331A (en) Intelligent collecting router and implementing method thereof
CN207336882U (en) A kind of device for realizing automatic optical fiber distribution
WO2020215452A1 (en) Electricity utilization information collection system, and nb-iot communication module and communication method therefor
CN205105252U (en) Fire control thing networking transmission equipment
CN107911764B (en) Method for accelerating business management of intensive EPON ONU
CN100514928C (en) Method for rapidly forming dendriform topology structure of network equipment
WO2016106520A1 (en) Method, terminal and system for transmitting information in optical network
CN108011979A (en) A kind of intelligent public lavatory remote monitoring system
CN203366087U (en) Automated control and monitoring system for digital cinema equipment
CN101895534A (en) Protocol conversion interface device of substation intelligent device
CN103606041A (en) A power distribution terminal operation and maintenance management system
CN208207859U (en) Intelligent odn equipment
CN106507416A (en) Data pack transmission method and device
CN202309761U (en) Protocol converter
CN103683496B (en) A kind of power equipment protocol variation of plug and play and device
CN202094924U (en) Serial server
CN109274587A (en) A kind of energy source gateway for supporting multi-protocols
CN205080410U (en) Take remote monitering system's outdoor show case of LED
CN208224818U (en) A kind of remote data management system of critical-cross carbon dioxide air source heat pump
CN208581244U (en) Gateway and the wisdom road lamp system for using the gateway
CN208924267U (en) A kind of energy gateway apparatus
CN104702440B (en) The communication means of the network facilities and NMS
CN101754055A (en) Automatic network element ID setting method, ID management server and agent network element

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