CN104022818B - Service dynamic switch test system based on OTN board, method and device - Google Patents

Service dynamic switch test system based on OTN board, method and device Download PDF

Info

Publication number
CN104022818B
CN104022818B CN201410216054.1A CN201410216054A CN104022818B CN 104022818 B CN104022818 B CN 104022818B CN 201410216054 A CN201410216054 A CN 201410216054A CN 104022818 B CN104022818 B CN 104022818B
Authority
CN
China
Prior art keywords
port
business
unit
service
control unit
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
CN201410216054.1A
Other languages
Chinese (zh)
Other versions
CN104022818A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201410216054.1A priority Critical patent/CN104022818B/en
Publication of CN104022818A publication Critical patent/CN104022818A/en
Application granted granted Critical
Publication of CN104022818B publication Critical patent/CN104022818B/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 kind of service dynamic switch test system based on OTN board, method and device, relate to optic communication test system regions.This system includes the sub-frame of logic control element, equipment, business board and cross unit;Logic control element is connected with business board, cross unit respectively by the sub-frame of equipment;Business board includes board service port unit, and board service port unit is connected with Error detection unit by Service Control Unit, and business information interactive unit is connected with board service port unit, Error detection unit respectively;Cross unit includes that cross-over control unit, cross-over control unit are connected with cross business port unit, intersection information interactive unit respectively;Described board service port unit and cross business port unit point-to-point connection, described business information interactive unit is connected with intersection information interactive unit.The present invention not only testing efficiency is higher, and testing cost is relatively low, it is simple to people use.

Description

