CN104022818A - Business dynamic switching test system based on OTN board card, method and device thereof - Google Patents

Business dynamic switching test system based on OTN board card, method and device thereof Download PDF

Info

Publication number
CN104022818A
CN104022818A CN201410216054.1A CN201410216054A CN104022818A CN 104022818 A CN104022818 A CN 104022818A CN 201410216054 A CN201410216054 A CN 201410216054A CN 104022818 A CN104022818 A CN 104022818A
Authority
CN
China
Prior art keywords
port
business
service
control unit
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.)
Granted
Application number
CN201410216054.1A
Other languages
Chinese (zh)
Other versions
CN104022818B (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 business dynamic switching test system based on an OTN board card, a method and a device thereof, and relates to the field of a photo-communication test system. The system comprises a logic control unit, an equipment sub frame, a business board card and a cross unit. The logic control unit is respectively connected with the business board card and the cross unit through the equipment sub frame. The business board card contains a board card business port unit which is connected with an error code detection unit through a business control unit. A business information interaction unit is respectively connected with the board card business port unit and the error code detection unit. The cross unit contains a cross control unit which is respectively connected with a cross business port unit and a cross information interaction unit. The board card business port unit is in point-to-point connection with the cross business port unit. The business information interaction unit is connected with the cross information interaction unit. According to the invention, test efficiency is high and test cost is low. The system provided by the invention is convenient for people to use.

Description

Service dynamic switch test system, method and device based on OTN board
Technical field
The present invention relates to optical communication test macro field, be specifically related to a kind of service dynamic switch test system, method and device based on OTN board.
Background technology
OTN(Optical Transport Network, optical transfer network) be a kind of SDH(Synchronous Digital Hierarchy that merged, SDH (Synchronous Digital Hierarchy)) with WDM(Wavelength Division and Multiplexing, wavelength division multiplexing) transport network of technical advantage; OTN not only possesses the data service bearing capacity of vast capacity, and can realize the more flexible business scheduling of coarsegrain.Meanwhile, OTN also possesses perfect management maintenance ability, can meet operator for the access of IP data service bulky grain, high capacity of switch, transparent transmission and the requirement of business scheduling flexibly; OTN builds inter-provincial main line transport network, one of the key technology of main line transport network and Metropolitan Area Transmission Network core layer inside the province.
Along with the continuous maturation of OTN optical transfer network standard, the class of business that OTN supports enrich constantly (such as SDH service of synchronous digital system, Ethernet service, optical-fibre channel etc.).OTN system has contained photosphere and electricity layer double-layer structure, can support variable grain business (ODUk, k=0,1,2,2e, 3,3e1,3e2,4, intersection flex) and configuration.
OTN intercrossed scheduling system is the critical component that forms OTN network, and OTN intercrossed scheduling system mainly comprises 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.); Wiring board card request is supported the configuration of the intersection particles such as ODU0/1/2/3/4/flex.
At present, when OTN intercrossed scheduling system one passes through the above-mentioned all multi-service types of manual testing, while manually carrying out service dynamic switch test, need to meet the following conditions: 1, the business handover success of each port; 2, when certain port switches, other not the port of service switchover want performance normal and without service disconnection; 3, all business all travel through at each port; 4, the number of times of the service switchover of some.Therefore, the testing time of manually carrying out service dynamic switch test is longer, and not only testing efficiency is lower, and testing cost is higher, is not easy to people and uses.
Summary of the invention
For the defect existing in prior art, the object of the present invention is to provide a kind of service dynamic switch test system, method and device based on OTN board, not only testing efficiency is higher, and testing cost is lower, is convenient to people and uses.
For reaching above object, the technical scheme that the present invention takes is: a kind of service dynamic switch test system based on OTN board, comprise logic control element, the sub-frame of equipment, business board and cross unit, described cross unit comprises branch road board and circuit board; Described logic control element is connected with business board, cross unit respectively by the sub-frame of equipment;
Described business board comprises board service port unit, Service Control Unit, Error detection unit and business information interactive unit; 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;
Described cross unit comprises cross business port unit, intersection control unit and intersection information interactive unit; The control unit that intersects is connected with cross business port unit, intersection information interactive unit respectively; Described board service port unit and cross business port unit point to point connect, described business information interactive unit is connected with intersection information interactive unit;
Logic control element, business board, cross unit and the sub-frame of equipment power on and initialization after; By logic control unit configuration test function, test function comprises that port switching order, port switching type, port switching quantity, business switching times, service fail stop testing time, and logic control unit is sent to Service Control Unit by test function; Service Control Unit is the first Optical Channel Data Unit-k ODUk business by board service port unit default configuration;
Board service port unit sends handshaking information to cross business port unit, after board service port unit and cross business port unit are shaken hands successfully, Service Control Unit is resolved test function, port switching order, port switching type and port switching quantity according in test function, switch to the second Optical Channel Data Unit-k ODUj business by the type of service of corresponding port by ODUk business; Business information interactive unit, by port information and the port type of service switchover type port, is sent to intersection control unit by intersection information interactive unit;
The control unit that intersects carries out verification to the port information of receiving and port type, after port information and port type are upchecked, intersects control unit according to port information and port type, completes the switching of corresponding ports; The control unit that intersects is sent to business information interactive unit by intersection information interactive unit by the information of port handover success, and whether Service Control Unit detects the port of service switchover not without error code;
If Service Control Unit detects the port of service switchover not without error code, Service Control Unit detects the port of service switchover without error code, the flag bit that represents port service switchover in business board is written as to 0, Service Control Unit records the port numbers of service switchover port and the type of service of switching according to the flag bit 0 of handover success, Service Control Unit adds 1 by business handover success number of times, Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, Service Control Unit statistics is switched total degree, Service Control Unit judges that switching total degree is less than the business switching times in test function, determine and met test request, business task switching completes, finish,
If Service Control Unit detects the not port of service switchover, have error code, Error detection unit will have the port numbers of error code port to report to Service Control Unit, and the flag bit that represents port service switchover in business board is written as to 1; Service Control Unit, according to the flag bit 1 of handoff failure and the port numbers reporting, records port numbers and the switching type of error code port, and Service Control Unit adds 1 by business handoff failure number of times; Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, Service Control Unit statistics is switched total degree, Service Control Unit judges that switching total degree is less than the business switching times in test function, determine and met test request, business task switching completes, and finishes.
The service dynamic handoff testing method based on OTN board for said system, is characterized in that, comprises 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 unit configuration test function, test function comprises that port switching order, port switching type, port switching quantity, business switching times, service fail stop testing time, and logic control unit is sent to Service Control Unit by test function; Service Control Unit is the first Optical Channel Data Unit-k ODUk business by board service port unit default configuration, forwards step B to;
B, board service port unit send handshaking information to cross business port unit, after board service port unit and cross business port unit are shaken hands successfully, Service Control Unit is resolved test function, port switching order, port switching type and port switching quantity according in test function, switch to the second Optical Channel Data Unit-k ODUj business by the type of service of corresponding port by ODUk business; Business information interactive unit, by port information and the port type of service switchover type port, is sent to intersection control unit by intersection information interactive unit, forwards step C to;
C, the control unit that intersects carry out verification to the port information of receiving and port type, after port information and port type are upchecked, intersect control unit according to port information and port type, complete the switching of corresponding ports; The control unit that intersects is sent to business information interactive unit by intersection information interactive unit by the information of port handover success, whether Service Control Unit detects the port of service switchover not without error code, if, Service Control Unit detects the port of service switchover without error code, forward step D to, otherwise forward step e to;
D, the flag bit that represents port service switchover in business board is written as to 0, Service Control Unit records the port numbers of service switchover port and the type of service of switching according to the flag bit 0 of handover success, Service Control Unit adds 1 by business handover success number of times, forwards step F to;
E, Error detection unit will have the port numbers of error code port to report to Service Control Unit, and the flag bit that represents port service switchover in business board is written as to 1; Service Control Unit, according to the flag bit 1 of handoff failure and the port numbers reporting, records port numbers and the switching type of error code port, and Service Control Unit adds 1 by business handoff failure number of times; Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, forwards step F to;
F, Service Control Unit statistics is switched total degree, and Service Control Unit judgement is switched total degree whether more than the business switching times in test function, if not, forwarding step B to, otherwise determine and met test request, business task switching completes, and finishes.
On the basis of technique scheme, step C is further comprising the steps of: if described port information and port type verification are not passed through, re-execute step C.
On the basis of technique scheme, whether Service Control Unit described in step C detects the not port of service switchover and without error code, comprises the following steps: Service Control Unit reads the not value of the Performance register of the port of service switchover in turn by Error detection unit, if the Error detection unit continuously value of the Performance register of at least 5 above single ports that detect is 0, this port is without error code, Service Control Unit detects the port of service switchover 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 detects the port of service switchover and comprises the following steps without error code: by the value zero clearing of the Bit Error Code Statistics register of the port of all service switchovers, Service Control Unit every 1~5 second, read successively once all service switchovers port Bit Error Code Statistics register value and be sent to Error detection unit, if the value of the Bit Error Code Statistics register of continuous 3 the above single ports that detect in Error detection unit is 0, this port, without error code, in stable state, forwards step D to; Otherwise this port has error code, plays pendulum, and forwards step e to.
On the basis of technique scheme, step e is further comprising the steps of: Service Control Unit judgement business handoff failure number of times more than handoff failure stops testing time, is determined and met test request, finishes.
On the basis of technique scheme, the statistics of Service Control Unit described in step F is switched total degree and is comprised the following steps: if only there is handover success number of times in Service Control Unit, using handover success number of times as switching total degree; If only there is handoff failure number of times in Service Control Unit, using handoff failure number of times as switching total degree; If comprise handover success number of times and handoff failure number of times in Service Control Unit simultaneously, using the summation of handover success number of times and handoff failure number of times as switching total degree.
Realize the service dynamic switch test device based on OTN board of said method, comprise initial configuration module, port traffic handover module, port check bit module, 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, for: logic control element, business board, cross unit and the sub-frame of equipment are powered on and initialization; By logic control unit configuration test function, test function comprises that port switching order, port switching type, port switching quantity, business switching times, service fail stop testing time, and logic control unit is sent to Service Control Unit by test function; Service Control Unit is the first Optical Channel Data Unit-k ODUk business by board service port unit default configuration, to port traffic handover module, sends business switching signal;
Port traffic handover module, be used for: receive after business switching signal, Control card service port unit sends handshaking information to cross business port unit, after board service port unit and cross business port unit are shaken hands successfully, Service Control Unit is resolved test function, port switching order, port switching type and port switching quantity according in test function, switch to the second Optical Channel Data Unit-k ODUj business by the type of service of corresponding port by ODUk business; Business information interactive unit, by port information and the port type of service switchover type port, is sent to intersection control unit by intersection information interactive unit, to port check bit module transmit port checking signal;
Port check bit module, be used for: receive after port check bit signal, control intersection control unit the port information of receiving and port type are carried out to verification, after port information and port type are upchecked, intersect control unit according to port information and port type, complete the switching of corresponding ports; The control unit that intersects is sent to business information interactive unit by intersection information interactive unit by the information of port handover success, whether Service Control Unit detects the port of service switchover not without error code, if, Service Control Unit detects the port of service switchover without error code, to business handover success number of times statistical module, send business handover success number of times statistical signal, otherwise send business handoff failure number of times statistical signal to business handoff failure number of times statistical module;
Business handover success number of times statistical module, be used for: receive after business handover success number of times statistical signal, the flag bit that represents port service switchover in business board is written as to 0, Service Control Unit records the port numbers of service switchover port and the type of service of switching according to the flag bit 0 of handover success, Service Control Unit adds 1 by business handover success number of times, switches total degree statistical module transmission business switch total degree statistical signal to business;
Business handoff failure number of times statistical module, be used for: receive after business handoff failure number of times statistical signal, controlling Error detection unit will have the port numbers of error code port to report to Service Control Unit, and the flag bit that represents port service switchover in business board is written as to 1; Service Control Unit, according to the flag bit 1 of handoff failure and the port numbers reporting, records port numbers and the switching type of error code port, and Service Control Unit adds 1 by business handoff failure number of times; Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, switches total degree statistical module transmission business switch total degree statistical signal to business;
Business is switched total degree statistical module, be used for: the business of receiving is switched after total degree statistical signal, service control control unit statistics is switched total degree, Service Control Unit judgement is switched total degree whether more than the business switching times in test function, if not, to port traffic handover module, send business switching signal; Otherwise determine and met test request, business task switching completes, finish.
On the basis of technique scheme, whether the port that described port check bit module controls Service Control Unit detects service switchover is not during without error code, Service Control Unit reads the not value of the Performance register of the port of service switchover in turn by Error detection unit, if the Error detection unit continuously value of the Performance register of at least 5 above single ports that detect is 0, this port is without error code, Service Control Unit detects the port of service switchover without error code, to business handover success number of times statistical module, sends business handover success number of times statistical signal; Otherwise this port has error code, to business handoff failure number of times statistical module, send business handoff failure number of times statistical signal.
On the basis of technique scheme, the port that described port check bit module controls Service Control Unit detects service switchover is during without error code, by the value zero clearing of the Bit Error Code Statistics register of the port of all service switchovers, Service Control Unit read once the value of Bit Error Code Statistics register of the port of all service switchovers successively every 1~5 second, and be sent to Error detection unit, if the value of the Bit Error Code Statistics register of continuous 3 the above single ports that detect in Error detection unit is 0, this port is without error code, in stable state, to business handover success number of times statistical module, send business handover success number of times statistical signal, otherwise this port has error code, plays pendulum, to business handoff failure number of times statistical module, send business handoff failure number of times statistical signal.
Compared with prior art, the invention has the advantages that:
(1) the present invention can, according to the test function pre-setting, carry out service dynamic switch test automatically.Test function arranges corresponding parameter, by parameter, port switching order, port switching quantity, business switching times, service fail termination testing time etc. is set.With in prior art, manually carry out service dynamic switch test and compare, the present invention can carry out service dynamic switch test automatically according to test function, not only method of testing is more flexible, testing time is shorter, testing efficiency is higher, and testing cost is lower, the test function that many kinds of parameters is set can meet the requirement that various dynamic service switch, and is convenient to people and uses.
(2) when the present invention carries out service dynamic switch test, do not need external test instrumentation, because business board can be encoded as signal source by spontaneous PRBS, and then test to awaiting board card by cross unit, so the present invention's equal more business board of completing port quantity and type of service at short notice; Meanwhile, service dynamic switch test system of the present invention adopts modularized design, can be applicable to general OTN board.Therefore, when the present invention carries out service dynamic switch test, not only operate fairly simplely, running and comparing is reliable, and has saved debug time and the required cost of external test instrumentation of business board.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of cross unit in the embodiment of the present invention;
Fig. 2 is the block diagram that is connected that in the embodiment of the present invention, business board coordinates with cross unit;
Fig. 3 is the block diagram that is connected that in the embodiment of the present invention, cross unit coordinates with business board;
Fig. 4 is the flow chart of the service dynamic handoff testing method based on OTN board in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
The service dynamic switch test system based on OTN board in the embodiment of the present invention, comprises logic control element, the sub-frame of equipment, business board and cross unit.Logic control element in the present embodiment is PC, and logic control element is connected by netting twine with the sub-frame of equipment; Logic control element is connected with business board, cross unit respectively by the sub-frame of equipment.
Shown in Figure 1, on cross unit, be provided with branch road board and circuit board, branch road board and wiring board cartoon are crossed the passage that backboard high speed connector carries out business and are connected.
Shown in Figure 2, business board comprises board service port unit, Service Control Unit, Error detection unit and business information interactive unit.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.
Shown in Figure 3, cross unit comprises cross business port unit, intersection control unit and intersection information interactive unit; The control unit that intersects is connected with cross business port unit, intersection information interactive unit respectively.
The cross business port unit point to point connect of the board service port unit of business board and cross unit, board service port unit and cross business port unit are all supported the speed types such as ODU0/1/2/3/4/flex.The business information interactive unit of business board is connected with the intersection information interactive unit of cross unit.
Shown in Figure 4, the service dynamic handoff testing method based on OTN board for said system in the embodiment of the present invention, 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 unit configuration test function, test function comprises that port switching order, port switching type, port switching quantity, business switching times, service fail stop the parameters such as testing time; Logic control unit is sent to Service Control Unit by test function.Service Control Unit is ODUk business (OpticalChannel Data k the first Optical Channel Data Unit-k business by board service port unit default configuration; K=0,1,2,2e, 3,3e1,3e2,4, flex), forward step S2 to.
When cross unit is ODUk business by board service port unit default configuration, by branch road board, configures different customer side business and be mapped to ODUk(k=0,1,2,2e, 3,3e1,3e2,4, flex); Using circuit board as unit to be tested, by circuit board, complete the configuration of basic function and mutual with cross unit core bus; Cross unit provides flag bit to circuit board.
S2: board service port unit sends handshaking information to cross business port unit, after board service port unit and cross business port unit are shaken hands successfully, Service Control Unit is resolved test function, according to port switching order, port switching type and the port switching quantity in test function, the type of service of corresponding port is switched to ODUj business (OpticalChannel Data j the second Optical Channel Data Unit-k business by ODUk business, j=0,1,2,2e, 3,3e1,3e2,4, flex, j is not equal to k).Business information interactive unit, by port information and the port type of service switchover type port, is sent to intersection control unit by intersection information interactive unit, forwards step S3 to.
S3: the control unit that intersects carries out verification to the port information of receiving and port type, if upcheck, forwards step S4 to, otherwise re-executes step S3.
S4: intersect control unit according to port information and port type, complete the switching of corresponding ports, the control unit that intersects is sent to business information interactive unit by intersection information interactive unit by the information of port handover success, forwards step S5 to.
S5: whether Service Control Unit detects the port of service switchover not without error code.When Service Control Unit detects, Service Control Unit reads the not value of the Performance register of the port of service switchover in turn by Error detection unit, if the Error detection unit continuously value of the Performance register of at least 5 above single ports that detect is 0, this port is without error code, forward step S6 to, otherwise this port has error code, forward step S8 to.
S6: Service Control Unit detects the port of service switchover, and whether working stability is without error code, when Service Control Unit detects, by the value zero clearing of the Bit Error Code Statistics register of the port of all service switchovers, Service Control Unit every 1~5 second (in the present embodiment, being 3 seconds) read successively once all service switchovers port Bit Error Code Statistics register value and be sent to Error detection unit, if the value of the Bit Error Code Statistics register of continuous 3 the above single ports that detect in Error detection unit is 0, this port, without error code, in stable state, forwards step S7 to; Otherwise this port has error code, plays pendulum, forward step S8 to.
S7: the flag bit that represents port service switchover in business board is written as to 0, show handover success, Service Control Unit is according to the flag bit 0 of handover success, record switching result information (switching result information comprises the port numbers of service switchover port and the type of service of switching) and business handover success number of times is added to 1, forwarding step S10 to.
S8: Error detection unit will have the port numbers of error code port to report to Service Control Unit, and the flag bit that represents port service switchover in business board is written as to 1, shows handoff failure.Service Control Unit, according to the flag bit 1 of handoff failure and the port numbers reporting, records port numbers and the switching type of error code port, and business handoff failure number of times is added to 1, forwards step S9 to.
S9: Service Control Unit judges that business handoff failure number of times is whether more than handoff failure stops testing time, if not, forward step S10 to, otherwise determine and met test request, finish.
S10: Service Control Unit statistics is switched total degree, if only there is handover success number of times, using handover success number of times as switching total degree in Service Control Unit; If only there is handoff failure number of times in Service Control Unit, using handoff failure number of times as switching total degree; If comprise handover success number of times and handoff failure number of times in Service Control Unit simultaneously, using the summation of handover success number of times and handoff failure number of times as switching total degree.Service Control Unit judgement is switched total degree whether more than the business switching times in test function, if not, forwarding step S2 to, otherwise determine and met test request, business task switching completes, and finishes.
The operation principle of the service dynamic handoff testing method based on OTN board in the embodiment of the present invention is as follows:
The present invention can test a plurality of ports by test function simultaneously, and each port can change identical services into, also can be configured to different business.
While starting to test due to business board, first some ports are switched, other ports do not move, and therefore the port of service switchover should be always without error code, in normal operating conditions.If the value of the Performance register of the single port that Error detection unit detects at least 5 times is continuously 0, can prove that this port is without error code.
The present invention reads the interval time of the value of the Bit Error Code Statistics register of the port of service switchover and the number of times of the single port switching of Error detection unit inspection, all can be according to user's demand, in Service Control Unit, arrange voluntarily, make it more meet board characteristic separately.
The present invention, when business handoff failure number of times is when handoff failure termination testing time is above, directly stops test, and then can retain test site, is convenient to positioning problems.
The service dynamic switch test device based on OTN board of realizing said method in the embodiment of the present invention, comprises initial configuration module, port traffic handover module, port check bit module, 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, for: logic control element, business board, cross unit and the sub-frame of equipment are powered on and initialization; By logic control unit configuration test function, test function comprises that port switching order, port switching type, port switching quantity, business switching times, service fail stop testing time, and logic control unit is sent to Service Control Unit by test function; Service Control Unit is the first Optical Channel Data Unit-k ODUk business by board service port unit default configuration, to port traffic handover module, sends business switching signal.
Port traffic handover module, be used for: receive after business switching signal, Control card service port unit sends handshaking information to cross business port unit, after board service port unit and cross business port unit are shaken hands successfully, Service Control Unit is resolved test function, port switching order, port switching type and port switching quantity according in test function, switch to the second Optical Channel Data Unit-k ODUj business by the type of service of corresponding port by ODUk business; Business information interactive unit, by port information and the port type of service switchover type port, is sent to intersection control unit by intersection information interactive unit, to port check bit module transmit port checking signal.
Port check bit module, be used for: receive after port check bit signal, control intersection control unit the port information of receiving and port type are carried out to verification, after port information and port type are upchecked, intersect control unit according to port information and port type, complete the switching of corresponding ports; The control unit that intersects is sent to business information interactive unit by intersection information interactive unit by the information of port handover success, whether Service Control Unit detects the port of service switchover not without error code, if, Service Control Unit detects the port of service switchover without error code, to business handover success number of times statistical module, send business handover success number of times statistical signal, otherwise send business handoff failure number of times statistical signal to business handoff failure number of times statistical module.
Whether the port that port check bit module controls Service Control Unit detects service switchover is not during without error code, service control control unit reads the not value of the Performance register of the port of service switchover in turn by Error detection unit, if the Error detection unit continuously value of the Performance register of at least 5 above single ports that detect is 0, this port is without error code, Service Control Unit detects the port of service switchover without error code, to business handover success number of times statistical module, sends business handover success number of times statistical signal; Otherwise this port has error code, to business handoff failure number of times statistical module, send business handoff failure number of times statistical signal.
The port that port check bit module controls Service Control Unit detects service switchover is during without error code, by the value zero clearing of the Bit Error Code Statistics register of the port of all service switchovers, Service Control Unit read once the value of Bit Error Code Statistics register of the port of all service switchovers successively every 1~5 second, and be sent to Error detection unit, if the value of the Bit Error Code Statistics register of continuous 3 the above single ports that detect in Error detection unit is 0, this port is without error code, in stable state, to business handover success number of times statistical module, send business handover success number of times statistical signal, otherwise this port has error code, plays pendulum, to business handoff failure number of times statistical module, send business handoff failure number of times statistical signal.
Business handover success number of times statistical module, be used for: receive after business handover success number of times statistical signal, the flag bit that represents port service switchover in business board is written as to 0, Service Control Unit records the port numbers of service switchover port and the type of service of switching according to the flag bit 0 of handover success, Service Control Unit adds 1 by business handover success number of times, switches total degree statistical module transmission business switch total degree statistical signal to business.
Business handoff failure number of times statistical module, be used for: receive after business handoff failure number of times statistical signal, controlling Error detection unit will have the port numbers of error code port to report to Service Control Unit, and the flag bit that represents port service switchover in business board is written as to 1; Service Control Unit, according to the flag bit 1 of handoff failure and the port numbers reporting, records port numbers and the switching type of error code port, and Service Control Unit adds 1 by business handoff failure number of times; Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, switches total degree statistical module transmission business switch total degree statistical signal to business.
Business is switched total degree statistical module, be used for: the business of receiving is switched after total degree statistical signal, service control control unit statistics is switched total degree, Service Control Unit judgement is switched total degree whether more than the business switching times in test function, if not, to port traffic handover module, send business switching signal; Otherwise determine and met test request, business task switching completes, finish.
The present invention is not limited to above-mentioned execution mode, for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, within these improvements and modifications are also considered as protection scope of the present invention.The content not being described in detail in this specification belongs to the known prior art of professional and technical personnel in the field.

