CN105677419B - Object Management group device and method based on PON system - Google Patents

Object Management group device and method based on PON system Download PDF

Info

Publication number
CN105677419B
CN105677419B CN201610011914.7A CN201610011914A CN105677419B CN 105677419 B CN105677419 B CN 105677419B CN 201610011914 A CN201610011914 A CN 201610011914A CN 105677419 B CN105677419 B CN 105677419B
Authority
CN
China
Prior art keywords
attribute
record
submodule
level
management module
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
CN201610011914.7A
Other languages
Chinese (zh)
Other versions
CN105677419A (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 CN201610011914.7A priority Critical patent/CN105677419B/en
Publication of CN105677419A publication Critical patent/CN105677419A/en
Application granted granted Critical
Publication of CN105677419B publication Critical patent/CN105677419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of Object Management group device and method based on PON system, is related to Object Management group field.The device includes object management module, attribute management module and capability set management module, object management module includes Object Creation submodule, object searches submodule, object deletes submodule, and attribute management module includes that attribute stores/change submodule, attribute reading submodule, attribute deletion submodule;Capability set management module capacity-building collection file, the ability information and specification information of reading object from capability set file are used for object management module and attribute management module.The present invention can configure different capability set files, to define the different function of object, can also increase a kind of object newly in capability set file, meet the needs of newly-increased object in the case of not upgraded version, flexibly support differentiation Software for Design;The relevance for reducing level address and object improves the flexibility of object tissue structure.

Description

Object Management group device and method based on PON system
Technical field
The present invention relates to Object Management group fields, are specifically related to a kind of Object Management group device and method based on PON system.
Background technology
To accelerate the Facilities Construction towards broadband network, the market competitiveness of broadband services is improved, industry at this stage is met Business demand, adapts to network future evolution, major operator actively by PON (Passive Optical Network, it is passive Optical-fiber network) technology be applied to broadband access network in.Wherein, it is main realization hand that PON technologies, which introduce strategy with various types of PON, Section, in conjunction with SDH (Synchronous Digital Hierarchy, synchronous digital system)/MSTP (Multi Service Transport Platform, multi-service transport platform)/RPR (Resilient Packet Ring, resilient packet ring) and light The various ways such as fine access, wireless access realize user, and to IP (Internet Protocol, Internet protocol), Metropolitan Area Network (MAN) is most 1 mile broadband accesses afterwards.In order to which the development demand and transfer resource classifying rationally that combine full-service access and converge region, It needs to carry out ONU (Optical Network Unit, optical network unit) and OLT (Optical Line Terminal, light Road terminal) deployment construction.
Operator needs according to the number of users and location distribution of different zones for the quality of service of different user Select different equipment.On the other hand, due to the diversity of user demand, the complexity of application scenarios, even if same physical shape The equipment of state is also required to different capacities of equipment.This is required for equipment supplier to provide different types of equipment, and different work( The software version of energy.
Existing PON system procedure-oriented is designed based on function, and system is divided into different moulds according to function Block, each module realize that the individual feature of system, multiple and different modules realize the repertoire of system jointly.Each function mould Block has the data structure of oneself and the management to object, and when needing to increase a kind of object newly, needing will be related with this object The all functional modules of system make change, and workload is huge, not only pretty troublesome, but also are easy to omit.
Existing PON system gets very clearly the level of each object, and the layer residing for certain class object is fixed up, but will Carrying out real system form can be more and more abundant, and distinguishing hierarchy mode can be more and more, and the object of support is also more and more, current Design based on function does not adapt to the extension of system in future.
In conclusion there are Object Management group redundancy, the fixed defects of object hierarchy for existing PON system.
Invention content
The purpose of the invention is to overcome the shortcomings of above-mentioned background technology, provide it is a kind of based on PON system to orthicon Device and method is managed, user can configure different capability set files, can also be in capability set to define the different function of object It increases a kind of object in file newly, so that user is met the needs of newly-increased object in the case of not upgraded version, flexibly support difference Change Software for Design;The relevance for reducing level address and object improves the flexibility of object tissue structure.
The present invention provides a kind of Object Management group device based on PON system, which includes object management module, attribute pipe Module and capability set management module are managed, object management module includes Object Creation submodule, object searches submodule, object is deleted Submodule, attribute management module include that attribute stores/change submodule, attribute reading submodule, attribute deletion submodule;
The Object Creation submodule is used for:Complete the distribution of object id, the filling of object id and level address mapping table, The foundation and maintenance of object tree;Object hierarchy table is created, object hierarchy table saves the hierarchical relationship between object;Use database Multiple tables carry out tissue each object, stored with a table per level-one object, these tables are associated by object id;
The object is searched submodule and is used for:According to the level address of object, all of object id or the object are found Subobject id;
The object is deleted submodule and is used for:The deletion for completing object itself and the subobject of the object, in object tree Delete own node and own node subobject node, also call attribute management module interface complete object self attributes and The deletion of the subobject attribute of object itself;
The attribute stores/changes submodule and is used for:According to attribute type and object id, added in attribute database table Attribute record and modification attribute record;It in the database for preserving attribute, is preserved for one table of every attribute, this table preserves There is this attribute of this all class object in system;
The attribute reading submodule is used for:According to attribute type and object id, attribute is searched in attribute database table Record, and spread out of attribute value;
The attribute is deleted submodule and is used for:According to attribute type and object id, attribute is deleted in attribute database table Record;
The capability set management module is used for:Capacity-building collection file preserves the energy of types of objects in capability set file Force information and specification information, the ability information and specification information of reading object from capability set file, for object management module and Attribute management module uses.
Based on the above technical solution, the object hierarchy table includes the following contents:
The address of 1~n of level:N is positive integer, the level address of corresponding node where from root node to this object;
Type:The type of this object, for distinguishing, level address is identical but different types of object;
Object id:The unique id of this object.
Based on the above technical solution, the different object of level is stored in different by the Object Creation submodule In database table, the object of n level is stored respectively with n database tables, every table stores the object of a level, every table Every record include following 5 parameters:
Object id:The unique id of this object;
Index:Call number of this object in parent object;
Type:The type of this object, for distinguishing, level address is identical but different types of object;
Parent table id:Level table where the parent object of this object;
Parent object id:The id of the parent object of this object finds the father of this object by parent data library table id and parent object id Object;
Object Creation submodule is by this n database tables, by all object tissues at a tree construction.
Based on the above technical solution, for the attribute of the object by the way of centrally stored, all objects are identical The attribute of type is stored in same database table, and different attributes is stored with different database tables respectively, per number Include following 3 fields according to every record in the table of library:
Object id:Possess the id of the object of this attribute;
Attribute key assignments:Index of this attribute in this object, it is unique in this object;
Attribute value:The value of attribute is the storage region of one section of specific length, and different types of attribute length is different, according to The type of attribute preserves the value of different types of data.
Based on the above technical solution, the Object Management group device provides 6 functions:Create object, search object, It deletes object, storage/modification attribute, querying attributes, delete attribute, the flow for creating object is as follows:
Step 101 in each object level table searches whether that there are this records using parent object id as keyword successively, such as Fruit exists, and records the level where parent object, goes to step 102;If it does not exist, then terminating;
Step 102, the object hierarchy table that this object id, index, parent table id, parent object id are added to level-one lower than parent object In, go to step 103;
Step 103, the record for increasing this object in level address and object id mapping tables, go to step 104;
Step 104, the capability set by this object check that this object whether there is intrinsic subobject, and intrinsic subobject is Refer to the incidental object of some object itself, is in the low level than level where itself, if it is present going to step Rapid 105;If it does not exist, then terminating;
Step 105, recurrence add intrinsic subobject in next stage object hierarchy table.
Based on the above technical solution, the flow for searching object is as follows:
Step 201, judgement are to look for single object and are also to look for all subobjects of some object, if be to look for single Object then goes to step 202;If being to look for the subobject of some object, step 204 is gone to;
Can step 202, judgement find object id in level address and object id mapping tables, if it is found, then going to Step 203;It is if it is not found, then terminate;
The id that step 203, outflow are found, terminates;
Can step 204, judgement find parent object id in level address and object id mapping tables, if it is found, then turning To step 205;It is if it is not found, then terminate;
Step 205, the id for finding all subobjects using parent object id as keyword in object hierarchy table, spread out of all sons Object id terminates.
Based on the above technical solution, the flow for deleting object is as follows:
Step 301, the object id deleted using needs are searched in each object level table, if deposit successively as keyword In corresponding record, if it does, recording the level where this object, step 302 is gone to;If it does not exist, then terminating;
Step 302 is searched in subordinate's level table of this object using this object as the subobject of parent object, and recurrence deletes this Subobject goes to step 303;
Step 303, inquiry capability set submodule, inquire the attribute that this object has, in each attribute list, with this object Id is keyword, deletes each attribute record of this object, goes to step 304;
Step 304, the record for deleting this object in level address and object id mapping tables terminate.
Based on the above technical solution, the flow of the storage/modification attribute is as follows:
Step 401, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to Step 402;If can not find, terminate;
Step 402, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, such as Fruit is found, and illustrates to have existed this attribute record, needs to change this attribute, then goes to step 403;Otherwise, illustrate to need newly-increased Attribute record goes to step 404;
Step 403, the codomain for changing this record terminate;
Step 404 increases attribute record newly in the database table of this type attribute, terminates.
Based on the above technical solution, the flow of the querying attributes is as follows:
Step 501, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to Step 502;If can not find, terminate;
Step 502, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, such as Fruit is found, and illustrates to have existed this attribute record, then goes to step 503;Otherwise terminate;
Step 503, the codomain for spreading out of this record terminate.
Based on the above technical solution, the flow for deleting attribute is as follows:
Step 601, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to Step 602;If can not find, terminate;
Step 602, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, such as Fruit is found, and illustrates to have existed this attribute record, then goes to step 603;Otherwise terminate;
Step 603 deletes this record in this attribute list, terminates.
The present invention also provides a kind of method for managing object based on PON system applied to preceding claim device, packets Include following steps:
When S1, device start, capability set the management module ability information of reading object and specification letter from capability set file Breath, is saved in memory;
When S2, device operation, an object is added by each object tissue at a tree using object hierarchy table As this tree increases a node, deletes an object and deletes a node from object tree;
S3, with object id be index, each attribute of object is saved in each table of database.
Based on the above technical solution, in step S2, described one object of addition is i.e. corresponding to this object hierarchy Database table in increase a record, delete object and delete a note from the database table corresponding to object hierarchy Record;Each object is corresponded with a record in the database table corresponding to this object hierarchy.
Compared with prior art, advantages of the present invention is as follows:
(1) by object centralized management, simultaneously flexible organization gets up the present invention, and object information is obtained from capability set file, is used Family can configure different capability set files, to define the different function of object, can also increase one kind newly in capability set file Object makes user meet the needs of newly-increased object in the case of not upgraded version, can improve the durability of object and can expand Malleability meets the needs of operator is to difference version, supports flexible, differentiation Software for Design.
(2) present invention stores object information in the database, and by object id and parent object id, these objects are being patrolled It is organized into tree on volume, reduces the relevance of level address and object, improves the flexibility of object tissue structure.
(3) present invention by the storage of the attribute of object in the database, indexed with object id and attribute key assignments so that attribute with Level address is no longer associated with, and can reduce change of the migration of object hierarchy in future to attribute storage mode.
Description of the drawings
Fig. 1 is the structure diagram of the Object Management group device based on PON system in the embodiment of the present invention.
Fig. 2 is the content of level address and a record in object id mapping database tables in the embodiment of the present invention.
Fig. 3 is the schematic diagram that different levels object is stored in the embodiment of the present invention.
Fig. 4 is the schematic diagram of attribute database table in the embodiment of the present invention.
Fig. 5 is the flow chart that object is created in the embodiment of the present invention.
Fig. 6 is the flow chart that object is searched in the embodiment of the present invention.
Fig. 7 is the flow chart that object is deleted in the embodiment of the present invention.
Fig. 8 is the flow chart of storage in the embodiment of the present invention/modification attribute.
Fig. 9 is the flow chart of querying attributes in the embodiment of the present invention.
Figure 10 is the flow chart that attribute is deleted in the embodiment of the present invention.
Specific implementation mode
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of Object Management group device based on PON system, which includes Object management module, attribute management module and capability set management module, object management module include Object Creation submodule, object Search submodule, object delete submodule, attribute management module include attribute store/change submodule, attribute reading submodule, Attribute deletes submodule, wherein:
Object Creation submodule is used for:Complete the distribution of object id, the filling of object id and level address mapping table, object The foundation and maintenance of tree;Object hierarchy table is created, object hierarchy table saves the hierarchical relationship between object;It is more with database It opens table and carrys out tissue each object, stored with a table per level-one object, these tables are associated by object id;
Object is searched submodule and is used for:According to the level address of object, all sons for finding object id or the object are right As id, subobject refers to the incidental object of some object itself, is in the low level than level where itself;
Object is deleted submodule and is used for:The deletion for completing object itself and the subobject of the object, is deleted in object tree The subobject node of own node and own node also calls the interface of attribute management module to complete object self attributes and object The deletion of the subobject attribute of itself;
Attribute stores/changes submodule and is used for:According to attribute type and object id, attribute is added in attribute database table Record and modification attribute record;In the database for preserving attribute, preserved for one table of every attribute, this table, which is preserved, is This attribute of this all class object in system;
Attribute reading submodule is used for:According to attribute type and object id, attribute record is searched in attribute database table, And spread out of attribute value;
Attribute is deleted submodule and is used for:According to attribute type and object id, attribute record is deleted in attribute database table;
Capability set management module is used for:Capacity-building collection file preserves the ability letter of types of objects in capability set file Breath and specification information, the ability information and specification information of reading object from capability set file, for object management module and attribute Management module uses.
Shown in Figure 2, level address and the record in object id mapping database tables, i.e. object hierarchy table includes following Content:
(1) address of 1~n of level:N is positive integer, the level address of corresponding node where from root node to this object;
(2) type:The type of this object, for distinguishing, level address is identical but different types of object;
(3) object id:The unique id of this object.
Shown in Figure 3, the different object of level is stored in different database tables by Object Creation submodule, uses n The object that database table stores n level respectively is opened, every table stores the object of a level, and every record of every table includes 5 parameters below:
Object id:The unique id of this object;
Index:Call number of this object in parent object;
Type:The type of this object, for distinguishing, level address is identical but different types of object;
Parent table id:Level table where the parent object of this object;
Parent object id:The id of the parent object of this object passes through parent data library table id and parent object id, so that it may right to find this The parent object of elephant.
Object Creation submodule passes through this n database tables, so that it may with by all object tissues at a tree construction.Its The database table of middle level 1 stores machine frame object, is root object, and parent table id and parent object id are sky.
For the attribute of object by the way of centrally stored, the attribute of all object same types is stored in same database In table, different attributes is stored with different database tables respectively.It is shown in Figure 4, every note in every database table Record includes following 3 fields:
Object id:Possess the id of the object of this attribute;
Attribute key assignments:Index of this attribute in this object, it is unique in this object;
Attribute value:The value of attribute is the storage region of one section of specific length, and different types of attribute length is different, according to The type of attribute preserves the value of different types of data.
Object Management group device in the embodiment of the present invention provides following 6 functions:It creates object, search object, deletion pair As, storage/modification attribute, querying attributes, delete attribute.
6 functions are described in detail respectively below.
Shown in Figure 5, the flow for creating object is as follows:
Step 101 in each object level table searches whether that there are this records using parent object id as keyword successively, such as Fruit exists, and records the level where parent object, goes to step 102;If it does not exist, then terminating;
Step 102, the object hierarchy table that this object id, index, parent table id, parent object id are added to level-one lower than parent object In, go to step 103;
Step 103, the record for increasing this object in level address and object id mapping tables, go to step 104;
Step 104, the capability set by this object check that this object whether there is intrinsic subobject, and intrinsic subobject is Refer to the incidental object of some object itself, is in the low level than level where itself, if it is present going to step Rapid 105;If it does not exist, then terminating;
Step 105, recurrence add intrinsic subobject in next stage object hierarchy table.
Shown in Figure 6, the flow for searching object is as follows:
Step 201, judgement are to look for single object and are also to look for all subobjects of some object, if be to look for single Object then goes to step 202;If being to look for the subobject of some object, step 204 is gone to;
Can step 202, judgement find object id in level address and object id mapping tables, if it is found, then going to Step 203;It is if it is not found, then terminate;
The id that step 203, outflow are found, terminates;
Can step 204, judgement find parent object id in level address and object id mapping tables, if it is found, then turning To step 205;It is if it is not found, then terminate;
Step 205, the id for finding all subobjects using parent object id as keyword in object hierarchy table, spread out of all sons Object id terminates.
Shown in Figure 7, the flow for deleting object is as follows:
Step 301, the object id deleted using needs are searched in each object level table, if deposit successively as keyword In corresponding record, if it does, recording the level where this object, step 302 is gone to;If it does not exist, then terminating;
Step 302 is searched in subordinate's level table of this object using this object as the subobject of parent object, and recurrence deletes this Subobject goes to step 303;
Step 303, inquiry capability set submodule, inquire the attribute that this object has, in each attribute list, with this object Id is keyword, deletes each attribute record of this object, goes to step 304;
Step 304, the record for deleting this object in level address and object id mapping tables terminate.
Shown in Figure 8, the flow of storage/modification attribute is as follows:
Step 401, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to Step 402;If can not find, terminate;
Step 402, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, such as Fruit is found, and illustrates to have existed this attribute record, needs to change this attribute, then goes to step 403;Otherwise, illustrate to need newly-increased Attribute record goes to step 404;
Step 403, the codomain for changing this record terminate;
Step 404 increases attribute record newly in the database table of this type attribute, terminates.
Shown in Figure 9, the flow of querying attributes is as follows:
Step 501, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to Step 502;If can not find, terminate;
Step 502, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, such as Fruit is found, and illustrates to have existed this attribute record, then goes to step 503;Otherwise terminate;
Step 503, the codomain for spreading out of this record terminate.
Shown in Figure 10, the flow for deleting attribute is as follows:
Step 601, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to Step 602;If can not find, terminate;
Step 602, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, such as Fruit is found, and illustrates to have existed this attribute record, then goes to step 603;Otherwise terminate;
Step 603 deletes this record in this attribute list, terminates.
After the Object Management group device of the embodiment of the present invention, object management module does not need the storage of object of interest attribute Mode, it is only necessary to safeguard the logical relation between object.Object management module and object properties management module are only needed by right As id is connected, object properties management module does not need the change of object of interest management module, when object management module occurs When change, the attribute management module of object is without changing.When the position of object changes, the attribute management module of object Without changing.
The embodiment of the present invention also provides a kind of method for managing object based on PON system applied to above-mentioned apparatus, including Following steps:
When S1, device start, capability set the management module ability information of reading object and specification letter from capability set file Breath, is saved in memory;
When S2, device operation, an object is added by each object tissue at a tree using object hierarchy table As this tree increases a node, deletes an object and deletes a node from object tree;
Specifically, increasing a record in database table of one object of addition i.e. corresponding to this object hierarchy, delete One object deletes a record from the database table corresponding to object hierarchy;Each object with this object hierarchy it is right A record in the database table answered corresponds;
S3, with object id be index, each attribute of object is saved in each table of database.
Those skilled in the art can be carry out various modifications to the embodiment of the present invention and modification, if these modifications and change For type within the scope of the claims in the present invention and its equivalent technologies, then these modifications and variations are also in protection scope of the present invention Within.
The prior art that the content not being described in detail in specification is known to the skilled person.

Claims (12)

1. a kind of Object Management group device based on PON system, it is characterised in that:The device includes object management module, attribute pipe Module and capability set management module are managed, object management module includes Object Creation submodule, object searches submodule, object is deleted Submodule, attribute management module include that attribute stores/change submodule, attribute reading submodule, attribute deletion submodule;
The Object Creation submodule is used for:Complete the distribution of object id, the filling of object id and level address mapping table, object The foundation and maintenance of tree;Object hierarchy table is created, object hierarchy table saves the hierarchical relationship between object;It is more with database It opens table and carrys out tissue each object, stored with a table per level-one object, these tables are associated by object id;
The object is searched submodule and is used for:According to the level address of object, all sons for finding object id or the object are right As id;
The object is deleted submodule and is used for:The deletion for completing object itself and the subobject of the object, is deleted in object tree The subobject node of own node and own node also calls the interface of attribute management module to complete object self attributes and object The deletion of the subobject attribute of itself;
The attribute stores/changes submodule and is used for:According to attribute type and object id, attribute is added in attribute database table Record and modification attribute record;In the database for preserving attribute, preserved for one table of every attribute, this table, which is preserved, is This attribute of this all class object in system;
The attribute reading submodule is used for:According to attribute type and object id, attribute record is searched in attribute database table, And spread out of attribute value;
The attribute is deleted submodule and is used for:According to attribute type and object id, attribute record is deleted in attribute database table;
The capability set management module is used for:Capacity-building collection file preserves the ability letter of types of objects in capability set file Breath and specification information, the ability information and specification information of reading object from capability set file, for object management module and attribute Management module uses.
2. the Object Management group device based on PON system as described in claim 1, it is characterised in that:The object hierarchy table packet Include the following contents:
The address of 1~n of level:N is positive integer, the level address of corresponding node where from root node to this object;
Type:The type of this object, for distinguishing, level address is identical but different types of object;
Object id:The unique id of this object.
3. the Object Management group device based on PON system as claimed in claim 2, it is characterised in that:The Object Creation submodule The different object of level is stored in different database tables by block, stores the object of n level respectively with n database tables, Every table stores the object of a level, and every record of every table includes following 5 parameters:
Object id:The unique id of this object;
Index:Call number of this object in parent object;
Type:The type of this object, for distinguishing, level address is identical but different types of object;
Parent table id:Level table where the parent object of this object;
Parent object id:The id of the parent object of this object finds the father couple of this object by parent data library table id and parent object id As;
Object Creation submodule is by this n database tables, by all object tissues at a tree construction.
4. the Object Management group device based on PON system as claimed in claim 3, it is characterised in that:The attribute of the object is adopted It is stored in same database table with the attribute of centrally stored mode, all object same types, different attributes difference It is stored with different database tables, every record in every database table includes following 3 fields:
Object id:Possess the id of the object of this attribute;
Attribute key assignments:Index of this attribute in this object, it is unique in this object;
Attribute value:The value of attribute is the storage region of one section of specific length, and different types of attribute length is different, according to attribute Type preserve different types of data value.
5. the Object Management group device based on PON system as claimed in claim 4, it is characterised in that:The Object Management group device 6 functions are provided:Object is created, object is searched, deletes object, storage/modification attribute, querying attributes, deletes attribute, the wound The flow for building object is as follows:
Step 101 in each object level table searches whether that there are this records using parent object id as keyword successively, if deposited The level where parent object is being recorded, step 102 is gone to;If it does not exist, then terminating;
This object id, index, parent table id, parent object id are added in the object hierarchy table of level-one lower than parent object by step 102, Go to step 103;
Step 103, the record for increasing this object in level address and object id mapping tables, go to step 104;
Step 104, the capability set by this object check that this object whether there is intrinsic subobject, and intrinsic subobject refers to certain The incidental object of a object itself is in the low level than level where itself, if it is present going to step 105;If it does not exist, then terminating;
Step 105, recurrence add intrinsic subobject in next stage object hierarchy table.
6. the Object Management group device based on PON system as claimed in claim 5, it is characterised in that:The stream for searching object Journey is as follows:
Step 201, judgement are to look for single object and are also to look for all subobjects of some object, if be to look for it is single right As then going to step 202;If being to look for the subobject of some object, step 204 is gone to;
Can step 202, judgement find object id in level address and object id mapping tables, if it is found, then going to step 203;It is if it is not found, then terminate;
The id that step 203, outflow are found, terminates;
Can step 204, judgement find parent object id in level address and object id mapping tables, if it is found, then going to step Rapid 205;It is if it is not found, then terminate;
Step 205, the id for finding all subobjects using parent object id as keyword in object hierarchy table, spread out of all subobjects Id terminates.
7. the Object Management group device based on PON system as claimed in claim 5, it is characterised in that:The stream for deleting object Journey is as follows:
Step 301, to need the object id that deletes as keyword, searched in each object level table successively, if exist pair It should record, if it does, recording the level where this object, go to step 302;If it does not exist, then terminating;
Step 302 is searched in subordinate's level table of this object using this object as the subobject of parent object, and it is right that recurrence deletes this son As going to step 303;
Step 303, inquiry capability set submodule, inquire the attribute that this object has, in each attribute list, are with this object id Keyword deletes each attribute record of this object, goes to step 304;
Step 304, the record for deleting this object in level address and object id mapping tables terminate.
8. the Object Management group device based on PON system as claimed in claim 5, it is characterised in that:The storage/modification attribute Flow it is as follows:
Step 401, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to step 402;If can not find, terminate;
Step 402, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, if looked for It arrives, illustrates to have existed this attribute record, need to change this attribute, then go to step 403;Otherwise, illustrate to need newly-increased attribute Record, goes to step 404;
Step 403, the codomain for changing this record terminate;
Step 404 increases attribute record newly in the database table of this type attribute, terminates.
9. the Object Management group device based on PON system as claimed in claim 8, it is characterised in that:The stream of the querying attributes Journey is as follows:
Step 501, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to step 502;If can not find, terminate;
Step 502, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, if looked for It arrives, illustrates to have existed this attribute record, then go to step 503;Otherwise terminate;
Step 503, the codomain for spreading out of this record terminate.
10. the Object Management group device based on PON system as claimed in claim 8, it is characterised in that:The stream for deleting attribute Journey is as follows:
Step 601, according to attribute type, search whether exist preserve this attribute database table, if it is found, then going to step 602;If can not find, terminate;
Step 602, in the database table of this attribute, according to object id and attribute key assignments, judge whether to find record, if looked for It arrives, illustrates to have existed this attribute record, then go to step 603;Otherwise terminate;
Step 603 deletes this record in this attribute list, terminates.
11. a kind of method for managing object based on PON system applied to claim 1 described device, which is characterized in that including Following steps:
When S1, device start, the ability information and specification information of capability set management module reading object from capability set file are protected It is stored to memory;
When S2, device operation, using object hierarchy table, by each object tissue at a tree, one object of addition is This tree increases a node, deletes an object and deletes a node from object tree;
S3, with object id be index, each attribute of object is saved in each table of database.
12. the method for managing object based on PON system as claimed in claim 11, it is characterised in that:It is described to add in step S2 Add and increase a record in database table of the object i.e. corresponding to this object hierarchy, deletes an object i.e. from object layer A record is deleted in database table corresponding to grade;Each object with one in the database table corresponding to this object hierarchy Item record corresponds.
CN201610011914.7A 2016-01-08 2016-01-08 Object Management group device and method based on PON system Active CN105677419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610011914.7A CN105677419B (en) 2016-01-08 2016-01-08 Object Management group device and method based on PON system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610011914.7A CN105677419B (en) 2016-01-08 2016-01-08 Object Management group device and method based on PON system

Publications (2)

Publication Number Publication Date
CN105677419A CN105677419A (en) 2016-06-15
CN105677419B true CN105677419B (en) 2018-10-19

Family

ID=56299557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610011914.7A Active CN105677419B (en) 2016-01-08 2016-01-08 Object Management group device and method based on PON system

Country Status (1)

Country Link
CN (1) CN105677419B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066271B (en) * 2017-03-31 2020-06-16 武汉斗鱼网络科技有限公司 Hierarchical management method and system for display object
CN109088885B (en) * 2018-09-28 2021-02-26 四川天邑康和通信股份有限公司 Method for automatically modifying authentication information by local side node of passive optical network OLT
CN111240739B (en) * 2020-01-21 2022-04-15 烽火通信科技股份有限公司 Dynamic concurrent distribution method and system for associated attributes of objects

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833642A (en) * 2012-09-21 2012-12-19 武汉烽火网络有限责任公司 Method and system for managing optical network units (ONU) based on interface capability set
CN103559032A (en) * 2013-10-31 2014-02-05 烽火通信科技股份有限公司 Device and method for managing objects of embedded system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4534708B2 (en) * 2004-10-14 2010-09-01 Kddi株式会社 Dynamic logical link establishment method and user-side optical termination device in PON system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833642A (en) * 2012-09-21 2012-12-19 武汉烽火网络有限责任公司 Method and system for managing optical network units (ONU) based on interface capability set
CN103559032A (en) * 2013-10-31 2014-02-05 烽火通信科技股份有限公司 Device and method for managing objects of embedded system

Also Published As

Publication number Publication date
CN105677419A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN104580027B (en) A kind of OpenFlow message forwarding methods and equipment
CN105677419B (en) Object Management group device and method based on PON system
CN105653691B (en) Management of information resources method and managing device
CN106663056A (en) Metadata index search in file system
CN102945249B (en) A kind of policing rule matching inquiry tree generation method, matching process and device
CN107918612A (en) The implementation method and device of key assignments memory system data structure
CN103559032B (en) The device and method of embedded system Object Management group
CN101072178A (en) Switching system routing table management method
CN103095737B (en) A kind for the treatment of method and apparatus of network browsing information
CN103324763B (en) Presenting method for tree-form data structure of mobile phone terminal
CN102811227A (en) Administration mechanism for standard way access control list (ACL) rule under internet protocol security (IPsec) protocol
CN106874481A (en) A kind of metadata of distributed type file system information-reading method and system
CN100512152C (en) Method of managing alarm inquiry
CN101013993A (en) Method for overcastting network router by optimized tree topology
CN102209020B (en) Service routing method, apparatus and system thereof
CN101127630A (en) Method, device and system for managing object instant
CN100397816C (en) Method for classifying received data pocket in network apparatus
CN107733774A (en) The correlating method and device of account
CN102082701A (en) Method for storing network element positional information and apparatus for same
CN101917282B (en) Method, device and system for processing alarm shielding rules
CN109412695A (en) A kind of optical fiber CAN 2.0B bus route system based on star topology
CN101466051B (en) Method and apparatus for searching business route
CN102902741B (en) A kind of method of communication network resource data cache and state cascading update
CN104683148A (en) Uniform port model and method for accessing logical port thereof
CN100512303C (en) Method for confirming mapping relation between cross-domain service domain interior domains

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