Service dynamic switch test system based on OTN board, method and device
Technical field
The present invention relates to optic communication test system regions, be specifically related to a kind of based on OTN board Service dynamic switch test system, method and device.
Background technology
OTN (Optical Transport Network, optical transfer network) is that one has merged SDH (Synchronous Digital Hierarchy, SDH) and WDM (Wavelength Division and Multiplexing, wavelength-division multiplex) the transmission net of technical advantage;OTN is not only Possess the data service bearing capacity of vast capacity, and be capable of the flexible industry of bigger granularity Business scheduling.Meanwhile, OTN is also equipped with the perfect management ability of maintenance, it is possible to meet fortune Battalion business is for IP data service bulky grain access, high capacity of switch, transparent transmission and flexible industry The requirement of business scheduling;OTN be build inter-provincial main line transmit net, inside the province main line transmit net and One of key technology of Metropolitan Area Transmission Network core layer.
Along with the continuous maturation of OTN optical transfer network standard, the class of business that OTN supports is continuous Abundant (such as SDH service of synchronous digital system, Ethernet service, optical-fibre channel etc.). OTN system covers photosphere and electric layer double-layer structure, it would be preferable to support variable grain business The intersection of (ODUk, k=0,1,2,2e, 3,3e1,3e2,4, flex) and configuration.
OTN intercrossed scheduling system is the critical component constituting OTN network, and OTN intersects tune Degree system mainly includes branch road board, cross unit and circuit board.Tributary card card request is supported Multiple customer side business (such as STM-1/4/16/64/256, OTU1/2/3/4, 1GFC/2GFC/4GFC/8GFC/10GFC, GE/10GE/40GE/100GE etc.);Circuit Board requires to support the configuration of the intersecting grain such as ODU0/1/2/3/4/flex.
At present, when OTN intercrossed scheduling system one is by manual testing's above-mentioned all multi-service types, When manually carrying out service dynamic switch test, need to meet following condition: 1, each port Business handover success;2, when certain port switches over, the port of other non-service switchovers Want performance normal and without service disconnection;3, all business all travel through at each port;4、 The number of times of a number of service switchover.Therefore, the survey of service dynamic switch test is manually carried out The examination time is longer, and not only testing efficiency is relatively low, and testing cost is higher, is not easy to people and makes With.
Summary of the invention
For defect present in prior art, it is an object of the invention to provide a kind of based on The service dynamic switch test system of OTN board, method and device, not only testing efficiency is relatively Height, and testing cost is relatively low, it is simple to and people use.
For reaching object above, the present invention adopts the technical scheme that: a kind of based on OTN plate The service dynamic switch test system of card, including logic control element, the sub-frame of equipment, business board Card and cross unit, described cross unit includes branch road board and circuit board;Described logic control Unit processed is connected with business board, cross unit respectively by the sub-frame of equipment;
Described business board includes board service port unit, Service Control Unit, Error detection Unit and business information interactive unit;Board service port unit passes through Service Control Unit and mistake Code detector unit be connected, business information interactive unit respectively with board service port unit, error code Detector unit is connected;
Described cross unit includes cross business port unit, cross-over control unit and intersection information Interactive unit;Cross-over control unit is single alternately with cross business port unit, intersection information respectively Unit is connected;Described board service port unit and cross business port unit point-to-point connection, institute State business information interactive unit to be connected with intersection information interactive unit;
Logic control element, business board, cross unit and the sub-frame of equipment carry out powering on and initially After change;By logic control element configuration testing function, test function include port switching order, Port switching type, port switching quantity, business switching times, business handoff failure terminate surveying Examination number of times, test function is sent to Service Control Unit by logic control element;Service control list Board service port unit default configuration is the first Optical Channel Data Unit-k ODUk business by unit;
Board service port unit sends handshaking information, board business to cross business port unit After port unit and cross business port unit are shaken hands successfully, Service Control Unit resolves test letter Number, according to port switching order, port switching type and port switching quantity in test function, The type of service of corresponding port is switched to the second Optical Channel Data Unit-k by ODUk business ODUj business;Business information interactive unit by the port information of handed over type of service port and Port type, is sent to intersecting control unit by intersection information interactive unit;
The cross-over control unit port information to receiving and port type verify, port information After upchecking with port type, cross-over control unit is according to port information and port type, complete Become the switching of corresponding ports;Port is switched by cross-over control unit by intersection information interactive unit Successfully information sends to business information interactive unit, and Service Control Unit detects non-service switchover Port whether without error code;
If the port that Service Control Unit detects non-service switchover is examined without error code, Service Control Unit Survey the port of handed over business without error code, business board will represent the mark of port service switchover Position is written as 0, and Service Control Unit records handed over business end according to the flag bit 0 of handover success The port numbers of mouth and the type of service of switching, business handover success number of times is added by Service Control Unit 1, Service Control Unit statistics switching total degree, Service Control Unit judges that switching total degree is little Business switching times in test function, determines and has met test request, and business switching is appointed Business completes, and terminates;
If the port that Service Control Unit detects non-service switchover has error code, Error detection unit will The port numbers having error code port reports to Service Control Unit, will represent that port is cut in business board The flag bit changing business is written as 1;Service Control Unit is according to the flag bit 1 of handoff failure and upper The port numbers of report, record has port numbers and the switching type of error code port, and Service Control Unit will Business handoff failure number of times adds 1;Service Control Unit judges that business handoff failure number of times is less than industry Business handoff failure terminates testing time, Service Control Unit statistics switching total degree, Service control Unit judges that switching total degree, less than the business switching times in test function, determines and met Test request, business switching task completes, and terminates.
A kind of service dynamic handoff testing method based on OTN board for said system, It is characterized in that, comprise the following steps:
A, logic control element, business board, cross unit and the sub-frame of equipment are powered on And initialization;By logic control element configuration testing function, test function includes port switching Sequentially, port switching type, port switching quantity, business switching times, business handoff failure Terminating testing time, test function is sent to Service Control Unit by logic control element;Business Board service port unit default configuration is the first Optical Channel Data Unit-k by control unit ODUk business, forwards step B to;
B, board service port unit send handshaking information, board to cross business port unit After service port unit and cross business port unit are shaken hands successfully, Service Control Unit resolves to be surveyed Trial function, according to port switching order, port switching type and port switching in test function Quantity, is switched to the second optical channel number by the type of service of corresponding port by ODUk business According to unit ODUj business;Business information interactive unit is by the port of handed over type of service port Information and port type, sent to intersecting control unit by intersection information interactive unit, forward to Step C;
Port information to receiving of C, cross-over control unit and port type verify, port After information and port type are upchecked, cross-over control unit according to port information and port type, Complete the switching of corresponding ports;Port is cut by cross-over control unit by intersection information interactive unit Changing successful information to send to business information interactive unit, Service Control Unit detection does not switches industry The port of business whether without error code, if so, the port of the handed over business of Service Control Unit detection without Error code, forwards step D to, otherwise forwards step E to;
D, will in business board represent port service switchover flag bit be written as 0, Service control Unit records port numbers and the switching of handed over service port according to the flag bit 0 of handover success Type of service, business handover success number of times is added 1, forwards step F to by Service Control Unit;
The port numbers having error code port is reported to Service Control Unit by E, Error detection unit, Business board representing, the flag bit of port service switchover is written as 1;Service Control Unit according to The flag bit 1 of handoff failure and the port numbers reported, record has the port numbers of error code port and cuts Changing type, business handoff failure number of times is added 1 by Service Control Unit;Service Control Unit judges Business handoff failure number of times terminates testing time less than business handoff failure, forwards step F to;
F, Service Control Unit statistics switching total degree, Service Control Unit judges switching total time More than the number whether business switching times in test function, if it is not, forward step B to, no Then determining and met test request, business switching task completes, and terminates.
On the basis of technique scheme, step C is further comprising the steps of: if described end Message breath and port type verification are not passed through, then re-execute step C.
On the basis of technique scheme, Service Control Unit described in step C detects not Whether the port of service switchover comprises the following steps without error code: Service Control Unit is examined by error code Survey unit reads the value of the Performance register of the port of non-service switchover in turn, if Error detection list The value of unit's Performance register of the single port of at least 5 detections continuously is 0, then this port Without error code, the port of the Service Control Unit handed over business of detection, without error code, forwards step D to; Otherwise this port has error code, forwards step E to.
On the basis of technique scheme, Service Control Unit described in step C has detected The port of service switchover comprises the following steps without error code: by the mistake of the port of all handed over business The value of code statistic registers resets, and Service Control Unit was successively read once institute every 1~5 second There is the value of the Bit Error Code Statistics depositor of the port of handed over business and send to Error detection unit, If the Bit Error Code Statistics depositor of the single port of continuous more than the 3 times detections of Error detection unit Value is 0, then this port without error code, be in steady statue, forward step D to;Otherwise this end Mouth has error code, plays pendulum, forwards step E to.
On the basis of technique scheme, step E is further comprising the steps of: Service control list Unit's judgement business handoff failure number of times terminates more than testing time at business handoff failure, determines Through meeting test request, terminate.
On the basis of technique scheme, the statistics switching of Service Control Unit described in step F Total degree comprises the following steps: if only having handover success number of times in Service Control Unit, then will cut Change number of success as switching total degree;If Service Control Unit only has handoff failure number of times, Then using handoff failure number of times as switching total degree;If Service Control Unit includes switching simultaneously Number of success and handoff failure number of times, then by handover success number of times and the summation of handoff failure number of times As switching total degree.
A kind of service dynamic switch test device based on OTN board realizing said method, Including initial configuration module, port traffic handover module, port check bit module, business switching Number of success statistical module, business handoff failure number of times statistical module and business switching total degree system Meter module;
Initial configuration module, is used for: to logic control element, business board, cross unit Frame with equipment powers on and initializes;By logic control element configuration testing function, survey Trial function includes port switching order, the switching of port switching type, port switching quantity, business Number of times, business handoff failure terminate testing time, and test function is sent extremely by logic control element Service Control Unit;Board service port unit default configuration is the first light by Service Control Unit Channel data unit ODUk business, sends business switching signal to port traffic handover module;
Port traffic handover module, is used for: after receiving business switching signal, Control card business Port unit sends handshaking information, board service port unit and friendship to cross business port unit After fork service port unit is shaken hands successfully, Service Control Unit resolves test function, according to test Port switching order, port switching type and port switching quantity in function, by corresponding end The type of service of mouth is switched to the second Optical Channel Data Unit-k ODUj business by ODUk business; Business information interactive unit is by the port information of handed over type of service port and port type, logical Cross intersection information interactive unit to send to intersecting control unit, send port to port check bit module Checking signal;
Port check bit module, is used for: after receiving port check bit signal, controls cross-over control unit Port information and port type to receiving verify, and port information and port type inspection are logical Later, cross-over control unit, according to port information and port type, completes the switching of corresponding ports; The information of port handover success is sent extremely by cross-over control unit by intersection information interactive unit Business information interactive unit, whether Service Control Unit detects the port of non-service switchover without error code, If so, the port of the handed over business of Service Control Unit detection is without error code, to business handover success Number of times statistical module sends business handover success number of times statistical signal, otherwise to business handoff failure Number of times statistical module sends business handoff failure number of times statistical signal;
Business handover success number of times statistical module, is used for: receive business handover success number of times statistics After signal, business board representing, the flag bit of port service switchover is written as 0, Service control Unit records port numbers and the switching of handed over service port according to the flag bit 0 of handover success Type of service, business handover success number of times is added 1 by Service Control Unit, total to business switching Number of times statistical module sends business switching total degree statistical signal;
Business handoff failure number of times statistical module, is used for: receive business handoff failure number of times statistics After signal, control Error detection unit and the port numbers having error code port is reported to Service control list Unit, will represent in business board that the flag bit of port service switchover is written as 1;Service Control Unit Flag bit 1 according to handoff failure and the port numbers reported, record has the port numbers of error code port And switching type, business handoff failure number of times is added 1 by Service Control Unit;Service Control Unit Judgement business handoff failure number of times terminates testing time less than business handoff failure, switches to business Total degree statistical module sends business switching total degree statistical signal;
Business switching total degree statistical module, is used for: receive business switching total degree statistical signal After, controlling Service Control Unit statistics switching total degree, Service Control Unit judges switching total time More than the number whether business switching times in test function, if it is not, switch to port traffic Module sends business switching signal;Otherwise determine and met test request, business switching task Complete, terminate.
On the basis of technique scheme, described port check bit module control traffic control unit When whether detecting the port of non-service switchover without error code, Service Control Unit passes through Error detection list Unit reads the value of the Performance register of the port of non-service switchover in turn, if Error detection unit is even The value of the Performance register of the single port of continuous at least 5 detections is 0, then this port is errorless Code, the port of the Service Control Unit handed over business of detection is without error code, to business handover success Number statistical module sends business handover success number of times statistical signal;The port of the most non-service switchover There is error code, send business handoff failure number of times statistics letter to business handoff failure number of times statistical module Number.
On the basis of technique scheme, described port check bit module control traffic control unit When detecting the port of handed over business without error code, the error code of the port of all handed over business is united Meter depositor value reset, Service Control Unit be successively read every 1~5 second the most all The value of the Bit Error Code Statistics depositor of the port of service switchover also sends to Error detection unit, if The value of the Bit Error Code Statistics depositor of the single port of continuous more than the 3 times detections of Error detection unit Be 0, then this port without error code, be in steady statue, to business handover success number of times add up Module sends business handover success number of times statistical signal;Otherwise this port has error code, is in shakiness Determine state, send business handoff failure number of times statistics letter to business handoff failure number of times statistical module Number.
Compared with prior art, it is an advantage of the current invention that:
(1) present invention can be carried out business move according to the test function pre-set automatically State switch test.Test function arranges corresponding parameter, arranges port switching by parameter suitable Sequence, port switching quantity, business switching times, business handoff failure terminate testing time etc.. Compared with manually carrying out service dynamic switch test with prior art, the present invention can be according to test Function carries out service dynamic switch test automatically, and not only method of testing is relatively more flexible, the testing time Shorter, testing efficiency is higher, and testing cost is relatively low, arranges the test function of many kinds of parameters Disclosure satisfy that the requirement that various dynamic service switches, it is simple to people use.
(2) when the present invention carries out service dynamic switch test, it is not necessary to external test instrumentation, Because business board can encode as signal source by spontaneous PRBS, and then is given by cross unit Awaiting board card is tested, so the present invention can completing port quantity and business at short notice The business board that type is the most more;Meanwhile, the service dynamic switch test system of the present invention Use modularized design, it is possible to be applicable to general OTN board.Therefore, the present invention is carried out During service dynamic switch test, not only operating fairly simple, running and comparing is reliable, and saves Cost needed for the debugging time of business board and external test instrumentation.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of cross unit in the embodiment of the present invention;
Fig. 2 is the connection block diagram that in the embodiment of the present invention, business board coordinates with cross unit;
Fig. 3 is the connection block diagram that in the embodiment of the present invention, cross unit coordinates with business board card;
Fig. 4 is the service dynamic switch test side based on OTN board in the embodiment of the present invention The flow chart of method.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail.
Service dynamic switch test system based on OTN board in the embodiment of the present invention, bag Include logic control element, the sub-frame of equipment, business board and cross unit.Patrolling in the present embodiment Collecting control unit is PC, and logic control element frame with equipment is connected by netting twine;Patrol Collect control unit to be connected with business board, cross unit respectively by the sub-frame of equipment.
Shown in Figure 1, cross unit is provided with branch road board and circuit board, tributary card The passage that card and wiring board card carry out business by backboard high speed connector connects.
Shown in Figure 2, business board include board service port unit, Service Control Unit, Error detection unit and business information interactive unit.Board service port unit passes through Service control Unit is connected with Error detection unit, business information interactive unit respectively with board service port list Unit, Error detection unit are connected.
Shown in Figure 3, cross unit includes cross business port unit, cross-over control unit With intersection information interactive unit;Cross-over control unit respectively with cross business port unit, intersect Information interactive unit is connected.
The board service port unit of business board and the cross business port unit of cross unit Point-to-point connection, board service port unit and cross business port unit are all supported The rate type such as ODU0/1/2/3/4/flex.The business information interactive unit of business board with intersect The intersection information interactive unit of unit is connected.
Shown in Figure 4, in the embodiment of the present invention for said system based on OTN plate The service dynamic handoff testing method of card, comprises the following steps:
S1: logic control element, business board, cross unit and the sub-frame of equipment are powered on And initialization.By logic control element configuration testing function, test function includes port switching Sequentially, port switching type, port switching quantity, business switching times, business handoff failure Terminate the parameters such as testing time;Test function is sent to Service Control Unit by logic control element. Board service port unit default configuration is ODUk business by Service Control Unit (OpticalChannel Data k the first Optical Channel Data Unit-k business;K=0,1,2,2e, 3,3e1,3e2,4, flex), forward step S2 to.
When board service port unit default configuration is ODUk business by cross unit, pass through The differently configured customer side business of tributary card card be mapped to ODUk (k=0,1,2,2e, 3, 3e1,3e2,4, flex);Using circuit board as unit to be tested, complete by circuit board Become the configuration of basic function and mutual with cross unit core bus;Cross unit provides Flag bit is to circuit board.
S2: board service port unit sends handshaking information, board to cross business port unit After service port unit and cross business port unit are shaken hands successfully, Service Control Unit resolves to be surveyed Trial function, according to port switching order, port switching type and port switching in test function Quantity, is switched to ODUj business by the type of service of corresponding port by ODUk business (OpticalChannel Data j the second Optical Channel Data Unit-k business, j=0,1,2,2e, 3, 3e1,3e2,4, flex, j are not equal to k).Business information interactive unit is by handed over service class The port information of type port and port type, sent to intersecting control by intersection information interactive unit Unit processed, forwards step S3 to.
S3: the cross-over control unit port information to receiving and port type verify, if inspection Test and pass through, then forward step S4 to, otherwise re-execute step S3.
S4: cross-over control unit, according to port information and port type, completes cutting of corresponding ports Changing, the information of port handover success is sent by cross-over control unit by intersection information interactive unit To business information interactive unit, forward step S5 to.
Whether S5: Service Control Unit detects the port of non-service switchover without error code.Service control During unit detection, Service Control Unit reads non-service switchover in turn by Error detection unit The value of the Performance register of port, if the single-end of Error detection unit at least 5 detections continuously The value of the Performance register of mouth is 0, then this port is without error code, forwards step S6 to, otherwise should Port has error code, forwards step S8 to.
Whether working stability is without error code for the port of S6: the Service Control Unit handed over business of detection, During Service Control Unit detection, by the Bit Error Code Statistics depositor of the port of all handed over business Value resets, and Service Control Unit is successively read every 1~5 second (being 3 seconds in the present embodiment) The value of the Bit Error Code Statistics depositor of the port of the most all handed over business sending to error code is examined Survey unit, if the Bit Error Code Statistics of the single port of continuous more than the 3 times detections of Error detection unit is posted The value of storage is 0, then this port without error code, be in steady statue, forward step S7 to;No Then this port has error code, plays pendulum, and forwards step S8 to.
S7: by representing in business board that the flag bit of port service switchover is written as 0, show switching Success, Service Control Unit (is cut according to the flag bit 0 of handover success, record switching result information Change object information and include the port numbers of handed over service port and the type of service of switching) and will Business handover success number of times adds 1, forwards step S10 to.
S8: the port numbers having error code port is reported to Service Control Unit by Error detection unit, By business board representing, the flag bit of port service switchover is written as 1, show handoff failure.Industry Business control unit is according to the flag bit 1 of handoff failure and the port numbers that reports, and record has error code end The port numbers of mouth and switching type, add 1 by business handoff failure number of times, forward step S9 to.
S9: Service Control Unit judges business handoff failure number of times at business handoff failure the most eventually Only more than testing time, if it is not, forward step S10 to, otherwise determine that having met test wants Ask, terminate.
S10: Service Control Unit statistics switching total degree, if only cutting in Service Control Unit Change number of success, then using handover success number of times as switching total degree;If in Service Control Unit Only have handoff failure number of times, then using handoff failure number of times as switching total degree;If Service control Unit includes handover success number of times and handoff failure number of times simultaneously, then by handover success number of times and The summation of handoff failure number of times is as switching total degree.Service Control Unit judges switching total degree Whether more than the business switching times in test function, if it is not, forward step S2 to, no Then determining and met test request, business switching task completes, and terminates.
The work of the service dynamic handoff testing method based on OTN board in the embodiment of the present invention Make principle as follows:
The present invention can test multiple port by test function simultaneously, and each port is readily modified as identical Business, it is also possible to be configured to different business.
When starting to test due to business board, first some port is switched over, other ports Not doing action, the port of the most non-service switchover should be in, always without error code, the shape that normally works State.If the value of the Error detection unit Performance register of the single port of at least 5 detections continuously It is 0, then may certify that this port is without error code.
During the interval of the value that the present invention reads the Bit Error Code Statistics depositor of the port of handed over business Between and Error detection unit detect single handed over port number of times, all can be according to user Demand, arrange voluntarily in Service Control Unit so that it is more meet the respective characteristic of board.
The present invention terminates more than testing time when business handoff failure number of times at business handoff failure Time, directly terminate test, and then test site can be retained, it is simple to positioning problems.
The service dynamic based on OTN board realizing said method in the embodiment of the present invention is cut Change test device, including initial configuration module, port traffic handover module, port check bit mould Block, business handover success number of times statistical module, business handoff failure number of times statistical module and business Switching total degree statistical module.
Initial configuration module, is used for: to logic control element, business board, cross unit Frame with equipment powers on and initializes;By logic control element configuration testing function, survey Trial function includes port switching order, the switching of port switching type, port switching quantity, business Number of times, business handoff failure terminate testing time, and test function is sent extremely by logic control element Service Control Unit;Board service port unit default configuration is the first light by Service Control Unit Channel data unit ODUk business, sends business switching signal to port traffic handover module.
Port traffic handover module, is used for: after receiving business switching signal, Control card business Port unit sends handshaking information, board service port unit and friendship to cross business port unit After fork service port unit is shaken hands successfully, Service Control Unit resolves test function, according to test Port switching order, port switching type and port switching quantity in function, by corresponding end The type of service of mouth is switched to the second Optical Channel Data Unit-k ODUj business by ODUk business; Business information interactive unit is by the port information of handed over type of service port and port type, logical Cross intersection information interactive unit to send to intersecting control unit, send port to port check bit module Checking signal.
Port check bit module, is used for: after receiving port check bit signal, controls cross-over control unit Port information and port type to receiving verify, and port information and port type inspection are logical Later, cross-over control unit, according to port information and port type, completes the switching of corresponding ports; The information of port handover success is sent extremely by cross-over control unit by intersection information interactive unit Business information interactive unit, whether Service Control Unit detects the port of non-service switchover without error code, If so, the port of the handed over business of Service Control Unit detection is without error code, to business handover success Number of times statistical module sends business handover success number of times statistical signal, otherwise to business handoff failure Number of times statistical module sends business handoff failure number of times statistical signal.
Port check bit module control traffic control unit detect the port of non-service switchover whether without During error code, control Service Control Unit and read non-service switchover in turn by Error detection unit The value of the Performance register of port, if the single-end of Error detection unit at least 5 detections continuously The value of the Performance register of mouth is 0, then this port has detected without error code, Service Control Unit The port of service switchover, without error code, sends business switching to business handover success number of times statistical module Number of success statistical signal;The port of the most non-service switchover has error code, to business handoff failure Number of times statistical module sends business handoff failure number of times statistical signal.
Port check bit module control traffic control unit detects the port of handed over business without error code Time, the value of the Bit Error Code Statistics depositor of the port of all handed over business is reset, Service control The Bit Error Code Statistics of the port that unit was successively read the most all handed over business every 1~5 second is posted The value of storage also sends to Error detection unit, if continuous more than the 3 times inspections of Error detection unit The value of Bit Error Code Statistics depositor of the single port surveyed is 0, then this port without error code, be in Steady statue, sends business handover success number of times statistics to business handover success number of times statistical module Signal;Otherwise this port has error code, plays pendulum, and unites to business handoff failure number of times Meter module sends business handoff failure number of times statistical signal.
Business handover success number of times statistical module, is used for: receive business handover success number of times statistics After signal, business board representing, the flag bit of port service switchover is written as 0, Service control Unit records port numbers and the switching of handed over service port according to the flag bit 0 of handover success Type of service, business handover success number of times is added 1 by Service Control Unit, total to business switching Number of times statistical module sends business switching total degree statistical signal.
Business handoff failure number of times statistical module, is used for: receive business handoff failure number of times statistics After signal, control Error detection unit and the port numbers having error code port is reported to Service control list Unit, will represent in business board that the flag bit of port service switchover is written as 1;Service Control Unit Flag bit 1 according to handoff failure and the port numbers reported, record has the port numbers of error code port And switching type, business handoff failure number of times is added 1 by Service Control Unit;Service Control Unit Judgement business handoff failure number of times terminates testing time less than business handoff failure, switches to business Total degree statistical module sends business switching total degree statistical signal.
Business switching total degree statistical module, is used for: receive business switching total degree statistical signal After, controlling Service Control Unit statistics switching total degree, Service Control Unit judges switching total time More than the number whether business switching times in test function, if it is not, switch to port traffic Module sends business switching signal;Otherwise determine and met test request, business switching task Complete, terminate.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art For, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, Within these improvements and modifications are also considered as protection scope of the present invention.This specification is not made in detail The content described belongs to prior art known to professional and technical personnel in the field.