Claims (10)

1. the service dynamic switch test system based on OTN board, comprises logic control element, the sub-frame of equipment, business board and cross unit, and described cross unit comprises branch road board and circuit board; Described logic control element is connected with business board, cross unit respectively by the sub-frame of equipment; It is characterized in that:
Described business board comprises board service port unit, Service Control Unit, Error detection unit and business information interactive unit; 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;
Described cross unit comprises cross business port unit, intersection control unit and intersection information interactive unit; The control unit that intersects is connected with cross business port unit, intersection information interactive unit respectively; Described board service port unit and cross business port unit point to point connect, described business information interactive unit is connected with intersection information interactive unit;
Logic control element, business board, cross unit and the sub-frame of equipment power on and initialization after; By logic control unit configuration test function, test function comprises that port switching order, port switching type, port switching quantity, business switching times, service fail stop testing time, and logic control unit is sent to Service Control Unit by test function; Service Control Unit is the first Optical Channel Data Unit-k ODUk business by board service port unit default configuration;
Board service port unit sends handshaking information to cross business port unit, after board service port unit and cross business port unit are shaken hands successfully, Service Control Unit is resolved test function, port switching order, port switching type and port switching quantity according in test function, switch to the second Optical Channel Data Unit-k ODUj business by the type of service of corresponding port by ODUk business; Business information interactive unit, by port information and the port type of service switchover type port, is sent to intersection control unit by intersection information interactive unit;
The control unit that intersects carries out verification to the port information of receiving and port type, after port information and port type are upchecked, intersects control unit according to port information and port type, completes the switching of corresponding ports; The control unit that intersects is sent to business information interactive unit by intersection information interactive unit by the information of port handover success, and whether Service Control Unit detects the port of service switchover not without error code;
If Service Control Unit detects the port of service switchover not without error code, Service Control Unit detects the port of service switchover without error code, the flag bit that represents port service switchover in business board is written as to 0, Service Control Unit records the port numbers of service switchover port and the type of service of switching according to the flag bit 0 of handover success, Service Control Unit adds 1 by business handover success number of times, Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, Service Control Unit statistics is switched total degree, Service Control Unit judges that switching total degree is less than the business switching times in test function, determine and met test request, business task switching completes, finish,
If Service Control Unit detects the not port of service switchover, have error code, Error detection unit will have the port numbers of error code port to report to Service Control Unit, and the flag bit that represents port service switchover in business board is written as to 1; Service Control Unit, according to the flag bit 1 of handoff failure and the port numbers reporting, records port numbers and the switching type of error code port, and Service Control Unit adds 1 by business handoff failure number of times; Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, Service Control Unit statistics is switched total degree, Service Control Unit judges that switching total degree is less than the business switching times in test function, determine and met test request, business task switching completes, and finishes.
2. for the service dynamic handoff testing method based on OTN board of system described in claim 1, 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 unit configuration test function, test function comprises that port switching order, port switching type, port switching quantity, business switching times, service fail stop testing time, and logic control unit is sent to Service Control Unit by test function; Service Control Unit is the first Optical Channel Data Unit-k ODUk business by board service port unit default configuration, forwards step B to;
B, board service port unit send handshaking information to cross business port unit, after board service port unit and cross business port unit are shaken hands successfully, Service Control Unit is resolved test function, port switching order, port switching type and port switching quantity according in test function, switch to the second Optical Channel Data Unit-k ODUj business by the type of service of corresponding port by ODUk business; Business information interactive unit, by port information and the port type of service switchover type port, is sent to intersection control unit by intersection information interactive unit, forwards step C to;
C, the control unit that intersects carry out verification to the port information of receiving and port type, after port information and port type are upchecked, intersect control unit according to port information and port type, complete the switching of corresponding ports; The control unit that intersects is sent to business information interactive unit by intersection information interactive unit by the information of port handover success, whether Service Control Unit detects the port of service switchover not without error code, if, Service Control Unit detects the port of service switchover without error code, forward step D to, otherwise forward step e to;
D, the flag bit that represents port service switchover in business board is written as to 0, Service Control Unit records the port numbers of service switchover port and the type of service of switching according to the flag bit 0 of handover success, Service Control Unit adds 1 by business handover success number of times, forwards step F to;
E, Error detection unit will have the port numbers of error code port to report to Service Control Unit, and the flag bit that represents port service switchover in business board is written as to 1; Service Control Unit, according to the flag bit 1 of handoff failure and the port numbers reporting, records port numbers and the switching type of error code port, and Service Control Unit adds 1 by business handoff failure number of times; Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, forwards step F to;
F, Service Control Unit statistics is switched total degree, and Service Control Unit judgement is switched total degree whether more than the business switching times in test function, if not, forwarding step B to, otherwise determine and met test request, business task switching completes, and finishes.
3. the service dynamic handoff testing method based on OTN board as claimed in claim 2, is characterized in that: step C is further comprising the steps of: if described port information and port type verification are not passed through, re-execute step C.
4. the service dynamic handoff testing method based on OTN board as claimed in claim 2, it is characterized in that: whether Service Control Unit described in step C detects the not port of service switchover and without error code, comprise the following steps: Service Control Unit reads the not value of the Performance register of the port of service switchover in turn by Error detection unit, if the Error detection unit continuously value of the Performance register of at least 5 above single ports that detect is 0, this port is without error code, Service Control Unit detects the port of service switchover without error code, forwards step D to; Otherwise this port has error code, forwards step e to.
5. the 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 detects the port of service switchover and comprises the following steps without error code: by the value zero clearing of the Bit Error Code Statistics register of the port of all service switchovers, Service Control Unit read once the value of Bit Error Code Statistics register of the port of all service switchovers successively every 1~5 second, and be sent to Error detection unit, if the value of the Bit Error Code Statistics register of continuous 3 the above single ports that detect in Error detection unit is 0, this port is without error code, in stable state, forward step D to, otherwise this port has error code, plays pendulum, and forwards step e to.
6. the 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 handoff failure number of times is more than handoff failure stops testing time, determine and met test request, finish.
7. the service dynamic handoff testing method based on OTN board as described in claim 2 to 6 any one, it is characterized in that: the statistics of Service Control Unit described in step F is switched total degree and comprised the following steps: if only there is handover success number of times in Service Control Unit, using handover success number of times as switching total degree; If only there is handoff failure number of times in Service Control Unit, using handoff failure number of times as switching total degree; If comprise handover success number of times and handoff failure number of times in Service Control Unit simultaneously, using the summation of handover success number of times and handoff failure number of times as switching total degree.
8. the service dynamic switch test device based on OTN board of realizing method described in claim 2 to 7 any one, is characterized in that: comprise that initial configuration module, port traffic handover module, port check bit module, business handover success number of times statistical module, business handoff failure number of times statistical module and business switch total degree statistical module;
Initial configuration module, for: logic control element, business board, cross unit and the sub-frame of equipment are powered on and initialization; By logic control unit configuration test function, test function comprises that port switching order, port switching type, port switching quantity, business switching times, service fail stop testing time, and logic control unit is sent to Service Control Unit by test function; Service Control Unit is the first Optical Channel Data Unit-k ODUk business by board service port unit default configuration, to port traffic handover module, sends business switching signal;
Port traffic handover module, be used for: receive after business switching signal, Control card service port unit sends handshaking information to cross business port unit, after board service port unit and cross business port unit are shaken hands successfully, Service Control Unit is resolved test function, port switching order, port switching type and port switching quantity according in test function, switch to the second Optical Channel Data Unit-k ODUj business by the type of service of corresponding port by ODUk business; Business information interactive unit, by port information and the port type of service switchover type port, is sent to intersection control unit by intersection information interactive unit, to port check bit module transmit port checking signal;
Port check bit module, be used for: receive after port check bit signal, control intersection control unit the port information of receiving and port type are carried out to verification, after port information and port type are upchecked, intersect control unit according to port information and port type, complete the switching of corresponding ports; The control unit that intersects is sent to business information interactive unit by intersection information interactive unit by the information of port handover success, whether Service Control Unit detects the port of service switchover not without error code, if, Service Control Unit detects the port of service switchover without error code, to business handover success number of times statistical module, send business handover success number of times statistical signal, otherwise send business handoff failure number of times statistical signal to business handoff failure number of times statistical module;
Business handover success number of times statistical module, be used for: receive after business handover success number of times statistical signal, the flag bit that represents port service switchover in business board is written as to 0, Service Control Unit records the port numbers of service switchover port and the type of service of switching according to the flag bit 0 of handover success, Service Control Unit adds 1 by business handover success number of times, switches total degree statistical module transmission business switch total degree statistical signal to business;
Business handoff failure number of times statistical module, be used for: receive after business handoff failure number of times statistical signal, controlling Error detection unit will have the port numbers of error code port to report to Service Control Unit, and the flag bit that represents port service switchover in business board is written as to 1; Service Control Unit, according to the flag bit 1 of handoff failure and the port numbers reporting, records port numbers and the switching type of error code port, and Service Control Unit adds 1 by business handoff failure number of times; Service Control Unit judges that business handoff failure number of times is less than handoff failure and stops testing time, switches total degree statistical module transmission business switch total degree statistical signal to business;
Business is switched total degree statistical module, be used for: the business of receiving is switched after total degree statistical signal, service control control unit statistics is switched total degree, Service Control Unit judgement is switched total degree whether more than the business switching times in test function, if not, to port traffic handover module, send business switching signal; Otherwise determine and met test request, business task switching completes, finish.
9. the service dynamic switch test device based on OTN board as claimed in claim 8, it is characterized in that: whether the port that described port check bit module controls Service Control Unit detects service switchover is not during without error code, Service Control Unit reads the not value of the Performance register of the port of service switchover in turn by Error detection unit, if the Error detection unit continuously value of the Performance register of at least 5 above single ports that detect is 0, this port is without error code, Service Control Unit detects the port of service switchover without error code, to business handover success number of times statistical module, send business handover success number of times statistical signal, otherwise this port has error code, to business handoff failure number of times statistical module, send business handoff failure number of times statistical signal.
10. the service dynamic switch test device based on OTN board as claimed in claim 8, it is characterized in that: the port that described port check bit module controls Service Control Unit detects service switchover is during without error code, by the value zero clearing of the Bit Error Code Statistics register of the port of all service switchovers, Service Control Unit read once the value of Bit Error Code Statistics register of the port of all service switchovers successively every 1~5 second, and be sent to Error detection unit, if the value of the Bit Error Code Statistics register of continuous 3 the above single ports that detect in Error detection unit is 0, this port is without error code, in stable state, to business handover success number of times statistical module, send business handover success number of times statistical signal, otherwise this port has error code, plays pendulum, to business handoff failure number of times statistical module, send 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 true CN104022818A (en) 2014-09-03
CN104022818B 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561361A (en) * 2019-01-07 2019-04-02 烽火通信科技股份有限公司 A kind of optical line terminal and service port mapping method
CN109802856A (en) * 2019-01-04 2019-05-24 烽火通信科技股份有限公司 A kind of method of the how sub- deckle board card of list NE management
CN111327455A (en) * 2020-01-20 2020-06-23 深圳震有科技股份有限公司 SDH device-based service migration method, control system and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528631B (en) * 2017-08-31 2019-12-10 武汉虹信通信技术有限责任公司 link error code detection and diagnosis method and device based on digital optical fiber distribution system

