CN104702441B - The method for interchanging data of network intelligent management terminal and the network facilities - Google Patents

The method for interchanging data of network intelligent management terminal and the network facilities Download PDF

Info

Publication number
CN104702441B
CN104702441B CN201510117803.XA CN201510117803A CN104702441B CN 104702441 B CN104702441 B CN 104702441B CN 201510117803 A CN201510117803 A CN 201510117803A CN 104702441 B CN104702441 B CN 104702441B
Authority
CN
China
Prior art keywords
byte
information
network
command
bytes
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.)
Active
Application number
CN201510117803.XA
Other languages
Chinese (zh)
Other versions
CN104702441A (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 the method for interchanging data of a kind of network intelligent management terminal and the network facilities, Intelligent management terminal carries out MESSAGE EXCHANGE using communication protocol and the network facilities, and it comprises the following steps:Resource information gathers:Including reading facilities information, reading casing or facility ID, manufacturer's sign, machine frame information is read, reads plate disc information, read port information and version number of reading hardware and software;Software upgrading;Electronic labeling information writes;Alarm/event information is gathered and reported automatically;Indicator lamp operates.The present invention is provided to plant the method for interchanging data of simple, reliable network intelligent management terminal and the network facilities, solve the reliable data transmission problems between intelligent optical distribution network Intelligent management terminal and the network facilities, so as to system maintenance personnel can promptly collection network facility running status, provide technical support and guarantee for system maintenance, management and diagnosis.

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, more particularly to the data of a kind of network intelligent management terminal and the network facilities to hand over Change method.
Background technology
With the emergence that new business is applied, such as HD video, game online etc., the usage amount of internet was in the past There occurs huge growth within 10 years.With Internet user and the rapid growth of business, access network bandwidth demand is carried at double Height, require more and more higher for the Performance And Reliability of network so that PON starts more splitting ratios and more ONU quantity occur Development trend, it is therefore desirable to special equipment management system carries out real-time management to the parameter of the network equipment, running status etc. And monitoring, when a network fails, scheduling, the fault diagnosis and location of network line can be carried out rapidly, is striven most short Make network recovery normal in time.
Each part interface of equipment management system and agreement that the country is applied at present are special, non-opening mostly , more technology barriers be present, limit domestic exploitation and popularization and application about Network Management Equipment.
The content of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide a kind of simple, reliable network intelligent management end End and the method for interchanging data of the network facilities, are solved reliable between intelligent optical distribution network Intelligent management terminal and the network facilities Data transmission problems, so as to system maintenance personnel can promptly collection network facility running status, be system maintenance, management Technical support and guarantee are provided with diagnosis.
The purpose of the present invention is 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 specified communication protocols View, MESSAGE EXCHANGE is carried out with the network facilities, it comprises the following steps:
S1. resource information gathers:Including reading facilities information, casing or facility ID, manufacturer's sign are read, reads machine frame letter Breath, read plate disc information, read port information and version number of reading hardware and software;
S2. software upgrading;
S3. electronic labeling information writes;
S4. alarm/event information is gathered and reported automatically;
S5. indicator lamp operates.
Described communication protocol is RS485 agreements.
Communication mode between Intelligent management terminal and the network facilities is the half-duplex operation with address.
Intelligent management terminal is addressed to 0xFE, and network facilities main control unit is addressed to 0x01, the sub- frame control of the network facilities Unit is addressed to 0x02.
In described half-duplex operation mode, data are switched to reception state maximum duration after being sent is less than 3ms.
In described half-duplex operation mode, baud rate 230400baud/s,
In described half-duplex operation mode, the command timeout response time is 300ms, and number of retransmissions is no more than 3 times.
The message includes heading, message body and message trailer, wherein, heading length is fixed, including message frame head, association Discuss version number, reserved field, command code and conditional code;Message body carries specific instructions and data, its length are variable;Message trailer bag Include CRC check and message postamble, network byte order little endian mode, coded system UTF-8, length is variable.
Described message frame head length is 1 byte, is fixed as 0x7E, identifies the beginning of a frame ordering;Protocol version It is 0x1000 for 2 bytes;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 that order performs, and it is request message that the message is represented when being all 1, and being represented when being all 0 should Message is response message;The message body length can be 0~1024 byte, be the part for carrying specific instructions and data;CRC schools It is 2 bytes to test part, and verification scope is message body;Message frame tail length degree is 1 byte, is fixed as 0x7E, mark one frame life The end of order.
In described resource information acquisition step, resource information reading order is with the identification step responded:Work as command code For 0x1101 when, mark reads network facilities title, request command message body totally 2 bytes, value request 0xAA01, response life Message body totally 81 byte is made, wherein machine frame numbering is 1 byte, is divided into tetra- kinds of numberings of 0x01~0x04, facility name Referred to as 81 bytes;
When command code is 0x1102, mark reads network facilities upper box or facility ID, identification of the manufacturer, wherein request life It is 2 bytes to make message body, is worth for 0Xaa03, and acknowledgement command message body is the identification of the manufacturer of 3 bytes and setting for 30 bytes Apply ID;
When command code is 0x1103, mark reads network facilities machine frame information, and request command message body occupies 2 words Section, be worth that the unit frame for 0xAA02, the common N+2 byte of acknowledgement command message body, including 1 byte is total, frame of N byte is numbered and The board numbering of 1 byte, wherein the frame position label being not used by is arranged to 0, board numbering is divided into 0x01~0x04 Four kinds;
When command code is 0x1104, mark reads network facilities plate disc information, and request command message body is 1 byte Frame number, can value 0x01~maximum specification, wherein single frame device is arranged to 0x01, and acknowledgement command message body is 2+N byte, bag The disk sum of 1 byte, the disk numbering of N number of byte and the port numbering mode of 1 byte are included, wherein port numbering mode is divided into Tetra- kinds of modes of 0x01~0x04;
When command code is 0x1105, mark reads network facilities port information, request command message body totally 10 bytes, Frame number including 1 byte, the business board number of 1 byte, the reading tag extension information of the port numbers of 8 bytes and 1 byte, its center Number span is 0x01~maximum specification, and business board span is 1~maximum specification, and the reading of port numbers need to once be read 8 are taken, deficiency mends 0 since 1, reads and represents to read tag extension information, value position when tag extension information value is 0x01 Represent not reading tag extension information during 0x00, when it is 0x01 to read tag extension information byte, on acknowledgement command message body The label information of totally 128 bytes of 8 ports is reported, port order is corresponding with request command, when reading tag extension information byte For 0x00 when, acknowledgement command message body reports the label information of totally 32 bytes of 32 ports, port order and request command pair Should;
When command code is 0x1106, mark reads network facilities software and hardware version number, the word of request command message body work 2 Section, including 1 byte frame number and 1 byte business board number, its center span are 0x01~maximum specification, rimless equipment is set Represent to read network facilities main control unit version for 1, when value is 0x00, business board value can be 1~maximum specification, work as frame Number it is more than or equal to 1, represents to read the version of sub- frame control unit when business board number is 0, when no sub- frame control unit, business Plate value 0 is invalid, software and hardware version number acknowledgement command message body totally 48 byte is read, wherein preceding 24 byte is software version Number, rear 24 byte is hardware version numbers.
The software upgrading step, including following sub-step:
S21. Intelligent management terminal issues automatic upgrade command to the network facilities, starts upgrading;
S22. Intelligent management terminal downloads upgrade file order to the network facilities;
S23. after the completion of upgrade file is downloaded, Intelligent management terminal gives load and completes order to the network facilities;
S24. the network facilities starts software upgrading;
S25. the inquiry updating result order of Intelligent management terminal hair inquires about updating result to the network facilities.
The software upgrading order and response identification step be:
When command code is 0x1107, intelligent ODN software upgradings order is identified;The common 2+ of software upgrading request command message body N number of byte, include the upgrade request type of 1 byte, the upgrading object type of 1 byte and the upgrade command data of N byte;Rise In level object type, 0x01 represents that staging business plate disc, 0x02 represent to upgrade sub- frame control unit, 0x03 expression upgrading intelligence Network facilities main control unit;When upgrade request type is 0x01, upgrade to start, upgrade command data are equal to the number of 2 bytes According to bag quantity;When upgrade request type is 0x02, to download upgrade file, upgrade command data are 2 byte data bag sequence numbers and 1 The upgrading bag data sum of~1021 bytes;When upgrade request type is 0x03, completed to download, upgrade command data are 1 word The upgrade file end mark of section;When upgrade request type is 0x04, to inquire about updating result, no 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 0x00;When upgrade request order is 0x03, acknowledgement command is Show it is not last upgrade file during 0x00, acknowledgement command is shown to be last upgrade file when being 0x01;Upgrade request type is During 0x04, acknowledgement command is that 0x00 shows to upgrade successfully, and acknowledgement command shows upgrading failure when being 0x01;Wherein, upgrading failure When, software answers rollback.
It is described write into electronic labeling information order and response identification step be:
When command code is 0x1108, identifies and label information to be written is sent to the network facilities, request command message The common N+3 byte of body, including the frame number of 1 byte, the reel number of 1 byte, the label information of the port numbers of 1 byte and N byte, wherein N=128, acknowledgement command message body are 1 byte, and 0 represents successfully, non-zero to represent failure.
Reading equipment alarm/event information the order and the identification step responded are:
When command code is 0x1109, mark reads equipment alarm/temporal information;Request command message body occupies 2 words Section, value request 0xAA04;Acknowledgement command message body includes the alarm number of 1 byte and the warning information of multiple 4 bytes, its Middle alarm information formats are that 1 byte frame numbering, 1 byte disk numbering, 1 byte port numbers and 1 byte alarm type, alarm type are It is the extraction alarm extremely of electronic tag carrier plug during 0x01,0x02 is that the insertion extremely of electronic tag carrier plug alerts, 0x03 Alarm is extracted extremely for business plate disc, and 0x04 is the insertion alarm extremely of business plate disc, and 0x05 unsuccessfully alerts for upgrading;
The alarm/event report automatically order and response identification step be:
When command code is 0x110A, mark alarm/event reports automatically, reports command message physique formula to be accused for 1 byte Alert number, the warning information of multiple 4 bytes.
The alarm/event processing step is:
The network facilities stores alarm/event information, and after reading instruction is received, Premium Features/event information is uploaded, Each warning information maximum bar number that uploads is 20, when bar number of the warning information bar number less than instruction requirement, returns to actual bar number, when When warning information bar number is equal to 20, management terminal should be in this request command.
The tutorial light order and response identification step be:
When command code is 0x110B, tutorial light is identified;Request command message body totally 4 byte, including each 1 byte Frame number, reel number, port numbers and action type, wherein action type are divided into 0x01 extinguishings, 0x02 quick flashings, 0x03 slow flash, 0x04 length Bright four type;Acknowledgement command message body is represented successfully when being 0, and failure is represented when non-zero.
The configuration writing commands and the identification step of response are:
When command code is 0x110C, mark configuration write-in;Request command message body totally 369 bytes, including 81 bytes Facility name, 3 byte identifications of the manufacturer, 30 byte casing ID, facility IP address, subnet mask and the gateway address of totally 12 bytes, The SNMP information of 64 bytes, 128 byte facility locations, 200 byte operator business custom fields and the 200 self-defined words of byte manufacturer Section;Acknowledgement command message body is 1 byte, and 0 represents successfully, non-zero to represent failure.
The beneficial effects of the invention are as follows:The present invention is solved between intelligent optical distribution network Intelligent management terminal and the network facilities Reliable data transmission problems so that system maintenance personnel can promptly collection network facility running status, be system Safeguard, management and diagnosis provide technical support and guarantee, overall operation level, system for improving China's optical-fiber network be open, Transparent, compatible equipment management system specification will play a significant role.
Brief description of the drawings
Fig. 1 is the flow chart of inventive network Intelligent management terminal and the method for interchanging data of the network facilities;
Fig. 2 is the I2 interfaces of inventive network Intelligent management terminal and the method for interchanging data of the network facilities in intelligent ODN In the location drawing;
Fig. 3 is the message structure figure in inventive network Intelligent management terminal and the method for interchanging data of the network facilities;
Fig. 4 is the flow of software upgrading in inventive network Intelligent management terminal and the method for interchanging data of the network facilities Figure.
Embodiment
Technical scheme is described in further detail below in conjunction with the accompanying drawings, but protection scope of the present invention is not limited to It is as described below.
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 finger Fixed communication protocol, MESSAGE EXCHANGE is carried out with the network facilities, it comprises the following steps:
S1. resource information gathers:Including reading facilities information, casing or facility ID, manufacturer's sign are read, reads machine frame letter Breath, read plate disc information, read port information and version number of reading hardware and software;
S2. software upgrading;
S3. electronic labeling information writes;
S4. alarm/event information is gathered and reported automatically;
S5. indicator lamp operates.
As shown in Fig. 2 I2 interfaces are used between Intelligent management terminal and the network facilities, wherein, the electric interfaces of I2 interfaces are adopted With RS485 agreements, physical interface uses RJ45 interfaces, and physical interface supports power supply and communication function simultaneously.Between RJ45 interfaces Connected by five classes or super Category-5 twisted pair, two end interfaces use TIA/EIA568B joint forms, RJ45 each pin definition As shown in table 1.
Table 1
The electrical characteristic of RS485 interfaces meets the requirement of TIA-485-A standards, and RS485 communication frame structures are as shown in table 2, When address bit is arranged to 1, data bit transmission is address information, and when address bit is 0, data bit transmission is data letter Breath;Transmission order is first to send out a frame address, then is continued to the address transmission data frame.
Table 2
Start bit Data bit Address bit Stop position
1bit 8bits 1bit 1bit
Communication mode between Intelligent management terminal and the network facilities is the half-duplex operation with address;Intelligent management terminal is compiled Location is 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;Half-duplex is led to In letter mode, data are switched to reception state maximum duration after being sent is less than 3ms;Baud rate is 230400baud/s; The command timeout response time is 300ms, and number of retransmissions is no more than 3 times.
As shown in figure 3, the message includes heading, message body and message trailer, wherein, heading length is fixed, including Message frame head, protocol version, reserved field, command code and conditional code;Message body carries specific instructions and data, and its length can Become;Message trailer includes CRC check and message postamble, and network byte order little endian mode, coded system UTF-8, length can Become.
Described message frame head length is 1 byte, is fixed as 0x7E, identifies the beginning of a frame ordering;Protocol version It is 0x1000 for 2 bytes;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 that order performs, and it is request message that the message is represented when being all 1, and being represented when being all 0 should Message is response message;The message body length can be 0~1024 byte, be the part for carrying specific instructions and data;CRC schools It is 2 bytes to test part, and verification scope is message body;Message frame tail length degree is 1 byte, is fixed as 0x7E, mark one frame life The end of order.
I2 interfaces need the basic command supported and command code as shown in table 3:
Table 3
In described resource information acquisition step, resource information reading order is with the identification step responded:Work as command code For 0x1101 when, mark reads network facilities title, request command message body totally 2 bytes, value request 0xAA01, response life Message body totally 81 byte is made, wherein machine frame numbering is 1 byte, is divided into tetra- kinds of numberings of 0x01~0x04, facility name Referred to as 81 bytes;
When command code is 0x1102, mark reads network facilities upper box or facility ID, identification of the manufacturer, wherein request life It is 2 bytes to make message body, is worth for 0Xaa03, and acknowledgement command message body is the identification of the manufacturer of 3 bytes and setting for 30 bytes Apply ID;
When command code is 0x1103, mark reads network facilities machine frame information, and request command message body occupies 2 words Section, be worth that the unit frame for 0xAA02, the common N+2 byte of acknowledgement command message body, including 1 byte is total, frame of N byte is numbered and The board numbering of 1 byte, wherein the frame position label being not used by is arranged to 0, board numbering is divided into 0x01~0x04 Four kinds;
When command code is 0x1104, mark reads network facilities plate disc information, and request command message body is 1 byte Frame number, can value 0x01~maximum specification, wherein single frame device is arranged to 0x01, and acknowledgement command message body is 2+N byte, bag The disk sum of 1 byte, the disk numbering of N number of byte and the port numbering mode of 1 byte are included, wherein port numbering mode is divided into Tetra- kinds of modes of 0x01~0x04;
When command code is 0x1105, mark reads network facilities port information, request command message body totally 10 bytes, Frame number including 1 byte, the business board number of 1 byte, the reading tag extension information of the port numbers of 8 bytes and 1 byte, its center Number span is 0x01~maximum specification, and business board span is 1~maximum specification, and the reading of port numbers need to once be read 8 are taken, deficiency mends 0 since 1, reads and represents to read tag extension information, value position when tag extension information value is 0x01 Represent not reading tag extension information during 0x00, when it is 0x01 to read tag extension information byte, on acknowledgement command message body The label information of totally 128 bytes of 8 ports is reported, port order is corresponding with request command, when reading tag extension information byte For 0x00 when, acknowledgement command message body reports the label information of totally 32 bytes of 32 ports, port order and request command pair Should;
When command code is 0x1106, mark reads network facilities software and hardware version number, the word of request command message body work 2 Section, including 1 byte frame number and 1 byte business board number, its center span are 0x01~maximum specification, rimless equipment is set Represent to read network facilities main control unit version for 1, when value is 0x00, business board value can be 1~maximum specification, work as frame Number it is more than or equal to 1, represents to read the version of sub- frame control unit when business board number is 0, when no sub- frame control unit, business Plate value 0 is invalid, software and hardware version number acknowledgement command message body totally 48 byte is read, wherein preceding 24 byte is software version Number, rear 24 byte is hardware version numbers.
Software and hardware version number should read according to the byte of fixed length 24 respectively, i.e., response message body should be the byte of fixed length 48, preceding 24 bytes are software version number, and rear 24 byte is hardware version numbers.Software version number should be blocked according to 24 bytes more than 24 bytes Processing;Less than 24 bytes, subsequent byte should fill 0 and be handled according to 24 bytes.Hardware version numbers more than 24 bytes, should block according to The processing of 24 bytes;Less than 24 bytes, subsequent byte should fill 0 and be handled according to 24 bytes.
As shown in figure 4, the software upgrading step, including following sub-step:
S21. Intelligent management terminal issues automatic upgrade command to the network facilities, starts upgrading;
S22. Intelligent management terminal downloads upgrade file order to the network facilities;
S23. after the completion of upgrade file is downloaded, Intelligent management terminal gives load and completes order to the network facilities;
S24. the network facilities starts software upgrading;
S25. the inquiry updating result order of Intelligent management terminal hair inquires about updating result to the network facilities.
The software upgrading order and response identification step be:
When command code is 0x1107, intelligent ODN software upgradings order is identified;The common 2+ of software upgrading request command message body N number of byte, include the upgrade request type of 1 byte, the upgrading object type of 1 byte and the upgrade command data of N byte;Rise In level object type, 0x01 represents that staging business plate disc, 0x02 represent to upgrade sub- frame control unit, 0x03 expression upgrading intelligence Network facilities main control unit;When upgrade request type is 0x01, upgrade to start, upgrade command data are equal to the number of 2 bytes According to bag quantity;When upgrade request type is 0x02, to download upgrade file, upgrade command data are 2 byte data bag sequence numbers and 1 The upgrading bag data sum of~1021 bytes;When upgrade request type is 0x03, completed to download, upgrade command data are 1 word The upgrade file end mark of section;When upgrade request type is 0x04, to inquire about updating result, no 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 0x00;When upgrade request order is 0x03, acknowledgement command is Show it is not last upgrade file during 0x00, acknowledgement command is shown to be last upgrade file when being 0x01;Upgrade request type is During 0x04, acknowledgement command is that 0x00 shows to upgrade successfully, and acknowledgement command shows upgrading failure when being 0x01;Wherein, upgrading failure When, software answers rollback.
It is described write into electronic labeling information order and response identification step be:
When command code is 0x1108, identifies and label information to be written is sent to the network facilities, request command message The common N+3 byte of body, including the frame number of 1 byte, the reel number of 1 byte, the label information of the port numbers of 1 byte and N byte, wherein N=128, acknowledgement command message body are 1 byte, and 0 represents successfully, non-zero to represent failure.
Reading equipment alarm/event information the order and the identification step responded are:
When command code is 0x1109, mark reads equipment alarm/temporal information;Request command message body occupies 2 words Section, value request 0xAA04;Acknowledgement command message body includes the alarm number of 1 byte and the warning information of multiple 4 bytes, its Middle alarm information formats are that 1 byte frame numbering, 1 byte disk numbering, 1 byte port numbers and 1 byte alarm type, alarm type are It is the extraction alarm extremely of electronic tag carrier plug during 0x01,0x02 is that the insertion extremely of electronic tag carrier plug alerts, 0x03 Alarm is extracted extremely for business plate disc, and 0x04 is the insertion alarm extremely of business plate disc, and 0x05 unsuccessfully alerts for upgrading;
The alarm/event report automatically order and response identification step be:
When command code is 0x110A, mark alarm/event reports automatically, reports command message physique formula to be accused for 1 byte Alert number, the warning information of multiple 4 bytes.
The alarm/event processing step is:
The network facilities stores alarm/event information, and after reading instruction is received, Premium Features/event information is uploaded, Each warning information maximum bar number that uploads is 20, when bar number of the warning information bar number less than instruction requirement, returns to actual bar number, when When warning information bar number is equal to 20, management terminal should be in this request command.
The tutorial light order and response identification step be:
When command code is 0x110B, tutorial light is identified;Request command message body totally 4 byte, including each 1 byte Frame number, reel number, port numbers and action type, wherein action type are divided into 0x01 extinguishings, 0x02 quick flashings, 0x03 slow flash, 0x04 length Bright four type;Acknowledgement command message body is represented successfully when being 0, and failure is represented when non-zero.
The configuration writing commands and the identification step of response are:
When command code is 0x110C, mark configuration write-in;Request command message body totally 369 bytes, including 81 bytes Facility name, 3 byte identifications of the manufacturer, 30 byte casing ID, facility IP address, subnet mask and the gateway address of totally 12 bytes, The SNMP information of 64 bytes, 128 byte facility locations, 200 byte operator business custom fields and the 200 self-defined words of byte manufacturer Section;Acknowledgement command message body is 1 byte, and 0 represents successfully, non-zero to represent failure.

Claims (8)

1. the method for interchanging data of network intelligent management terminal and the network facilities, Intelligent management terminal uses communication protocol and network Facility carries out MESSAGE EXCHANGE, and it comprises the following steps:
S1. resource information gathers:Including reading facilities information, casing or facility ID, manufacturer's sign are read, reads machine frame information, Read plate disc information, read port information and version number of reading hardware and software;
S2. software upgrading;
S3. electronic labeling information writes;
S4. alarm/event information is gathered and reported automatically;
S5. indicator lamp operates;It is characterized in that:In described resource information acquisition step, resource information reading order and response Identification step be:When command code is 0x1101, mark reads network facilities title, request command message body totally 2 bytes, Value request is 0xAA01, and acknowledgement command message body totally 81 byte, wherein machine frame numbering is 1 byte, be divided into 0x01~ Tetra- kinds of numberings of 0x04, facility name are 81 bytes;
When command code is 0x1102, mark reads network facilities upper box or facility ID, identification of the manufacturer, wherein request command report Style 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, and request command message body occupies 2 bytes, is worth For 0xAA02, the unit frame sum of the common N+2 byte of acknowledgement command message body, including 1 byte, the frame numbering of N byte and 1 byte Board numbering, wherein the frame position label being not used by is arranged to 0, board numbering is divided into tetra- kinds of 0x01~0x04;
When command code is 0x1104, mark reads network facilities plate disc information, and request command message body is the frame number of 1 byte, Can value 0x01~maximum specification, wherein single frame device is arranged to 0x01, and acknowledgement command message body is 2+N byte, including 1 The disk sum of byte, the disk numbering of N number of byte and the port numbering mode of 1 byte, wherein port numbering mode are divided into 0x01 Tetra- kinds of modes of~0x04;
When command code is 0x1105, mark reads network facilities port information, request command message body totally 10 bytes, including The frame number of 1 byte, the business board number of 1 byte, the reading tag extension information of the port numbers of 8 bytes and 1 byte, its center number take Value scope is 0x01~maximum specification, and business board span is 1~maximum specification, and the reading of port numbers need to once read 8 Individual, deficiency mends 0 since 1, reads and represents to read tag extension information, value position 0x00 when tag extension information value is 0x01 When represent do not read tag extension information, when read tag extension information byte be 0x01 when, acknowledgement command message body reports 8 The label information of totally 128 bytes of port, port order is corresponding with request command, is 0x00 when reading tag extension information byte When, acknowledgement command message body reports the label information of totally 32 bytes of 32 ports, and 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 totally 2 byte, bag 1 byte frame number and 1 byte business board number are included, its center span is 0x01~maximum specification, and rimless equipment is arranged to 1, Represent to read the network facilities main control unit version when value is 0x00, business board value can be 1~maximum specification, when frame number is big In equal to 1, the version of the sub- frame control unit of reading, when no sub- frame control unit, business board number are represented when business board number is 0 Value 0 is invalid, reads software and hardware version number acknowledgement command message body totally 48 byte, wherein preceding 24 byte is software version number, after 24 bytes are hardware version numbers.
2. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, it is characterised in that: Communication mode between Intelligent management terminal and the network facilities is the half-duplex operation with address, and Intelligent management terminal is addressed to 0xFE, network facilities main control unit are addressed to 0x01, and the sub- frame control unit of the network facilities is addressed to 0x02, in half-duplex operation In mode, data are switched to reception state maximum duration after being sent is less than 3ms, baud rate 230400baud/s, life It is 300ms to make the overtime response time, 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 characterised in that: The message includes heading, message body and message trailer, wherein, heading length is fixed, including message frame head, protocol version Number, reserved field, command code and conditional code;Message body carries specific instructions and data, its length are variable;Message trailer includes CRC Verification and message postamble, network byte order little endian mode, coded system UTF-8, length are variable;Message frame head length is 1 byte, 0x7E is fixed as, identifies the beginning of a frame ordering;Protocol version is 2 bytes, is 0x1000;Reserved field is 14 bytes, are defaulted as 0;Command code is 2 bytes, identifies different orders;Conditional code is 1 byte, represents that order performs State, it is request message that the message is represented when being all 1, and it is response message that the message is represented when being all 0;The message body length It can be 0~1024 byte, be the part for carrying specific instructions and data;CRC check part is 2 bytes, and verification scope is report Style;Message frame tail length degree 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 characterised in that: The software upgrading step, including following sub-step:
S21. Intelligent management terminal issues automatic upgrade command to the network facilities, starts upgrading;
S22. Intelligent management terminal downloads upgrade file order to the network facilities;
S23. after the completion of upgrade file is downloaded, Intelligent management terminal gives load and completes order to the network facilities;
S24. the network facilities starts software upgrading;
S25. the inquiry updating result order of Intelligent management terminal hair inquires about updating result to the network facilities.
5. the method for interchanging data of network intelligent management terminal according to claim 4 and the network facilities, it is characterised in that: The software upgrading order and response identification step be:
When command code is 0x1107, intelligent ODN software upgradings order is identified;Software upgrading request command message body common 2+N Byte, include the upgrade request type of 1 byte, the upgrading object type of 1 byte and the upgrade command data of N byte;Upgrading In object type, 0x01 represents that staging business plate disc, 0x02 represent to upgrade sub- frame control unit, 0x03 expression upgrading intelligent networks Network facility main control unit;When upgrade request type is 0x01, upgrade to start, upgrade command data are equal to the data of 2 bytes Bag quantity;When upgrade request type is 0x02, to download upgrade file, upgrade command data be 2 byte data bag sequence numbers with 1~ The upgrading bag data sum of 1021 bytes;When upgrade request type is 0x03, completed to download, upgrade command data are 1 byte Upgrade file end mark;When upgrade request type is 0x04, to inquire about updating result, no upgrade command data;
Software upgrading acknowledgement command message body is 1 byte, when upgrade request type is 0x01 teacher, acknowledgement command 0x00;When When upgrade request order is 0x02, acknowledgement command 0x00;When upgrade request order is 0x03, table when acknowledgement command is 0x00 Bright is not last upgrade file, and acknowledgement command is shown to be last upgrade file when being 0x01;, should when upgrade request type is 0x04 Answer order to show to upgrade successfully for 0x00, acknowledgement command shows upgrading failure when being 0x01;Wherein, during upgrading failure, software should Rollback.
6. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, it is characterised in that: Described write-in electronic labeling information order and response identification step be:
When command code is 0x1108, identifies and label information to be written is sent to the network facilities, the common N of request command message body + 3 bytes, including the frame number of 1 byte, the reel number of 1 byte, the label information of the port numbers of 1 byte and N byte, wherein N= 128, acknowledgement command message body is 1 byte, and 0 represents successfully, non-zero to represent failure.
7. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, it is characterised in that: The alarm/event information gathers and reports order to include with corresponding identification step automatically:Read equipment alarm/event information The identification step of order and response, alarm/event report the identification step of order and response and alarm/event processing to walk automatically Suddenly;
Described reading equipment alarm/event information order and response identification step be:When command code is 0x1109, mark Read equipment alarm/temporal information;Request command message body occupies 2 bytes, value request 0xAA04;Acknowledgement command message body The warning information of alarm number and multiple 4 bytes including 1 byte, wherein alarm information formats are 1 byte frame numbering, 1 word Disk numbering, 1 byte port numbers and 1 byte alarm type are saved, is that electronic tag carrier plug pulls out extremely when alarm type is 0x01 Go out alarm, 0x02 is the insertion alarm extremely of electronic tag carrier plug, and 0x03 is that business plate disc extracts alarm extremely, and 0x04 is The insertion alarm extremely of business plate disc, 0x05 unsuccessfully alert for upgrading;
The alarm/event report automatically order and response identification step be:When command code is 0x110A, mark alarm/ Event reports automatically, reports command message physique formula to alert number, the warning information of multiple 4 bytes for 1 byte;
The alarm/event processing step is:The network facilities stores alarm/event information, after reading instruction is received, by height Level function/event information uploads, and it is 20 to upload warning information maximum bar number every time, when warning information bar number is less than what instruction required Bar number, actual bar number is returned to, when warning information bar number is equal to 20, management terminal should be in this request command.
8. the method for interchanging data of network intelligent management terminal according to claim 1 and the network facilities, it is characterised in that: The tutorial light order and response identification step be:
When command code is 0x110B, tutorial light is identified;Request command message body totally 4 byte, include the frame of each 1 byte Number, reel number, port numbers and action type, it is bright to be divided into 0x01 extinguishings, 0x02 quick flashings, 0x03 slow flash, 0x04 length wherein action type Four types;Acknowledgement command message body is represented successfully when being 0, and failure is represented when non-zero.
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 CN104702441A (en) 2015-06-10
CN104702441B true 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)