Claims (10)

1. a service dynamic switch test system based on OTN board, including logic control The sub-frame of unit, equipment, business board and cross unit, described cross unit includes branch road board With circuit board;Described logic control element by the sub-frame of equipment respectively with business board, intersect Unit is connected;It is characterized in that:
Described business board includes board service port unit, Service Control Unit, Error detection Unit and business information interactive unit;Board service port unit passes through Service Control Unit and mistake Code detector unit be connected, business information interactive unit respectively with board service port unit, error code Detector unit is connected;
Described cross unit includes cross business port unit, cross-over control unit and intersection information Interactive unit;Cross-over control unit is single alternately with cross business port unit, intersection information respectively Unit is connected;Described board service port unit and cross business port unit point-to-point connection, institute State business information interactive unit to be connected with intersection information interactive unit;
Logic control element, business board, cross unit and the sub-frame of equipment carry out powering on and initially After change;By logic control element configuration testing function, test function include port switching order, Port switching type, port switching quantity, business switching times, business handoff failure terminate surveying Examination number of times, test function is sent to Service Control Unit by logic control element;Service control list Board service port unit default configuration is the first Optical Channel Data Unit-k ODUk business by unit;
Board service port unit sends handshaking information, board business to cross business port unit After port unit and cross business port unit are shaken hands successfully, Service Control Unit resolves test letter Number, according to port switching order, port switching type and port switching quantity in test function, The type of service of corresponding port is switched to the second Optical Channel Data Unit-k by ODUk business ODUj business;Business information interactive unit by the port information of handed over type of service port and Port type, is sent to intersecting control unit by intersection information interactive unit;
The cross-over control unit port information to receiving and port type verify, port information After upchecking with port type, cross-over control unit is according to port information and port type, complete Become the switching of corresponding ports;Port is switched by cross-over control unit by intersection information interactive unit Successfully information sends to business information interactive unit, and Service Control Unit detects non-service switchover Port whether without error code;
If the port that Service Control Unit detects non-service switchover is examined without error code, Service Control Unit Survey the port of handed over business without error code, business board will represent the mark of port service switchover Position is written as 0, and Service Control Unit records handed over business end according to the flag bit 0 of handover success The port numbers of mouth and the type of service of switching, business handover success number of times is added by Service Control Unit 1, Service Control Unit statistics switching total degree, Service Control Unit judges that switching total degree is little Business switching times in test function, determines and has met test request, and business switching is appointed Business completes, and terminates;
If the port that Service Control Unit detects non-service switchover has error code, Error detection unit will The port numbers having error code port reports to Service Control Unit, will represent that port is cut in business board The flag bit changing business is written as 1;Service Control Unit is according to the flag bit 1 of handoff failure and upper The port numbers of report, record has port numbers and the switching type of error code port, and Service Control Unit will Business handoff failure number of times adds 1;Service Control Unit judges that business handoff failure number of times is less than industry Business handoff failure terminates testing time, Service Control Unit statistics switching total degree, Service control Unit judges that switching total degree, less than the business switching times in test function, determines and met Test request, business switching task completes, and terminates.
2. cut for the service dynamic based on OTN board of system described in claim 1 for one kind Change method of testing, it is characterised in that comprise the following steps:
A, logic control element, business board, cross unit and the sub-frame of equipment are powered on And initialization;By logic control element configuration testing function, test function includes port switching Sequentially, port switching type, port switching quantity, business switching times, business handoff failure Terminating testing time, test function is sent to Service Control Unit by logic control element;Business Board service port unit default configuration is the first Optical Channel Data Unit-k by control unit ODUk business, forwards step B to;
B, board service port unit send handshaking information, board to cross business port unit After service port unit and cross business port unit are shaken hands successfully, Service Control Unit resolves to be surveyed Trial function, according to port switching order, port switching type and port switching in test function Quantity, is switched to the second optical channel number by the type of service of corresponding port by ODUk business According to unit ODUj business;Business information interactive unit is by the port of handed over type of service port Information and port type, sent to intersecting control unit by intersection information interactive unit, forward to Step C;
Port information to receiving of C, cross-over control unit and port type verify, port After information and port type are upchecked, cross-over control unit according to port information and port type, Complete the switching of corresponding ports;Port is cut by cross-over control unit by intersection information interactive unit Changing successful information to send to business information interactive unit, Service Control Unit detection does not switches industry The port of business whether without error code, if so, the port of the handed over business of Service Control Unit detection without Error code, forwards step D to, otherwise forwards step E to;
D, will in business board represent port service switchover flag bit be written as 0, Service control Unit records port numbers and the switching of handed over service port according to the flag bit 0 of handover success Type of service, business handover success number of times is added 1, forwards step F to by Service Control Unit;
The port numbers having error code port is reported to Service Control Unit by E, Error detection unit, Business board representing, the flag bit of port service switchover is written as 1;Service Control Unit according to The flag bit 1 of handoff failure and the port numbers reported, record has the port numbers of error code port and cuts Changing type, business handoff failure number of times is added 1 by Service Control Unit;Service Control Unit judges Business handoff failure number of times terminates testing time less than business handoff failure, forwards step F to;
F, Service Control Unit statistics switching total degree, Service Control Unit judges switching total time More than the number whether business switching times in test function, if it is not, forward step B to, no Then determining and met test request, business switching task completes, and terminates.
3. service dynamic handoff testing method based on OTN board as claimed in claim 2, It is characterized in that: step C is further comprising the steps of: if described port information and port type Verification is not passed through, then re-execute step C.
4. service dynamic handoff testing method based on OTN board as claimed in claim 2, It is characterized in that: Service Control Unit described in step C detects the port of non-service switchover and is No comprise the following steps without error code: Service Control Unit is read not in turn by Error detection unit The value of the Performance register of the port of service switchover, if at least 5 inspections continuously of Error detection unit The value of the Performance register of the single port surveyed is 0, then this port is without error code, Service control The port of the unit handed over business of detection, without error code, forwards step D to;The most non-service switchover Port has error code, forwards step E to.
5. service dynamic handoff testing method based on OTN board as claimed in claim 4, It is characterized in that: Service Control Unit described in step C detect handed over business port without Error code comprises the following steps: by the value of the Bit Error Code Statistics depositor of the port of all handed over business Resetting, Service Control Unit was successively read the end of the most all handed over business every 1~5 second Mouthful the value of Bit Error Code Statistics depositor and send to Error detection unit, if Error detection unit The value of the Bit Error Code Statistics depositor of the single port of continuous more than 3 times detections is 0, then this end Mouthful without error code, it is in steady statue, forwards step D to;Otherwise this port has error code, is in not Steady statue, forwards step E to.
6. service dynamic handoff testing method based on OTN board as claimed in claim 2, It is characterized in that: step E is further comprising the steps of: Service Control Unit judges that business switching is lost Lose number of times and terminate more than testing time at business handoff failure, determine and met test request, Terminate.
7. the service dynamic based on OTN board as described in any one of claim 2 to 6 is cut Change method of testing, it is characterised in that: total time of the statistics switching of Service Control Unit described in step F Number comprises the following steps: if only having handover success number of times in Service Control Unit, then will switch to Merit number of times is as switching total degree;If Service Control Unit only has handoff failure number of times, then will Handoff failure number of times is as switching total degree;If Service Control Unit includes handover success simultaneously Number of times and handoff failure number of times, then using the summation of handover success number of times and handoff failure number of times as Switching total degree.
8. one kind realizes the based on OTN board of method described in any one of claim 2 to 7 Service dynamic switch test device, it is characterised in that: include initial configuration module, port industry Business handover module, port check bit module, business handover success number of times statistical module, business switching Frequency of failure statistical module and business switching total degree statistical module;
Initial configuration module, is used for: to logic control element, business board, cross unit Frame with equipment powers on and initializes;By logic control element configuration testing function, survey Trial function includes port switching order, the switching of port switching type, port switching quantity, business Number of times, business handoff failure terminate testing time, and test function is sent extremely by logic control element Service Control Unit;Board service port unit default configuration is the first light by Service Control Unit Channel data unit ODUk business, sends business switching signal to port traffic handover module;
Port traffic handover module, is used for: after receiving business switching signal, Control card business Port unit sends handshaking information, board service port unit and friendship to cross business port unit After fork service port unit is shaken hands successfully, Service Control Unit resolves test function, according to test Port switching order, port switching type and port switching quantity in function, by corresponding end The type of service of mouth is switched to the second Optical Channel Data Unit-k ODUj business by ODUk business; Business information interactive unit is by the port information of handed over type of service port and port type, logical Cross intersection information interactive unit to send to intersecting control unit, send port to port check bit module Checking signal;
Port check bit module, is used for: after receiving port check bit signal, controls cross-over control unit Port information and port type to receiving verify, and port information and port type inspection are logical Later, cross-over control unit, according to port information and port type, completes the switching of corresponding ports; The information of port handover success is sent extremely by cross-over control unit by intersection information interactive unit Business information interactive unit, whether Service Control Unit detects the port of non-service switchover without error code, If so, the port of the handed over business of Service Control Unit detection is without error code, to business handover success Number of times statistical module sends business handover success number of times statistical signal, otherwise to business handoff failure Number of times statistical module sends business handoff failure number of times statistical signal;
Business handover success number of times statistical module, is used for: receive business handover success number of times statistics After signal, business board representing, the flag bit of port service switchover is written as 0, Service control Unit records port numbers and the switching of handed over service port according to the flag bit 0 of handover success Type of service, business handover success number of times is added 1 by Service Control Unit, total to business switching Number of times statistical module sends business switching total degree statistical signal;
Business handoff failure number of times statistical module, is used for: receive business handoff failure number of times statistics After signal, control Error detection unit and the port numbers having error code port is reported to Service control list Unit, will represent in business board that the flag bit of port service switchover is written as 1;Service Control Unit Flag bit 1 according to handoff failure and the port numbers reported, record has the port numbers of error code port And switching type, business handoff failure number of times is added 1 by Service Control Unit;Service Control Unit Judgement business handoff failure number of times terminates testing time less than business handoff failure, switches to business Total degree statistical module sends business switching total degree statistical signal;
Business switching total degree statistical module, is used for: receive business switching total degree statistical signal After, controlling Service Control Unit statistics switching total degree, Service Control Unit judges switching total time More than the number whether business switching times in test function, if it is not, switch to port traffic Module sends business switching signal;Otherwise determine and met test request, business switching task Complete, terminate.
9. service dynamic switch test device based on OTN board as claimed in claim 8, It is characterized in that: described port check bit module control traffic control unit detects non-service switchover When whether port is without error code, Service Control Unit is read in turn by Error detection unit and is not switched The value of the Performance register of the port of business, if at least 5 detections continuously of Error detection unit The value of the Performance register of single port is 0, then this port is without error code, Service Control Unit Detect the port of handed over business without error code, send industry to business handover success number of times statistical module Business handover success number of times statistical signal;Otherwise this port has error code, to business handoff failure number of times Statistical module sends business handoff failure number of times statistical signal.
10. service dynamic switch test based on OTN board dress as claimed in claim 8 Put, it is characterised in that: described port check bit module control traffic control unit detects handed over industry When the port of business is without error code, by the value of the Bit Error Code Statistics depositor of the port of all handed over business Resetting, Service Control Unit was successively read the end of the most all handed over business every 1~5 second Mouthful the value of Bit Error Code Statistics depositor and send to Error detection unit, if Error detection unit The value of the Bit Error Code Statistics depositor of the single port of continuous more than 3 times detections is 0, then this end Mouthful without error code, it is in steady statue, cuts to business handover success number of times statistical module transmission business Change number of success statistical signal;Otherwise this port has error code, plays pendulum, to business Handoff failure number of times statistical module sends business handoff failure number of times statistical signal.
CN201410216054.1A 2014-05-21 2014-05-21 Service dynamic switch test system based on OTN board, method and device Active CN104022818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410216054.1A CN104022818B (en) 2014-05-21 2014-05-21 Service dynamic switch test system based on OTN board, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410216054.1A CN104022818B (en) 2014-05-21 2014-05-21 Service dynamic switch test system based on OTN board, method and device