Citations (2)

* 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
US20120082449A1 (en) * 2009-08-26 2012-04-05 Huawei Technologies Co., Ltd. Method, device and system for optical network switching protection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120082449A1 (en) * 2009-08-26 2012-04-05 Huawei Technologies Co., Ltd. Method, device and system for optical network switching protection
CN101995606A (en) * 2009-08-28 2011-03-30 华为技术有限公司 Protection switching method for long-range passive optical network and extender box

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802856A (en) * 2019-01-04 2019-05-24 烽火通信科技股份有限公司 A kind of method of the how sub- deckle board card of list NE management
CN109802856B (en) * 2019-01-04 2021-09-07 烽火通信科技股份有限公司 Method for managing multi-subframe board card by single network element
CN109561361A (en) * 2019-01-07 2019-04-02 烽火通信科技股份有限公司 A kind of optical line terminal and service port mapping method
CN111327455A (en) * 2020-01-20 2020-06-23 深圳震有科技股份有限公司 SDH device-based service migration method, control system and storage medium
CN111327455B (en) * 2020-01-20 2022-11-15 深圳震有科技股份有限公司 SDH device-based service migration method, control system and storage medium

Also Published As

Publication number Publication date
CN104022818B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
US9106523B2 (en) Communication device and method of controlling the same
CN106533811B (en) SDH-based redundant communication system and redundancy protection method thereof
CN102638735B (en) Optical node device and business switching method thereof
CN108462549B (en) Protection group is superimposed reverse method, control device and optical communication equipment
CN101252393A (en) Optic cable automatic monitoring system with optical fiber automatic switch unit
CN104022818A (en) Business dynamic switching test system based on OTN board card, method and device thereof
CN103973359A (en) OTN protection switching automation testing system, method and device
US6052210A (en) System and method for increasing the robustness of an optical ring network
CN100411392C (en) Method and system for protecting photoelectric integrated apparatus
CN107276818B (en) Enhanced alarm suppression method applied to optical transmission equipment
CN105391588A (en) Network fault diagnosis method and device
CN101741601B (en) Structured disaster backup system and backup method
CN101667953B (en) Reporting method of rapid looped network physical link state and device therefor
US20210135750A1 (en) Service Processing Method, Control Device, and Storage Medium
CN103403563B (en) Reverse supply line test macro and equipment
CN101998178A (en) Shared protection control method and device of optical data unit (ODU) loop
CN209930259U (en) Intelligent optical cable monitoring system with optical cable protection function
CN101895360B (en) Structured circuit simulation system, selection method and device of clock reference thereof
CN101982984A (en) Optical-fiber protection switching method of ONU equipment in electric EPON system
CN101908923B (en) Overall self-detecting system and method
CN1910896B (en) Method, apparatus and protection card for improving circuit testing services on a multi-service provisioning platform
CN101902369A (en) Fault location method and device of backboard cross system
CN1983889B (en) Method and system for transmitting network service
US7536101B1 (en) Communication system with cost based protection
CN102652399B (en) Redundant backup method and system for optical interface circuit board and optical interface circuit boards thereof

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