CN105610601B - The configuring management method and system of parallel OAM in a kind of EPON system - Google Patents

The configuring management method and system of parallel OAM in a kind of EPON system Download PDF

Info

Publication number
CN105610601B
CN105610601B CN201510616145.9A CN201510616145A CN105610601B CN 105610601 B CN105610601 B CN 105610601B CN 201510616145 A CN201510616145 A CN 201510616145A CN 105610601 B CN105610601 B CN 105610601B
Authority
CN
China
Prior art keywords
oam
configuration
onu
message
olt
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
CN201510616145.9A
Other languages
Chinese (zh)
Other versions
CN105610601A (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 CN201510616145.9A priority Critical patent/CN105610601B/en
Publication of CN105610601A publication Critical patent/CN105610601A/en
Application granted granted Critical
Publication of CN105610601B publication Critical patent/CN105610601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses the configuring management method and system of parallel OAM in a kind of EPON system, the OAM technical fields being related in EPON system, the system includes OLT and ONU, and OLT includes a configuration module, n the first judgment modules, n the second judgment modules.This approach includes the following steps:OLT creates the n processes for needing to carry out ONU business configuration, respectively each process specified configuration domain;OLT controls all task parallelism work;Each course cycles traverse it and correspond to the ONU configured in domain, are configured to ONU to be configured;It is m when counting certain process not finding the number of ONU to be configured continuously in its correspondence configuration domain, which traverses the group that other are not traversed, configured to ONU to be configured, and then recirculating traversal, it corresponds to the ONU configured in domain.Present invention introduces parallel mechanisms, can improve the configuration distributing efficiency in the channels OAM, shorten the time of ONU business configurations.

Description

The configuring management method and system of parallel OAM in a kind of EPON system
Technical field
The present invention relates to EPON (Ethernet Passive Optical Network, Ethernet passive optical network) systems In OAM (Operation, Administration and Maintenance, Operations, Administration and Maintenance) technical field, tool Body is related to the configuring management method and system of parallel OAM in a kind of EPON system.
Background technology
EPON incorporates general ethernet technology and cheap Passive Optical Components, is a kind of high new of at low cost, capacity Type intelligent acess network technology.EPON uses point-to-multipoint structure, and is transmitted by passive fiber, can support data, voice simultaneously With the multiple business such as video.Typical EPON system is by OLT (Optical Line Terminal, optical line terminal), ONU (Optical Network Unit, optical network unit) and ODN (Optical Distributed Network, optical distribution) Composition.OLT is deployed in central machine room, provides the optical fiber interface towards passive optical-fiber network;ONU is ustomer premises access equipment, is mainly adopted With Ethernet protocol, the business such as data, broadband voice or video are provided to the user;ODN uses passive device, can be placed in round-the-clock Environment, ODN mainly by one or more optical branching devices (Splitter, also known as optical splitter) form, for connect OLT and The function of ONU, ODN are distribution downlink datas, and concentrate upstream data.
In EPON system, OLT is managed for configuration the ONU of distal end using OAM.OAM entities refer to processing, send and receive The function module of OAM protocol massages exists in OLT and ONU, respectively the first OAM entities and the 2nd OAM entities.OAM is assisted View message is referred to as OAM PDU (OAM Protocol Data Units, OAM Protocol Data Unit), also known as OAM message, OAM protocol massages are a kind of slow protocols, are operated between the first OAM entities and the 2nd OAM entities.
The configuration distributing process of OAM is using a kind of serial (Stop-Wait) mechanism such as " stop-":OLT passes through under OAM entities One order of hair could continue to issue next command after OLT only has the result for waiting for ONU return commands.But actual In engineer application, a first OAM entity generally requires to carry out message interaction with a large amount of 2nd OAM entities simultaneously, if adopted Go to carry out configuration decentralization with traditional serial mechanism such as " stop-", the configuration decentralization efficiency in the channels OAM can it is very low under, ONU business Setup time is long.
Invention content
In view of the deficiencies in the prior art, the purpose of the present invention is to provide parallel OAM in a kind of EPON system Configuring management method and system introduce parallel mechanism, can improve the configuration distributing efficiency in the channels OAM, shorten ONU business configurations Time.
To achieve the above objectives, the technical solution adopted by the present invention is that:The configuration management of parallel OAM in a kind of EPON system Method includes the following steps:
S1, OLT create the n processes for needing to carry out ONU business configuration, and n is positive integer, and OLT is respectively each process Specified configuration domain, each domain that configures includes several ONU, is several groups by ONU points in each configuration domain;
S2, OLT control all task parallelism work;
S3, each process traverse it and correspond to the ONU configured in domain, judge whether the process finds in configuring domain and wait matching ONU is set, if so, going to step S4;Otherwise, step S5 is gone to;
S4, OLT configure ONU to be configured, are then back to step S3;
S5, counting the process, whether < m, m are just to the continuous number for not finding ONU to be configured in its correspondence configuration domain Integer, and 2≤m≤8, if so, return to step S3;Otherwise, step S6 is gone to;
S6, judge whether that also remaining process is traversing, if so, going to step S7;Otherwise, return to step S3;
S7, the process arbitrarily select a process traversed, and in the corresponding configuration domain of process selected, selection One group not traversed, traverses the ONU of the group, goes to step S8;
S8, judge to whether there is ONU to be configured in the group, if so, return to step S4;Otherwise, return to step S3;
In step S4, the OLT is to the ONU to be configured processes configured:
OLT reads the ONU to be configured that all processes are found, and according to the configuration data of ONU, sets up OAM message respectively; All OAM messages are handed down to ONU by OLT parallel, and ONU handles OAM message, generate OAM response messages, and by OAM Response message beams back OLT parallel;OLT obtains OAM response messages, and according to the configuration result in each OAM response messages to ONU It is marked, configuration result is configuration completion or configuration failure, and so far, OLT completes the business configuration to ONU.
Based on the above technical solution, step S4 specifically includes following steps:
S401, OLT include the first OAM entities, and the first OAM entities read the ONU to be configured that all processes are found, and divide Not according to the configuration data of ONU, OAM message is set up;
There are one message element table, message element table is n memory space composition for setting in S402, the first OAM entities Linear list, the first OAM entities apply for an OAM message element according to the feature of each OAM message, and are OAM message member Element one synchronizing signal amount of distribution, the storage that each OAM message element is registered in message element table by the first OAM entities are empty In;
S403, ONU include the 2nd OAM entities, and all OAM messages are handed down to the 2nd OAM realities by the first OAM entities parallel Body, the 2nd OAM entities handle OAM message, while the corresponding process of OAM message being allowed to be waited in synchronizing signal amount, the Two OAM entities generate OAM response messages, and OAM response messages are beamed back the first OAM entities parallel;
S404, the first OAM entities obtain OAM response messages, according to the feature of each OAM response messages, in message element Corresponding OAM message element has been searched whether in table:
If finding corresponding OAM message element, corresponding OAM message member is recorded in the feature of OAM response messages In element, synchronizing signal amount is discharged, corresponding process is waken up, by the configuration result of corresponding ONU labeled as " configuration is completed ";
If not finding corresponding OAM message element, further judge whether this OAM response message is spontaneous disappear Breath, if so, this OAM response message is directly reported to OLT, if it is not, this OAM response message is then abandoned, by corresponding ONU's Configuration result is labeled as " configuration failure ";
S405, the first OAM entities read the OAM response messages in message element, and so far, the business of ONU is matched in OLT completions It sets.
Based on the above technical solution, in step S402, the OAM message element is used to record the spy of OAM message Sign, the feature of OAM message include:Organization unique identifier, operation code, trunk attribute value, fork attribute value, destination interface and mesh Link address.
Based on the above technical solution, in step S404, the feature of the OAM response messages includes:Tissue is unique Identifier, operation code, trunk attribute value, fork attribute value, source port and source link address.
Based on the above technical solution, in step S402, the first OAM entities step on each OAM message element Remember that the process in a memory space of message element table is:First OAM entities press the sequence of message element table, search message Then an OAM message element is stepped on when finding an idle storage space with the presence or absence of idle storage space in the list of elements Remember in the idle storage space.
Based on the above technical solution, further comprising the steps of between step S403 and S404:First OAM entities The synchronizing signal amount in OAM message element is obtained, blocks corresponding process, and wait OAM response messages to be obtained, if the first OAM At the appointed time, OAM response messages have not been obtained in entity, and the configuration result of corresponding ONU is labeled as " configuration failure ".
Based on the above technical solution, the OAM message includes OAM attributes and operation, and OAM response messages include matching Set result and unsolicited message.
Based on the above technical solution, the n be EPON system and row coefficient, the OAM objects in n=EPON systems Manage channel number.
Based on the above technical solution, in step S3, each process traverses the ONU's in its correspondence configuration domain Process is:One configuration items list of each corresponding configuration domain maintenance of process, each configuration item of configuration items list correspond to this and match An ONU in domain is set, configuration item includes a flag bit, and flag bit is " 1 " or " 0 ", and each process searches corresponding configuration domain Configuration items list, if finding the configuration item that flag bit is " 1 ", then it represents that find ONU to be configured;It is if finding flag bit The configuration item of " 0 ", then it represents that find ONU configured or without configuration.
The configuration management system of parallel OAM in a kind of EPON system, including OLT and ONU,
OLT creates the n processes for needing to carry out ONU business configuration, and n is positive integer, and OLT is respectively that each process is specified One configuration domain, each domain that configures includes several ONU, is several groups by ONU points in each configuration domain;OLT controls institute There is task parallelism work;
OLT includes a configuration module, n the first judgment modules, n the second judgment modules, and each process corresponds to one First judgment module and second judgment module;
It when each process receives triggering ergodic signals, traverses it and corresponds to the ONU configured in domain, generate the first triggering and judge letter Number, the first triggering is judged that signal issues corresponding first judgment module;
When corresponding first judgment module of the process receives the first triggering and judges signal, judge whether to find to be configured Triggering configuration signal is issued configuration module by ONU if so, generating triggering configuration signal, then generates a triggering traversal letter Number, triggering ergodic signals are issued into corresponding process;Otherwise, the process continuous do not find in its correspondence configuration domain is counted to wait for Configuring the number of ONU, whether < m, m are positive integer, and 2≤m≤8, if so, a triggering ergodic signals are generated, it will triggering time It goes through signal and issues corresponding process;Otherwise, it is determined whether there are remaining process is traversing, if so, generating a triggering Signal is selected, signal is selected into triggering and issues corresponding process;Otherwise, a triggering ergodic signals are directly generated, by triggering time It goes through signal and issues corresponding process;
Each process receives triggering when selecting signal, arbitrarily selects a process traversed, and in the process selected In corresponding configuration domain, a group not traversed is selected, the ONU of the group is traversed, generated the second triggering and judge signal, it will Second triggering judges that signal issues the second judgment module;
When second judgment module receives the second triggering and judges signal, judge to whether there is ONU to be configured in the group, if so, Triggering configuration signal is then generated, triggering configuration signal is issued into configuration module, a triggering ergodic signals is then generated, will trigger Ergodic signals issue corresponding process;Otherwise, a triggering ergodic signals are directly generated, triggering ergodic signals are issued corresponding Process;
When the configuration module of OLT receives triggering configuration signal, ONU to be configured is configured:The configuration module of OLT is read The ONU to be configured that all processes are found, and according to the configuration data of ONU, OAM message is set up respectively;The configuration module of OLT will All OAM messages are handed down to ONU parallel, and ONU handles OAM message, generate OAM response messages, and OAM is responded and is reported The literary configuration module for beaming back OLT parallel;The configuration module of OLT obtains OAM response messages, and according in each OAM response messages Configuration result ONU is marked, configuration result is that configuration is completed or configuration failure, and so far, the configuration module of OLT is completed pair The business configuration of ONU.
Based on the above technical solution, OLT includes the first OAM entities, and ONU includes the 2nd OAM entities, and feature exists In:
First OAM entities read the ONU to be configured that all processes are found, and are set up respectively according to the configuration data of ONU OAM message;
There are one message element tables, message element table to be formed for n memory space linear for setting in first OAM entities Table, the first OAM entities apply for an OAM message element according to the feature of each OAM message, and are the OAM message element point With a synchronizing signal amount, each OAM message element is registered in a memory space of message element table by the first OAM entities It is interior;
All OAM messages are handed down to the 2nd OAM entities by the first OAM entities parallel, and the 2nd OAM entities are to OAM message It is handled, while the corresponding process of OAM message being allowed to be waited in synchronizing signal amount, the 2nd OAM entities generate OAM response reports Text, and OAM response messages are beamed back into the first OAM entities parallel;
First OAM entities obtain OAM response messages and are looked into message element table according to the feature of each OAM response messages Whether look for has corresponding OAM message element:
If finding corresponding OAM message element, corresponding OAM message member is recorded in the feature of OAM response messages In element, synchronizing signal amount is discharged, corresponding process is waken up, by the configuration result of corresponding ONU labeled as " configuration is completed ";
If not finding corresponding OAM message element, further judge whether this OAM response message is spontaneous disappear Breath, if so, this OAM response message is directly reported to OLT, if it is not, this OAM response message is then abandoned, by corresponding ONU's Configuration result is labeled as " configuration failure ";
First OAM entities read the OAM response messages in message element, and so far, OLT completes the business configuration to ONU.
Based on the above technical solution, the OAM message element is used to record the feature of OAM message, OAM message Feature includes:Organization unique identifier, operation code, trunk attribute value, fork attribute value, destination interface and purpose link address.
Based on the above technical solution, the feature of the OAM response messages includes:Organization unique identifier, operation Code, trunk attribute value, fork attribute value, source port and source link address.
Based on the above technical solution, each OAM message element is registered in message element by the first OAM entities Process in one memory space of table is:First OAM entities press message element table sequence, search message element table in whether There are idle storage spaces, when finding an idle storage space, then an OAM message element are registered in the free time and deposited It stores up in space.
Based on the above technical solution, the first OAM entities obtain the synchronizing signal amount in OAM message element, obstruction Corresponding process, and OAM response messages to be obtained are waited, if the first OAM entities are at the appointed time, OAM response messages have not been obtained, The configuration result of corresponding ONU is labeled as " configuration failure ".
Based on the above technical solution, the OAM message includes OAM attributes and operation, and OAM response messages include matching Set result and unsolicited message.
Based on the above technical solution, the n be EPON system and row coefficient, the OAM objects in n=EPON systems Manage channel number.
Based on the above technical solution, the process of the ONU in each corresponding configuration domain of process traversal is:Each process Safeguard that a configuration items list, each configuration item of configuration items list correspond to an ONU in the configuration domain, match in corresponding configuration domain It includes a flag bit to set item, and flag bit is " 1 " or " 0 ", and each process searches the configuration items list in corresponding configuration domain, if looked for To the configuration item that flag bit is " 1 ", then it represents that find ONU to be configured;If finding the configuration item that flag bit is " 0 ", table Show and finds ONU configured or without configuration.
Compared with the prior art, the advantages of the present invention are as follows:
(1) OLT of the invention creates multiple processes, the work of all task parallelisms, and each process is searched its and corresponding matched It whether there is ONU to be configured in setting in domain, and OLT carries out simultaneously ONU to be configured under the control of parallel processing mechanism Row configuration.Present invention introduces parallel mechanisms, can realize multiple OAM configuration interactives parallel processings, under the configuration for improving the channels OAM Efficiency is sent out, the time of ONU business configurations is shortened.
(2) in the present invention, each process corresponds to it in configuration domain and carries out searching loop, when some process is in its correspondence configuration When the continuous number for not finding ONU to be configured is m in domain, 2≤m≤8, the process which is traversing other is corresponding One group not traversed improves the search efficiency of ONU to be configured at this point, a process assists another process to be traversed.
Description of the drawings
The configuring management method that Fig. 1 is parallel OAM in EPON system in the embodiment of the present invention;
Fig. 2 is the interaction schematic diagram between the first OAM entities and the 2nd OAM entities in the embodiment of the present invention;
Fig. 3 is the flow diagram of step S4 in Fig. 1;
Fig. 4 is that OLT carries out parellel arranged schematic diagram to ONU to be configured in the embodiment of the present invention.
Specific implementation mode
Shown in referring to Fig. 1 and Fig. 2, the embodiment of the present invention provides the configuring management method of parallel OAM in EPON system a kind of, Include the following steps:
S1, OLT create the n processes for needing to carry out ONU business configuration, n is positive integer, and n is according to configuration data EPON system and row coefficient, the PON port numbers of the physical channels OAM number=OLT in n=EPON systems, OLT it is respectively every A process specified configuration domain, each domain that configures includes several ONU;It, will be each in order to realize that multiple processes cooperate It is several groups to configure ONU points in domain, such as:Some configuration domain includes a ONU, and a is positive integer, a=maximum ONU branches Than being b group by all ONU in the configuration domain points, each group includes a/b ONU.
S2, OLT use parallel processing mechanism, control all task parallelism work, i.e., all processes are only in the same fashion Vertical operation, but there is no any synchronization process between them.
S3, each process traverse it and correspond to the ONU configured in domain, judge whether the process finds in configuring domain and wait matching ONU is set, if so, going to step S4;Otherwise, illustrate that all configuration finishes in the configuration domain, goes to step S5.Each process is complete It is a normal cycle at the primary period for traversing, judging.
Wherein, each process traverses the process of ONU that it is corresponded in configuration domain and is:Each the corresponding configuration domain of process is safeguarded Each configuration item of one configuration items list, configuration items list corresponds to an ONU in the configuration domain, and configuration item includes a mark Position, flag bit is " 1 " or " 0 ", to indicate whether configuration item needs to configure;Each process searches the configuration item row in corresponding configuration domain Table, if finding the configuration item that flag bit is " 1 ", then it represents that find ONU to be configured;If it is matching for " 0 " to find flag bit Set item, then it represents that find ONU configured or without configuration.In practical operation, when maximum configuration item number be 256, The configuration items list in all configuration domains can be indicated with the array (config_bitmap) of 32 bytes.
S4, OLT configure ONU to be configured under the control of parallel processing mechanism, are then back to step S3, should be into Journey enters next normal cycle.
S5, counting the process, whether < m, m are just to the continuous number for not finding ONU to be configured in its correspondence configuration domain Integer, and 2≤m≤8, if so, return to step S3, which enters next normal cycle;Otherwise, step S6 is gone to.
S6, judge whether that also remaining process is traversing, if so, going to step S7;Otherwise, illustrate all at present Configuration domain has traversed, and return to step S3, the process enters next normal cycle, whether to monitor the corresponding state for configuring domain It changes.
S7, the process arbitrarily select a process traversed, and in the corresponding configuration domain of process selected, selection One group not traversed, traverses the ONU of the group, goes to step S8.
S8, judge to whether there is ONU to be configured in the group, the process selected correspond to all traversing results in configuration domain by The process selected is completed.If so, return to step S4;Otherwise, return to step S3, the process enter next normal cycle, with Whether the state in the corresponding configuration domain of monitoring changes.
In step S4, OLT is under the control of parallel processing mechanism, to the ONU to be configured processes configured:
OLT reads the ONU to be configured that all processes are found, and according to the configuration data of ONU, sets up OAM message respectively; All OAM messages are handed down to ONU by OLT parallel, and ONU handles OAM message, generate OAM response messages, and by OAM Response message beams back OLT parallel;OLT obtains OAM response messages, and according to the configuration result in each OAM response messages to ONU It is marked, configuration result is configuration completion or configuration failure, and so far, OLT completes the business configuration to ONU.OAM message includes OAM attributes and operation, OAM response messages include the unsolicited messages such as configuration result and alarm, event.
When in above process, occurring the interface that multiple processes call OAM entities in EPON system simultaneously (while calling Process number≤EPON system of the interface of OAM entities and row coefficient n), then these processes OAM request and response be parallel It executes.Parallel granularity can refine to every OAM order, and the OAM requests and response even for the same ONU are grasped Make, executes if it is in different processes, can also complete parallel.
Shown in Fig. 3 and Fig. 4, step S4 specifically includes following steps:
S401, OLT include the first OAM entities, and the first OAM entities read the ONU to be configured that all processes are found, and divide Not according to the configuration data of ONU, OAM message is set up.
There are one message element table, message element table is n memory space composition for setting in S402, the first OAM entities Linear list, the first OAM entities apply for that (all processes include an OAM message element according to the feature of each OAM message Process i and process j, i, j are positive integer, all OAM message elements be respectively OAM message element 0, OAM message element 1, OAM message element 2 ..., OAM message element n), and be one synchronizing signal amount of the OAM message Elemental partition, the first OAM is real Each OAM message element is registered in a memory space of message element table by body.OAM message element is for recording OAM reports The feature of text, the feature of OAM message include:Organization unique identifier (Organizationally Unique Identifier, OUI), operation code (OpCode), trunk attribute value (Branch values), fork attribute value (Leaf values), destination interface, purpose link Address, and return to buffer zone address and length.
S403, ONU include the 2nd OAM entities, and all OAM messages are handed down to the 2nd OAM realities by the first OAM entities parallel Body, the 2nd OAM entities handle OAM message, while the corresponding process of OAM message being allowed to be waited in synchronizing signal amount, the Two OAM entities generate OAM response messages, and OAM response messages are beamed back the first OAM entities parallel.
S404, the first OAM entities obtain OAM response messages, according to the feature of each OAM response messages, in message element Search whether that corresponding OAM message element, the feature of OAM response messages include in table:Organization unique identifier, operation code, Trunk attribute value, fork attribute value, source port and source link address.
If finding corresponding OAM message element, corresponding OAM message member is recorded in the feature of OAM response messages In element, synchronizing signal amount is discharged, corresponding process is waken up, by the configuration result of corresponding ONU labeled as " configuration is completed ";
If not finding corresponding OAM message element, further judge whether this OAM response message is alarm, thing The unsolicited messages such as part, if so, this OAM response message is directly reported to OLT, if it is not, this OAM response message is then abandoned, it will The configuration result of corresponding ONU is labeled as " configuration failure ".
S405, the first OAM entities read the OAM response messages in message element, and so far, the business of ONU is matched in OLT completions It sets.
In step S402, the storage that each OAM message element is registered in message element table by the first OAM entities is empty In process be:First OAM entities press the sequence of message element table, search empty with the presence or absence of idle storage in message element table Between, when finding an idle storage space, then an OAM message element is registered in the idle storage space.
It can also include the following steps between step S403 and S404:First OAM entities obtain in OAM message element Synchronizing signal amount blocks corresponding process, and waits OAM response messages to be obtained, if the first OAM entities are at the appointed time, not OAM response messages are obtained, the configuration result of corresponding ONU is labeled as " configuration failure ";If the semaphore in time-out time It is released, then current process continues to execute, and reads OAM response messages, and carry out subsequent processing.
The embodiment of the present invention also provides the configuration management system of parallel OAM in EPON system a kind of, including OLT and ONU, OLT includes the first OAM entities, and ONU includes the 2nd OAM entities, and OLT is a including a configuration module, n the first judgment modules, n Second judgment module, each process correspond to first judgment module and second judgment module.
OLT creates the n processes for needing to carry out ONU business configuration, and n is positive integer, and n is the parallel system of EPON system It counts, the physical channels the OAM number in n=EPON systems;OLT is respectively each process specified configuration domain, each configures domain It is several groups by ONU points in each configuration domain including several ONU;OLT controls all task parallelism work.
It when each process receives triggering ergodic signals, traverses it and corresponds to the ONU configured in domain, generate the first triggering and judge letter Number, the first triggering is judged that signal issues corresponding first judgment module;The mistake of ONU in each corresponding configuration domain of process traversal Cheng Wei:One configuration items list of each corresponding configuration domain maintenance of process, each configuration item of configuration items list correspond to the configuration One ONU in domain, configuration item include a flag bit, and flag bit is " 1 " or " 0 ", and each process searches matching for corresponding configuration domain A list is set, if finding the configuration item that flag bit is " 1 ", then it represents that find ONU to be configured;It is if finding flag bit The configuration item of " 0 ", then it represents that find ONU configured or without configuration.
When corresponding first judgment module of the process receives the first triggering and judges signal, judge whether to find to be configured Triggering configuration signal is issued configuration module by ONU if so, generating triggering configuration signal, then generates a triggering traversal letter Number, triggering ergodic signals are issued into corresponding process;Otherwise, the process continuous do not find in its correspondence configuration domain is counted to wait for Configuring the number of ONU, whether < m, m are positive integer, and 2≤m≤8, if so, a triggering ergodic signals are generated, it will triggering time It goes through signal and issues corresponding process;Otherwise, it is determined whether there are remaining process is traversing, if so, generating a triggering Signal is selected, signal is selected into triggering and issues corresponding process;Otherwise, a triggering ergodic signals are directly generated, by triggering time It goes through signal and issues corresponding process.
Each process receives triggering when selecting signal, arbitrarily selects a process traversed, and in the process selected In corresponding configuration domain, a group not traversed is selected, the ONU of the group is traversed, generated the second triggering and judge signal, it will Second triggering judges that signal issues the second judgment module.
When second judgment module receives the second triggering and judges signal, judge to whether there is ONU to be configured in the group, if so, Triggering configuration signal is then generated, triggering configuration signal is issued into configuration module, a triggering ergodic signals is then generated, will trigger Ergodic signals issue corresponding process;Otherwise, a triggering ergodic signals are directly generated, triggering ergodic signals are issued corresponding Process.
When the configuration module of OLT receives triggering configuration signal, ONU to be configured is configured:The configuration module of OLT is read The ONU to be configured that all processes are found, and according to the configuration data of ONU, OAM message is set up respectively;The configuration module of OLT will All OAM messages are handed down to ONU parallel, and ONU handles OAM message, generate OAM response messages, and OAM is responded and is reported The literary configuration module for beaming back OLT parallel;The configuration module of OLT obtains OAM response messages, and according in each OAM response messages Configuration result ONU is marked, configuration result is that configuration is completed or configuration failure, and so far, the configuration module of OLT is completed pair The business configuration of ONU.OAM message includes OAM attributes and operation, and OAM response messages include configuration result and unsolicited message.
First OAM entities read the ONU to be configured that all processes are found, and are set up respectively according to the configuration data of ONU OAM message.
There are one message element tables, message element table to be formed for n memory space linear for setting in first OAM entities Table, the first OAM entities apply for an OAM message element according to the feature of each OAM message, and are the OAM message element point With a synchronizing signal amount, each OAM message element is registered in a memory space of message element table by the first OAM entities It is interior;OAM message element is used to record the feature of OAM message, and the feature of OAM message includes:Organization unique identifier, operation code, Trunk attribute value, fork attribute value, destination interface and purpose link address.First OAM entities register each OAM message element Process in a memory space of message element table is:First OAM entities press the sequence of message element table, search message element It whether there is idle storage space in plain table, when finding an idle storage space, then register an OAM message element Into the idle storage space.
All OAM messages are handed down to the 2nd OAM entities by the first OAM entities parallel, and the 2nd OAM entities are to OAM message It is handled, while the corresponding process of OAM message being allowed to be waited in synchronizing signal amount, the 2nd OAM entities generate OAM response reports Text, and OAM response messages are beamed back into the first OAM entities parallel.
First OAM entities obtain the synchronizing signal amount in OAM message element, block corresponding process, and wait OAM to be obtained OAM response messages have not been obtained if the first OAM entities are at the appointed time in response message, by the configuration result mark of corresponding ONU It is denoted as " configuration failure ".
First OAM entities obtain OAM response messages and are looked into message element table according to the feature of each OAM response messages Whether look for has the corresponding OAM message element, the feature of OAM response messages to include:Organization unique identifier, operation code, trunk category Property value, fork attribute value, source port and source link address.
If finding corresponding OAM message element, corresponding OAM message member is recorded in the feature of OAM response messages In element, synchronizing signal amount is discharged, corresponding process is waken up, by the configuration result of corresponding ONU labeled as " configuration is completed ";
If not finding corresponding OAM message element, further judge whether this OAM response message is spontaneous disappear Breath, if so, this OAM response message is directly reported to OLT, if it is not, this OAM response message is then abandoned, by corresponding ONU's Configuration result is labeled as " configuration failure ";
First OAM entities read the OAM response messages in message element, and so far, OLT completes the business configuration to ONU.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention Within the scope of.The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (18)

1. the configuring management method of parallel OAM in a kind of EPON system, which is characterized in that include the following steps:
S1, OLT create the n processes for needing to carry out ONU business configuration, and n is positive integer, and OLT is respectively that each process is specified One configuration domain, each domain that configures includes several ONU, is several groups by ONU points in each configuration domain;
S2, OLT control all task parallelism work;
S3, each process traverse it and correspond to the ONU configured in domain, and it is to be configured to judge whether the process finds in configuring domain ONU, if so, going to step S4;Otherwise, step S5 is gone to;
S4, OLT configure ONU to be configured, are then back to step S3;
S5, counting the process, whether < m, m are just whole to the continuous number for not finding ONU to be configured in its correspondence configuration domain Number, and 2≤m≤8, if so, return to step S3;Otherwise, step S6 is gone to;
S6, judge whether that also remaining process is traversing, if so, going to step S7;Otherwise, return to step S3;
S7, the process arbitrarily select a process traversed, and in the corresponding configuration domain of process selected, and select one The group not traversed traverses the ONU of the group, goes to step S8;
S8, judge to whether there is ONU to be configured in the group, if so, return to step S4;Otherwise, return to step S3;
In step S4, the OLT is to the ONU to be configured processes configured:
OLT reads the ONU to be configured that all processes are found, and according to the configuration data of ONU, sets up OAM message respectively;OLT All OAM messages are handed down to ONU parallel, ONU handles OAM message, generates OAM response messages, and OAM is responded Message beams back OLT parallel;OLT obtains OAM response messages, and is carried out to ONU according to the configuration result in each OAM response messages Label, configuration result are configuration completion or configuration failure, and so far, OLT completes the business configuration to ONU.
2. the configuring management method of parallel OAM in EPON system as described in claim 1, which is characterized in that step S4 is specific Include the following steps:
S401, OLT include the first OAM entities, and the first OAM entities read the ONU to be configured that all processes are found, and root respectively According to the configuration data of ONU, OAM message is set up;
There are one message element tables, message element table to be formed for n memory space linear for setting in S402, the first OAM entities Table, the first OAM entities apply for an OAM message element according to the feature of each OAM message, and are the OAM message element point With a synchronizing signal amount, each OAM message element is registered in a memory space of message element table by the first OAM entities It is interior;
S403, ONU include the 2nd OAM entities, and all OAM messages are handed down to the 2nd OAM entities by the first OAM entities parallel, 2nd OAM entities handle OAM message, while the corresponding process of OAM message being allowed to be waited in synchronizing signal amount, and second OAM entities generate OAM response messages, and OAM response messages are beamed back the first OAM entities parallel;
S404, the first OAM entities obtain OAM response messages, according to the feature of each OAM response messages, in message element table Corresponding OAM message element is searched whether:
If finding corresponding OAM message element, the feature of OAM response messages is recorded in corresponding OAM message element, Synchronizing signal amount is discharged, corresponding process is waken up, by the configuration result of corresponding ONU labeled as " configuration is completed ";
If not finding corresponding OAM message element, further judge whether this OAM response message is unsolicited message, if It is that this OAM response message is directly then reported to OLT, if it is not, this OAM response message is then abandoned, by the configuration of corresponding ONU Result queue is " configuration failure ";
S405, the first OAM entities read the OAM response messages in message element, and so far, OLT completes the business configuration to ONU.
3. the configuring management method of parallel OAM in EPON system as claimed in claim 2, it is characterised in that:In step S402, The OAM message element is used to record the feature of OAM message, and the feature of OAM message includes:Organization unique identifier, operation code, Trunk attribute value, fork attribute value, destination interface and purpose link address.
4. the configuring management method of parallel OAM in EPON system as claimed in claim 3, it is characterised in that:In step S404, The feature of the OAM response messages includes:Organization unique identifier, operation code, trunk attribute value, fork attribute value, source port With source link address.
5. the configuring management method of parallel OAM in EPON system as claimed in claim 2, it is characterised in that:In step S402, The process that each OAM message element is registered in a memory space of message element table is by the first OAM entities:First OAM entities press the sequence of message element table, search and whether there is idle storage space in message element table, when finding a sky When not busy memory space, then an OAM message element is registered in the idle storage space.
6. the configuring management method of parallel OAM in EPON system as claimed in claim 2, it is characterised in that:In step S403 It is further comprising the steps of between S404:First OAM entities obtain the synchronizing signal amount in OAM message element, and obstruction is corresponding Process, and OAM response messages to be obtained are waited, if the first OAM entities are at the appointed time, OAM response messages have not been obtained, will correspond to ONU configuration result be labeled as " configuration failure ".
7. the configuring management method of parallel OAM in EPON system as described in claim 1, it is characterised in that:The OAM message Including OAM attributes and operation, OAM response messages include configuration result and unsolicited message.
8. the configuring management method of parallel OAM in EPON system as described in claim 1, it is characterised in that:The n is EPON System and row coefficient, the physical channels the OAM number in n=EPON systems.
9. the configuring management method of parallel OAM in EPON system as described in claim 1, it is characterised in that:In step S3, institute It states each process and traverses the process of ONU that it is corresponded in configuration domain and be:One configuration item of each corresponding configuration domain maintenance of process Each configuration item of list, configuration items list corresponds to an ONU in the configuration domain, and configuration item includes a flag bit, flag bit For " 1 " or " 0 ", each process searches the configuration items list in corresponding configuration domain, if finding the configuration item that flag bit is " 1 ", Expression finds ONU to be configured;If finding the configuration item that flag bit is " 0 ", then it represents that find configured or be not necessarily to configure ONU.
10. the configuration management system of parallel OAM in a kind of EPON system, including OLT and ONU, it is characterised in that:
OLT creates the n processes for needing to carry out ONU business configuration, and n is positive integer, and OLT is respectively that each process is one specified Domain is configured, each domain that configures includes several ONU, is several groups by ONU points in each configuration domain;OLT control it is all into Journey concurrent working;
OLT includes a configuration module, n the first judgment modules, n the second judgment modules, and each process corresponds to one first Judgment module and second judgment module;
It when each process receives triggering ergodic signals, traverses it and corresponds to the ONU configured in domain, generate the first triggering and judge signal, First triggering is judged that signal issues corresponding first judgment module;
When corresponding first judgment module of the process receives the first triggering and judges signal, judge whether to find ONU to be configured, if It is then to generate triggering configuration signal, triggering configuration signal is issued into configuration module, then generates a triggering ergodic signals, it will Triggering ergodic signals issue corresponding process;Otherwise, count the process in its correspondence configuration domain it is continuous do not find it is to be configured Whether < m, m are positive integer to the number of ONU, and triggering traversal is believed if so, generating a triggering ergodic signals in 2≤m≤8 Number issue corresponding process;Otherwise, it is determined whether there are remaining process is traversing, selected if so, generating a triggering Triggering is selected signal and issues corresponding process by signal;Otherwise, a triggering ergodic signals are directly generated, by triggering traversal letter Number issue corresponding process;
Each process receives triggering when selecting signal, arbitrarily selects a process traversed, and correspond in the process selected Configuration domain in, select a group not traversed, the ONU of the group is traversed, generate second triggering judges signal, by second Triggering judges that signal issues the second judgment module;
When second judgment module receives the second triggering and judges signal, judge to whether there is ONU to be configured in the group, if so, raw Signal is configured at triggering, triggering configuration signal is issued into configuration module, a triggering ergodic signals is then generated, triggering is traversed Signal issues corresponding process;Otherwise, directly generate one triggering ergodic signals, will triggering ergodic signals issue it is corresponding into Journey;
When the configuration module of OLT receives triggering configuration signal, ONU to be configured is configured:The configuration module of OLT reads all The ONU to be configured that process is found, and according to the configuration data of ONU, OAM message is set up respectively;The configuration module of OLT will own OAM message be handed down to ONU parallel, ONU handles OAM message, generates OAM response messages, and simultaneously by OAM response messages Row beams back the configuration module of OLT;The configuration module of OLT obtains OAM response messages, and according to matching in each OAM response messages It sets result ONU is marked, configuration result is configuration completion or configuration failure, and so far, the configuration module of OLT is completed to ONU Business configuration.
11. the configuration management system of parallel OAM in EPON system as claimed in claim 10, OLT includes the first OAM entities, ONU includes the 2nd OAM entities, it is characterised in that:
First OAM entities read the ONU to be configured that all processes are found, and set up OAM according to the configuration data of ONU respectively Message;
There are one message element table, message element table is the linear list of n memory space composition for setting in first OAM entities, the One OAM entities apply for an OAM message element according to the feature of each OAM message, and are the OAM message Elemental partition one Each OAM message element is registered in a memory space of message element table by a synchronizing signal amount, the first OAM entities;
All OAM messages are handed down to the 2nd OAM entities by the first OAM entities parallel, and the 2nd OAM entities carry out OAM message Processing, while the corresponding process of OAM message being allowed to be waited in synchronizing signal amount, the 2nd OAM entities generate OAM response messages, and OAM response messages are beamed back into the first OAM entities parallel;
First OAM entities obtain OAM response messages, and according to the feature of each OAM response messages, being searched in message element table is It is no to have corresponding OAM message element:
If finding corresponding OAM message element, the feature of OAM response messages is recorded in corresponding OAM message element, Synchronizing signal amount is discharged, corresponding process is waken up, by the configuration result of corresponding ONU labeled as " configuration is completed ";
If not finding corresponding OAM message element, further judge whether this OAM response message is unsolicited message, if It is that this OAM response message is directly then reported to OLT, if it is not, this OAM response message is then abandoned, by the configuration of corresponding ONU Result queue is " configuration failure ";
First OAM entities read the OAM response messages in message element, and so far, OLT completes the business configuration to ONU.
12. the configuration management system of parallel OAM in EPON system as claimed in claim 11, it is characterised in that:The OAM disappears Breath element is used to record the feature of OAM message, and the feature of OAM message includes:Organization unique identifier, operation code, trunk attribute Value, fork attribute value, destination interface and purpose link address.
13. the configuration management system of parallel OAM in EPON system as claimed in claim 12, it is characterised in that:The OAM is rung The feature of message is answered to include:Organization unique identifier, operation code, trunk attribute value, fork attribute value, source port and source link Location.
14. the configuration management system of parallel OAM in EPON system as claimed in claim 11, it is characterised in that:Described first The process that each OAM message element is registered in a memory space of message element table is by OAM entities:First OAM entities It by the sequence of message element table, searches and whether there is idle storage space in message element table, stored when finding a free time When space, then an OAM message element is registered in the idle storage space.
15. the configuration management system of parallel OAM in EPON system as claimed in claim 11, it is characterised in that:First OAM is real Body obtains the synchronizing signal amount in OAM message element, blocks corresponding process, and wait OAM response messages to be obtained, if first At the appointed time, OAM response messages have not been obtained in OAM entities, and the configuration result of corresponding ONU is labeled as " configuration failure ".
16. the configuration management system of parallel OAM in EPON system as claimed in claim 10, it is characterised in that:The OAM reports Text includes OAM attributes and operation, and OAM response messages include configuration result and unsolicited message.
17. the configuration management system of parallel OAM in EPON system as claimed in claim 10, it is characterised in that:The n is EPON system and row coefficient, the physical channels the OAM number in n=EPON systems.
18. the configuration management system of parallel OAM in EPON system as claimed in claim 10, it is characterised in that:Each process Traversing the corresponding process for configuring the ONU in domain is:One configuration items list of each corresponding configuration domain maintenance of process, configuration item row Each configuration item of table corresponds to an ONU in the configuration domain, and configuration item includes a flag bit, and flag bit is " 1 " or " 0 ", often A process searches the configuration items list in corresponding configuration domain, if finding the configuration item that flag bit is " 1 ", then it represents that find and wait matching Set ONU;If finding the configuration item that flag bit is " 0 ", then it represents that find ONU configured or without configuration.
CN201510616145.9A 2015-09-24 2015-09-24 The configuring management method and system of parallel OAM in a kind of EPON system Active CN105610601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510616145.9A CN105610601B (en) 2015-09-24 2015-09-24 The configuring management method and system of parallel OAM in a kind of EPON system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510616145.9A CN105610601B (en) 2015-09-24 2015-09-24 The configuring management method and system of parallel OAM in a kind of EPON system

Publications (2)

Publication Number Publication Date
CN105610601A CN105610601A (en) 2016-05-25
CN105610601B true CN105610601B (en) 2018-10-09

Family

ID=55990147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510616145.9A Active CN105610601B (en) 2015-09-24 2015-09-24 The configuring management method and system of parallel OAM in a kind of EPON system

Country Status (1)

Country Link
CN (1) CN105610601B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107688472A (en) * 2016-08-03 2018-02-13 展讯通信(深圳)有限公司 The method, device and mobile terminal of preset application
CN106559420A (en) * 2016-11-07 2017-04-05 杭州迪普科技股份有限公司 A kind of filter method and device of message
CN111835538B (en) * 2019-04-17 2022-09-02 烽火通信科技股份有限公司 Management method and system for optical communication service and OAM dependency relationship

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517164A (en) * 2013-10-25 2014-01-15 和记奥普泰通信技术有限公司 Data configuring and controlling method for optical network unit
CN104125104A (en) * 2014-08-13 2014-10-29 烽火通信科技股份有限公司 Configuration method of business data in optical network unit
CN104468246A (en) * 2015-01-06 2015-03-25 烽火通信科技股份有限公司 OAM capability set consulting and managing method of EPON OLT intercommunicating system
CN104579779A (en) * 2015-01-09 2015-04-29 烽火通信科技股份有限公司 Method and system for ONU parallel management in passive optical network
CN104796801A (en) * 2015-05-08 2015-07-22 上海斐讯数据通信技术有限公司 ONU (optical network unit) configuration sending method and ONU configuration sending system based on multiple tasks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517164A (en) * 2013-10-25 2014-01-15 和记奥普泰通信技术有限公司 Data configuring and controlling method for optical network unit
CN104125104A (en) * 2014-08-13 2014-10-29 烽火通信科技股份有限公司 Configuration method of business data in optical network unit
CN104468246A (en) * 2015-01-06 2015-03-25 烽火通信科技股份有限公司 OAM capability set consulting and managing method of EPON OLT intercommunicating system
CN104579779A (en) * 2015-01-09 2015-04-29 烽火通信科技股份有限公司 Method and system for ONU parallel management in passive optical network
CN104796801A (en) * 2015-05-08 2015-07-22 上海斐讯数据通信技术有限公司 ONU (optical network unit) configuration sending method and ONU configuration sending system based on multiple tasks

Also Published As

Publication number Publication date
CN105610601A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN101072144B (en) PON system and subscriber connection apparatus
CN105610601B (en) The configuring management method and system of parallel OAM in a kind of EPON system
JP4992487B2 (en) COMMUNICATION SYSTEM, TERMINAL DEVICE, AND EPON VIRTUALization METHOD USED FOR THE SAME
CN104253735B (en) Optical network unit, communication system and method
US8542998B2 (en) Passive optical network system and sleep time determination method
CN102917286A (en) Hand-in-hand protection switching method and system in EPON (Ethernet Passive Optical Network)
CN106464356B (en) A kind of detection method of rogue's optical network unit, apparatus and system
CN101247310B (en) Virtual local area network filtering configuration method and system
CN103701679B (en) A kind of method for realizing VLAN conversions
CN108777668A (en) A kind of the route resource control method and system of three-tier switch
CN101924658B (en) Alarm shielding method of access device
CN104811403B (en) Group list processing method, apparatus and group table configuration unit based on open flows
CN103929236A (en) Method and system for achieving service layer with protection switching function of passive optical network port
CN104579779B (en) Concurrent management ONU method and system in EPON
CN106452565B (en) A kind of the electric power acquisition device and its working method of the bis- MAC protections of double PON
CN104065494B (en) A kind of rack OLT device and its method for realizing more M-VLAN
CN109327393A (en) Network exchange destination port determines method, apparatus and the interchanger based on the device
CN104796801A (en) ONU (optical network unit) configuration sending method and ONU configuration sending system based on multiple tasks
CN101557541A (en) Data package transmission method, system and device thereof
CN107979412B (en) Optical network unit loop detection method and device
CN107241207A (en) device management method and device
CN105592179B (en) A kind of application of LLID, distribution method and device
CN105357597B (en) A kind of passive optical-fiber network, data transmission method and device
CN109218204A (en) A kind of method and apparatus solving MAC HASH conflict
CN109672472A (en) Standby usage port determines method 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
GR01 Patent grant
GR01 Patent grant