Publications (2)

Publication Number Publication Date
CN104022818A CN104022818A (en) 2014-09-03
CN104022818B true CN104022818B (en) 2016-08-17

Family

ID=51439410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410216054.1A Active CN104022818B (en) 2014-05-21 2014-05-21 Service dynamic switch test system based on OTN board, method and device

Country Status (1)

Country Link
CN (1) CN104022818B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528631A (en) * 2017-08-31 2017-12-29 武汉虹信通信技术有限责任公司 Link error detection diagnostic method and device based on digital fiber compartment system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802856B (en) * 2019-01-04 2021-09-07 烽火通信科技股份有限公司 Method for managing multi-subframe board card by single network element
CN109561361B (en) * 2019-01-07 2021-09-07 烽火通信科技股份有限公司 Optical line terminal and service port mapping method
CN111327455B (en) * 2020-01-20 2022-11-15 深圳震有科技股份有限公司 SDH device-based service migration method, control system and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101995606A (en) * 2009-08-28 2011-03-30 华为技术有限公司 Protection switching method for long-range passive optical network and extender box

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102239664B (en) * 2009-08-26 2014-07-09 华为技术有限公司 Method, apparatus and system for optical network switching protection

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101995606A (en) * 2009-08-28 2011-03-30 华为技术有限公司 Protection switching method for long-range passive optical network and extender box

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528631A (en) * 2017-08-31 2017-12-29 武汉虹信通信技术有限责任公司 Link error detection diagnostic method and device based on digital fiber compartment system