Families Citing this family (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
CN107465528B (en) * 2016-06-03 2022-04-15 中兴通讯股份有限公司 ODN resource information acquisition method and device for optical distribution network
CN110505075B (en) * 2018-05-18 2022-11-25 华为技术有限公司 Device management method and related device
CN108881258B (en) * 2018-06-29 2020-10-20 张家港市鸿嘉数字科技有限公司 Intelligent system for safe transmission of network files
CN109409689B (en) * 2018-09-29 2023-03-24 中国电力科学研究院有限公司 Method and system for processing asset information of collector communication unit
CN109740027B (en) * 2019-01-28 2020-01-10 上海达梦数据库有限公司 Data exchange method, device, server and storage medium
CN110536323B (en) * 2019-09-04 2021-06-22 四川长虹电器股份有限公司 WiFi intelligent equipment acceptance detection method
CN111488015A (en) * 2020-03-19 2020-08-04 成都理工大学 Temperature and humidity control method based on ARM11 platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* 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
KR20070101507A (en) * 2006-04-11 2007-10-17 엘지전자 주식회사 Broadcasting receiver and method for updating firmware and system for transmitting data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104702441A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN104702441B (en) The method for interchanging data of network intelligent management terminal and the network facilities
CN108234614A (en) A kind of exchange method based on custom protocol and Netty frames
CN107909131B (en) Intelligent ODN equipment and automatic fiber core control method
CN103236960B (en) Method and system for data interaction between home server and plurality of terminals
CN104202178B (en) The communication means of intelligent optical distribution network Intelligent management terminal and network management system
CN106793007A (en) The interactive communication method of high in the clouds and bluetooth equipment, system and wireless router
CN111242807A (en) Method for accessing data of transformer substation into ubiquitous power Internet of things
CN103200395A (en) Intelligent fault report optical transceiver and network management client system thereof
CN107995044A (en) A kind of upgrade method for power collection systems terminal
CN107896127A (en) A kind of intelligent ODF systems for communication system of power grids computer room
CN106899452B (en) Message circulation processing Internet of things terminal debugging method based on XM2M protocol
CN100514928C (en) Method for rapidly forming dendriform topology structure of network equipment
CN207601802U (en) A kind of POE supplies electrical integrated RFID reader
CN107918375A (en) A kind of equipment high in the clouds monitoring management system
CN207301688U (en) A kind of long-range positioning system (Loran) based on LORA technologies
CN103269296B (en) A kind of user side of passive optical network system detection system and detection method
CN103606041A (en) A power distribution terminal operation and maintenance management system
CN108540478A (en) A kind of micro-base station system and implementation method for intelligent grid
CN208076997U (en) A kind of equipment high in the clouds monitoring management system
CN109600420A (en) It is a kind of to realize the method and system remotely controlled online based on raspberry pie technology
CN202995766U (en) Oil well intelligent identification collection system based on Internet of Things technology
CN106507416A (en) Data pack transmission method and device
CN206948532U (en) Optical fiber distribution apparatus and optical fiber wiring system
CN108562804A (en) Intelligent grid terminal real-time detection method and device
CN209642711U (en) A kind of gateway based on agriculture Internet of Things

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