Also Published As

Publication number Publication date
CN104022818A (en) 2014-09-03

Similar Documents

Publication Publication Date Title
US20200106662A1 (en) Systems and methods for managing network health
CN104022818B (en) Service dynamic switch test system based on OTN board, method and device
CN110493042A (en) Method for diagnosing faults, device and server
KR100893783B1 (en) A method for analyzing mutual relation of alarms in a synchronous optical transmission network
CN104518826B (en) A kind of method, equipment and system for monitoring fiber failure
CN101107800B (en) Cascaded connection matrices in a distributed cross-connection system
CN104283607B (en) Optical fiber communication network monitoring and protecting system and method
CN100495978C (en) A method and apparatus for fault location in communication network
US9525505B2 (en) Method and apparatus for acquiring internal fiber connection relationship in reconfigurable optical add/drop multiplexer
CN101252393A (en) Optic cable automatic monitoring system with optical fiber automatic switch unit
CN101834663A (en) Detection method and system of optical fiber connection
CN108462549B (en) Protection group is superimposed reverse method, control device and optical communication equipment
CN103973359A (en) OTN protection switching automation testing system, method and device
WO2013123764A1 (en) End-to-end optical cross connection configuration method and device
CN106533811A (en) SDH (Synchronous Digital Hierarchy) based redundant communication system and redundancy protection method thereof
KR102257945B1 (en) Service data transmission method and device
US9426056B2 (en) Method and system for determining alternate paths
CN104184518B (en) Monitoring device and method for optical wavelength division multiplexing transmission system
CN1936630A (en) Method and system for protecting photoelectric integrated apparatus
CN107566236A (en) For obtaining the methods, devices and systems in client's special line teleservice path
CN109964450B (en) Method and device for determining shared risk link group
CN110113222A (en) A kind of link bandwidth utilization rate acquisition methods and device and terminal
CN101990138B (en) Wavelength scheduling method and device
CA3180584A1 (en) Systems and methods for mapping optical connections in a fiber distribution hub of a passive optical network
CN101902369B (en) The Fault Locating Method of backboard cross system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant